gnu: Add ocrfeeder.
[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, 2021 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–2021 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, 2021 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, 2021 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 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;;
61 ;;; This file is part of GNU Guix.
62 ;;;
63 ;;; GNU Guix is free software; you can redistribute it and/or modify it
64 ;;; under the terms of the GNU General Public License as published by
65 ;;; the Free Software Foundation; either version 3 of the License, or (at
66 ;;; your option) any later version.
67 ;;;
68 ;;; GNU Guix is distributed in the hope that it will be useful, but
69 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
70 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 ;;; GNU General Public License for more details.
72 ;;;
73 ;;; You should have received a copy of the GNU General Public License
74 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
75
76 (define-module (gnu packages gnome)
77 #:use-module (gnu packages)
78 #:use-module (gnu packages admin)
79 #:use-module (gnu packages aidc)
80 #:use-module (gnu packages aspell)
81 #:use-module (gnu packages autotools)
82 #:use-module (gnu packages avahi)
83 #:use-module (gnu packages backup)
84 #:use-module (gnu packages base)
85 #:use-module (gnu packages bash)
86 #:use-module (gnu packages bison)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages build-tools)
89 #:use-module (gnu packages calendar)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages check)
92 #:use-module (gnu packages cmake)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages crates-io)
95 #:use-module (gnu packages crates-graphics)
96 #:use-module (gnu packages crates-gtk)
97 #:use-module (gnu packages cups)
98 #:use-module (gnu packages curl)
99 #:use-module (gnu packages cyrus-sasl)
100 #:use-module (gnu packages databases)
101 #:use-module (gnu packages dbm)
102 #:use-module (gnu packages djvu)
103 #:use-module (gnu packages dns)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages enchant)
107 #:use-module (gnu packages flex)
108 #:use-module (gnu packages fonts)
109 #:use-module (gnu packages file-systems)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages game-development)
113 #:use-module (gnu packages gcc)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages ghostscript)
116 #:use-module (gnu packages gimp)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages gnuzilla)
121 #:use-module (gnu packages geo)
122 #:use-module (gnu packages gperf)
123 #:use-module (gnu packages graphviz)
124 #:use-module (gnu packages gstreamer)
125 #:use-module (gnu packages gtk)
126 #:use-module (gnu packages guile)
127 #:use-module (gnu packages ibus)
128 #:use-module (gnu packages icu4c)
129 #:use-module (gnu packages image)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages inkscape)
132 #:use-module (gnu packages iso-codes)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libcanberra)
135 #:use-module (gnu packages libffi)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages libusb)
139 #:use-module (gnu packages linux)
140 #:use-module (gnu packages lirc)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages mp3)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages music)
146 #:use-module (gnu packages ncurses)
147 #:use-module (gnu packages nettle)
148 #:use-module (gnu packages networking)
149 #:use-module (gnu packages ninja)
150 #:use-module (gnu packages node)
151 #:use-module (gnu packages nss)
152 #:use-module (gnu packages ocr)
153 #:use-module (gnu packages openldap)
154 #:use-module (gnu packages package-management)
155 #:use-module (gnu packages password-utils)
156 #:use-module (gnu packages pcre)
157 #:use-module (gnu packages pdf)
158 #:use-module (gnu packages perl)
159 #:use-module (gnu packages photo)
160 #:use-module (gnu packages php)
161 #:use-module (gnu packages pkg-config)
162 #:use-module (gnu packages polkit)
163 #:use-module (gnu packages popt)
164 #:use-module (gnu packages pretty-print)
165 #:use-module (gnu packages protobuf)
166 #:use-module (gnu packages pulseaudio)
167 #:use-module (gnu packages python)
168 #:use-module (gnu packages python-crypto)
169 #:use-module (gnu packages python-web)
170 #:use-module (gnu packages python-xyz)
171 #:use-module (gnu packages rdesktop)
172 #:use-module (gnu packages rdf)
173 #:use-module (gnu packages readline)
174 #:use-module (gnu packages ruby)
175 #:use-module (gnu packages rust)
176 #:use-module (gnu packages samba)
177 #:use-module (gnu packages scanner)
178 #:use-module (gnu packages sdl)
179 #:use-module (gnu packages search)
180 #:use-module (gnu packages selinux)
181 #:use-module (gnu packages slang)
182 #:use-module (gnu packages speech)
183 #:use-module (gnu packages spice)
184 #:use-module (gnu packages sqlite)
185 #:use-module (gnu packages ssh)
186 #:use-module (gnu packages swig)
187 #:use-module (gnu packages tex)
188 #:use-module (gnu packages time)
189 #:use-module (gnu packages tls)
190 #:use-module (gnu packages valgrind)
191 #:use-module (gnu packages version-control)
192 #:use-module (gnu packages video)
193 #:use-module (gnu packages virtualization)
194 #:use-module (gnu packages vpn)
195 #:use-module (gnu packages web)
196 #:use-module (gnu packages webkit)
197 #:use-module (gnu packages xdisorg)
198 #:use-module (gnu packages xiph)
199 #:use-module (gnu packages xml)
200 #:use-module (gnu packages xorg)
201 #:use-module (gnu artwork)
202 #:use-module ((guix build utils) #:select (modify-phases))
203 #:use-module (guix build-system cargo)
204 #:use-module (guix build-system cmake)
205 #:use-module (guix build-system glib-or-gtk)
206 #:use-module (guix build-system gnu)
207 #:use-module (guix build-system meson)
208 #:use-module (guix build-system python)
209 #:use-module (guix build-system trivial)
210 #:use-module (guix download)
211 #:use-module (guix git-download)
212 #:use-module ((guix licenses) #:prefix license:)
213 #:use-module (guix packages)
214 #:use-module (guix utils)
215 #:use-module (guix gexp)
216 #:use-module (guix monads)
217 #:use-module (guix store)
218 #:use-module (ice-9 match)
219 #:use-module (srfi srfi-1))
220
221 (define-public gupnp-igd
222 (package
223 (name "gupnp-igd")
224 (version "1.2.0")
225 (source
226 (origin
227 (method url-fetch)
228 (uri
229 (string-append "mirror://gnome/sources/" name "/"
230 (version-major+minor version) "/"
231 name "-" version ".tar.xz"))
232 (sha256
233 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
234 (build-system meson-build-system)
235 (outputs '("out" "doc"))
236 (arguments
237 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
238 #:configure-flags (list "-Dgtk_doc=true")
239 #:phases
240 (modify-phases %standard-phases
241 (add-after 'unpack 'patch-docbook-xml
242 (lambda* (#:key inputs #:allow-other-keys)
243 (with-directory-excursion "doc"
244 (substitute* "gupnp-igd-docs.xml"
245 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
246 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
247 "/xml/dtd/docbook/"))))
248 #t))
249 (add-after 'install 'move-doc
250 (lambda* (#:key outputs #:allow-other-keys)
251 (let* ((out (assoc-ref outputs "out"))
252 (doc (assoc-ref outputs "doc")))
253 (mkdir-p (string-append doc "/share"))
254 (rename-file
255 (string-append out "/share/gtk-doc")
256 (string-append doc "/share/gtk-doc"))
257 #t))))))
258 (native-inputs
259 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
260 ("docbook-xsl" ,docbook-xsl)
261 ("glib:bin" ,glib "bin")
262 ("gobject-introspection" ,gobject-introspection)
263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
264 ("gtk-doc" ,gtk-doc)
265 ("pkg-config" ,pkg-config)))
266 (propagated-inputs
267 `(("glib" ,glib)
268 ("glib-networking" ,glib-networking)
269 ("gssdp" ,gssdp)
270 ("gupnp" ,gupnp)
271 ("libsoup" ,libsoup)))
272 (synopsis "UPnP IGD for GNOME")
273 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
274 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
275 (license license:lgpl2.1+)))
276
277 (define-public brasero
278 (package
279 (name "brasero")
280 (version "3.12.2")
281 (source (origin
282 (method url-fetch)
283 (uri (string-append "mirror://gnome/sources/brasero/"
284 (version-major+minor version) "/"
285 "brasero-" version ".tar.xz"))
286 (sha256
287 (base32
288 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
289 (build-system glib-or-gtk-build-system)
290 (arguments
291 `(#:configure-flags (list
292 (string-append "--with-girdir="
293 (assoc-ref %outputs "out")
294 "/share/gir-1.0")
295 (string-append "--with-typelibdir="
296 (assoc-ref %outputs "out")
297 "/lib/girepository-1.0"))
298 #:phases
299 (modify-phases %standard-phases
300 (add-before 'configure 'embed-growisofs
301 (lambda* (#:key inputs #:allow-other-keys)
302 (substitute* "plugins/growisofs/burn-growisofs.c"
303 (("\"growisofs") (string-append "\"" (which "growisofs"))))
304 #t)))))
305 (propagated-inputs
306 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
307 (native-inputs
308 `(("intltool" ,intltool)
309 ("itstool" ,itstool)
310 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
311 ("gobject-introspection" ,gobject-introspection)
312 ("pkg-config" ,pkg-config)))
313 (inputs
314 `(("dvd+rw-tools" ,dvd+rw-tools)
315 ("glib" ,glib)
316 ("gnome-doc-utils" ,gnome-doc-utils)
317 ("gstreamer" ,gstreamer)
318 ("gst-plugins-base" ,gst-plugins-base)
319 ("gtk+" ,gtk+)
320 ("libcanberra" ,libcanberra)
321 ("libice" ,libice)
322 ("libnotify" ,libnotify)
323 ("libsm" ,libsm)
324 ("libxml2" ,libxml2)
325 ("totem-pl-parser" ,totem-pl-parser)))
326 (home-page "https://wiki.gnome.org/Apps/Brasero")
327 (synopsis "CD/DVD burning tool for Gnome")
328 (description "Brasero is an application to burn CD/DVD for the Gnome
329 Desktop. It is designed to be as simple as possible and has some unique
330 features to enable users to create their discs easily and quickly.")
331 (license license:gpl2+)))
332
333 (define-public libcloudproviders
334 (package
335 (name "libcloudproviders")
336 (version "0.3.1")
337 (source
338 (origin
339 (method url-fetch)
340 (uri
341 (string-append "mirror://gnome/sources/" name "/"
342 (version-major+minor version) "/"
343 name "-" version ".tar.xz"))
344 (sha256
345 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
346 (build-system meson-build-system)
347 (outputs '("out" "doc"))
348 (arguments
349 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
350 #:configure-flags
351 (list
352 "-Denable-gtk-doc=true")
353 #:phases
354 (modify-phases %standard-phases
355 (add-after 'install 'move-doc
356 (lambda* (#:key outputs #:allow-other-keys)
357 (let* ((out (assoc-ref outputs "out"))
358 (doc (assoc-ref outputs "doc")))
359 (mkdir-p (string-append doc "/share"))
360 (rename-file
361 (string-append out "/share/gtk-doc")
362 (string-append doc "/share/gtk-doc"))
363 #t))))))
364 (native-inputs
365 `(("glib:bin" ,glib "bin")
366 ("gobject-introspection" ,gobject-introspection)
367 ("gtk-doc" ,gtk-doc)
368 ("pkg-config" ,pkg-config)
369 ("vala" ,vala)))
370 (inputs
371 `(("glib" ,glib)
372 ("glib-networking" ,glib-networking)))
373 (synopsis "Cloudproviders Integration API")
374 (description "Libcloudproviders is a DBus API that allows cloud storage sync
375 clients to expose their services. Clients such as file managers and desktop
376 environments can then provide integrated access to the cloud providers
377 services.")
378 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
379 (license license:lgpl3+)))
380
381 (define-public libgrss
382 (package
383 (name "libgrss")
384 (version "0.7.0")
385 (source
386 (origin
387 (method url-fetch)
388 (uri
389 (string-append "mirror://gnome/sources/" name "/"
390 (version-major+minor version) "/"
391 name "-" version ".tar.xz"))
392 (sha256
393 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
394 (build-system glib-or-gtk-build-system)
395 (outputs '("out" "doc"))
396 (arguments
397 `(#:configure-flags
398 (list
399 "--enable-gtk-doc"
400 (string-append "--with-html-dir="
401 (assoc-ref %outputs "doc")
402 "/share/gtk-doc/html"))
403 #:phases
404 (modify-phases %standard-phases
405 (add-after 'unpack 'patch-docbook-xml
406 (lambda* (#:key inputs #:allow-other-keys)
407 (with-directory-excursion "doc/reference"
408 (substitute* "libgrss-docs.sgml"
409 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
410 (string-append (assoc-ref inputs "docbook-xml")
411 "/xml/dtd/docbook/"))))
412 #t)))))
413 (native-inputs
414 `(("docbook-xml" ,docbook-xml-4.1.2)
415 ("gobject-introspection" ,gobject-introspection)
416 ("gtk-doc" ,gtk-doc)
417 ("pkg-config" ,pkg-config)))
418 (propagated-inputs
419 `(("glib" ,glib)
420 ("libsoup" ,libsoup)
421 ("libxml2" ,libxml2)))
422 (synopsis "Glib library for feeds")
423 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
424 and other formats.")
425 (home-page "https://wiki.gnome.org/Projects/Libgrss")
426 (license license:lgpl3+)))
427
428 (define-public gnome-js-common
429 (package
430 (name "gnome-js-common")
431 (version "0.1.2")
432 (source
433 (origin
434 (method url-fetch)
435 (uri
436 (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.gz"))
439 (sha256
440 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
441 (build-system glib-or-gtk-build-system)
442 (arguments
443 `(#:configure-flags
444 (list
445 "--disable-static")))
446 (native-inputs
447 `(("gettext" ,gettext-minimal)
448 ("intltool" ,intltool)
449 ("pkg-config" ,pkg-config)))
450 (synopsis "Common JS Modules")
451 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
452 bindings.")
453 (home-page "https://wiki.gnome.org/Projects/Seed")
454 (license license:gpl3+)))
455
456 (define-public seed
457 (package
458 (name "seed")
459 (version "3.8.1")
460 (source
461 (origin
462 (method url-fetch)
463 (uri
464 (string-append "mirror://gnome/sources/" name "/"
465 (version-major+minor version) "/"
466 name "-" version ".tar.xz"))
467 (sha256
468 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
469 (patches
470 (search-patches "seed-webkit.patch"))))
471 (build-system glib-or-gtk-build-system)
472 (outputs '("out" "doc"))
473 (arguments
474 `(#:configure-flags
475 (list
476 "--disable-static"
477 "--enable-xorg-module"
478 (string-append "--with-html-dir="
479 (assoc-ref %outputs "doc")
480 "/share/gtk-doc/html")
481 "--with-webkit=4.0")
482 #:phases
483 (modify-phases %standard-phases
484 ;; The seed-webkit.patch patches configure.ac.
485 ;; So the source files need to be re-bootstrapped.
486 (add-after 'unpack 'trigger-bootstrap
487 (lambda _
488 (for-each delete-file
489 (list
490 "configure"
491 "Makefile.in"))
492 #t))
493 (add-after 'unpack 'patch-tests
494 (lambda* (#:key outputs #:allow-other-keys)
495 (substitute* (find-files "." "\\.js$")
496 (("#!/usr/bin/env seed")
497 (string-append "#!" (getcwd) "/src/seed")))
498 #t))
499 (add-before 'build 'patch-docbook-xml
500 (lambda* (#:key inputs #:allow-other-keys)
501 (with-directory-excursion "doc"
502 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
503 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
504 (string-append (assoc-ref inputs "docbook-xml")
505 "/xml/dtd/docbook/"))))
506 #t)))))
507 (native-inputs
508 `(("autoconf" ,autoconf)
509 ("automake" ,automake)
510 ("docbook-xml" ,docbook-xml-4.1.2)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk-doc" ,gtk-doc)
514 ("intltool" ,intltool)
515 ("libtool" ,libtool)
516 ("pkg-config" ,pkg-config)))
517 (inputs
518 `(("cairo" ,cairo)
519 ("dbus" ,dbus)
520 ("dbus-glib" ,dbus-glib)
521 ("gnome-js-common" ,gnome-js-common)
522 ("gtk+" ,gtk+)
523 ("gtk+-2" ,gtk+-2)
524 ("libffi" ,libffi)
525 ("libxml2" ,libxml2)
526 ("mpfr" ,mpfr)
527 ("readline" ,readline)
528 ("sqlite" ,sqlite)
529 ("xscrnsaver" ,libxscrnsaver)))
530 (propagated-inputs
531 `(("glib" ,glib)
532 ("webkit" ,webkitgtk)))
533 (synopsis "GObject JavaScriptCore bridge")
534 (description "Seed is a library and interpreter, dynamically bridging
535 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
536 GNOME platform. It serves as something which enables you to write standalone
537 applications in JavaScript, or easily enable your application to be extensible
538 in JavaScript.")
539 (home-page "https://wiki.gnome.org/Projects/Seed")
540 (license license:lgpl2.0+)))
541
542 (define-public libdmapsharing
543 (package
544 (name "libdmapsharing")
545 (version "3.9.10")
546 (source
547 (origin
548 (method url-fetch)
549 (uri
550 (string-append "https://www.flyn.org/projects/"
551 name "/" name "-" version ".tar.gz"))
552 (sha256
553 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
554 (build-system glib-or-gtk-build-system)
555 (outputs '("out" "doc"))
556 (arguments
557 `(#:tests? #f ; Tests require networking.
558 #:configure-flags
559 (list
560 "--disable-static"
561 (string-append "--with-html-dir="
562 (assoc-ref %outputs "doc")
563 "/share/gtk-doc/html"))
564 #:phases
565 (modify-phases %standard-phases
566 (add-after 'unpack 'patch-docbook-xml
567 (lambda* (#:key inputs #:allow-other-keys)
568 (with-directory-excursion "doc"
569 (substitute* "libdmapsharing-4.0-docs.xml"
570 (("http://www.oasis-open.org/docbook/xml/4.3/")
571 (string-append (assoc-ref inputs "docbook-xml")
572 "/xml/dtd/docbook/"))))
573 #t)))))
574 (native-inputs
575 `(("check" ,check)
576 ("docbook-xml" ,docbook-xml-4.3)
577 ("gobject-introspection" ,gobject-introspection)
578 ("pedansee" ,pedansee)
579 ("pkg-config" ,pkg-config)
580 ("vala" ,vala)))
581 (inputs
582 `(("avahi" ,avahi)
583 ("gdk-pixbuf" ,gdk-pixbuf+svg)
584 ("gee" ,libgee)
585 ("gst-plugins-base" ,gst-plugins-base)
586 ("gtk+" ,gtk+)))
587 (propagated-inputs
588 `(("glib" ,glib)
589 ("glib-networking" ,glib-networking)
590 ("gstreamer" ,gstreamer)
591 ("libsoup" ,libsoup)))
592 (synopsis "Media management library")
593 (description "Libdmapsharing is a library which allows programs to access,
594 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
595 It is written in C using GObject and libsoup.")
596 (home-page "https://launchpad.net/gtx")
597 (license license:lgpl2.1+)))
598
599 (define-public gtx
600 (package
601 (name "gtx")
602 (version "0.2.2")
603 (source
604 (origin
605 (method url-fetch)
606 (uri
607 (string-append "https://launchpad.net/gtx/trunk/"
608 version "/+download/gtx-" version ".tar.gz"))
609 (sha256
610 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
611 (build-system glib-or-gtk-build-system)
612 (outputs '("out" "doc"))
613 (arguments
614 `(#:configure-flags
615 (list
616 "--disable-static"
617 "--enable-gtk-doc"
618 (string-append "--with-html-dir="
619 (assoc-ref %outputs "doc")
620 "/share/gtk-doc/html"))))
621 (native-inputs
622 `(("gobject-introspection" ,gobject-introspection)
623 ("gtk-doc" ,gtk-doc)
624 ("pkg-config" ,pkg-config)))
625 (propagated-inputs
626 `(("glib" ,glib)))
627 (synopsis "GLib Testing Framework")
628 (description "GTX is a small collection of convenience functions intended to
629 enhance the GLib testing framework. With specific emphasis on easing the pain
630 of writing test cases for asynchronous interactions.")
631 (home-page "https://launchpad.net/gtx")
632 (license license:lgpl2.1+)))
633
634 (define-public dee
635 (package
636 (name "dee")
637 (version "1.2.7")
638 (source
639 (origin
640 (method url-fetch)
641 (uri
642 (string-append "https://launchpad.net/dee/1.0/"
643 version "/+download/dee-" version ".tar.gz"))
644 (sha256
645 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
646 (patches
647 (search-patches "dee-vapi.patch"))))
648 (build-system glib-or-gtk-build-system)
649 (outputs '("out" "doc"))
650 (arguments
651 `(#:configure-flags
652 (list
653 "--disable-maintainer-flags"
654 (string-append "--with-pygi-overrides-dir="
655 (assoc-ref %outputs "out")
656 "/lib/python"
657 ,(version-major+minor
658 (package-version python))
659 "/site-packages/gi/overrides")
660 (string-append "--with-html-dir="
661 (assoc-ref %outputs "doc")
662 "/share/gtk-doc/html"))
663 #:phases
664 (modify-phases %standard-phases
665 (add-after 'unpack 'patch-docbook-xml
666 (lambda* (#:key inputs #:allow-other-keys)
667 (with-directory-excursion "doc/reference/dee-1.0"
668 (substitute* "dee-1.0-docs.sgml"
669 (("http://www.oasis-open.org/docbook/xml/4.3/")
670 (string-append (assoc-ref inputs "docbook-xml")
671 "/xml/dtd/docbook/"))))
672 #t))
673 (add-after 'patch-docbook-xml 'disable-failing-tests
674 (lambda _
675 (substitute* "tests/test-icu.c"
676 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
677 "")
678 (("setup, test_ascii_folder, teardown\\);")
679 ""))
680 #t))
681 (add-before 'check 'pre-check
682 (lambda _
683 ;; Tests require a running dbus-daemon.
684 (system "dbus-daemon &")
685 ;; For missing '/etc/machine-id'.
686 (setenv "DBUS_FATAL_WARNINGS" "0")
687 #t)))))
688 (native-inputs
689 `(("dbus" ,dbus)
690 ("dbus-test-runner" ,dbus-test-runner)
691 ("docbook-xml" ,docbook-xml-4.3)
692 ("gobject-introspection" ,gobject-introspection)
693 ("gtk-doc" ,gtk-doc)
694 ;; Would only be required by configure flag "--enable-extended-tests".
695 ;("gtx" ,gtx)
696 ("pkg-config" ,pkg-config)
697 ("pygobject" ,python-pygobject)
698 ("python" ,python-wrapper)
699 ("vala" ,vala)))
700 (inputs
701 `(("icu" ,icu4c)))
702 (propagated-inputs
703 `(("glib" ,glib)))
704 (synopsis "Model to synchronize multiple instances over DBus")
705 (description "Dee is a library that uses DBus to provide objects allowing
706 you to create Model-View-Controller type programs across DBus. It also consists
707 of utility objects which extend DBus allowing for peer-to-peer discoverability
708 of known objects without needing a central registrar.")
709 (home-page "https://launchpad.net/dee")
710 (license
711 ;; Dual-licensed
712 (list
713 license:lgpl3+
714 license:gpl3+))))
715
716 (define-public zeitgeist
717 (package
718 (name "zeitgeist")
719 (version "1.0.3")
720 (source
721 (origin
722 (method git-fetch)
723 (uri
724 (git-reference
725 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
726 (commit
727 (string-append "v" version))))
728 (file-name
729 (git-file-name name version))
730 (sha256
731 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
732 (build-system glib-or-gtk-build-system)
733 (arguments
734 `(#:configure-flags
735 (list
736 "--enable-explain-queries"
737 "--enable-fts"
738 "--enable-docs")
739 #:phases
740 (modify-phases %standard-phases
741 (add-after 'unpack 'patch-docbook-xml
742 (lambda* (#:key inputs #:allow-other-keys)
743 (with-directory-excursion "doc/libzeitgeist"
744 (substitute* "zeitgeist-gtkdoc-index.sgml"
745 (("http://www.oasis-open.org/docbook/xml/4.3/")
746 (string-append (assoc-ref inputs "docbook-xml")
747 "/xml/dtd/docbook/"))))
748 #t))
749 (add-after 'patch-docbook-xml 'disable-failing-tests
750 (lambda _
751 (substitute* "test/direct/Makefile.am"
752 ((" log-test ")
753 ""))
754 (substitute* "test/c/Makefile.am"
755 ((" test-log ")
756 ""))
757 #t))
758 (add-before 'bootstrap 'remove-autogen-script
759 (lambda _
760 ;; To honor `autoreconf -vif` by build-system.
761 (delete-file "autogen.sh")
762 #t)))))
763 (native-inputs
764 `(("autoconf" ,autoconf)
765 ("automake" ,automake)
766 ("docbook-xml" ,docbook-xml-4.3)
767 ("gettext" ,gettext-minimal)
768 ("gobject-introspection" ,gobject-introspection)
769 ("gtk-doc" ,gtk-doc)
770 ("libtool" ,libtool)
771 ("pkg-config" ,pkg-config)
772 ("vala" ,vala)
773 ("xorg-server-for-tests" ,xorg-server-for-tests)))
774 (inputs
775 `(("dee-icu" ,dee)
776 ("gtk+" ,gtk+)
777 ("json-glib" ,json-glib)
778 ("sqlite" ,sqlite)
779 ("telepathy-glib" ,telepathy-glib)
780 ("python" ,python-wrapper)
781 ("python-rdflib" ,python-rdflib)
782 ("xapian-config" ,xapian)))
783 (propagated-inputs
784 `(("glib" ,glib)))
785 (synopsis "Desktop Activity Logging")
786 (description "Zeitgeist is a service which logs the users’s activities and
787 events, anywhere from files opened to websites visited and conversations. It
788 makes this information readily available for other applications to use. It is
789 able to establish relationships between items based on similarity and usage
790 patterns.")
791 (home-page "https://zeitgeist.freedesktop.org/")
792 (license
793 ;; Dual-licensed
794 (list
795 license:lgpl2.1+
796 license:gpl2+))))
797
798 (define-public gnome-recipes
799 (package
800 (name "gnome-recipes")
801 (version "2.0.4")
802 (source (origin
803 (method git-fetch)
804 (uri (git-reference
805 (url "https://gitlab.gnome.org/GNOME/recipes")
806 (commit version)))
807 (file-name (git-file-name name version))
808 (sha256
809 (base32
810 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
811 (build-system meson-build-system)
812 (arguments
813 `(#:glib-or-gtk? #t
814 #:phases
815 (modify-phases %standard-phases
816 (add-after 'unpack 'skip-gtk-update-icon-cache
817 (lambda _
818 (substitute* "meson_post_install.py"
819 (("gtk-update-icon-cache") (which "true")))
820 #t))
821 (add-after 'unpack 'unpack-libgd
822 (lambda* (#:key inputs #:allow-other-keys)
823 (let ((libgd (assoc-ref inputs "libgd")))
824 (copy-recursively libgd "subprojects/libgd")
825 #t))))))
826 (inputs
827 `(("glib" ,glib)
828 ("gnome-autoar" ,gnome-autoar)
829 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
830 ("gspell" ,gspell)
831 ("gtk+" ,gtk+)
832 ("json-glib" ,json-glib)
833 ("libcanberra" ,libcanberra)
834 ("libsoup" ,libsoup)
835 ("rest" ,rest)))
836 (native-inputs
837 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
838 ("gettext" ,gettext-minimal)
839 ("glib:bin" ,glib "bin")
840 ("itstool" ,itstool)
841 ("libgd"
842 ,(origin
843 (method git-fetch)
844 (uri (git-reference
845 (url "https://gitlab.gnome.org/GNOME/libgd")
846 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
847 (file-name (git-file-name "libgd" version))
848 (sha256
849 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
850 ("pkg-config" ,pkg-config)))
851 (home-page "https://wiki.gnome.org/Apps/Recipes")
852 (synopsis "Discover recipes for preparing food")
853 (description "GNOME Recipes helps you discover what to cook today,
854 tomorrow, the rest of the week and for special occasions.")
855 (license license:gpl3+)))
856
857 (define-public gnome-photos
858 (package
859 (name "gnome-photos")
860 (version "3.34.2")
861 (source
862 (origin
863 (method url-fetch)
864 (uri
865 (string-append "mirror://gnome/sources/" name "/"
866 (version-major+minor version) "/"
867 name "-" version ".tar.xz"))
868 (sha256
869 (base32
870 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
871 (build-system meson-build-system)
872 (arguments
873 `(#:glib-or-gtk? #t
874 #:configure-flags
875 (list "-Ddogtail=false" ; Not available
876 ;; Required for RUNPATH validation.
877 (string-append "-Dc_link_args=-Wl,-rpath="
878 (assoc-ref %outputs "out") "/lib/gnome-photos"))
879 #:phases
880 (modify-phases %standard-phases
881 (add-after 'install 'wrap-gnome-photos
882 (lambda* (#:key inputs outputs #:allow-other-keys)
883 (let*
884 ((out (assoc-ref outputs "out")))
885 (wrap-program (string-append out "/bin/gnome-photos")
886 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
887 #t)))))
888 (native-inputs
889 `(("dbus" ,dbus)
890 ("desktop-file-utils" ,desktop-file-utils)
891 ("gettext" ,gettext-minimal)
892 ("git" ,git-minimal)
893 ("glib:bin" ,glib "bin")
894 ("gobject-introspection" ,gobject-introspection)
895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
896 ("gtk+:bin" ,gtk+ "bin")
897 ("itstool" ,itstool)
898 ("pkg-config" ,pkg-config)))
899 (inputs
900 `(("babl" ,babl)
901 ("cairo" ,cairo)
902 ("gdk-pixbuf" ,gdk-pixbuf+svg)
903 ("gegl" ,gegl)
904 ("geocode-glib" ,geocode-glib)
905 ("gexiv2" ,gexiv2)
906 ("gnome-online-accounts" ,gnome-online-accounts)
907 ("gnome-online-miners" ,gnome-online-miners)
908 ("grilo" ,grilo)
909 ("grilo-plugins" ,grilo-plugins)
910 ("gtk+" ,gtk+)
911 ("libdazzle" ,libdazzle)
912 ("libgdata" ,libgdata)
913 ("libgfbgraph" ,gfbgraph)
914 ("libjpeg" ,libjpeg-turbo)
915 ("libpng" ,libpng)
916 ("librest" ,rest)
917 ("pygobject" ,python-pygobject)
918 ("tracker" ,tracker)
919 ("tracker-miners" ,tracker-miners)))
920 (synopsis "Access, organize and share your photos on GNOME desktop")
921 (description "GNOME Photos is a simple and elegant replacement for using a
922 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
923 cloud integration is offered through GNOME Online Accounts.")
924 (home-page "https://wiki.gnome.org/Apps/Photos")
925 (license license:gpl3+)))
926
927 (define-public gnome-music
928 (package
929 (name "gnome-music")
930 (version "3.34.5")
931 (source
932 (origin
933 (method url-fetch)
934 (uri
935 (string-append "mirror://gnome/sources/" name "/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
938 (sha256
939 (base32
940 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
941 (build-system meson-build-system)
942 (arguments
943 `(#:glib-or-gtk? #t
944 #:phases
945 (modify-phases %standard-phases
946 (add-after 'install 'wrap-gnome-music
947 (lambda* (#:key inputs outputs #:allow-other-keys)
948 (let*
949 ((out (assoc-ref outputs "out"))
950 (pylib (string-append out "/lib/python"
951 ,(version-major+minor
952 (package-version python))
953 "/site-packages")))
954 (wrap-program (string-append out "/bin/gnome-music")
955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
956 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
957 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
958 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
959 #t)))))
960 (native-inputs
961 `(("desktop-file-utils" ,desktop-file-utils)
962 ("gettext" ,gettext-minimal)
963 ("glib:bin" ,glib "bin")
964 ("gobject-introspection" ,gobject-introspection)
965 ("gtk+:bin" ,gtk+ "bin")
966 ("itstools" ,itstool)
967 ("pkg-config" ,pkg-config)))
968 (inputs
969 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
970 ("grilo" ,grilo)
971 ("grilo-plugins" ,grilo-plugins)
972 ("gst-plugins-base" ,gst-plugins-base)
973 ("gstreamer" ,gstreamer)
974 ("gvfs" ,gvfs)
975 ("libdazzle" ,libdazzle)
976 ("libmediaart" ,libmediaart)
977 ("libsoup" ,libsoup)
978 ("pycairo" ,python-pycairo)
979 ("pygobject" ,python-pygobject)
980 ("tracker" ,tracker)
981 ("tracker-miners" ,tracker-miners)))
982 (synopsis "Simple music player for GNOME desktop")
983 (description "GNOME Music is the new GNOME music playing application that
984 aims to combine an elegant and immersive browsing experience with simple
985 and straightforward controls.")
986 (home-page "https://wiki.gnome.org/Apps/Music")
987 (license license:gpl2+)))
988
989 (define-public portablexdr
990 (package
991 (name "portablexdr")
992 (version "4.9.1")
993 (source
994 (origin
995 (method url-fetch)
996 (uri
997 (string-append "https://people.redhat.com/~rjones/" name "/files/"
998 name "-" version ".tar.gz"))
999 (sha256
1000 (base32
1001 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1002 (build-system gnu-build-system)
1003 (synopsis "External Data Representation Library")
1004 (description "PortableXDR is an implementation of External Data
1005 Representation (XDR) Library. It is a standard data serialization format, for
1006 uses such as computer network protocols. It allows data to be transferred
1007 between different kinds of computer systems.")
1008 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1009 (license
1010 (list
1011 license:gpl2+
1012 license:lgpl2.1+))))
1013
1014 (define-public tepl
1015 (package
1016 (name "tepl")
1017 (version "4.4.0")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri
1022 (string-append "mirror://gnome/sources/" name "/"
1023 (version-major+minor version) "/"
1024 name "-" version ".tar.xz"))
1025 (sha256
1026 (base32
1027 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1028 (build-system glib-or-gtk-build-system)
1029 (arguments
1030 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1031 (native-inputs
1032 `(("gobject-introspection" ,gobject-introspection)
1033 ("pkg-config" ,pkg-config)))
1034 (inputs
1035 `(("amtk" ,amtk)
1036 ("glib" ,glib)
1037 ("gtk+" ,gtk+)
1038 ("gtksourceview" ,gtksourceview)
1039 ("libxml2" ,libxml2)
1040 ("uchardet" ,uchardet)))
1041 (synopsis "Text editor product line")
1042 (description "Tepl is a library that eases the development of
1043 GtkSourceView-based text editors and IDEs.")
1044 (home-page "https://wiki.gnome.org/Projects/Tepl")
1045 (license license:lgpl2.1+)))
1046
1047 (define-public krb5-auth-dialog
1048 (package
1049 (name "krb5-auth-dialog")
1050 (version "3.26.1")
1051 (source
1052 (origin
1053 (method url-fetch)
1054 (uri
1055 (string-append "mirror://gnome/sources/" name "/"
1056 (version-major+minor version) "/"
1057 name "-" version ".tar.xz"))
1058 (sha256
1059 (base32
1060 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1061 (build-system glib-or-gtk-build-system)
1062 (native-inputs
1063 `(("intltool" ,intltool)
1064 ("itstool" ,itstool)
1065 ("libxml2" ,libxml2)
1066 ("pkg-config" ,pkg-config)
1067 ("python-wrapper" ,python-wrapper)))
1068 (inputs
1069 `(("glib" ,glib)
1070 ("gtk+" ,gtk+)
1071 ("libnotify" ,libnotify)
1072 ("mit-krb5" ,mit-krb5)
1073 ("network-manager" ,network-manager)))
1074 (synopsis "Popup dialogs for Kerberos 5")
1075 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1076 tickets, and pops up a dialog when they are about to expire.")
1077 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1078 (license license:gpl2+)))
1079
1080 (define-public notification-daemon
1081 (package
1082 (name "notification-daemon")
1083 (version "3.20.0")
1084 (source
1085 (origin
1086 (method url-fetch)
1087 (uri
1088 (string-append "mirror://gnome/sources/" name "/"
1089 (version-major+minor version) "/"
1090 name "-" version ".tar.xz"))
1091 (sha256
1092 (base32
1093 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1094 (build-system glib-or-gtk-build-system)
1095 (native-inputs
1096 `(("intltool" ,intltool)
1097 ("pkg-config" ,pkg-config)))
1098 (inputs
1099 `(("glib" ,glib)
1100 ("gtk+" ,gtk+)
1101 ("x11" ,libx11)))
1102 (synopsis "Notification Daemon for GNOME Desktop")
1103 (description "Notification-Daemon is the server implementation of the
1104 freedesktop.org desktop notification specification.")
1105 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1106 (license license:gpl2+)))
1107
1108 (define-public mm-common
1109 (package
1110 (name "mm-common")
1111 (version "1.0.2")
1112 (source (origin
1113 (method url-fetch)
1114 (uri (string-append "mirror://gnome/sources/mm-common/"
1115 (version-major+minor version) "/"
1116 "mm-common-" version ".tar.xz"))
1117 (sha256
1118 (base32
1119 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1120 (build-system meson-build-system)
1121 (arguments
1122 `(#:phases
1123 (modify-phases %standard-phases
1124 (add-after 'unpack 'patch
1125 (lambda* (#:key inputs #:allow-other-keys)
1126 (substitute* "util/mm-common-prepare.in"
1127 (("ln") (string-append (assoc-ref inputs "coreutils")
1128 "/bin/ln"))
1129 (("cp") (string-append (assoc-ref inputs "coreutils")
1130 "/bin/cp"))
1131 (("sed") (string-append (assoc-ref inputs "sed")
1132 "/bin/sed"))
1133 (("cat") (string-append (assoc-ref inputs "coreutils")
1134 "/bin/cat")))
1135 #t)))))
1136 (native-inputs
1137 `(("coreutils" ,coreutils)
1138 ("gettext" ,gettext-minimal)
1139 ("pkg-config" ,pkg-config)
1140 ("sed" ,sed)))
1141 (inputs
1142 `(("python" ,python)))
1143 (synopsis "Module of GNOME C++ bindings")
1144 (description "The mm-common module provides the build infrastructure
1145 and utilities shared among the GNOME C++ binding libraries. Release
1146 archives of mm-common include the Doxygen tag file for the GNU C++
1147 Library reference documentation.")
1148 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1149 (license license:gpl2+)))
1150
1151 (define-public phodav
1152 (package
1153 (name "phodav")
1154 (version "2.5")
1155 (source (origin
1156 (method url-fetch)
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1160 (sha256
1161 (base32
1162 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1163 (build-system meson-build-system)
1164 (arguments
1165 `(#:phases
1166 (modify-phases %standard-phases
1167 (add-before 'check 'start-virtual-dir-server
1168 ;; The same server when started by tests/virtual-dir returns an
1169 ;; unexpected status (4 instead of 200) and fails a test. It is
1170 ;; unclear why starting it manually here makes it pass.
1171 (lambda _
1172 (system "tests/virtual-dir-server &")
1173 #t)))))
1174 (native-inputs
1175 `(("docbook-xml" ,docbook-xml-4.3)
1176 ("gettext" ,gettext-minimal)
1177 ("glib:bin" ,glib "bin")
1178 ("gtk-doc" ,gtk-doc)
1179 ("pkg-config" ,pkg-config)))
1180 (inputs
1181 `(("avahi" ,avahi)
1182 ("libgudev" ,libgudev)
1183 ("libsoup" ,libsoup)))
1184 (synopsis "WebDav server implementation using libsoup")
1185 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1186 but it is generic enough to be reused in other projects,
1187 in particular in the GNOME desktop.")
1188 (home-page "https://wiki.gnome.org/phodav")
1189 (license license:lgpl2.1+)))
1190
1191 (define-public gnome-color-manager
1192 (package
1193 (name "gnome-color-manager")
1194 (version "3.32.0")
1195 (source (origin
1196 (method url-fetch)
1197 (uri (string-append "mirror://gnome/sources/" name "/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1200 (sha256
1201 (base32
1202 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1203 (build-system meson-build-system)
1204 (arguments
1205 `(#:glib-or-gtk? #t
1206 #:phases
1207 (modify-phases %standard-phases
1208 (add-before
1209 'check 'pre-check
1210 (lambda _
1211 ;; Tests require a running X server.
1212 (system "Xvfb :1 &")
1213 (setenv "DISPLAY" ":1")
1214 #t)))))
1215 (native-inputs
1216 `(("desktop-file-utils" ,desktop-file-utils)
1217 ("gettext" ,gettext-minimal)
1218 ("glib:bin" ,glib "bin")
1219 ("gtk+:bin" ,gtk+ "bin")
1220 ("itstool" ,itstool)
1221 ("pkg-config" ,pkg-config)
1222 ("xorg-server" ,xorg-server-for-tests)))
1223 (inputs
1224 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1225 ("appstream-glib" ,appstream-glib)
1226 ("colord-gtk" ,colord-gtk)
1227 ("exiv2" ,exiv2)
1228 ("gnome-desktop" ,gnome-desktop)
1229 ("libcanberra" ,libcanberra)
1230 ("libexif" ,libexif)
1231 ("libtiff" ,libtiff)
1232 ("libxrandr" ,libxrandr)
1233 ("libxtst" ,libxtst)
1234 ("libxxf86vm" ,libxxf86vm)
1235 ("vte" ,vte)
1236 ("xorgproto" ,xorgproto)))
1237 (synopsis "Color profile manager for the GNOME desktop")
1238 (description "GNOME Color Manager is a session framework that makes
1239 it easy to manage, install and generate color profiles
1240 in the GNOME desktop.")
1241 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1242 (license license:gpl2+)))
1243
1244 (define-public gnome-online-miners
1245 (package
1246 (name "gnome-online-miners")
1247 (version "3.34.0")
1248 (source (origin
1249 (method url-fetch)
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1253 (sha256
1254 (base32
1255 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1256 (build-system glib-or-gtk-build-system)
1257 (native-inputs
1258 `(("gettext" ,gettext-minimal)
1259 ("glib:bin" ,glib "bin")
1260 ("gobject-introspection" ,gobject-introspection)
1261 ("gtk+:bin" ,gtk+ "bin")
1262 ("pkg-config" ,pkg-config)))
1263 (inputs
1264 `(("gnome-online-accounts" ,gnome-online-accounts)
1265 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1266 ("grilo" ,grilo)
1267 ("libgdata" ,libgdata)
1268 ("libgfbgraph" ,gfbgraph)
1269 ("libzapojit" ,libzapojit)
1270 ("rest" ,rest)
1271 ("tracker" ,tracker)))
1272 (synopsis "Web Crawlers for GNOME")
1273 (description "GNOME Online Miners provides a set of crawlers that
1274 go through your online content and index them locally in Tracker.
1275 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1276 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1277 (license license:gpl2+)))
1278
1279 (define-public gssdp
1280 (package
1281 (name "gssdp")
1282 (version "1.2.3")
1283 (source (origin
1284 (method url-fetch)
1285 (uri (string-append "mirror://gnome/sources/" name "/"
1286 (version-major+minor version) "/"
1287 name "-" version ".tar.xz"))
1288 (sha256
1289 (base32
1290 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1291 (build-system meson-build-system)
1292 (native-inputs
1293 `(("gettext" ,gettext-minimal)
1294 ("glib:bin" ,glib "bin")
1295 ("gobject-introspection" ,gobject-introspection)
1296 ("gtk-doc" ,gtk-doc)
1297 ("pkg-config" ,pkg-config)
1298 ("vala" ,vala)))
1299 (inputs
1300 `(("gtk+" ,gtk+)
1301 ("libsoup" ,libsoup)))
1302 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1303 Protocol} for GNOME")
1304 (description "This package provides a library to handle resource discovery
1305 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1306 a debugging tool, @command{gssdp-device-sniffer}.")
1307 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1308 (license license:lgpl2.0+)))
1309
1310 (define-public gupnp
1311 (package
1312 (name "gupnp")
1313 (version "1.2.4")
1314 (source (origin
1315 (method url-fetch)
1316 (uri (string-append "mirror://gnome/sources/" name "/"
1317 (version-major+minor version) "/"
1318 name "-" version ".tar.xz"))
1319 (sha256
1320 (base32
1321 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1322 (build-system meson-build-system)
1323 (native-inputs
1324 `(("gettext" ,gettext-minimal)
1325 ("glib:bin" ,glib "bin")
1326 ("gobject-introspection" ,gobject-introspection)
1327 ("gtk-doc" ,gtk-doc)
1328 ("pkg-config" ,pkg-config)
1329 ("vala" ,vala)))
1330 (inputs
1331 `(("gssdp" ,gssdp)
1332 ("gtk+" ,gtk+)
1333 ("libsoup" ,libsoup)))
1334 (synopsis "PnP API for GNOME")
1335 (description "This package provides GUPnP, an object-oriented framework
1336 for creating UPnP devices and control points, written in C using
1337 @code{GObject} and @code{libsoup}.")
1338 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1339 (license license:lgpl2.0+)))
1340
1341 (define-public gupnp-dlna
1342 (package
1343 (name "gupnp-dlna")
1344 (version "0.10.5")
1345 (source (origin
1346 (method url-fetch)
1347 (uri (string-append "mirror://gnome/sources/" name "/"
1348 (version-major+minor version) "/"
1349 name "-" version ".tar.xz"))
1350 (sha256
1351 (base32
1352 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1353 (build-system gnu-build-system)
1354 (native-inputs
1355 `(("gettext" ,gettext-minimal)
1356 ("glib:bin" ,glib "bin")
1357 ("gobject-introspection" ,gobject-introspection)
1358 ("gtk-doc" ,gtk-doc)
1359 ("libxml" ,libxml2)
1360 ("pkg-config" ,pkg-config)
1361 ("vala" ,vala)))
1362 (inputs
1363 `(("gstreamer" ,gstreamer)
1364 ("gupnp" ,gupnp)))
1365 (propagated-inputs
1366 `(("gst-plugins-base" ,gst-plugins-base)
1367 ("gst-plugins-good" ,gst-plugins-good)))
1368 (synopsis "GUPnP DLNA for GNOME")
1369 (description "This package provides a small utility library to
1370 support DLNA-related tasks such as media profile guessing, transcoding to a
1371 given profile, etc. DLNA is a subset of UPnP A/V.")
1372 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1373 (license license:lgpl2.0+)))
1374
1375 (define-public gupnp-av
1376 (package
1377 (name "gupnp-av")
1378 (version "0.12.11")
1379 (source (origin
1380 (method url-fetch)
1381 (uri (string-append "mirror://gnome/sources/" name "/"
1382 (version-major+minor version) "/"
1383 name "-" version ".tar.xz"))
1384 (sha256
1385 (base32
1386 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1387 (build-system gnu-build-system)
1388 (native-inputs
1389 `(("gettext" ,gettext-minimal)
1390 ("glib:bin" ,glib "bin")
1391 ("gobject-introspection" ,gobject-introspection)
1392 ("gtk-doc" ,gtk-doc)
1393 ("libxml" ,libxml2)
1394 ("pkg-config" ,pkg-config)))
1395 (inputs
1396 `(("gtk+" ,gtk+)
1397 ("gupnp" ,gupnp)))
1398 (synopsis "GUPnP A/V for GNOME")
1399 (description "This package provides a small library for handling
1400 and implementation of UPnP A/V profiles.")
1401 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1402 (license license:lgpl2.0+)))
1403
1404 (define-public libmediaart
1405 (package
1406 (name "libmediaart")
1407 (version "1.9.4")
1408 (source (origin
1409 (method url-fetch)
1410 (uri (string-append "mirror://gnome/sources/" name "/"
1411 (version-major+minor version) "/"
1412 name "-" version ".tar.xz"))
1413 (sha256
1414 (base32
1415 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1416 (build-system gnu-build-system)
1417 (native-inputs
1418 `(("glib:bin" ,glib "bin")
1419 ("pkg-config" ,pkg-config)))
1420 (inputs
1421 `(("gdk-pixbuf" ,gdk-pixbuf)
1422 ("gettext" ,gettext-minimal)
1423 ("gobject-introspection" ,gobject-introspection)
1424 ("gtk+:doc" ,gtk+ "doc")
1425 ("vala" ,vala)))
1426 (synopsis "Media art library for the GNOME desktop")
1427 (description
1428 "The libmediaart library is the foundation for media art caching,
1429 extraction, and lookup for applications on the desktop.")
1430 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1431 (license license:lgpl2.1+)))
1432
1433 (define-public gnome-initial-setup
1434 (package
1435 (name "gnome-initial-setup")
1436 (version "3.32.1")
1437 (source (origin
1438 (method url-fetch)
1439 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1440 (version-major+minor version)
1441 "/gnome-initial-setup-" version ".tar.xz"))
1442 (sha256
1443 (base32
1444 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1445 (build-system meson-build-system)
1446 (arguments
1447 '(#:configure-flags '(;; Enable camera support for user selfie.
1448 "-Dcheese=auto"
1449 "-Dsystemd=false")
1450 #:phases (modify-phases %standard-phases
1451 (add-after 'unpack 'set-gkbd-file-name
1452 (lambda* (#:key inputs #:allow-other-keys)
1453 ;; Allow the "Preview" button in the keyboard layout
1454 ;; selection dialog to display the layout.
1455 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1456 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1457 (("\"gkbd-keyboard-display")
1458 (string-append "\"" libgnomekbd
1459 "/bin/gkbd-keyboard-display")))
1460 #t))))))
1461 (native-inputs
1462 `(("gettext" ,gettext-minimal)
1463 ("glib:bin" ,glib "bin")
1464 ("gobject-introspection" ,gobject-introspection)
1465 ("gtk+:bin" ,gtk+ "bin")
1466 ("pkg-config" ,pkg-config)))
1467 (inputs
1468 `(("accountsservice" ,accountsservice)
1469 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1470 ("gdm" ,gdm)
1471 ("geoclue" ,geoclue)
1472 ("gnome-desktop" ,gnome-desktop)
1473 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1474 ("gnome-online-accounts" ,gnome-online-accounts)
1475 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1476 ("gstreamer" ,gstreamer)
1477 ("ibus" ,ibus)
1478 ("json-glib" ,json-glib)
1479 ("krb5" ,mit-krb5)
1480 ("libgweather" ,libgweather)
1481 ("libnma" ,libnma)
1482 ("libsecret" ,libsecret)
1483 ("network-manager" ,network-manager)
1484 ("packagekit" ,packagekit)
1485 ("polkit" ,polkit)
1486 ("pwquality" ,libpwquality)
1487 ("rest" ,rest)
1488 ("upower" ,upower)
1489 ("webkitgtk" ,webkitgtk)
1490 ("libgnomekbd" ,libgnomekbd)))
1491 (synopsis "Initial setup wizard for GNOME desktop")
1492 (description "This package provides a set-up wizard when a
1493 user logs into GNOME for the first time. It typically provides a
1494 tour of all gnome components and allows the user to set them up.")
1495 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1496 (license license:gpl2)))
1497
1498 (define-public gnome-user-share
1499 (package
1500 (name "gnome-user-share")
1501 (version "3.33.1")
1502 (source (origin
1503 (method url-fetch)
1504 (uri (string-append "mirror://gnome/sources/" name "/"
1505 (version-major+minor version) "/"
1506 name "-" version ".tar.xz"))
1507 (sha256
1508 (base32
1509 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1510 (build-system meson-build-system)
1511 (arguments
1512 `(#:glib-or-gtk? #t
1513 #:configure-flags
1514 `("-Dsystemd=false"
1515 ;; Enable nautilus extension for file sharing.
1516 "-Dnautilus_extension=true")))
1517 (native-inputs
1518 `(("gettext" ,gettext-minimal)
1519 ("glib:bin" ,glib "bin")
1520 ("gobject-introspection" ,gobject-introspection)
1521 ("gtk+:bin" ,gtk+ "bin")
1522 ("pkg-config" ,pkg-config)
1523 ("yelp-tools" ,yelp-tools)))
1524 (inputs
1525 `(("glib" ,glib)
1526 ("gnome-bluetooth" ,gnome-bluetooth)
1527 ("gtk+" ,gtk+)
1528 ("libcanberra" ,libcanberra)
1529 ("libnotify" ,libnotify)
1530 ("nautilus" ,nautilus))) ; For nautilus extension.
1531 (synopsis "File sharing for GNOME desktop")
1532 (description "GNOME User Share is a small package that binds together
1533 various free software projects to bring easy to use user-level file
1534 sharing to the masses.")
1535 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1536 (license license:gpl2+)))
1537
1538 (define-public sushi
1539 (package
1540 (name "sushi")
1541 (version "3.32.1")
1542 (source (origin
1543 (method url-fetch)
1544 (uri (string-append "mirror://gnome/sources/" name "/"
1545 (version-major+minor version) "/"
1546 name "-" version ".tar.xz"))
1547 (sha256
1548 (base32
1549 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1550 (build-system meson-build-system)
1551 (arguments
1552 `(#:glib-or-gtk? #t
1553 #:phases
1554 (modify-phases %standard-phases
1555 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1556 (lambda* (#:key outputs #:allow-other-keys)
1557 (let ((prog (string-append (assoc-ref outputs "out")
1558 "/bin/sushi")))
1559 ;; Put existing typelibs before sushi's deps, so as to correctly
1560 ;; infer gdk-pixbuf
1561 (wrap-program prog
1562 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1563 #t))))))
1564 (native-inputs
1565 `(("glib:bin" ,glib "bin")
1566 ("gettext" ,gettext-minimal)
1567 ("gobject-introspection" ,gobject-introspection)
1568 ("pkg-config" ,pkg-config)))
1569 (inputs
1570 `(("clutter" ,clutter)
1571 ("clutter-gst" ,clutter-gst)
1572 ("clutter-gtk" ,clutter-gtk)
1573 ("evince" ,evince) ; For file previewing.
1574 ("freetype" ,freetype)
1575 ("gdk-pixbuf" ,gdk-pixbuf)
1576 ("gjs" ,gjs)
1577 ("gst-plugins-base" ,gst-plugins-base)
1578 ("gstreamer" ,gstreamer)
1579 ("gtksourceview" ,gtksourceview-3)
1580 ("harfbuzz" ,harfbuzz)
1581 ("libepoxy" ,libepoxy)
1582 ("libmusicbrainz" ,libmusicbrainz)
1583 ("libxml2" ,libxml2)
1584 ("neon" ,neon)
1585 ("webkitgtk" ,webkitgtk)))
1586 (synopsis "File previewer for the GNOME desktop")
1587 (description "Sushi is a DBus-activated service that allows applications to
1588 preview files on the GNOME desktop.")
1589 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1590 (license license:gpl2+)))
1591
1592 (define-public rygel
1593 (package
1594 (name "rygel")
1595 (version "0.38.3")
1596 (source (origin
1597 (method url-fetch)
1598 (uri (string-append "mirror://gnome/sources/" name "/"
1599 (version-major+minor version) "/"
1600 name "-" version ".tar.xz"))
1601 (sha256
1602 (base32
1603 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1604 (build-system gnu-build-system)
1605 (native-inputs
1606 `(("gettext" ,gettext-minimal)
1607 ("gobject-introspection" ,gobject-introspection)
1608 ("gtk-doc" ,gtk-doc)
1609 ("pkg-config" ,pkg-config)
1610 ("vala" ,vala)))
1611 (inputs
1612 `(("gdk-pixbuf" ,gdk-pixbuf)
1613 ("gssdp" ,gssdp)
1614 ("gstreamer" ,gstreamer)
1615 ("gst-plugins-base" ,gst-plugins-base)
1616 ("gtk+" ,gtk+)
1617 ("gupnp" ,gupnp)
1618 ("gupnp-av" ,gupnp-av)
1619 ("gupnp-dlna" ,gupnp-dlna)
1620 ("libgee" ,libgee)
1621 ("libmediaart" ,libmediaart)
1622 ("libsoup" ,libsoup)
1623 ("libxslt" ,libxslt)
1624 ("libunistring" ,libunistring)
1625 ("tracker" ,tracker)))
1626 (synopsis "Share audio, video, and pictures with other devices")
1627 (description
1628 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1629 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1630 pictures, and to control a media player on your home network.
1631
1632 Rygel achieves interoperability with other devices by trying to conform to the
1633 strict requirements of DLNA and by converting media on-the-fly to formats that
1634 client devices can handle.")
1635 (home-page "https://wiki.gnome.org/Projects/Rygel")
1636 (license (list
1637 ;; For logo (data/icons/*).
1638 license:cc-by-sa3.0
1639 ;; For all others.
1640 license:lgpl2.1+))))
1641
1642 (define-public libnma
1643 (package
1644 (name "libnma")
1645 (version "1.8.28")
1646 (source (origin
1647 (method url-fetch)
1648 (uri (string-append "mirror://gnome/sources/" name "/"
1649 (version-major+minor version) "/"
1650 name "-" version ".tar.xz"))
1651 (sha256
1652 (base32
1653 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1654 (build-system meson-build-system)
1655 (arguments
1656 `(#:phases
1657 (modify-phases %standard-phases
1658 (add-after 'unpack 'patch-docbook-xml
1659 (lambda* (#:key inputs #:allow-other-keys)
1660 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1661 "/xml/dtd/docbook")))
1662 (substitute* "libnma-docs.xml"
1663 (("http://.*/docbookx\\.dtd")
1664 (string-append xmldoc "/docbookx.dtd")))
1665 #t))))))
1666 (native-inputs
1667 `(("docbook-xml" ,docbook-xml-4.3)
1668 ("gettext" ,gettext-minimal)
1669 ("glib:bin" ,glib "bin")
1670 ("gtk-doc" ,gtk-doc)
1671 ("gobject-introspection" ,gobject-introspection)
1672 ("pkg-config" ,pkg-config)
1673 ("vala" ,vala)))
1674 (inputs
1675 `(("gcr" ,gcr)
1676 ("gtk+" ,gtk+)
1677 ("iso-codes" ,iso-codes)
1678 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1679 ("network-manager" ,network-manager)))
1680 (synopsis "Network Manager's applet library")
1681 (description "Libnma is an applet library for Network Manager. It was
1682 initially part of network-manager-applet and has now become a separate
1683 project.")
1684 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1685 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1686 ;; "LGPL-2.1+".
1687 (license license:gpl2+)))
1688
1689 (define-public gnome-menus
1690 (package
1691 (name "gnome-menus")
1692 (version "3.32.0")
1693 (source (origin
1694 (method url-fetch)
1695 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1696 (version-major+minor version) "/"
1697 name "-" version ".tar.xz"))
1698 (sha256
1699 (base32
1700 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1701 (build-system gnu-build-system)
1702 (native-inputs
1703 `(("gettext" ,gettext-minimal)
1704 ("glib" ,glib)
1705 ("pkg-config" ,pkg-config)))
1706 (synopsis "Menu support for GNOME desktop")
1707 (description "GNOME Menus contains the libgnome-menu library, the layout
1708 configuration files for the GNOME menu, as well as a simple menu editor.")
1709 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1710 (license license:lgpl2.0+)))
1711
1712 (define-public deja-dup
1713 (package
1714 (name "deja-dup")
1715 (version "40.6")
1716 (source (origin
1717 (method url-fetch)
1718 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1719 version "/deja-dup-" version ".tar.bz2"))
1720 (sha256
1721 (base32
1722 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1723 (build-system meson-build-system)
1724 (arguments
1725 `(#:glib-or-gtk? #t
1726 #:configure-flags
1727 (list
1728 ;; Otherwise, the RUNPATH will lack the final path component.
1729 (string-append "-Dc_link_args=-Wl,-rpath="
1730 (assoc-ref %outputs "out") "/lib/deja-dup"))
1731 #:phases
1732 (modify-phases %standard-phases
1733 (add-after 'unpack 'patch-paths
1734 (lambda* (#:key inputs #:allow-other-keys)
1735 (let ((python (assoc-ref inputs "python")))
1736 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1737 "libdeja/tests/scripts/instance-error.test")
1738 (("/bin/rm")
1739 (which "rm")))
1740 (substitute* "libdeja/tests/runner.vala"
1741 (("/bin/sh")
1742 (which "sh")))
1743 (substitute* "libdeja/tests/scripts/instance-error.test"
1744 (("`which python3`")
1745 (string-append python "/bin/python3"))))))
1746 (add-after 'unpack 'patch-libgpg-error
1747 (lambda* (#:key inputs #:allow-other-keys)
1748 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1749 (substitute* "meson.build"
1750 (("(gpgerror_libs = ).*" _ var)
1751 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1752 #t))
1753 (add-after 'unpack 'skip-gtk-update-icon-cache
1754 ;; Don't create 'icon-theme.cache'.
1755 (lambda _
1756 (substitute* "data/post-install.sh"
1757 (("gtk-update-icon-cache") "true"))
1758 #t)))))
1759 (inputs
1760 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1761 ("duplicity" ,duplicity)
1762 ("python" ,python)
1763 ("python-pygobject" ,python-pygobject)
1764 ("gtk+" ,gtk+)
1765 ("json-glib" ,json-glib)
1766 ("libnotify" ,libnotify)
1767 ("libgpg-error" ,libgpg-error)
1768 ("libsecret" ,libsecret)
1769 ("libsoup" ,libsoup)
1770 ("packagekit" ,packagekit)))
1771 (native-inputs
1772 `(("appstream-glib" ,appstream-glib)
1773 ("desktop-file-utils" ,desktop-file-utils)
1774 ("gettext" ,gettext-minimal)
1775 ("glib" ,glib "bin") ; for glib-compile-schemas.
1776 ("gobject-introspection" ,gobject-introspection)
1777 ("itstool" ,itstool)
1778 ("pkg-config" ,pkg-config)
1779 ("vala" ,vala)))
1780 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1781 (synopsis "Simple backup tool, for regular encrypted backups")
1782 (description
1783 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1784 uses duplicity as the backend, which supports incremental backups and storage
1785 either on a local, or remote machine via a number of methods.")
1786 (license license:gpl3+)))
1787
1788 (define-public gnome-commander
1789 (package
1790 (name "gnome-commander")
1791 (version "1.10.3")
1792 (source
1793 (origin
1794 (method url-fetch)
1795 (uri (string-append "mirror://gnome/sources/" name "/"
1796 (version-major+minor version) "/"
1797 "gnome-commander-" version ".tar.xz"))
1798 (sha256
1799 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1800 (build-system glib-or-gtk-build-system)
1801 (native-inputs
1802 `(("desktop-file-utils" ,desktop-file-utils)
1803 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1804 ("gettext" ,gettext-minimal)
1805 ("glib:bin" ,glib "bin")
1806 ("gobject-introspection" ,gobject-introspection)
1807 ("googletest" ,googletest)
1808 ("intltool" ,intltool)
1809 ("itstool" ,itstool)
1810 ("libtool" ,libtool)
1811 ("pkg-config" ,pkg-config)))
1812 (inputs
1813 `(("gconf" ,gconf)
1814 ("gnome-vfs" ,gnome-vfs)
1815 ("gtk+" ,gtk+-2)
1816 ("libxml2" ,libxml2)))
1817 (home-page "https://gcmd.github.io/")
1818 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1819 (description
1820 "GNOME Commander is a two-pane graphical file manager using GNOME
1821 libraries. It aims to fulfill the demands of more advanced users who
1822 like to focus on file management, their work through special applications
1823 and running smart commands.")
1824 (license license:gpl2+)))
1825
1826 (define-public gnome-user-docs
1827 (package
1828 (name "gnome-user-docs")
1829 (version "3.32.3")
1830 (source
1831 (origin
1832 (method url-fetch)
1833 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1834 (version-major+minor version)
1835 "/gnome-user-docs-" version ".tar.xz"))
1836 (sha256
1837 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1838 (build-system gnu-build-system)
1839 (native-inputs
1840 `(("gettext" ,gettext-minimal)
1841 ("itstool" ,itstool)
1842 ("pkg-config" ,pkg-config)
1843 ("xmllint" ,libxml2)))
1844 (synopsis "User documentation for the GNOME desktop")
1845 (description
1846 "The GNOME User Documentation explains how to use the GNOME desktop and its
1847 components. It covers usage and setup of the core GNOME programs by end-users
1848 and system administrators.")
1849 (home-page "https://live.gnome.org/DocumentationProject")
1850 (license license:cc-by3.0)))
1851
1852 (define-public gnome-getting-started-docs
1853 (package
1854 (name "gnome-getting-started-docs")
1855 (version "3.32.2")
1856 (source
1857 (origin
1858 (method url-fetch)
1859 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1860 (version-major+minor version)
1861 "/gnome-getting-started-docs-" version ".tar.xz"))
1862 (sha256
1863 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1864 (build-system gnu-build-system)
1865 (native-inputs
1866 `(("gettext" ,gettext-minimal)
1867 ("itstool" ,itstool)
1868 ("pkg-config" ,pkg-config)
1869 ("xmllint" ,libxml2)))
1870 (synopsis "Help to get new users started with the GNOME desktop")
1871 (description
1872 "The GNOME Getting Started Documentation contains GNOME's intuitive
1873 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1874
1875 It is normally used together with @command{gnome-initial-setup}, but is also
1876 useful as a tutorial and users' guide for new or less experienced users.")
1877 (home-page "https://live.gnome.org/DocumentationProject")
1878 (license license:cc-by-sa3.0)))
1879
1880 (define-public dia
1881 ;; This version from GNOME's repository includes fixes for compiling with
1882 ;; recent versions of the build tools. The latest activity on the
1883 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1884 ;; fixes since.
1885 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1886 (revision "2"))
1887 (package
1888 (name "dia")
1889 (version (git-version "0.97.3" revision commit))
1890 (source (origin
1891 (method git-fetch)
1892 (uri (git-reference
1893 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1894 (commit commit)))
1895 (file-name (git-file-name name version))
1896 (sha256
1897 (base32
1898 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1899 (build-system meson-build-system)
1900 (inputs
1901 `(("graphene" ,graphene)
1902 ("gtk+" ,gtk+-2)
1903 ("libxml2" ,libxml2)
1904 ("libxslt" ,libxslt)
1905 ("poppler" ,poppler)
1906 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1907 ;; ERROR: Unknown method "dependency" in object.
1908 ("python-2" ,python-2)))
1909 (native-inputs
1910 `(("appstream-glib" ,appstream-glib)
1911 ("docbook-xsl" ,docbook-xsl)
1912 ("glib" ,glib "bin")
1913 ("intltool" ,intltool)
1914 ("pkg-config" ,pkg-config)))
1915 (home-page "https://wiki.gnome.org/Apps/Dia")
1916 (synopsis "Diagram creation for GNOME")
1917 (description "Dia can be used to draw different types of diagrams, and
1918 includes support for UML static structure diagrams (class diagrams), entity
1919 relationship modeling, and network diagrams. The program supports various file
1920 formats like PNG, SVG, PDF and EPS.")
1921 (license license:gpl2+))))
1922
1923 ;; This is the unstable release, but it is required for the current stable
1924 ;; release of gvfs (1.38.1).
1925 (define-public libgdata
1926 (package
1927 (name "libgdata")
1928 (version "0.17.9")
1929 (source (origin
1930 (method url-fetch)
1931 (uri (string-append "mirror://gnome/sources/" name "/"
1932 (version-major+minor version) "/"
1933 name "-" version ".tar.xz"))
1934 (sha256
1935 (base32
1936 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1937 (build-system gnu-build-system)
1938 (arguments
1939 '(#:phases
1940 (modify-phases %standard-phases
1941 (add-before 'check 'disable-failing-tests
1942 (lambda _
1943 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1944 ;; They have been removed in libgdata 0.17.6, so just do the same.
1945 (substitute* "gdata/tests/Makefile"
1946 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1947 #t)))))
1948 (native-inputs
1949 `(("glib:bin" ,glib "bin")
1950 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1951 ("intltool" ,intltool)
1952 ("pkg-config" ,pkg-config)
1953 ("uhttpmock" ,uhttpmock)))
1954 (inputs
1955 `(("cyrus-sasl" ,cyrus-sasl)
1956 ("glib-networking" ,glib-networking)))
1957 (propagated-inputs
1958 `(("gcr" ,gcr)
1959 ("glib" ,glib)
1960 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1961 ("json-glib" ,json-glib)
1962 ("liboauth" ,liboauth)
1963 ("libsoup" ,libsoup)
1964 ("libxml2" ,libxml2)))
1965 (home-page "https://wiki.gnome.org/Projects/libgdata")
1966 (synopsis "Library for accessing online service APIs")
1967 (description
1968 "libgdata is a GLib-based library for accessing online service APIs using
1969 the GData protocol — most notably, Google's services. It provides APIs to
1970 access the common Google services, and has full asynchronous support.")
1971 (license license:lgpl2.1+)))
1972
1973 (define-public libgxps
1974 (package
1975 (name "libgxps")
1976 (version "0.3.1")
1977 (source (origin
1978 (method url-fetch)
1979 (uri (string-append "mirror://gnome/sources/" name "/"
1980 (version-major+minor version) "/"
1981 name "-" version ".tar.xz"))
1982 (sha256
1983 (base32
1984 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1985 (build-system meson-build-system)
1986 (native-inputs
1987 `(("gobject-introspection" ,gobject-introspection)
1988 ("pkg-config" ,pkg-config)))
1989 (inputs
1990 `(("gtk+" ,gtk+)
1991 ("libjpeg" ,libjpeg-turbo)
1992 ("lcms" ,lcms)
1993 ("libtiff" ,libtiff)))
1994 (propagated-inputs
1995 ;; In Requires of libgxps.pc.
1996 `(("cairo" ,cairo)
1997 ("glib" ,glib)
1998 ("libarchive" ,libarchive)))
1999 (home-page "https://wiki.gnome.org/Projects/libgxps")
2000 (synopsis "GObject-based library for handling and rendering XPS documents")
2001 (description
2002 "libgxps is a GObject-based library for handling and rendering XPS
2003 documents. This package also contains binaries that can convert XPS documents
2004 to other formats.")
2005 (license license:lgpl2.1+)))
2006
2007 (define-public gnome-characters
2008 (package
2009 (name "gnome-characters")
2010 (version "3.30.0")
2011 (source
2012 (origin
2013 (method url-fetch)
2014 (uri (string-append "mirror://gnome/sources/"
2015 "gnome-characters/" (version-major+minor version)
2016 "/gnome-characters-" version ".tar.xz"))
2017 (sha256
2018 (base32
2019 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2020 (build-system meson-build-system)
2021 (arguments
2022 `(#:glib-or-gtk? #t
2023 #:phases (modify-phases %standard-phases
2024 (add-after 'install 'wrap
2025 (lambda* (#:key outputs #:allow-other-keys)
2026 ;; GNOME Characters needs Typelib files from GTK and
2027 ;; gnome-desktop.
2028 (wrap-program (string-append (assoc-ref outputs "out")
2029 "/bin/gnome-characters")
2030 `("GI_TYPELIB_PATH" ":" prefix
2031 (,(getenv "GI_TYPELIB_PATH"))))
2032 #t)))))
2033 (native-inputs
2034 `(("gettext" ,gettext-minimal)
2035 ("glib:bin" ,glib "bin")
2036 ("gtk+:bin" ,gtk+ "bin")
2037 ("pkg-config" ,pkg-config)
2038 ("python" ,python-minimal)))
2039 (inputs
2040 `(("gjs" ,gjs)
2041 ("gtk+" ,gtk+)
2042 ("libunistring" ,libunistring)
2043 ("gnome-desktop" ,gnome-desktop)))
2044 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2045 (synopsis "Find and insert unusual characters")
2046 (description "Characters is a simple utility application to find
2047 and insert unusual characters. It allows you to quickly find the
2048 character you are looking for by searching for keywords.")
2049 (license license:bsd-3)))
2050
2051 (define-public gnome-common
2052 (package
2053 (name "gnome-common")
2054 (version "3.18.0")
2055 (source
2056 (origin
2057 (method url-fetch)
2058 (uri (string-append "mirror://gnome/sources/" name "/"
2059 (version-major+minor version) "/"
2060 name "-" version ".tar.xz"))
2061 (sha256
2062 (base32
2063 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2064 (build-system gnu-build-system)
2065 (home-page "https://www.gnome.org/")
2066 (synopsis "Bootstrap GNOME modules built from Git")
2067 (description "gnome-common contains various files needed to bootstrap
2068 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2069 can be used to configure a source directory checked out from Git and some
2070 commonly used macros.")
2071 (license license:gpl2+)))
2072
2073 (define-public gnome-contacts
2074 (package
2075 (name "gnome-contacts")
2076 (version "3.34")
2077 (source (origin
2078 (method url-fetch)
2079 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2080 (version-major+minor version) "/"
2081 name "-" version ".tar.xz"))
2082 (sha256
2083 (base32
2084 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2085 (build-system meson-build-system)
2086 (arguments
2087 `(#:configure-flags '("-Dcheese=false")
2088 #:phases
2089 (modify-phases %standard-phases
2090 (add-after 'unpack 'generate-vapis
2091 (lambda* (#:key inputs #:allow-other-keys)
2092 ;; To generate goa's missing .vapi file
2093 (define goa
2094 (assoc-ref inputs "gnome-online-accounts:lib"))
2095
2096 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2097 "--library=goa-1.0"
2098 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2099 #t))
2100 (add-after 'unpack 'skip-gtk-update-icon-cache
2101 ;; Don't create 'icon-theme.cache'.
2102 (lambda _
2103 (substitute* "build-aux/meson_post_install.py"
2104 (("gtk-update-icon-cache") "true"))
2105 #t)))))
2106 (native-inputs
2107 `(("glib:bin" ,glib "bin")
2108 ("pkg-config" ,pkg-config)))
2109 (inputs
2110 `(("docbook-xml" ,docbook-xml)
2111 ("dockbook-xsl" ,docbook-xsl)
2112 ("evolution-data-server" ,evolution-data-server)
2113 ("gettext" ,gettext-minimal)
2114 ("gnome-desktop" ,gnome-desktop)
2115 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2116 ("gobject-introspection" ,gobject-introspection)
2117 ("gst-plugins-base" ,gst-plugins-base)
2118 ("gtk+" ,gtk+)
2119 ("libgee" ,libgee)
2120 ("libxslt" ,libxslt)
2121 ("telepathy-glib" ,telepathy-glib)
2122 ("vala" ,vala)))
2123 (propagated-inputs
2124 `(("folks" ,folks)
2125 ("telepathy-mission-control" ,telepathy-mission-control)))
2126 (synopsis "GNOME's integrated address book")
2127 (description
2128 "GNOME Contacts organizes your contact information from online and
2129 offline sources, providing a centralized place for managing your contacts.")
2130 (home-page "https://wiki.gnome.org/Apps/Contacts")
2131 (license license:gpl2+)))
2132
2133 (define-public gnome-desktop
2134 (package
2135 (name "gnome-desktop")
2136 (version "3.34.2")
2137 (source
2138 (origin
2139 (method url-fetch)
2140 (uri (string-append "mirror://gnome/sources/" name "/"
2141 (version-major+minor version) "/"
2142 name "-" version ".tar.xz"))
2143 (sha256
2144 (base32
2145 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2146 (build-system meson-build-system)
2147 (arguments
2148 '(#:phases
2149 (modify-phases %standard-phases
2150 (add-before 'configure 'patch-path
2151 (lambda* (#:key inputs #:allow-other-keys)
2152 (let ((libc (assoc-ref inputs "libc")))
2153 (substitute* "libgnome-desktop/gnome-languages.c"
2154 (("\"locale\"")
2155 (string-append "\"" libc "/bin/locale\"")))
2156 #t)))
2157 (add-before 'configure 'patch-bubblewrap
2158 (lambda* (#:key inputs #:allow-other-keys)
2159 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2160 (("\"bwrap\",")
2161 (string-append "\"" (which "bwrap") "\","))
2162 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2163 (string-append "\"--ro-bind\", \""
2164 (%store-directory)
2165 "\", \""
2166 (%store-directory)
2167 "\","))
2168 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2169 #t))
2170 (add-before 'check 'pre-check
2171 (lambda* (#:key inputs #:allow-other-keys)
2172 ;; Tests require a running X server and locales.
2173 (system "Xvfb :1 &")
2174 (setenv "DISPLAY" ":1")
2175 (setenv "GUIX_LOCPATH"
2176 (string-append (assoc-ref inputs "glibc-locales")
2177 "/lib/locale"))
2178 #t)))))
2179 (native-inputs
2180 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2181 ("glibc-locales" ,glibc-locales) ; for tests
2182 ("gobject-introspection" ,gobject-introspection)
2183 ("itstool" ,itstool)
2184 ("intltool" ,intltool)
2185 ("pkg-config" ,pkg-config)
2186 ("xmllint" ,libxml2)
2187 ("xorg-server" ,xorg-server-for-tests)))
2188 (propagated-inputs
2189 ;; Required by gnome-desktop-3.0.pc.
2190 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2191 ("gtk+" ,gtk+)
2192 ("iso-codes" ,iso-codes)
2193 ("libseccomp" ,libseccomp)
2194 ("libx11" ,libx11)
2195 ("xkeyboard-config" ,xkeyboard-config)))
2196 (inputs
2197 `(("gdk-pixbuf" ,gdk-pixbuf)
2198 ("glib" ,glib)
2199 ("bubblewrap" ,bubblewrap)
2200 ("libxext" ,libxext)
2201 ("libxkbfile" ,libxkbfile)
2202 ("libxrandr" ,libxrandr)))
2203 (home-page "https://www.gnome.org/")
2204 (synopsis
2205 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2206 (description
2207 "The libgnome-desktop library provides API shared by several applications
2208 on the desktop, but that cannot live in the platform for various reasons.
2209 There is no API or ABI guarantee, although we are doing our best to provide
2210 stability. Documentation for the API is available with gtk-doc.
2211
2212 The gnome-about program helps find which version of GNOME is installed.")
2213 ; Some bits under the LGPL.
2214 (license license:gpl2+)))
2215
2216 (define-public gnome-doc-utils
2217 (package
2218 (name "gnome-doc-utils")
2219 (version "0.20.10")
2220 (source
2221 (origin
2222 (method url-fetch)
2223 (uri (string-append "mirror://gnome/sources/" name "/"
2224 (version-major+minor version) "/"
2225 name "-" version ".tar.xz"))
2226 (sha256
2227 (base32
2228 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2229 (build-system gnu-build-system)
2230 (native-inputs
2231 `(("intltool" ,intltool)
2232 ("docbook-xml" ,docbook-xml-4.4)
2233 ("python2-libxml2" ,python2-libxml2)
2234 ("libxml2" ,libxml2)
2235 ("libxslt" ,libxslt)
2236 ("pkg-config" ,pkg-config)
2237 ("python-2" ,python-2)))
2238 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2239 (synopsis
2240 "Documentation utilities for the Gnome project")
2241 (description
2242 "Gnome-doc-utils is a collection of documentation utilities for the
2243 Gnome project. It includes xml2po tool which makes it easier to translate
2244 and keep up to date translations of documentation.")
2245 (license license:gpl2+))) ; xslt under lgpl
2246
2247 (define-public gnome-disk-utility
2248 (package
2249 (name "gnome-disk-utility")
2250 (version "3.34.0")
2251 (source (origin
2252 (method url-fetch)
2253 (uri (string-append "mirror://gnome/sources/" name "/"
2254 (version-major+minor version) "/"
2255 name "-" version ".tar.xz"))
2256 (sha256
2257 (base32
2258 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2259 (build-system meson-build-system)
2260 (arguments
2261 '(#:configure-flags '("-Dlogind=libelogind")
2262 #:phases
2263 (modify-phases %standard-phases
2264 (add-after 'unpack 'skip-gtk-update-icon-cache
2265 ;; Don't create 'icon-theme.cache'.
2266 (lambda _
2267 (substitute* "meson_post_install.py"
2268 (("gtk-update-icon-cache") "true"))
2269 #t)))))
2270 (native-inputs
2271 `(("glib:bin" ,glib "bin")
2272 ("intltool" ,intltool)
2273 ("pkg-config" ,pkg-config)
2274 ("docbook-xml" ,docbook-xml)
2275 ("docbook-xsl" ,docbook-xsl)
2276 ("libxml2" ,libxml2)
2277 ("libxslt" ,libxslt)))
2278 (inputs
2279 `(("elogind" ,elogind)
2280 ("glib" ,glib)
2281 ("appstream-glib" ,appstream-glib)
2282 ("gnome-settings-daemon" ,gnome-settings-daemon)
2283 ("gtk+" ,gtk+)
2284 ("libcanberra" ,libcanberra)
2285 ("libdvdread" ,libdvdread)
2286 ("libnotify" ,libnotify)
2287 ("libpwquality" ,libpwquality)
2288 ("libsecret" ,libsecret)
2289 ("udisks" ,udisks)))
2290 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2291 (synopsis "Disk management utility for GNOME")
2292 (description "Disk management utility for GNOME.")
2293 (license license:gpl2+)))
2294
2295 (define-public gnome-font-viewer
2296 (package
2297 (name "gnome-font-viewer")
2298 (version "3.30.0")
2299 (source (origin
2300 (method url-fetch)
2301 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2302 (version-major+minor version)
2303 "/gnome-font-viewer-" version ".tar.xz"))
2304 (sha256
2305 (base32
2306 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2307 (build-system meson-build-system)
2308 (arguments
2309 '(#:phases
2310 (modify-phases %standard-phases
2311 (add-after 'unpack 'patch-post-install-script
2312 (lambda _
2313 (substitute* "meson-postinstall.sh"
2314 (("update-desktop-database") (which "true")))
2315 #t))
2316 (add-after 'install 'patch-thumbnailer
2317 (lambda* (#:key outputs #:allow-other-keys)
2318 (let ((out (assoc-ref outputs "out")))
2319 (substitute*
2320 (string-append
2321 out
2322 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2323 (("gnome-thumbnail-font")
2324 (string-append out "/bin/gnome-thumbnail-font"))))
2325 #t)))))
2326 (native-inputs
2327 `(("gettext" ,gettext-minimal)
2328 ("glib:bin" ,glib "bin")
2329 ("pkg-config" ,pkg-config)))
2330 (inputs
2331 `(("glib" ,glib)
2332 ("gnome-desktop" ,gnome-desktop)
2333 ("gtk+" ,gtk+)))
2334 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2335 (synopsis "GNOME Fonts")
2336 (description "Application to show you the fonts installed on your computer
2337 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2338 the font would look under various sizes.")
2339 (license license:gpl2+)))
2340
2341 (define-public gcr
2342 (package
2343 (name "gcr")
2344 (version "3.34.0")
2345 (source (origin
2346 (method url-fetch)
2347 (uri (string-append "mirror://gnome/sources/" name "/"
2348 (version-major+minor version) "/"
2349 name "-" version ".tar.xz"))
2350 (sha256
2351 (base32
2352 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2353 (build-system gnu-build-system)
2354 (arguments
2355 '(#:phases
2356 (modify-phases %standard-phases
2357 ;; These fail because /var/lib/dbus/machine-id is not present in the
2358 ;; build environment.
2359 (add-after 'unpack 'disable-failing-tests
2360 (lambda _
2361 (substitute* "Makefile.in"
2362 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2363 ""))
2364 #t))
2365 (add-before 'check 'pre-check
2366 (lambda _
2367 ;; Some tests expect to write to $HOME.
2368 (setenv "HOME" "/tmp")
2369 #t)))))
2370 (inputs
2371 `(("dbus" ,dbus)
2372 ("gnupg" ,gnupg) ;called as a child process during tests
2373 ("libgcrypt" ,libgcrypt)))
2374 (native-inputs
2375 `(("python" ,python-wrapper) ;for tests
2376 ("pkg-config" ,pkg-config)
2377 ("gettext" ,gettext-minimal)
2378 ("glib" ,glib "bin")
2379 ("gobject-introspection" ,gobject-introspection)
2380 ("libxml2" ,libxml2)
2381 ("vala" ,vala)
2382 ("xsltproc" ,libxslt)))
2383 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2384 (propagated-inputs
2385 `(("p11-kit" ,p11-kit)
2386 ("glib" ,glib)
2387 ("gtk+" ,gtk+)))
2388 (home-page "https://www.gnome.org")
2389 (synopsis "Libraries for displaying certificates and accessing key stores")
2390 (description
2391 "The GCR package contains libraries used for displaying certificates and
2392 accessing key stores. It also provides the viewer for crypto files on the
2393 GNOME Desktop.")
2394 (license license:lgpl2.1+)))
2395
2396 (define-public gdl
2397 (package
2398 (name "gdl")
2399 (version "3.34.0")
2400 (source (origin
2401 (method git-fetch)
2402 (uri (git-reference
2403 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2404 (commit (string-append "GDL_" (string-map (match-lambda
2405 (#\. #\_)
2406 (c c))
2407 version)))))
2408 (file-name (git-file-name name version))
2409 (sha256
2410 (base32
2411 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2412 (build-system gnu-build-system)
2413 (native-inputs
2414 `(("autoconf" ,autoconf)
2415 ("automake" ,automake)
2416 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2417 ("gnome-common" ,gnome-common)
2418 ("gtk-doc" ,gtk-doc)
2419 ("intltool" ,intltool)
2420 ("pkg-config" ,pkg-config)
2421 ("libtool" ,libtool)
2422 ("which" ,which)))
2423 (inputs
2424 `(("libxml2" ,libxml2)))
2425 (propagated-inputs
2426 ;; The gdl-3.0.pc file 'Requires' GTK+.
2427 `(("gtk+" ,gtk+)))
2428 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2429 (synopsis "GNOME docking library")
2430 (description "This library provides docking features for gtk+.")
2431 (license license:lgpl2.1+)))
2432
2433 ;;; A minimal variant used to break a cycle with Inkscape.
2434 (define-public gdl-minimal
2435 (package
2436 (inherit gdl)
2437 (name "gdl-minimal")
2438 (arguments
2439 '(#:phases
2440 (modify-phases %standard-phases
2441 (add-after 'unpack 'disable-doc-generation
2442 ;; XXX: There is no easy way to disable generating the
2443 ;; documentation.
2444 (lambda _
2445 (substitute* "configure.in"
2446 (("GTK_DOC_CHECK.*") "")
2447 (("docs/.*") ""))
2448 (substitute* "Makefile.am"
2449 (("gdl docs po") "gdl po"))
2450 #t)))))
2451 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2452
2453 (define-public libgnome-keyring
2454 (package
2455 (name "libgnome-keyring")
2456 (version "3.12.0")
2457 (source (origin
2458 (method url-fetch)
2459 (uri (string-append "mirror://gnome/sources/" name "/"
2460 (version-major+minor version) "/"
2461 name "-" version ".tar.xz"))
2462 (sha256
2463 (base32
2464 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2465 (build-system gnu-build-system)
2466 (inputs
2467 `(("libgcrypt" ,libgcrypt)
2468 ("dbus" ,dbus)))
2469 (native-inputs
2470 `(("pkg-config" ,pkg-config)
2471 ("glib" ,glib "bin")
2472 ("intltool" ,intltool)))
2473 (propagated-inputs
2474 ;; Referred to in .h files and .pc.
2475 `(("glib" ,glib)))
2476 (home-page "https://www.gnome.org")
2477 (synopsis "Accessing passwords from the GNOME keyring")
2478 (description
2479 "Client library to access passwords from the GNOME keyring.")
2480
2481 ;; Though a couple of files are LGPLv2.1+.
2482 (license license:lgpl2.0+)))
2483
2484 (define-public gnome-keyring
2485 (package
2486 (name "gnome-keyring")
2487 (version "3.34.0")
2488 (source (origin
2489 (method url-fetch)
2490 (uri (string-append "mirror://gnome/sources/" name "/"
2491 (version-major+minor version) "/"
2492 name "-" version ".tar.xz"))
2493 (sha256
2494 (base32
2495 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2496 (build-system gnu-build-system)
2497 (arguments
2498 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2499 ;not exist
2500 #:configure-flags
2501 (list
2502 (string-append "--with-pkcs11-config="
2503 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2504 (string-append "--with-pkcs11-modules="
2505 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2506 #:phases
2507 (modify-phases %standard-phases
2508 (add-after 'unpack 'fix-/bin/sh-reference
2509 (lambda _
2510 (substitute* "po/Makefile.in.in"
2511 (("/bin/sh") (which "sh")))
2512 #t))
2513 (add-after 'unpack 'fix-docbook
2514 (lambda* (#:key inputs #:allow-other-keys)
2515 (substitute* "docs/Makefile.am"
2516 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2517 (string-append (assoc-ref inputs "docbook-xsl")
2518 "/xml/xsl/docbook-xsl-"
2519 ,(package-version docbook-xsl)
2520 "/manpages/docbook.xsl")))
2521 (setenv "XML_CATALOG_FILES"
2522 (string-append (assoc-ref inputs "docbook-xml")
2523 "/xml/dtd/docbook/catalog.xml"))
2524 ;; Rerun the whole thing to avoid version mismatch ("This is
2525 ;; Automake 1.15.1, but the definition used by this
2526 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2527 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2528 (invoke "autoconf")
2529 (invoke "aclocal")
2530 (invoke "automake" "-ac"))))))
2531 (inputs
2532 `(("libgcrypt" ,libgcrypt)
2533 ("linux-pam" ,linux-pam)
2534 ("openssh" ,openssh)
2535 ("dbus" ,dbus)
2536 ("gcr" ,gcr)))
2537 (native-inputs
2538 `(("pkg-config" ,pkg-config)
2539 ("glib" ,glib "bin")
2540 ("glib" ,glib) ; for m4 macros
2541 ("python" ,python-2) ;for tests
2542 ("intltool" ,intltool)
2543 ("autoconf" ,autoconf)
2544 ("automake" ,automake)
2545 ("libxslt" ,libxslt) ;for documentation
2546 ("docbook-xml" ,docbook-xml-4.2)
2547 ("docbook-xsl" ,docbook-xsl)))
2548 (propagated-inputs
2549 `(("gcr" ,gcr)))
2550 (home-page "https://www.gnome.org")
2551 (synopsis "Daemon to store passwords and encryption keys")
2552 (description
2553 "gnome-keyring is a program that keeps passwords and other secrets for
2554 users. It is run as a daemon in the session, similar to ssh-agent, and other
2555 applications locate it via an environment variable or D-Bus.
2556
2557 The program can manage several keyrings, each with its own master password,
2558 and there is also a session keyring which is never stored to disk, but
2559 forgotten when the session ends.")
2560 (license license:lgpl2.1+)))
2561
2562 (define-public evince
2563 (package
2564 (name "evince")
2565 (version "3.36.5")
2566 (source (origin
2567 (method url-fetch)
2568 (uri (string-append "mirror://gnome/sources/evince/"
2569 (version-major+minor version) "/"
2570 "evince-" version ".tar.xz"))
2571 (sha256
2572 (base32
2573 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2574 (build-system glib-or-gtk-build-system)
2575 (arguments
2576 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2577 #:phases
2578 (modify-phases %standard-phases
2579 (add-before 'install 'skip-gtk-update-icon-cache
2580 ;; Don't create 'icon-theme.cache'.
2581 (lambda _
2582 (substitute* "data/Makefile"
2583 (("gtk-update-icon-cache") "true"))
2584 #t)))))
2585 (inputs
2586 `(("libarchive" ,libarchive)
2587 ("libgxps" ,libgxps)
2588 ("libspectre" ,libspectre)
2589 ("djvulibre" ,djvulibre)
2590 ("ghostscript" ,ghostscript)
2591 ("poppler" ,poppler)
2592 ("libtiff" ,libtiff)
2593 ;; TODO:
2594 ;; Build libkpathsea as a shared library for DVI support.
2595 ;; ("libkpathsea" ,texlive-bin)
2596 ("gnome-desktop" ,gnome-desktop)
2597 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2598 ("gspell" ,gspell)
2599 ("libgnome-keyring" ,libgnome-keyring)
2600 ("adwaita-icon-theme" ,adwaita-icon-theme)
2601 ("gdk-pixbuf" ,gdk-pixbuf)
2602 ("atk" ,atk)
2603 ("pango" ,pango)
2604 ("gtk+" ,gtk+)
2605 ("glib" ,glib)
2606 ("libxml2" ,libxml2)
2607 ("libsm" ,libsm)
2608 ("libice" ,libice)
2609 ("shared-mime-info" ,shared-mime-info)
2610 ("dconf" ,dconf)
2611 ("libcanberra" ,libcanberra)
2612 ("libsecret" ,libsecret)
2613
2614 ;; For tests.
2615 ("dogtail" ,python2-dogtail)))
2616 (native-inputs
2617 `(("itstool" ,itstool)
2618 ("intltool" ,intltool)
2619 ("glib" ,glib "bin")
2620 ("gobject-introspection" ,gobject-introspection)
2621 ("pkg-config" ,pkg-config)
2622 ("xmllint" ,libxml2)))
2623 (home-page "https://www.gnome.org/projects/evince/")
2624 (synopsis "GNOME's document viewer")
2625 (description
2626 "Evince is a document viewer for multiple document formats. It
2627 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2628 of Evince is to replace the multiple document viewers that exist
2629 on the GNOME Desktop with a single simple application.")
2630 (license license:gpl2+)))
2631
2632 (define-public gsettings-desktop-schemas
2633 (package
2634 (name "gsettings-desktop-schemas")
2635 (version "3.34.0")
2636 (source
2637 (origin
2638 (method url-fetch)
2639 (uri (string-append "mirror://gnome/sources/" name "/"
2640 (version-major+minor version) "/"
2641 name "-" version ".tar.xz"))
2642 (sha256
2643 (base32
2644 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2645 (build-system meson-build-system)
2646 (arguments
2647 '(#:phases (modify-phases %standard-phases
2648 (add-after 'unpack 'patch-schemas
2649 (lambda* (#:key inputs #:allow-other-keys)
2650 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2651 (substitute* (find-files "schemas"
2652 "\\.gschema\\.xml\\.in$")
2653 ;; Provide the correct file name of the default GNOME
2654 ;; background, 'adwaita-timed.xml'.
2655 (("@datadir@/backgrounds/gnome")
2656 (string-append theme "/share/backgrounds/gnome"))
2657 ;; Do not reference fonts, that may not exist.
2658 (("'Source Code Pro 10'") "'Monospace 11'"))
2659 #t))))))
2660 (inputs
2661 `(("glib" ,glib)
2662 ("gnome-backgrounds" ,gnome-backgrounds)))
2663 (native-inputs
2664 `(("intltool" ,intltool)
2665 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2666 ("gobject-introspection" ,gobject-introspection)
2667 ("pkg-config" ,pkg-config)))
2668 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2669 (synopsis
2670 "GNOME settings for various desktop components")
2671 (description
2672 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2673 for settings shared by various components of the GNOME desktop.")
2674 (license license:lgpl2.1+)))
2675
2676 (define-public python-liblarch
2677 (package
2678 (name "python-liblarch")
2679 (version "3.0.1")
2680 (source
2681 (origin
2682 (method git-fetch)
2683 (uri (git-reference
2684 (url "https://github.com/getting-things-gnome/liblarch")
2685 (commit (string-append "v" version))))
2686 (file-name (git-file-name name version))
2687 (sha256
2688 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2689 (build-system python-build-system)
2690 (arguments
2691 `(#:phases
2692 (modify-phases %standard-phases
2693 (add-before 'check 'start-xserver
2694 (lambda* (#:key inputs #:allow-other-keys)
2695 (system (format #f "~a/bin/Xvfb :1 &"
2696 (assoc-ref inputs "xorg-server")))
2697 (setenv "DISPLAY" ":1")
2698 #t)))))
2699 (native-inputs
2700 `(("xorg-server" ,xorg-server-for-tests)))
2701 (inputs
2702 `(("gtk+" ,gtk+)))
2703 (propagated-inputs
2704 `(("python-pygobject" ,python-pygobject)))
2705 (home-page "https://wiki.gnome.org/Projects/liblarch")
2706 (synopsis "Library to easily handle complex data structures")
2707 (description
2708 "Liblarch is a Python library built to easily handle data structures such
2709 as lists, trees and acyclic graphs. There's also a GTK binding that will
2710 allow you to use your data structure in a @code{Gtk.Treeview}.
2711
2712 Liblarch support multiple views of one data structure and complex filtering.
2713 That way, you have a clear separation between your data themselves (Model)
2714 and how they are displayed (View).")
2715 (license license:lgpl3+)))
2716
2717 (define-public gtg
2718 (package
2719 (name "gtg")
2720 (version "0.4")
2721 (source
2722 (origin
2723 (method git-fetch)
2724 (uri (git-reference
2725 (url "https://github.com/getting-things-gnome/gtg")
2726 (commit (string-append "v" version))))
2727 (file-name (git-file-name name version))
2728 (sha256
2729 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2730 (build-system meson-build-system)
2731 (arguments
2732 `(#:glib-or-gtk? #t
2733 #:phases
2734 (modify-phases %standard-phases
2735 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2736 (lambda* (#:key outputs #:allow-other-keys)
2737 (let ((prog (string-append (assoc-ref outputs "out")
2738 "/bin/gtg"))
2739 (pylib (string-append (assoc-ref outputs "out")
2740 "/lib/python"
2741 ,(version-major+minor
2742 (package-version python))
2743 "/site-packages")))
2744 (wrap-program prog
2745 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2746 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2747 #t))))))
2748 (native-inputs
2749 `(("desktop-file-utils" ,desktop-file-utils)
2750 ("gettext" ,gettext-minimal)
2751 ("glib:bin" ,glib "bin")
2752 ("gobject-introspection" ,gobject-introspection)
2753 ("gtk+:bin" ,gtk+ "bin")
2754 ("pkg-config" ,pkg-config)))
2755 (inputs
2756 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2757 ("gtk+" ,gtk+)
2758 ("python-dbus" ,python-dbus)
2759 ("python-liblarch" ,python-liblarch)
2760 ("python-pycairo" ,python-pycairo)
2761 ("python-pygobject" ,python-pygobject)
2762 ("python-pyxdg" ,python-pyxdg)))
2763 (home-page "https://wiki.gnome.org/Apps/GTG")
2764 (synopsis "Personal organizer for the GNOME desktop")
2765 (description
2766 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2767 organizer for the GNOME desktop environment inspired by the Getting Things
2768 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2769 and ease of use in mind so it can be used as more than just GTD software.
2770 GTG is intended to help you track everything you need to do and need to
2771 know, from small tasks to large projects.")
2772 (license license:gpl3+)))
2773
2774 (define-public icon-naming-utils
2775 (package
2776 (name "icon-naming-utils")
2777 (version "0.8.90")
2778 (source
2779 (origin
2780 (method url-fetch)
2781 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2782 version ".tar.bz2"))
2783 (sha256
2784 (base32
2785 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2786 (build-system gnu-build-system)
2787 (inputs
2788 `(("perl" ,perl)
2789 ("perl-xml-simple" ,perl-xml-simple)))
2790 (arguments
2791 '(#:phases
2792 (modify-phases %standard-phases
2793 (add-after 'install 'set-load-paths
2794 ;; Tell 'icon-name-mapping' where XML::Simple is.
2795 (lambda* (#:key outputs #:allow-other-keys)
2796 (let* ((out (assoc-ref outputs "out"))
2797 (prog (string-append out "/libexec/icon-name-mapping")))
2798 (wrap-program
2799 prog
2800 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2801 #t)))))
2802 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2803 (synopsis
2804 "Utility to implement the Freedesktop Icon Naming Specification")
2805 (description
2806 "To help with the transition to the Freedesktop Icon Naming
2807 Specification, the icon naming utility maps the icon names used by the
2808 GNOME and KDE desktops to the icon names proposed in the specification.")
2809 (license license:lgpl2.1+)))
2810
2811 (define-public gnome-icon-theme
2812 (package
2813 (name "gnome-icon-theme")
2814 (version "3.12.0")
2815 (source
2816 (origin
2817 (method url-fetch)
2818 (uri (string-append "mirror://gnome/sources/" name "/"
2819 (version-major+minor version) "/"
2820 name "-" version ".tar.xz"))
2821 (sha256
2822 (base32
2823 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2824 (build-system gnu-build-system)
2825 (arguments
2826 '(#:configure-flags
2827 ;; Don't create 'icon-theme.cache'.
2828 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2829 (true (string-append coreutils "/bin/true")))
2830 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2831 (native-inputs
2832 `(("icon-naming-utils" ,icon-naming-utils)
2833 ("intltool" ,intltool)
2834 ("pkg-config" ,pkg-config)))
2835 (home-page "https://wiki.gnome.org/Personalization")
2836 (synopsis "GNOME icon theme")
2837 (description "Icons for the GNOME desktop.")
2838 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2839
2840 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2841 (define-public adwaita-icon-theme
2842 (package (inherit gnome-icon-theme)
2843 (name "adwaita-icon-theme")
2844 (version "3.34.3")
2845 (source (origin
2846 (method url-fetch)
2847 (uri (string-append "mirror://gnome/sources/" name "/"
2848 (version-major+minor version) "/"
2849 name "-" version ".tar.xz"))
2850 (sha256
2851 (base32
2852 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2853 (native-inputs
2854 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2855
2856 (define-public tango-icon-theme
2857 (package
2858 (name "tango-icon-theme")
2859 (version "0.8.90")
2860 (source (origin
2861 (method url-fetch)
2862 (uri (string-append "http://tango.freedesktop.org/releases/"
2863 "tango-icon-theme-" version ".tar.bz2"))
2864 (sha256
2865 (base32
2866 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2867 (build-system gnu-build-system)
2868 (native-inputs
2869 `(("icon-naming-utils" ,icon-naming-utils)
2870 ("intltool" ,intltool)
2871 ("imagemagick" ,imagemagick)
2872 ("pkg-config" ,pkg-config)))
2873 (home-page "http://tango-project.org/")
2874 (synopsis "Tango icon theme")
2875 (description "This is an icon theme that follows the Tango visual
2876 guidelines.")
2877 (license license:public-domain)))
2878
2879 (define-public shared-mime-info
2880 (package
2881 (name "shared-mime-info")
2882 (version "1.15")
2883 (source (origin
2884 (method url-fetch)
2885 (uri (string-append
2886 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2887 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2888 ".tar.xz"))
2889 (sha256
2890 (base32
2891 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2892 (build-system gnu-build-system)
2893 (arguments
2894 ;; The build system appears not to be parallel-safe.
2895 '(#:parallel-build? #f))
2896 (inputs
2897 `(("glib" ,glib)
2898 ("libxml2" ,libxml2)))
2899 (native-inputs
2900 `(("gettext" ,gettext-minimal)
2901 ("itstool" ,itstool)
2902 ("pkg-config" ,pkg-config)))
2903 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2904 (synopsis "Database of common MIME types")
2905 (description
2906 "The shared-mime-info package contains the core database of common types
2907 and the update-mime-database command used to extend it. It requires glib2 to
2908 be installed for building the update command. Additionally, it uses intltool
2909 for translations, though this is only a dependency for the maintainers. This
2910 database is translated at Transifex.")
2911 (license license:gpl2+)))
2912
2913 (define-public system-config-printer
2914 (package
2915 (name "system-config-printer")
2916 (version "1.5.15")
2917 (source
2918 (origin
2919 (method url-fetch)
2920 (uri (string-append
2921 "https://github.com/OpenPrinting/system-config-printer/releases/"
2922 "download/v" version
2923 "/system-config-printer-" version ".tar.xz"))
2924 (sha256
2925 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2926 (build-system glib-or-gtk-build-system)
2927 (arguments
2928 `(#:imported-modules ((guix build python-build-system)
2929 ,@%glib-or-gtk-build-system-modules)
2930 #:phases
2931 (modify-phases %standard-phases
2932 (add-after 'unpack 'patch-Makefile.am
2933 (lambda _
2934 ;; The Makefile generates some scripts, so set a valid shebang
2935 (substitute* "Makefile.am"
2936 (("/bin/bash") (which "bash")))
2937 (delete-file "configure")
2938 #t))
2939 (add-after 'unpack 'patch-docbook-xml
2940 (lambda* (#:key inputs #:allow-other-keys)
2941 ;; Modify the man XML otherwise xmlto tries to access the network
2942 (substitute* "man/system-config-printer.xml"
2943 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2944 (string-append (assoc-ref inputs "docbook-xml")
2945 "/xml/dtd/docbook/")))
2946 #t))
2947 (add-after 'install 'wrap-for-python
2948 (@@ (guix build python-build-system) wrap))
2949 (add-after 'install 'wrap
2950 (lambda* (#:key outputs #:allow-other-keys)
2951 (let ((out (assoc-ref outputs "out"))
2952 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2953 (for-each
2954 (lambda (program)
2955 (wrap-program program
2956 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2957 (map (lambda (name)
2958 (string-append out "/bin/" name))
2959 '("system-config-printer"
2960 "system-config-printer-applet"
2961 "install-printerdriver"
2962 "scp-dbus-service"))))
2963 #t)))))
2964 (inputs
2965 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2966 ("gobject-introspection" ,gobject-introspection)
2967 ("python" ,python)
2968 ("cups" ,cups)
2969 ("gtk+" ,gtk+)
2970 ("python-dbus" ,python-dbus)
2971 ("python-pygobject" ,python-pygobject)
2972 ("python-pycups" ,python-pycups)
2973 ("python-requests" ,python-requests)
2974 ("python-pycairo" ,python-pycairo)
2975 ("libnotify" ,libnotify)
2976 ("packagekit" ,packagekit)))
2977 (native-inputs
2978 `(("pkg-config" ,pkg-config)
2979 ("desktop-file-utils" ,desktop-file-utils)
2980 ("glib" ,glib)
2981 ("autoconf" ,autoconf)
2982 ("automake" ,automake)
2983 ("intltool" ,intltool)
2984 ("xmlto" ,xmlto)
2985 ("docbook-xml" ,docbook-xml-4.1.2)
2986 ("docbook-xsl" ,docbook-xsl)
2987 ("libxml2" ,libxml2)))
2988 (home-page "https://github.com/zdohnal/system-config-printer")
2989 (synopsis "CUPS administration tool")
2990 (description
2991 "system-config-printer is a CUPS administration tool. It's written in
2992 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2993 configuring CUPS.")
2994 (license license:gpl2+)))
2995
2996 (define-public hicolor-icon-theme
2997 (package
2998 (name "hicolor-icon-theme")
2999 (version "0.17")
3000 (source
3001 (origin
3002 (method url-fetch)
3003 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3004 "hicolor-icon-theme-" version ".tar.xz"))
3005 (sha256
3006 (base32
3007 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3008 (build-system gnu-build-system)
3009 (arguments
3010 `(#:tests? #f)) ; no check target
3011 (home-page "https://icon-theme.freedesktop.org/releases/")
3012 (synopsis
3013 "Freedesktop icon theme")
3014 (description
3015 "Freedesktop icon theme.")
3016 (license license:gpl2)))
3017
3018 (define-public libnotify
3019 (package
3020 (name "libnotify")
3021 (version "0.7.9")
3022 (source
3023 (origin
3024 (method url-fetch)
3025 (uri (string-append "mirror://gnome/sources/" name "/"
3026 (version-major+minor version) "/"
3027 name "-" version ".tar.xz"))
3028 (sha256
3029 (base32
3030 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3031 (build-system meson-build-system)
3032 (arguments
3033 `(#:phases
3034 (modify-phases %standard-phases
3035 (add-after 'unpack 'fix-docbook
3036 (lambda* (#:key inputs #:allow-other-keys)
3037 ;; Don't attempt to download XSL schema.
3038 (substitute* "meson.build"
3039 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3040 /manpages/docbook.xsl")
3041 (string-append (assoc-ref inputs "docbook-xsl")
3042 "/xml/xsl/docbook-xsl-"
3043 ,(package-version docbook-xsl)
3044 "/manpages/docbook.xsl")))
3045 #t)))))
3046 (propagated-inputs
3047 `(;; In Requires of libnotify.pc.
3048 ("gdk-pixbuf" ,gdk-pixbuf)
3049 ("glib" ,glib)))
3050 (inputs
3051 `(("gtk+" ,gtk+)
3052 ("libpng" ,libpng)))
3053 (native-inputs
3054 `(("pkg-config" ,pkg-config)
3055 ("glib" ,glib "bin")
3056 ("gobject-introspection" ,gobject-introspection)
3057
3058 ;; For the documentation.
3059 ("gtk-doc" ,gtk-doc)
3060 ("xsltproc" ,libxslt)
3061 ("docbook-xsl" ,docbook-xsl)))
3062 (home-page "https://developer-next.gnome.org/libnotify/")
3063 (synopsis
3064 "GNOME desktop notification library")
3065 (description
3066 "Libnotify is a library that sends desktop notifications to a
3067 notification daemon, as defined in the Desktop Notifications spec. These
3068 notifications can be used to inform the user about an event or display
3069 some form of information without getting in the user's way.")
3070 (license license:lgpl2.1+)))
3071
3072 (define-public libpeas
3073 (package
3074 (name "libpeas")
3075 (version "1.28.0")
3076 (source
3077 (origin
3078 (method url-fetch)
3079 (uri (string-append "mirror://gnome/sources/" name "/"
3080 (version-major+minor version) "/"
3081 name "-" version ".tar.xz"))
3082 (sha256
3083 (base32
3084 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3085 (build-system meson-build-system)
3086 (arguments
3087 '(#:phases
3088 (modify-phases %standard-phases
3089 (add-before 'check 'start-xserver
3090 (lambda* (#:key inputs #:allow-other-keys)
3091 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3092 (disp ":1"))
3093 (setenv "DISPLAY" disp)
3094 ;; Tests require a running X server.
3095 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3096 #t))))))
3097 (inputs
3098 `(("gtk+" ,gtk+)
3099 ("glade" ,glade3)
3100 ("python" ,python)
3101 ("python-pygobject" ,python-pygobject)))
3102 (native-inputs
3103 `(("pkg-config" ,pkg-config)
3104 ("gettext" ,gettext-minimal)
3105 ("glib:bin" ,glib "bin")
3106 ("gobject-introspection" ,gobject-introspection)
3107 ("xorg-server" ,xorg-server-for-tests)))
3108 (propagated-inputs
3109 ;; The .pc file "Requires" gobject-introspection.
3110 `(("gobject-introspection" ,gobject-introspection)))
3111 (home-page "https://wiki.gnome.org/Libpeas")
3112 (synopsis "GObject plugin system")
3113 (description
3114 "Libpeas is a gobject-based plugin engine, targeted at giving every
3115 application the chance to assume its own extensibility. It also has a set of
3116 features including, but not limited to: multiple extension points; on-demand
3117 (lazy) programming language support for C, Python and JS; simplicity of the
3118 API.")
3119 (license license:lgpl2.0+)))
3120
3121 (define-public gtkglext
3122 (package
3123 (name "gtkglext")
3124 (version "1.2.0")
3125 (source (origin
3126 (method url-fetch)
3127 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3128 version "/gtkglext-" version ".tar.gz"))
3129 (sha256
3130 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3131 (patches (search-patches
3132 "gtkglext-disable-disable-deprecated.patch"))))
3133 (build-system gnu-build-system)
3134 (arguments
3135 `(#:phases
3136 (modify-phases %standard-phases
3137 ;; Fix a collision between a local variable and a definition from
3138 ;; glibc's string.h.
3139 (add-after 'unpack 'fix-collision
3140 (lambda _
3141 (substitute* "gdk/gdkglshapes.c"
3142 ((" index") " triangle_index"))
3143 #t)))))
3144 (inputs `(("gtk+" ,gtk+-2)
3145 ("mesa" ,mesa)
3146 ("glu" ,glu)
3147 ("libx11" ,libx11)
3148 ("libxt" ,libxt)))
3149 (native-inputs `(("pkg-config" ,pkg-config)
3150 ("glib" ,glib "bin")))
3151 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3152 (home-page "https://projects.gnome.org/gtkglext")
3153 (synopsis "OpenGL extension to GTK+")
3154 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3155 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3156 API add-ons to make GTK+ widgets OpenGL-capable.")
3157 (license license:lgpl2.1+)))
3158
3159 (define-public glade3
3160 (package
3161 (name "glade")
3162 (version "3.36.0")
3163 (source (origin
3164 (method url-fetch)
3165 (uri (string-append "mirror://gnome/sources/" name "/"
3166 (version-major+minor version) "/"
3167 name "-" version ".tar.xz"))
3168 (sha256
3169 (base32
3170 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3171 (build-system glib-or-gtk-build-system)
3172 (arguments
3173 `(#:phases
3174 (modify-phases %standard-phases
3175 (add-before 'configure 'fix-docbook
3176 (lambda* (#:key inputs #:allow-other-keys)
3177 (substitute* "man/Makefile.in"
3178 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3179 (string-append (assoc-ref inputs "docbook-xsl")
3180 "/xml/xsl/docbook-xsl-"
3181 ,(package-version docbook-xsl)
3182 "/manpages/docbook.xsl")))
3183 #t))
3184 (add-before 'check 'pre-check
3185 (lambda _
3186 (setenv "HOME" "/tmp")
3187 ;; Tests require a running X server.
3188 (system "Xvfb :1 &")
3189 (setenv "DISPLAY" ":1")
3190 #t)))))
3191 (inputs
3192 `(("gtk+" ,gtk+)
3193 ("libxml2" ,libxml2)))
3194 (native-inputs
3195 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3196 ("intltool" ,intltool)
3197 ("itstool" ,itstool)
3198 ("libxslt" ,libxslt) ;for xsltproc
3199 ("docbook-xml" ,docbook-xml-4.2)
3200 ("docbook-xsl" ,docbook-xsl)
3201 ("python" ,python-2)
3202 ("pkg-config" ,pkg-config)
3203 ("xorg-server" ,xorg-server-for-tests)))
3204 (home-page "https://glade.gnome.org")
3205 (synopsis "GTK+ rapid application development tool")
3206 (description "Glade is a rapid application development (RAD) tool to
3207 enable quick & easy development of user interfaces for the GTK+ toolkit and
3208 the GNOME desktop environment.")
3209 (license license:lgpl2.0+)
3210 (native-search-paths (list (search-path-specification
3211 (variable "GLADE_CATALOG_SEARCH_PATH")
3212 (files '("share/glade/catalogs")))
3213 (search-path-specification
3214 (variable "GLADE_MODULE_SEARCH_PATH")
3215 (files '("lib/glade/modules")))))))
3216
3217 (define-public libcroco
3218 (package
3219 (name "libcroco")
3220 (version "0.6.13")
3221 (source (origin
3222 (method url-fetch)
3223 (uri (string-append "mirror://gnome/sources/" name "/"
3224 (version-major+minor version) "/"
3225 name "-" version ".tar.xz"))
3226 (sha256
3227 (base32
3228 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3229 (build-system gnu-build-system)
3230 (native-inputs
3231 `(("pkg-config" ,pkg-config)))
3232 (inputs
3233 `(("glib" ,glib)
3234 ("libxml2" ,libxml2)
3235 ("zlib" ,zlib)))
3236 (home-page "https://github.com/GNOME/libcroco")
3237 (synopsis "CSS2 parsing and manipulation library")
3238 (description
3239 "Libcroco is a standalone CSS2 parsing and manipulation library.
3240 The parser provides a low level event driven SAC-like API and a CSS object
3241 model like API. Libcroco provides a CSS2 selection engine and an experimental
3242 XML/CSS rendering engine.")
3243
3244 ;; LGPLv2.1-only.
3245 (license license:lgpl2.1)))
3246
3247 (define-public libgsf
3248 (package
3249 (name "libgsf")
3250 (version "1.14.47")
3251 (source (origin
3252 (method url-fetch)
3253 (uri (string-append "mirror://gnome/sources/" name "/"
3254 (version-major+minor version) "/"
3255 name "-" version ".tar.xz"))
3256 (sha256
3257 (base32
3258 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3259 (build-system gnu-build-system)
3260 (arguments
3261 '(#:configure-flags '("--disable-static")))
3262 (native-inputs
3263 `(("pkg-config" ,pkg-config)
3264 ("gettext" ,gettext-minimal)
3265
3266 ;; For tests.
3267 ("perl" ,perl)
3268 ("perl-xml-parser" ,perl-xml-parser)))
3269 (inputs
3270 `(("zlib" ,zlib)
3271 ("bzip2" ,bzip2)))
3272 (propagated-inputs
3273 `(("gdk-pixbuf" ,gdk-pixbuf)
3274 ("glib" ,glib)
3275 ("libxml2" ,libxml2)))
3276 (home-page "https://www.gnome.org/projects/libgsf")
3277 (synopsis "GNOME's Structured File Library")
3278 (description
3279 "Libgsf aims to provide an efficient extensible I/O abstraction for
3280 dealing with different structured file formats.")
3281
3282 ;; LGPLv2.1-only.
3283 (license license:lgpl2.1)))
3284
3285 (define-public librsvg
3286 (package
3287 (name "librsvg")
3288 (version "2.40.21")
3289 (source (origin
3290 (method url-fetch)
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3294 (sha256
3295 (base32
3296 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3297 (build-system gnu-build-system)
3298 (arguments
3299 `(#:configure-flags
3300 (list "--disable-static"
3301 "--enable-vala") ; needed for e.g. gnome-mines
3302 #:phases
3303 (modify-phases %standard-phases
3304 (add-before 'configure 'pre-configure
3305 (lambda* (#:key inputs #:allow-other-keys)
3306 (substitute* "gdk-pixbuf-loader/Makefile.in"
3307 ;; By default the gdk-pixbuf loader is installed under
3308 ;; gdk-pixbuf's prefix. Work around that.
3309 (("gdk_pixbuf_moduledir = .*$")
3310 (string-append "gdk_pixbuf_moduledir = "
3311 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3312 "loaders\n"))
3313 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3314 (("gdk_pixbuf_cache_file = .*$")
3315 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3316 #t))
3317 (add-before 'check 'remove-failing-tests
3318 (lambda _
3319 (with-directory-excursion "tests/fixtures/reftests"
3320 (for-each delete-file
3321 '(;; This test fails on i686:
3322 "svg1.1/masking-path-04-b.svg"
3323 ;; This test fails on armhf:
3324 "svg1.1/masking-mask-01-b.svg"
3325 ;; This test fails on aarch64:
3326 "bugs/777834-empty-text-children.svg")))
3327 #t)))))
3328 (native-inputs
3329 `(("pkg-config" ,pkg-config)
3330 ("vala" ,vala)
3331 ("glib" ,glib "bin") ; glib-mkenums, etc.
3332 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3333 (inputs
3334 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3335 ;; this ancient version of librsvg.
3336 ("pango" ,pango-1.42)
3337 ("libcroco" ,libcroco)
3338 ("bzip2" ,bzip2)
3339 ("libgsf" ,libgsf)
3340 ("libxml2" ,libxml2)))
3341 (propagated-inputs
3342 ;; librsvg-2.0.pc refers to all of that.
3343 `(("cairo" ,cairo)
3344 ("gdk-pixbuf" ,gdk-pixbuf)
3345 ("glib" ,glib)))
3346 (home-page "https://wiki.gnome.org/LibRsvg")
3347 (synopsis "Render SVG files using Cairo")
3348 (description
3349 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3350 library.")
3351 (license license:lgpl2.0+)))
3352
3353 (define-public librsvg-next
3354 (package
3355 (name "librsvg")
3356 (version "2.50.2")
3357 (source (origin
3358 (method url-fetch)
3359 (uri (string-append "mirror://gnome/sources/librsvg/"
3360 (version-major+minor version) "/"
3361 "librsvg-" version ".tar.xz"))
3362 (sha256
3363 (base32
3364 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3365 (modules '((guix build utils)))
3366 (snippet
3367 '(begin (delete-file-recursively "vendor")
3368 #t))))
3369 (build-system cargo-build-system)
3370 (outputs '("out" "doc"))
3371 (arguments
3372 `(#:modules
3373 ((guix build cargo-build-system)
3374 (guix build utils)
3375 ((guix build gnu-build-system) #:prefix gnu:))
3376 #:cargo-inputs
3377 (("rust-bitflags" ,rust-bitflags-1)
3378 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3379 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3380 ("rust-cast" ,rust-cast-0.2)
3381 ("rust-cssparser" ,rust-cssparser-0.27)
3382 ("rust-data-url" ,rust-data-url-0.1)
3383 ("rust-encoding" ,rust-encoding-0.2)
3384 ("rust-float-cmp" ,rust-float-cmp-0.8)
3385 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3386 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3387 ("rust-gio" ,rust-gio-0.8)
3388 ("rust-gio-sys" ,rust-gio-sys-0.9)
3389 ("rust-glib" ,rust-glib-0.9)
3390 ("rust-glib-sys" ,rust-glib-sys-0.9)
3391 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3392 ("rust-itertools" ,rust-itertools-0.9)
3393 ("rust-language-tags" ,rust-language-tags-0.2)
3394 ("rust-libc" ,rust-libc-0.2)
3395 ("rust-locale-config" ,rust-locale-config-0.3)
3396 ("rust-markup5ever" ,rust-markup5ever-0.10)
3397 ("rust-nalgebra" ,rust-nalgebra-0.21)
3398 ("rust-num-traits" ,rust-num-traits-0.2)
3399 ("rust-once-cell" ,rust-once-cell-1)
3400 ("rust-pkg-config" ,rust-pkg-config-0.3)
3401 ("rust-pango" ,rust-pango-0.8)
3402 ("rust-pango-sys" ,rust-pango-sys-0.9)
3403 ("rust-pangocairo" ,rust-pangocairo-0.9)
3404 ("rust-rayon" ,rust-rayon-1)
3405 ("rust-rctree" ,rust-rctree-0.3)
3406 ("rust-rgb" ,rust-rgb-0.8)
3407 ("rust-regex" ,rust-regex-1)
3408 ("rust-selectors" ,rust-selectors-0.22)
3409 ("rust-string-cache" ,rust-string-cache-0.8)
3410 ("rust-tinyvec" ,rust-tinyvec-0.3)
3411 ("rust-url" ,rust-url-2)
3412 ("rust-xml5ever" ,rust-xml5ever-0.16))
3413 #:cargo-development-inputs
3414 (("rust-assert-cmd" ,rust-assert-cmd-1)
3415 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3416 ("rust-chrono" ,rust-chrono-0.4)
3417 ("rust-criterion" ,rust-criterion-0.3)
3418 ("rust-float-cmp" ,rust-float-cmp-0.8)
3419 ("rust-lopdf" ,rust-lopdf-0.25)
3420 ("rust-png" ,rust-png-0.16)
3421 ("rust-predicates" ,rust-predicates-1)
3422 ("rust-tempfile" ,rust-tempfile-3))
3423 #:phases
3424 (modify-phases %standard-phases
3425 (add-after 'unpack 'patch-docbook-xml
3426 (lambda* (#:key inputs #:allow-other-keys)
3427 (with-directory-excursion "doc"
3428 (substitute* "rsvg-docs.xml"
3429 (("http://www.oasis-open.org/docbook/xml/4.3/")
3430 (string-append (assoc-ref inputs "docbook-xml")
3431 "/xml/dtd/docbook/"))))
3432 #t))
3433 (add-after 'unpack 'prepare-for-build
3434 (lambda _
3435 ;; In lieu of #:make-flags
3436 (setenv "CC" ,(cc-for-target))
3437 ;; Something about the build environment resists building
3438 ;; successfully with the '--locked' flag.
3439 (substitute* '("Makefile.am" "Makefile.in")
3440 (("--locked") ""))
3441 #t))
3442 (add-before 'configure 'pre-configure
3443 (lambda _
3444 (substitute* "gdk-pixbuf-loader/Makefile.in"
3445 ;; By default the gdk-pixbuf loader is installed under
3446 ;; gdk-pixbuf's prefix. Work around that.
3447 (("gdk_pixbuf_moduledir = .*$")
3448 (string-append "gdk_pixbuf_moduledir = "
3449 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3450 "loaders\n"))
3451 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3452 (("gdk_pixbuf_cache_file = .*$")
3453 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3454 #t))
3455 (add-after 'configure 'gnu-configure
3456 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3457 ((assoc-ref gnu:%standard-phases 'configure)
3458 #:native-inputs native-inputs
3459 #:inputs inputs
3460 #:outputs outputs
3461 #:configure-flags
3462 (list "--disable-static"
3463 "--enable-vala"
3464 (string-append "--with-html-dir="
3465 (assoc-ref %outputs "doc")
3466 "/share/gtk-doc/html")))))
3467 (add-after 'configure 'dont-vendor-self
3468 (lambda* (#:key vendor-dir #:allow-other-keys)
3469 ;; Don't keep the whole tarball in the vendor directory
3470 (delete-file-recursively
3471 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3472 #t))
3473 (replace 'build
3474 (assoc-ref gnu:%standard-phases 'build))
3475 (add-before 'check 'ignore-failing-tests
3476 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3477 (lambda _
3478 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3479 (("fn background_color_option_invalid_color_yields_error" all)
3480 (string-append "#[ignore] " all))
3481 (("fn empty_input_yields_error" all)
3482 (string-append "#[ignore] " all))
3483 (("fn empty_svg_yields_error" all)
3484 (string-append "#[ignore] " all))
3485 (("fn env_source_data_epoch_empty" all)
3486 (string-append "#[ignore] " all))
3487 (("fn env_source_data_epoch_no_digits" all)
3488 (string-append "#[ignore] " all))
3489 (("fn env_source_data_epoch_trailing_garbage" all)
3490 (string-append "#[ignore] " all))
3491 (("fn export_id_option_error" all)
3492 (string-append "#[ignore] " all))
3493 (("fn huge_zoom_factor_yields_error" all)
3494 (string-append "#[ignore] " all))
3495 (("fn multiple_input_files_not_allowed_for_png_output" all)
3496 (string-append "#[ignore] " all))
3497 (("fn stylesheet_option_error" all)
3498 (string-append "#[ignore] " all)))
3499 #t))
3500 (replace 'check
3501 (lambda* args
3502 ((assoc-ref gnu:%standard-phases 'check)
3503 #:test-target "check")))
3504 (replace 'install
3505 (assoc-ref gnu:%standard-phases 'install)))))
3506 (native-inputs
3507 `(("docbook-xml" ,docbook-xml-4.3)
3508 ("glib" ,glib "bin")
3509 ("gobject-introspection" ,gobject-introspection)
3510 ("pkg-config" ,pkg-config)
3511 ("python" ,python-wrapper)
3512 ("ruby" ,ruby)
3513 ("vala" ,vala)))
3514 (inputs
3515 `(("bzip2" ,bzip2)
3516 ("fontconfig" ,fontconfig)
3517 ("freetype" ,freetype)
3518 ("harfbuzz" ,harfbuzz)
3519 ("libcroco" ,libcroco)
3520 ("libgsf" ,libgsf)
3521 ("libxml2" ,libxml2)
3522 ("pango" ,pango)))
3523 (propagated-inputs
3524 `(("cairo" ,cairo)
3525 ("gdk-pixbuf" ,gdk-pixbuf)
3526 ("glib" ,glib)))
3527 (synopsis "SVG rendering library")
3528 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3529 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3530 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3531 diagrams.")
3532 (home-page "https://wiki.gnome.org/LibRsvg")
3533 (license license:lgpl2.1+)))
3534
3535 (define-public libidl
3536 (package
3537 (name "libidl")
3538 (version "0.8.14")
3539 (source (origin
3540 (method url-fetch)
3541 (uri (string-append "mirror://gnome/sources/libIDL/"
3542 (version-major+minor version) "/"
3543 "libIDL-" version ".tar.bz2"))
3544 (sha256
3545 (base32
3546 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3547 (build-system gnu-build-system)
3548 (inputs `(("glib" ,glib)))
3549 (native-inputs
3550 `(("pkg-config" ,pkg-config)
3551 ("flex" ,flex)
3552 ("bison" ,bison)))
3553 (home-page "http://freecode.com/projects/libidl")
3554 (synopsis "Create trees of CORBA Interface Definition Language files")
3555 (description "Libidl is a library for creating trees of CORBA Interface
3556 Definition Language (idl) files, which is a specification for defining
3557 portable interfaces. libidl was initially written for orbit (the orb from the
3558 GNOME project, and the primary means of libidl distribution). However, the
3559 functionality was designed to be as reusable and portable as possible.")
3560 (properties `((upstream-name . "libIDL")))
3561 (license license:lgpl2.0+)))
3562
3563
3564 (define-public orbit2
3565 (package
3566 (name "orbit2")
3567 (version "2.14.19")
3568 (source (origin
3569 (method url-fetch)
3570 (uri (let ((upstream-name "ORBit2"))
3571 (string-append "mirror://gnome/sources/" upstream-name "/"
3572 (version-major+minor version) "/"
3573 upstream-name "-" version ".tar.bz2")))
3574 (sha256
3575 (base32
3576 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3577 (build-system gnu-build-system)
3578 (arguments
3579 `(;; The "timeout-server" test hangs when run in parallel.
3580 #:parallel-tests? #f
3581 #:configure-flags
3582 '(;; We don't need static libraries, plus they don't build reproducibly
3583 ;; (non-deterministic ordering of .o files in the archive.)
3584 "--disable-static"
3585
3586 ;; The programmer kindly gives us a hook to turn off deprecation
3587 ;; warnings ...
3588 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3589 ;; ... which they then completly ignore !!
3590 #:phases
3591 (modify-phases %standard-phases
3592 (add-before 'configure 'ignore-deprecations
3593 (lambda _
3594 (substitute* "linc2/src/Makefile.in"
3595 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3596 #t)))))
3597 (inputs `(("glib" ,glib)
3598 ("libidl" ,libidl)))
3599 (native-inputs
3600 `(("pkg-config" ,pkg-config)))
3601 (home-page "https://projects.gnome.org/orbit2/")
3602 (synopsis "CORBA 2.4-compliant Object Request Broker")
3603 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3604 featuring mature C, C++ and Python bindings.")
3605 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3606 ;; a version. SOME of the code files have licence notices for GPLv2+.
3607 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3608 (license license:gpl2+)
3609 (properties `((upstream-name . "ORBit2")))))
3610
3611
3612 (define-public libbonobo
3613 (package
3614 (name "libbonobo")
3615 (version "2.32.1")
3616 (source (origin
3617 (method url-fetch)
3618 (uri (string-append "mirror://gnome/sources/" name "/"
3619 (version-major+minor version)
3620 "/" name "-" version ".tar.bz2"))
3621 (sha256
3622 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3623 (patches (search-patches
3624 "libbonobo-activation-test-race.patch"))))
3625 (build-system gnu-build-system)
3626 (arguments
3627 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3628 `(#:configure-flags
3629 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3630 ;; ... which they then completly ignore !!
3631 #:phases
3632 (modify-phases %standard-phases
3633 (add-before 'configure 'ignore-deprecations
3634 (lambda _
3635 (substitute* "activation-server/Makefile.in"
3636 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3637 #t)))
3638
3639 ;; There's apparently a race condition between the server stub
3640 ;; generation and linking of the example under 'samples/echo' that can
3641 ;; lead do undefined references when building in parallel, as reported
3642 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3643 ;; Thus, disable parallel builds.
3644 #:parallel-build? #f))
3645 (inputs `(("popt" ,popt)
3646 ("libxml2" ,libxml2)))
3647 ;; The following are Required by the .pc file
3648 (propagated-inputs
3649 `(("glib" ,glib)
3650 ("orbit2" ,orbit2)))
3651 (native-inputs
3652 `(("intltool" ,intltool)
3653 ("pkg-config" ,pkg-config)
3654 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3655 ("flex" ,flex)
3656 ("bison" ,bison)))
3657 (home-page "https://developer.gnome.org/libbonobo/")
3658 (synopsis "Framework for creating reusable components for use in GNOME applications")
3659 (description "Bonobo is a framework for creating reusable components for
3660 use in GNOME applications, built on top of CORBA.")
3661 ;; Licence not explicitly stated. Source files contain no licence notices.
3662 ;; Tarball contains text of both GPLv2 and LGPLv2
3663 ;; GPLv2 covers both conditions
3664 (license license:gpl2+)))
3665
3666
3667 (define-public gconf
3668 (package
3669 (name "gconf")
3670 (version "3.2.6")
3671 (source (origin
3672 (method url-fetch)
3673 (uri
3674 (let ((upstream-name "GConf"))
3675 (string-append "mirror://gnome/sources/" upstream-name "/"
3676 (version-major+minor version) "/"
3677 upstream-name "-" version ".tar.xz")))
3678 (sha256
3679 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3680 (build-system gnu-build-system)
3681 (inputs `(("dbus-glib" ,dbus-glib)
3682 ("libxml2" ,libxml2)))
3683 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3684 ("orbit2" ,orbit2)))
3685 (native-inputs
3686 `(("intltool" ,intltool)
3687 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3688 ("pkg-config" ,pkg-config)))
3689 (home-page "https://projects.gnome.org/gconf/")
3690 (synopsis "Store application preferences")
3691 (description "Gconf is a system for storing application preferences. It
3692 is intended for user preferences; not arbitrary data storage.")
3693 (license license:lgpl2.0+)
3694 (properties '((upstream-name . "GConf")))))
3695
3696
3697 (define-public gnome-mime-data
3698 (package
3699 (name "gnome-mime-data")
3700 (version "2.18.0")
3701 (source (origin
3702 (method url-fetch)
3703 (uri (string-append "mirror://gnome/sources/" name "/"
3704 (version-major+minor version) "/"
3705 name "-" version ".tar.bz2"))
3706 (sha256
3707 (base32
3708 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3709 (build-system gnu-build-system)
3710 (native-inputs
3711 `(("perl" ,perl)
3712 ("intltool" ,intltool)))
3713 (arguments
3714 '(#:phases (modify-phases %standard-phases
3715 (add-after 'configure 'use-our-intltool
3716 (lambda _
3717 ;; Do not use the bundled intltool commands, which lack
3718 ;; the "dotless @INC" fixes of our 'intltool' package.
3719 (substitute* (find-files "." "^Makefile$")
3720 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3721 (string-append "INTLTOOL_" tool " = intltool-"
3722 (string-downcase tool) "\n")))
3723 #t)))))
3724 (home-page "https://www.gnome.org")
3725 (synopsis "Base MIME and Application database for GNOME")
3726 (description "GNOME Mime Data is a module which contains the base MIME
3727 and Application database for GNOME. The data stored by this module is
3728 designed to be accessed through the MIME functions in GnomeVFS.")
3729 (license license:gpl2+)))
3730
3731
3732 (define-public gnome-vfs
3733 (package
3734 (name "gnome-vfs")
3735 (version "2.24.4")
3736 (source (origin
3737 (method url-fetch)
3738 (uri (string-append "mirror://gnome/sources/" name "/"
3739 (version-major+minor version) "/"
3740 name "-" version ".tar.bz2"))
3741 (sha256
3742 (base32
3743 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3744 (build-system gnu-build-system)
3745 (arguments
3746 `(#:phases
3747 (modify-phases %standard-phases
3748 (add-before 'configure 'ignore-deprecations
3749 (lambda _
3750 (substitute* '("libgnomevfs/Makefile.in"
3751 "daemon/Makefile.in")
3752 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3753 #t))
3754 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3755 (lambda _
3756 (substitute* "test/test-async-cancel.c"
3757 (("EXIT_FAILURE") "77"))
3758 #t)))))
3759 (inputs `(("libxml2" ,libxml2)
3760 ("dbus-glib" ,dbus-glib)
3761 ("gconf" ,gconf)
3762 ("gnome-mime-data" ,gnome-mime-data)
3763 ("zlib" ,zlib)))
3764 (native-inputs
3765 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3766 ("intltool" ,intltool)
3767 ("pkg-config" ,pkg-config)))
3768 (home-page "https://developer.gnome.org/gnome-vfs/")
3769 (synopsis "Access files and folders in GNOME applications")
3770 (description
3771 "GnomeVFS is the core library used to access files and folders in GNOME
3772 applications. It provides a file system abstraction which allows applications
3773 to access local and remote files with a single consistent API.")
3774 (license license:lgpl2.0+)))
3775
3776
3777
3778 (define-public libgnome
3779 (package
3780 (name "libgnome")
3781 (version "2.32.1")
3782 (source (origin
3783 (method url-fetch)
3784 (uri (string-append "mirror://gnome/sources/" name "/"
3785 (version-major+minor version) "/"
3786 name "-" version ".tar.bz2"))
3787 (sha256
3788 (base32
3789 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3790 (patches (search-patches "libgnome-encoding.patch"))))
3791 (build-system gnu-build-system)
3792 (arguments
3793 `(#:phases
3794 (modify-phases %standard-phases
3795 (add-before 'configure 'enable-deprecated
3796 (lambda _
3797 (substitute* "libgnome/Makefile.in"
3798 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3799 #t)))))
3800 (inputs `(("libxml2" ,libxml2)))
3801 (native-inputs
3802 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3803 ("intltool" ,intltool)
3804 ("pkg-config" ,pkg-config)))
3805 ;; The following are listed as Required in the .pc file
3806 ;; (except for libcanberra -- which seems to be oversight on the part
3807 ;; of the upstream developers -- anything that links against libgnome,
3808 ;; must also link against libcanberra
3809 (propagated-inputs
3810 `(("libcanberra" ,libcanberra)
3811 ("libbonobo" ,libbonobo)
3812 ("gconf" ,gconf)
3813 ("gnome-vfs" ,gnome-vfs)
3814 ("popt" ,popt))) ;gnome-program.h includes popt.h
3815 (home-page "https://developer.gnome.org/libgnome/")
3816 (synopsis "Useful routines for building applications")
3817 (description "The libgnome library provides a number of useful routines
3818 for building modern applications, including session management, activation of
3819 files and URIs, and displaying help.")
3820 (license license:lgpl2.0+)))
3821
3822
3823 (define-public libart-lgpl
3824 (package
3825 (name "libart-lgpl")
3826 (version "2.3.21")
3827 (source (origin
3828 (method url-fetch)
3829 (uri (let ((upstream-name "libart_lgpl"))
3830 (string-append "mirror://gnome/sources/" upstream-name "/"
3831 (version-major+minor version) "/"
3832 upstream-name "-" version ".tar.bz2")))
3833 (sha256
3834 (base32
3835 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3836 (build-system gnu-build-system)
3837 (native-inputs
3838 `(("pkg-config" ,pkg-config)))
3839 (home-page "https://people.gnome.org/~mathieu/libart")
3840 (synopsis "2D drawing library")
3841 (description "Libart is a 2D drawing library intended as a
3842 high-quality vector-based 2D library with antialiasing and alpha composition.")
3843 (license license:lgpl2.0+)))
3844
3845
3846
3847 (define-public libgnomecanvas
3848 (package
3849 (name "libgnomecanvas")
3850 (version "2.30.3")
3851 (source (origin
3852 (method url-fetch)
3853 (uri (string-append "mirror://gnome/sources/" name "/"
3854 (version-major+minor version) "/"
3855 name "-" version ".tar.gz"))
3856 (sha256
3857 (base32
3858 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3859 (build-system gnu-build-system)
3860 ;; Mentioned as Required in the .pc file
3861 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3862 ("gtk+" ,gtk+-2)))
3863 (native-inputs
3864 `(("intltool" ,intltool)
3865 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3866 ("pkg-config" ,pkg-config)))
3867 (home-page "https://developer.gnome.org/libgnomecanvas/")
3868 (synopsis "Flexible widget for creating interactive structured graphics")
3869 (description "The GnomeCanvas widget provides a flexible widget for
3870 creating interactive structured graphics.")
3871 (license license:lgpl2.0+)))
3872
3873 (define-public libgnomecanvasmm
3874 (package
3875 (name "libgnomecanvasmm")
3876 (version "2.26.0")
3877 (source (origin
3878 (method url-fetch)
3879 (uri (string-append "mirror://gnome/sources/" name "/"
3880 (version-major+minor version) "/"
3881 name "-" version ".tar.bz2"))
3882 (sha256
3883 (base32
3884 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3885 (build-system gnu-build-system)
3886 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3887 (native-inputs
3888 `(("gtkmm-2" ,gtkmm-2)
3889 ("pkg-config" ,pkg-config)))
3890 (home-page "https://gtkmm.org")
3891 (synopsis "C++ bindings to the GNOME Canvas library")
3892 (description "C++ bindings to the GNOME Canvas library.")
3893 (license license:lgpl2.0+)))
3894
3895 (define-public libgnomeui
3896 (package
3897 (name "libgnomeui")
3898 (version "2.24.5")
3899 (source (origin
3900 (method url-fetch)
3901 (uri (string-append "mirror://gnome/sources/" name "/"
3902 (version-major+minor version) "/"
3903 name "-" version ".tar.bz2"))
3904 (patches (search-patches "libgnomeui-utf8.patch"))
3905 (sha256
3906 (base32
3907 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3908 (build-system gnu-build-system)
3909 ;; Mentioned as Required in the .pc file
3910 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3911 ("libgnome" ,libgnome)
3912 ("libgnomecanvas" ,libgnomecanvas)
3913 ("libgnome-keyring" ,libgnome-keyring)))
3914 (inputs `(("libjpeg" ,libjpeg-turbo)
3915 ("popt" ,popt)
3916 ("libbonobo" ,libbonobo)
3917 ("libxml2" ,libxml2)
3918 ("libglade" ,libglade)))
3919 (native-inputs
3920 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3921 ("intltool" ,intltool)
3922 ("pkg-config" ,pkg-config)))
3923 (home-page "https://developer.gnome.org/libgnomeui/")
3924 (synopsis "Additional widgets for applications")
3925 (description "The libgnomeui library provides additional widgets for
3926 applications. Many of the widgets from libgnomeui have already been
3927 ported to GTK+.")
3928 (license license:lgpl2.0+)))
3929
3930 (define-public libglade
3931 (package
3932 (name "libglade")
3933 (version "2.6.4")
3934 (source (origin
3935 (method url-fetch)
3936 (uri (string-append "mirror://gnome/sources/" name "/"
3937 (version-major+minor version) "/"
3938 name "-" version ".tar.bz2"))
3939 (sha256
3940 (base32
3941 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3942 (build-system gnu-build-system)
3943 (inputs
3944 `(("python" ,python))) ;; needed for the optional libglade-convert program
3945 (propagated-inputs
3946 `(("gtk+-2" ,gtk+-2)
3947 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3948 (native-inputs
3949 `(("pkg-config" ,pkg-config)))
3950 (home-page "https://developer.gnome.org/libglade")
3951 (synopsis "Load glade interfaces and access the glade built widgets")
3952 (description "Libglade is a library that provides interfaces for loading
3953 graphical interfaces described in glade files and for accessing the
3954 widgets built in the loading process.")
3955 (license license:gpl2+))) ; This is correct. GPL not LGPL
3956
3957 (define-public libgnomeprint
3958 ;; This library has been deprecated since 2006; see
3959 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3960 (package
3961 (name "libgnomeprint")
3962 (version "2.18.8")
3963 (source (origin
3964 (method url-fetch)
3965 (uri (string-append "mirror://gnome/sources/" name "/"
3966 (version-major+minor version) "/"
3967 name "-" version ".tar.bz2"))
3968 (sha256
3969 (base32
3970 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3971 (build-system gnu-build-system)
3972 (inputs
3973 `(("popt" ,popt)
3974 ("libart-lgpl" ,libart-lgpl)
3975 ("gtk+" ,gtk+-2)
3976 ("libxml2" ,libxml2)))
3977 (native-inputs
3978 `(("intltool" ,intltool)
3979 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3980 ("pkg-config" ,pkg-config)))
3981 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3982 (synopsis "Printing framework for GNOME")
3983 (description
3984 "GNOME-print was a printing framework for GNOME. It has been deprecated
3985 since ca. 2006, when GTK+ itself incorporated printing support.")
3986 (license license:lgpl2.0+)))
3987
3988
3989 (define-public libgnomeprintui
3990 ;; Deprecated; see libgnomeprint.
3991 (package
3992 (name "libgnomeprintui")
3993 (version "2.18.6")
3994 (source (origin
3995 (method url-fetch)
3996 (uri (string-append "mirror://gnome/sources/" name "/"
3997 (version-major+minor version) "/"
3998 name "-" version ".tar.bz2"))
3999 (sha256
4000 (base32
4001 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4002 (build-system gnu-build-system)
4003 ;; Mentioned as Required in the .pc file
4004 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4005 (inputs `(("gtk+" ,gtk+-2)
4006 ("glib" ,glib)
4007 ("gnome-icon-theme" ,gnome-icon-theme)
4008 ("libgnomecanvas" ,libgnomecanvas)
4009 ("libxml2" ,libxml2)))
4010 (native-inputs
4011 `(("intltool" ,intltool)
4012 ("pkg-config" ,pkg-config)))
4013 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4014 (synopsis "Printing framework for GNOME")
4015 (description (package-description libgnomeprint))
4016 (license license:lgpl2.0+)))
4017
4018 (define-public libbonoboui
4019 (package
4020 (name "libbonoboui")
4021 (version "2.24.5")
4022 (source (origin
4023 (method url-fetch)
4024 (uri (string-append "mirror://gnome/sources/" name "/"
4025 (version-major+minor version) "/"
4026 name "-" version ".tar.bz2"))
4027 (sha256
4028 (base32
4029 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4030 (build-system gnu-build-system)
4031 (arguments
4032 `(#:phases
4033 (modify-phases %standard-phases
4034 (add-before 'check 'start-xserver
4035 (lambda* (#:key inputs #:allow-other-keys)
4036 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4037 (disp ":1"))
4038
4039 (setenv "HOME" (getcwd))
4040 (setenv "DISPLAY" disp)
4041 ;; There must be a running X server and make check doesn't start one.
4042 ;; Therefore we must do it.
4043 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4044 ;; Mentioned as Required by the .pc file
4045 (propagated-inputs `(("libxml2" ,libxml2)))
4046 (inputs
4047 `(("popt" ,popt)
4048 ("pangox-compat" ,pangox-compat)
4049 ("libgnome" ,libgnome)
4050 ("libgnomecanvas" ,libgnomecanvas)
4051 ("libglade" ,libglade)))
4052 (native-inputs
4053 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4054 ("intltool" ,intltool)
4055 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4056 ("pkg-config" ,pkg-config)))
4057 (home-page "https://developer.gnome.org/libbonoboui/")
4058 (synopsis "Some user interface controls using Bonobo")
4059 (description "The Bonobo UI library provides a number of user interface
4060 controls using the Bonobo component framework.")
4061 (license license:lgpl2.0+)))
4062
4063 (define-public libwnck
4064 (package
4065 (name "libwnck")
4066 (version "3.32.0")
4067 (source (origin
4068 (method url-fetch)
4069 (uri (string-append "mirror://gnome/sources/" name "/"
4070 (version-major+minor version) "/"
4071 name "-" version ".tar.xz"))
4072 (sha256
4073 (base32
4074 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4075 (build-system meson-build-system)
4076 (native-inputs
4077 `(("pkg-config" ,pkg-config)
4078 ("glib" ,glib "bin") ; for glib-mkenums
4079 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4080 ("intltool" ,intltool)))
4081 (propagated-inputs
4082 `(("gtk+" ,gtk+)
4083 ("libxres" ,libxres)
4084 ("startup-notification" ,startup-notification)))
4085 (home-page "https://developer.gnome.org/libwnck/")
4086 (synopsis "Window Navigator Construction Kit")
4087 (description
4088 "Libwnck is the Window Navigator Construction Kit, a library for use in
4089 writing pagers, tasklists, and more generally applications that are dealing
4090 with window management. It tries hard to respect the Extended Window Manager
4091 Hints specification (EWMH).")
4092 (license license:lgpl2.0+)))
4093
4094 ;; stable version for gtk2, required by xfwm4.
4095 (define-public libwnck-2
4096 (package (inherit libwnck)
4097 (name "libwnck")
4098 (version "2.30.7")
4099 (source (origin
4100 (method url-fetch)
4101 (uri (string-append "mirror://gnome/sources/" name "/"
4102 (version-major+minor version) "/"
4103 name "-" version ".tar.xz"))
4104 (sha256
4105 (base32
4106 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4107 (build-system gnu-build-system)
4108 (native-inputs
4109 `(("pkg-config" ,pkg-config)
4110 ("intltool" ,intltool)))
4111 (propagated-inputs
4112 `(("gtk+" ,gtk+-2)
4113 ("libxres" ,libxres)
4114 ("startup-notification" ,startup-notification)))))
4115
4116 (define-public goffice
4117 (package
4118 (name "goffice")
4119 (version "0.10.48")
4120 (source (origin
4121 (method url-fetch)
4122 (uri (string-append "mirror://gnome/sources/goffice/"
4123 (version-major+minor version) "/"
4124 "goffice-" version ".tar.xz"))
4125 (sha256
4126 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4127 (build-system gnu-build-system)
4128 (outputs '("out"
4129 "doc")) ; 4.0 MiB of gtk-doc
4130 (arguments
4131 '(#:configure-flags (list (string-append "--with-html-dir="
4132 (assoc-ref %outputs "doc")
4133 "/share/gtk-doc/html"))))
4134 (inputs
4135 `(("gtk+" ,gtk+)
4136 ("libgsf" ,libgsf)
4137 ("librsvg" ,librsvg)
4138 ("libxslt" ,libxslt)
4139 ("libxml2" ,libxml2)))
4140 (native-inputs
4141 `(("intltool" ,intltool)
4142 ("glib" ,glib "bin")
4143 ("pkg-config" ,pkg-config)))
4144 (home-page "https://developer.gnome.org/goffice/")
4145 (synopsis "Document-centric objects and utilities")
4146 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4147 (license
4148 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4149 ;; Note: NOT LGPL
4150 (list license:gpl2 license:gpl3))))
4151
4152 (define-public goffice-0.8
4153 (package (inherit goffice)
4154 (version "0.8.17")
4155 (source (origin
4156 (method url-fetch)
4157 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4158 (version-major+minor version) "/"
4159 (package-name goffice) "-" version ".tar.xz"))
4160 (sha256
4161 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4162 (arguments
4163 `(#:phases
4164 (modify-phases %standard-phases
4165 (add-after 'unpack 'fix-pcre-check
4166 (lambda _
4167 ;; Only glib.h can be included directly. See
4168 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4169 (substitute* "configure"
4170 (("glib/gregex\\.h") "glib.h")) #t)))
4171
4172 ,@(package-arguments goffice)))
4173 (propagated-inputs
4174 ;; libgoffice-0.8.pc mentions libgsf-1
4175 `(("libgsf" ,libgsf)))
4176 (inputs
4177 `(("gtk" ,gtk+-2)
4178 ,@(alist-delete "gtk" (package-inputs goffice))))))
4179
4180 (define-public gnumeric
4181 (package
4182 (name "gnumeric")
4183 (version "1.12.48")
4184 (source (origin
4185 (method url-fetch)
4186 (uri (string-append "mirror://gnome/sources/gnumeric/"
4187 (version-major+minor version) "/"
4188 "gnumeric-" version ".tar.xz"))
4189 (sha256
4190 (base32
4191 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4192 (build-system glib-or-gtk-build-system)
4193 (arguments
4194 `(;; The gnumeric developers don't worry much about failing tests.
4195 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4196 #:tests? #f
4197 #:phases
4198 (modify-phases %standard-phases
4199 (add-before
4200 'configure 'pre-conf
4201 (lambda* (#:key outputs #:allow-other-keys)
4202 ;; Make install tries to write into the directory of goffice
4203 ;; I am informed that this only affects the possibility to embed a
4204 ;; spreadsheet inside an Abiword document. So presumably when we
4205 ;; package Abiword we'll have to refer it to this directory.
4206 (substitute* "configure"
4207 (("^GOFFICE_PLUGINS_DIR=.*")
4208 (string-append "GOFFICE_PLUGINS_DIR="
4209 (assoc-ref outputs "out")
4210 "/goffice/plugins"))))))))
4211 (inputs
4212 `(("glib" ,glib)
4213 ("gtk+" ,gtk+)
4214 ("goffice" ,goffice)
4215 ("libgsf" ,libgsf)
4216 ("librsvg" ,librsvg)
4217 ("libxml2" ,libxml2)
4218 ("libxslt" ,libxslt)
4219 ("python" ,python)
4220 ("python-pygobject" ,python-pygobject)
4221 ("zlib" ,zlib)))
4222 (native-inputs
4223 `(("bison" ,bison)
4224 ("docbook-xml" ,docbook-xml)
4225 ("intltool" ,intltool)
4226 ("itstool" ,itstool)
4227 ("glib:bin" ,glib "bin")
4228 ("pkg-config" ,pkg-config)))
4229 (home-page "http://www.gnumeric.org")
4230 (synopsis "Spreadsheet application")
4231 (description
4232 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4233 interoperable with other spreadsheet applications. It has a vast array of
4234 features beyond typical spreadsheet functionality, such as support for linear
4235 and non-linear solvers, statistical analysis, and telecommunication
4236 engineering.")
4237 (license
4238 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4239 (list license:gpl2 license:gpl3))))
4240
4241 (define-public gnome-themes-standard
4242 (package
4243 (name "gnome-themes-standard")
4244 (version "3.22.3")
4245 (source
4246 (origin
4247 (method url-fetch)
4248 (uri (string-append "mirror://gnome/sources/" name "/"
4249 (version-major+minor version) "/" name "-"
4250 version ".tar.xz"))
4251 (sha256
4252 (base32
4253 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4254 (build-system gnu-build-system)
4255 (arguments
4256 '(#:configure-flags
4257 ;; Don't create 'icon-theme.cache'.
4258 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4259 (true (string-append coreutils "/bin/true")))
4260 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4261 (inputs
4262 `(("gtk+" ,gtk+)
4263 ("gtk+-2" ,gtk+-2)
4264 ("librsvg" ,librsvg)
4265 ("libxml2" ,libxml2)
4266 ("glib" ,glib)))
4267 (native-inputs
4268 `(("intltool" ,intltool)
4269 ("glib:bin" ,glib "bin")
4270 ("pkg-config" ,pkg-config)))
4271 (home-page "https://launchpad.net/gnome-themes-standard")
4272 (synopsis "Default GNOME 3 themes")
4273 (description
4274 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4275 (license license:lgpl2.1+)))
4276
4277 (define-public seahorse
4278 (package
4279 (name "seahorse")
4280 (version "3.36.2")
4281 (source
4282 (origin
4283 (method url-fetch)
4284 (uri (string-append "mirror://gnome/sources/" name "/"
4285 (version-major+minor version) "/" name "-"
4286 version ".tar.xz"))
4287 (sha256
4288 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4289 (build-system meson-build-system)
4290 (arguments
4291 '(#:glib-or-gtk? #t
4292 #:phases
4293 (modify-phases %standard-phases
4294 (add-after 'unpack 'skip-gtk-update-icon-cache
4295 ;; Don't create 'icon-theme.cache'.
4296 (lambda _
4297 (substitute* "build-aux/meson_post_install.py"
4298 (("gtk-update-icon-cache") "true"))
4299 #t)))))
4300 (inputs
4301 `(("gtk+" ,gtk+)
4302 ("gcr" ,gcr)
4303 ("gnupg" ,gnupg)
4304 ("gpgme" ,gpgme)
4305 ("openldap" ,openldap)
4306 ("openssh" ,openssh)
4307 ("avahi" ,avahi)
4308 ("libhandy" ,libhandy-0.0)
4309 ("libpwquality" ,libpwquality)
4310 ("libsecret" ,libsecret)
4311 ("libsoup" ,libsoup)))
4312 (native-inputs
4313 `(("gettext" ,gettext-minimal)
4314 ("glib:bin" ,glib "bin")
4315 ("itstool" ,itstool)
4316 ("pkg-config" ,pkg-config)
4317 ("vala" ,vala)
4318 ("xmllint" ,libxml2)))
4319 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4320 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4321 (description
4322 "Seahorse is a GNOME application for managing encryption keys and
4323 passwords in the GNOME keyring.")
4324 (license license:gpl2+)))
4325
4326 (define-public vala
4327 (package
4328 (name "vala")
4329 (version "0.46.5")
4330 (source (origin
4331 (method url-fetch)
4332 (uri (string-append "mirror://gnome/sources/" name "/"
4333 (version-major+minor version) "/"
4334 name "-" version ".tar.xz"))
4335 (sha256
4336 (base32
4337 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4338 (build-system gnu-build-system)
4339 (arguments
4340 '(#:phases
4341 (modify-phases %standard-phases
4342 (add-before 'check 'pre-check
4343 (lambda _
4344 (setenv "CC" "gcc")
4345 (substitute* "valadoc/tests/testrunner.sh"
4346 (("export PKG_CONFIG_PATH=" m)
4347 (string-append m "$PKG_CONFIG_PATH:")))
4348 ;; For missing '/etc/machine-id'.
4349 (setenv "DBUS_FATAL_WARNINGS" "0")
4350 #t)))))
4351 (native-inputs
4352 `(("pkg-config" ,pkg-config)
4353 ("flex" ,flex)
4354 ("bison" ,bison)
4355 ("xsltproc" ,libxslt)
4356 ("dbus" ,dbus) ; for dbus tests
4357 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4358 (inputs
4359 `(("graphviz" ,graphviz)))
4360 (propagated-inputs
4361 `(("glib" ,glib))) ; required by libvala-0.40.pc
4362 (home-page "https://wiki.gnome.org/Projects/Vala/")
4363 (synopsis "Compiler for the GObject type system")
4364 (description
4365 "Vala is a programming language that aims to bring modern programming
4366 language features to GNOME developers without imposing any additional runtime
4367 requirements and without using a different ABI compared to applications and
4368 libraries written in C.")
4369 (license license:lgpl2.1+)))
4370
4371 (define-public vala-0.50
4372 (package
4373 (inherit vala)
4374 (version "0.50.2")
4375 (source (origin
4376 (method url-fetch)
4377 (uri (string-append "mirror://gnome/sources/vala/"
4378 (version-major+minor version) "/"
4379 "vala-" version ".tar.xz"))
4380 (sha256
4381 (base32
4382 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4383
4384 (define-public vte
4385 (package
4386 (name "vte")
4387 (version "0.60.3")
4388 (source (origin
4389 (method url-fetch)
4390 (uri (string-append "mirror://gnome/sources/vte/"
4391 (version-major+minor version) "/"
4392 "vte-" version ".tar.xz"))
4393 (sha256
4394 (base32
4395 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4396 (build-system meson-build-system)
4397 (arguments
4398 `(#:configure-flags
4399 '("-Dvapi=true"
4400 "-D_systemd=false")))
4401 (native-inputs
4402 `(("pkg-config" ,pkg-config)
4403 ("gettext" ,gettext-minimal)
4404 ("vala" ,vala)
4405 ("gobject-introspection" ,gobject-introspection)
4406 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4407 ("gperf" ,gperf)
4408 ("xmllint" ,libxml2)))
4409 (propagated-inputs
4410 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4411 ("gnutls" ,gnutls) ; ditto
4412 ("pcre2" ,pcre2))) ; ditto
4413 (home-page "https://www.gnome.org/")
4414 (synopsis "Virtual Terminal Emulator")
4415 (description
4416 "VTE is a library (libvte) implementing a terminal emulator widget for
4417 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4418 gnome-terminal, but can also be used to embed a console/terminal in games,
4419 editors, IDEs, etc.")
4420 (license license:lgpl2.1+)))
4421
4422 (define-public vte-ng
4423 (package
4424 (inherit vte)
4425 (name "vte-ng")
4426 (version "0.58.2.a")
4427 (home-page "https://github.com/thestinger/vte-ng")
4428 (source (origin
4429 (method git-fetch)
4430 (uri (git-reference (url home-page) (commit version)))
4431 (file-name (git-file-name name version))
4432 (sha256
4433 (base32
4434 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4435 (build-system meson-build-system)
4436 (native-inputs
4437 `(("gtk-doc" ,gtk-doc)
4438 ,@(package-native-inputs vte)))
4439 (arguments
4440 `(#:configure-flags '("-Ddocs=true")))
4441 (synopsis "Enhanced VTE terminal widget")
4442 (description
4443 "VTE is a library (libvte) implementing a terminal emulator widget for
4444 GTK+, this fork provides additional functions exposed for keyboard text
4445 selection and URL hints.")))
4446
4447 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4448 (define-public vte/gtk+-2
4449 (package (inherit vte)
4450 (name "vte")
4451 (version "0.28.2")
4452 (source (origin
4453 (method url-fetch)
4454 (uri (string-append "mirror://gnome/sources/" name "/"
4455 (version-major+minor version) "/"
4456 name "-" version ".tar.xz"))
4457 (sha256
4458 (base32
4459 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4460 (patches (search-patches
4461 "vte-CVE-2012-2738-pt1.patch"
4462 "vte-CVE-2012-2738-pt2.patch"))))
4463 (build-system gnu-build-system)
4464 (arguments
4465 '(#:configure-flags '("--disable-python")))
4466 (native-inputs
4467 `(("pkg-config" ,pkg-config)
4468 ("intltool" ,intltool)
4469 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4470 (propagated-inputs
4471 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4472 ("ncurses" ,ncurses))))) ; required by libvte.la
4473
4474 (define-public vinagre
4475 (package
4476 (name "vinagre")
4477 (version "3.22.0")
4478 (source (origin
4479 (method url-fetch)
4480 (uri (string-append "mirror://gnome/sources/" name "/"
4481 (version-major+minor version) "/"
4482 name "-" version ".tar.xz"))
4483 (patches (search-patches "vinagre-newer-freerdp.patch"
4484 "vinagre-newer-rdp-parameters.patch"))
4485 (sha256
4486 (base32
4487 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4488 (build-system glib-or-gtk-build-system)
4489 (arguments
4490 ;; Disable -Werror and such, to avoid build failures on compilation
4491 ;; warnings.
4492 '(#:configure-flags '("--enable-compile-warnings=minimum")
4493 #:phases
4494 (modify-phases %standard-phases
4495 (add-before 'install 'skip-gtk-update-icon-cache
4496 (lambda _
4497 ;; Don't create 'icon-theme.cache'
4498 (substitute* (find-files "." "^Makefile$")
4499 (("gtk-update-icon-cache") (which "true")))
4500 #t))
4501 (add-after 'unpack 'patch-configure
4502 (lambda _
4503 (substitute* "configure"
4504 (("freerdp") "freerdp2"))
4505 #t)))))
4506 (native-inputs
4507 `(("pkg-config" ,pkg-config)
4508 ("intltool" ,intltool)
4509 ("itstool" ,itstool)
4510 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4511 (inputs
4512 `(("libxml2" ,libxml2)
4513 ("gtk-vnc" ,gtk-vnc)
4514 ("gnome-keyring" ,gnome-keyring)
4515 ("libsecret" ,libsecret)
4516 ("freerdp" ,freerdp)
4517 ("spice" ,spice)
4518 ("spice-gtk" ,spice-gtk)
4519 ("telepathy-glib" ,telepathy-glib)
4520 ("vte" ,vte)))
4521 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4522 (synopsis "Remote desktop viewer for GNOME")
4523 (description "Vinagre is a remote display client supporting the VNC, SPICE
4524 and RDP protocols.")
4525 (license license:gpl3+)))
4526
4527 (define-public dconf
4528 (package
4529 (name "dconf")
4530 (version "0.36.0")
4531 (source (origin
4532 (method url-fetch)
4533 (uri (string-append
4534 "mirror://gnome/sources/" name "/"
4535 (version-major+minor version) "/"
4536 name "-" version ".tar.xz"))
4537 (sha256
4538 (base32
4539 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4540 (build-system meson-build-system)
4541 (propagated-inputs
4542 ;; In Requires of dconf.pc.
4543 `(("glib" ,glib)))
4544 (inputs
4545 `(("gtk+" ,gtk+)
4546 ("dbus" ,dbus)))
4547 (native-inputs
4548 `(("bash-completion" ,bash-completion)
4549 ("libxslt" ,libxslt) ;for xsltproc
4550 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4551 ("docbook-xml" ,docbook-xml-4.2)
4552 ("docbook-xsl" ,docbook-xsl)
4553 ("glib:bin" ,glib "bin")
4554 ("gtk-doc" ,gtk-doc)
4555 ("pkg-config" ,pkg-config)
4556 ("vala" ,vala)))
4557 (arguments
4558 `(#:glib-or-gtk? #t
4559 #:configure-flags '("-Denable-gtk-doc=true")
4560 #:phases (modify-phases %standard-phases
4561 (add-after 'unpack 'increase-test-timeout
4562 (lambda _
4563 ;; On big-memory systems, the engine test may take
4564 ;; much longer than the default of 30 seconds.
4565 (substitute* "tests/meson.build"
4566 (("test\\(unit_test\\[0\\], exe" all)
4567 (string-append all ", timeout : 90")))
4568 #t)))))
4569 (home-page "https://developer.gnome.org/dconf/")
4570 (synopsis "Low-level GNOME configuration system")
4571 (description "Dconf is a low-level configuration system. Its main purpose
4572 is to provide a backend to GSettings on platforms that don't already have
4573 configuration storage systems.")
4574 (license license:lgpl2.1+)))
4575
4576 (define-public json-glib
4577 (package
4578 (name "json-glib")
4579 (version "1.4.4")
4580 (source (origin
4581 (method url-fetch)
4582 (uri (string-append "mirror://gnome/sources/" name "/"
4583 (version-major+minor version) "/"
4584 name "-" version ".tar.xz"))
4585 (sha256
4586 (base32
4587 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4588 (build-system meson-build-system)
4589 (native-inputs
4590 `(("gettext" ,gettext-minimal)
4591 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4592 ("gobject-introspection" ,gobject-introspection)
4593 ("pkg-config" ,pkg-config)))
4594 (propagated-inputs
4595 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4596 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4597 (synopsis "Compiler for the GObject type system")
4598 (description
4599 "JSON-GLib is a C library based on GLib providing serialization and
4600 deserialization support for the JavaScript Object Notation (JSON) format
4601 described by RFC 4627. It provides parser and generator GObject classes and
4602 various wrappers for the complex data types employed by JSON, such as arrays
4603 and objects.")
4604 (license license:lgpl2.1+)))
4605
4606 (define-public libxklavier
4607 (package
4608 (name "libxklavier")
4609 (version "5.4")
4610 (source (origin
4611 ;; Note: There's no tarball at ftp.gnome.org for this version.
4612 (method git-fetch)
4613 (uri (git-reference
4614 (url "https://anongit.freedesktop.org/git/libxklavier")
4615 (commit (string-append "libxklavier-" version))))
4616 (sha256
4617 (base32
4618 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4619 (file-name (git-file-name name version))))
4620 (build-system gnu-build-system)
4621 (arguments
4622 '(#:configure-flags
4623 (list (string-append "--with-xkb-base="
4624 (assoc-ref %build-inputs "xkeyboard-config")
4625 "/share/X11/xkb")
4626 "--disable-xmodmap-support")))
4627 (native-inputs
4628 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4629 ("gobject-introspection" ,gobject-introspection)
4630 ("pkg-config" ,pkg-config)
4631 ("gtk-doc" ,gtk-doc)
4632 ("intltool" ,intltool)
4633 ("which" ,which)
4634 ("autoconf" ,autoconf)
4635 ("automake" ,automake)
4636 ("libtool" ,libtool)))
4637 (propagated-inputs
4638 ;; Required by libxklavier.pc.
4639 `(("glib" ,glib)
4640 ("libxml2" ,libxml2)))
4641 (inputs
4642 `(("iso-codes" ,iso-codes)
4643 ("libxi" ,libxi)
4644 ("libxkbfile" ,libxkbfile)
4645 ("xkbcomp" ,xkbcomp)
4646 ("xkeyboard-config" ,xkeyboard-config)))
4647 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4648 (synopsis "High-level API for X Keyboard Extension")
4649 (description
4650 "LibXklavier is a library providing high-level API for X Keyboard
4651 Extension known as XKB. This library is intended to support XFree86 and other
4652 commercial X servers. It is useful for creating XKB-related software (layout
4653 indicators etc).")
4654 (license license:lgpl2.0+)))
4655
4656 (define-public python2-rsvg
4657 ;; XXX: This is actually a subset of gnome-python-desktop.
4658 (package
4659 (name "python2-rsvg")
4660 (version "2.32.0")
4661 (source
4662 (origin
4663 (method url-fetch)
4664 (uri (string-append
4665 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4666 version ".tar.bz2"))
4667 (sha256
4668 (base32
4669 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4670 (build-system gnu-build-system)
4671 (native-inputs
4672 `(("pkg-config" ,pkg-config)))
4673 (inputs
4674 `(("python" ,python-2)
4675 ("python2-pygtk" ,python2-pygtk)
4676 ("librsvg" ,librsvg)))
4677 (home-page "https://www.gnome.org")
4678 (synopsis "Python bindings to librsvg")
4679 (description
4680 "This package provides Python bindings to librsvg, the SVG rendering
4681 library.")
4682
4683 ;; This is the license of the rsvg bindings. The license of each module
4684 ;; of gnome-python-desktop is given in 'COPYING'.
4685 (license license:lgpl2.1+)))
4686
4687 (define-public glib-networking
4688 (package
4689 (name "glib-networking")
4690 (version "2.62.2")
4691 (source (origin
4692 (method url-fetch)
4693 (uri (string-append "mirror://gnome/sources/glib-networking/"
4694 (version-major+minor version) "/"
4695 "glib-networking-" version ".tar.xz"))
4696 (sha256
4697 (base32
4698 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4699 (build-system meson-build-system)
4700 (arguments
4701 `(#:configure-flags '("-Dlibproxy_support=false")))
4702 (native-inputs
4703 `(("pkg-config" ,pkg-config)
4704 ("intltool" ,intltool)))
4705 (inputs
4706 `(("glib" ,glib)
4707 ("gnutls" ,gnutls)
4708 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4709 (home-page "https://www.gnome.org")
4710 (synopsis "Network-related GIO modules")
4711 (description
4712 "This package contains various network related extensions for the GIO
4713 library.")
4714 (license license:lgpl2.0+)))
4715
4716 (define-public rest
4717 (package
4718 (name "rest")
4719 (version "0.8.1")
4720 (source (origin
4721 (method url-fetch)
4722 (uri (string-append "mirror://gnome/sources/rest/"
4723 (version-major+minor version) "/"
4724 name "-" version ".tar.xz"))
4725 (sha256
4726 (base32
4727 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4728 (build-system gnu-build-system)
4729 (arguments
4730 '(#:tests? #f ; tests require internet connection
4731 #:configure-flags
4732 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4733 (native-inputs
4734 `(("glib-mkenums" ,glib "bin")
4735 ("gobject-introspection" ,gobject-introspection)
4736 ("pkg-config" ,pkg-config)))
4737 (propagated-inputs
4738 ;; rest-0.7.pc refers to all these.
4739 `(("glib" ,glib)
4740 ("libsoup" ,libsoup)
4741 ("libxml2" ,libxml2)))
4742 (home-page "https://www.gtk.org/")
4743 (synopsis "RESTful web api query library")
4744 (description
4745 "This library was designed to make it easier to access web services that
4746 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4747 libxml to ease remote use of the RESTful API.")
4748 (license license:lgpl2.1+)))
4749
4750 (define-public libsoup
4751 (package
4752 (name "libsoup")
4753 (version "2.72.0")
4754 (source (origin
4755 (method url-fetch)
4756 (uri (string-append "mirror://gnome/sources/libsoup/"
4757 (version-major+minor version) "/"
4758 "libsoup-" version ".tar.xz"))
4759 (sha256
4760 (base32
4761 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4762 (build-system meson-build-system)
4763 (outputs '("out" "doc"))
4764 (arguments
4765 `(#:modules ((guix build utils)
4766 (guix build meson-build-system)
4767 (ice-9 popen))
4768
4769 #:configure-flags '("-Dgtk_doc=true")
4770 #:phases
4771 (modify-phases %standard-phases
4772 (add-after 'unpack 'patch-docbook-xml
4773 (lambda* (#:key inputs #:allow-other-keys)
4774 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4775 "/xml/dtd/docbook")))
4776 (substitute* (find-files "docs/reference")
4777 (("http://.*/docbookx\\.dtd")
4778 (string-append xmldoc "/docbookx.dtd")))
4779 #t)))
4780 (add-after 'unpack 'adjust-tests
4781 (lambda _
4782 ;; This test fails due to missing /etc/nsswitch.conf
4783 ;; in the build environment.
4784 (substitute* "tests/socket-test.c"
4785 ((".*/sockets/unconnected.*") ""))
4786
4787 ;; These fail because "subdomain.localhost" does not resolve in
4788 ;; the build environment.
4789 (substitute* "tests/hsts-test.c"
4790 ((".*/hsts/basic.*") "")
4791 ((".*/hsts/subdomains.*") "")
4792 ((".*/hsts/superdomain.*") "")
4793 ((".*/hsts/utf8-address.*") ""))
4794 (substitute* "tests/hsts-db-test.c"
4795 ((".*/hsts-db/subdomains.*") ""))
4796
4797 ;; Generate a self-signed certificate that has "localhost" as its
4798 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4799 ;; 3.5.12, tests such as "ssl-tests" fail:
4800 ;;
4801 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4802 ;;
4803 ;; 'certtool' is interactive so we have to pipe it the answers.
4804 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4805 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4806 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4807 (for-each (lambda (line)
4808 (display line pipe)
4809 (newline pipe))
4810 '("" ;Common name
4811 "" ;UID
4812 "Guix" ;Organizational unit name
4813 "GNU" ;Organization name
4814 "" ;Locality name
4815 "" ;State or province
4816 "" ;Country
4817 "" ;subject's domain component (DC)
4818 "" ;E-mail
4819 "" ;serial number
4820 "-1" ;expiration time
4821 "N" ;belong to authority?
4822 "N" ;web client certificate?
4823 "N" ;IPsec IKE?
4824 "Y" ;web server certificate?
4825 "localhost" ;dnsName of subject
4826 "" ;dnsName of subject (end)
4827 "" ;URI of subject
4828 "127.0.0.1" ;IP address of subject
4829 "" ;signing?
4830 "" ;encryption (RSA)?
4831 "" ;data encryption?
4832 "" ;sign OCSP requests?
4833 "" ;sign code?
4834 "" ;time stamping?
4835 "" ;email protection?
4836 "" ;URI of the CRL distribution point
4837 "y" ;above info OK?
4838 ))
4839 (close-pipe pipe))
4840 #t))
4841 (add-after 'install 'move-doc
4842 (lambda* (#:key outputs #:allow-other-keys)
4843 (let ((out (assoc-ref outputs "out"))
4844 (doc (assoc-ref outputs "doc")))
4845 (mkdir-p (string-append doc "/share"))
4846 (copy-recursively (string-append out "/share/gtk-doc")
4847 (string-append doc "/share/gtk-doc"))
4848 (delete-file-recursively (string-append out "/share/gtk-doc"))
4849 #t))))))
4850 (native-inputs
4851 `(("docbook-xml" ,docbook-xml-4.1.2)
4852 ("glib:bin" ,glib "bin") ; for glib-mkenums
4853 ("gobject-introspection" ,gobject-introspection)
4854 ("gtk-doc" ,gtk-doc)
4855 ("intltool" ,intltool)
4856 ("pkg-config" ,pkg-config)
4857 ("python" ,python-wrapper)
4858 ("vala" ,vala)
4859 ("php" ,php)
4860 ("curl" ,curl)
4861 ("gnutls" ,gnutls) ;for 'certtool'
4862 ("httpd" ,httpd)))
4863 (propagated-inputs
4864 ;; libsoup-2.4.pc refers to all these.
4865 `(("brotli" ,google-brotli)
4866 ("glib" ,glib)
4867 ("libpsl" ,libpsl)
4868 ("libxml2" ,libxml2)
4869 ("sqlite" ,sqlite)
4870 ("zlib" ,zlib)))
4871 (inputs
4872 `(("glib-networking" ,glib-networking)
4873 ("mit-krb5" ,mit-krb5)))
4874 (home-page "https://live.gnome.org/LibSoup/")
4875 (synopsis "GLib-based HTTP Library")
4876 (description
4877 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4878 and the GLib main loop, to integrate well with GNOME applications.")
4879 (license license:lgpl2.0+)))
4880
4881
4882 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4883 (define-public libsoup-minimal
4884 (package
4885 (inherit libsoup)
4886 (name "libsoup-minimal")
4887 (outputs (delete "doc" (package-outputs libsoup)))
4888 (arguments
4889 (substitute-keyword-arguments (package-arguments libsoup)
4890 ((#:configure-flags configure-flags)
4891 `(delete "-Dgtk_doc=true" ,configure-flags))
4892 ((#:phases phases)
4893 `(modify-phases ,phases
4894 (delete 'move-doc)))))
4895 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4896
4897 (define-public libsecret
4898 (package
4899 (name "libsecret")
4900 (version "0.20.4")
4901 (source (origin
4902 (method url-fetch)
4903 (uri (string-append
4904 "mirror://gnome/sources/libsecret/"
4905 (version-major+minor version) "/"
4906 "libsecret-" version ".tar.xz"))
4907 (sha256
4908 (base32
4909 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4910 (build-system gnu-build-system)
4911 (outputs '("out" "doc"))
4912 (arguments
4913 `(#:tests? #f ; FIXME: Testing hangs.
4914 #:configure-flags
4915 (list (string-append "--with-html-dir="
4916 (assoc-ref %outputs "doc")
4917 "/share/gtk-doc/html"))))
4918 (native-inputs
4919 `(("gettext" ,gettext-minimal)
4920 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4921 ("gobject-introspection" ,gobject-introspection)
4922 ("pkg-config" ,pkg-config)
4923 ("vala" ,vala)
4924 ("xsltproc" ,libxslt)))
4925 ;; These are needed for the tests.
4926 ;; FIXME: Add gjs once available.
4927 ;("dbus" ,dbus)
4928 ;("python2" ,python-2)
4929 ;("python2-dbus" ,python2-dbus)
4930 ;("python2-pygobject" ,python2-pygobject)
4931 ;("python2-pygobject-2" ,python2-pygobject-2)))
4932 (propagated-inputs
4933 `(("glib" ,glib))) ; required by libsecret-1.pc
4934 (inputs
4935 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4936 ;; doesn't seem to affect the build result.
4937 `(("docbook-xsl" ,docbook-xsl)
4938 ("libgcrypt" ,libgcrypt)
4939 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4940 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4941 (synopsis "GObject bindings for \"Secret Service\" API")
4942 (description
4943 "Libsecret is a GObject based library for storing and retrieving passwords
4944 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4945 (license license:lgpl2.1+)))
4946
4947 (define-public five-or-more
4948 (package
4949 (name "five-or-more")
4950 (version "3.32.2")
4951 (source
4952 (origin
4953 (method url-fetch)
4954 (uri (string-append "mirror://gnome/sources/five-or-more/"
4955 (version-major+minor version) "/"
4956 "five-or-more-" version ".tar.xz"))
4957 (sha256
4958 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4959 (build-system meson-build-system)
4960 (arguments
4961 '(#:glib-or-gtk? #t
4962 #:phases
4963 (modify-phases %standard-phases
4964 (add-after 'unpack 'skip-gtk-update-icon-cache
4965 (lambda _
4966 (substitute* "meson_post_install.py"
4967 (("gtk-update-icon-cache") (which "true")))
4968 #t)))))
4969 (native-inputs
4970 `(("pkg-config" ,pkg-config)
4971 ("appstream-glib" ,appstream-glib)
4972 ("desktop-file-utils" ,desktop-file-utils)
4973 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4974 ("intltool" ,intltool)
4975 ("itstool" ,itstool)
4976 ("vala" ,vala)
4977 ("xmllint" ,libxml2)))
4978 (inputs
4979 `(("gtk+" ,gtk+)
4980 ("libgnome-games-support" ,libgnome-games-support)
4981 ("librsvg" ,librsvg)))
4982 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4983 (synopsis "Logic puzzle game")
4984 (description "Five or More is a game where you try to align
4985 five or more objects of the same color and shape causing them to disappear.
4986 On every turn more objects will appear, until the board is full.
4987 Try to last as long as possible.")
4988 (license license:gpl2+)))
4989
4990 (define-public gnome-mines
4991 (package
4992 (name "gnome-mines")
4993 (version "3.36.1")
4994 (source
4995 (origin
4996 (method url-fetch)
4997 (uri (string-append "mirror://gnome/sources/" name "/"
4998 (version-major+minor version) "/"
4999 name "-" version ".tar.xz"))
5000 (sha256
5001 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5002 (build-system meson-build-system)
5003 (arguments
5004 '(#:glib-or-gtk? #t
5005 #:phases
5006 (modify-phases %standard-phases
5007 (add-after 'unpack 'skip-gtk-update-icon-cache
5008 (lambda _
5009 (substitute* "build-aux/meson_post_install.py"
5010 (("gtk-update-icon-cache") (which "true")))
5011 #t)))))
5012 (native-inputs
5013 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5014 ("pkg-config" ,pkg-config)
5015 ("desktop-file-utils" ,desktop-file-utils)
5016 ("intltool" ,intltool)
5017 ("itstool" ,itstool)
5018 ("vala" ,vala)
5019 ("yelp" ,yelp)
5020 ("appstream-glib" ,appstream-glib)))
5021 (inputs
5022 `(("gtk+" ,gtk+)
5023 ("libgnome-games-support" ,libgnome-games-support)
5024 ("librsvg" ,librsvg)))
5025 (home-page "https://wiki.gnome.org/Apps/Mines")
5026 (synopsis "Minesweeper game")
5027 (description
5028 "Mines (previously gnomine) is a puzzle game where you locate mines
5029 floating in an ocean using only your brain and a little bit of luck.")
5030 (license license:gpl2+)))
5031
5032 (define-public gnome-multi-writer
5033 (package
5034 (name "gnome-multi-writer")
5035 (version "3.35.90")
5036 (source
5037 (origin
5038 (method url-fetch)
5039 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5040 (version-major+minor version) "/"
5041 "gnome-multi-writer-" version ".tar.xz"))
5042 (sha256
5043 (base32
5044 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5045 (build-system meson-build-system)
5046 (arguments
5047 '(#:glib-or-gtk? #t
5048 #:phases
5049 (modify-phases %standard-phases
5050 (add-after 'unpack 'skip-post-install
5051 (lambda _
5052 (substitute* "meson.build"
5053 (("meson.add_install_script" &) (string-append "# " &)))
5054 #t)))))
5055 (native-inputs
5056 `(("glib:bin" ,glib "bin")
5057 ("pkg-config" ,pkg-config)))
5058 (inputs
5059 `(("gtk+" ,gtk+)
5060 ("glib" ,glib) ; for gio
5061 ("gusb" ,gusb)
5062 ("udisks" ,udisks)
5063 ("libgudev" ,libgudev)
5064 ("libcanberra" ,libcanberra)
5065 ("polkit" ,polkit)))
5066 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5067 (synopsis "Write to multiple USB devices at once")
5068 (description
5069 "MultiWriter can be used to write an ISO file to multiple USB devices at
5070 once.")
5071 (license license:gpl2+)))
5072
5073 (define-public gnome-sudoku
5074 (package
5075 (name "gnome-sudoku")
5076 (version "3.34.1")
5077 (source
5078 (origin
5079 (method url-fetch)
5080 (uri (string-append "mirror://gnome/sources/" name "/"
5081 (version-major+minor version) "/"
5082 name "-" version ".tar.xz"))
5083 (sha256
5084 (base32
5085 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5086 (build-system meson-build-system)
5087 (arguments
5088 '(#:glib-or-gtk? #t
5089 #:phases
5090 (modify-phases %standard-phases
5091 (add-after 'unpack 'skip-gtk-update-icon-cache
5092 (lambda _
5093 (substitute* "build-aux/post_install.py"
5094 (("gtk-update-icon-cache") (which "true")))
5095 #t)))))
5096 (native-inputs
5097 `(("pkg-config" ,pkg-config)
5098 ("desktop-file-utils" ,desktop-file-utils)
5099 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5100 ("intltool" ,intltool)
5101 ("itstool" ,itstool)
5102 ("vala" ,vala)
5103 ("xmllint" ,libxml2)))
5104 (inputs
5105 `(("gtk+" ,gtk+)
5106 ("json-glib" ,json-glib)
5107 ("libgee" ,libgee)
5108 ("librsvg" ,librsvg)
5109 ("qqwing" ,qqwing)))
5110 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5111 (synopsis "Japanese logic game")
5112 (description
5113 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5114 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5115 possible while still providing features that make playing difficult Sudoku
5116 more fun.")
5117 (license license:gpl2+)))
5118
5119 (define-public gnome-terminal
5120 (package
5121 (name "gnome-terminal")
5122 (version "3.34.2")
5123 (source
5124 (origin
5125 (method url-fetch)
5126 (uri (string-append "mirror://gnome/sources/" name "/"
5127 (version-major+minor version) "/"
5128 name "-" version ".tar.xz"))
5129 (sha256
5130 (base32
5131 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5132 (build-system glib-or-gtk-build-system)
5133 (arguments
5134 '(#:configure-flags
5135 (list "--disable-migration" "--disable-search-provider"
5136 "--without-nautilus-extension")
5137 #:phases
5138 (modify-phases %standard-phases
5139 (add-before 'configure 'patch-/bin/true
5140 (lambda _
5141 (substitute* "configure"
5142 (("/bin/true") (which "true"))))))))
5143 (native-inputs
5144 `(("pkg-config" ,pkg-config)
5145 ("desktop-file-utils" ,desktop-file-utils)
5146 ("intltool" ,intltool)
5147 ("itstool" ,itstool)
5148 ("xmllint" ,libxml2)))
5149 (propagated-inputs
5150 `(("dconf" ,dconf)))
5151 (inputs
5152 `(("gtk+" ,gtk+)
5153 ("vte" ,vte)
5154 ("gnutls" ,gnutls)
5155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5156 ("util-linux" ,util-linux "lib")
5157 ("vala" ,vala)))
5158 (home-page "https://wiki.gnome.org/Apps/Terminal")
5159 (synopsis "Terminal emulator")
5160 (description
5161 "GNOME Terminal is a terminal emulator application for accessing a
5162 UNIX shell environment which can be used to run programs available on
5163 your system.
5164
5165 It supports several profiles, multiple tabs and implements several
5166 keyboard shortcuts.")
5167 (license license:gpl3+)))
5168
5169 (define-public colord
5170 (package
5171 (name "colord")
5172 (version "1.4.5")
5173 (source
5174 (origin
5175 (method url-fetch)
5176 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5177 "colord-" version ".tar.xz"))
5178 (sha256
5179 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5180 (build-system meson-build-system)
5181 (arguments
5182 '(;; FIXME: One test fails:
5183 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5184 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5185 ;; application/x-zerosize
5186 #:tests? #f
5187 #:glib-or-gtk? #t
5188 #:configure-flags (list "-Dlocalstatedir=/var"
5189 ;; No dep on systemd.
5190 "-Dsystemd=false"
5191 ;; Wants to install to global completion dir;
5192 ;; punt.
5193 "-Dbash_completion=false"
5194 "-Ddaemon_user=colord"
5195 "-Dsane=true"
5196 "-Dvapi=true"
5197 ;; Requires spotread.
5198 "-Dargyllcms_sensor=false"
5199 ;; TODO: Requires docbook2x.
5200 "-Dman=false")
5201 #:phases
5202 (modify-phases %standard-phases
5203 (add-before 'configure 'patch-build-system
5204 (lambda* (#:key outputs #:allow-other-keys)
5205 (substitute* "rules/meson.build"
5206 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5207 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5208 #t))
5209 (add-before 'configure 'set-sqlite3-file-name
5210 (lambda* (#:key inputs #:allow-other-keys)
5211 ;; "colormgr dump" works by invoking the "sqlite3" command.
5212 ;; Record its absolute file name.
5213 (let ((sqlite (assoc-ref inputs "sqlite")))
5214 (substitute* "client/cd-util.c"
5215 (("\"sqlite3\"")
5216 (string-append "\"" sqlite "/bin/sqlite3\"")))
5217 #t))))))
5218 (native-inputs
5219 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5220 ("gettext" ,gettext-minimal)
5221 ("gobject-introspection" ,gobject-introspection)
5222 ("gtk-doc" ,gtk-doc)
5223 ("pkg-config" ,pkg-config)
5224 ("vala" ,vala)))
5225 (propagated-inputs
5226 ;; colord.pc refers to all these.
5227 `(("glib" ,glib)
5228 ("lcms" ,lcms)
5229 ("udev" ,eudev)))
5230 (inputs
5231 `(("dbus-glib" ,dbus-glib)
5232 ("gusb" ,gusb)
5233 ("libgudev" ,libgudev)
5234 ("libusb" ,libusb)
5235 ("polkit" ,polkit)
5236 ("python" ,python-wrapper)
5237 ("sqlite" ,sqlite)
5238 ("sane-backends" ,sane-backends)))
5239 (home-page "https://www.freedesktop.org/software/colord/")
5240 (synopsis "Color management service")
5241 (description "Colord is a system service that makes it easy to manage,
5242 install and generate color profiles to accurately color manage input and
5243 output devices.")
5244 (license license:gpl2+)))
5245
5246 (define-public geoclue
5247 (package
5248 (name "geoclue")
5249 (version "2.5.7")
5250 (source
5251 (origin
5252 (method url-fetch)
5253 (uri
5254 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5255 version "/geoclue-" version ".tar.bz2"))
5256 (sha256
5257 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5258 (patches (search-patches "geoclue-config.patch"))))
5259 (build-system meson-build-system)
5260 (arguments
5261 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5262 (native-inputs
5263 `(("pkg-config" ,pkg-config)
5264 ("gobject-introspection" ,gobject-introspection)
5265 ("modem-manager" ,modem-manager)
5266 ("libnotify" ,libnotify)
5267 ("gtk-doc" ,gtk-doc)
5268 ("intltool" ,intltool)))
5269 (inputs
5270 `(("avahi" ,avahi)
5271 ("glib:bin" ,glib "bin")
5272 ("glib-networking" ,glib-networking)
5273 ("json-glib" ,json-glib)
5274 ("libsoup" ,libsoup)))
5275 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5276 (synopsis "Geolocation service")
5277 (description "Geoclue is a D-Bus service that provides location
5278 information. The primary goal of the Geoclue project is to make creating
5279 location-aware applications as simple as possible, while the secondary goal is
5280 to ensure that no application can access location information without explicit
5281 permission from user.")
5282 (license license:gpl2+)))
5283
5284 (define-public geocode-glib
5285 (package
5286 (name "geocode-glib")
5287 (version "3.26.2")
5288 (source (origin
5289 (method url-fetch)
5290 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5291 (version-major+minor version) "/"
5292 "geocode-glib-" version ".tar.xz"))
5293 (sha256
5294 (base32
5295 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5296 (build-system meson-build-system)
5297 (arguments
5298 `(#:phases
5299 (modify-phases %standard-phases
5300 ;; The tests require a bunch of locales.
5301 (add-before 'check 'set-locales
5302 (lambda* (#:key inputs #:allow-other-keys)
5303 (setenv "GUIX_LOCPATH"
5304 (string-append (assoc-ref inputs "glibc-locales")
5305 "/lib/locale"))
5306 #t)))))
5307 (native-inputs
5308 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5309 ("glibc-locales" ,glibc-locales) ; for tests
5310 ("gettext" ,gettext-minimal)
5311 ("gobject-introspection" ,gobject-introspection)
5312 ("gtk-doc" ,gtk-doc)
5313 ("pkg-config" ,pkg-config)
5314 ("json-glib" ,json-glib)))
5315 (propagated-inputs
5316 ;; geocode-glib-1.0.pc refers to GIO.
5317 `(("glib" ,glib)))
5318 (inputs
5319 `(("libsoup" ,libsoup)))
5320 (home-page "https://github.com/GNOME/geocode-glib/")
5321 (synopsis "Geocoding and reverse-geocoding library")
5322 (description
5323 "geocode-glib is a convenience library for geocoding (finding longitude,
5324 and latitude from an address) and reverse geocoding (finding an address from
5325 coordinates) using the Nominatim service. geocode-glib caches requests for
5326 faster results and to avoid unnecessary server load.")
5327 (license license:lgpl2.0+)))
5328
5329 (define-public upower
5330 (package
5331 (name "upower")
5332 (version "0.99.11")
5333 (source (origin
5334 (method url-fetch)
5335 (uri (string-append "https://upower.freedesktop.org/releases/"
5336 "upower-" version ".tar.xz"))
5337 (sha256
5338 (base32
5339 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5340 (patches (search-patches "upower-builddir.patch"))
5341 (modules '((guix build utils)))
5342 (snippet
5343 '(begin
5344 ;; Upstream commit
5345 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5346 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5347 ;; 'dbus-configuration-directory' in (gnu services dbus)
5348 ;; expects it in etc/. Thus, move it back to its previous
5349 ;; location.
5350 (substitute* "src/Makefile.in"
5351 (("^dbusconfdir =.*$")
5352 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5353 #t))))
5354 (build-system glib-or-gtk-build-system)
5355 (arguments
5356 '(#:phases
5357 (modify-phases %standard-phases
5358 (add-before 'check 'pre-check
5359 (lambda* (#:key inputs #:allow-other-keys)
5360 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5361 "/lib")))
5362 (setenv "LD_LIBRARY_PATH" umockdev))
5363 #t)))
5364 #:configure-flags (list "--localstatedir=/var"
5365 (string-append "--with-udevrulesdir="
5366 (assoc-ref %outputs "out")
5367 "/lib/udev/rules.d"))))
5368 (native-inputs
5369 `(("gobject-introspection" ,gobject-introspection)
5370 ("pkg-config" ,pkg-config)
5371 ("intltool" ,intltool)
5372 ("python" ,python)
5373
5374 ;; For tests.
5375 ("python-dbus" ,python-dbus)
5376 ("python-dbusmock" ,python-dbusmock)
5377 ("python-pygobject" ,python-pygobject)
5378 ("umockdev" ,umockdev)
5379
5380 ;; For man pages.
5381 ("libxslt" ,libxslt) ;for 'xsltproc'
5382 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5383 ("docbook-xsl" ,docbook-xsl)))
5384 (inputs
5385 `(("dbus-glib" ,dbus-glib)
5386 ("libgudev" ,libgudev)
5387 ("libusb" ,libusb)))
5388 (propagated-inputs
5389 ;; In Requires of upower-glib.pc.
5390 `(("glib" ,glib)))
5391 (home-page "https://upower.freedesktop.org/")
5392 (synopsis "System daemon for managing power devices")
5393 (description
5394 "UPower is an abstraction for enumerating power devices,
5395 listening to device events and querying history and statistics. Any
5396 application or service on the system can access the org.freedesktop.UPower
5397 service via the system message bus.")
5398 (license license:gpl2+)))
5399
5400 (define-public libgweather
5401 (package
5402 (name "libgweather")
5403 (version "3.34.0")
5404 (source (origin
5405 (method url-fetch)
5406 (uri (string-append "mirror://gnome/sources/" name "/"
5407 (version-major+minor version) "/"
5408 name "-" version ".tar.xz"))
5409 (sha256
5410 (base32
5411 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5412 (build-system meson-build-system)
5413 (arguments
5414 `(#:tests? #f ; one of two tests requires network access
5415 #:configure-flags
5416 `(,(string-append "-Dzoneinfo_dir="
5417 (assoc-ref %build-inputs "tzdata")
5418 "/share/zoneinfo"))))
5419 (native-inputs
5420 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5421 ("gobject-introspection" ,gobject-introspection)
5422 ("pkg-config" ,pkg-config)
5423 ("vala" ,vala)
5424 ("intltool" ,intltool)))
5425 (propagated-inputs
5426 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5427 ;; libsoup.
5428 `(("gtk+" ,gtk+)
5429 ("gdk-pixbuf" ,gdk-pixbuf)
5430 ("libxml2" ,libxml2)
5431 ("libsoup" ,libsoup)
5432 ("geocode-glib" ,geocode-glib)))
5433 (inputs
5434 `(("tzdata" ,tzdata)))
5435 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5436 (synopsis "Location, time zone, and weather library for GNOME")
5437 (description
5438 "libgweather is a library to access weather information from online
5439 services for numerous locations.")
5440 (license license:gpl2+)))
5441
5442 (define-public gnome-settings-daemon
5443 (package
5444 (name "gnome-settings-daemon")
5445 (version "3.34.1")
5446 (source
5447 (origin
5448 (method url-fetch)
5449 (uri (string-append "mirror://gnome/sources/" name "/"
5450 (version-major+minor version) "/"
5451 name "-" version ".tar.xz"))
5452 (sha256
5453 (base32
5454 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5455 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5456 (build-system meson-build-system)
5457 (arguments
5458 `(#:glib-or-gtk? #t
5459 #:configure-flags
5460 (list (string-append "-Dudev_dir="
5461 (assoc-ref %outputs "out")
5462 "/lib/udev/rules.d/")
5463 "-Dsystemd=false"
5464 ;; Otherwise, the RUNPATH will lack the final path component.
5465 (string-append "-Dc_link_args=-Wl,-rpath="
5466 (assoc-ref %outputs "out")
5467 "/lib/gnome-settings-daemon-3.0"))
5468
5469 #:phases (modify-phases %standard-phases
5470 (add-before 'configure 'set-baobab-file-name
5471 (lambda* (#:key inputs #:allow-other-keys)
5472 ;; Hard-code the file name of Baobab instead of looking
5473 ;; it up in $PATH. This ensures users get the "Examine"
5474 ;; button in the low disk space notification of GDM even
5475 ;; if they don't have GNOME in their main profile.
5476 (let ((baobab (assoc-ref inputs "baobab")))
5477 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5478 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5479 (string-append "g_strdup (\"" baobab
5480 "/bin/baobab\")")))
5481 #t))))
5482
5483 ;; Color management test can't reach the colord system service.
5484 #:tests? #f))
5485 (native-inputs
5486 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5487 ("pkg-config" ,pkg-config)
5488 ("intltool" ,intltool)
5489 ("xsltproc" ,libxslt)
5490 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5491 ("docbook-xml" ,docbook-xml-4.2)
5492 ("docbook-xsl" ,docbook-xsl)))
5493 (inputs
5494 `(("alsa-lib" ,alsa-lib)
5495 ("baobab" ,baobab)
5496 ("colord" ,colord)
5497 ("libgudev" ,libgudev)
5498 ("upower" ,upower)
5499 ("polkit" ,polkit)
5500 ("pulseaudio" ,pulseaudio)
5501 ("libcanberra" ,libcanberra)
5502 ("libx11" ,libx11)
5503 ("libxtst" ,libxtst)
5504 ("lcms" ,lcms)
5505 ("libnotify" ,libnotify)
5506 ("geoclue" ,geoclue)
5507 ("geocode-glib" ,geocode-glib)
5508 ("libgweather" ,libgweather)
5509 ("gnome-desktop" ,gnome-desktop)
5510 ("nss" ,nss)
5511 ("cups" ,cups)
5512 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5513 ("libwacom" ,libwacom)
5514 ("librsvg" ,librsvg)
5515 ("xf86-input-wacom" ,xf86-input-wacom)
5516 ("wayland" ,wayland)
5517 ("network-manager" ,network-manager)
5518 ("gcr" ,gcr)
5519 ("modem-manager" ,modem-manager)))
5520 (home-page "https://www.gnome.org")
5521 (synopsis "GNOME settings daemon")
5522 (description
5523 "This package contains the daemon responsible for setting the various
5524 parameters of a GNOME session and the applications that run under it. It
5525 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5526 settings, themes, mouse settings, and startup of other daemons.")
5527 (license license:gpl2+)))
5528
5529 (define-public totem-pl-parser
5530 (package
5531 (name "totem-pl-parser")
5532 (version "3.26.5")
5533 (source (origin
5534 (method url-fetch)
5535 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5536 (version-major+minor version) "/"
5537 "totem-pl-parser-" version ".tar.xz"))
5538 (sha256
5539 (base32
5540 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5541 (build-system meson-build-system)
5542 (arguments
5543 ;; FIXME: Tests require gvfs.
5544 `(#:tests? #f))
5545 (native-inputs
5546 `(("intltool" ,intltool)
5547 ("glib" ,glib "bin")
5548 ("gobject-introspection" ,gobject-introspection)
5549 ("pkg-config" ,pkg-config)))
5550 (propagated-inputs
5551 `(("glib" ,glib)
5552 ("gmime" ,gmime)
5553 ("libarchive" ,libarchive)
5554 ("libgcrypt" ,libgcrypt)
5555 ("libxml2" ,libxml2)))
5556 (inputs
5557 `(("libsoup" ,libsoup)))
5558 (home-page "https://projects.gnome.org/totem")
5559 (synopsis "Library to parse and save media playlists for GNOME")
5560 (description "Totem-pl-parser is a GObjects-based library to parse and save
5561 playlists in a variety of formats.")
5562 (license license:lgpl2.0+)))
5563
5564 (define-public aisleriot
5565 (package
5566 (name "aisleriot")
5567 (version "3.22.9")
5568 (source (origin
5569 (method url-fetch)
5570 (uri (string-append "mirror://gnome/sources/aisleriot/"
5571 (version-major+minor version) "/"
5572 "aisleriot-" version ".tar.xz"))
5573 (sha256
5574 (base32
5575 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5576 (build-system glib-or-gtk-build-system)
5577 (arguments
5578 '(#:configure-flags
5579 '("--with-platform=gtk-only"
5580 "--with-card-theme-formats=svg")))
5581 (native-inputs
5582 `(("desktop-file-utils" ,desktop-file-utils)
5583 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5584 ("intltool" ,intltool)
5585 ("itstool" ,itstool)
5586 ("pkg-config" ,pkg-config)
5587 ("xmllint" ,libxml2)))
5588 (inputs
5589 `(("gtk+" ,gtk+)
5590 ("guile" ,guile-2.2)
5591 ("libcanberra" ,libcanberra)
5592 ("librsvg" ,librsvg)))
5593 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5594 (synopsis "Solitaire card games")
5595 (description
5596 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5597 which are easy to play with the aid of a mouse.")
5598 (license license:gpl3+)))
5599
5600 (define-public amtk
5601 (package
5602 (name "amtk")
5603 (version "5.0.2")
5604 (source (origin
5605 (method url-fetch)
5606 (uri (string-append "mirror://gnome/sources/amtk/"
5607 (version-major+minor version) "/"
5608 "amtk-" version ".tar.xz"))
5609 (sha256
5610 (base32
5611 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5612 (build-system gnu-build-system)
5613 (arguments
5614 '(#:configure-flags '("--enable-gtk-doc")))
5615 (native-inputs
5616 `(("gobject-introspection" ,gobject-introspection)
5617 ("glib:bin" ,glib "bin") ; for glib-mkenums
5618 ("gtk-doc" ,gtk-doc)
5619 ("pkg-config" ,pkg-config)))
5620 (inputs
5621 `(("glib" ,glib)
5622 ("gtk+" ,gtk+)))
5623 (home-page "https://wiki.gnome.org/Projects/Amtk")
5624 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5625 (description
5626 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5627 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5628 both a traditional UI or a modern UI with a GtkHeaderBar.")
5629 (license license:lgpl2.1+)))
5630
5631 (define-public devhelp
5632 (package
5633 (name "devhelp")
5634 (version "3.34.0")
5635 (source (origin
5636 (method url-fetch)
5637 (uri (string-append "mirror://gnome/sources/" name "/"
5638 (version-major+minor version) "/"
5639 name "-" version ".tar.xz"))
5640 (sha256
5641 (base32
5642 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5643 (build-system meson-build-system)
5644 (arguments
5645 '(#:glib-or-gtk? #t
5646 #:phases
5647 (modify-phases %standard-phases
5648 (add-after 'unpack 'skip-gtk-update-icon-cache
5649 ;; Don't create 'icon-theme.cache'.
5650 (lambda _
5651 (substitute* "meson_post_install.py"
5652 (("gtk-update-icon-cache") "true"))
5653 #t)))))
5654 (native-inputs
5655 `(("intltool" ,intltool)
5656 ("itstool" ,itstool)
5657 ("gobject-introspection" ,gobject-introspection)
5658 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5659 ("pkg-config" ,pkg-config)))
5660 (inputs
5661 `(("amtk" ,amtk)
5662 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5663 ("webkitgtk" ,webkitgtk)))
5664 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5665 (synopsis "API documentation browser for GNOME")
5666 (description
5667 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5668 natively with GTK-Doc (the API reference system developed for GTK+ and used
5669 throughout GNOME for API documentation).")
5670 (license license:gpl2+)))
5671
5672 (define-public cogl
5673 (package
5674 (name "cogl")
5675 (version "1.22.8")
5676 (source
5677 (origin
5678 (method url-fetch)
5679 (uri (string-append "mirror://gnome/sources/cogl/"
5680 (version-major+minor version) "/"
5681 "cogl-" version ".tar.xz"))
5682 (sha256
5683 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5684 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5685 ;; cogl, corresponding changes may be appropriate in mutter as well.
5686 (build-system gnu-build-system)
5687 (native-inputs
5688 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5689 ("gobject-introspection" ,gobject-introspection)
5690 ("xorg-server" ,xorg-server-for-tests)
5691 ("pkg-config" ,pkg-config)))
5692 (propagated-inputs
5693 `(("glib" ,glib)
5694 ("gdk-pixbuf" ,gdk-pixbuf)
5695 ("libx11" ,libx11)
5696 ("libxext" ,libxext)
5697 ("libxfixes" ,libxfixes)
5698 ("libxdamage" ,libxdamage)
5699 ("libxcomposite" ,libxcomposite)
5700 ("libxrandr" ,libxrandr)))
5701 (inputs
5702 `(("mesa" ,mesa)
5703 ("cairo" ,cairo)
5704 ("pango" ,pango)
5705 ("gstreamer" ,gstreamer)
5706 ("gst-plugins-base" ,gst-plugins-base)
5707 ("wayland" ,wayland)))
5708 (arguments
5709 `(#:disallowed-references (,xorg-server-for-tests)
5710 #:configure-flags (list "--enable-cogl-gst"
5711 "--enable-wayland-egl-platform"
5712 "--enable-wayland-egl-server"
5713
5714 ;; Arrange to pass an absolute file name to
5715 ;; dlopen for libGL.so.
5716 (string-append "--with-gl-libname="
5717 (assoc-ref %build-inputs "mesa")
5718 "/lib/libGL.so"))
5719 #:phases
5720 (modify-phases %standard-phases
5721 (add-after 'unpack 'fix-build-with-mesa-20
5722 (lambda _
5723 ;; Work around a problem with Mesa 20 where some macros used by
5724 ;; Cogl went missing from eglext.h. This can likely be removed
5725 ;; for newer versions of Cogl or Mesa.
5726 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5727 (substitute* '("configure"
5728 "cogl/winsys/cogl-winsys-egl-kms.c")
5729 (("#include <EGL/eglext.h>" all)
5730 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5731 #t))
5732 (add-before 'check 'start-xorg-server
5733 (lambda* (#:key tests? inputs #:allow-other-keys)
5734 (if tests?
5735 (begin
5736 ;; The test suite requires a running X server.
5737 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5738 (assoc-ref inputs "xorg-server")))
5739 (setenv "DISPLAY" ":1")
5740 #t)
5741 (format #t "test suite not run~%"))
5742 #t)))))
5743 (home-page "https://www.cogl3d.org")
5744 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5745 (description
5746 "Cogl is a small library for using 3D graphics hardware to draw pretty
5747 pictures. The API departs from the flat state machine style of OpenGL and is
5748 designed to make it easy to write orthogonal components that can render
5749 without stepping on each others toes.")
5750 (license (list license:expat ; most of the code
5751 license:bsd-3 ; cogl/cogl-point-in-poly.c
5752 license:sgifreeb2.0 ; cogl-path/tesselator/
5753 license:asl2.0)))) ; examples/android/
5754
5755 (define-public clutter
5756 (package
5757 (name "clutter")
5758 (version "1.26.2")
5759 (source
5760 (origin
5761 (method url-fetch)
5762 (uri (string-append "mirror://gnome/sources/" name "/"
5763 (version-major+minor version) "/"
5764 name "-" version ".tar.xz"))
5765 (sha256
5766 (base32
5767 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5768 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5769 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5770 (build-system gnu-build-system)
5771 (outputs '("out"
5772 "doc")) ;9 MiB of gtk-doc HTML pages
5773 (native-inputs
5774 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5775 ("gobject-introspection" ,gobject-introspection)
5776 ("pkg-config" ,pkg-config)
5777 ("xsltproc" ,libxslt)))
5778 (propagated-inputs
5779 `(("cogl" ,cogl)
5780 ("cairo" ,cairo)
5781 ("atk" ,atk)
5782 ("gtk+" ,gtk+)
5783 ("json-glib" ,json-glib)
5784 ("glib" ,glib)
5785 ("libxcomposite" ,libxcomposite)
5786 ("libxdamage" ,libxdamage)
5787 ("libxext" ,libxext)
5788 ("xinput" ,xinput)))
5789 (inputs
5790 `(("libxkbcommon" ,libxkbcommon)
5791 ("udev" ,eudev)))
5792 (arguments
5793 `(#:configure-flags (list "--enable-x11-backend=yes"
5794
5795 ;; This produces share/doc/{clutter,cally}.
5796 (string-append "--with-html-dir="
5797 (assoc-ref %outputs "doc")
5798 "/share/doc"))
5799 ;; XXX FIXME: Get test suite working. It would probably fail in the
5800 ;; same way the cogl tests fail, since clutter is based on cogl.
5801 #:tests? #f))
5802 (home-page "http://www.clutter-project.org")
5803 (synopsis "OpenGL-based interactive canvas library")
5804 (description
5805 "Clutter is an OpenGL-based interactive canvas library, designed for
5806 creating fast, mainly 2D single window applications such as media box UIs,
5807 presentations, kiosk style applications and so on.")
5808 (license license:lgpl2.0+)))
5809
5810 (define-public clutter-gtk
5811 (package
5812 (name "clutter-gtk")
5813 (version "1.8.4")
5814 (source
5815 (origin
5816 (method url-fetch)
5817 (uri (string-append "mirror://gnome/sources/" name "/"
5818 (version-major+minor version) "/"
5819 name "-" version ".tar.xz"))
5820 (sha256
5821 (base32
5822 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5823 (build-system gnu-build-system)
5824 (native-inputs
5825 `(("pkg-config" ,pkg-config)
5826 ("gobject-introspection" ,gobject-introspection)))
5827 (propagated-inputs
5828 ;; clutter-gtk.pc refers to all these.
5829 `(("clutter" ,clutter)
5830 ("gtk+" ,gtk+)))
5831 (home-page "http://www.clutter-project.org")
5832 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5833 (description
5834 "Clutter is an OpenGL-based interactive canvas library, designed for
5835 creating fast, mainly 2D single window applications such as media box UIs,
5836 presentations, kiosk style applications and so on.")
5837 (license license:lgpl2.0+)))
5838
5839 (define-public clutter-gst
5840 (package
5841 (name "clutter-gst")
5842 (version "3.0.27")
5843 (source
5844 (origin
5845 (method url-fetch)
5846 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5847 (version-major+minor version) "/"
5848 "clutter-gst-" version ".tar.xz"))
5849 (sha256
5850 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5851 (build-system gnu-build-system)
5852 (native-inputs
5853 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5854 ("pkg-config" ,pkg-config)
5855 ("gobject-introspection" ,gobject-introspection)))
5856 (inputs
5857 `(("clutter" ,clutter)
5858 ("gstreamer" ,gstreamer)
5859 ("gst-plugins-base" ,gst-plugins-base)))
5860 (home-page "http://www.clutter-project.org")
5861 (synopsis "Integration library for using GStreamer with Clutter")
5862 (description
5863 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5864 It provides a GStreamer sink to upload frames to GL and an actor that
5865 implements the ClutterGstPlayer interface using playbin. Clutter is an
5866 OpenGL-based interactive canvas library.")
5867 (license license:lgpl2.0+)))
5868
5869 (define-public libchamplain
5870 (package
5871 (name "libchamplain")
5872 (version "0.12.16")
5873 (source (origin
5874 (method url-fetch)
5875 (uri (string-append
5876 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5877 version ".tar.xz"))
5878 (sha256
5879 (base32
5880 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5881 (build-system gnu-build-system)
5882 (arguments '(#:configure-flags '("--enable-vala")))
5883 (native-inputs
5884 `(("gobject-introspection" ,gobject-introspection)
5885 ("pkg-config" ,pkg-config)
5886 ("vala" ,vala)))
5887 (propagated-inputs
5888 `(("libsoup" ,libsoup)
5889 ("sqlite" ,sqlite)
5890 ("clutter" ,clutter)
5891 ("clutter-gtk" ,clutter-gtk)
5892 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5893 ("cairo" ,cairo)
5894 ("gtk+3" ,gtk+)
5895 ("glib" ,glib)))
5896 (home-page "https://projects.gnome.org/libchamplain/")
5897 (synopsis "C library providing a ClutterActor to display maps")
5898 (description
5899 "libchamplain is a C library providing a ClutterActor to display maps.
5900 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5901 and Perl bindings are also available. It supports numerous free map sources
5902 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5903 (license license:lgpl2.1+)))
5904
5905 (define-public gom
5906 (package
5907 (name "gom")
5908 (version "0.3.2")
5909 (source
5910 (origin
5911 (method url-fetch)
5912 (uri (string-append "mirror://gnome/sources/gom/"
5913 (version-major+minor version) "/"
5914 "gom-" version ".tar.xz"))
5915 (sha256
5916 (base32
5917 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5918 (build-system gnu-build-system)
5919 (native-inputs
5920 `(("intltool" ,intltool)
5921 ("pkg-config" ,pkg-config)
5922 ("gobject-introspection" ,gobject-introspection)))
5923 (inputs
5924 `(("glib" ,glib)
5925 ("gdk-pixbuf" ,gdk-pixbuf)
5926 ("sqlite" ,sqlite)))
5927 ;; XXX TODO: Figure out how to run the test suite.
5928 (arguments `(#:tests? #f))
5929 (home-page "https://wiki.gnome.org/Projects/Gom")
5930 (synopsis "Object mapper from GObjects to SQLite")
5931 (description
5932 "Gom provides an object mapper from GObjects to SQLite. It helps you
5933 write applications that need to store structured data as well as make complex
5934 queries upon that data.")
5935 (license license:lgpl2.1+)))
5936
5937 (define-public libgnome-games-support
5938 (package
5939 (name "libgnome-games-support")
5940 (version "1.4.4")
5941 (source (origin
5942 (method url-fetch)
5943 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5944 (version-major+minor version) "/"
5945 "libgnome-games-support-" version ".tar.xz"))
5946 (sha256
5947 (base32
5948 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5949 (build-system gnu-build-system)
5950 (arguments
5951 '(#:phases
5952 (modify-phases %standard-phases
5953 (add-before 'check 'pre-check
5954 (lambda _
5955 ;; Tests require a writable HOME.
5956 (setenv "HOME" (getcwd))
5957 #t)))))
5958 (native-inputs
5959 `(("intltool" ,intltool)
5960 ("pkg-config" ,pkg-config)
5961 ("vala" ,vala)))
5962 (propagated-inputs
5963 ;; Required by libgnome-games-support-1.0.pc
5964 `(("gtk+" ,gtk+)
5965 ("libgee" ,libgee)))
5966 (home-page "https://www.gnome.org/")
5967 (synopsis "Useful functionality shared among GNOME games")
5968 (description
5969 "libgnome-games-support is a small library intended for internal use by
5970 GNOME Games, but it may be used by others.")
5971 (license license:lgpl3+)))
5972
5973 (define-public gnome-klotski
5974 (package
5975 (name "gnome-klotski")
5976 (version "3.34.0")
5977 (source (origin
5978 (method url-fetch)
5979 (uri (string-append "mirror://gnome/sources/" name "/"
5980 (version-major+minor version) "/"
5981 name "-" version ".tar.xz"))
5982 (sha256
5983 (base32
5984 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5985 (build-system meson-build-system)
5986 (arguments
5987 '(#:glib-or-gtk? #t
5988 #:phases
5989 (modify-phases %standard-phases
5990 (add-after 'unpack 'skip-gtk-update-icon-cache
5991 ;; Don't create 'icon-theme.cache'.
5992 (lambda _
5993 (substitute* "build-aux/meson_post_install.py"
5994 (("gtk-update-icon-cache") (which "true")))
5995 #t)))))
5996 (native-inputs
5997 `(("desktop-file-utils" ,desktop-file-utils)
5998 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5999 ("intltool" ,intltool)
6000 ("itstool" ,itstool)
6001 ("pkg-config" ,pkg-config)
6002 ("vala" ,vala)
6003 ("xmllint" ,libxml2)))
6004 (inputs
6005 `(("gtk+" ,gtk+)
6006 ("libgnome-games-support" ,libgnome-games-support)
6007 ("librsvg" ,librsvg)))
6008 (home-page "https://wiki.gnome.org/Apps/Klotski")
6009 (synopsis "Sliding block puzzles")
6010 (description
6011 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6012 the patterned block to the area bordered by green markers. To do so, you will
6013 need to slide other blocks out of the way. Complete each puzzle in as few moves
6014 as possible!")
6015 (license license:gpl2+)))
6016
6017 (define-public grilo
6018 (package
6019 (name "grilo")
6020 (version "0.3.12")
6021 (source
6022 (origin
6023 (method url-fetch)
6024 (uri (string-append "mirror://gnome/sources/grilo/"
6025 (version-major+minor version) "/"
6026 "grilo-" version ".tar.xz"))
6027 (sha256
6028 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6029 (build-system meson-build-system)
6030 (native-inputs
6031 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6032 ("intltool" ,intltool)
6033 ("pkg-config" ,pkg-config)
6034 ("gobject-introspection" ,gobject-introspection)
6035 ("gtk-doc" ,gtk-doc)
6036 ("vala" ,vala)))
6037 (inputs
6038 `(("cyrus-sasl" ,cyrus-sasl)
6039 ("glib" ,glib)
6040 ("gtk+" ,gtk+)
6041 ("libxml2" ,libxml2)
6042 ("liboauth" ,liboauth)
6043 ("libsoup" ,libsoup)
6044 ("totem-pl-parser" ,totem-pl-parser)))
6045 (native-search-paths
6046 (list (search-path-specification
6047 (variable "GRL_PLUGIN_PATH")
6048 (files (list (string-append "lib/grilo-"
6049 (version-major+minor version)))))))
6050 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6051 (synopsis "Framework for discovering and browsing media")
6052 (description
6053 "Grilo is a framework focused on making media discovery and browsing easy
6054 for application developers.")
6055 (license license:lgpl2.1+)))
6056
6057 (define-public grilo-plugins
6058 (package
6059 (name "grilo-plugins")
6060 (version "0.3.11")
6061 (source
6062 (origin
6063 (method url-fetch)
6064 (uri (string-append "mirror://gnome/sources/" name "/"
6065 (version-major+minor version) "/"
6066 name "-" version ".tar.xz"))
6067 (sha256
6068 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6069 (build-system meson-build-system)
6070 (native-inputs
6071 `(("gettext" ,gettext-minimal)
6072 ("glib:bin" ,glib "bin")
6073 ("gtk+:bin" ,gtk+ "bin")
6074 ("itstool" ,itstool)
6075 ("pkg-config" ,pkg-config)))
6076 ;; TODO: ahavi, gstreamer
6077 (inputs
6078 `(("grilo" ,grilo)
6079 ;("gmime" ,gmime) ; unused
6080 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6081 ("gom" ,gom)
6082 ;("gssdp" ,gssdp) ; unused
6083 ;("gupnp" ,gupnp) ; unused
6084 ;("gupnp-av" ,gupnp-av) ; unused
6085 ("json-glib" ,json-glib)
6086 ("avahi" ,avahi)
6087 ("libgdata" ,libgdata)
6088 ("libmediaart" ,libmediaart)
6089 ;("librest" ,rest) ; unused
6090 ("libsoup" ,libsoup)
6091 ("totam-pl-parser" ,totem-pl-parser)
6092 ("tracker" ,tracker))) ; unused because it's too old
6093 (arguments
6094 `(#:glib-or-gtk? #t
6095 ;;Disable lua-factory as it needs missing dependencies
6096 #:configure-flags '("-Denable-lua-factory=no")))
6097 (home-page "https://live.gnome.org/Grilo")
6098 (synopsis "Plugins for the Grilo media discovery library")
6099 (description
6100 "Grilo is a framework focused on making media discovery and browsing easy
6101 for application developers. This package provides plugins for common media
6102 discovery protocols.")
6103 (license license:lgpl2.1+)))
6104
6105 (define-public totem
6106 (package
6107 (name "totem")
6108 (version "3.38.0")
6109 (source
6110 (origin
6111 (method url-fetch)
6112 (uri (string-append "mirror://gnome/sources/totem/"
6113 (version-major+minor version) "/"
6114 "totem-" version ".tar.xz"))
6115 (sha256
6116 (base32
6117 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6118 (build-system meson-build-system)
6119 (native-inputs
6120 `(("pkg-config" ,pkg-config)
6121 ("desktop-file-utils" ,desktop-file-utils)
6122 ("gettext" ,gettext-minimal)
6123 ("gobject-introspection" ,gobject-introspection)
6124 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6125 ("itstool" ,itstool)
6126 ("xmllint" ,libxml2)
6127 ("xorg-server" ,xorg-server-for-tests)))
6128 (propagated-inputs
6129 `(("dconf" ,dconf)))
6130 (inputs
6131 `(("gtk+" ,gtk+)
6132 ("gdk-pixbuf" ,gdk-pixbuf)
6133 ("atk" ,atk)
6134 ("cairo" ,cairo)
6135 ("dbus-glib" ,dbus-glib)
6136 ("clutter" ,clutter)
6137 ("clutter-gtk" ,clutter-gtk)
6138 ("clutter-gst" ,clutter-gst)
6139 ("xorgproto" ,xorgproto)
6140 ("libxxf86vm" ,libxxf86vm)
6141 ("libxtst" ,libxtst)
6142 ("libxrandr" ,libxrandr)
6143 ("libxml2" ,libxml2)
6144 ("libsoup" ,libsoup)
6145 ("libpeas" ,libpeas)
6146 ("librsvg" ,librsvg)
6147 ("lirc" ,lirc)
6148 ("gnome-desktop" ,gnome-desktop)
6149 ("gstreamer" ,gstreamer)
6150 ("gst-plugins-base" ,gst-plugins-base)
6151 ("gst-plugins-good" ,gst-plugins-good)
6152 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6153 ("adwaita-icon-theme" ,adwaita-icon-theme)
6154 ("python" ,python)
6155 ("python-pygobject" ,python-pygobject)
6156 ("totem-pl-parser" ,totem-pl-parser)
6157 ("grilo" ,grilo)
6158 ("grilo-plugins" ,grilo-plugins)
6159 ("vala" ,vala)))
6160 (arguments
6161 `(#:glib-or-gtk? #t
6162
6163 ;; Disable automatic GStreamer plugin installation via PackageKit and
6164 ;; all that.
6165 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6166
6167 ;; Do not build .a files for the plugins, it's
6168 ;; completely useless. This saves 2 MiB.
6169 "--default-library" "shared")
6170 #:phases
6171 (modify-phases %standard-phases
6172 (add-after 'unpack 'skip-gtk-update-icon-cache
6173 ;; Don't create 'icon-theme.cache'.
6174 (lambda _
6175 (substitute* "meson_post_install.py"
6176 (("gtk-update-icon-cache") "true"))
6177 #t))
6178 (add-after 'unpack 'patch-failing-test
6179 (lambda _
6180 ;; Work around test failure with GStreamer 1.18, because the test
6181 ;; relies on "und" not being mapped to a particular language:
6182 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6183 (substitute* "src/test-totem.c"
6184 (("und") "nosuchlang"))
6185 #t))
6186 (add-before
6187 'install 'disable-cache-generation
6188 (lambda _
6189 (setenv "DESTDIR" "/")
6190 #t))
6191 (add-before
6192 'check 'pre-check
6193 (lambda _
6194 ;; Tests require a running X server.
6195 (system "Xvfb :1 &")
6196 (setenv "DISPLAY" ":1")
6197 #t))
6198 (add-after
6199 'install 'wrap-totem
6200 (lambda* (#:key inputs outputs #:allow-other-keys)
6201 (let ((out (assoc-ref outputs "out"))
6202 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6203 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6204 (wrap-program (string-append out "/bin/totem")
6205 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6206 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6207 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6208 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6209 #t)))))
6210 (home-page "https://wiki.gnome.org/Apps/Videos")
6211 (synopsis "Simple media player for GNOME based on GStreamer")
6212 (description "Totem is a simple yet featureful media player for GNOME
6213 which can read a large number of file formats.")
6214 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6215 ;; to be used and distributed together with GStreamer and Totem. See
6216 ;; file://COPYING in the source distribution for details.
6217 (license license:gpl2+)))
6218
6219 (define-public rhythmbox
6220 (package
6221 (name "rhythmbox")
6222 (version "3.4.4")
6223 (source (origin
6224 (method url-fetch)
6225 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6226 (version-major+minor version) "/"
6227 "rhythmbox-" version ".tar.xz"))
6228 (sha256
6229 (base32
6230 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6231 (build-system glib-or-gtk-build-system)
6232 (arguments
6233 `(#:configure-flags
6234 (list "--enable-lirc"
6235 "--enable-python"
6236 "--enable-vala"
6237 "--with-brasero"
6238 "--with-gudev"
6239 "--with-libsecret")
6240 #:phases
6241 (modify-phases %standard-phases
6242 (add-after
6243 'install 'wrap-rhythmbox
6244 (lambda* (#:key inputs outputs #:allow-other-keys)
6245 (let ((out (assoc-ref outputs "out"))
6246 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6247 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6248 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6249 (python-path (getenv "PYTHONPATH")))
6250 (wrap-program (string-append out "/bin/rhythmbox")
6251 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6252 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6253 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6254 `("PYTHONPATH" ":" prefix (,python-path))))
6255 #t)))))
6256 (propagated-inputs
6257 `(("dconf" ,dconf)))
6258 (native-inputs
6259 `(("itstool" ,itstool)
6260 ("intltool" ,intltool)
6261 ("glib" ,glib "bin")
6262 ("gobject-introspection" ,gobject-introspection)
6263 ("desktop-file-utils" ,desktop-file-utils)
6264 ("pkg-config" ,pkg-config)
6265 ("xmllint" ,libxml2)))
6266 (inputs
6267 `(("json-glib" ,json-glib)
6268 ("tdb" ,tdb)
6269 ("gnome-desktop" ,gnome-desktop)
6270 ("python" ,python)
6271 ("python-pygobject" ,python2-pygobject)
6272 ("vala" ,vala)
6273 ("gmime" ,gmime)
6274 ("adwaita-icon-theme" ,adwaita-icon-theme)
6275 ("grilo" ,grilo)
6276 ("grilo-plugins" ,grilo-plugins)
6277 ("gstreamer" ,gstreamer)
6278 ("gst-plugins-base" ,gst-plugins-base)
6279 ("gst-plugins-good" ,gst-plugins-good)
6280 ("totem-pl-parser" ,totem-pl-parser)
6281 ("libgudev" ,libgudev)
6282 ;;("libmtp" ,libmtp) FIXME: Not detected
6283 ("libsecret" ,libsecret)
6284 ("libsoup" ,libsoup)
6285 ("libnotify" ,libnotify)
6286 ("libpeas" ,libpeas)
6287 ("lirc" ,lirc)
6288 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6289 ;;("clutter" ,clutter)
6290 ;;("clutter-gtk" ,clutter-gtk)
6291 ;;("clutter-gst" ,clutter-gst)
6292 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6293 ("atk" ,atk)
6294 ("pango" ,pango)
6295 ("gtk+" ,gtk+)
6296 ;; TODO:
6297 ;; * libgpod
6298 ;; * mx
6299 ("brasero" ,brasero)))
6300 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6301 (synopsis "Music player for GNOME")
6302 (description "Rhythmbox is a music playing application for GNOME. It
6303 supports playlists, song ratings, and any codecs installed through gstreamer.")
6304 (license license:gpl2+)))
6305
6306 (define-public eog
6307 (package
6308 (name "eog")
6309 (version "3.34.1")
6310 (source (origin
6311 (method url-fetch)
6312 (uri (string-append "mirror://gnome/sources/" name "/"
6313 (version-major+minor version) "/"
6314 name "-" version ".tar.xz"))
6315 (sha256
6316 (base32
6317 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6318 (build-system meson-build-system)
6319 (arguments
6320 `(#:configure-flags
6321 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6322 (list (string-append "-Dc_link_args=-Wl,-rpath="
6323 (assoc-ref %outputs "out") "/lib/eog"))
6324 #:phases
6325 (modify-phases %standard-phases
6326 (add-after 'unpack 'skip-gtk-update-icon-cache
6327 ;; Don't create 'icon-theme.cache'.
6328 (lambda _
6329 (substitute* "meson_post_install.py"
6330 (("gtk-update-icon-cache") "true"))
6331 #t))
6332 (add-after 'install 'wrap-eog
6333 (lambda* (#:key outputs #:allow-other-keys)
6334 (let ((out (assoc-ref outputs "out"))
6335 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6336 (wrap-program (string-append out "/bin/eog")
6337 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6338 #t)))))
6339 (propagated-inputs
6340 `(("dconf" ,dconf)))
6341 (native-inputs
6342 `(("intltool" ,intltool)
6343 ("itstool" ,itstool)
6344 ("glib" ,glib "bin")
6345 ("gobject-introspection" ,gobject-introspection)
6346 ("pkg-config" ,pkg-config)
6347 ("xmllint" ,libxml2)))
6348 (inputs
6349 `(("gnome-desktop" ,gnome-desktop)
6350 ("shared-mime-info" ,shared-mime-info)
6351 ("adwaita-icon-theme" ,adwaita-icon-theme)
6352 ("exempi" ,exempi)
6353 ("lcms" ,lcms)
6354 ("libexif" ,libexif)
6355 ("libpeas" ,libpeas)
6356 ("libjpeg" ,libjpeg-turbo)
6357 ("librsvg" ,librsvg-next)
6358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6359 ("gtk+" ,gtk+)))
6360 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6361 (synopsis "GNOME image viewer")
6362 (description "Eye of GNOME is the GNOME image viewer. It
6363 supports image conversion, rotation, and slideshows.")
6364 (license license:gpl2+)))
6365
6366 (define-public eog-plugins
6367 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6368 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6369 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6370 ;; 'XDG_DATA_DIRS' appropriately set.
6371 (package
6372 (name "eog-plugins")
6373 (version "3.26.4")
6374 (source (origin
6375 (method url-fetch)
6376 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6377 (version-major+minor version) "/"
6378 "eog-plugins-" version ".tar.xz"))
6379 (sha256
6380 (base32
6381 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6382 (build-system gnu-build-system)
6383 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6384 (synopsis "Extensions for the Eye of GNOME image viewer")
6385 (native-inputs
6386 `(("pkg-config" ,pkg-config)
6387 ("gettext" ,gettext-minimal)))
6388 (inputs
6389 `(("eog" ,eog)
6390 ("glib" ,glib)
6391 ("gtk+" ,gtk+)
6392 ("libpeas" ,libpeas)
6393 ("libexif" ,libexif)
6394 ("libchamplain" ,libchamplain)))
6395 (description
6396 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6397 notably:
6398
6399 @itemize
6400 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6401 @item @dfn{Map}, which displays a map of where the picture was taken on the
6402 side panel;
6403 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6404 @end itemize\n")
6405
6406 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6407 ;; long suspicious byte stream that goes to a
6408 ;; ".gresource.eog_postasa_plugin" ELF section.
6409 (license license:gpl2+)))
6410
6411 (define-public libgudev
6412 (package
6413 (name "libgudev")
6414 (version "232")
6415 (source (origin
6416 (method url-fetch)
6417 (uri (string-append "mirror://gnome/sources/" name "/"
6418 version "/" name "-" version ".tar.xz"))
6419 (sha256
6420 (base32
6421 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6422 (build-system gnu-build-system)
6423 (arguments
6424 '(#:configure-flags
6425 ;; umockdev depends on libgudev.
6426 (list "--disable-umockdev")))
6427 (native-inputs
6428 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6429 ("gobject-introspection" ,gobject-introspection)
6430 ("pkg-config" ,pkg-config)))
6431 (propagated-inputs
6432 `(("glib" ,glib))) ; required by gudev-1.0.pc
6433 (inputs
6434 `(("udev" ,eudev)))
6435 (home-page "https://wiki.gnome.org/Projects/libgudev")
6436 (synopsis "GObject bindings for libudev")
6437 (description
6438 "This library provides GObject bindings for libudev. It was originally
6439 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6440 (license license:lgpl2.1+)))
6441
6442 (define-public gvfs
6443 (package
6444 (name "gvfs")
6445 (version "1.40.1")
6446 (source (origin
6447 (method url-fetch)
6448 (uri (string-append "mirror://gnome/sources/gvfs/"
6449 (version-major+minor version) "/"
6450 "gvfs-" version ".tar.xz"))
6451 (sha256
6452 (base32
6453 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6454 ;; This patch may be removed when upgrading to version 1.46.x.
6455 (patches
6456 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6457 (build-system meson-build-system)
6458 (arguments
6459 '(#:glib-or-gtk? #t
6460 #:configure-flags
6461 (list "-Dsystemduserunitdir=no"
6462 "-Dtmpfilesdir=no"
6463 ;; Otherwise, the RUNPATH will lack the final path component.
6464 (string-append "-Dc_link_args=-Wl,-rpath="
6465 (assoc-ref %outputs "out") "/lib/gvfs"))))
6466 (native-inputs
6467 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6468 ("gettext" ,gettext-minimal)
6469 ("gtk-doc" ,gtk-doc)
6470 ("pkg-config" ,pkg-config)
6471 ("xsltproc" ,libxslt)))
6472 (inputs
6473 `(("avahi" ,avahi)
6474 ("docbook-xml" ,docbook-xml-4.2)
6475 ("docbook-xsl" ,docbook-xsl)
6476 ("dbus" ,dbus)
6477 ("elogind" ,elogind)
6478 ("fuse" ,fuse)
6479 ("gcr" ,gcr)
6480 ("glib" ,glib)
6481 ("gnome-online-accounts" ,gnome-online-accounts)
6482 ("libarchive" ,libarchive)
6483 ("libbluray" ,libbluray)
6484 ("libcap" ,libcap)
6485 ("libcdio-paranoia" ,libcdio-paranoia)
6486 ("libgcrypt" ,libgcrypt)
6487 ("libgdata" ,libgdata)
6488 ("libgphoto2" ,libgphoto2)
6489 ("libgudev" ,libgudev)
6490 ("libimobiledevice" ,libimobiledevice)
6491 ("libmtp" ,libmtp)
6492 ("libnfs" ,libnfs)
6493 ("libsecret" ,libsecret)
6494 ("libsmbclient" ,samba)
6495 ("libsoup" ,libsoup)
6496 ("libxml2" ,libxml2)
6497 ("openssh" ,openssh)
6498 ("polkit" ,polkit)
6499 ("udisks" ,udisks)))
6500 (home-page "https://wiki.gnome.org/gvfs/")
6501 (synopsis "Userspace virtual file system for GIO")
6502 (description
6503 "GVFS is a userspace virtual file system designed to work with the I/O
6504 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6505 to all applications using the GIO API. It also supports exposing the GVFS
6506 mounts to non-GIO applications using FUSE.
6507
6508 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6509 DAV, and others.")
6510 (license license:lgpl2.0+)))
6511
6512 (define-public gusb
6513 (package
6514 (name "gusb")
6515 (version "0.3.5")
6516 (source (origin
6517 (method git-fetch)
6518 (uri (git-reference
6519 (url "https://github.com/hughsie/libgusb")
6520 (commit version)))
6521 (file-name (git-file-name name version))
6522 (sha256
6523 (base32
6524 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6525 (build-system meson-build-system)
6526 (native-inputs
6527 `(("gobject-introspection" ,gobject-introspection)
6528 ("pkg-config" ,pkg-config)
6529 ("vala" ,vala)
6530 ("gtk-doc" ,gtk-doc)))
6531 (propagated-inputs
6532 ;; Both of these are required by gusb.pc.
6533 `(("glib" ,glib)
6534 ("libusb" ,libusb)))
6535 (arguments
6536 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6537 (home-page "https://github.com/hughsie/libgusb")
6538 (synopsis "GLib binding for libusb1")
6539 (description
6540 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6541 asynchronous control, bulk and interrupt transfers with proper cancellation
6542 and integration into a mainloop. This makes it easy to integrate low level
6543 USB transfers with your high-level application or system daemon.")
6544 (license license:lgpl2.1+)))
6545
6546 (define-public simple-scan
6547 (package
6548 (name "simple-scan")
6549 (version "3.38.2")
6550 (source
6551 (origin
6552 (method url-fetch)
6553 (uri (string-append "mirror://gnome/sources/simple-scan/"
6554 (version-major+minor version) "/"
6555 "simple-scan-" version ".tar.xz"))
6556 (sha256
6557 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6558 (build-system meson-build-system)
6559 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6560 (arguments
6561 '(#:glib-or-gtk? #t))
6562 (inputs
6563 `(("gtk" ,gtk+)
6564 ("zlib" ,zlib)
6565 ("cairo" ,cairo)
6566 ("colord" ,colord)
6567 ("gdk-pixbuf" ,gdk-pixbuf)
6568 ("gusb" ,gusb)
6569 ("libsane" ,sane-backends)))
6570 (native-inputs
6571 `(("gettext" ,gettext-minimal)
6572 ("itstool" ,itstool)
6573 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6574 ("pkg-config" ,pkg-config)
6575 ("vala" ,vala)
6576 ("xmllint" ,libxml2)))
6577 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6578 (synopsis "Document and image scanner")
6579 (description
6580 "Document Scanner is an easy-to-use application that lets you connect your
6581 scanner and quickly capture images and documents in an appropriate format. It
6582 supports any scanner for which a suitable SANE driver is available, which is
6583 almost all of them.")
6584 (license license:gpl3+)))
6585
6586 (define-public eolie
6587 (package
6588 (name "eolie")
6589 (version "0.9.101")
6590 (source (origin
6591 (method url-fetch)
6592 (uri (string-append "https://adishatz.org/eolie/eolie-"
6593 version ".tar.xz"))
6594 (sha256
6595 (base32
6596 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6597 (build-system meson-build-system)
6598 (arguments
6599 `(#:glib-or-gtk? #t
6600 #:phases
6601 (modify-phases %standard-phases
6602 (add-after 'unpack 'skip-gtk-update-icon-cache
6603 ;; Don't create 'icon-theme.cache'.
6604 (lambda _
6605 (substitute* "meson_post_install.py"
6606 (("gtk-update-icon-cache") "true"))
6607 #t))
6608 (add-after 'wrap 'wrap-more
6609 (lambda* (#:key inputs outputs #:allow-other-keys)
6610 (let* ((out (assoc-ref outputs "out"))
6611 ;; These libraries must be on LD_LIBRARY_PATH.
6612 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6613 "atk" "gtk+" "gsettings-desktop-schemas"
6614 "gobject-introspection"))
6615 (path (string-join
6616 (map (lambda (lib)
6617 (string-append (assoc-ref inputs lib) "/lib"))
6618 libs)
6619 ":")))
6620 (wrap-program (string-append out "/bin/eolie")
6621 `("LD_LIBRARY_PATH" ":" prefix (,path))
6622 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6623 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6624 #t)))))
6625 (native-inputs
6626 `(("intltool" ,intltool)
6627 ("itstool" ,itstool)
6628 ("pkg-config" ,pkg-config)
6629 ("python" ,python)
6630 ("glib:bin" ,glib "bin")))
6631 (inputs
6632 `(("gobject-introspection" ,gobject-introspection)
6633 ("glib-networking" ,glib-networking)
6634 ("cairo" ,cairo)
6635 ("gtk+" ,gtk+)
6636 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6637 ("python" ,python-wrapper)
6638 ("python-dateutil" ,python-dateutil)
6639 ("python-pyfxa" ,python-pyfxa)
6640 ("python-pygobject" ,python-pygobject)
6641 ("python-pycairo" ,python-pycairo)
6642 ("python-pycrypto" ,python-pycrypto)
6643 ("libsecret" ,libsecret)
6644 ("gtkspell3" ,gtkspell3)
6645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6646 ("webkitgtk" ,webkitgtk)))
6647 (home-page "https://wiki.gnome.org/Apps/Eolie")
6648 (synopsis "Web browser for GNOME")
6649 (description
6650 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6651 a secret password store, an adblocker, and a modern UI.")
6652 (license license:gpl3+)))
6653
6654 (define-public epiphany
6655 (package
6656 (name "epiphany")
6657 (version "3.34.4")
6658 (source (origin
6659 (method url-fetch)
6660 (uri (string-append "mirror://gnome/sources/epiphany/"
6661 (version-major+minor version) "/"
6662 "epiphany-" version ".tar.xz"))
6663 (sha256
6664 (base32
6665 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6666
6667 (build-system meson-build-system)
6668 (arguments
6669 '(#:glib-or-gtk? #t
6670 #:phases
6671 (modify-phases %standard-phases
6672 (add-after 'unpack 'skip-gtk-update-icon-cache
6673 ;; Don't create 'icon-theme.cache'.
6674 (lambda _
6675 (substitute* "post_install.py"
6676 (("gtk-update-icon-cache") "true"))
6677 #t))
6678 (add-after 'unpack 'disable-failing-tests
6679 (lambda _
6680 (substitute* "tests/meson.build"
6681 ;; embed_shell fails, because webkitgtk apparently no longer supports
6682 ;; overriding the ftp schema
6683 ;; web_app_utils fails due to missing network access
6684 (("(embed_shell|web_app_utils)_test,")
6685 "find_program('sh'), args: ['-c', 'exit 77'],"))
6686 #t))
6687 (add-before 'check 'pre-check
6688 (lambda _
6689 ;; Tests require a running X server.
6690 (system "Xvfb :1 &")
6691 (setenv "DISPLAY" ":1")
6692 #t)))
6693 #:configure-flags
6694 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6695 (list (string-append "-Dc_link_args=-Wl,-rpath="
6696 (assoc-ref %outputs "out") "/lib/epiphany"))))
6697 (propagated-inputs
6698 `(("dconf" ,dconf)))
6699 (native-inputs
6700 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6701 ("glib:bin" ,glib "bin") ; for glib-mkenums
6702 ("intltool" ,intltool)
6703 ("itstool" ,itstool)
6704 ("pkg-config" ,pkg-config)
6705 ("xmllint" ,libxml2)
6706 ("xorg-server" ,xorg-server-for-tests)))
6707 (inputs
6708 `(("avahi" ,avahi)
6709 ("gcr" ,gcr)
6710 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6711 ("glib-networking" ,glib-networking)
6712 ("gnome-desktop" ,gnome-desktop)
6713 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6714 ("json-glib" ,json-glib)
6715 ("iso-codes" ,iso-codes)
6716 ("libdazzle" ,libdazzle)
6717 ("libnotify" ,libnotify)
6718 ("libsecret" ,libsecret)
6719 ("libxslt" ,libxslt)
6720 ("nettle" ,nettle) ; for hogweed
6721 ("sqlite" ,sqlite)
6722 ("webkitgtk" ,webkitgtk)))
6723 (home-page "https://wiki.gnome.org/Apps/Web")
6724 (synopsis "GNOME web browser")
6725 (description
6726 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6727 principles are simplicity and standards compliance.")
6728 (license license:gpl2+)))
6729
6730 (define-public d-feet
6731 (package
6732 (name "d-feet")
6733 (version "0.3.14")
6734 (source (origin
6735 (method url-fetch)
6736 (uri (string-append "mirror://gnome/sources/" name "/"
6737 (version-major+minor version) "/"
6738 name "-" version ".tar.xz"))
6739 (sha256
6740 (base32
6741 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6742 (build-system glib-or-gtk-build-system)
6743 (arguments
6744 '(#:out-of-source? #f ; tests need to run in the source directory.
6745 #:phases
6746 (modify-phases %standard-phases
6747 (add-before
6748 'check 'pre-check
6749 (lambda _
6750 ;; The test suite requires a running X server.
6751 (system "Xvfb :1 &")
6752 (setenv "DISPLAY" ":1")
6753 ;; Don't fail on missing '/etc/machine-id'.
6754 (setenv "DBUS_FATAL_WARNINGS" "0")
6755 ;; tests.py and window.py don't meet E402:
6756 ;; E402 module level import not at top of file
6757 (substitute* "src/tests/Makefile"
6758 (("--ignore=E123") "--ignore=E123,E402"))
6759 #t))
6760 (add-after
6761 'install 'wrap-program
6762 (lambda* (#:key outputs #:allow-other-keys)
6763 (let ((prog (string-append (assoc-ref outputs "out")
6764 "/bin/d-feet")))
6765 (wrap-program prog
6766 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6767 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6768 #t))))))
6769 (native-inputs
6770 `(("intltool" ,intltool)
6771 ("itstool" ,itstool)
6772 ("pkg-config" ,pkg-config)
6773 ("python-pep8" ,python-pep8)
6774 ("xmllint" ,libxml2)
6775 ("xorg-server" ,xorg-server-for-tests)))
6776 (inputs
6777 `(("gobject-introspection" ,gobject-introspection)
6778 ("gtk+" ,gtk+)
6779 ("python" ,python-wrapper)
6780 ("hicolor-icon-theme" ,hicolor-icon-theme)
6781 ("python-pygobject" ,python-pygobject)))
6782 (home-page "https://wiki.gnome.org/Apps/DFeet")
6783 (synopsis "D-Bus debugger")
6784 (description
6785 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6786 of running programs and invoke methods on those interfaces.")
6787 (license license:gpl2+)))
6788
6789 (define-public yelp-xsl
6790 (package
6791 (name "yelp-xsl")
6792 (version "3.34.2")
6793 (source
6794 (origin
6795 (method url-fetch)
6796 (uri
6797 (string-append "mirror://gnome/sources/" name "/"
6798 (version-major+minor version) "/"
6799 name "-" version ".tar.xz"))
6800 (sha256
6801 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6802 (build-system gnu-build-system)
6803 (native-inputs
6804 `(("gettext-minimal" ,gettext-minimal)
6805 ("itstool" ,itstool)
6806 ("xmllint" ,libxml2)))
6807 (synopsis "XSL stylesheets for Yelp")
6808 (description "Yelp-XSL is a collection of programs and data files to help
6809 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6810 that can be built upon for help viewers and publishing systems. These
6811 stylesheets output JavaScript and CSS content, and reference images
6812 provided by yelp-xsl. It also redistributes copies of the jQuery and
6813 jQuery.Syntax JavaScript libraries.")
6814 (home-page "https://wiki.gnome.org/Apps/Yelp")
6815 (license
6816 (list
6817 ;; XSLT
6818 license:gpl2+
6819 ;; Images
6820 license:lgpl2.1+
6821 ;; JavaScript
6822 license:expat))))
6823
6824 (define-public yelp
6825 (package
6826 (name "yelp")
6827 (version "3.32.2")
6828 (source (origin
6829 (method url-fetch)
6830 (uri (string-append "mirror://gnome/sources/" name "/"
6831 (version-major+minor version) "/"
6832 name "-" version ".tar.xz"))
6833 (sha256
6834 (base32
6835 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6836 (build-system glib-or-gtk-build-system)
6837 (native-inputs
6838 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6839 ("intltool" ,intltool)
6840 ("itstool" ,itstool)
6841 ("pkg-config" ,pkg-config)))
6842 (propagated-inputs
6843 `(("dconf" ,dconf)))
6844 (inputs
6845 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6846 ("libxslt" ,libxslt)
6847 ("sqlite" ,sqlite)
6848 ("webkitgtk" ,webkitgtk)
6849 ("yelp-xsl" ,yelp-xsl)))
6850 (home-page "https://wiki.gnome.org/Apps/Yelp")
6851 (synopsis "GNOME help browser")
6852 (description
6853 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6854 man, info, and HTML documents. It can locate documents according to the
6855 freedesktop.org help system specification.")
6856 (license license:gpl2+)))
6857
6858 (define-public yelp-tools
6859 (package
6860 (name "yelp-tools")
6861 (version "3.32.2")
6862 (source
6863 (origin
6864 (method url-fetch)
6865 (uri
6866 (string-append "mirror://gnome/sources/" name "/"
6867 (version-major+minor version) "/"
6868 name "-" version ".tar.xz"))
6869 (sha256
6870 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6871 (build-system gnu-build-system)
6872 (native-inputs
6873 `(("pkg-config" ,pkg-config)))
6874 (inputs
6875 `(("yelp-xsl" ,yelp-xsl)))
6876 (propagated-inputs
6877 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6878 `(("itstool" ,itstool)
6879 ("xmllint" ,libxml2)
6880 ("xsltproc" ,libxslt)))
6881 (synopsis "Yelp documentation tools")
6882 (description
6883 "Yelp-tools is a collection of scripts and build utilities to help create,
6884 manage, and publish documentation for Yelp and the web. Most of the heavy
6885 lifting is done by packages like yelp-xsl and itstool. This package just
6886 wraps things up in a developer-friendly way.")
6887 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6888 (license license:gpl2+)))
6889
6890 (define-public libgee
6891 (package
6892 (name "libgee")
6893 (version "0.20.3")
6894 (source (origin
6895 (method url-fetch)
6896 (uri (string-append "mirror://gnome/sources/libgee/"
6897 (version-major+minor version) "/"
6898 "libgee-" version ".tar.xz"))
6899 (sha256
6900 (base32
6901 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6902 (build-system gnu-build-system)
6903 (arguments
6904 `(#:phases
6905 (modify-phases %standard-phases
6906 (add-after 'unpack 'fix-introspection-install-dir
6907 (lambda* (#:key outputs #:allow-other-keys)
6908 (let ((out (assoc-ref outputs "out")))
6909 (substitute* "gee/Makefile.in"
6910 (("@INTROSPECTION_GIRDIR@")
6911 (string-append out "/share/gir-1.0/"))
6912 (("@INTROSPECTION_TYPELIBDIR@")
6913 (string-append out "/lib/girepository-1.0/")))))))))
6914 (native-inputs
6915 `(("glib" ,glib "bin")
6916 ("pkg-config" ,pkg-config)))
6917 (inputs
6918 `(("glib" ,glib)
6919 ("gobject-introspection" ,gobject-introspection)))
6920 (home-page "https://wiki.gnome.org/Projects/Libgee")
6921 (synopsis "GObject collection library")
6922 (description
6923 "Libgee is a utility library providing GObject-based interfaces and
6924 classes for commonly used data structures.")
6925 (license license:lgpl2.1+)))
6926
6927 (define-public gexiv2
6928 (package
6929 (name "gexiv2")
6930 (version "0.12.1")
6931 (source (origin
6932 (method url-fetch)
6933 (uri (string-append "mirror://gnome/sources/" name "/"
6934 (version-major+minor version) "/"
6935 name "-" version ".tar.xz"))
6936 (sha256
6937 (base32
6938 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6939 (build-system meson-build-system)
6940 (native-inputs
6941 `(("gcr" ,gcr)
6942 ("glib" ,glib "bin")
6943 ("pkg-config" ,pkg-config)
6944 ("vala" ,vala)))
6945 (propagated-inputs
6946 ;; Listed in "Requires" section of gexiv2.pc
6947 `(("exiv2" ,exiv2)))
6948 (inputs
6949 `(("glib" ,glib)
6950 ("gobject-introspection" ,gobject-introspection)))
6951 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6952 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6953 (description
6954 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6955 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6956 metadata in photo and video files of various formats.")
6957 (license license:gpl2+)))
6958
6959 (define-public shotwell
6960 (package
6961 (name "shotwell")
6962 (version "0.30.11")
6963 (source (origin
6964 (method url-fetch)
6965 (uri (string-append "mirror://gnome/sources/shotwell/"
6966 (version-major+minor version) "/"
6967 "shotwell-" version ".tar.xz"))
6968 (sha256
6969 (base32
6970 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6971 (build-system meson-build-system)
6972 (arguments
6973 '(#:glib-or-gtk? #t
6974 #:phases
6975 (modify-phases %standard-phases
6976 (add-after 'unpack 'skip-gtk-update-icon-cache
6977 (lambda _
6978 (substitute* "build-aux/meson/postinstall.py"
6979 (("gtk-update-icon-cache") (which "true"))
6980 (("update-desktop-database") (which "true")))
6981 #t)))))
6982 (propagated-inputs
6983 `(("dconf" ,dconf)))
6984 (native-inputs
6985 `(("gettext" ,gettext-minimal)
6986 ("glib:bin" ,glib "bin")
6987 ("itstool" ,itstool)
6988 ("pkg-config" ,pkg-config)
6989 ("vala" ,vala)))
6990 (inputs
6991 `(("gcr" ,gcr)
6992 ("gexiv2" ,gexiv2)
6993 ("gst-plugins-base" ,gst-plugins-base)
6994 ("gstreamer" ,gstreamer)
6995 ("json-glib" ,json-glib)
6996 ("libgdata" ,libgdata)
6997 ("libgee" ,libgee)
6998 ("libgphoto2" ,libgphoto2)
6999 ("libgudev" ,libgudev)
7000 ("libraw" ,libraw)
7001 ("libsoup" ,libsoup)
7002 ("libxml2" ,libxml2)
7003 ("sqlite" ,sqlite)
7004 ("webkitgtk" ,webkitgtk)))
7005 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7006 (synopsis "Photo manager for GNOME 3")
7007 (description
7008 "Shotwell is a digital photo manager designed for the GNOME desktop
7009 environment. It allows you to import photos from disk or camera, organize
7010 them by keywords and events, view them in full-window or fullscreen mode, and
7011 share them with others via social networking and more.")
7012 (license license:lgpl2.1+)))
7013
7014 (define-public file-roller
7015 (package
7016 (name "file-roller")
7017 (version "3.38.0")
7018 (source (origin
7019 (method url-fetch)
7020 (uri (string-append "mirror://gnome/sources/file-roller/"
7021 (version-major+minor version) "/"
7022 "file-roller-" version ".tar.xz"))
7023 (sha256
7024 (base32
7025 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7026 (build-system meson-build-system)
7027 (native-inputs
7028 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7029 ("intltool" ,intltool)
7030 ("itstool" ,itstool)
7031 ("pkg-config" ,pkg-config)
7032 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7033 ("glib:bin" ,glib "bin")))
7034 ;; TODO: Add libnautilus.
7035 (inputs
7036 `(("gtk+" ,gtk+)
7037 ("gdk-pixbuf" ,gdk-pixbuf)
7038 ("json-glib" ,json-glib)
7039 ("libarchive" ,libarchive)
7040 ("libnotify" ,libnotify)
7041 ("nettle" ,nettle)
7042 ("libxml2" ,libxml2)))
7043 (synopsis "Graphical archive manager for GNOME")
7044 (description "File Roller is an archive manager for the GNOME desktop
7045 environment that allows users to view, unpack, and create compressed archives
7046 such as gzip tarballs.")
7047 (home-page "http://fileroller.sourceforge.net/")
7048 (license license:gpl2+)))
7049
7050 (define-public gnome-session
7051 (package
7052 (name "gnome-session")
7053 (version "3.34.2")
7054 (source (origin
7055 (method url-fetch)
7056 (uri (string-append "mirror://gnome/sources/" name "/"
7057 (version-major+minor version) "/"
7058 name "-" version ".tar.xz"))
7059 (sha256
7060 (base32
7061 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7062 (arguments
7063 '(#:glib-or-gtk? #t
7064 #:phases
7065 (modify-phases %standard-phases
7066 (add-before 'configure 'pre-configure
7067 (lambda* (#:key outputs #:allow-other-keys)
7068 ;; Use elogind instead of systemd.
7069 (substitute* "meson.build"
7070 (("libsystemd-login") "libelogind")
7071 (("and libsystemd_daemon_dep.found.*") ","))
7072 (substitute* "gnome-session/gsm-systemd.c"
7073 (("#include <systemd/sd-login.h>")
7074 "#include <elogind/sd-login.h>"))
7075 ;; Remove uses of the systemd daemon.
7076 (substitute* "gnome-session/gsm-autostart-app.c"
7077 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7078 #t))
7079 (add-after 'install 'wrap-gnome-session
7080 (lambda* (#:key inputs outputs #:allow-other-keys)
7081 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7082 (let ((glib (assoc-ref inputs "glib:bin"))
7083 (out (assoc-ref outputs "out")))
7084 (wrap-program (string-append out "/bin/gnome-session")
7085 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7086 #t))))
7087
7088 #:configure-flags
7089 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7090 "-Dman=false" ; FIXME: disabled because of docbook validation error
7091 "-Dsystemd_journal=false")))
7092 (build-system meson-build-system)
7093 (native-inputs
7094 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7095 ("pkg-config" ,pkg-config)
7096 ("intltool" ,intltool)
7097 ("xsltproc" ,libxslt)
7098 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7099 ("docbook-xsl" ,docbook-xsl)
7100 ("docbook-xml" ,docbook-xml)
7101 ("xmlto" ,xmlto)))
7102 (inputs
7103 `(("elogind" ,elogind)
7104 ("gnome-desktop" ,gnome-desktop)
7105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7106 ("gtk+" ,gtk+)
7107 ("json-glib" ,json-glib)
7108 ("libsm" ,libsm)
7109 ("libxcomposite" ,libxcomposite)
7110 ("libxtst" ,libxtst)
7111 ("mesa" ,mesa)
7112 ("upower" ,upower)
7113 ("xtrans" ,xtrans)))
7114 (synopsis "Session manager for GNOME")
7115 (description
7116 "This package contains the GNOME session manager, as well as a
7117 configuration program to choose applications starting on login.")
7118 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7119 (license license:gpl2+)))
7120
7121 (define-public gjs
7122 (package
7123 (name "gjs")
7124 (version "1.58.3")
7125 (source (origin
7126 (method url-fetch)
7127 (uri (string-append "mirror://gnome/sources/" name "/"
7128 (version-major+minor version) "/"
7129 name "-" version ".tar.xz"))
7130 (sha256
7131 (base32
7132 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7133 (build-system gnu-build-system)
7134 (arguments
7135 '(#:phases
7136 (modify-phases %standard-phases
7137 (add-before
7138 'check 'pre-check
7139 (lambda _
7140 ;; The test suite requires a running X server.
7141 (system "Xvfb :1 &")
7142 (setenv "DISPLAY" ":1")
7143
7144 ;; For the missing /etc/machine-id.
7145 (setenv "DBUS_FATAL_WARNINGS" "0")
7146
7147 ;; Our mozjs-38 package does not compile the required Intl API
7148 ;; support for these failing tests.
7149 (substitute* "installed-tests/js/testLocale.js"
7150 ((".*toBeDefined.*") "")
7151 ((".*expect\\(datestr\\).*") ""))
7152 (substitute* "installed-tests/scripts/testCommandLine.sh"
7153 (("Valentín") "")
7154 (("☭") ""))
7155 #t)))))
7156 (native-inputs
7157 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7158 ("pkg-config" ,pkg-config)
7159 ("xmllint" ,libxml2)
7160 ;; For testing
7161 ("dbus-launch" ,dbus)
7162 ("dconf" ,dconf) ; required to properly store settings
7163 ("uuidgen" ,util-linux)
7164 ("xvfb" ,xorg-server-for-tests)))
7165 (propagated-inputs
7166 ;; These are all in the Requires.private field of gjs-1.0.pc.
7167 `(("cairo" ,cairo)
7168 ("gobject-introspection" ,gobject-introspection)
7169 ("mozjs" ,mozjs-60)))
7170 (inputs
7171 `(("gtk+" ,gtk+)
7172 ("readline" ,readline)))
7173 (synopsis "Javascript bindings for GNOME")
7174 (home-page "https://live.gnome.org/Gjs")
7175 (description
7176 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7177 javascript engine and the GObject introspection framework.")
7178 (license license:gpl2+)))
7179
7180 (define-public gedit
7181 (package
7182 (name "gedit")
7183 (version "3.34.1")
7184 (source (origin
7185 (method url-fetch)
7186 (uri (string-append "mirror://gnome/sources/" name "/"
7187 (version-major+minor version) "/"
7188 name "-" version ".tar.xz"))
7189 (sha256
7190 (base32
7191 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7192 (build-system meson-build-system)
7193 (arguments
7194 `(#:glib-or-gtk? #t
7195 #:configure-flags
7196 ;; Otherwise, the RUNPATH will lack the final path component.
7197 (list (string-append "-Dc_link_args=-Wl,-rpath="
7198 (assoc-ref %outputs "out") "/lib/gedit"))
7199
7200 ;; XXX: Generated .h files are sometimes used before being built.
7201 #:parallel-build? #f
7202
7203 #:phases
7204 (modify-phases %standard-phases
7205 (add-after 'unpack 'skip-gtk-update-icon-cache
7206 ;; Don't create 'icon-theme.cache'.
7207 (lambda _
7208 (substitute* "build-aux/meson/post_install.py"
7209 (("gtk-update-icon-cache") (which "true")))
7210 #t))
7211 (add-after 'unpack 'patch-libgd-fetch
7212 (lambda* (#:key inputs #:allow-other-keys)
7213 (let ((libgd (assoc-ref inputs "libgd")))
7214 ;; Calling git is unnecessary because libgd is fetched as a
7215 ;; native input to this package.
7216 (substitute* "meson.build"
7217 ((".*git.*") ""))
7218 (copy-recursively libgd "subprojects/libgd")
7219 #t)))
7220 (add-after 'install 'wrap-gedit
7221 (lambda* (#:key inputs outputs #:allow-other-keys)
7222 (let ((out (assoc-ref outputs "out"))
7223 (gtksourceview (assoc-ref inputs "gtksourceview"))
7224 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7225 (python-path (getenv "PYTHONPATH")))
7226 (wrap-program (string-append out "/bin/gedit")
7227 ;; For plugins.
7228 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7229 `("PYTHONPATH" ":" prefix (,python-path))
7230 ;; For language-specs.
7231 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7232 "/share")))))
7233 #t)))))
7234 (propagated-inputs
7235 `(("dconf" ,dconf)))
7236 (native-inputs
7237 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7238 ("intltool" ,intltool)
7239 ("itstool" ,itstool)
7240 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7241 ("gobject-introspection" ,gobject-introspection)
7242 ("libgd"
7243 ,(origin
7244 (method git-fetch)
7245 (uri (git-reference
7246 (url "https://gitlab.gnome.org/GNOME/libgd")
7247 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7248 (file-name (git-file-name "libgd" version))
7249 (sha256
7250 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7251 ("pkg-config" ,pkg-config)))
7252 (inputs
7253 `(("glib" ,glib)
7254 ("gspell" ,gspell)
7255 ("gtk+" ,gtk+)
7256 ("gtksourceview" ,gtksourceview)
7257 ("libpeas" ,libpeas)
7258 ("libxml2" ,libxml2)
7259 ("iso-codes" ,iso-codes)
7260 ("python-pygobject" ,python-pygobject)
7261 ("python" ,python)
7262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7263 ("libx11" ,libx11)
7264 ("vala" ,vala)
7265 ("adwaita-icon-theme" ,adwaita-icon-theme)
7266 ("libsoup" ,libsoup)
7267 ("gnome-desktop" ,gnome-desktop)))
7268 (home-page "https://wiki.gnome.org/Apps/Gedit")
7269 (synopsis "GNOME text editor")
7270 (description "While aiming at simplicity and ease of use, gedit is a
7271 powerful general purpose text editor.")
7272 (license license:gpl2+)))
7273
7274 (define-public zenity
7275 (package
7276 (name "zenity")
7277 (version "3.32.0")
7278 (source (origin
7279 (method url-fetch)
7280 (uri (string-append "mirror://gnome/sources/zenity/"
7281 (version-major+minor version) "/"
7282 "zenity-" version ".tar.xz"))
7283 (sha256
7284 (base32
7285 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7286 (build-system gnu-build-system)
7287 (native-inputs
7288 `(("gettext" ,gettext-minimal)
7289 ("itstool" ,itstool)
7290 ("pkg-config" ,pkg-config)))
7291 (inputs
7292 `(("libnotify" ,libnotify)
7293 ("webkitgtk" ,webkitgtk)))
7294 (synopsis "Display graphical dialog boxes from shell scripts")
7295 (home-page "https://www.gnome.org")
7296 (description
7297 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7298 to display dialog boxes from the commandline and shell scripts.")
7299 (license license:lgpl2.0+)))
7300
7301 (define-public mutter
7302 (package
7303 (name "mutter")
7304 (version "3.34.2")
7305 (source (origin
7306 (method url-fetch)
7307 (uri (string-append "mirror://gnome/sources/" name "/"
7308 (version-major+minor version) "/"
7309 name "-" version ".tar.xz"))
7310 (sha256
7311 (base32
7312 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7313 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7314 ;; versions of cogl and clutter. As a result, many of the inputs,
7315 ;; propagated-inputs, and configure flags used in cogl and clutter are
7316 ;; needed here as well.
7317 (build-system meson-build-system)
7318 (arguments
7319 '(;; XXX: All mutter tests fail with the following error:
7320 ;; Settings schema 'org.gnome.mutter' is not installed
7321 #:tests? #f
7322 #:glib-or-gtk? #t
7323 #:configure-flags
7324 ;; TODO: Enable profiler when Sysprof is packaged.
7325 (list "-Dprofiler=false"
7326 ;; Otherwise, the RUNPATH will lack the final path component.
7327 (string-append "-Dc_link_args=-Wl,-rpath="
7328 (assoc-ref %outputs "out") "/lib:"
7329 (assoc-ref %outputs "out") "/lib/mutter-5")
7330
7331 ;; The following flags are needed for the bundled clutter
7332 (string-append "-Dxwayland_path="
7333 (assoc-ref %build-inputs "xorg-server-xwayland")
7334 "/bin/Xwayland")
7335
7336 ;; the remaining flags are needed for the bundled cogl
7337 (string-append "-Dopengl_libname="
7338 (assoc-ref %build-inputs "mesa")
7339 "/lib/libGL.so"))
7340 #:phases (modify-phases %standard-phases
7341 (add-after 'unpack 'fix-build-with-mesa-20
7342 (lambda _
7343 ;; Mimic upstream commit a444a4c5f58ea516ad for
7344 ;; compatibility with Mesa 20. Remove for 3.36.
7345 (substitute* '("src/backends/meta-egl-ext.h"
7346 "src/backends/meta-egl.c"
7347 "src/backends/meta-egl.h")
7348 (("#include <EGL/eglext\\.h>" all)
7349 (string-append all "\n#include <EGL/eglmesaext.h>")))
7350 (substitute* "cogl/cogl/meson.build"
7351 (("#include <EGL/eglext\\.h>" all)
7352 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7353 #t)))))
7354 (native-inputs
7355 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7356 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7357 ("gobject-introspection" ,gobject-introspection)
7358 ("intltool" ,intltool)
7359 ("pkg-config" ,pkg-config)
7360 ("xorg-server" ,xorg-server-for-tests)
7361 ;; For git build
7362 ("autoconf" ,autoconf)
7363 ("automake" ,automake)
7364 ("libtool" ,libtool)))
7365 (propagated-inputs
7366 `(;; libmutter.pc refers to these:
7367 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7368 ("gtk+" ,gtk+)
7369 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7370 ("atk" ,atk)
7371 ("cairo" ,cairo)
7372 ("gdk-pixbuf" ,gdk-pixbuf)
7373 ("glib" ,glib)
7374 ("json-glib" ,json-glib)
7375 ("libinput" ,libinput)
7376 ("libx11" ,libx11)
7377 ("libxcomposite" ,libxcomposite)
7378 ("libxdamage" ,libxdamage)
7379 ("libxext" ,libxext)
7380 ("libxfixes" ,libxfixes)
7381 ("libxkbcommon" ,libxkbcommon)
7382 ("libxrandr" ,libxrandr)
7383 ("mesa" ,mesa)
7384 ("pango" ,pango)
7385 ("udev" ,eudev)
7386 ("xinput" ,xinput)))
7387 (inputs
7388 `(("elogind" ,elogind)
7389 ("gnome-desktop" ,gnome-desktop)
7390 ("gnome-settings-daemon" ,gnome-settings-daemon)
7391 ("libcanberra-gtk" ,libcanberra)
7392 ("libgudev" ,libgudev)
7393 ("libice" ,libice)
7394 ("libsm" ,libsm)
7395 ("libwacom" ,libwacom)
7396 ("libxkbfile" ,libxkbfile)
7397 ("libxrandr" ,libxrandr)
7398 ("libxtst" ,libxtst)
7399 ("pipewire" ,pipewire)
7400 ("startup-notification" ,startup-notification)
7401 ("upower-glib" ,upower)
7402 ("xkeyboard-config" ,xkeyboard-config)
7403 ("xorg-server-xwayland" ,xorg-server-xwayland)
7404 ("zenity" ,zenity)))
7405 (synopsis "Window and compositing manager")
7406 (home-page "https://www.gnome.org")
7407 (description
7408 "Mutter is a window and compositing manager that displays and manages your
7409 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7410 Clutter toolkit with solid window-management logic inherited from the Metacity
7411 window manager.")
7412 (license license:gpl2+)))
7413
7414 (define-public gnome-online-accounts
7415 (package
7416 (name "gnome-online-accounts")
7417 (version "3.36.0")
7418 (source (origin
7419 (method url-fetch)
7420 (uri (string-append "mirror://gnome/sources/" name "/"
7421 (version-major+minor version) "/"
7422 name "-" version ".tar.xz"))
7423 (sha256
7424 (base32
7425 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7426 (outputs '("out" "lib"))
7427 (build-system glib-or-gtk-build-system)
7428 (arguments
7429 `(#:configure-flags
7430 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7431 #:phases
7432 (modify-phases %standard-phases
7433 (add-before 'configure 'patch-libgoa-output
7434 (lambda* (#:key outputs #:allow-other-keys)
7435 (let ((lib (assoc-ref outputs "lib")))
7436 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7437 (("@prefix@") lib)
7438 (("@exec_prefix@") lib)
7439 (("@libdir@") (string-append lib "/lib"))
7440 (("@includedir@") (string-append lib "/include"))
7441 (("@datadir@") (string-append lib "/share")))
7442 ;; Make sure gobject-introspection knows about the output
7443 ;; too (see <https://bugs.gnu.org/36535>).
7444 (setenv "outputs" "out lib")
7445 #t))))))
7446 (native-inputs
7447 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7448 ("gobject-introspection" ,gobject-introspection)
7449 ("intltool" ,intltool)
7450 ("pkg-config" ,pkg-config)
7451 ("vala" ,vala)
7452 ("xsltproc" ,libxslt)))
7453 (propagated-inputs
7454 `(("glib" ,glib) ; required by goa-1.0.pc
7455 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7456 (inputs
7457 `(("docbook-xsl" ,docbook-xsl)
7458 ("json-glib" ,json-glib)
7459 ("libsecret" ,libsecret)
7460 ("rest" ,rest)
7461 ("webkitgtk" ,webkitgtk)))
7462 (synopsis "Single sign-on framework for GNOME")
7463 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7464 (description
7465 "GNOME Online Accounts provides interfaces so that applications and
7466 libraries in GNOME can access the user's online accounts. It has providers for
7467 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7468 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7469 (license license:lgpl2.0+)))
7470
7471 (define-public evolution-data-server
7472 (package
7473 (name "evolution-data-server")
7474 (version "3.34.2")
7475 (source (origin
7476 (method url-fetch)
7477 (uri (string-append "mirror://gnome/sources/" name "/"
7478 (version-major+minor version) "/"
7479 name "-" version ".tar.xz"))
7480 (patches (search-patches "evolution-data-server-locales.patch"
7481 "evolution-data-server-libical-compat.patch"))
7482 (sha256
7483 (base32
7484 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7485 (build-system cmake-build-system)
7486 (arguments
7487 '(#:configure-flags
7488 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7489 (runpaths (map (lambda (s)
7490 (string-append lib "/evolution-data-server/" s))
7491 '("addressbook-backends" "calendar-backends"
7492 "camel-providers" "credential-modules"
7493 "registry-modules"))))
7494 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7495 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7496 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7497 "-DENABLE_VALA_BINDINGS=ON"
7498 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7499 (string-append lib "/evolution-data-server;")
7500 (string-join runpaths ";"))
7501 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7502 #:phases
7503 (modify-phases %standard-phases
7504 (add-after 'unpack 'disable-failing-tests
7505 (lambda _
7506 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7507 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7508 (delete-file-recursively "tests/book-migration")
7509 (substitute* "tests/CMakeLists.txt"
7510 (("add_subdirectory\\(book-migration\\)") ""))
7511 #t))
7512 (add-after 'unpack 'patch-paths
7513 (lambda _
7514 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7515 "tests/libedata-book/data-test-utils.c"
7516 "tests/libedata-book/test-book-cache-utils.c"
7517 "tests/libedata-cal/test-cal-cache-utils.c")
7518 (("/bin/rm") (which "rm")))
7519 #t))
7520 (add-before 'configure 'dont-override-rpath
7521 (lambda _
7522 (substitute* "CMakeLists.txt"
7523 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7524 ;; Remove it so the configure flag is respected.
7525 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7526 #t)))))
7527 (native-inputs
7528 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7529 ("gobject-introspection" ,gobject-introspection)
7530 ("gperf" ,gperf)
7531 ("intltool" ,intltool)
7532 ("pkg-config" ,pkg-config)
7533 ("vala" ,vala)
7534 ("python" ,python-wrapper)))
7535 (propagated-inputs
7536 ;; These are all in the Requires field of .pc files.
7537 `(("gtk+" ,gtk+)
7538 ("libical" ,libical)
7539 ("libsecret" ,libsecret)
7540 ("libsoup" ,libsoup)
7541 ("nss" ,nss)
7542 ("sqlite" ,sqlite)))
7543 (inputs
7544 `(("bdb" ,bdb)
7545 ("gcr" ,gcr)
7546 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7547 ("json-glib" ,json-glib)
7548 ("libcanberra" ,libcanberra)
7549 ("libgweather" ,libgweather)
7550 ("mit-krb5" ,mit-krb5)
7551 ("openldap" ,openldap)
7552 ("webkitgtk" ,webkitgtk)))
7553 (synopsis "Store address books and calendars")
7554 (home-page "https://wiki.gnome.org/Apps/Evolution")
7555 (description
7556 "This package provides a unified backend for programs that work with
7557 contacts, tasks, and calendar information. It was originally developed for
7558 Evolution (hence the name), but is now used by other packages as well.")
7559 (license license:lgpl2.0)))
7560
7561 (define-public caribou
7562 (package
7563 (name "caribou")
7564 (version "0.4.21")
7565 (source (origin
7566 (method url-fetch)
7567 (uri (string-append "mirror://gnome/sources/" name "/"
7568 (version-major+minor version) "/"
7569 name "-" version ".tar.xz"))
7570 (sha256
7571 (base32
7572 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7573 (build-system glib-or-gtk-build-system)
7574 (arguments
7575 '(#:phases
7576 (modify-phases %standard-phases
7577 (add-before
7578 'build 'pre-build
7579 (lambda* (#:key outputs #:allow-other-keys)
7580 (let ((out (assoc-ref outputs "out")))
7581 ;; Use absolute shared library path in Caribou-1.0.typelib.
7582 (substitute* "libcaribou/Makefile"
7583 (("--shared-library=libcaribou.so")
7584 (string-append "--shared-library="
7585 out "/lib/libcaribou.so")))
7586 #t)))
7587 (add-after 'install 'wrap-programs
7588 (lambda* (#:key outputs #:allow-other-keys)
7589 (let* ((out (assoc-ref outputs "out"))
7590 (python-path (getenv "PYTHONPATH"))
7591 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7592 (for-each
7593 (lambda (prog)
7594 (wrap-program prog
7595 `("PYTHONPATH" ":" prefix (,python-path))
7596 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7597 (list (string-append out "/bin/caribou-preferences")
7598 (string-append out "/libexec/antler-keyboard"))))
7599 #t)))))
7600 (native-inputs
7601 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7602 ("gobject-introspection" ,gobject-introspection)
7603 ("intltool" ,intltool)
7604 ("pkg-config" ,pkg-config)
7605 ("python" ,python)
7606 ("vala" ,vala)
7607 ("xsltproc" ,libxslt)))
7608 (propagated-inputs
7609 ;; caribou-1.0.pc refers to all these.
7610 `(("libgee" ,libgee)
7611 ("libxklavier" ,libxklavier)
7612 ("libxtst" ,libxtst)
7613 ("gtk+" ,gtk+)))
7614 (inputs
7615 `(("clutter" ,clutter)
7616 ("dconf" ,dconf)
7617 ("gtk+-2" ,gtk+-2)
7618 ("python-pygobject" ,python-pygobject)))
7619 (synopsis "Text entry and UI navigation application")
7620 (home-page "https://wiki.gnome.org/Projects/Caribou")
7621 (description
7622 "Caribou is an input assistive technology intended for switch and pointer
7623 users.")
7624 (license license:lgpl2.1)))
7625
7626 (define-public network-manager
7627 (package
7628 (name "network-manager")
7629 (version "1.24.0")
7630 (source (origin
7631 (method url-fetch)
7632 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7633 (version-major+minor version) "/"
7634 "NetworkManager-" version ".tar.xz"))
7635 (patches (search-patches "network-manager-plugin-path.patch"))
7636 (sha256
7637 (base32
7638 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7639 (modules '((guix build utils)))
7640 (snippet
7641 '(begin
7642 (substitute* "src/devices/wwan/nm-modem-manager.c"
7643 (("systemd") "elogind"))
7644 #t))))
7645 (build-system meson-build-system)
7646 (outputs '("out"
7647 "doc")) ; 8 MiB of gtk-doc HTML
7648 (arguments
7649 `(#:configure-flags
7650 (let ((out (assoc-ref %outputs "out"))
7651 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7652 "/sbin/dhclient")))
7653 (list
7654 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7655 ;; component.
7656 (string-append "-Dc_link_args=-Wl,-rpath="
7657 out "/lib:"
7658 out "/lib/NetworkManager/" ,version)
7659 "-Dsystemd_journal=false"
7660 "-Dsession_tracking=elogind"
7661 "-Dsuspend_resume=elogind"
7662 "-Dsystemdsystemunitdir=no"
7663 "-Dsession_tracking_consolekit=false"
7664 "-Ddhcpcd=no"
7665 "-Ddhcpcanon=no"
7666 "-Dcrypto=gnutls"
7667 "-Diwd=true"
7668 "-Dlibaudit=yes"
7669 "-Dqt=false"
7670 "-Ddocs=true"
7671 "--sysconfdir=/etc"
7672 "--localstatedir=/var"
7673 (string-append "-Dudev_dir="
7674 out "/lib/udev")
7675 (string-append "-Ddbus_conf_dir="
7676 out "/etc/dbus-1/system.d")
7677
7678 (string-append "-Ddhclient=" dhclient)))
7679 #:phases
7680 (modify-phases %standard-phases
7681 (add-before 'configure 'pre-configure
7682 (lambda _
7683 ;; These tests try to test aspects of network-manager's
7684 ;; functionality within restricted containers, but they don't
7685 ;; cope with being already in the Guix build jail as that jail
7686 ;; lacks some features that they would like to proxy over (like
7687 ;; a /sys mount).
7688 (substitute* "src/platform/tests/meson.build"
7689 ((".*test-address-linux.*") "")
7690 ((".*test-cleanup-linux.*") "")
7691 ((".*test-link-linux.*") "")
7692 ((".*test-route-linux.*") ""))
7693 (substitute* "src/devices/tests/meson.build"
7694 ((".*test-acd.*") "")
7695 ((".*test-lldp.*") ""))
7696 #t))
7697 (add-after 'unpack 'patch-docbook-xml
7698 (lambda* (#:key inputs #:allow-other-keys)
7699 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7700 "/xml/dtd/docbook")))
7701 (substitute* (find-files "." ".*\\.(xsl|xml)")
7702 (("http://.*/docbookx\\.dtd")
7703 (string-append xmldoc "/docbookx.dtd")))
7704 #t)))
7705 (add-before 'check 'pre-check
7706 (lambda _
7707 ;; For the missing /etc/machine-id.
7708 (setenv "DBUS_FATAL_WARNINGS" "0")
7709 #t))
7710 (add-before 'install 'no-polkit-magic
7711 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7712 (lambda _
7713 (setenv "PKEXEC_UID" "something")
7714 #t))
7715 (add-after 'install 'move-doc
7716 (lambda* (#:key outputs #:allow-other-keys)
7717 (let ((out (assoc-ref outputs "out"))
7718 (doc (assoc-ref outputs "doc")))
7719 (mkdir-p (string-append doc "/share"))
7720 (for-each (lambda (directory)
7721 (copy-recursively (string-append out directory)
7722 (string-append doc directory))
7723 (delete-file-recursively
7724 (string-append out directory)))
7725 '("/share/doc" "/share/gtk-doc"))
7726 #t))))))
7727 (propagated-inputs
7728 `(("glib" ,glib)))
7729 (native-inputs
7730 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7731 ("gtk-doc" ,gtk-doc)
7732 ("gobject-introspection" ,gobject-introspection)
7733 ("docbook-xml" ,docbook-xml)
7734 ("docbook-xsl" ,docbook-xsl)
7735 ("intltool" ,intltool)
7736 ("libxslt" ,libxslt)
7737 ("libxml2" ,libxml2)
7738 ("pkg-config" ,pkg-config)
7739 ("vala" ,vala)
7740 ;; For testing.
7741 ("python" ,python-wrapper)
7742 ("python-dbus" ,python-dbus)
7743 ("python-pygobject" ,python-pygobject)))
7744 (inputs
7745 `(("curl" ,curl)
7746 ("cyrus-sasl" ,cyrus-sasl)
7747 ("dbus-glib" ,dbus-glib)
7748 ("dnsmasq" ,dnsmasq)
7749 ("eudev" ,eudev)
7750 ("gnutls" ,gnutls)
7751 ("iptables" ,iptables)
7752 ("isc-dhcp" ,isc-dhcp)
7753 ("iwd" ,iwd) ; wpa_supplicant alternative
7754 ("jansson" ,jansson)
7755 ("libaudit" ,audit)
7756 ("libgcrypt" ,libgcrypt)
7757 ("libgudev" ,libgudev)
7758 ("libndp" ,libndp)
7759 ("libnl" ,libnl)
7760 ("libsoup" ,libsoup)
7761 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7762 ("modem-manager" ,modem-manager)
7763 ("newt" ,newt) ;for the 'nmtui' console interface
7764 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7765 ("polkit" ,polkit)
7766 ("ppp" ,ppp)
7767 ("readline" ,readline)
7768 ("util-linux" ,util-linux)
7769 ("elogind" ,elogind)))
7770 (synopsis "Network connection manager")
7771 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7772 (description
7773 "NetworkManager is a system network service that manages your network
7774 devices and connections, attempting to keep active network connectivity when
7775 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7776 devices, and provides VPN integration with a variety of different VPN
7777 services.")
7778 ;; “This NetworkManager project consists of the daemon, client tools, and
7779 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7780 ;; GPL-2.0+.”
7781 (license (list license:gpl2+
7782 license:lgpl2.1+))
7783 (properties '((upstream-name . "NetworkManager")))))
7784
7785 (define-public network-manager-openvpn
7786 (package
7787 (name "network-manager-openvpn")
7788 (version "1.8.12")
7789 (source (origin
7790 (method url-fetch)
7791 (uri (string-append
7792 "mirror://gnome/sources/NetworkManager-openvpn/"
7793 (version-major+minor version)
7794 "/NetworkManager-openvpn-" version ".tar.xz"))
7795 (sha256
7796 (base32
7797 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7798 (build-system gnu-build-system)
7799 (arguments
7800 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7801 #:phases
7802 (modify-phases %standard-phases
7803 (add-after 'configure 'patch-path
7804 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7805 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7806 "/sbin/openvpn"))
7807 (modprobe (string-append (assoc-ref inputs "kmod")
7808 "/bin/modprobe"))
7809 (pretty-ovpn (string-append "\"" ovpn "\"")))
7810 (for-each
7811 (lambda (file)
7812 (substitute* file
7813 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7814 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7815 (("\"/sbin/openvpn\"") pretty-ovpn)
7816 (("/sbin/modprobe") modprobe)))
7817 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7818 #t)))))
7819 (native-inputs
7820 `(("pkg-config" ,pkg-config)
7821 ("intltool" ,intltool)))
7822 (inputs
7823 `(("gtk+" ,gtk+)
7824 ("kmod" ,kmod)
7825 ("openvpn" ,openvpn)
7826 ("network-manager" ,network-manager)
7827 ("libnma" ,libnma)
7828 ("libsecret" ,libsecret)))
7829 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7830 (synopsis "OpenVPN plug-in for NetworkManager")
7831 (description
7832 "This extension of NetworkManager allows it to take care of connections
7833 to virtual private networks (VPNs) via OpenVPN.")
7834 (license license:gpl2+)
7835 (properties `((upstream-name . "NetworkManager-openvpn")))))
7836
7837 (define-public network-manager-vpnc
7838 (package
7839 (name "network-manager-vpnc")
7840 (version "1.2.6")
7841 (source (origin
7842 (method url-fetch)
7843 (uri (string-append
7844 "mirror://gnome/sources/NetworkManager-vpnc/"
7845 (version-major+minor version)
7846 "/NetworkManager-vpnc-" version ".tar.xz"))
7847 (sha256
7848 (base32
7849 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7850 (build-system gnu-build-system)
7851 (arguments
7852 `(#:configure-flags '("--enable-absolute-paths"
7853 "--localstatedir=/var"
7854 ;; libnm-glib has been removed from network-manager
7855 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7856 "--with-libnm-glib=no")
7857 #:phases
7858 (modify-phases %standard-phases
7859 (add-after 'configure 'patch-path
7860 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7861 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7862 "/sbin/vpnc"))
7863 (modprobe (string-append (assoc-ref inputs "kmod")
7864 "/bin/modprobe"))
7865 (pretty-ovpn (string-append "\"" vpnc "\"")))
7866 (substitute* "src/nm-vpnc-service.c"
7867 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7868 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7869 (("\"/sbin/vpnc\"") pretty-ovpn)
7870 (("/sbin/modprobe") modprobe)))
7871 #t)))))
7872 (native-inputs
7873 `(("pkg-config" ,pkg-config)
7874 ("intltool" ,intltool)))
7875 (inputs
7876 `(("gtk+" ,gtk+)
7877 ("kmod" ,kmod)
7878 ("vpnc" ,vpnc)
7879 ("network-manager" ,network-manager)
7880 ("libnma" ,libnma)
7881 ("libsecret" ,libsecret)))
7882 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7883 (synopsis "VPNC plug-in for NetworkManager")
7884 (description
7885 "Support for configuring virtual private networks based on VPNC.
7886 Compatible with Cisco VPN concentrators configured to use IPsec.")
7887 (license license:gpl2+)
7888 (properties `((upstream-name . "NetworkManager-vpnc")))))
7889
7890 (define-public network-manager-openconnect
7891 (package
7892 (name "network-manager-openconnect")
7893 (version "1.2.6")
7894 (source (origin
7895 (method url-fetch)
7896 (uri (string-append
7897 "mirror://gnome/sources/NetworkManager-openconnect/"
7898 (version-major+minor version)
7899 "/NetworkManager-openconnect-" version ".tar.xz"))
7900 (sha256
7901 (base32
7902 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7903 (build-system gnu-build-system)
7904 (arguments
7905 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7906 #:phases
7907 (modify-phases %standard-phases
7908 (add-after 'configure 'patch-path
7909 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7910 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7911 "/sbin/openconnect"))
7912 (modprobe (string-append (assoc-ref inputs "kmod")
7913 "/bin/modprobe"))
7914 (pretty-ovpn (string-append "\"" openconnect "\"")))
7915 (substitute* "src/nm-openconnect-service.c"
7916 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7917 (("/sbin/modprobe") modprobe)))
7918 #t)))))
7919 (native-inputs
7920 `(("intltool" ,intltool)
7921 ("libnma" ,libnma)
7922 ("pkg-config" ,pkg-config)))
7923 (inputs
7924 `(("gcr" ,gcr)
7925 ("gtk+" ,gtk+)
7926 ("kmod" ,kmod)
7927 ("libsecret" ,libsecret)
7928 ("libxml2" ,libxml2)
7929 ("lz4" ,lz4)
7930 ("network-manager" ,network-manager)
7931 ("openconnect" ,openconnect)))
7932 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7933 (synopsis "OpenConnect plug-in for NetworkManager")
7934 (description
7935 "This extension of NetworkManager allows it to take care of connections
7936 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7937 Cisco's AnyConnect SSL VPN.")
7938 (license license:gpl2+)
7939 (properties `((upstream-name . "NetworkManager-openconnect")
7940
7941 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7942 ;; file refers to account "nm-openconnect". Specify it here
7943 ;; so that 'network-manager-service-type' creates it.
7944 (user-accounts . ("nm-openconnect"))))))
7945
7946 (define-public mobile-broadband-provider-info
7947 (package
7948 (name "mobile-broadband-provider-info")
7949 (version "20190116")
7950 (source (origin
7951 (method url-fetch)
7952 (uri (string-append
7953 "mirror://gnome/sources/"
7954 "mobile-broadband-provider-info/" version "/"
7955 "mobile-broadband-provider-info-" version ".tar.xz"))
7956 (sha256
7957 (base32
7958 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7959 (build-system gnu-build-system)
7960 (arguments
7961 `(#:tests? #f)) ; no tests
7962 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7963 (synopsis "Database of broadband connection configuration")
7964 (description "Database of broadband connection configuration.")
7965 (license license:public-domain)))
7966
7967 (define-public network-manager-applet
7968 (package
7969 (name "network-manager-applet")
7970 (version "1.16.0")
7971 (source (origin
7972 (method url-fetch)
7973 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7974 (version-major+minor version) "/"
7975 "network-manager-applet-" version ".tar.xz"))
7976 (sha256
7977 (base32
7978 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7979 (build-system meson-build-system)
7980 (arguments
7981 '(#:glib-or-gtk? #t))
7982 (native-inputs
7983 `(("intltool" ,intltool)
7984 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7985 ("gobject-introspection" ,gobject-introspection)
7986 ("gtk-doc" ,gtk-doc)
7987 ("pkg-config" ,pkg-config)))
7988 (propagated-inputs
7989 ;; libnm-gtk.pc refers to all these.
7990 `(("dbus-glib" ,dbus-glib)
7991 ("gtk+" ,gtk+)
7992 ("network-manager" ,network-manager)
7993 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7994 ("libnma" ,libnma)))
7995 (inputs
7996 `(("gcr" ,gcr)
7997 ("libgudev" ,libgudev)
7998 ("libnotify" ,libnotify)
7999 ("libsecret" ,libsecret)
8000 ("libselinux" ,libselinux)
8001 ("jansson" ,jansson) ; for team support
8002 ("modem-manager" ,modem-manager)))
8003 (synopsis "Applet for managing network connections")
8004 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8005 (description
8006 "This package contains a systray applet for NetworkManager. It displays
8007 the available networks and allows users to easily switch between them.")
8008 (license license:gpl2+)))
8009
8010 (define-public libxml++
8011 (package
8012 (name "libxml++")
8013 (version "3.0.1")
8014 (source (origin
8015 (method url-fetch)
8016 (uri (string-append "mirror://gnome/sources/" name "/"
8017 (version-major+minor version) "/"
8018 name "-" version ".tar.xz"))
8019 (sha256
8020 (base32
8021 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8022 (build-system gnu-build-system)
8023 ;; libxml++-3.0.pc refers to all these.
8024 (propagated-inputs
8025 `(("libxml2" ,libxml2)
8026 ("glibmm" ,glibmm)))
8027 (native-inputs
8028 `(("perl" ,perl)
8029 ("pkg-config" ,pkg-config)))
8030 (home-page "http://libxmlplusplus.sourceforge.net/")
8031 (synopsis "C++ wrapper for XML parser library libxml2")
8032 (description
8033 "This package provides a C++ wrapper for the XML parser library
8034 libxml2.")
8035 (license license:lgpl2.1+)))
8036
8037 (define-public libxml++-2
8038 (package
8039 (inherit libxml++)
8040 (name "libxml++")
8041 (version "2.40.1")
8042 (source (origin
8043 (method url-fetch)
8044 (uri (string-append "mirror://gnome/sources/" name "/"
8045 (version-major+minor version) "/"
8046 name "-" version ".tar.xz"))
8047 (sha256
8048 (base32
8049 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8050
8051 (define-public gdm
8052 (package
8053 (name "gdm")
8054 (version "3.34.1")
8055 (source (origin
8056 (method url-fetch)
8057 (uri (string-append "mirror://gnome/sources/" name "/"
8058 (version-major+minor version) "/"
8059 name "-" version ".tar.xz"))
8060 (sha256
8061 (base32
8062 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8063 (patches (search-patches "gdm-default-session.patch"))))
8064 (build-system glib-or-gtk-build-system)
8065 (arguments
8066 '(#:configure-flags
8067 `("--without-plymouth"
8068 "--disable-systemd-journal"
8069
8070 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8071 ;; instead of having to replace it (i.e., stopping the mingetty
8072 ;; service for TTY 1 before starting GDM).
8073 "--with-initial-vt=7"
8074
8075 ;; Use '/etc/environment' for locale settings instead of the
8076 ;; systemd-specific '/etc/locale.conf'.
8077 "--with-lang-file=/etc/environment"
8078
8079 ,(string-append "--with-udevdir="
8080 (assoc-ref %outputs "out") "/lib/udev")
8081
8082 "--localstatedir=/var"
8083 ,(string-append "--with-default-path="
8084 (string-join '("/run/setuid-programs"
8085 "/run/current-system/profile/bin"
8086 "/run/current-system/profile/sbin")
8087 ":"))
8088 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8089 ;; XDG_DATA_DIRS so that it finds its schemas.
8090 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8091 #:phases
8092 (modify-phases %standard-phases
8093 (add-before
8094 'configure 'pre-configure
8095 (lambda* (#:key inputs outputs #:allow-other-keys)
8096 ;; We don't have <systemd/sd-daemon.h>.
8097 (substitute* '("common/gdm-log.c"
8098 "daemon/gdm-server.c"
8099 "daemon/gdm-session-worker.c"
8100 "daemon/gdm-session-worker-job.c")
8101 (("#include <systemd/sd-daemon\\.h>") ""))
8102 ;; Use elogind for sd-login.
8103 (substitute* '("common/gdm-common.c"
8104 "daemon/gdm-local-display-factory.c"
8105 "daemon/gdm-manager.c"
8106 "libgdm/gdm-user-switching.c")
8107 (("#include <systemd/sd-login\\.h>")
8108 "#include <elogind/sd-login.h>"))
8109 ;; Check for elogind.
8110 (substitute* '("configure")
8111 (("libsystemd")
8112 "libelogind"))
8113 ;; Look for system-installed sessions in
8114 ;; /run/current-system/profile/share.
8115 (substitute* '("libgdm/gdm-sessions.c"
8116 "daemon/gdm-session.c"
8117 "daemon/gdm-display.c"
8118 "daemon/gdm-launch-environment.c")
8119 (("DATADIR \"/x")
8120 "\"/run/current-system/profile/share/x")
8121 (("DATADIR \"/wayland")
8122 "\"/run/current-system/profile/share/wayland")
8123 (("DATADIR \"/gnome")
8124 "\"/run/current-system/profile/share/gnome"))
8125 (let ((propagate '("GDM_CUSTOM_CONF"
8126 "GDM_DBUS_DAEMON"
8127 "GDM_X_SERVER"
8128 "GDM_X_SESSION"
8129 ;; XXX: Remove this once GNOME Shell is
8130 ;; a dependency of GDM.
8131 "XDG_DATA_DIRS")))
8132 (substitute* "daemon/gdm-session.c"
8133 (("set_up_session_environment \\(self\\);")
8134 (apply string-append
8135 "set_up_session_environment (self);\n"
8136 (map (lambda (name)
8137 (string-append
8138 "gdm_session_set_environment_variable "
8139 "(self, \"" name "\","
8140 "g_getenv (\"" name "\"));\n"))
8141 propagate)))))
8142 ;; Find the configuration file using an environment variable.
8143 (substitute* '("common/gdm-settings.c")
8144 (("GDM_CUSTOM_CONF")
8145 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8146 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8147 " : GDM_CUSTOM_CONF)")))
8148 ;; Use service-supplied path to X.
8149 (substitute* '("daemon/gdm-server.c")
8150 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8151 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8152 (substitute* '("daemon/gdm-wayland-session.c"
8153 "daemon/gdm-x-session.c")
8154 (("\"dbus-daemon\"")
8155 "g_getenv (\"GDM_DBUS_DAEMON\")")
8156 (("X_SERVER")
8157 "g_getenv (\"GDM_X_SERVER\")")
8158 (("GDMCONFDIR \"/Xsession\"")
8159 "g_getenv (\"GDM_X_SESSION\")"))
8160 ;; Use an absolute path for GNOME Session.
8161 (substitute* "daemon/gdm-launch-environment.c"
8162 (("\"gnome-session\"")
8163 (string-append "\"" (assoc-ref inputs "gnome-session")
8164 "/bin/gnome-session\"")))
8165 ;; Do not automatically select the placeholder session.
8166 (substitute* "daemon/gdm-session.c"
8167 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8168 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8169 "(g_strcmp0(search_dirs[i], \""
8170 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8171 "\") == 0 && "
8172 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8173 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8174 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8175 #t))
8176 ;; GDM requires that there be at least one desktop entry
8177 ;; file. This phase installs a hidden one that simply
8178 ;; fails. This enables users to use GDM with a
8179 ;; '~/.xsession' script with no other desktop entry files.
8180 ;; See <https://bugs.gnu.org/35068>.
8181 (add-after 'install 'install-placeholder-desktop-entry
8182 (lambda* (#:key inputs outputs #:allow-other-keys)
8183 (let* ((out (assoc-ref outputs "out"))
8184 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8185 (fail (string-append sessions "/fail.desktop")))
8186 (mkdir-p sessions)
8187 (with-output-to-file fail
8188 (lambda ()
8189 (for-each
8190 display
8191 '("[Desktop Entry]\n"
8192 "Encoding=UTF-8\n"
8193 "Type=Application\n"
8194 "Name=Fail\n"
8195 "Comment=This session fails immediately.\n"
8196 "NoDisplay=true\n"
8197 "Exec=false\n"))))
8198 #t)))
8199 ;; GDM needs GNOME Session to run these applications. We link
8200 ;; their autostart files in `share/gdm/greeter/autostart'
8201 ;; because GDM explicitly tells GNOME Session to look there.
8202 ;;
8203 ;; XXX: GNOME Shell should be linked here too, but currently
8204 ;; GNOME Shell depends on GDM.
8205 (add-after 'install 'link-autostart-files
8206 (lambda* (#:key inputs outputs #:allow-other-keys)
8207 (let* ((out (assoc-ref outputs "out"))
8208 (autostart (string-append out "/share/gdm/"
8209 "greeter/autostart"))
8210 (settings (assoc-ref inputs "gnome-settings-daemon")))
8211 (mkdir-p autostart)
8212 (with-directory-excursion autostart
8213 (for-each (lambda (desktop)
8214 (symlink desktop (basename desktop)))
8215 (find-files (string-append settings "/etc/xdg"))))
8216 #t))))))
8217 (native-inputs
8218 `(("dconf" ,dconf)
8219 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8220 ("gobject-introspection" ,gobject-introspection)
8221 ("intltool" ,intltool)
8222 ("itstool" ,itstool)
8223 ("pkg-config" ,pkg-config)
8224 ("xmllint" ,libxml2)))
8225 (inputs
8226 `(("accountsservice" ,accountsservice)
8227 ("check" ,check-0.14) ;for testing
8228 ("elogind" ,elogind)
8229 ("gnome-session" ,gnome-session)
8230 ("gnome-settings-daemon" ,gnome-settings-daemon)
8231 ("gtk+" ,gtk+)
8232 ("iso-codes" ,iso-codes)
8233 ("libcanberra" ,libcanberra)
8234 ("linux-pam" ,linux-pam)))
8235 (synopsis "Display manager for GNOME")
8236 (home-page "https://wiki.gnome.org/Projects/GDM/")
8237 (description
8238 "GNOME Display Manager is a system service that is responsible for
8239 providing graphical log-ins and managing local and remote displays.")
8240 (license license:gpl2+)))
8241
8242 (define-public libgtop
8243 (package
8244 (name "libgtop")
8245 (version "2.40.0")
8246 (source (origin
8247 (method url-fetch)
8248 (uri (string-append "mirror://gnome/sources/libgtop/"
8249 (version-major+minor version) "/"
8250 "libgtop-" version ".tar.xz"))
8251 (sha256
8252 (base32
8253 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8254 (build-system gnu-build-system)
8255 (native-inputs
8256 `(("gobject-introspection" ,gobject-introspection)
8257 ("intltool" ,intltool)
8258 ("perl" ,perl)
8259 ("pkg-config" ,pkg-config)))
8260 (propagated-inputs
8261 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8262 (synopsis "Portable system access library")
8263 (home-page "https://www.gnome.org/")
8264 (description
8265 "LibGTop is a library to get system specific data such as CPU and memory
8266 usage and information about running processes.")
8267 (license license:gpl2+)))
8268
8269 (define-public gnome-bluetooth
8270 (package
8271 (name "gnome-bluetooth")
8272 (version "3.34.2")
8273 (source (origin
8274 (method url-fetch)
8275 (uri (string-append "mirror://gnome/sources/" name "/"
8276 (version-major+minor version) "/"
8277 name "-" version ".tar.xz"))
8278 (sha256
8279 (base32
8280 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8281 (build-system meson-build-system)
8282 (native-inputs
8283 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8284 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8285 ("gobject-introspection" ,gobject-introspection)
8286 ("intltool" ,intltool)
8287 ("pkg-config" ,pkg-config)
8288 ("xmllint" ,libxml2)))
8289 (propagated-inputs
8290 ;; gnome-bluetooth-1.0.pc refers to all these.
8291 `(("glib" ,glib)
8292 ("gtk+" ,gtk+)))
8293 (inputs
8294 `(("eudev" ,eudev)
8295 ("libcanberra" ,libcanberra)
8296 ("libnotify" ,libnotify)))
8297 (synopsis "GNOME Bluetooth subsystem")
8298 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8299 (description
8300 "This package contains tools for managing and manipulating Bluetooth
8301 devices using the GNOME desktop.")
8302 (license license:lgpl2.1+)))
8303
8304 (define-public gnome-control-center
8305 (package
8306 (name "gnome-control-center")
8307 (version "3.34.2")
8308 (source (origin
8309 (method url-fetch)
8310 (uri (string-append "mirror://gnome/sources/" name "/"
8311 (version-major+minor version) "/"
8312 name "-" version ".tar.xz"))
8313 (sha256
8314 (base32
8315 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8316 (build-system meson-build-system)
8317 (arguments
8318 '(#:glib-or-gtk? #t
8319 #:configure-flags
8320 (list "-Dcheese=false"
8321 (string-append "-Dgnome_session_libexecdir="
8322 (assoc-ref %build-inputs "gnome-session")
8323 "/libexec"))
8324 #:phases
8325 (modify-phases %standard-phases
8326 (add-before 'configure 'patch-paths
8327 (lambda* (#:key inputs #:allow-other-keys)
8328 (let ((libc (assoc-ref inputs "libc"))
8329 (tzdata (assoc-ref inputs "tzdata"))
8330 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8331 (nm-applet (assoc-ref inputs "network-manager-applet"))
8332 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8333 (substitute* "panels/datetime/tz.h"
8334 (("/usr/share/zoneinfo/zone.tab")
8335 (string-append tzdata "/share/zoneinfo/zone.tab")))
8336 (substitute* "tests/datetime/test-endianess.c"
8337 (("/usr/share/locale")
8338 (string-append libc "/share/locale")))
8339 (substitute* "panels/region/cc-region-panel.c"
8340 (("\"gkbd-keyboard-display")
8341 (string-append "\"" libgnomekbd
8342 "/bin/gkbd-keyboard-display")))
8343 (substitute* '("panels/network/net-device-wifi.c"
8344 "panels/network/net-device.c"
8345 "panels/network/connection-editor/net-connection-editor.c")
8346 (("\"nm-connection-editor")
8347 (string-append "\"" nm-applet
8348 "/bin/nm-connection-editor")))
8349 (substitute* '("panels/user-accounts/run-passwd.c")
8350 (("/usr/bin/passwd")
8351 "/run/setuid-programs/passwd"))
8352 (substitute* "panels/info/cc-info-overview-panel.c"
8353 (("DATADIR \"/gnome/gnome-version.xml\"")
8354 (string-append "\"" gnome-desktop
8355 "/share/gnome/gnome-version.xml\"")))
8356 #t)))
8357 (add-after 'unpack 'skip-gtk-update-icon-cache
8358 ;; Don't create 'icon-theme.cache'.
8359 (lambda _
8360 (substitute* "build-aux/meson/meson_post_install.py"
8361 (("gtk-update-icon-cache") (which "true")))
8362 #t)))))
8363 (native-inputs
8364 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8365 ("intltool" ,intltool)
8366 ("pkg-config" ,pkg-config)
8367 ("xsltproc" ,libxslt)
8368 ;; For tests
8369 ("hicolor-icon-theme" ,hicolor-icon-theme)
8370 ("python-dbusmock" ,python-dbusmock)
8371 ("xorg-server" ,xorg-server-for-tests)))
8372 (inputs
8373 `(("accountsservice" ,accountsservice)
8374 ("clutter-gtk" ,clutter-gtk)
8375 ("colord-gtk" ,colord-gtk)
8376 ("cups" ,cups)
8377 ("dconf" ,dconf)
8378 ("docbook-xsl" ,docbook-xsl)
8379 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8380 ("gnome-bluetooth" ,gnome-bluetooth)
8381 ("gnome-desktop" ,gnome-desktop)
8382 ("gnome-online-accounts" ,gnome-online-accounts)
8383 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8384 ("gnome-session" ,gnome-session)
8385 ("gnome-settings-daemon" ,gnome-settings-daemon)
8386 ("grilo" ,grilo)
8387 ("gsound" ,gsound)
8388 ("ibus" ,ibus)
8389 ("libcanberra" ,libcanberra)
8390 ("libgnomekbd" ,libgnomekbd)
8391 ("libgudev" ,libgudev)
8392 ("libgtop" ,libgtop)
8393 ("libnma" ,libnma)
8394 ("libpwquality" ,libpwquality)
8395 ("libsecret" ,libsecret)
8396 ("libsoup" ,libsoup)
8397 ("libxml2" ,libxml2)
8398 ("libwacom" ,libwacom)
8399 ("mesa" ,mesa)
8400 ("mit-krb5" ,mit-krb5)
8401 ("modem-manager" ,modem-manager)
8402 ("network-manager-applet" ,network-manager-applet)
8403 ("polkit" ,polkit)
8404 ("pulseaudio" ,pulseaudio)
8405 ("smbclient" ,samba)
8406 ("tzdata" ,tzdata)
8407 ("udisks" ,udisks)
8408 ("upower" ,upower)))
8409 (synopsis "Utilities to configure the GNOME desktop")
8410 (home-page "https://www.gnome.org/")
8411 (description
8412 "This package contains configuration applets for the GNOME desktop,
8413 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8414 properties, sound setup, desktop theme and background, user interface
8415 properties, screen resolution, and other GNOME parameters.")
8416 (license license:gpl2+)))
8417
8418 (define-public gnome-shell
8419 (package
8420 (name "gnome-shell")
8421 (version "3.34.2")
8422 (source (origin
8423 (method url-fetch)
8424 (uri (string-append "mirror://gnome/sources/" name "/"
8425 (version-major+minor version) "/"
8426 name "-" version ".tar.xz"))
8427 (sha256
8428 (base32
8429 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8430 (patches (search-patches "gnome-shell-theme.patch"
8431 "gnome-shell-disable-test.patch"))
8432 (modules '((guix build utils)))
8433 (snippet
8434 #~(begin
8435 ;; Copy images for use on the GDM log-in screen.
8436 (copy-file #$(file-append %artwork-repository
8437 "/slim/0.x/background.png")
8438 "data/theme/guix-background.png")
8439 (copy-file #$(file-append %artwork-repository
8440 "/logo/Guix-horizontal-white.svg")
8441 "data/theme/guix-logo.svg")
8442 #t))))
8443 (build-system meson-build-system)
8444 (arguments
8445 `(#:glib-or-gtk? #t
8446 #:disallowed-references ((,glib "bin")
8447 ,inkscape ,libxslt
8448 ,ruby-sass)
8449 #:configure-flags
8450 (list "-Dsystemd=false"
8451 ;; Otherwise, the RUNPATH will lack the final path component.
8452 (string-append "-Dc_link_args=-Wl,-rpath="
8453 (assoc-ref %outputs "out")
8454 "/lib/gnome-shell"))
8455
8456 #:modules ((guix build meson-build-system)
8457 (guix build utils)
8458 (srfi srfi-1))
8459
8460 #:phases
8461 (modify-phases %standard-phases
8462 (add-after 'unpack 'fix-keysdir
8463 (lambda* (#:key outputs #:allow-other-keys)
8464 (let* ((out (assoc-ref outputs "out"))
8465 (keysdir (string-append
8466 out "/share/gnome-control-center/keybindings")))
8467 (substitute* "meson.build"
8468 (("keysdir =.*")
8469 (string-append "keysdir = '" keysdir "'\n")))
8470 #t)))
8471 (add-before 'configure 'convert-logo-to-png
8472 (lambda* (#:key inputs #:allow-other-keys)
8473 ;; Convert the logo from SVG to PNG.
8474 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8475 "data/theme/guix-logo.svg")))
8476 (add-before 'configure 'record-absolute-file-names
8477 (lambda* (#:key inputs #:allow-other-keys)
8478 (substitute* "js/misc/ibusManager.js"
8479 (("'ibus-daemon'")
8480 (string-append "'" (assoc-ref inputs "ibus")
8481 "/bin/ibus-daemon'")))
8482 (substitute* "js/ui/status/keyboard.js"
8483 (("'gkbd-keyboard-display'")
8484 (string-append "'" (assoc-ref inputs "libgnomekbd")
8485 "/bin/gkbd-keyboard-display'")))
8486 #t))
8487 (add-before 'check 'pre-check
8488 (lambda* (#:key inputs #:allow-other-keys)
8489 ;; Tests require a running X server.
8490 (system "Xvfb :1 &")
8491 (setenv "DISPLAY" ":1")
8492 #t))
8493 (add-after 'install 'wrap-programs
8494 (lambda* (#:key inputs outputs #:allow-other-keys)
8495 (let ((out (assoc-ref outputs "out"))
8496 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8497 (python-path (getenv "PYTHONPATH")))
8498 (wrap-program (string-append out "/bin/gnome-shell")
8499 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8500 ;; FIXME: gnome-shell loads these libraries with unqualified
8501 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8502 ;; alternative might be to patch gnome-shell.
8503 `("LD_LIBRARY_PATH" ":" prefix
8504 ,(map (lambda (pkg)
8505 (string-append (assoc-ref inputs pkg) "/lib"))
8506 '("gdk-pixbuf"
8507 "gnome-bluetooth" "librsvg" "libgweather"))))
8508 (for-each
8509 (lambda (prog)
8510 (wrap-program (string-append out "/bin/" prog)
8511 `("PYTHONPATH" ":" prefix (,python-path))
8512 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8513 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8514 #t)))
8515 (replace 'glib-or-gtk-wrap
8516 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8517 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8518 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8519 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8520 ;; phase. Fix that since we don't need these.
8521 (wrap #:inputs (fold alist-delete inputs
8522 '("inkscape" "intltool" "glib:bin"))
8523 #:outputs outputs)))))))
8524 (native-inputs
8525 `(("asciidoc" ,asciidoc)
8526 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8527 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8528 ("gobject-introspection" ,gobject-introspection)
8529 ("inkscape" ,inkscape)
8530 ("intltool" ,intltool)
8531 ("pkg-config" ,pkg-config)
8532 ("python" ,python)
8533 ("ruby-sass" ,ruby-sass)
8534 ("sassc" ,sassc)
8535 ("xsltproc" ,libxslt)
8536 ;; For tests
8537 ("xorg-server" ,xorg-server-for-tests)))
8538 (inputs
8539 `(("accountsservice" ,accountsservice)
8540 ("caribou" ,caribou)
8541 ("docbook-xsl" ,docbook-xsl)
8542 ("evolution-data-server" ,evolution-data-server)
8543 ("gcr" ,gcr)
8544 ("gdm" ,gdm)
8545 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8546 ("gjs" ,gjs)
8547 ("gnome-autoar" ,gnome-autoar)
8548 ("gnome-bluetooth" ,gnome-bluetooth)
8549 ("gnome-desktop" ,gnome-desktop)
8550 ("gnome-settings-daemon" ,gnome-settings-daemon)
8551 ("gst-plugins-base" ,gst-plugins-base)
8552 ("ibus" ,ibus)
8553 ("libcanberra" ,libcanberra)
8554 ("libcroco" ,libcroco)
8555 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8556 ("libgweather" ,libgweather)
8557 ("libnma" ,libnma)
8558 ("libsoup" ,libsoup)
8559 ("mesa-headers" ,mesa-headers)
8560 ("mutter" ,mutter)
8561 ("network-manager-applet" ,network-manager-applet)
8562 ("polkit" ,polkit)
8563 ("pulseaudio" ,pulseaudio)
8564 ("python-pygobject" ,python-pygobject)
8565 ("startup-notification" ,startup-notification)
8566 ("telepathy-logger" ,telepathy-logger)
8567 ("upower" ,upower)
8568 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8569 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8570 ("librsvg" ,librsvg)
8571 ("geoclue" ,geoclue)))
8572 (synopsis "Desktop shell for GNOME")
8573 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8574 (description
8575 "GNOME Shell provides core user interface functions for the GNOME desktop,
8576 like switching to windows and launching applications.")
8577 (license license:gpl2+)))
8578
8579 (define-public gtk-vnc
8580 (package
8581 (name "gtk-vnc")
8582 (version "1.0.0")
8583 (source
8584 (origin
8585 (method url-fetch)
8586 (uri
8587 (string-append "mirror://gnome/sources/" name "/"
8588 (version-major+minor version) "/"
8589 name "-" version ".tar.xz"))
8590 (sha256
8591 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8592 (build-system meson-build-system)
8593 (arguments
8594 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8595 (native-inputs
8596 `(("gjs" ,gjs)
8597 ("glib:bin" ,glib "bin")
8598 ("gobject-introspection" ,gobject-introspection)
8599 ("intltool" ,intltool)
8600 ("node" ,node)
8601 ("perl" ,perl)
8602 ("pkg-config" ,pkg-config)
8603 ("python" ,python-wrapper)
8604 ("vala" ,vala)))
8605 (inputs
8606 `(("cairo" ,cairo)
8607 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8608 ("glib" ,glib)
8609 ("gnutls" ,gnutls)
8610 ("libgcrypt" ,libgcrypt)
8611 ("libsasl" ,cyrus-sasl)
8612 ("pulseaudio" ,pulseaudio)
8613 ("x11" ,libx11)
8614 ("zlib" ,zlib)))
8615 (propagated-inputs
8616 `(("gtk+" ,gtk+)))
8617 (synopsis "VNC client viewer widget for GTK+")
8618 (description "GTK-VNC is a project providing client side APIs for the RFB
8619 protocol / VNC remote desktop technology. It is built using coroutines allowing
8620 it to be completely asynchronous while remaining single threaded. It provides a
8621 core C library, and bindings for Python (PyGTK).")
8622 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8623 (license license:lgpl2.1+)))
8624
8625 (define-public gnome-autoar
8626 (package
8627 (name "gnome-autoar")
8628 (version "0.2.4")
8629 (source (origin
8630 (method url-fetch)
8631 (uri (string-append "mirror://gnome/sources/" name "/"
8632 (version-major+minor version) "/"
8633 name "-" version ".tar.xz"))
8634 (sha256
8635 (base32
8636 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8637 (build-system glib-or-gtk-build-system)
8638 (native-inputs
8639 `(("gobject-introspection" ,gobject-introspection)
8640 ("pkg-config" ,pkg-config)))
8641 (propagated-inputs
8642 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8643 (inputs
8644 `(("gtk+" ,gtk+)))
8645 (synopsis "Archives integration support for GNOME")
8646 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8647 (description
8648 "GNOME Autoar is a library which makes creating and extracting archives
8649 easy, safe, and automatic.")
8650 (license license:lgpl2.1+)))
8651
8652 (define-public tracker
8653 (package
8654 (name "tracker")
8655 (version "2.3.5")
8656 (source (origin
8657 (method url-fetch)
8658 (uri (string-append "mirror://gnome/sources/tracker/"
8659 (version-major+minor version) "/"
8660 "tracker-" version ".tar.xz"))
8661 (sha256
8662 (base32
8663 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8664 (build-system meson-build-system)
8665 (arguments
8666 `(#:glib-or-gtk? #t
8667 #:configure-flags
8668 ;; Otherwise, the RUNPATH will lack the final path component.
8669 (list (string-append "-Dc_link_args=-Wl,-rpath="
8670 (assoc-ref %outputs "out") "/lib:"
8671 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8672 #:phases
8673 (modify-phases %standard-phases
8674 (add-before 'check 'pre-check
8675 (lambda _
8676 ;; Some tests expect to write to $HOME.
8677 (setenv "HOME" "/tmp")
8678 #t)))))
8679 (native-inputs
8680 `(("glib:bin" ,glib "bin")
8681 ("gobject-introspection" ,gobject-introspection)
8682 ("python-pygobject" ,python-pygobject)
8683 ("intltool" ,intltool)
8684 ("pkg-config" ,pkg-config)
8685 ("vala" ,vala)))
8686 (inputs
8687 `(("dbus" ,dbus)
8688 ("sqlite" ,sqlite)
8689 ("libxml2" ,libxml2)
8690 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8691 ("json-glib" ,json-glib)
8692 ("libsoup" ,libsoup)))
8693 (synopsis "Metadata database, indexer and search tool")
8694 (home-page "https://wiki.gnome.org/Projects/Tracker")
8695 (description
8696 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8697
8698 It is a middleware component aimed at desktop application developers who want
8699 their apps to browse and search user content. It's not designed to be used
8700 directly by desktop users, but it provides a commandline tool named
8701 @command{tracker} for the adventurous.
8702
8703 Tracker allows your application to instantly perform full-text searches across
8704 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8705 example. This is achieved by indexing the user's home directory in the
8706 background.
8707
8708 Tracker also allows your application to query and list content that the user
8709 has stored. For example, GNOME Music displays all the music files that are
8710 found by Tracker. This means that GNOME Music doesn't need to maintain a
8711 database of its own.
8712
8713 If you need to go beyond simple searches, Tracker is also a linked data
8714 endpoint and it understands SPARQL. ")
8715 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8716 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8717 ;; libstemmer is bsd-3 and the rest is gpl2+.
8718 (license (list license:gpl2+
8719 license:bsd-3
8720 license:lgpl2.1+))))
8721
8722 (define-public tracker-miners
8723 (package
8724 (name "tracker-miners")
8725 (version "2.3.4")
8726 (source (origin
8727 (method url-fetch)
8728 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8729 (version-major+minor version)
8730 "/tracker-miners-" version ".tar.xz"))
8731 (sha256
8732 (base32
8733 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8734 (build-system meson-build-system)
8735 (arguments
8736 `(#:glib-or-gtk? #t
8737 #:configure-flags
8738 (list "-Dminer_rss=false" ; libgrss is required.
8739 ;; Ensure the RUNPATH contains all installed library locations.
8740 (string-append "-Dc_link_args=-Wl,-rpath="
8741 (assoc-ref %outputs "out")
8742 "/lib/tracker-miners-2.0")
8743 ;; TODO: Enable functional tests. Currently, the following error
8744 ;; appears:
8745 ;; Exception: The functional tests require DConf to be the default
8746 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8747 "-Dfunctional_tests=false")))
8748 (native-inputs
8749 `(("dbus" ,dbus)
8750 ("intltool" ,intltool)
8751 ("glib:bin" ,glib "bin")
8752 ("gobject-introspection" ,gobject-introspection)
8753 ("pkg-config" ,pkg-config)
8754 ("python-pygobject" ,python-pygobject)))
8755 (inputs
8756 `(("exempi" ,exempi)
8757 ("ffmpeg" ,ffmpeg)
8758 ("flac" ,flac)
8759 ("giflib" ,giflib)
8760 ("glib" ,glib)
8761 ("gstreamer" ,gstreamer)
8762 ("icu4c" ,icu4c)
8763 ("libcue" ,libcue)
8764 ("libexif" ,libexif)
8765 ("libgsf" ,libgsf)
8766 ("libgxps" ,libgxps)
8767 ("libiptcdata" ,libiptcdata)
8768 ("libjpeg" ,libjpeg-turbo)
8769 ("libosinfo" ,libosinfo)
8770 ("libpng" ,libpng)
8771 ("libseccomp" ,libseccomp)
8772 ("libtiff" ,libtiff)
8773 ("libvorbis" ,libvorbis)
8774 ("libxml2" ,libxml2)
8775 ("poppler" ,poppler)
8776 ("taglib" ,taglib)
8777 ("totem-pl-parser" ,totem-pl-parser)
8778 ("tracker" ,tracker)
8779 ("upower" ,upower)
8780 ("zlib" ,zlib)))
8781 (synopsis "Metadata database, indexer and search tool")
8782 (home-page "https://wiki.gnome.org/Projects/Tracker")
8783 (description
8784 "Tracker is an advanced framework for first class objects with associated
8785 metadata and tags. It provides a one stop solution for all metadata, tags,
8786 shared object databases, search tools and indexing.")
8787 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8788 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8789 (license (list license:gpl2+
8790 license:lgpl2.1+
8791 license:lgpl2.0+))))
8792
8793 (define-public nautilus
8794 (package
8795 (name "nautilus")
8796 (version "3.34.2")
8797 (source (origin
8798 (method url-fetch)
8799 (uri (string-append "mirror://gnome/sources/" name "/"
8800 (version-major+minor version) "/"
8801 name "-" version ".tar.xz"))
8802 (sha256
8803 (base32
8804 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8805 (build-system meson-build-system)
8806 (arguments
8807 '(#:glib-or-gtk? #t
8808 #:phases
8809 (modify-phases %standard-phases
8810 (add-after 'unpack 'skip-gtk-update-icon-cache
8811 ;; Don't create 'icon-theme.cache'.
8812 (lambda _
8813 (substitute* "build-aux/meson/postinstall.py"
8814 (("gtk-update-icon-cache") "true"))
8815 #t)))
8816 ;; XXX: FAIL: check-nautilus
8817 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8818 #:tests? #f))
8819 (native-inputs
8820 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8821 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8822 ("gobject-introspection" ,gobject-introspection)
8823 ("intltool" ,intltool)
8824 ("pkg-config" ,pkg-config)))
8825 (inputs
8826 `(("dconf" ,dconf)
8827 ("gexiv2" ,gexiv2)
8828 ("gvfs" ,gvfs)
8829 ("exempi" ,exempi)
8830 ("gnome-desktop" ,gnome-desktop)
8831 ("gnome-autoar" ,gnome-autoar)
8832 ("gst-plugins-base" ,gst-plugins-base)
8833 ("libseccomp" ,libseccomp)
8834 ("libselinux" ,libselinux)
8835 ("tracker" ,tracker)
8836 ("tracker-miners" ,tracker-miners)
8837 ;; XXX: gtk+ is required by libnautilus-extension.pc
8838 ;;
8839 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8840 ;; package. See:
8841 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8842 ("gtk+" ,gtk+)
8843 ("libexif" ,libexif)
8844 ("libxml2" ,libxml2)))
8845 (synopsis "File manager for GNOME")
8846 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8847 (description
8848 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8849 design and behaviour, giving the user a simple way to navigate and manage its
8850 files.")
8851 (license license:gpl2+)))
8852
8853 (define-public baobab
8854 (package
8855 (name "baobab")
8856 (version "3.38.0")
8857 (source (origin
8858 (method url-fetch)
8859 (uri (string-append
8860 "mirror://gnome/sources/" name "/"
8861 (version-major+minor version) "/"
8862 name "-" version ".tar.xz"))
8863 (sha256
8864 (base32
8865 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8866 (build-system meson-build-system)
8867 (arguments
8868 '(#:glib-or-gtk? #t))
8869 (native-inputs
8870 `(("intltool" ,intltool)
8871 ("pkg-config" ,pkg-config)
8872 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8873 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8874 ("itstool" ,itstool)
8875 ("xmllint" ,libxml2)
8876 ("glib" ,glib "bin")
8877 ("vala" ,vala)))
8878 (inputs
8879 `(("gtk+" ,gtk+)))
8880 (synopsis "Disk usage analyzer for GNOME")
8881 (description
8882 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8883 usage in the GNOME desktop environment. It can easily scan device volumes or
8884 a specific user-requested directory branch (local or remote). Once the scan
8885 is complete it provides a graphical representation of each selected folder.")
8886 (home-page "https://wiki.gnome.org/Apps/Baobab")
8887 (license license:gpl2+)))
8888
8889 (define-public gnome-backgrounds
8890 (package
8891 (name "gnome-backgrounds")
8892 (version "3.34.0")
8893 (source
8894 (origin
8895 (method url-fetch)
8896 (uri (string-append "mirror://gnome/sources/" name "/"
8897 (version-major+minor version) "/"
8898 name "-" version ".tar.xz"))
8899 (sha256
8900 (base32
8901 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8902 (build-system meson-build-system)
8903 (native-inputs
8904 `(("intltool" ,intltool)))
8905 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8906 (synopsis "Background images for the GNOME desktop")
8907 (description
8908 "GNOME backgrounds package contains a collection of graphics files which
8909 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8910 the package creates the proper framework and directory structure so that you
8911 can add your own files to the collection.")
8912 (license (list license:gpl2+
8913 license:cc-by2.0
8914 license:cc-by-sa2.0
8915 license:cc-by-sa3.0))))
8916
8917 (define-public gnome-screenshot
8918 (package
8919 (name "gnome-screenshot")
8920 (version "3.34.0")
8921 (source
8922 (origin
8923 (method url-fetch)
8924 (uri (string-append "mirror://gnome/sources/" name "/"
8925 (version-major+minor version) "/"
8926 name "-" version ".tar.xz"))
8927 (sha256
8928 (base32
8929 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8930 (build-system meson-build-system)
8931 (arguments
8932 '(#:phases
8933 (modify-phases %standard-phases
8934 (add-after 'unpack 'skip-gtk-update-icon-cache
8935 ;; Don't create 'icon-theme.cache'.
8936 (lambda _
8937 (substitute* "build-aux/postinstall.py"
8938 (("gtk-update-icon-cache") "true"))
8939 #t)))))
8940 (native-inputs
8941 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8942 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8943 ("intltool" ,intltool)
8944 ("appstream-glib" ,appstream-glib)
8945 ("pkg-config" ,pkg-config)))
8946 (inputs
8947 `(("gtk+" ,gtk+)
8948 ("libcanberra" ,libcanberra)
8949 ("libx11" ,libx11)
8950 ("libxext" ,libxext)))
8951 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8952 (synopsis "Take pictures of your screen")
8953 (description
8954 "GNOME Screenshot is a utility used for taking screenshots of the entire
8955 screen, a window or a user defined area of the screen, with optional
8956 beautifying border effects.")
8957 (license license:gpl2+)))
8958
8959 (define-public dconf-editor
8960 (package
8961 (name "dconf-editor")
8962 (version "3.34.2")
8963 (source
8964 (origin
8965 (method url-fetch)
8966 (uri (string-append "mirror://gnome/sources/" name "/"
8967 (version-major+minor version) "/"
8968 name "-" version ".tar.xz"))
8969 (sha256
8970 (base32
8971 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8972 (build-system meson-build-system)
8973 (native-inputs
8974 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8975 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8976 ("intltool" ,intltool)
8977 ("pkg-config" ,pkg-config)
8978 ("vala" ,vala)))
8979 (inputs
8980 `(("dconf" ,dconf)
8981 ("gtk+" ,gtk+)
8982 ("libxml2" ,libxml2)))
8983 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8984 (synopsis "Graphical editor for GNOME's dconf configuration system")
8985 (description
8986 "Dconf-editor is a graphical tool for browsing and editing the dconf
8987 configuration system for GNOME. It allows users to configure desktop
8988 software that do not provide their own configuration interface.")
8989 (license license:lgpl2.1+)))
8990
8991 (define-public gnome-default-applications
8992 (package
8993 (name "gnome-default-applications")
8994 (version "0")
8995 (build-system trivial-build-system)
8996 (source #f)
8997 (propagated-inputs
8998 `(("nautilus" ,nautilus)
8999 ("evince" ,evince)))
9000 (arguments
9001 `(#:modules ((guix build utils))
9002 #:builder
9003 (begin
9004 (use-modules (guix build utils))
9005 (let* ((out (assoc-ref %outputs "out"))
9006 (apps (string-append out "/share/applications")))
9007 (mkdir-p apps)
9008 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9009 (lambda (port)
9010 (format port "[Default Applications]\n")
9011 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9012 (format port "application/pdf=evince.desktop\n")
9013 (format port "application/postscript=evince.desktop\n")))
9014 #t))))
9015 (synopsis "Default MIME type associations for the GNOME desktop")
9016 (description
9017 "Given many installed packages which might handle a given MIME type, a
9018 user running the GNOME desktop probably has some preferences: for example,
9019 that folders be opened by default by the Nautilus file manager, not the Baobab
9020 disk usage analyzer. This package establishes that set of default MIME type
9021 associations for GNOME.")
9022 (license license:gpl3+)
9023 (home-page #f)))
9024
9025 (define-public libgovirt
9026 (package
9027 (name "libgovirt")
9028 (version "0.3.6")
9029 (source (origin
9030 (method url-fetch)
9031 (uri (string-append "mirror://gnome/sources/" name "/"
9032 (version-major+minor version) "/"
9033 name "-" version ".tar.xz"))
9034 (sha256
9035 (base32
9036 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
9037 (build-system glib-or-gtk-build-system)
9038 (native-inputs
9039 `(("gettext" ,gettext-minimal)
9040 ("glib:bin" ,glib "bin")
9041 ("gobject-introspection" ,gobject-introspection)
9042 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9043 ("gtk+:bin" ,gtk+ "bin")
9044 ("pkg-config" ,pkg-config)))
9045 (inputs
9046 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9047 ("librest" ,rest)))
9048 (synopsis "GoVirt Library")
9049 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9050 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9051 (license license:gpl2+)))
9052
9053 (define-public gnome-weather
9054 (package
9055 (name "gnome-weather")
9056 (version "3.34.0")
9057 (source (origin
9058 (method url-fetch)
9059 (uri (string-append "mirror://gnome/sources/" name "/"
9060 (version-major+minor version) "/"
9061 name "-" version ".tar.xz"))
9062 (sha256
9063 (base32
9064 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9065 (build-system meson-build-system)
9066 (native-inputs
9067 `(("gettext" ,gettext-minimal)
9068 ("glib:bin" ,glib "bin")
9069 ("gobject-introspection" ,gobject-introspection)
9070 ("gtk+:bin" ,gtk+ "bin")
9071 ("pkg-config" ,pkg-config)))
9072 (inputs
9073 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9074 ("appstream-glib" ,appstream-glib)
9075 ("geoclue" ,geoclue)
9076 ("gdk-pixbuf" ,gdk-pixbuf)
9077 ("gjs" ,gjs)
9078 ("gnome-desktop" ,gnome-desktop)
9079 ("libgweather" ,libgweather)))
9080 (arguments
9081 `(#:glib-or-gtk? #t
9082 #:phases
9083 (modify-phases %standard-phases
9084 (add-after 'install 'fix-desktop-file
9085 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9086 ;; See https://issues.guix.gnu.org/issue/39324.
9087 (lambda* (#:key outputs #:allow-other-keys)
9088 (let* ((out (assoc-ref outputs "out"))
9089 (applications (string-append out "/share/applications")))
9090 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9091 (("Exec=.*") "Exec=gnome-weather\n"))
9092 #t)))
9093 (add-after 'install 'wrap
9094 (lambda* (#:key inputs outputs #:allow-other-keys)
9095 (let ((out (assoc-ref outputs "out"))
9096 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9097 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9098 (wrap-program (string-append out "/bin/gnome-weather")
9099 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9100 #t))))))
9101 (synopsis "Weather monitoring for GNOME desktop")
9102 (description "GNOME Weather is a small application that allows you to
9103 monitor the current weather conditions for your city, or anywhere in the
9104 world.")
9105 (home-page "https://wiki.gnome.org/Apps/Weather")
9106 (license license:gpl2+)))
9107
9108 (define-public gnome
9109 (package
9110 (name "gnome")
9111 (version (package-version gnome-shell))
9112 (source #f)
9113 (build-system trivial-build-system)
9114 (arguments '(#:builder (begin (mkdir %output) #t)))
9115 (propagated-inputs
9116 ;; TODO: Add or remove packages according to:
9117 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9118 `(
9119 ;; GNOME-Core-OS-Services
9120 ("accountsservice" ,accountsservice)
9121 ("network-manager" ,network-manager)
9122 ("packagekit" ,packagekit)
9123 ("upower" ,upower)
9124 ;; GNOME-Core-Shell
9125 ("adwaita-icon-theme" ,adwaita-icon-theme)
9126 ("gdm" ,gdm)
9127 ("glib-networking" ,glib-networking)
9128 ("gnome-backgrounds" ,gnome-backgrounds)
9129 ("gnome-bluetooth" ,gnome-bluetooth)
9130 ("gnome-color-manager" ,gnome-color-manager)
9131 ("gnome-control-center" ,gnome-control-center)
9132 ("gnome-desktop" ,gnome-desktop)
9133 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9134 ("gnome-initial-setup" ,gnome-initial-setup)
9135 ("gnome-keyring" ,gnome-keyring)
9136 ("gnome-menus" ,gnome-menus)
9137 ("gnome-session" ,gnome-session)
9138 ("gnome-settings-daemon" ,gnome-settings-daemon)
9139 ("gnome-shell-extensions" ,gnome-shell-extensions)
9140 ("gnome-shell" ,gnome-shell)
9141 ("gnome-themes-extra" ,gnome-themes-extra)
9142 ("gnome-user-docs" ,gnome-user-docs)
9143 ("gnome-user-share" ,gnome-user-share)
9144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9145 ("gvfs" ,gvfs)
9146 ("mutter" ,mutter)
9147 ("orca" ,orca)
9148 ("rygel" ,rygel)
9149 ("sushi" ,sushi)
9150 ;; GNOME-Core-Utilities
9151 ("baobab" ,baobab)
9152 ("cheese" ,cheese)
9153 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9154 ;; only works on x86_64, so exclude it on other architectures.
9155 ,@(if (string-prefix? "x86_64" (%current-system))
9156 `(("eog" ,eog))
9157 '())
9158 ("epiphany" ,epiphany)
9159 ("evince" ,evince)
9160 ("file-roller" ,file-roller)
9161 ("gedit" ,gedit)
9162 ("gnome-boxes" ,gnome-boxes)
9163 ("gnome-calculator" ,gnome-calculator)
9164 ("gnome-calendar" ,gnome-calendar)
9165 ("gnome-characters" ,gnome-characters)
9166 ("gnome-clocks" ,gnome-clocks)
9167 ("gnome-contacts" ,gnome-contacts)
9168 ("gnome-disk-utility" ,gnome-disk-utility)
9169 ("gnome-font-viewer" ,gnome-font-viewer)
9170 ("gnome-maps" ,gnome-maps)
9171 ; TODO: ("gnome-music" ,gnome-music)
9172 ; TODO: ("gnome-photos" ,gnome-photos)
9173 ("gnome-screenshot" ,gnome-screenshot)
9174 ("gnome-system-monitor" ,gnome-system-monitor)
9175 ("gnome-terminal" ,gnome-terminal)
9176 ("gnome-weather" ,gnome-weather)
9177 ("nautilus" ,nautilus)
9178 ("simple-scan" ,simple-scan)
9179 ("totem" ,totem)
9180 ("yelp" ,yelp)
9181 ;; Others
9182 ("hicolor-icon-theme" ,hicolor-icon-theme)
9183 ("gnome-online-accounts" ,gnome-online-accounts)
9184
9185 ;; Packages not part of GNOME proper but that are needed for a good
9186 ;; experience. See <https://bugs.gnu.org/39646>.
9187 ;; XXX: Find out exactly which ones are needed and why.
9188 ("font-cantarell" ,font-cantarell)
9189 ("font-dejavu" ,font-dejavu)
9190 ("at-spi2-core" ,at-spi2-core)
9191 ("dbus" ,dbus)
9192 ("dconf" ,dconf)
9193 ("desktop-file-utils" ,desktop-file-utils)
9194 ("gnome-default-applications" ,gnome-default-applications)
9195 ("gnome-themes-standard" ,gnome-themes-standard)
9196 ("gst-plugins-base" ,gst-plugins-base)
9197 ("gst-plugins-good" ,gst-plugins-good)
9198 ("gucharmap" ,gucharmap)
9199 ("pinentry-gnome3" ,pinentry-gnome3)
9200 ("pulseaudio" ,pulseaudio)
9201 ("shared-mime-info" ,shared-mime-info)
9202 ("system-config-printer" ,system-config-printer)
9203 ("xdg-user-dirs" ,xdg-user-dirs)
9204 ("yelp" ,yelp)
9205 ("zenity" ,zenity)))
9206 (synopsis "The GNU desktop environment")
9207 (home-page "https://www.gnome.org/")
9208 (description
9209 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9210 applications for browsing the web, editing text and images, creating
9211 documents and diagrams, playing media, scanning, and much more.")
9212 (license license:gpl2+)))
9213
9214 (define-public byzanz
9215 ;; The last stable release of Byzanz was in 2011, but there have been many
9216 ;; useful commits made to the Byzanz repository since then that it would be
9217 ;; silly to use such an old release.
9218 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9219 (package
9220 (name "byzanz")
9221 (version (string-append "0.2-1." (string-take commit 7)))
9222 (source (origin
9223 (method git-fetch)
9224 (uri (git-reference
9225 (url "https://git.gnome.org/browse/byzanz")
9226 (commit commit)))
9227 (file-name (string-append name "-" version "-checkout"))
9228 (sha256
9229 (base32
9230 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9231 (build-system glib-or-gtk-build-system)
9232 (arguments
9233 '(#:phases
9234 (modify-phases %standard-phases
9235 (add-before 'bootstrap 'build-without-Werror
9236 (lambda _
9237 ;; The build system cleverly detects that we're not building from
9238 ;; a release tarball and turns on -Werror for GCC.
9239 ;; Unsurprisingly, there is a warning during compilation that
9240 ;; causes the build to fail unnecessarily, so we remove the flag.
9241 (substitute* '("configure.ac")
9242 (("-Werror") ""))
9243 #t)))))
9244 (native-inputs
9245 `(("autoconf" ,autoconf)
9246 ("automake" ,automake)
9247 ("gnome-common" ,gnome-common)
9248 ("intltool" ,intltool)
9249 ("libtool" ,libtool)
9250 ("pkg-config" ,pkg-config)
9251 ("which" ,which)))
9252 (inputs
9253 `(("glib" ,glib)
9254 ("gstreamer" ,gstreamer)
9255 ("gst-plugins-base" ,gst-plugins-base)
9256 ("gtk+" ,gtk+)))
9257 (synopsis "Desktop recording program")
9258 (description "Byzanz is a simple desktop recording program with a
9259 command-line interface. It can record part or all of an X display for a
9260 specified duration and save it as a GIF encoded animated image file.")
9261 (home-page "https://git.gnome.org/browse/byzanz")
9262 (license license:gpl2+))))
9263
9264 (define-public authenticator
9265 (package
9266 (name "authenticator")
9267 (version "3.32.2")
9268 (source
9269 (origin
9270 (method git-fetch)
9271 (uri (git-reference
9272 (url "https://gitlab.gnome.org/World/Authenticator")
9273 (commit version)))
9274 (file-name (git-file-name name version))
9275 (sha256
9276 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9277 (build-system meson-build-system)
9278 (arguments
9279 `(#:glib-or-gtk? #t
9280 #:phases
9281 (modify-phases %standard-phases
9282 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9283 (lambda* (#:key inputs outputs #:allow-other-keys)
9284 (let ((prog (string-append (assoc-ref outputs "out")
9285 "/bin/authenticator"))
9286 (pylib (string-append (assoc-ref outputs "out")
9287 "/lib/python"
9288 ,(version-major+minor
9289 (package-version python))
9290 "/site-packages")))
9291 (wrap-program prog
9292 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9293 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9294 #t))))))
9295 (native-inputs
9296 `(("desktop-file-utils" ,desktop-file-utils)
9297 ("gettext" ,gettext-minimal)
9298 ("glib:bin" ,glib "bin")
9299 ("gobject-introspection" ,gobject-introspection)
9300 ("gtk+:bin" ,gtk+ "bin")
9301 ("pkg-config" ,pkg-config)))
9302 (inputs
9303 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9304 ("gtk+" ,gtk+)
9305 ("libhandy" ,libhandy-0.0)
9306 ("libsecret" ,libsecret)
9307 ("python-beautifulsoup4" ,python-beautifulsoup4)
9308 ("python-pillow" ,python-pillow)
9309 ("python-pyfavicon" ,python-pyfavicon)
9310 ("python-pygobject" ,python-pygobject)
9311 ("python-pyotp" ,python-pyotp)
9312 ("python-pyzbar" ,python-pyzbar)
9313 ("yoyo-migrations" ,yoyo-migrations)
9314 ("zbar" ,zbar)))
9315 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9316 (synopsis "Two-factor authentication application built for GNOME")
9317 (description
9318 "Authenticator is a two-factor authentication (2FA) application built for
9319 the GNOME desktop environment.
9320
9321 Features:
9322
9323 @itemize
9324 @item QR code scanner
9325 @item Beautiful UI
9326 @item Huge database of more than 560 supported services
9327 @item Keep your PIN tokens secure by locking the application with a password
9328 @item Automatically fetch an image for services using their favicon
9329 @item The possibility to add new services
9330 @end itemize")
9331 (license license:gpl3+)))
9332
9333 (define-public gsound
9334 (package
9335 (name "gsound")
9336 (version "1.0.2")
9337 (source (origin
9338 (method url-fetch)
9339 (uri (string-append "mirror://gnome/sources/" name "/"
9340 (version-major+minor version) "/"
9341 name "-" version ".tar.xz"))
9342 (sha256
9343 (base32
9344 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9345 (build-system glib-or-gtk-build-system)
9346 (native-inputs
9347 `(("pkg-config" ,pkg-config)
9348 ("gobject-introspection" ,gobject-introspection)
9349 ("vala" ,vala)))
9350 (inputs
9351 `(("glib" ,glib)
9352 ("libcanberra" ,libcanberra)))
9353 (home-page "https://wiki.gnome.org/Projects/GSound")
9354 (synopsis "GObject wrapper for libcanberra")
9355 (description
9356 "GSound is a small library for playing system sounds. It's designed to be
9357 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9358 library.")
9359 (license license:lgpl2.1+)))
9360
9361 (define-public libzapojit
9362 (package
9363 (name "libzapojit")
9364 (version "0.0.3")
9365 (source (origin
9366 (method url-fetch)
9367 (uri (string-append "mirror://gnome/sources/" name "/"
9368 (version-major+minor version) "/"
9369 name "-" version ".tar.xz"))
9370 (sha256
9371 (base32
9372 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9373 (build-system gnu-build-system)
9374 (native-inputs
9375 `(("gobject-introspection" ,gobject-introspection)
9376 ("intltool" ,intltool)
9377 ("pkg-config" ,pkg-config)))
9378 (inputs
9379 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9380 ("json-glib" ,json-glib)
9381 ("rest" ,rest)))
9382 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9383 (synopsis "Library for accessing SkyDrive and Hotmail")
9384 (description
9385 "Libzapojit is a GLib-based library for accessing online service APIs of
9386 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9387 (license license:lgpl2.1+)))
9388
9389 (define-public gnome-clocks
9390 (package
9391 (name "gnome-clocks")
9392 (version "3.34.0")
9393 (source (origin
9394 (method url-fetch)
9395 (uri (string-append "mirror://gnome/sources/" name "/"
9396 (version-major+minor version) "/"
9397 name "-" version ".tar.xz"))
9398 (sha256
9399 (base32
9400 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9401 (build-system meson-build-system)
9402 (arguments
9403 '(#:glib-or-gtk? #t
9404 #:phases
9405 (modify-phases %standard-phases
9406 (add-after 'unpack 'skip-gtk-update-icon-cache
9407 ;; Don't create 'icon-theme.cache'.
9408 (lambda _
9409 (substitute* "build-aux/post-install.py"
9410 (("gtk-update-icon-cache") "true"))
9411 #t)))))
9412 (native-inputs
9413 `(("vala" ,vala)
9414 ("pkg-config" ,pkg-config)
9415 ("glib" ,glib "bin") ; for glib-compile-resources
9416 ("desktop-file-utils" ,desktop-file-utils)
9417 ("gettext" ,gettext-minimal)
9418 ("itstool" ,itstool)))
9419 (inputs
9420 `(("glib" ,glib)
9421 ("gtk+" ,gtk+)
9422 ("gsound" ,gsound)
9423 ("geoclue" ,geoclue)
9424 ("geocode-glib" ,geocode-glib)
9425 ("libgweather" ,libgweather)
9426 ("gnome-desktop" ,gnome-desktop)))
9427 (home-page "https://wiki.gnome.org/Apps/Clocks")
9428 (synopsis "GNOME's clock application")
9429 (description
9430 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9431 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9432 (license license:gpl3+)))
9433
9434 (define-public gnome-calendar
9435 (package
9436 (name "gnome-calendar")
9437 (version "3.34.2")
9438 (source (origin
9439 (method url-fetch)
9440 (uri (string-append "mirror://gnome/sources/" name "/"
9441 (version-major+minor version) "/"
9442 name "-" version ".tar.xz"))
9443 (sha256
9444 (base32
9445 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9446 (build-system meson-build-system)
9447 (arguments
9448 '(#:glib-or-gtk? #t
9449 ;; gnome-calendar has to be installed before the tests can be run
9450 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9451 #:tests? #f
9452 #:phases
9453 (modify-phases %standard-phases
9454 (add-after 'unpack 'skip-gtk-update-icon-cache
9455 ;; Don't create 'icon-theme.cache'.
9456 (lambda _
9457 (substitute* "build-aux/meson/meson_post_install.py"
9458 (("gtk-update-icon-cache") "true"))
9459 #t)))))
9460 (native-inputs
9461 `(("gettext" ,gettext-minimal)
9462 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9463 ("pkg-config" ,pkg-config)))
9464 (inputs
9465 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9466 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9467 ("libdazzle" ,libdazzle)
9468 ("libedataserverui" ,evolution-data-server)
9469 ("libgweather" ,libgweather)
9470 ("geoclue" ,geoclue)))
9471 (propagated-inputs
9472 `(("evolution-data-server" ,evolution-data-server)))
9473 (home-page "https://wiki.gnome.org/Apps/Calendar")
9474 (synopsis "GNOME's calendar application")
9475 (description
9476 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9477 desktop. It supports multiple calendars, month, week and year view.")
9478 (license license:gpl3+)))
9479
9480 (define-public gnome-todo
9481 (package
9482 (name "gnome-todo")
9483 (version "3.28.1")
9484 (source (origin
9485 (method url-fetch)
9486 (uri (string-append "mirror://gnome/sources/" name "/"
9487 (version-major+minor version) "/"
9488 name "-" version ".tar.xz"))
9489 (sha256
9490 (base32
9491 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9492 (patches
9493 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9494 (build-system meson-build-system)
9495 (arguments
9496 '(#:glib-or-gtk? #t
9497 #:phases (modify-phases %standard-phases
9498 (add-after
9499 'install 'wrap-gnome-todo
9500 (lambda* (#:key inputs outputs #:allow-other-keys)
9501 (let ((out (assoc-ref outputs "out"))
9502 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9503 (python-path (getenv "PYTHONPATH")))
9504 (wrap-program (string-append out "/bin/gnome-todo")
9505 ;; XXX: gi plugins are broken.
9506 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9507 ;; For plugins.
9508 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9509 `("PYTHONPATH" ":" prefix (,python-path))))
9510 #t)))))
9511 (native-inputs
9512 `(("gettext" ,gettext-minimal)
9513 ("gobject-introspection" ,gobject-introspection)
9514 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9515 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9516 ("pkg-config" ,pkg-config)))
9517 (inputs
9518 `(("rest" ,rest) ; For Todoist plugin
9519 ("json-glib" ,json-glib) ; For Todoist plugin
9520 ("libedataserverui" ,evolution-data-server)
9521 ("libical" ,libical)
9522 ("libpeas" ,libpeas)
9523 ("python-pygobject" ,python-pygobject)
9524 ("evolution-data-server" ,evolution-data-server)
9525 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9526 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9527 (home-page "https://wiki.gnome.org/Apps/Todo")
9528 (synopsis "GNOME's ToDo Application")
9529 (description
9530 "GNOME To Do is a simplistic personal task manager designed to perfectly
9531 fit the GNOME desktop.")
9532 (license license:gpl3+)))
9533
9534 (define-public gnome-dictionary
9535 (package
9536 (name "gnome-dictionary")
9537 (version "3.26.1")
9538 (source (origin
9539 (method url-fetch)
9540 (uri (string-append "mirror://gnome/sources/" name "/"
9541 (version-major+minor version) "/"
9542 name "-" version ".tar.xz"))
9543 (sha256
9544 (base32
9545 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9546 (build-system meson-build-system)
9547 (arguments '(#:glib-or-gtk? #t
9548 #:phases (modify-phases %standard-phases
9549 (add-after 'unpack 'patch-install-script
9550 (lambda _
9551 ;; This script attempts to compile glib schemas
9552 ;; and create an empty MIME database. We do
9553 ;; that elsewhere, so prevent it from running.
9554 (substitute* "build-aux/post-install.sh"
9555 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9556 #t)))))
9557 (native-inputs
9558 `(("glib:bin" ,glib "bin")
9559 ("gobject-introspection" ,gobject-introspection)
9560 ("intltool" ,intltool)
9561 ("itstool" ,itstool)
9562 ("pkg-config" ,pkg-config)
9563 ("xmllint" ,libxml2)))
9564 (inputs
9565 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9566 ("gtk+" ,gtk+)))
9567 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9568 (synopsis "Look up words in dictionary sources")
9569 (description
9570 "GNOME Dictionary can look for the definition or translation of a word in
9571 existing databases over the internet.")
9572 (license license:gpl3+)))
9573
9574 (define-public gnome-tweaks
9575 (package
9576 (name "gnome-tweaks")
9577 (version "3.34.1")
9578 (source (origin
9579 (method url-fetch)
9580 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9581 (version-major+minor version) "/"
9582 "gnome-tweaks-" version ".tar.xz"))
9583 (patches
9584 (list (search-patch "gnome-tweaks-search-paths.patch")))
9585 (sha256
9586 (base32
9587 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9588 (build-system meson-build-system)
9589 (arguments
9590 `(#:glib-or-gtk? #t
9591 #:configure-flags '("-Dlocalstatedir=/tmp"
9592 "-Dsysconfdir=/tmp")
9593 #:imported-modules ((guix build python-build-system)
9594 ,@%meson-build-system-modules)
9595 #:phases
9596 (modify-phases %standard-phases
9597 (add-after 'unpack 'skip-gtk-update-icon-cache
9598 ;; Don't create 'icon-theme.cache'.
9599 (lambda _
9600 (substitute* "meson-postinstall.py"
9601 (("gtk-update-icon-cache") "true"))
9602 #t))
9603 (add-after 'install 'wrap
9604 (@@ (guix build python-build-system) wrap))
9605 (add-after 'wrap 'wrap-gi-typelib
9606 (lambda* (#:key inputs outputs #:allow-other-keys)
9607 (let ((out (assoc-ref outputs "out"))
9608 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9609 (wrap-program (string-append out "/bin/gnome-tweaks")
9610 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9611 #t)))))
9612 (native-inputs
9613 `(("intltool" ,intltool)
9614 ("pkg-config" ,pkg-config)))
9615 (inputs
9616 `(("gnome-desktop" ,gnome-desktop)
9617 ("gtk+" ,gtk+)
9618 ("gobject-introspection" ,gobject-introspection)
9619 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9620 ("libhandy" ,libhandy-0.0)
9621 ("libnotify" ,libnotify)
9622 ("libsoup" ,libsoup)
9623 ("nautilus" ,nautilus)
9624 ("python" ,python)
9625 ("python-pygobject" ,python-pygobject)))
9626 (synopsis "Customize advanced GNOME 3 options")
9627 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9628 (description
9629 "GNOME Tweaks allows adjusting advanced configuration settings in
9630 GNOME 3. This includes things like the fonts used in user interface elements,
9631 alternative user interface themes, changes in window management behavior,
9632 GNOME Shell appearance and extension, etc.")
9633 (license license:gpl3+)))
9634
9635 (define-public gnome-shell-extensions
9636 (package
9637 (name "gnome-shell-extensions")
9638 (version "3.34.2")
9639 (source (origin
9640 (method url-fetch)
9641 (uri (string-append "mirror://gnome/sources/" name "/"
9642 (version-major+minor version) "/"
9643 name "-" version ".tar.xz"))
9644 (sha256
9645 (base32
9646 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9647 (build-system meson-build-system)
9648 (arguments
9649 '(#:configure-flags '("-Dextension_set=all")))
9650 (native-inputs
9651 `(("glib:bin" ,glib "bin")
9652 ("intltool" ,intltool)
9653 ("pkg-config" ,pkg-config)))
9654 (propagated-inputs
9655 `(("glib" ,glib)))
9656 (synopsis "Extensions for GNOME Shell")
9657 (description "GNOME Shell extensions modify and extend GNOME Shell
9658 functionality and behavior.")
9659 (home-page "https://extensions.gnome.org/")
9660 (license license:gpl3+)))
9661
9662 (define-public folks
9663 (package
9664 (name "folks")
9665 (version "0.13.1")
9666 (source (origin
9667 (method url-fetch)
9668 (uri (string-append
9669 "mirror://gnome/sources/folks/"
9670 (version-major+minor version) "/"
9671 "folks-" version ".tar.xz"))
9672 (sha256
9673 (base32
9674 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9675 (build-system meson-build-system)
9676 (arguments
9677 '(#:phases
9678 (modify-phases %standard-phases
9679 (add-after 'unpack 'skip-gtk-update-icon-cache
9680 ;; Don't create 'icon-theme.cache'.
9681 (lambda _
9682 (substitute* "meson_post_install.py"
9683 (("gtk-update-icon-cache") "true"))
9684 #t)))))
9685 (inputs
9686 `(("bdb" ,bdb)
9687 ("dbus-glib" ,dbus-glib)
9688 ("evolution-data-server" ,evolution-data-server)
9689 ("glib" ,glib)
9690 ("libgee" ,libgee)
9691 ("readline" ,readline)
9692 ("telepathy-glib" ,telepathy-glib)))
9693 (native-inputs
9694 `(("glib:bin" ,glib "bin")
9695 ("gobject-introspection" ,gobject-introspection)
9696 ("intltool" ,intltool)
9697 ("pkg-config" ,pkg-config)
9698 ("vala" ,vala)))
9699 (synopsis "Library to aggregate data about people")
9700 (description "Libfolks is a library that aggregates information about people
9701 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9702 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9703 etc.) to create metacontacts. It's written in Vala, which generates C code when
9704 compiled.")
9705 (home-page "https://wiki.gnome.org/Projects/Folks")
9706 (license license:lgpl2.1+)))
9707
9708 (define-public gfbgraph
9709 (package
9710 (name "gfbgraph")
9711 (version "0.2.4")
9712 (source (origin
9713 (method url-fetch)
9714 (uri (string-append
9715 "mirror://gnome/sources/gfbgraph/"
9716 (version-major+minor version) "/"
9717 "gfbgraph-" version ".tar.xz"))
9718 (sha256
9719 (base32
9720 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9721 (build-system glib-or-gtk-build-system)
9722 (arguments
9723 `(#:tests? #f ; tests appear to require the network
9724 #:configure-flags '("--disable-static"
9725 "--enable-gtk-doc"
9726 "--enable-introspection")))
9727 (native-inputs
9728 `(("gobject-introspection" ,gobject-introspection)
9729 ("gtk-doc" ,gtk-doc)
9730 ("pkg-config" ,pkg-config)
9731
9732 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9733 ("autoconf" ,autoconf)
9734 ("automake" ,automake)
9735 ("libtool" ,libtool)
9736 ("which" ,which)))
9737 (inputs
9738 `(("json-glib" ,json-glib)
9739 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9740 ("rest" ,rest)))
9741 (synopsis "GLib/GObject wrapper for the Facebook API")
9742 (description "This library allows you to use the Facebook API from
9743 GLib/GObject code.")
9744 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9745 (license license:lgpl2.1+)))
9746
9747 (define-public libgnomekbd
9748 (package
9749 (name "libgnomekbd")
9750 (version "3.26.1")
9751 (source (origin
9752 (method url-fetch)
9753 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9754 (version-major+minor version) "/"
9755 "libgnomekbd-" version ".tar.xz"))
9756 (sha256
9757 (base32
9758 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9759 (build-system gnu-build-system)
9760 (native-inputs
9761 `(("pkg-config" ,pkg-config)
9762 ("glib" ,glib "bin")
9763 ("intltool" ,intltool)))
9764 (propagated-inputs
9765 ;; Referred to in .h files and .pc.
9766 `(("glib" ,glib)
9767 ("gtk+" ,gtk+)
9768 ("libxklavier" ,libxklavier)))
9769 (home-page "https://www.gnome.org")
9770 (synopsis "GNOME keyboard configuration library")
9771 (description
9772 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9773 environment, which can notably display keyboard layouts.")
9774 (license license:lgpl2.0+)))
9775
9776 ;;; This package is no longer maintained:
9777 ;;; https://wiki.gnome.org/Attic/LibUnique
9778 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9779 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9780 (define-public libunique
9781 (package
9782 (name "libunique")
9783 (version "3.0.2")
9784 (source (origin
9785 (method url-fetch)
9786 (uri (string-append "mirror://gnome/sources/" name "/"
9787 (version-major+minor version) "/"
9788 name "-" version ".tar.xz"))
9789 (sha256
9790 (base32
9791 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9792 (build-system glib-or-gtk-build-system)
9793 (arguments
9794 `(#:configure-flags '("--disable-static"
9795 "--disable-dbus" ; use gdbus
9796 "--enable-introspection")))
9797 (native-inputs
9798 `(("pkg-config" ,pkg-config)
9799 ("gobject-introspection" ,gobject-introspection)
9800 ("glib:bin" ,glib "bin")
9801 ("gtk-doc" ,gtk-doc)))
9802 (propagated-inputs
9803 ;; Referred to in .h files and .pc.
9804 `(("gtk+" ,gtk+)))
9805 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9806 (synopsis "Library for writing single instance applications")
9807 (description
9808 "Libunique is a library for writing single instance applications. If you
9809 launch a single instance application twice, the second instance will either just
9810 quit or will send a message to the running instance. Libunique makes it easy to
9811 write this kind of application, by providing a base class, taking care of all
9812 the IPC machinery needed to send messages to a running instance, and also
9813 handling the startup notification side.")
9814 (license license:lgpl2.1+)))
9815
9816 (define-public gnome-calculator
9817 (package
9818 (name "gnome-calculator")
9819 (version "3.34.1")
9820 (source
9821 (origin
9822 (method url-fetch)
9823 (uri (string-append "mirror://gnome/sources/" name "/"
9824 (version-major+minor version) "/"
9825 name "-" version ".tar.xz"))
9826 (sha256
9827 (base32
9828 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9829 (build-system meson-build-system)
9830 (arguments '(#:glib-or-gtk? #t))
9831 (native-inputs
9832 `(("gettext" ,gettext-minimal)
9833 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9834 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9835 ("itstool" ,itstool)
9836 ("vala" ,vala)
9837 ("pkg-config" ,pkg-config)))
9838 (inputs
9839 `(("glib" ,glib)
9840 ("gtksourceview" ,gtksourceview)
9841 ("libgee" ,libgee)
9842 ("libsoup" ,libsoup)
9843 ("libxml2" ,libxml2)
9844 ("mpc" ,mpc)
9845 ("mpfr" ,mpfr)))
9846 (home-page "https://wiki.gnome.org/Apps/Calculator")
9847 (synopsis "Desktop calculator")
9848 (description
9849 "Calculator is an application that solves mathematical equations and
9850 is suitable as a default application in a Desktop environment.")
9851 (license license:gpl3)))
9852
9853 (define-public xpad
9854 (package
9855 (name "xpad")
9856 (version "5.1.0")
9857 (source
9858 (origin
9859 (method url-fetch)
9860 (uri (string-append "https://launchpad.net/xpad/trunk/"
9861 version "/+download/"
9862 name "-" version ".tar.bz2"))
9863 (sha256
9864 (base32
9865 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9866 (build-system gnu-build-system)
9867 (native-inputs
9868 `(("autoconf" ,autoconf)
9869 ("automake" ,automake)
9870 ("gtk+:bin" ,gtk+ "bin")
9871 ("intltool" ,intltool)
9872 ("pkg-config" ,pkg-config)))
9873 (inputs
9874 `(("gtksourceview" ,gtksourceview-3)
9875 ("libsm" ,libsm)))
9876 (home-page "https://wiki.gnome.org/Apps/Xpad")
9877 (synopsis "Virtual sticky note")
9878 (description
9879 "Xpad is a sticky note that strives to be simple, fault tolerant,
9880 and customizable. Xpad consists of independent pad windows, each is
9881 basically a text box in which notes can be written.")
9882 (license license:gpl3+)))
9883
9884 (define-public gucharmap
9885 (let ((unicode-files
9886 '(("Blocks.txt"
9887 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9888 ("DerivedAge.txt"
9889 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9890 ("NamesList.txt"
9891 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9892 ("Scripts.txt"
9893 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9894 ("UnicodeData.txt"
9895 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9896 ("Unihan.zip"
9897 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9898 (package
9899 (name "gucharmap")
9900 (version "12.0.1")
9901 (source
9902 (origin
9903 (method url-fetch)
9904 (uri (string-append "mirror://gnome/sources/" name "/"
9905 (version-major+minor version) "/"
9906 name "-" version ".tar.xz"))
9907 (sha256
9908 (base32
9909 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9910 (build-system glib-or-gtk-build-system)
9911 (arguments
9912 `(#:modules ((ice-9 match)
9913 (guix build glib-or-gtk-build-system)
9914 (guix build utils))
9915 #:configure-flags
9916 (list "--with-unicode-data=../unicode-data")
9917 #:phases
9918 (modify-phases %standard-phases
9919 (add-after 'unpack 'prepare-unicode-data
9920 (lambda* (#:key inputs #:allow-other-keys)
9921 (mkdir-p "../unicode-data")
9922 (with-directory-excursion "../unicode-data"
9923 (for-each (match-lambda
9924 ((file _)
9925 (install-file (assoc-ref inputs file) ".")))
9926 ',unicode-files))
9927 #t)))))
9928 (native-inputs
9929 `(("desktop-file-utils" ,desktop-file-utils)
9930 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9931 ("gobject-introspection" ,gobject-introspection)
9932 ("intltool" ,intltool)
9933 ("itstool" ,itstool)
9934 ("pkg-config" ,pkg-config)
9935 ,@(map (match-lambda
9936 ((file hash)
9937 `(,file
9938 ,(origin
9939 (method url-fetch)
9940 (uri (string-append
9941 "http://www.unicode.org/Public/12.0.0/ucd/"
9942 file))
9943 (sha256 (base32 hash))))))
9944 unicode-files)
9945 ("unzip" ,unzip)))
9946 (inputs
9947 `(("gtk+" ,gtk+)
9948 ("xmllint" ,libxml2)))
9949 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9950 (synopsis "Unicode character picker and font browser")
9951 (description
9952 "This program allows you to browse through all the available Unicode
9953 characters and categories for the installed fonts, and to examine their
9954 detailed properties. It is an easy way to find the character you might
9955 only know by its Unicode name or code point.")
9956 (license license:gpl3+))))
9957
9958 (define-public bluefish
9959 (package
9960 (name "bluefish")
9961 (version "2.2.12")
9962 (source
9963 (origin
9964 (method url-fetch)
9965 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9966 "bluefish-" version ".tar.gz"))
9967 (sha256
9968 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9969 (build-system gnu-build-system)
9970 (native-inputs
9971 `(("desktop-file-utils" ,desktop-file-utils)
9972 ("intltool" ,intltool)
9973 ("pkg-config" ,pkg-config)))
9974 (inputs
9975 `(("enchant" ,enchant)
9976 ("gtk+" ,gtk+)
9977 ("python" ,python-wrapper)
9978 ("xmllint" ,libxml2)
9979 ("gucharmap" ,gucharmap)))
9980 (home-page "http://bluefish.openoffice.nl")
9981 (synopsis "Web development studio")
9982 (description
9983 "Bluefish is an editor aimed at programmers and web developers,
9984 with many options to write web sites, scripts and other code.
9985 Bluefish supports many programming and markup languages.")
9986 (license license:gpl3+)))
9987
9988 (define-public gnome-system-monitor
9989 (package
9990 (name "gnome-system-monitor")
9991 (version "3.32.1")
9992 (source
9993 (origin
9994 (method url-fetch)
9995 (uri (string-append "mirror://gnome/sources/" name "/"
9996 (version-major+minor version) "/"
9997 name "-" version ".tar.xz"))
9998 (sha256
9999 (base32
10000 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10001 (build-system meson-build-system)
10002 (arguments
10003 '(#:glib-or-gtk? #t
10004 #:configure-flags '("-Dsystemd=false")))
10005 (native-inputs
10006 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10007 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10008 ("intltool" ,intltool)
10009 ("itstool" ,itstool)
10010 ("libgtop" ,libgtop)
10011 ("polkit" ,polkit)
10012 ("pkg-config" ,pkg-config)))
10013 (inputs
10014 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10015 ("gtk+" ,gtk+)
10016 ("gtkmm" ,gtkmm)
10017 ("librsvg" ,librsvg)
10018 ("libxml2" ,libxml2)
10019 ("libwnck" ,libwnck)))
10020 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10021 (synopsis "Process viewer and system resource monitor for GNOME")
10022 (description
10023 "GNOME System Monitor is a GNOME process viewer and system monitor with
10024 an attractive, easy-to-use interface. It has features, such as a tree view
10025 for process dependencies, icons for processes, the ability to hide processes,
10026 graphical time histories of CPU/memory/swap usage and the ability to
10027 kill/reinice processes.")
10028 (license license:gpl2+)))
10029
10030 (define-public python-pyatspi
10031 (package
10032 (name "python-pyatspi")
10033 (version "2.34.0")
10034 (source (origin
10035 (method url-fetch)
10036 (uri (string-append
10037 "mirror://gnome/sources/pyatspi/"
10038 (version-major+minor version)
10039 "/pyatspi-" version ".tar.xz"))
10040 (sha256
10041 (base32
10042 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10043 (build-system gnu-build-system)
10044 (arguments
10045 `(#:phases
10046 (modify-phases %standard-phases
10047 (add-before 'build 'fix-atk-load
10048 (lambda _
10049 (substitute* "pyatspi/__init__.py"
10050 (("from gi.repository import Atspi")
10051 "gi.require_version('Gtk', '3.0')
10052 from gi.repository import Gtk
10053 from gi.repository import Atspi"))
10054 #t)))))
10055 (native-inputs
10056 `(("pkg-config" ,pkg-config)))
10057 (inputs
10058 `(("python" ,python)))
10059 (propagated-inputs
10060 `(("python-pygobject" ,python-pygobject)))
10061 (synopsis "Python client bindings for D-Bus AT-SPI")
10062 (home-page "https://wiki.linuxfoundation.org/accessibility\
10063 /atk/at-spi/at-spi_on_d-bus")
10064 (description
10065 "This package includes a python client library for the AT-SPI D-Bus
10066 accessibility infrastructure.")
10067 (license license:lgpl2.0)
10068 (properties '((upstream-name . "pyatspi")))))
10069
10070 (define-public python2-pyatspi
10071 (package
10072 (inherit python-pyatspi)
10073 (name "python2-pyatspi")
10074 (inputs
10075 `(("python" ,python-2)))
10076 (propagated-inputs
10077 `(("python-pygobject" ,python2-pygobject)))))
10078
10079 (define-public orca
10080 (package
10081 (name "orca")
10082 (version "3.34.1")
10083 (source (origin
10084 (method url-fetch)
10085 (uri (string-append
10086 "mirror://gnome/sources/" name "/"
10087 (version-major+minor version) "/"
10088 name "-" version ".tar.xz"))
10089 (sha256
10090 (base32
10091 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10092 (build-system glib-or-gtk-build-system)
10093 (arguments
10094 '(#:phases
10095 (modify-phases %standard-phases
10096 (add-before 'configure 'qualify-xkbcomp
10097 (lambda* (#:key inputs #:allow-other-keys)
10098 (let ((xkbcomp (string-append
10099 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10100 (substitute* "src/orca/orca.py"
10101 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10102 #t))
10103 (add-after 'install 'wrap-orca
10104 (lambda* (#:key outputs #:allow-other-keys)
10105 (let* ((out (assoc-ref outputs "out"))
10106 (prog (string-append out "/bin/orca")))
10107 (wrap-program prog
10108 `("GI_TYPELIB_PATH" ":" prefix
10109 (,(getenv "GI_TYPELIB_PATH")))
10110 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10111 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10112 `("PYTHONPATH" ":" prefix
10113 (,(getenv "PYTHONPATH")))))
10114 #t)))))
10115 (native-inputs
10116 `(("intltool" ,intltool)
10117 ("itstool" ,itstool)
10118 ("pkg-config" ,pkg-config)
10119 ("xmllint" ,libxml2)))
10120 (inputs
10121 `(("at-spi2-atk" ,at-spi2-atk)
10122 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10123 ("gstreamer" ,gstreamer)
10124 ("gst-plugins-base" ,gst-plugins-base)
10125 ("gst-plugins-good" ,gst-plugins-good)
10126 ("gtk+" ,gtk+)
10127 ("python" ,python)
10128 ("python-pygobject" ,python-pygobject)
10129 ("python-pyatspi" ,python-pyatspi)
10130 ("python-speechd" ,speech-dispatcher)
10131 ("xkbcomp" ,xkbcomp)))
10132 (synopsis
10133 "Screen reader for individuals who are blind or visually impaired")
10134 (home-page "https://wiki.gnome.org/Projects/Orca")
10135 (description
10136 "Orca is a screen reader that provides access to the graphical desktop
10137 via speech and refreshable braille. Orca works with applications and toolkits
10138 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10139 (license license:lgpl2.1+)))
10140
10141 (define-public gspell
10142 (package
10143 (name "gspell")
10144 (version "1.8.2")
10145 (source (origin
10146 (method url-fetch)
10147 (uri (string-append "mirror://gnome/sources/" name "/"
10148 (version-major+minor version) "/"
10149 name "-" version ".tar.xz"))
10150 (sha256
10151 (base32
10152 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10153 (patches (search-patches "gspell-dash-test.patch"))))
10154 (build-system glib-or-gtk-build-system)
10155 (arguments
10156 '(#:configure-flags (list "--enable-vala")
10157 #:phases
10158 (modify-phases %standard-phases
10159 (add-before 'check 'pre-check
10160 (lambda* (#:key inputs #:allow-other-keys)
10161 ;; Tests require a running X server.
10162 (system "Xvfb :1 &")
10163 (setenv "DISPLAY" ":1")
10164
10165 ;; For the missing /etc/machine-id.
10166 (setenv "DBUS_FATAL_WARNINGS" "0")
10167
10168 ;; Allow Enchant and its Aspell backend to find the en_US
10169 ;; dictionary.
10170 (setenv "ASPELL_DICT_DIR"
10171 (string-append (assoc-ref inputs "aspell-dict-en")
10172 "/lib/aspell"))
10173 #t)))))
10174 (inputs
10175 `(("gtk+" ,gtk+)
10176 ("glib" ,glib)
10177 ("iso-codes" ,iso-codes)))
10178 (native-inputs
10179 `(("glib" ,glib "bin")
10180 ("gobject-introspection" ,gobject-introspection)
10181 ("pkg-config" ,pkg-config)
10182 ("vala" ,vala) ;for VAPI, needed by Geary
10183 ("xmllint" ,libxml2)
10184
10185 ;; For tests.
10186 ("aspell-dict-en" ,aspell-dict-en)
10187 ("xorg-server" ,xorg-server-for-tests)))
10188 (propagated-inputs
10189 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10190 (home-page "https://wiki.gnome.org/Projects/gspell")
10191 (synopsis "GNOME's alternative spell checker")
10192 (description
10193 "gspell provides a flexible API to add spell-checking to a GTK+
10194 application. It provides a GObject API, spell-checking to text entries and
10195 text views, and buttons to choose the language.")
10196 (license license:gpl2+)))
10197
10198 (define-public gnome-planner
10199 (package
10200 (name "gnome-planner")
10201 (version "0.14.6")
10202 (source (origin
10203 (method url-fetch)
10204 (uri (string-append "mirror://gnome/sources/planner/"
10205 (version-major+minor version) "/planner-"
10206 version ".tar.xz"))
10207 (sha256
10208 (base32
10209 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10210 (build-system glib-or-gtk-build-system)
10211 (arguments
10212 ;; Disable the Python bindings because the Planner program functions
10213 ;; without them, and (as of 2017-06-13) we have not packaged all of
10214 ;; packages that are necessary for building the Python bindings.
10215 `(#:configure-flags
10216 (list "--disable-python"
10217 ,@(if (string=? "aarch64-linux" (%current-system))
10218 '("--build=aarch64-unknown-linux-gnu")
10219 '()))))
10220 (inputs
10221 `(("libgnomecanvas" ,libgnomecanvas)
10222 ("libgnomeui" ,libgnomeui)
10223 ("libglade" ,libglade)
10224 ("gnome-vfs" ,gnome-vfs)
10225 ("gconf" ,gconf)
10226 ("libxml2" ,libxml2)
10227 ("libxslt" ,libxslt)
10228 ("gtk+" ,gtk+)
10229 ("glib" ,glib)))
10230 (native-inputs
10231 `(("intltool" ,intltool)
10232 ("scrollkeeper" ,scrollkeeper)
10233 ("pkg-config" ,pkg-config)))
10234 (home-page "https://wiki.gnome.org/Apps/Planner")
10235 (synopsis "Project management software for the GNOME desktop")
10236 (description
10237 "GNOME Planner is a project management tool based on the Work Breakdown
10238 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10239 the resources, tasks, and constraints that you define, Planner generates
10240 various views into a project. For example, Planner can show a Gantt chart of
10241 the project. It can show a detailed summary of tasks including their
10242 duration, cost, and current progress. It can also show a report of resource
10243 utilization that highlights under-utilized and over-utilized resources. These
10244 views can be printed as PDF or PostScript files, or exported to HTML.")
10245 (license license:gpl2+)))
10246
10247 (define-public lollypop
10248 (package
10249 (name "lollypop")
10250 (version "1.4.6")
10251 (source
10252 (origin
10253 (method url-fetch)
10254 (uri (string-append "https://adishatz.org/lollypop/"
10255 "lollypop-" version ".tar.xz"))
10256 (sha256
10257 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10258 (build-system meson-build-system)
10259 (arguments
10260 `(#:imported-modules
10261 (,@%meson-build-system-modules
10262 (guix build python-build-system))
10263 #:modules
10264 ((guix build meson-build-system)
10265 ((guix build python-build-system) #:prefix python:)
10266 (guix build utils))
10267 #:glib-or-gtk? #t
10268 #:tests? #f ; no test suite
10269 #:phases
10270 (modify-phases %standard-phases
10271 (add-after 'install 'wrap-program
10272 (lambda* (#:key outputs #:allow-other-keys)
10273 (let ((out (assoc-ref outputs "out"))
10274 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10275 (wrap-program (string-append out "/bin/lollypop")
10276 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10277 #t))
10278 (add-after 'install 'wrap-python
10279 (assoc-ref python:%standard-phases 'wrap)))))
10280 (native-inputs
10281 `(("intltool" ,intltool)
10282 ("itstool" ,itstool)
10283 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10284 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10285 ("pkg-config" ,pkg-config)))
10286 (inputs
10287 `(("glib-networking" ,glib-networking)
10288 ("gobject-introspection" ,gobject-introspection)
10289 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10290 ("gst-plugins-base" ,gst-plugins-base)
10291 ("libnotify" ,libnotify)
10292 ("libsecret" ,libsecret)
10293 ("libhandy" ,libhandy)
10294 ("libsoup" ,libsoup)
10295 ("python" ,python)
10296 ("python-beautifulsoup4" ,python-beautifulsoup4)
10297 ("python-gst" ,python-gst)
10298 ("python-pil" ,python-pillow)
10299 ("python-pycairo" ,python-pycairo)
10300 ("python-pygobject" ,python-pygobject)
10301 ("python-pylast" ,python-pylast)
10302 ("totem-pl-parser" ,totem-pl-parser)
10303 ("webkitgtk" ,webkitgtk)))
10304 (propagated-inputs
10305 `(;; gst-plugins-base is required to start Lollypop,
10306 ;; the others are required to play streaming.
10307 ("gst-plugins-good" ,gst-plugins-good)
10308 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10309 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10310 (synopsis "GNOME music playing application")
10311 (description
10312 "Lollypop is a music player designed to play well with GNOME desktop.
10313 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10314 from artists and tracks from the web. It also fetches cover artworks
10315 automatically and it can stream songs from online music services and charts.")
10316 (license license:gpl3+)))
10317
10318 (define-public gnome-video-effects
10319 (package
10320 (name "gnome-video-effects")
10321 (version "0.5.0")
10322 (source (origin
10323 (method url-fetch)
10324 (uri (string-append "mirror://gnome/sources/" name "/"
10325 (version-major+minor version) "/" name "-"
10326 version ".tar.xz"))
10327 (sha256
10328 (base32
10329 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10330 (build-system meson-build-system)
10331 (native-inputs
10332 `(("gettext" ,gettext-minimal)
10333 ("pkg-config" ,pkg-config)))
10334 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10335 (synopsis "Video effects for Cheese and other GNOME applications")
10336 (description
10337 "A collection of GStreamer video filters and effects to be used in
10338 photo-booth-like software, such as Cheese.")
10339 (license license:gpl2+)))
10340
10341 (define-public cheese
10342 (package
10343 (name "cheese")
10344 (version "3.38.0")
10345 (source (origin
10346 (method url-fetch)
10347 (uri (string-append "mirror://gnome/sources/" name "/"
10348 (version-major+minor version) "/" name "-"
10349 version ".tar.xz"))
10350 (sha256
10351 (base32
10352 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10353 (arguments
10354 `(#:glib-or-gtk? #t
10355 ;; Tests require GDK.
10356 #:tests? #f
10357 #:phases
10358 (modify-phases %standard-phases
10359 (add-after 'unpack 'skip-gtk-update-icon-cache
10360 (lambda _
10361 ;; Don't create 'icon-theme.cache'
10362 (substitute* "meson_post_install.py"
10363 (("gtk-update-icon-cache") (which "true")))
10364 #t))
10365 (add-after 'unpack 'patch-docbook-xml
10366 (lambda* (#:key inputs #:allow-other-keys)
10367 ;; Avoid a network connection attempt during the build.
10368 (substitute* '("docs/reference/cheese.xml"
10369 "docs/reference/cheese-docs.xml")
10370 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10371 (string-append (assoc-ref inputs "docbook-xml")
10372 "/xml/dtd/docbook/docbookx.dtd")))
10373 #t))
10374 (add-after 'install 'wrap-cheese
10375 (lambda* (#:key inputs outputs #:allow-other-keys)
10376 (let ((out (assoc-ref outputs "out"))
10377 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10378 (wrap-program (string-append out "/bin/cheese")
10379 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10380 #t)))))
10381 (build-system meson-build-system)
10382 (native-inputs
10383 `(("docbook-xsl" ,docbook-xsl)
10384 ("docbook-xml" ,docbook-xml-4.3)
10385 ("gettext" ,gettext-minimal)
10386 ("glib:bin" ,glib "bin")
10387 ("gtk-doc" ,gtk-doc)
10388 ("itstool" ,itstool)
10389 ("libxml2" ,libxml2)
10390 ("libxslt" ,libxslt)
10391 ("pkg-config" ,pkg-config)
10392 ("vala" ,vala)))
10393 (propagated-inputs
10394 `(("gnome-video-effects" ,gnome-video-effects)
10395 ("clutter" ,clutter)
10396 ("clutter-gst" ,clutter-gst)
10397 ("clutter-gtk" ,clutter-gtk)
10398 ("libcanberra" ,libcanberra)
10399 ("gdk-pixbuf" ,gdk-pixbuf)
10400 ("glib" ,glib)
10401 ("gstreamer" ,gstreamer)))
10402 (inputs
10403 `(("gnome-desktop" ,gnome-desktop)
10404 ("gobject-introspection" ,gobject-introspection)
10405 ("gst-plugins-base" ,gst-plugins-base)
10406 ("gst-plugins-good" ,gst-plugins-good)
10407 ("gst-plugins-bad" ,gst-plugins-bad)
10408 ("gtk+" ,gtk+)
10409 ("libx11" ,libx11)
10410 ("libxtst" ,libxtst)))
10411 (home-page "https://wiki.gnome.org/Apps/Cheese")
10412 (synopsis "Webcam photo booth software for GNOME")
10413 (description
10414 "Cheese uses your webcam to take photos and videos. Cheese can also
10415 apply fancy special effects and lets you share the fun with others.")
10416 (license license:gpl2+)))
10417
10418 (define-public passwordsafe
10419 (package
10420 (name "passwordsafe")
10421 (version "3.99.2")
10422 (source
10423 (origin
10424 (method git-fetch)
10425 (uri (git-reference
10426 (url "https://gitlab.gnome.org/World/PasswordSafe")
10427 (commit version)))
10428 (file-name (git-file-name name version))
10429 (sha256
10430 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10431 (build-system meson-build-system)
10432 (arguments
10433 `(#:glib-or-gtk? #t
10434 #:phases
10435 (modify-phases %standard-phases
10436 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10437 (lambda* (#:key outputs #:allow-other-keys)
10438 (let ((prog (string-append (assoc-ref outputs "out")
10439 "/bin/gnome-passwordsafe"))
10440 (pylib (string-append (assoc-ref outputs "out")
10441 "/lib/python"
10442 ,(version-major+minor
10443 (package-version python))
10444 "/site-packages")))
10445 (wrap-program prog
10446 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10447 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10448 #t))))))
10449 (native-inputs
10450 `(("desktop-file-utils" ,desktop-file-utils)
10451 ("gettext" ,gettext-minimal)
10452 ("glib:bin" ,glib "bin")
10453 ("gobject-introspection" ,gobject-introspection)
10454 ("gtk+:bin" ,gtk+ "bin")
10455 ("pkg-config" ,pkg-config)))
10456 (inputs
10457 `(("glib" ,glib)
10458 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10459 ("gtk+" ,gtk+)
10460 ("libhandy" ,libhandy-0.0)
10461 ("libpwquality" ,libpwquality)
10462 ("python-pygobject" ,python-pygobject)
10463 ("python-pykeepass" ,python-pykeepass)))
10464 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10465 (synopsis "Password manager for the GNOME desktop")
10466 (description
10467 "Password Safe is a password manager which makes use of the KeePass v4
10468 format. It integrates perfectly with the GNOME desktop and provides an easy
10469 and uncluttered interface for the management of password databases.")
10470 (license license:gpl3+)))
10471
10472 (define-public sound-juicer
10473 (package
10474 (name "sound-juicer")
10475 (version "3.24.0")
10476 (source
10477 (origin
10478 (method url-fetch)
10479 (uri (string-append "mirror://gnome/sources/" name "/"
10480 (version-major+minor version) "/"
10481 name "-" version ".tar.xz"))
10482 (sha256
10483 (base32
10484 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10485 (build-system glib-or-gtk-build-system)
10486 (native-inputs
10487 `(("desktop-file-utils" ,desktop-file-utils)
10488 ("intltool" ,intltool)
10489 ("itstool" ,itstool)
10490 ("pkg-config" ,pkg-config)
10491 ("xmllint" ,libxml2)))
10492 (inputs
10493 `(("gtk+" ,gtk+)
10494 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10495 ("gstreamer" ,gstreamer)
10496 ("gst-plugins-base" ,gst-plugins-base)
10497 ("gst-plugins-good" ,gst-plugins-good)
10498 ("iso-codes" ,iso-codes)
10499 ("libbrasero-media3" ,brasero)
10500 ("libcanberra" ,libcanberra)
10501 ("libdiscid" ,libdiscid)
10502 ("libmusicbrainz" ,libmusicbrainz)
10503 ("neon" ,neon)))
10504 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10505 (synopsis "Audio music cd ripper")
10506 (description "Sound Juicer extracts audio from compact discs and convert it
10507 into audio files that a personal computer or digital audio player can play.
10508 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10509 mp3, Ogg Vorbis and FLAC")
10510 (license license:gpl2+)))
10511
10512 (define-public soundconverter
10513 (package
10514 (name "soundconverter")
10515 (version "3.0.2")
10516 (source
10517 (origin
10518 (method url-fetch)
10519 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10520 version "/+download/"
10521 "soundconverter-" version ".tar.xz"))
10522
10523 (sha256
10524 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10525 (build-system glib-or-gtk-build-system)
10526 (arguments
10527 `(#:imported-modules ((guix build python-build-system)
10528 (guix build glib-or-gtk-build-system)
10529 ,@%gnu-build-system-modules)
10530
10531 #:modules ((guix build glib-or-gtk-build-system)
10532 (guix build utils)
10533 ((guix build gnu-build-system) #:prefix gnu:)
10534 ((guix build python-build-system) #:prefix python:))
10535
10536 #:phases
10537 (modify-phases %standard-phases
10538 (add-after 'install 'wrap-soundconverter-for-python
10539 (assoc-ref python:%standard-phases 'wrap))
10540 (add-after 'install 'wrap-soundconverter
10541 (lambda* (#:key inputs outputs #:allow-other-keys)
10542 (let ((out (assoc-ref outputs "out"))
10543 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10544 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10545 (wrap-program (string-append out "/bin/soundconverter")
10546 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10547 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10548 #t)))))
10549 (native-inputs
10550 `(("intltool" ,intltool)
10551 ("pkg-config" ,pkg-config)
10552 ("glib:bin" ,glib "bin")))
10553 (inputs
10554 `(("gtk+" ,gtk+)
10555 ("python" ,python)
10556 ("python-pygobject" ,python-pygobject)
10557 ("gstreamer" ,gstreamer)
10558 ("gst-plugins-base" ,gst-plugins-base)))
10559 (home-page "https://soundconverter.org/")
10560 (synopsis "Convert between audio formats with a graphical interface")
10561 (description
10562 "SoundConverter supports converting between many audio formats including
10563 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10564 configurable file renaming. ")
10565 (license license:gpl3)))
10566
10567 (define-public workrave
10568 (package
10569 (name "workrave")
10570 (version "1.10.42")
10571 (source
10572 (origin
10573 (method git-fetch)
10574 (uri (git-reference
10575 (url "https://github.com/rcaelers/workrave")
10576 (commit (string-append "v" (string-map
10577 (match-lambda (#\. #\_) (chr chr))
10578 version)))))
10579 (file-name (git-file-name name version))
10580 (sha256
10581 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10582 (build-system glib-or-gtk-build-system)
10583 (arguments
10584 ;; The only tests are maintainer tests (in po/), which fail.
10585 `(#:tests? #f))
10586 (inputs `(("glib" ,glib)
10587 ("gtk+" ,gtk+)
10588 ("gdk-pixbuf" ,gdk-pixbuf)
10589 ("gtkmm" ,gtkmm)
10590 ("glibmm" ,glibmm)
10591 ("libx11" ,libx11)
10592 ("libxtst" ,libxtst)
10593 ("dconf" ,dconf)
10594 ("libice" ,libice)
10595 ("libsm" ,libsm)
10596 ("libxscrnsaver" ,libxscrnsaver)))
10597 (native-inputs `(("boost" ,boost)
10598 ("pkg-config" ,pkg-config)
10599 ("gettext" ,gettext-minimal)
10600 ("autoconf" ,autoconf)
10601 ("autoconf-archive" , autoconf-archive)
10602 ("automake" ,automake)
10603 ("libtool" ,libtool)
10604 ("intltool" ,intltool)
10605 ("gobject-introspection" ,gobject-introspection)
10606 ("python3" ,python-3)
10607 ("python-jinja2" ,python-jinja2)))
10608 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10609 (description
10610 "Workrave is a program that assists in the recovery and prevention of
10611 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10612 micro-pauses and rest breaks, and restricts you to your daily limit.")
10613 (home-page "http://www.workrave.org")
10614 (license license:gpl3+)))
10615
10616 (define-public ghex
10617 (package
10618 (name "ghex")
10619 (version "3.18.4")
10620 (source (origin
10621 (method url-fetch)
10622 (uri (string-append "mirror://gnome/sources/ghex/"
10623 (version-major+minor version) "/"
10624 "ghex-" version ".tar.xz"))
10625 (sha256
10626 (base32
10627 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10628 (build-system meson-build-system)
10629 (arguments
10630 '(#:glib-or-gtk? #t
10631 #:phases
10632 (modify-phases %standard-phases
10633 (add-after 'unpack 'skip-gtk-update-icon-cache
10634 ;; Don't create 'icon-theme.cache'.
10635 (lambda _
10636 (substitute* "meson_post_install.py"
10637 (("gtk-update-icon-cache") (which "true")))
10638 #t)))))
10639 (native-inputs
10640 `(("pkg-config" ,pkg-config)
10641 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10642 ("gnome-common" ,gnome-common)
10643 ("which" ,which)
10644 ("intltool" ,intltool)
10645 ("yelp-tools" ,yelp-tools)
10646 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10647 (inputs
10648 `(("atk" ,atk)
10649 ("gtk" ,gtk+)))
10650 (synopsis "GNOME hexadecimal editor")
10651 (description "The GHex program can view and edit files in two ways:
10652 hexadecimal or ASCII. It is useful for editing binary files in general.")
10653 (home-page "https://wiki.gnome.org/Apps/Ghex")
10654 (license license:gpl2)))
10655
10656 (define-public libdazzle
10657 (package
10658 (name "libdazzle")
10659 (version "3.37.1")
10660 (source (origin
10661 (method url-fetch)
10662 (uri (string-append "mirror://gnome/sources/libdazzle/"
10663 (version-major+minor version) "/"
10664 "libdazzle-" version ".tar.xz"))
10665 (sha256
10666 (base32
10667 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10668 (build-system meson-build-system)
10669 (arguments
10670 `(#:phases
10671 (modify-phases %standard-phases
10672 (add-before 'check 'pre-check
10673 (lambda _
10674 ;; Tests require a running X server.
10675 (system "Xvfb :1 &")
10676 (setenv "DISPLAY" ":1")
10677 #t)))))
10678 (native-inputs
10679 `(("glib" ,glib "bin") ; glib-compile-resources
10680 ("pkg-config" ,pkg-config)
10681 ;; For tests.
10682 ("xorg-server" ,xorg-server-for-tests)))
10683 (inputs
10684 `(("glib" ,glib)
10685 ("gobject-introspection" ,gobject-introspection)
10686 ("gtk+" ,gtk+)
10687 ("vala" ,vala)))
10688 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10689 (synopsis "Companion library to GObject and Gtk+")
10690 (description "The libdazzle library is a companion library to GObject and
10691 Gtk+. It provides various features that the authors wish were in the
10692 underlying library but cannot for various reasons. In most cases, they are
10693 wildly out of scope for those libraries. In other cases, they are not quite
10694 generic enough to work for everyone.")
10695 (license license:gpl3+)))
10696
10697 (define-public evolution
10698 (package
10699 (name "evolution")
10700 (version "3.34.2")
10701 (source (origin
10702 (method url-fetch)
10703 (uri (string-append "mirror://gnome/sources/evolution/"
10704 (version-major+minor version) "/"
10705 "evolution-" version ".tar.xz"))
10706 (sha256
10707 (base32
10708 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10709 (build-system cmake-build-system)
10710 (arguments
10711 `(#:imported-modules (,@%cmake-build-system-modules
10712 (guix build glib-or-gtk-build-system))
10713 #:modules ((guix build cmake-build-system)
10714 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10715 (guix build utils))
10716 #:configure-flags
10717 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10718 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10719 ; in four years and cannot be built.
10720 #:phases
10721 (modify-phases %standard-phases
10722 ;; The build system attempts to install user interface modules to the
10723 ;; output directory of the "evolution-data-server" package. This
10724 ;; change redirects that change.
10725 (add-after 'unpack 'patch-ui-module-dir
10726 (lambda* (#:key outputs #:allow-other-keys)
10727 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10728 (("\\$\\{edsuimoduledir\\}")
10729 (string-append (assoc-ref outputs "out")
10730 "/lib/evolution-data-server/ui-modules")))
10731 #t))
10732 (add-after 'install 'glib-or-gtk-compile-schemas
10733 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10734 (add-after 'install 'glib-or-gtk-wrap
10735 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10736 (native-inputs
10737 `(("glib" ,glib "bin") ; glib-mkenums
10738 ("pkg-config" ,pkg-config)
10739 ("intltool" ,intltool)
10740 ("itstool" ,itstool)))
10741 (inputs
10742 `(("enchant" ,enchant)
10743 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10744 ("gcr" ,gcr)
10745 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10746 ("gnome-autoar" ,gnome-autoar)
10747 ("gnome-desktop" ,gnome-desktop)
10748 ("gspell" ,gspell)
10749 ("highlight" ,highlight)
10750 ("libcanberra" ,libcanberra)
10751 ("libgweather" ,libgweather)
10752 ("libnotify" ,libnotify)
10753 ("libsoup" ,libsoup)
10754 ("nss" ,nss)
10755 ("openldap" ,openldap)
10756 ("webkitgtk" ,webkitgtk)
10757 ("ytnef" ,ytnef)))
10758 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10759 (synopsis "Manage your email, contacts and schedule")
10760 (description "Evolution is a personal information management application
10761 that provides integrated mail, calendaring and address book
10762 functionality.")
10763 ;; See COPYING for details.
10764 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10765 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10766 license:lgpl2.1+)))) ; smime/lib/*
10767
10768 (define-public gthumb
10769 (package
10770 (name "gthumb")
10771 (version "3.8.2")
10772 (source (origin
10773 (method url-fetch)
10774 (uri (string-append "mirror://gnome/sources/gthumb/"
10775 (version-major+minor version) "/"
10776 "gthumb-" version ".tar.xz"))
10777 (sha256
10778 (base32
10779 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10780 (build-system meson-build-system)
10781 (arguments
10782 `(#:glib-or-gtk? #t
10783 #:configure-flags
10784 ;; Ensure the RUNPATH contains all installed library locations.
10785 (list (string-append "-Dc_link_args=-Wl,-rpath="
10786 (assoc-ref %outputs "out")
10787 "/lib/gthumb/extensions")
10788 (string-append "-Dcpp_link_args=-Wl,-rpath="
10789 (assoc-ref %outputs "out")
10790 "/lib/gthumb/extensions"))))
10791 (native-inputs
10792 `(("pkg-config" ,pkg-config)
10793 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10794 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10795 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10796 ("intltool" ,intltool)
10797 ("itstool" ,itstool)))
10798 (inputs
10799 `(("exiv2" ,exiv2)
10800 ("gtk" ,gtk+)
10801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10802 ("gstreamer" ,gstreamer)
10803 ("clutter" ,clutter)
10804 ("clutter-gst" ,clutter-gst)
10805 ("clutter-gtk" ,clutter-gtk)
10806 ("libjpeg" ,libjpeg-turbo)
10807 ("libtiff" ,libtiff)
10808 ("libraw" ,libraw)))
10809 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10810 (synopsis "GNOME image viewer and browser")
10811 (description "GThumb is an image viewer, browser, organizer, editor and
10812 advanced image management tool")
10813 (license license:gpl2+)))
10814
10815 (define-public terminator
10816 (package
10817 (name "terminator")
10818 (version "1.92")
10819 (source (origin
10820 (method url-fetch)
10821 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10822 "releases/download/v" version "/"
10823 name "-" version ".tar.gz"))
10824 (sha256
10825 (base32
10826 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10827 (build-system python-build-system)
10828 (native-inputs
10829 `(("gettext" ,gettext-minimal)
10830 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10831 ("gobject-introspection" ,gobject-introspection)
10832 ("intltool" ,intltool)
10833 ("pkg-config" ,pkg-config)
10834 ("python-psutil" ,python-psutil)
10835 ("python-pytest-runner" ,python-pytest-runner)
10836 ("python-pytest" ,python-pytest)))
10837 (inputs
10838 `(("cairo" ,cairo)
10839 ("dbus-glib" ,dbus-glib)
10840 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10841 ("gtk+" ,gtk+)
10842 ("python-pycairo" ,python-pycairo)
10843 ("python-pygobject" ,python-pygobject)
10844 ("vte" ,vte)))
10845 (propagated-inputs
10846 `(("python-configobj" ,python-configobj)))
10847 (arguments
10848 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10849 ,@%python-build-system-modules)
10850 #:modules ((guix build python-build-system)
10851 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10852 (guix build utils))
10853 #:phases
10854 (modify-phases %standard-phases
10855 (add-after
10856 'install 'wrap-program
10857 (lambda* (#:key outputs #:allow-other-keys)
10858 (let ((prog (string-append (assoc-ref outputs "out")
10859 "/bin/terminator"))
10860 (pylib (string-append (assoc-ref outputs "out")
10861 "/lib/python"
10862 ,(version-major+minor
10863 (package-version python))
10864 "/site-packages")))
10865 (wrap-program prog
10866 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10867 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10868 #t)))
10869 (add-after 'wrap-program 'glib-or-gtk-wrap
10870 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10871 (home-page "https://gnome-terminator.org/")
10872 (synopsis "Store and run multiple GNOME terminals in one window")
10873 (description
10874 "Terminator allows you to run multiple GNOME terminals in a grid and
10875 tabs, and it supports drag and drop re-ordering of terminals.")
10876 (license license:gpl2)))
10877
10878 (define-public libhandy
10879 (package
10880 (name "libhandy")
10881 (version "1.0.3")
10882 (source
10883 (origin
10884 (method git-fetch)
10885 (uri (git-reference
10886 (url "https://gitlab.gnome.org/GNOME/libhandy")
10887 (commit version)))
10888 (file-name (git-file-name name version))
10889 (sha256
10890 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10891 (build-system meson-build-system)
10892 (arguments
10893 `(#:configure-flags
10894 '("-Dglade_catalog=enabled"
10895 "-Dgtk_doc=true")
10896 #:phases
10897 (modify-phases %standard-phases
10898 (add-before 'check 'pre-check
10899 (lambda _
10900 ;; Tests require a running X server.
10901 (system "Xvfb :1 &")
10902 (setenv "DISPLAY" ":1")
10903 #t)))))
10904 (inputs
10905 `(("gtk+" ,gtk+)
10906 ("glade" ,glade3)
10907 ("libxml2" ,libxml2)))
10908 (native-inputs
10909 `(("glib:bin" ,glib "bin")
10910 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10911 ("vala" ,vala)
10912 ("gtk-doc" ,gtk-doc)
10913 ("pkg-config" ,pkg-config)
10914 ("gettext" ,gettext-minimal)
10915
10916 ;; Test suite dependencies.
10917 ("xorg-server" ,xorg-server-for-tests)
10918 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10919 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10920 (synopsis "Library full of GTK+ widgets for mobile phones")
10921 (description "The aim of the handy library is to help with developing user
10922 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10923 for usage on small and big screens.")
10924 (license license:lgpl2.1+)))
10925
10926 (define-public libhandy-0.0
10927 (package
10928 (inherit libhandy)
10929 (version "0.0.13")
10930 (source
10931 (origin
10932 (method git-fetch)
10933 (uri (git-reference
10934 (url "https://gitlab.gnome.org/GNOME/libhandy")
10935 (commit (string-append "v" version))))
10936 (file-name (git-file-name "libhandy" version))
10937 (sha256
10938 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10939 (arguments
10940 (substitute-keyword-arguments (package-arguments libhandy)
10941 ((#:configure-flags flags)
10942 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10943
10944 (define-public libgit2-glib
10945 (package
10946 (name "libgit2-glib")
10947 (version "0.99.0.1")
10948 (source (origin
10949 (method url-fetch)
10950 (uri (string-append "mirror://gnome/sources/" name "/"
10951 (version-major+minor version) "/"
10952 name "-" version ".tar.xz"))
10953 (sha256
10954 (base32
10955 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10956 (build-system meson-build-system)
10957 (native-inputs
10958 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10959 ("gobject-introspection" ,gobject-introspection)
10960 ("pkg-config" ,pkg-config)
10961 ("python-pygobject" ,python-pygobject)
10962 ("python-wrapper" ,python-wrapper)
10963 ("vala" ,vala)))
10964 (inputs
10965 `(("glib" ,glib)
10966 ("libssh2" ,libssh2)))
10967 (propagated-inputs
10968 `(;; In Requires of libgit2-glib.pc.
10969 ("libgit2" ,libgit2)))
10970 (synopsis "GLib wrapper around the libgit2 Git access library")
10971 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10972 access library. It only implements the core plumbing functions, not really the
10973 higher level porcelain stuff.")
10974 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10975 (license license:gpl2+)))
10976
10977 (define-public gitg
10978 (package
10979 (name "gitg")
10980 (version "3.32.1")
10981 (source (origin
10982 (method url-fetch)
10983 (uri (string-append "mirror://gnome/sources/" name "/"
10984 (version-major+minor version) "/"
10985 name "-" version ".tar.xz"))
10986 (sha256
10987 (base32
10988 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10989 (build-system meson-build-system)
10990 (arguments
10991 `(#:glib-or-gtk? #t
10992 #:phases
10993 (modify-phases %standard-phases
10994 (add-after 'unpack 'disable-post-install-partially
10995 (lambda _
10996 (substitute* "meson_post_install.py"
10997 (("'python'") ; there are no python sources to compile
10998 (string-append "'" (which "true") "'"))
10999 (("gtk-update-icon-cache") (which "true")))
11000 #t))
11001 (add-after 'unpack 'fix-test-sources
11002 (lambda _
11003 (substitute* "tests/libgitg/test-commit.vala"
11004 (("/bin/bash") (which "bash")))
11005 #t))
11006 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11007 (lambda* (#:key outputs #:allow-other-keys)
11008 (let ((prog (string-append (assoc-ref outputs "out")
11009 "/bin/gitg")))
11010 (wrap-program prog
11011 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11012 #t))))))
11013 (inputs
11014 `(("glib" ,glib)
11015 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11016 ("gtk+" ,gtk+)
11017 ("gtkspell3" ,gtkspell3)
11018 ("gtksourceview" ,gtksourceview-3)
11019 ("json-glib" ,json-glib)
11020 ("libdazzle" ,libdazzle)
11021 ("libgee" ,libgee)
11022 ("libgit2-glib" ,libgit2-glib)
11023 ("libpeas" ,libpeas)
11024 ("libsecret" ,libsecret)
11025 ("libsoup" ,libsoup)
11026 ("libxml2" ,libxml2)))
11027 (native-inputs
11028 `(("glib:bin" ,glib "bin")
11029 ("gtk+:bin" ,gtk+ "bin")
11030 ("gobject-introspection" ,gobject-introspection)
11031 ("intltool" ,intltool)
11032 ("pkg-config" ,pkg-config)
11033 ("vala" ,vala)))
11034 (synopsis "Graphical user interface for git")
11035 (description
11036 "gitg is a graphical user interface for git. It aims at being a small,
11037 fast and convenient tool to visualize the history of git repositories.
11038 Besides visualization, gitg also provides several utilities to manage your
11039 repository and commit your work.")
11040 (home-page "https://wiki.gnome.org/Apps/Gitg")
11041 (license license:gpl2+)))
11042
11043 (define-public gamin
11044 (package
11045 (name "gamin")
11046 (version "0.1.10")
11047 (source (origin
11048 (method url-fetch)
11049 (uri (string-append "mirror://gnome/sources/" name "/"
11050 (version-major+minor version) "/"
11051 name "-" version ".tar.bz2"))
11052 (sha256
11053 (base32
11054 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11055 (build-system gnu-build-system)
11056 (arguments
11057 `(#:phases
11058 (modify-phases %standard-phases
11059 (add-after 'unpack 'remove-deprecated-macro
11060 (lambda _
11061 (substitute* '("server/gam_node.c"
11062 "server/gam_subscription.h"
11063 "server/gam_node.h"
11064 "server/gam_subscription.c")
11065 (("G_CONST_RETURN") "const"))
11066 #t)))))
11067 (inputs
11068 `(("glib" ,glib)))
11069 (native-inputs
11070 `(("intltool" ,intltool)
11071 ("pkg-config" ,pkg-config)))
11072 (home-page "https://people.gnome.org/~veillard/gamin/")
11073 (synopsis "File alteration monitor")
11074 (description
11075 "Gamin is a file and directory monitoring system defined to be a subset
11076 of the FAM (File Alteration Monitor) system. This is a service provided by a
11077 library which detects when a file or a directory has been modified.")
11078 (license license:gpl2+)))
11079
11080 (define-public gnome-mahjongg
11081 (package
11082 (name "gnome-mahjongg")
11083 (version "3.35.1")
11084 (source (origin
11085 (method git-fetch)
11086 (uri (git-reference
11087 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11088 (commit version)))
11089 (file-name (git-file-name name version))
11090 (sha256
11091 (base32
11092 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11093 (build-system meson-build-system)
11094 (arguments
11095 `(#:glib-or-gtk? #t))
11096 (native-inputs
11097 `(("appstream-glib" ,appstream-glib)
11098 ("gettext" ,gettext-minimal)
11099 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11100 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11101 ("itstool" ,itstool)
11102 ("pkg-config" ,pkg-config)
11103 ("vala" ,vala)))
11104 (propagated-inputs
11105 `(("dconf" ,dconf)))
11106 (inputs
11107 `(("glib" ,glib)
11108 ("gtk+" ,gtk+)
11109 ("librsvg" ,librsvg)))
11110 (synopsis "Mahjongg tile-matching game")
11111 (description "GNOME Mahjongg is a game based on the classic Chinese
11112 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11113 and a high score table.")
11114 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11115 (license license:gpl2+)))
11116
11117 (define-public gnome-themes-extra
11118 (package
11119 (name "gnome-themes-extra")
11120 (version "3.28")
11121 (source
11122 (origin
11123 (method url-fetch)
11124 (uri (string-append "mirror://gnome/sources/" name "/"
11125 (version-major+minor version) "/" name "-"
11126 version ".tar.xz"))
11127 (sha256
11128 (base32
11129 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11130 (build-system gnu-build-system)
11131 (arguments
11132 '(#:configure-flags
11133 ;; Don't create 'icon-theme.cache'.
11134 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11135 (true (string-append coreutils "/bin/true")))
11136 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11137 (native-inputs
11138 `(("glib:bin" ,glib "bin")
11139 ("intltool" ,intltool)
11140 ("pkg-config" ,pkg-config)))
11141 (inputs
11142 `(("glib" ,glib)
11143 ("gtk+" ,gtk+)
11144 ("gtk+-2" ,gtk+-2)
11145 ("librsvg" ,librsvg)
11146 ("libxml2" ,libxml2)))
11147 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11148 (synopsis "GNOME Extra Themes")
11149 (description "This package provides themes and related elements that don't
11150 really fit in other upstream packages. It offers legacy support for GTK+ 2
11151 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11152 index files needed for Adwaita to be used outside of GNOME.")
11153 (license license:lgpl2.1+)))
11154
11155 (define-public gnote
11156 (package
11157 (name "gnote")
11158 (version "3.38.0")
11159 (source
11160 (origin
11161 (method url-fetch)
11162 (uri (string-append "mirror://gnome/sources/" name "/"
11163 (version-major+minor version) "/"
11164 "gnote-" version ".tar.xz"))
11165 (sha256
11166 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11167 (build-system glib-or-gtk-build-system)
11168 (native-inputs
11169 `(("desktop-file-utils" ,desktop-file-utils)
11170 ("glib:bin" ,glib "bin")
11171 ("gobject-introspection" ,gobject-introspection)
11172 ("intltool" ,intltool)
11173 ("itstool" ,itstool)
11174 ("pkg-config" ,pkg-config)
11175 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11176 (inputs
11177 `(("glibmm" ,glibmm)
11178 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11179 ("gspell" ,gspell)
11180 ("gtk+" ,gtk+)
11181 ("gtkmm" ,gtkmm)
11182 ("libsecret" ,libsecret)
11183 ("libuuid" ,util-linux "lib")
11184 ("libxml2" ,libxml2)
11185 ("libxslt" ,libxslt)))
11186 (synopsis "Note-taking application for the GNOME desktop")
11187 (description
11188 "Gnote is a note-taking application written for the GNOME desktop
11189 environment.")
11190 (home-page "https://wiki.gnome.org/Apps/Gnote")
11191 (license license:gpl3+)))
11192
11193 (define-public polari
11194 (package
11195 (name "polari")
11196 (version "3.36.3")
11197 (source (origin
11198 (method url-fetch)
11199 (uri (string-append "mirror://gnome/sources/polari/"
11200 (version-major+minor version)
11201 "/polari-" version ".tar.xz"))
11202 (sha256
11203 (base32
11204 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11205 (build-system meson-build-system)
11206 (arguments
11207 `(#:glib-or-gtk? #t
11208 #:phases
11209 (modify-phases %standard-phases
11210 (add-after 'unpack 'skip-gtk-update-icon-cache
11211 (lambda _
11212 (substitute* "meson/meson-postinstall.sh"
11213 (("gtk-update-icon-cache") (which "true")))
11214 #t))
11215 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11216 (lambda* (#:key outputs #:allow-other-keys)
11217 (let ((prog (string-append (assoc-ref outputs "out")
11218 "/bin/polari")))
11219 (wrap-program prog
11220 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11221 #t))))))
11222 (inputs
11223 `(("glib" ,glib)
11224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11225 ("gspell" ,gspell)
11226 ("gtk+" ,gtk+)
11227 ("gjs" ,gjs)
11228 ("libsecret" ,libsecret)
11229 ("libsoup" ,libsoup)
11230 ("telepathy-glib" ,telepathy-glib)
11231 ("telepathy-logger" ,telepathy-logger)))
11232 (native-inputs
11233 `(("glib:bin" ,glib "bin")
11234 ("gobject-introspection" ,gobject-introspection)
11235 ("intltool" ,intltool)
11236 ("pkg-config" ,pkg-config)
11237 ("yelp-tools" ,yelp-tools)))
11238 (propagated-inputs
11239 `(("telepathy-idle" ,telepathy-idle)
11240 ("telepathy-mission-control" ,telepathy-mission-control)))
11241 (synopsis "Simple IRC Client")
11242 (description
11243 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11244 integrate seamlessly with the GNOME desktop.")
11245 (home-page "https://wiki.gnome.org/Apps/Polari")
11246 (license license:gpl2+)))
11247
11248 (define-public gnome-boxes
11249 (package
11250 (name "gnome-boxes")
11251 (version "3.36.6")
11252 (source
11253 (origin
11254 (method url-fetch)
11255 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11256 (version-major+minor version) "/"
11257 "gnome-boxes-" version ".tar.xz"))
11258 (sha256
11259 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11260 (build-system meson-build-system)
11261 (arguments
11262 '(#:glib-or-gtk? #t
11263 #:configure-flags (list "-Drdp=false"
11264 (string-append "-Dc_link_args=-Wl,-rpath="
11265 (assoc-ref %outputs "out")
11266 "/lib/gnome-boxes"))))
11267 (native-inputs
11268 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11269 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11270 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11271 ("itstool" ,itstool)
11272 ("intltool" ,intltool)
11273 ("vala" ,vala)
11274 ("pkg-config" ,pkg-config)))
11275 (inputs
11276 `(("libarchive" ,libarchive)
11277 ("glib-networking" ,glib-networking) ;for TLS support
11278 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11279 ("gtk" ,gtk+)
11280 ("gtk-vnc" ,gtk-vnc)
11281 ("libosinfo" ,libosinfo)
11282 ("libsecret" ,libsecret)
11283 ("libsoup" ,libsoup)
11284 ("libusb" ,libusb)
11285 ("libvirt" ,libvirt)
11286 ("libvirt-glib" ,libvirt-glib)
11287 ("libxml" ,libxml2)
11288 ("spice-gtk" ,spice-gtk)
11289 ("sparql-query" ,sparql-query)
11290 ("vte" ,vte)
11291 ("webkitgtk" ,webkitgtk)
11292 ("tracker" ,tracker)
11293 ("libgudev" ,libgudev)))
11294 (home-page "https://wiki.gnome.org/Apps/Boxes")
11295 (synopsis "View, access, and manage remote and virtual systems")
11296 (description "GNOME Boxes is a simple application to view, access, and
11297 manage remote and virtual systems. Note that this application requires the
11298 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11299 @command{info '(guix) Virtualization Services'} to learn how to configure
11300 these services on the Guix System.")
11301 (license (list
11302 ;; For data/icons/empty-boxes.png.
11303 license:cc-by2.0
11304 ;; For all others.
11305 license:lgpl2.0+))))
11306
11307 (define-public geary
11308 (package
11309 (name "geary")
11310 (version "3.34.1")
11311 (source (origin
11312 (method git-fetch)
11313 (uri (git-reference
11314 (url "https://gitlab.gnome.org/GNOME/geary")
11315 (commit version)))
11316 (file-name (git-file-name name version))
11317 (sha256
11318 (base32
11319 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11320 (build-system meson-build-system)
11321 (arguments
11322 `(#:glib-or-gtk? #t
11323 #:phases (modify-phases %standard-phases
11324 (add-after 'unpack 'disable-failing-tests
11325 (lambda _
11326 (substitute* "test/meson.build"
11327 (("test\\('client-tests', geary_test_client_bin\\)")
11328 ""))
11329 #t))
11330 (add-after 'unpack 'disable-postinstall-script
11331 (lambda _
11332 (substitute* "meson.build"
11333 (("meson.add_install_script\\(\
11334 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11335 ""))
11336 #t))
11337 (add-before 'check 'setup-xvfb
11338 (lambda _
11339 (system "Xvfb :1 &")
11340 (setenv "DISPLAY" ":1")
11341 #t)))))
11342 (inputs
11343 `(("enchant" ,enchant)
11344 ("folks" ,folks)
11345 ("gcr" ,gcr)
11346 ("glib" ,glib)
11347 ("gmime" ,gmime-2.6)
11348 ("gnome-online-accounts:lib"
11349 ,gnome-online-accounts "lib")
11350 ("gspell" ,gspell)
11351 ("gtk+" ,gtk+)
11352 ("iso-codes" ,iso-codes)
11353 ("json-glib" ,json-glib)
11354 ("libcanberra" ,libcanberra)
11355 ("libgee" ,libgee)
11356 ("libhandy" ,libhandy-0.0)
11357 ("libpeas" ,libpeas)
11358 ("libsecret" ,libsecret)
11359 ("libunwind" ,libunwind)
11360 ("sqlite" ,sqlite)
11361 ("webkitgtk" ,webkitgtk)
11362 ("ytnef" ,ytnef)))
11363 (native-inputs
11364 `(("appstream-glib" ,appstream-glib)
11365 ("cmake-minimal" ,cmake-minimal)
11366 ("desktop-file-utils" ,desktop-file-utils)
11367 ("gettext" ,gettext-minimal)
11368 ("glib:bin" ,glib "bin")
11369 ("gobject-introspection" ,gobject-introspection)
11370 ("itstool" ,itstool)
11371 ("libarchive" ,libarchive)
11372 ("libxml2" ,libxml2)
11373 ("pkg-config" ,pkg-config)
11374 ("vala" ,vala)
11375 ("xvfb" ,xorg-server-for-tests)))
11376 (synopsis "GNOME email application built around conversations")
11377 (description
11378 "Geary collects related messages together into conversations,
11379 making it easy to find and follow your discussions. Full-text and keyword
11380 search makes it easy to find the email you are looking for. Geary's
11381 full-featured composer lets you send rich, styled text with images, links, and
11382 lists, but also send lightweight, easy to read text messages. Geary
11383 automatically picks up your existing GNOME Online Accounts, and adding more is
11384 easy. Geary has a clean, fast, modern interface that works like you want it
11385 to.")
11386 (home-page "https://wiki.gnome.org/Apps/Geary")
11387 (license (list
11388 ;; geary
11389 license:lgpl2.1+
11390 ;; icons
11391 license:cc-by3.0
11392 license:cc-by-sa3.0
11393 license:public-domain
11394 ;; snowball
11395 license:bsd-2))))
11396
11397 (define-public glabels
11398 (package
11399 (name "glabels")
11400 (version "3.4.1")
11401 (source
11402 (origin
11403 (method url-fetch)
11404 (uri (string-append "mirror://gnome/sources/" name "/"
11405 (version-major+minor version) "/"
11406 "glabels-" version ".tar.xz"))
11407 (sha256
11408 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11409 (build-system glib-or-gtk-build-system)
11410 (native-inputs
11411 `(("gettext" ,gettext-minimal)
11412 ("glib:bin" ,glib "bin")
11413 ("intltool" ,intltool)
11414 ("itstool" ,itstool)
11415 ("pkg-config" ,pkg-config)))
11416 (inputs
11417 `(("gtk+" ,gtk+)
11418 ("librsvg" ,librsvg)
11419 ("libxml2" ,libxml2)))
11420 (home-page "https://glabels.org/")
11421 (synopsis "Program for creating labels and business cards")
11422 (description
11423 "gLabels is a program for creating labels and business cards. It is
11424 designed to work with various laser/ink-jet peel-off label and business
11425 card sheets that you’ll find at most office supply stores.")
11426 (license license:gpl3+)))
11427
11428 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11429 (define-public gnome-latex
11430 (package
11431 (name "gnome-latex")
11432 (version "3.36.0")
11433 (source
11434 (origin
11435 (method url-fetch)
11436 (uri (string-append "mirror://gnome/sources/" name "/"
11437 (version-major+minor version) "/"
11438 "gnome-latex-" version ".tar.xz"))
11439 (sha256
11440 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11441 (build-system glib-or-gtk-build-system)
11442 (native-inputs
11443 `(("gettext" ,gettext-minimal)
11444 ("glib:bin" ,glib "bin")
11445 ("gobject-introspection" ,gobject-introspection)
11446 ("gtk-doc" ,gtk-doc)
11447 ("intltool" ,intltool)
11448 ("itstool" ,itstool)
11449 ("pkg-config" ,pkg-config)
11450 ("vala" ,vala)))
11451 (inputs
11452 `(("amtk" ,amtk)
11453 ("dconf" ,dconf)
11454 ("glib" ,glib)
11455 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11456 ("gspell" ,gspell)
11457 ("gtk+" ,gtk+)
11458 ("gtksourceview" ,gtksourceview)
11459 ("libgee" ,libgee)
11460 ("tepl" ,tepl)
11461 ("uchardet" ,uchardet)))
11462 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11463 (synopsis "LaTeX editor for the GNOME desktop")
11464 (description
11465 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11466 such as build tools, completion of LaTeX commands, structure navigation,
11467 symbol tables, document templates, project management, spell-checking, menus
11468 and toolbars.")
11469 (license license:gpl3+)))
11470
11471 (define-public setzer
11472 (package
11473 (name "setzer")
11474 (version "0.4.1")
11475 (source
11476 (origin
11477 (method git-fetch)
11478 (uri (git-reference
11479 (url "https://github.com/cvfosammmm/Setzer")
11480 (commit (string-append "v" version))))
11481 (file-name (git-file-name name version))
11482 (sha256
11483 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11484 (build-system meson-build-system)
11485 (arguments
11486 `(#:glib-or-gtk? #t
11487 #:phases
11488 (modify-phases %standard-phases
11489 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11490 (lambda* (#:key outputs #:allow-other-keys)
11491 (let ((prog (string-append (assoc-ref outputs "out")
11492 "/bin/setzer"))
11493 (pylib (string-append (assoc-ref outputs "out")
11494 "/lib/python"
11495 ,(version-major+minor
11496 (package-version python))
11497 "/site-packages")))
11498 (wrap-program prog
11499 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11500 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11501 #t))))))
11502 (native-inputs
11503 `(("desktop-file-utils" ,desktop-file-utils)
11504 ("gettext" ,gettext-minimal)
11505 ("glib:bin" ,glib "bin")
11506 ("gobject-introspection" ,gobject-introspection)
11507 ("gtk+:bin" ,gtk+ "bin")))
11508 (inputs
11509 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11510 ("gspell" ,gspell)
11511 ("gtk+" ,gtk+)
11512 ("gtksourceview" ,gtksourceview)
11513 ("pango" ,pango)
11514 ("poppler" ,poppler)
11515 ("python-pdfminer" ,python-pdfminer-six)
11516 ("python-pycairo" ,python-pycairo)
11517 ("python-pygobject" ,python-pygobject)
11518 ("python-pyxdg" ,python-pyxdg)
11519 ("webkitgtk" ,webkitgtk)
11520 ("xdg-utils" ,xdg-utils)))
11521 (home-page "https://www.cvfosammmm.org/setzer/")
11522 (synopsis "LaTeX editor written in Python with GTK+")
11523 (description
11524 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11525 GTK+. It integrates well with the GNOME desktop environment.")
11526 (license license:gpl3+)))
11527
11528 (define-public libratbag
11529 (package
11530 (name "libratbag")
11531 (version "0.14")
11532 (source
11533 (origin
11534 (method git-fetch)
11535 (uri (git-reference
11536 (url "https://github.com/libratbag/libratbag")
11537 (commit (string-append "v" version))))
11538 (file-name (git-file-name name version))
11539 (sha256
11540 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11541 (build-system meson-build-system)
11542 (arguments
11543 `(#:configure-flags
11544 (list "-Dsystemd=false"
11545 "-Dlogind-provider=elogind")
11546 #:phases
11547 (modify-phases %standard-phases
11548 (add-after 'install 'wrap
11549 (lambda* (#:key inputs outputs #:allow-other-keys)
11550 (let* ((out (assoc-ref outputs "out"))
11551 (site (string-append
11552 "/lib/python"
11553 ,(version-major+minor (package-version python))
11554 "/site-packages"))
11555 (evdev (string-append
11556 (assoc-ref inputs "python-evdev") site))
11557 (pygo (string-append
11558 (assoc-ref inputs "python-pygobject") site))
11559 (python-wrap
11560 `("PYTHONPATH" = (,evdev ,pygo))))
11561 (wrap-program (string-append out "/bin/" "ratbagctl")
11562 python-wrap)
11563 #t))))))
11564 (native-inputs
11565 `(("check" ,check)
11566 ("pkg-config" ,pkg-config)
11567 ("swig" ,swig)
11568 ("valgrind" ,valgrind)))
11569 (inputs
11570 `(("glib" ,glib)
11571 ("json-glib" ,json-glib)
11572 ("libevdev" ,libevdev)
11573 ("libsystemd" ,elogind)
11574 ("libunistring" ,libunistring)
11575 ("python-evdev" ,python-evdev)
11576 ("python-pygobject" ,python-pygobject)
11577 ("udev" ,eudev)))
11578 (home-page "https://github.com/libratbag/libratbag")
11579 (synopsis "DBus daemon and utility for configuring gaming mice")
11580 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11581 configure input devices, mainly gaming mice. The daemon provides a generic
11582 way to access the various features exposed by these mice and abstracts away
11583 hardware-specific and kernel-specific quirks. There is also the
11584 @command{ratbagctl} command line interface for configuring devices.
11585
11586 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11587 Steelseries.
11588
11589 The ratbagd DBus service can be enabled by adding the following service to
11590 your operating-system definition:
11591
11592 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11593 (license license:expat)))
11594
11595 (define-public piper
11596 (package
11597 (name "piper")
11598 (version "0.5.1")
11599 (source
11600 (origin
11601 (method git-fetch)
11602 (uri (git-reference
11603 (url "https://github.com/libratbag/piper")
11604 (commit version)))
11605 (sha256
11606 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11607 (file-name (git-file-name name version))))
11608 (build-system meson-build-system)
11609 (native-inputs
11610 `(("gettext" ,gettext-minimal)
11611 ("glib:bin" ,glib "bin")
11612 ("gobject-introspection" ,gobject-introspection)
11613 ("pkg-config" ,pkg-config)
11614 ("python-flake8" ,python-flake8)))
11615 (inputs
11616 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11617 ("gtk" ,gtk+)
11618 ("gtk:bin" ,gtk+ "bin")
11619 ("librsvg" ,librsvg)
11620 ("python-evdev" ,python-evdev)
11621 ("python-lxml" ,python-lxml)
11622 ("python-pycairo" ,python-pycairo)
11623 ("python-pygobject" ,python-pygobject)))
11624 (arguments
11625 `(#:imported-modules ((guix build python-build-system)
11626 ,@%meson-build-system-modules)
11627 #:modules (((guix build python-build-system) #:prefix python:)
11628 (guix build meson-build-system)
11629 (guix build utils))
11630 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11631 #:phases
11632 (modify-phases %standard-phases
11633 (add-after 'unpack 'dont-update-gtk-icon-cache
11634 (lambda _
11635 (substitute* "meson.build"
11636 (("meson.add_install_script('meson_install.sh')") ""))
11637 #t))
11638 ;; TODO: Switch to wrap-script when it is fixed.
11639 (add-after 'install 'wrap-python
11640 (assoc-ref python:%standard-phases 'wrap))
11641 (add-after 'wrap-python 'wrap
11642 (lambda* (#:key outputs #:allow-other-keys)
11643 (wrap-program
11644 (string-append (assoc-ref outputs "out" )"/bin/piper")
11645 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11646 #t)))))
11647 (home-page "https://github.com/libratbag/piper/")
11648 (synopsis "Configure bindings and LEDs on gaming mice")
11649 (description "Piper is a GTK+ application for configuring gaming mice with
11650 onboard configuration for key bindings via libratbag. Piper requires
11651 a @command{ratbagd} daemon running with root privileges. It can be run
11652 manually as root, but is preferably configured as a DBus service that can
11653 launch on demand. This can be configured by enabling the following service,
11654 provided there is a DBus service present:
11655
11656 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11657 (license license:gpl2)))
11658
11659 (define-public parlatype
11660 (package
11661 (name "parlatype")
11662 (version "2.1")
11663 (source
11664 (origin
11665 (method git-fetch)
11666 (uri (git-reference
11667 (url "https://github.com/gkarsay/parlatype")
11668 (commit (string-append "v" version))))
11669 (file-name (git-file-name name version))
11670 (sha256
11671 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11672 (build-system meson-build-system)
11673 (arguments
11674 `(#:glib-or-gtk? #t
11675 #:tests? #f ;require internet access
11676 #:phases
11677 (modify-phases %standard-phases
11678 (add-after 'install 'wrap-parlatype
11679 ;; Add gstreamer plugin provided in this package to system's
11680 ;; plugins.
11681 (lambda* (#:key outputs #:allow-other-keys)
11682 (let* ((out (assoc-ref outputs "out"))
11683 (gst-plugin-path (string-append
11684 out "/lib/gstreamer-1.0/"
11685 ":"
11686 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11687 (wrap-program (string-append out "/bin/parlatype")
11688 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11689 #t)))))
11690 (native-inputs
11691 `(("appstream-glib" ,appstream-glib)
11692 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11693 ("gettext" ,gettext-minimal)
11694 ("glib" ,glib "bin") ;for glib-compile-resources
11695 ("pkg-config" ,pkg-config)
11696 ("yelp-tools" ,yelp-tools)))
11697 (inputs
11698 `(("gst-plugins-base" ,gst-plugins-base)
11699 ("gst-plugins-good" ,gst-plugins-good)
11700 ("gstreamer" ,gstreamer)
11701 ("gtk+" ,gtk+)
11702 ("pocketsphinx" ,pocketsphinx)
11703 ("pulseaudio" ,pulseaudio)
11704 ("sphinxbase" ,sphinxbase)))
11705 (home-page "http://gkarsay.github.io/parlatype/")
11706 (synopsis "GNOME audio player for transcription")
11707 (description "Parlatype is an audio player for the GNOME desktop
11708 environment. Its main purpose is the manual transcription of spoken
11709 audio files.")
11710 (license license:gpl3+)))
11711
11712 (define-public jsonrpc-glib
11713 (package
11714 (name "jsonrpc-glib")
11715 (version "3.34.0")
11716 (source (origin
11717 (method url-fetch)
11718 (uri (string-append "mirror://gnome/sources/" name "/"
11719 (version-major+minor version) "/"
11720 name "-" version ".tar.xz"))
11721 (sha256
11722 (base32
11723 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11724 (build-system meson-build-system)
11725 (inputs
11726 `(("json-glib" ,json-glib)
11727 ("glib" ,glib)))
11728 (native-inputs
11729 `(("pkg-config" ,pkg-config)
11730 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11731 ("gobject-introspection" ,gobject-introspection)
11732 ("vala" ,vala)))
11733 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11734 (synopsis "JSON-RPC library for GLib")
11735 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11736 peers in either a synchronous or asynchronous fashion. It also allows
11737 communicating using the GVariant serialization format instead of JSON when
11738 both peers support it. You might want that when communicating on a single
11739 host to avoid parser overhead and memory-allocator fragmentation.")
11740 (license license:lgpl2.1+)))
11741
11742 (define-public feedbackd
11743 (package
11744 (name "feedbackd")
11745 (version "0.0.0+git20200527")
11746 (source (origin
11747 (method git-fetch)
11748 (uri (git-reference
11749 (url "https://source.puri.sm/Librem5/feedbackd.git")
11750 (commit (string-append "v" version))))
11751 (file-name (git-file-name name version))
11752 (sha256
11753 (base32
11754 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11755 (build-system meson-build-system)
11756 (native-inputs
11757 `(("glib:bin" ,glib "bin")
11758 ("gobject-introspection" ,gobject-introspection)
11759 ("pkg-config" ,pkg-config)
11760 ("vala" ,vala)))
11761 (inputs
11762 `(("dbus" ,dbus)
11763 ("gsound" ,gsound)
11764 ("json-glib" ,json-glib)
11765 ("libgudev" ,libgudev)))
11766 (propagated-inputs
11767 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11768 (synopsis "Haptic/visual/audio feedback via DBus")
11769 (description "Feedbackd provides a DBus daemon to act on events to provide
11770 haptic, visual and audio feedback. It offers the libfeedbackd library and
11771 GObject introspection bindings.")
11772 (home-page "https://source.puri.sm/Librem5/feedbackd")
11773 (license (list license:lgpl2.1+ ; libfeedbackd
11774 license:lgpl3+)))) ; the rest
11775
11776 (define-public sysprof
11777 (package
11778 (name "sysprof")
11779 (version "3.36.0")
11780 (source
11781 (origin
11782 (method url-fetch)
11783 (uri (string-append "mirror://gnome/sources/sysprof/"
11784 (version-major+minor version) "/"
11785 "sysprof-" version ".tar.xz"))
11786 (sha256
11787 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11788 (build-system meson-build-system)
11789 (arguments
11790 `(#:configure-flags
11791 (list (string-append "-Dsystemdunitdir="
11792 %output
11793 "/share/systemd"))
11794 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11795 #:phases
11796 (modify-phases %standard-phases
11797 (add-after 'unpack 'patch-install-script
11798 (lambda _
11799 (substitute* "build-aux/meson/post_install.sh"
11800 (("gtk-update-icon-cache") "true")
11801 (("update-desktop-database") "true"))
11802 #t)))))
11803 (inputs
11804 `(("glib" ,glib)
11805 ("gtk+" ,gtk+)
11806 ("libdazzle" ,libdazzle)
11807 ("polkit" ,polkit)))
11808 (native-inputs
11809 `(("gettext" ,gettext-minimal)
11810 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11811 ("itstool" ,itstool)
11812 ("pkg-config" ,pkg-config)
11813 ("xmllint" ,libxml2)))
11814 ;; This home page is so woefully out of date as to be essentially useless.
11815 ;; (home-page "http://www.sysprof.com")
11816 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11817 (synopsis "System-wide performance profiler for GNU/Linux")
11818 (description
11819 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11820 GNU/Linux system including the kernel and all user-space applications. This
11821 helps find the function(s) in which a program spends most of its time.
11822
11823 It uses the kernel's built-in @code{ptrace} feature and handles shared
11824 libraries. Applications do not need to be recompiled--or even restarted.")
11825 (license license:gpl3+)))
11826
11827 (define-public gnome-builder
11828 (package
11829 (name "gnome-builder")
11830 (version "3.36.1")
11831 (source (origin
11832 (method url-fetch)
11833 (uri (string-append "mirror://gnome/sources/" name "/"
11834 (version-major+minor version) "/"
11835 name "-" version ".tar.xz"))
11836 (sha256
11837 (base32
11838 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11839 (build-system meson-build-system)
11840 (arguments
11841 `(#:configure-flags (list "-Dnetwork_tests=false"
11842 ;; TODO: Enable all plugins...
11843 "-Dplugin_clang=false"
11844 "-Dplugin_flatpak=false"
11845 "-Dplugin_glade=false"
11846 ;; XXX: This one has been shown not to work in
11847 ;; <https://issues.guix.gnu.org/45272>
11848 "-Dplugin_jedi=false"
11849 ;; ... except this one.
11850 "-Dplugin_update_manager=false")
11851 #:phases
11852 (modify-phases %standard-phases
11853 (add-after 'unpack 'patch-meson
11854 (lambda* (#:key inputs #:allow-other-keys)
11855 (substitute* "build-aux/meson/post_install.py"
11856 (("gtk-update-icon-cache") "true")
11857 (("update-desktop-database") "true"))
11858 (substitute* "src/libide/meson.build"
11859 (("/usr/lib")
11860 (string-append (assoc-ref inputs "python-pygobject")
11861 "/lib")))
11862 #t))
11863 (add-after 'configure 'fix-ninja
11864 (lambda _
11865 ;; #43296: meson(?) incorrectly assumes we want to link
11866 ;; this PIE against a static libselinux.
11867 (substitute* "build.ninja"
11868 (("libselinux\\.a") "libselinux.so"))
11869 #t))
11870 (add-before 'check 'pre-check
11871 (lambda _
11872 (system "Xvfb :1 &")
11873 (setenv "DISPLAY" ":1")
11874 #t)))))
11875 (inputs
11876 `(("devhelp" ,devhelp)
11877 ("gspell" ,gspell)
11878 ("gtk+" ,gtk+)
11879 ("json-glib" ,json-glib)
11880 ("jsonrpc-glib" ,jsonrpc-glib)
11881 ("libdazzle" ,libdazzle)
11882 ("libgit2-glib" ,libgit2-glib)
11883 ("libpeas" ,libpeas)
11884 ("python-pygobject" ,python-pygobject)
11885 ("sysprof" ,sysprof)
11886 ("template-glib" ,template-glib)
11887 ("vte" ,vte)
11888 ("webkitgtk" ,webkitgtk)))
11889 (propagated-inputs
11890 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11891 (native-inputs
11892 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11893 ("glib:bin" ,glib "bin")
11894 ("gettext" ,gettext-minimal)
11895 ("pkg-config" ,pkg-config)
11896 ("vala" ,vala)
11897 ("xorg-server" ,xorg-server-for-tests)))
11898 (home-page "https://wiki.gnome.org/Apps/Builder")
11899 (synopsis "Toolsmith for GNOME-based applications")
11900 (description "Builder aims to be an integrated development
11901 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11902 auto-completion, a mini code map, documentation browsing, Git integration, an
11903 integrated profiler via Sysprof, debugging support, and more.")
11904 (license license:gpl3+)))
11905
11906 (define-public komikku
11907 (package
11908 (name "komikku")
11909 (version "0.26.1")
11910 (source
11911 (origin
11912 (method git-fetch)
11913 (uri (git-reference
11914 (url "https://gitlab.com/valos/Komikku/")
11915 (commit (string-append "v" version))))
11916 (file-name (git-file-name name version))
11917 (sha256
11918 (base32
11919 "1mas409c14p6g0v10w4cf5hsjbs0922h6h9k9pyj9s8y7yi2ikz2"))))
11920 (build-system meson-build-system)
11921 (arguments
11922 `(#:glib-or-gtk? #t
11923 #:phases
11924 (modify-phases %standard-phases
11925 (add-after 'unpack 'patch-sources
11926 (lambda _
11927 (substitute* "komikku/utils.py"
11928 (("from komikku\\.servers import get_servers_list")
11929 ;; code following that line should migrate old databases
11930 ;; but the line itself results in an import error
11931 "return data_dir_path"))))
11932 (add-after 'unpack 'skip-gtk-update-icon-cache
11933 (lambda _
11934 (substitute* "meson_post_install.py"
11935 (("gtk-update-icon-cache") (which "true")))
11936 #t))
11937 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11938 (lambda* (#:key outputs #:allow-other-keys)
11939 (let ((prog (string-append (assoc-ref outputs "out")
11940 "/bin/komikku")))
11941 (wrap-program prog
11942 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11943 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11944 #t))))))
11945 (inputs
11946 `(("gtk+" ,gtk+)
11947 ("libhandy" ,libhandy)
11948 ("libnotify" ,libnotify)
11949 ("libsecret" ,libsecret)
11950 ("python-beautifulsoup4" ,python-beautifulsoup4)
11951 ("python-dateparser" ,python-dateparser)
11952 ("python-keyring" ,python-keyring)
11953 ("python-lxml" ,python-lxml)
11954 ("python-magic" ,python-magic)
11955 ("python-pillow" ,python-pillow)
11956 ("python-pure-protobuf" ,python-pure-protobuf)
11957 ("python-pycairo" ,python-pycairo)
11958 ("python-pygobject" ,python-pygobject)
11959 ("python-requests" ,python-requests)
11960 ("python-unidecode" ,python-unidecode)))
11961 (native-inputs
11962 `(("desktop-file-utils" ,desktop-file-utils)
11963 ("gettext" ,gettext-minimal)
11964 ("glib:bin" ,glib "bin")
11965 ("gobject-introspection" ,gobject-introspection)
11966 ("pkg-config" ,pkg-config)))
11967 (home-page "https://gitlab.com/valos/Komikku")
11968 (synopsis "Manga reader for GNOME")
11969 (description "Komikku is an online/offline manga reader for GNOME,
11970 developed with the aim of being used with the Librem 5 phone.")
11971 (license license:gpl3+)))
11972
11973 (define-public libgda
11974 (package
11975 (name "libgda")
11976 (version "5.2.10")
11977 (source
11978 (origin
11979 (method git-fetch)
11980 (uri (git-reference
11981 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11982 (commit (string-append "LIBGDA_" (string-replace-substring
11983 version "." "_")))))
11984 (file-name (git-file-name name version))
11985 (sha256
11986 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11987 (build-system gnu-build-system)
11988 (arguments
11989 `(#:configure-flags '("--enable-vala")
11990 ;; There's a race between check_cnc_lock and check_threaded_cnc
11991 ;; in tests/multi-threading.
11992 #:parallel-tests? #f
11993 #:phases
11994 (modify-phases %standard-phases
11995 (add-after 'unpack 'fix-glade-install
11996 (lambda _
11997 (substitute* "configure.ac"
11998 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
11999 "${datadir}/glade/catalogs")
12000 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12001 "${datadir}/glade/pixmaps"))
12002 #t))
12003 (add-before 'check 'pre-check
12004 (lambda* (#:key inputs #:allow-other-keys)
12005 ;; Tests require a running X server.
12006 (system "Xvfb :1 &")
12007 (setenv "DISPLAY" ":1")
12008 #t))
12009 (add-after 'install 'symlink-glade-module
12010 (lambda* (#:key outputs #:allow-other-keys)
12011 (let* ((shlib "libgda-ui-5.0.so")
12012 (out (assoc-ref outputs "out"))
12013 (out/lib (string-append out "/lib"))
12014 (moduledir (string-append out/lib "/glade/modules")))
12015 (mkdir-p moduledir)
12016 (symlink (string-append out/lib "/" shlib)
12017 (string-append moduledir "/" shlib))
12018 #t))))))
12019 (propagated-inputs
12020 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12021 (inputs
12022 `(("glib" ,glib)
12023 ("glade" ,glade3)
12024 ("gtk+" ,gtk+)
12025 ("libsecret" ,libsecret)
12026 ("libxslt" ,libxslt)
12027 ("openssl" ,openssl)
12028 ("vala" ,vala)))
12029 (native-inputs
12030 `(("autoconf" ,autoconf)
12031 ("autoconf-archive" ,autoconf-archive)
12032 ("automake" ,automake)
12033 ("glib:bin" ,glib "bin")
12034 ("gnome-common" ,gnome-common)
12035 ("gobject-introspection" ,gobject-introspection)
12036 ("gtk-doc" ,gtk-doc)
12037 ("intltool" ,intltool)
12038 ("libtool" ,libtool)
12039 ("pkg-config" ,pkg-config)
12040 ("vala" ,vala)
12041 ("which" ,which)
12042 ("xorg-server" ,xorg-server-for-tests)
12043 ("yelp-tools" ,yelp-tools)))
12044 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12045 (synopsis "Uniform data access")
12046 (description
12047 "GNU Data Access (GDA) is an attempt to provide uniform access to
12048 different kinds of data sources (databases, information servers, mail spools,
12049 etc). It is a complete architecture that provides all you need to access
12050 your data.")
12051 (license license:lgpl2.1+)))
12052
12053 (define-public gtranslator
12054 (package
12055 (name "gtranslator")
12056 (version "3.36.0")
12057 (source (origin
12058 (method url-fetch)
12059 (uri (string-append "mirror://gnome/sources/" name "/"
12060 (version-major+minor version) "/"
12061 name "-" version ".tar.xz"))
12062 (sha256
12063 (base32
12064 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12065 (build-system meson-build-system)
12066 (inputs
12067 `(("json-glib" ,json-glib)
12068 ("jsonrpc-glib" ,jsonrpc-glib)
12069 ("gettext" ,gettext-minimal)
12070 ("glib" ,glib)
12071 ("gtk+" ,gtk+)
12072 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12073 ("gspell" ,gspell)
12074 ("libdazzle" ,libdazzle)
12075 ("libgda" ,libgda)
12076 ("libsoup" ,libsoup)))
12077 (native-inputs
12078 `(("glib:bin" ,glib "bin")
12079 ("itstool" ,itstool)
12080 ("pkg-config" ,pkg-config)))
12081 (propagated-inputs
12082 `(("gtksourceview" ,gtksourceview))) ; required for source view
12083 (arguments
12084 `(#:build-type "release"
12085 #:glib-or-gtk? #t
12086 #:phases
12087 (modify-phases %standard-phases
12088 (add-after 'unpack 'skip-gtk-update-icon-cache
12089 (lambda _
12090 (substitute* "build-aux/meson/meson_post_install.py"
12091 (("gtk-update-icon-cache") (which "true")))
12092 #t)))))
12093 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12094 (synopsis "Translation making program")
12095 (description
12096 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12097 for the GNOME 3.x platform with many features. It aims to be a very complete
12098 editing environment for translation issues within the GNU gettext/GNOME desktop
12099 world.")
12100 (license license:gpl3+)))
12101
12102
12103 (define-public ocrfeeder
12104 (package
12105 (name "ocrfeeder")
12106 (version "0.8.3")
12107 (source (origin
12108 (method url-fetch)
12109 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12110 (version-major+minor version) "/"
12111 "ocrfeeder-" version ".tar.xz"))
12112 (sha256
12113 (base32
12114 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12115 (build-system gnu-build-system)
12116 (arguments
12117 `(#:phases
12118 (modify-phases %standard-phases
12119 (add-after
12120 'install 'wrap-program
12121 (lambda* (#:key outputs #:allow-other-keys)
12122 (let ((prog (string-append (assoc-ref outputs "out")
12123 "/bin/" "ocrfeeder"))
12124 (pylib (string-append (assoc-ref outputs "out")
12125 "/lib/python"
12126 ,(version-major+minor
12127 (package-version python))
12128 "/site-packages")))
12129 (wrap-program prog
12130 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12131 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12132 #t))))))
12133 (native-inputs
12134 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12135 ("gobject-introspection" ,gobject-introspection)
12136 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12137 ("intltool" ,intltool)
12138 ("itstool" ,itstool)
12139 ("pkg-config" ,pkg-config)
12140 ("xmllint" ,libxml2)))
12141 (inputs
12142 `(("enchant" ,enchant)
12143 ("glib" ,glib)
12144 ("goocanvas" ,goocanvas)
12145 ("gtk" ,gtk+)
12146 ("gtkspell3" ,gtkspell3)
12147 ("libjpeg" ,libjpeg-turbo)
12148 ("libtiff" ,libtiff)
12149 ("libraw" ,libraw)
12150 ("ocrad" ,ocrad)
12151 ("python" ,python-wrapper)
12152 ("python-pygobject" ,python-pygobject)
12153 ("python-odfpy" ,python-odfpy)
12154 ("python-pillow" ,python-pillow)
12155 ("python-pyenchant" ,python-pyenchant)
12156 ("python-reportlab" ,python-reportlab)
12157 ("python-sane" ,python-sane)
12158 ("sane-backends" ,sane-backends)
12159 ("tesseract-ocr" ,tesseract-ocr)))
12160 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12161 (synopsis "Complete OCR Suite")
12162 (description "OCRFeeder is a complete Optical Character Recognition and
12163 Document Analysis and Recognition program.")
12164 (license license:gpl3+)))