gnu: komikku: Update to 0.28.1.
[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, 2021 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, 2021 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, 2021 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 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;;
63 ;;; This file is part of GNU Guix.
64 ;;;
65 ;;; GNU Guix is free software; you can redistribute it and/or modify it
66 ;;; under the terms of the GNU General Public License as published by
67 ;;; the Free Software Foundation; either version 3 of the License, or (at
68 ;;; your option) any later version.
69 ;;;
70 ;;; GNU Guix is distributed in the hope that it will be useful, but
71 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
72 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73 ;;; GNU General Public License for more details.
74 ;;;
75 ;;; You should have received a copy of the GNU General Public License
76 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
77
78 (define-module (gnu packages gnome)
79 #:use-module (gnu packages)
80 #:use-module (gnu packages admin)
81 #:use-module (gnu packages aidc)
82 #:use-module (gnu packages aspell)
83 #:use-module (gnu packages autotools)
84 #:use-module (gnu packages avahi)
85 #:use-module (gnu packages backup)
86 #:use-module (gnu packages base)
87 #:use-module (gnu packages bash)
88 #:use-module (gnu packages bison)
89 #:use-module (gnu packages boost)
90 #:use-module (gnu packages build-tools)
91 #:use-module (gnu packages calendar)
92 #:use-module (gnu packages cdrom)
93 #:use-module (gnu packages check)
94 #:use-module (gnu packages cmake)
95 #:use-module (gnu packages compression)
96 #:use-module (gnu packages crates-io)
97 #:use-module (gnu packages crates-graphics)
98 #:use-module (gnu packages crates-gtk)
99 #:use-module (gnu packages cups)
100 #:use-module (gnu packages curl)
101 #:use-module (gnu packages cyrus-sasl)
102 #:use-module (gnu packages databases)
103 #:use-module (gnu packages dbm)
104 #:use-module (gnu packages djvu)
105 #:use-module (gnu packages dns)
106 #:use-module (gnu packages docbook)
107 #:use-module (gnu packages documentation)
108 #:use-module (gnu packages enchant)
109 #:use-module (gnu packages flex)
110 #:use-module (gnu packages fonts)
111 #:use-module (gnu packages file-systems)
112 #:use-module (gnu packages fontutils)
113 #:use-module (gnu packages freedesktop)
114 #:use-module (gnu packages game-development)
115 #:use-module (gnu packages gcc)
116 #:use-module (gnu packages gettext)
117 #:use-module (gnu packages ghostscript)
118 #:use-module (gnu packages gimp)
119 #:use-module (gnu packages gl)
120 #:use-module (gnu packages glib)
121 #:use-module (gnu packages gnupg)
122 #:use-module (gnu packages gnuzilla)
123 #:use-module (gnu packages geo)
124 #:use-module (gnu packages gperf)
125 #:use-module (gnu packages graphviz)
126 #:use-module (gnu packages gstreamer)
127 #:use-module (gnu packages gtk)
128 #:use-module (gnu packages guile)
129 #:use-module (gnu packages ibus)
130 #:use-module (gnu packages icu4c)
131 #:use-module (gnu packages image)
132 #:use-module (gnu packages imagemagick)
133 #:use-module (gnu packages inkscape)
134 #:use-module (gnu packages iso-codes)
135 #:use-module (gnu packages kerberos)
136 #:use-module (gnu packages libcanberra)
137 #:use-module (gnu packages libffi)
138 #:use-module (gnu packages libunistring)
139 #:use-module (gnu packages libunwind)
140 #:use-module (gnu packages libusb)
141 #:use-module (gnu packages linux)
142 #:use-module (gnu packages lirc)
143 #:use-module (gnu packages lua)
144 #:use-module (gnu packages mail)
145 #:use-module (gnu packages mp3)
146 #:use-module (gnu packages multiprecision)
147 #:use-module (gnu packages music)
148 #:use-module (gnu packages ncurses)
149 #:use-module (gnu packages nettle)
150 #:use-module (gnu packages networking)
151 #:use-module (gnu packages ninja)
152 #:use-module (gnu packages node)
153 #:use-module (gnu packages nss)
154 #:use-module (gnu packages ocr)
155 #:use-module (gnu packages openldap)
156 #:use-module (gnu packages package-management)
157 #:use-module (gnu packages password-utils)
158 #:use-module (gnu packages pcre)
159 #:use-module (gnu packages pdf)
160 #:use-module (gnu packages perl)
161 #:use-module (gnu packages photo)
162 #:use-module (gnu packages php)
163 #:use-module (gnu packages pkg-config)
164 #:use-module (gnu packages polkit)
165 #:use-module (gnu packages popt)
166 #:use-module (gnu packages pretty-print)
167 #:use-module (gnu packages protobuf)
168 #:use-module (gnu packages pulseaudio)
169 #:use-module (gnu packages python)
170 #:use-module (gnu packages python-compression)
171 #:use-module (gnu packages python-crypto)
172 #:use-module (gnu packages python-web)
173 #:use-module (gnu packages python-xyz)
174 #:use-module (gnu packages rdesktop)
175 #:use-module (gnu packages rdf)
176 #:use-module (gnu packages readline)
177 #:use-module (gnu packages ruby)
178 #:use-module (gnu packages rust)
179 #:use-module (gnu packages samba)
180 #:use-module (gnu packages scanner)
181 #:use-module (gnu packages sdl)
182 #:use-module (gnu packages search)
183 #:use-module (gnu packages selinux)
184 #:use-module (gnu packages slang)
185 #:use-module (gnu packages speech)
186 #:use-module (gnu packages spice)
187 #:use-module (gnu packages sqlite)
188 #:use-module (gnu packages ssh)
189 #:use-module (gnu packages swig)
190 #:use-module (gnu packages tex)
191 #:use-module (gnu packages time)
192 #:use-module (gnu packages tls)
193 #:use-module (gnu packages valgrind)
194 #:use-module (gnu packages version-control)
195 #:use-module (gnu packages video)
196 #:use-module (gnu packages virtualization)
197 #:use-module (gnu packages vpn)
198 #:use-module (gnu packages web)
199 #:use-module (gnu packages webkit)
200 #:use-module (gnu packages xdisorg)
201 #:use-module (gnu packages xiph)
202 #:use-module (gnu packages xml)
203 #:use-module (gnu packages xorg)
204 #:use-module (gnu artwork)
205 #:use-module (guix build-system cargo)
206 #:use-module (guix build-system cmake)
207 #:use-module (guix build-system glib-or-gtk)
208 #:use-module (guix build-system gnu)
209 #:use-module (guix build-system meson)
210 #:use-module (guix build-system python)
211 #:use-module (guix build-system trivial)
212 #:use-module (guix download)
213 #:use-module (guix git-download)
214 #:use-module ((guix licenses) #:prefix license:)
215 #:use-module (guix packages)
216 #:use-module (guix utils)
217 #:use-module (guix gexp)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
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/stable)
1328 ("pkg-config" ,pkg-config)
1329 ("vala" ,vala)))
1330 (inputs
1331 `(("gssdp" ,gssdp)
1332 ("gtk+" ,gtk+)
1333 ("libsoup" ,libsoup)))
1334 (propagated-inputs
1335 `(;; For ‘org.gnome.system.proxy’.
1336 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1337 (synopsis "PnP API for GNOME")
1338 (description "This package provides GUPnP, an object-oriented framework
1339 for creating UPnP devices and control points, written in C using
1340 @code{GObject} and @code{libsoup}.")
1341 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1342 (license license:lgpl2.0+)))
1343
1344 (define-public gupnp-dlna
1345 (package
1346 (name "gupnp-dlna")
1347 (version "0.10.5")
1348 (source (origin
1349 (method url-fetch)
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.xz"))
1353 (sha256
1354 (base32
1355 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1356 (build-system gnu-build-system)
1357 (native-inputs
1358 `(("gettext" ,gettext-minimal)
1359 ("glib:bin" ,glib "bin")
1360 ("gobject-introspection" ,gobject-introspection)
1361 ("gtk-doc" ,gtk-doc/stable)
1362 ("libxml" ,libxml2)
1363 ("pkg-config" ,pkg-config)
1364 ("vala" ,vala)))
1365 (inputs
1366 `(("gstreamer" ,gstreamer)
1367 ("gupnp" ,gupnp)))
1368 (propagated-inputs
1369 `(("gst-plugins-base" ,gst-plugins-base)
1370 ("gst-plugins-good" ,gst-plugins-good)))
1371 (synopsis "GUPnP DLNA for GNOME")
1372 (description "This package provides a small utility library to
1373 support DLNA-related tasks such as media profile guessing, transcoding to a
1374 given profile, etc. DLNA is a subset of UPnP A/V.")
1375 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1376 (license license:lgpl2.0+)))
1377
1378 (define-public gupnp-av
1379 (package
1380 (name "gupnp-av")
1381 (version "0.12.11")
1382 (source (origin
1383 (method url-fetch)
1384 (uri (string-append "mirror://gnome/sources/" name "/"
1385 (version-major+minor version) "/"
1386 name "-" version ".tar.xz"))
1387 (sha256
1388 (base32
1389 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1390 (build-system gnu-build-system)
1391 (native-inputs
1392 `(("gettext" ,gettext-minimal)
1393 ("glib:bin" ,glib "bin")
1394 ("gobject-introspection" ,gobject-introspection)
1395 ("gtk-doc" ,gtk-doc/stable)
1396 ("libxml" ,libxml2)
1397 ("pkg-config" ,pkg-config)))
1398 (inputs
1399 `(("gtk+" ,gtk+)
1400 ("gupnp" ,gupnp)))
1401 (synopsis "GUPnP A/V for GNOME")
1402 (description "This package provides a small library for handling
1403 and implementation of UPnP A/V profiles.")
1404 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1405 (license license:lgpl2.0+)))
1406
1407 (define-public libmediaart
1408 (package
1409 (name "libmediaart")
1410 (version "1.9.4")
1411 (source (origin
1412 (method url-fetch)
1413 (uri (string-append "mirror://gnome/sources/" name "/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1416 (sha256
1417 (base32
1418 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1419 (build-system gnu-build-system)
1420 (native-inputs
1421 `(("glib:bin" ,glib "bin")
1422 ("pkg-config" ,pkg-config)))
1423 (inputs
1424 `(("gdk-pixbuf" ,gdk-pixbuf)
1425 ("gettext" ,gettext-minimal)
1426 ("gobject-introspection" ,gobject-introspection)
1427 ("gtk+:doc" ,gtk+ "doc")
1428 ("vala" ,vala)))
1429 (synopsis "Media art library for the GNOME desktop")
1430 (description
1431 "The libmediaart library is the foundation for media art caching,
1432 extraction, and lookup for applications on the desktop.")
1433 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1434 (license license:lgpl2.1+)))
1435
1436 (define-public gnome-initial-setup
1437 (package
1438 (name "gnome-initial-setup")
1439 (version "3.32.1")
1440 (source (origin
1441 (method url-fetch)
1442 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1443 (version-major+minor version)
1444 "/gnome-initial-setup-" version ".tar.xz"))
1445 (sha256
1446 (base32
1447 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1448 (build-system meson-build-system)
1449 (arguments
1450 '(#:configure-flags '(;; Enable camera support for user selfie.
1451 "-Dcheese=auto"
1452 "-Dsystemd=false")
1453 #:phases (modify-phases %standard-phases
1454 (add-after 'unpack 'set-gkbd-file-name
1455 (lambda* (#:key inputs #:allow-other-keys)
1456 ;; Allow the "Preview" button in the keyboard layout
1457 ;; selection dialog to display the layout.
1458 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1459 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1460 (("\"gkbd-keyboard-display")
1461 (string-append "\"" libgnomekbd
1462 "/bin/gkbd-keyboard-display")))
1463 #t))))))
1464 (native-inputs
1465 `(("gettext" ,gettext-minimal)
1466 ("glib:bin" ,glib "bin")
1467 ("gobject-introspection" ,gobject-introspection)
1468 ("gtk+:bin" ,gtk+ "bin")
1469 ("pkg-config" ,pkg-config)))
1470 (inputs
1471 `(("accountsservice" ,accountsservice)
1472 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1473 ("gdm" ,gdm)
1474 ("geoclue" ,geoclue)
1475 ("gnome-desktop" ,gnome-desktop)
1476 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1477 ("gnome-online-accounts" ,gnome-online-accounts)
1478 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1479 ("gstreamer" ,gstreamer)
1480 ("ibus" ,ibus)
1481 ("json-glib" ,json-glib)
1482 ("krb5" ,mit-krb5)
1483 ("libgweather" ,libgweather)
1484 ("libnma" ,libnma)
1485 ("libsecret" ,libsecret)
1486 ("network-manager" ,network-manager)
1487 ("packagekit" ,packagekit)
1488 ("polkit" ,polkit)
1489 ("pwquality" ,libpwquality)
1490 ("rest" ,rest)
1491 ("upower" ,upower)
1492 ("webkitgtk" ,webkitgtk)
1493 ("libgnomekbd" ,libgnomekbd)))
1494 (synopsis "Initial setup wizard for GNOME desktop")
1495 (description "This package provides a set-up wizard when a
1496 user logs into GNOME for the first time. It typically provides a
1497 tour of all gnome components and allows the user to set them up.")
1498 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1499 (license license:gpl2)))
1500
1501 (define-public gnome-user-share
1502 (package
1503 (name "gnome-user-share")
1504 (version "3.33.1")
1505 (source (origin
1506 (method url-fetch)
1507 (uri (string-append "mirror://gnome/sources/" name "/"
1508 (version-major+minor version) "/"
1509 name "-" version ".tar.xz"))
1510 (sha256
1511 (base32
1512 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1513 (build-system meson-build-system)
1514 (arguments
1515 `(#:glib-or-gtk? #t
1516 #:configure-flags
1517 `("-Dsystemd=false"
1518 ;; Enable nautilus extension for file sharing.
1519 "-Dnautilus_extension=true")))
1520 (native-inputs
1521 `(("gettext" ,gettext-minimal)
1522 ("glib:bin" ,glib "bin")
1523 ("gobject-introspection" ,gobject-introspection)
1524 ("gtk+:bin" ,gtk+ "bin")
1525 ("pkg-config" ,pkg-config)
1526 ("yelp-tools" ,yelp-tools)))
1527 (inputs
1528 `(("glib" ,glib)
1529 ("gnome-bluetooth" ,gnome-bluetooth)
1530 ("gtk+" ,gtk+)
1531 ("libcanberra" ,libcanberra)
1532 ("libnotify" ,libnotify)
1533 ("nautilus" ,nautilus))) ; For nautilus extension.
1534 (synopsis "File sharing for GNOME desktop")
1535 (description "GNOME User Share is a small package that binds together
1536 various free software projects to bring easy to use user-level file
1537 sharing to the masses.")
1538 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1539 (license license:gpl2+)))
1540
1541 (define-public sushi
1542 (package
1543 (name "sushi")
1544 (version "3.32.1")
1545 (source (origin
1546 (method url-fetch)
1547 (uri (string-append "mirror://gnome/sources/" name "/"
1548 (version-major+minor version) "/"
1549 name "-" version ".tar.xz"))
1550 (sha256
1551 (base32
1552 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1553 (build-system meson-build-system)
1554 (arguments
1555 `(#:glib-or-gtk? #t
1556 #:phases
1557 (modify-phases %standard-phases
1558 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1559 (lambda* (#:key outputs #:allow-other-keys)
1560 (let ((prog (string-append (assoc-ref outputs "out")
1561 "/bin/sushi")))
1562 ;; Put existing typelibs before sushi's deps, so as to correctly
1563 ;; infer gdk-pixbuf
1564 (wrap-program prog
1565 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1566 #t))))))
1567 (native-inputs
1568 `(("glib:bin" ,glib "bin")
1569 ("gettext" ,gettext-minimal)
1570 ("gobject-introspection" ,gobject-introspection)
1571 ("pkg-config" ,pkg-config)))
1572 (inputs
1573 `(("clutter" ,clutter)
1574 ("clutter-gst" ,clutter-gst)
1575 ("clutter-gtk" ,clutter-gtk)
1576 ("evince" ,evince) ; For file previewing.
1577 ("freetype" ,freetype)
1578 ("gdk-pixbuf" ,gdk-pixbuf)
1579 ("gjs" ,gjs)
1580 ("gst-plugins-base" ,gst-plugins-base)
1581 ("gstreamer" ,gstreamer)
1582 ("gtksourceview" ,gtksourceview-3)
1583 ("harfbuzz" ,harfbuzz)
1584 ("libepoxy" ,libepoxy)
1585 ("libmusicbrainz" ,libmusicbrainz)
1586 ("libxml2" ,libxml2)
1587 ("neon" ,neon)
1588 ("webkitgtk" ,webkitgtk)))
1589 (synopsis "File previewer for the GNOME desktop")
1590 (description "Sushi is a DBus-activated service that allows applications to
1591 preview files on the GNOME desktop.")
1592 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1593 (license license:gpl2+)))
1594
1595 (define-public rygel
1596 (package
1597 (name "rygel")
1598 (version "0.38.3")
1599 (source (origin
1600 (method url-fetch)
1601 (uri (string-append "mirror://gnome/sources/" name "/"
1602 (version-major+minor version) "/"
1603 name "-" version ".tar.xz"))
1604 (sha256
1605 (base32
1606 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1607 (build-system gnu-build-system)
1608 (native-inputs
1609 `(("gettext" ,gettext-minimal)
1610 ("gobject-introspection" ,gobject-introspection)
1611 ("gtk-doc" ,gtk-doc/stable)
1612 ("pkg-config" ,pkg-config)
1613 ("vala" ,vala)))
1614 (inputs
1615 `(("gdk-pixbuf" ,gdk-pixbuf)
1616 ("gssdp" ,gssdp)
1617 ("gstreamer" ,gstreamer)
1618 ("gst-plugins-base" ,gst-plugins-base)
1619 ("gtk+" ,gtk+)
1620 ("gupnp" ,gupnp)
1621 ("gupnp-av" ,gupnp-av)
1622 ("gupnp-dlna" ,gupnp-dlna)
1623 ("libgee" ,libgee)
1624 ("libmediaart" ,libmediaart)
1625 ("libsoup" ,libsoup)
1626 ("libxslt" ,libxslt)
1627 ("libunistring" ,libunistring)
1628 ("tracker" ,tracker)))
1629 (synopsis "Share audio, video, and pictures with other devices")
1630 (description
1631 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1632 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1633 pictures, and to control a media player on your home network.
1634
1635 Rygel achieves interoperability with other devices by trying to conform to the
1636 strict requirements of DLNA and by converting media on-the-fly to formats that
1637 client devices can handle.")
1638 (home-page "https://wiki.gnome.org/Projects/Rygel")
1639 (license (list
1640 ;; For logo (data/icons/*).
1641 license:cc-by-sa3.0
1642 ;; For all others.
1643 license:lgpl2.1+))))
1644
1645 (define-public libnma
1646 (package
1647 (name "libnma")
1648 (version "1.8.28")
1649 (source (origin
1650 (method url-fetch)
1651 (uri (string-append "mirror://gnome/sources/" name "/"
1652 (version-major+minor version) "/"
1653 name "-" version ".tar.xz"))
1654 (sha256
1655 (base32
1656 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1657 (build-system meson-build-system)
1658 (arguments
1659 `(#:phases
1660 (modify-phases %standard-phases
1661 (add-after 'unpack 'patch-docbook-xml
1662 (lambda* (#:key inputs #:allow-other-keys)
1663 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1664 "/xml/dtd/docbook")))
1665 (substitute* "libnma-docs.xml"
1666 (("http://.*/docbookx\\.dtd")
1667 (string-append xmldoc "/docbookx.dtd")))
1668 #t))))))
1669 (native-inputs
1670 `(("docbook-xml" ,docbook-xml-4.3)
1671 ("gettext" ,gettext-minimal)
1672 ("glib:bin" ,glib "bin")
1673 ("gtk-doc" ,gtk-doc/stable)
1674 ("gobject-introspection" ,gobject-introspection)
1675 ("pkg-config" ,pkg-config)
1676 ("vala" ,vala)))
1677 (inputs
1678 `(("gcr" ,gcr)
1679 ("gtk+" ,gtk+)
1680 ("iso-codes" ,iso-codes)
1681 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1682 ("network-manager" ,network-manager)))
1683 (synopsis "Network Manager's applet library")
1684 (description "Libnma is an applet library for Network Manager. It was
1685 initially part of network-manager-applet and has now become a separate
1686 project.")
1687 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1688 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1689 ;; "LGPL-2.1+".
1690 (license license:gpl2+)))
1691
1692 (define-public gnome-menus
1693 (package
1694 (name "gnome-menus")
1695 (version "3.32.0")
1696 (source (origin
1697 (method url-fetch)
1698 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1699 (version-major+minor version) "/"
1700 name "-" version ".tar.xz"))
1701 (sha256
1702 (base32
1703 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1704 (build-system gnu-build-system)
1705 (native-inputs
1706 `(("gettext" ,gettext-minimal)
1707 ("glib" ,glib)
1708 ("pkg-config" ,pkg-config)))
1709 (synopsis "Menu support for GNOME desktop")
1710 (description "GNOME Menus contains the libgnome-menu library, the layout
1711 configuration files for the GNOME menu, as well as a simple menu editor.")
1712 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1713 (license license:lgpl2.0+)))
1714
1715 (define-public deja-dup
1716 (package
1717 (name "deja-dup")
1718 (version "40.6")
1719 (source (origin
1720 (method url-fetch)
1721 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1722 version "/deja-dup-" version ".tar.bz2"))
1723 (sha256
1724 (base32
1725 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1726 (build-system meson-build-system)
1727 (arguments
1728 `(#:glib-or-gtk? #t
1729 #:configure-flags
1730 (list
1731 ;; Otherwise, the RUNPATH will lack the final path component.
1732 (string-append "-Dc_link_args=-Wl,-rpath="
1733 (assoc-ref %outputs "out") "/lib/deja-dup"))
1734 #:phases
1735 (modify-phases %standard-phases
1736 (add-after 'unpack 'patch-paths
1737 (lambda* (#:key inputs #:allow-other-keys)
1738 (let ((python (assoc-ref inputs "python")))
1739 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1740 "libdeja/tests/scripts/instance-error.test")
1741 (("/bin/rm")
1742 (which "rm")))
1743 (substitute* "libdeja/tests/runner.vala"
1744 (("/bin/sh")
1745 (which "sh")))
1746 (substitute* "libdeja/tests/scripts/instance-error.test"
1747 (("`which python3`")
1748 (string-append python "/bin/python3"))))))
1749 (add-after 'unpack 'patch-libgpg-error
1750 (lambda* (#:key inputs #:allow-other-keys)
1751 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1752 (substitute* "meson.build"
1753 (("(gpgerror_libs = ).*" _ var)
1754 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1755 #t))
1756 (add-after 'unpack 'skip-gtk-update-icon-cache
1757 ;; Don't create 'icon-theme.cache'.
1758 (lambda _
1759 (substitute* "data/post-install.sh"
1760 (("gtk-update-icon-cache") "true"))
1761 #t)))))
1762 (inputs
1763 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1764 ("duplicity" ,duplicity)
1765 ("python" ,python)
1766 ("python-pygobject" ,python-pygobject)
1767 ("gtk+" ,gtk+)
1768 ("json-glib" ,json-glib)
1769 ("libnotify" ,libnotify)
1770 ("libgpg-error" ,libgpg-error)
1771 ("libsecret" ,libsecret)
1772 ("libsoup" ,libsoup)
1773 ("packagekit" ,packagekit)))
1774 (native-inputs
1775 `(("appstream-glib" ,appstream-glib)
1776 ("desktop-file-utils" ,desktop-file-utils)
1777 ("gettext" ,gettext-minimal)
1778 ("glib" ,glib "bin") ; for glib-compile-schemas.
1779 ("gobject-introspection" ,gobject-introspection)
1780 ("itstool" ,itstool)
1781 ("pkg-config" ,pkg-config)
1782 ("vala" ,vala)))
1783 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1784 (synopsis "Simple backup tool, for regular encrypted backups")
1785 (description
1786 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1787 uses duplicity as the backend, which supports incremental backups and storage
1788 either on a local, or remote machine via a number of methods.")
1789 (license license:gpl3+)))
1790
1791 (define-public gnome-commander
1792 (package
1793 (name "gnome-commander")
1794 (version "1.10.3")
1795 (source
1796 (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://gnome/sources/" name "/"
1799 (version-major+minor version) "/"
1800 "gnome-commander-" version ".tar.xz"))
1801 (sha256
1802 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1803 (build-system glib-or-gtk-build-system)
1804 (native-inputs
1805 `(("desktop-file-utils" ,desktop-file-utils)
1806 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1807 ("gettext" ,gettext-minimal)
1808 ("glib:bin" ,glib "bin")
1809 ("gobject-introspection" ,gobject-introspection)
1810 ("googletest" ,googletest)
1811 ("intltool" ,intltool)
1812 ("itstool" ,itstool)
1813 ("libtool" ,libtool)
1814 ("pkg-config" ,pkg-config)))
1815 (inputs
1816 `(("gconf" ,gconf)
1817 ("gnome-vfs" ,gnome-vfs)
1818 ("gtk+" ,gtk+-2)
1819 ("libxml2" ,libxml2)))
1820 (home-page "https://gcmd.github.io/")
1821 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1822 (description
1823 "GNOME Commander is a two-pane graphical file manager using GNOME
1824 libraries. It aims to fulfill the demands of more advanced users who
1825 like to focus on file management, their work through special applications
1826 and running smart commands.")
1827 (license license:gpl2+)))
1828
1829 (define-public gnome-user-docs
1830 (package
1831 (name "gnome-user-docs")
1832 (version "3.32.3")
1833 (source
1834 (origin
1835 (method url-fetch)
1836 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1837 (version-major+minor version)
1838 "/gnome-user-docs-" version ".tar.xz"))
1839 (sha256
1840 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1841 (build-system gnu-build-system)
1842 (native-inputs
1843 `(("gettext" ,gettext-minimal)
1844 ("itstool" ,itstool)
1845 ("pkg-config" ,pkg-config)
1846 ("xmllint" ,libxml2)))
1847 (synopsis "User documentation for the GNOME desktop")
1848 (description
1849 "The GNOME User Documentation explains how to use the GNOME desktop and its
1850 components. It covers usage and setup of the core GNOME programs by end-users
1851 and system administrators.")
1852 (home-page "https://live.gnome.org/DocumentationProject")
1853 (license license:cc-by3.0)))
1854
1855 (define-public gnome-getting-started-docs
1856 (package
1857 (name "gnome-getting-started-docs")
1858 (version "3.32.2")
1859 (source
1860 (origin
1861 (method url-fetch)
1862 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1863 (version-major+minor version)
1864 "/gnome-getting-started-docs-" version ".tar.xz"))
1865 (sha256
1866 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1867 (build-system gnu-build-system)
1868 (native-inputs
1869 `(("gettext" ,gettext-minimal)
1870 ("itstool" ,itstool)
1871 ("pkg-config" ,pkg-config)
1872 ("xmllint" ,libxml2)))
1873 (synopsis "Help to get new users started with the GNOME desktop")
1874 (description
1875 "The GNOME Getting Started Documentation contains GNOME's intuitive
1876 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1877
1878 It is normally used together with @command{gnome-initial-setup}, but is also
1879 useful as a tutorial and users' guide for new or less experienced users.")
1880 (home-page "https://live.gnome.org/DocumentationProject")
1881 (license license:cc-by-sa3.0)))
1882
1883 (define-public dia
1884 ;; This version from GNOME's repository includes fixes for compiling with
1885 ;; recent versions of the build tools. The latest activity on the
1886 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1887 ;; fixes since.
1888 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1889 (revision "2"))
1890 (package
1891 (name "dia")
1892 (version (git-version "0.97.3" revision commit))
1893 (source (origin
1894 (method git-fetch)
1895 (uri (git-reference
1896 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1897 (commit commit)))
1898 (file-name (git-file-name name version))
1899 (sha256
1900 (base32
1901 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1902 (build-system meson-build-system)
1903 (inputs
1904 `(("graphene" ,graphene)
1905 ("gtk+" ,gtk+-2)
1906 ("libxml2" ,libxml2)
1907 ("libxslt" ,libxslt)
1908 ("poppler" ,poppler)
1909 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1910 ;; ERROR: Unknown method "dependency" in object.
1911 ("python-2" ,python-2)))
1912 (native-inputs
1913 `(("appstream-glib" ,appstream-glib)
1914 ("docbook-xsl" ,docbook-xsl)
1915 ("glib" ,glib "bin")
1916 ("intltool" ,intltool)
1917 ("pkg-config" ,pkg-config)))
1918 (home-page "https://wiki.gnome.org/Apps/Dia")
1919 (synopsis "Diagram creation for GNOME")
1920 (description "Dia can be used to draw different types of diagrams, and
1921 includes support for UML static structure diagrams (class diagrams), entity
1922 relationship modeling, and network diagrams. The program supports various file
1923 formats like PNG, SVG, PDF and EPS.")
1924 (license license:gpl2+))))
1925
1926 ;; This is the unstable release, but it is required for the current stable
1927 ;; release of gvfs (1.38.1).
1928 (define-public libgdata
1929 (package
1930 (name "libgdata")
1931 (version "0.17.9")
1932 (source (origin
1933 (method url-fetch)
1934 (uri (string-append "mirror://gnome/sources/" name "/"
1935 (version-major+minor version) "/"
1936 name "-" version ".tar.xz"))
1937 (sha256
1938 (base32
1939 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1940 (build-system gnu-build-system)
1941 (arguments
1942 '(#:phases
1943 (modify-phases %standard-phases
1944 (add-before 'check 'disable-failing-tests
1945 (lambda _
1946 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1947 ;; They have been removed in libgdata 0.17.6, so just do the same.
1948 (substitute* "gdata/tests/Makefile"
1949 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1950 #t)))))
1951 (native-inputs
1952 `(("glib:bin" ,glib "bin")
1953 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1954 ("intltool" ,intltool)
1955 ("pkg-config" ,pkg-config)
1956 ("uhttpmock" ,uhttpmock)))
1957 (inputs
1958 `(("cyrus-sasl" ,cyrus-sasl)
1959 ("glib-networking" ,glib-networking)))
1960 (propagated-inputs
1961 `(("gcr" ,gcr)
1962 ("glib" ,glib)
1963 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1964 ("json-glib" ,json-glib)
1965 ("liboauth" ,liboauth)
1966 ("libsoup" ,libsoup)
1967 ("libxml2" ,libxml2)))
1968 (home-page "https://wiki.gnome.org/Projects/libgdata")
1969 (synopsis "Library for accessing online service APIs")
1970 (description
1971 "libgdata is a GLib-based library for accessing online service APIs using
1972 the GData protocol — most notably, Google's services. It provides APIs to
1973 access the common Google services, and has full asynchronous support.")
1974 (license license:lgpl2.1+)))
1975
1976 (define-public libgxps
1977 (package
1978 (name "libgxps")
1979 (version "0.3.2")
1980 (source (origin
1981 (method url-fetch)
1982 (uri (string-append "mirror://gnome/sources/" name "/"
1983 (version-major+minor version) "/"
1984 name "-" version ".tar.xz"))
1985 (sha256
1986 (base32
1987 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1988 (build-system meson-build-system)
1989 (native-inputs
1990 `(("gobject-introspection" ,gobject-introspection)
1991 ("pkg-config" ,pkg-config)))
1992 (inputs
1993 `(("gtk+" ,gtk+)
1994 ("libjpeg" ,libjpeg-turbo)
1995 ("lcms" ,lcms)
1996 ("libtiff" ,libtiff)))
1997 (propagated-inputs
1998 ;; In Requires of libgxps.pc.
1999 `(("cairo" ,cairo)
2000 ("glib" ,glib)
2001 ("libarchive" ,libarchive)))
2002 (home-page "https://wiki.gnome.org/Projects/libgxps")
2003 (synopsis "GObject-based library for handling and rendering XPS documents")
2004 (description
2005 "libgxps is a GObject-based library for handling and rendering XPS
2006 documents. This package also contains binaries that can convert XPS documents
2007 to other formats.")
2008 (license license:lgpl2.1+)))
2009
2010 (define-public gnome-characters
2011 (package
2012 (name "gnome-characters")
2013 (version "3.30.0")
2014 (source
2015 (origin
2016 (method url-fetch)
2017 (uri (string-append "mirror://gnome/sources/"
2018 "gnome-characters/" (version-major+minor version)
2019 "/gnome-characters-" version ".tar.xz"))
2020 (sha256
2021 (base32
2022 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2023 (build-system meson-build-system)
2024 (arguments
2025 `(#:glib-or-gtk? #t
2026 #:phases (modify-phases %standard-phases
2027 (add-after 'install 'wrap
2028 (lambda* (#:key outputs #:allow-other-keys)
2029 ;; GNOME Characters needs Typelib files from GTK and
2030 ;; gnome-desktop.
2031 (wrap-program (string-append (assoc-ref outputs "out")
2032 "/bin/gnome-characters")
2033 `("GI_TYPELIB_PATH" ":" prefix
2034 (,(getenv "GI_TYPELIB_PATH"))))
2035 #t)))))
2036 (native-inputs
2037 `(("gettext" ,gettext-minimal)
2038 ("glib:bin" ,glib "bin")
2039 ("gtk+:bin" ,gtk+ "bin")
2040 ("pkg-config" ,pkg-config)
2041 ("python" ,python-minimal)))
2042 (inputs
2043 `(("gjs" ,gjs)
2044 ("gtk+" ,gtk+)
2045 ("libunistring" ,libunistring)
2046 ("gnome-desktop" ,gnome-desktop)))
2047 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2048 (synopsis "Find and insert unusual characters")
2049 (description "Characters is a simple utility application to find
2050 and insert unusual characters. It allows you to quickly find the
2051 character you are looking for by searching for keywords.")
2052 (license license:bsd-3)))
2053
2054 (define-public gnome-common
2055 (package
2056 (name "gnome-common")
2057 (version "3.18.0")
2058 (source
2059 (origin
2060 (method url-fetch)
2061 (uri (string-append "mirror://gnome/sources/" name "/"
2062 (version-major+minor version) "/"
2063 name "-" version ".tar.xz"))
2064 (sha256
2065 (base32
2066 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2067 (build-system gnu-build-system)
2068 (home-page "https://www.gnome.org/")
2069 (synopsis "Bootstrap GNOME modules built from Git")
2070 (description "gnome-common contains various files needed to bootstrap
2071 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2072 can be used to configure a source directory checked out from Git and some
2073 commonly used macros.")
2074 (license license:gpl2+)))
2075
2076 (define-public gnome-contacts
2077 (package
2078 (name "gnome-contacts")
2079 (version "3.34")
2080 (source (origin
2081 (method url-fetch)
2082 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2083 (version-major+minor version) "/"
2084 name "-" version ".tar.xz"))
2085 (sha256
2086 (base32
2087 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2088 (build-system meson-build-system)
2089 (arguments
2090 `(#:configure-flags '("-Dcheese=false")
2091 #:phases
2092 (modify-phases %standard-phases
2093 (add-after 'unpack 'generate-vapis
2094 (lambda* (#:key inputs #:allow-other-keys)
2095 ;; To generate goa's missing .vapi file
2096 (define goa
2097 (assoc-ref inputs "gnome-online-accounts:lib"))
2098
2099 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2100 "--library=goa-1.0"
2101 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2102 #t))
2103 (add-after 'unpack 'skip-gtk-update-icon-cache
2104 ;; Don't create 'icon-theme.cache'.
2105 (lambda _
2106 (substitute* "build-aux/meson_post_install.py"
2107 (("gtk-update-icon-cache") "true"))
2108 #t)))))
2109 (native-inputs
2110 `(("glib:bin" ,glib "bin")
2111 ("pkg-config" ,pkg-config)))
2112 (inputs
2113 `(("docbook-xml" ,docbook-xml)
2114 ("dockbook-xsl" ,docbook-xsl)
2115 ("evolution-data-server" ,evolution-data-server)
2116 ("gettext" ,gettext-minimal)
2117 ("gnome-desktop" ,gnome-desktop)
2118 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2119 ("gobject-introspection" ,gobject-introspection)
2120 ("gst-plugins-base" ,gst-plugins-base)
2121 ("gtk+" ,gtk+)
2122 ("libgee" ,libgee)
2123 ("libxslt" ,libxslt)
2124 ("telepathy-glib" ,telepathy-glib)
2125 ("vala" ,vala)))
2126 (propagated-inputs
2127 `(("folks" ,folks)
2128 ("telepathy-mission-control" ,telepathy-mission-control)))
2129 (synopsis "GNOME's integrated address book")
2130 (description
2131 "GNOME Contacts organizes your contact information from online and
2132 offline sources, providing a centralized place for managing your contacts.")
2133 (home-page "https://wiki.gnome.org/Apps/Contacts")
2134 (license license:gpl2+)))
2135
2136 (define-public gnome-desktop
2137 (package
2138 (name "gnome-desktop")
2139 (version "3.34.2")
2140 (source
2141 (origin
2142 (method url-fetch)
2143 (uri (string-append "mirror://gnome/sources/" name "/"
2144 (version-major+minor version) "/"
2145 name "-" version ".tar.xz"))
2146 (sha256
2147 (base32
2148 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2149 (build-system meson-build-system)
2150 (arguments
2151 '(#:phases
2152 (modify-phases %standard-phases
2153 (add-before 'configure 'patch-path
2154 (lambda* (#:key inputs #:allow-other-keys)
2155 (let ((libc (assoc-ref inputs "libc")))
2156 (substitute* "libgnome-desktop/gnome-languages.c"
2157 (("\"locale\"")
2158 (string-append "\"" libc "/bin/locale\"")))
2159 #t)))
2160 (add-before 'configure 'patch-bubblewrap
2161 (lambda* (#:key inputs #:allow-other-keys)
2162 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2163 (("\"bwrap\",")
2164 (string-append "\"" (which "bwrap") "\","))
2165 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2166 (string-append "\"--ro-bind\", \""
2167 (%store-directory)
2168 "\", \""
2169 (%store-directory)
2170 "\","))
2171 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2172 #t))
2173 (add-before 'check 'pre-check
2174 (lambda* (#:key inputs #:allow-other-keys)
2175 ;; Tests require a running X server and locales.
2176 (system "Xvfb :1 &")
2177 (setenv "DISPLAY" ":1")
2178 (setenv "GUIX_LOCPATH"
2179 (string-append (assoc-ref inputs "glibc-locales")
2180 "/lib/locale"))
2181 #t)))))
2182 (native-inputs
2183 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2184 ("glibc-locales" ,glibc-locales) ; for tests
2185 ("gobject-introspection" ,gobject-introspection)
2186 ("itstool" ,itstool)
2187 ("intltool" ,intltool)
2188 ("pkg-config" ,pkg-config)
2189 ("xmllint" ,libxml2)
2190 ("xorg-server" ,xorg-server-for-tests)))
2191 (propagated-inputs
2192 ;; Required by gnome-desktop-3.0.pc.
2193 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2194 ("gtk+" ,gtk+)
2195 ("iso-codes" ,iso-codes)
2196 ("libseccomp" ,libseccomp)
2197 ("libx11" ,libx11)
2198 ("xkeyboard-config" ,xkeyboard-config)))
2199 (inputs
2200 `(("gdk-pixbuf" ,gdk-pixbuf)
2201 ("glib" ,glib)
2202 ("bubblewrap" ,bubblewrap)
2203 ("libxext" ,libxext)
2204 ("libxkbfile" ,libxkbfile)
2205 ("libxrandr" ,libxrandr)))
2206 (home-page "https://www.gnome.org/")
2207 (synopsis
2208 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2209 (description
2210 "The libgnome-desktop library provides API shared by several applications
2211 on the desktop, but that cannot live in the platform for various reasons.
2212 There is no API or ABI guarantee, although we are doing our best to provide
2213 stability. Documentation for the API is available with gtk-doc.
2214
2215 The gnome-about program helps find which version of GNOME is installed.")
2216 ; Some bits under the LGPL.
2217 (license license:gpl2+)))
2218
2219 (define-public gnome-doc-utils
2220 (package
2221 (name "gnome-doc-utils")
2222 (version "0.20.10")
2223 (source
2224 (origin
2225 (method url-fetch)
2226 (uri (string-append "mirror://gnome/sources/" name "/"
2227 (version-major+minor version) "/"
2228 name "-" version ".tar.xz"))
2229 (sha256
2230 (base32
2231 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2232 (build-system gnu-build-system)
2233 (native-inputs
2234 `(("intltool" ,intltool)
2235 ("docbook-xml" ,docbook-xml-4.4)
2236 ("python2-libxml2" ,python2-libxml2)
2237 ("libxml2" ,libxml2)
2238 ("libxslt" ,libxslt)
2239 ("pkg-config" ,pkg-config)
2240 ("python-2" ,python-2)))
2241 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2242 (synopsis
2243 "Documentation utilities for the Gnome project")
2244 (description
2245 "Gnome-doc-utils is a collection of documentation utilities for the
2246 Gnome project. It includes xml2po tool which makes it easier to translate
2247 and keep up to date translations of documentation.")
2248 (license license:gpl2+))) ; xslt under lgpl
2249
2250 (define-public gnome-disk-utility
2251 (package
2252 (name "gnome-disk-utility")
2253 (version "3.34.0")
2254 (source (origin
2255 (method url-fetch)
2256 (uri (string-append "mirror://gnome/sources/" name "/"
2257 (version-major+minor version) "/"
2258 name "-" version ".tar.xz"))
2259 (sha256
2260 (base32
2261 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2262 (build-system meson-build-system)
2263 (arguments
2264 '(#:configure-flags '("-Dlogind=libelogind")
2265 #:phases
2266 (modify-phases %standard-phases
2267 (add-after 'unpack 'skip-gtk-update-icon-cache
2268 ;; Don't create 'icon-theme.cache'.
2269 (lambda _
2270 (substitute* "meson_post_install.py"
2271 (("gtk-update-icon-cache") "true"))
2272 #t)))))
2273 (native-inputs
2274 `(("glib:bin" ,glib "bin")
2275 ("intltool" ,intltool)
2276 ("pkg-config" ,pkg-config)
2277 ("docbook-xml" ,docbook-xml)
2278 ("docbook-xsl" ,docbook-xsl)
2279 ("libxml2" ,libxml2)
2280 ("libxslt" ,libxslt)))
2281 (inputs
2282 `(("elogind" ,elogind)
2283 ("glib" ,glib)
2284 ("appstream-glib" ,appstream-glib)
2285 ("gnome-settings-daemon" ,gnome-settings-daemon)
2286 ("gtk+" ,gtk+)
2287 ("libcanberra" ,libcanberra)
2288 ("libdvdread" ,libdvdread)
2289 ("libnotify" ,libnotify)
2290 ("libpwquality" ,libpwquality)
2291 ("libsecret" ,libsecret)
2292 ("udisks" ,udisks)))
2293 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2294 (synopsis "Disk management utility for GNOME")
2295 (description "Disk management utility for GNOME.")
2296 (license license:gpl2+)))
2297
2298 (define-public gnome-font-viewer
2299 (package
2300 (name "gnome-font-viewer")
2301 (version "3.30.0")
2302 (source (origin
2303 (method url-fetch)
2304 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2305 (version-major+minor version)
2306 "/gnome-font-viewer-" version ".tar.xz"))
2307 (sha256
2308 (base32
2309 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2310 (build-system meson-build-system)
2311 (arguments
2312 '(#:phases
2313 (modify-phases %standard-phases
2314 (add-after 'unpack 'patch-post-install-script
2315 (lambda _
2316 (substitute* "meson-postinstall.sh"
2317 (("update-desktop-database") (which "true")))
2318 #t))
2319 (add-after 'install 'patch-thumbnailer
2320 (lambda* (#:key outputs #:allow-other-keys)
2321 (let ((out (assoc-ref outputs "out")))
2322 (substitute*
2323 (string-append
2324 out
2325 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2326 (("gnome-thumbnail-font")
2327 (string-append out "/bin/gnome-thumbnail-font"))))
2328 #t)))))
2329 (native-inputs
2330 `(("gettext" ,gettext-minimal)
2331 ("glib:bin" ,glib "bin")
2332 ("pkg-config" ,pkg-config)))
2333 (inputs
2334 `(("glib" ,glib)
2335 ("gnome-desktop" ,gnome-desktop)
2336 ("gtk+" ,gtk+)))
2337 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2338 (synopsis "GNOME Fonts")
2339 (description "Application to show you the fonts installed on your computer
2340 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2341 the font would look under various sizes.")
2342 (license license:gpl2+)))
2343
2344 (define-public gcr
2345 (package
2346 (name "gcr")
2347 (version "3.34.0")
2348 (source (origin
2349 (method url-fetch)
2350 (uri (string-append "mirror://gnome/sources/" name "/"
2351 (version-major+minor version) "/"
2352 name "-" version ".tar.xz"))
2353 (sha256
2354 (base32
2355 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2356 (build-system gnu-build-system)
2357 (arguments
2358 '(#:phases
2359 (modify-phases %standard-phases
2360 ;; These fail because /var/lib/dbus/machine-id is not present in the
2361 ;; build environment.
2362 (add-after 'unpack 'disable-failing-tests
2363 (lambda _
2364 (substitute* "Makefile.in"
2365 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2366 ""))
2367 #t))
2368 (add-before 'check 'pre-check
2369 (lambda _
2370 ;; Some tests expect to write to $HOME.
2371 (setenv "HOME" "/tmp")
2372 #t)))))
2373 (inputs
2374 `(("dbus" ,dbus)
2375 ("gnupg" ,gnupg) ;called as a child process during tests
2376 ("libgcrypt" ,libgcrypt)))
2377 (native-inputs
2378 `(("python" ,python-wrapper) ;for tests
2379 ("pkg-config" ,pkg-config)
2380 ("gettext" ,gettext-minimal)
2381 ("glib" ,glib "bin")
2382 ("gobject-introspection" ,gobject-introspection)
2383 ("libxml2" ,libxml2)
2384 ("vala" ,vala)
2385 ("xsltproc" ,libxslt)))
2386 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2387 (propagated-inputs
2388 `(("p11-kit" ,p11-kit)
2389 ("glib" ,glib)
2390 ("gtk+" ,gtk+)))
2391 (home-page "https://www.gnome.org")
2392 (synopsis "Libraries for displaying certificates and accessing key stores")
2393 (description
2394 "The GCR package contains libraries used for displaying certificates and
2395 accessing key stores. It also provides the viewer for crypto files on the
2396 GNOME Desktop.")
2397 (license license:lgpl2.1+)))
2398
2399 (define-public gdl
2400 (package
2401 (name "gdl")
2402 (version "3.34.0")
2403 (source (origin
2404 (method git-fetch)
2405 (uri (git-reference
2406 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2407 (commit (string-append "GDL_" (string-map (match-lambda
2408 (#\. #\_)
2409 (c c))
2410 version)))))
2411 (file-name (git-file-name name version))
2412 (sha256
2413 (base32
2414 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2415 (build-system gnu-build-system)
2416 (native-inputs
2417 `(("autoconf" ,autoconf)
2418 ("automake" ,automake)
2419 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2420 ("gnome-common" ,gnome-common)
2421 ("gtk-doc" ,gtk-doc/stable)
2422 ("intltool" ,intltool)
2423 ("pkg-config" ,pkg-config)
2424 ("libtool" ,libtool)
2425 ("which" ,which)))
2426 (inputs
2427 `(("libxml2" ,libxml2)))
2428 (propagated-inputs
2429 ;; The gdl-3.0.pc file 'Requires' GTK+.
2430 `(("gtk+" ,gtk+)))
2431 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2432 (synopsis "GNOME docking library")
2433 (description "This library provides docking features for gtk+.")
2434 (license license:lgpl2.1+)))
2435
2436 ;;; A minimal variant used to break a cycle with Inkscape.
2437 (define-public gdl-minimal
2438 (package/inherit gdl
2439 (name "gdl-minimal")
2440 (arguments
2441 '(#:phases
2442 (modify-phases %standard-phases
2443 (add-after 'unpack 'disable-doc-generation
2444 ;; XXX: There is no easy way to disable generating the
2445 ;; documentation.
2446 (lambda _
2447 (substitute* "configure.in"
2448 (("GTK_DOC_CHECK.*") "")
2449 (("docs/.*") ""))
2450 (substitute* "Makefile.am"
2451 (("gdl docs po") "gdl po"))
2452 #t)))))
2453 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2454
2455 (define-public libgnome-keyring
2456 (package
2457 (name "libgnome-keyring")
2458 (version "3.12.0")
2459 (source (origin
2460 (method url-fetch)
2461 (uri (string-append "mirror://gnome/sources/" name "/"
2462 (version-major+minor version) "/"
2463 name "-" version ".tar.xz"))
2464 (sha256
2465 (base32
2466 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2467 (build-system gnu-build-system)
2468 (inputs
2469 `(("libgcrypt" ,libgcrypt)
2470 ("dbus" ,dbus)))
2471 (native-inputs
2472 `(("pkg-config" ,pkg-config)
2473 ("glib" ,glib "bin")
2474 ("intltool" ,intltool)))
2475 (propagated-inputs
2476 ;; Referred to in .h files and .pc.
2477 `(("glib" ,glib)))
2478 (home-page "https://www.gnome.org")
2479 (synopsis "Accessing passwords from the GNOME keyring")
2480 (description
2481 "Client library to access passwords from the GNOME keyring.")
2482
2483 ;; Though a couple of files are LGPLv2.1+.
2484 (license license:lgpl2.0+)))
2485
2486 (define-public gnome-keyring
2487 (package
2488 (name "gnome-keyring")
2489 (version "3.34.0")
2490 (source (origin
2491 (method url-fetch)
2492 (uri (string-append "mirror://gnome/sources/" name "/"
2493 (version-major+minor version) "/"
2494 name "-" version ".tar.xz"))
2495 (sha256
2496 (base32
2497 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2498 (build-system gnu-build-system)
2499 (arguments
2500 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2501 ;not exist
2502 #:configure-flags
2503 (list
2504 (string-append "--with-pkcs11-config="
2505 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2506 (string-append "--with-pkcs11-modules="
2507 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2508 #:phases
2509 (modify-phases %standard-phases
2510 (add-after 'unpack 'fix-/bin/sh-reference
2511 (lambda _
2512 (substitute* "po/Makefile.in.in"
2513 (("/bin/sh") (which "sh")))
2514 #t))
2515 (add-after 'unpack 'fix-docbook
2516 (lambda* (#:key inputs #:allow-other-keys)
2517 (substitute* "docs/Makefile.am"
2518 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2519 (string-append (assoc-ref inputs "docbook-xsl")
2520 "/xml/xsl/docbook-xsl-"
2521 ,(package-version docbook-xsl)
2522 "/manpages/docbook.xsl")))
2523 (setenv "XML_CATALOG_FILES"
2524 (string-append (assoc-ref inputs "docbook-xml")
2525 "/xml/dtd/docbook/catalog.xml"))
2526 ;; Rerun the whole thing to avoid version mismatch ("This is
2527 ;; Automake 1.15.1, but the definition used by this
2528 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2529 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2530 (invoke "autoconf")
2531 (invoke "aclocal")
2532 (invoke "automake" "-ac"))))))
2533 (inputs
2534 `(("libgcrypt" ,libgcrypt)
2535 ("linux-pam" ,linux-pam)
2536 ("openssh" ,openssh)
2537 ("dbus" ,dbus)
2538 ("gcr" ,gcr)))
2539 (native-inputs
2540 `(("pkg-config" ,pkg-config)
2541 ("glib" ,glib "bin")
2542 ("glib" ,glib) ; for m4 macros
2543 ("python" ,python-2) ;for tests
2544 ("intltool" ,intltool)
2545 ("autoconf" ,autoconf)
2546 ("automake" ,automake)
2547 ("libxslt" ,libxslt) ;for documentation
2548 ("docbook-xml" ,docbook-xml-4.2)
2549 ("docbook-xsl" ,docbook-xsl)))
2550 (propagated-inputs
2551 `(("gcr" ,gcr)))
2552 (home-page "https://www.gnome.org")
2553 (synopsis "Daemon to store passwords and encryption keys")
2554 (description
2555 "gnome-keyring is a program that keeps passwords and other secrets for
2556 users. It is run as a daemon in the session, similar to ssh-agent, and other
2557 applications locate it via an environment variable or D-Bus.
2558
2559 The program can manage several keyrings, each with its own master password,
2560 and there is also a session keyring which is never stored to disk, but
2561 forgotten when the session ends.")
2562 (license license:lgpl2.1+)))
2563
2564 (define-public evince
2565 (package
2566 (name "evince")
2567 (version "3.36.5")
2568 (source (origin
2569 (method url-fetch)
2570 (uri (string-append "mirror://gnome/sources/evince/"
2571 (version-major+minor version) "/"
2572 "evince-" version ".tar.xz"))
2573 (sha256
2574 (base32
2575 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2576 (build-system glib-or-gtk-build-system)
2577 (arguments
2578 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2579 #:phases
2580 (modify-phases %standard-phases
2581 (add-before 'install 'skip-gtk-update-icon-cache
2582 ;; Don't create 'icon-theme.cache'.
2583 (lambda _
2584 (substitute* "data/Makefile"
2585 (("gtk-update-icon-cache") "true"))
2586 #t)))))
2587 (inputs
2588 `(("libarchive" ,libarchive)
2589 ("libgxps" ,libgxps)
2590 ("libspectre" ,libspectre)
2591 ("djvulibre" ,djvulibre)
2592 ("ghostscript" ,ghostscript)
2593 ("poppler" ,poppler)
2594 ("libtiff" ,libtiff)
2595 ;; TODO:
2596 ;; Build libkpathsea as a shared library for DVI support.
2597 ;; ("libkpathsea" ,texlive-bin)
2598 ("gnome-desktop" ,gnome-desktop)
2599 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2600 ("gspell" ,gspell)
2601 ("libgnome-keyring" ,libgnome-keyring)
2602 ("adwaita-icon-theme" ,adwaita-icon-theme)
2603 ("gdk-pixbuf" ,gdk-pixbuf)
2604 ("atk" ,atk)
2605 ("pango" ,pango)
2606 ("gtk+" ,gtk+)
2607 ("glib" ,glib)
2608 ("libxml2" ,libxml2)
2609 ("libsm" ,libsm)
2610 ("libice" ,libice)
2611 ("shared-mime-info" ,shared-mime-info)
2612 ("dconf" ,dconf)
2613 ("libcanberra" ,libcanberra)
2614 ("libsecret" ,libsecret)
2615
2616 ;; For tests.
2617 ("dogtail" ,python2-dogtail)))
2618 (native-inputs
2619 `(("itstool" ,itstool)
2620 ("intltool" ,intltool)
2621 ("glib" ,glib "bin")
2622 ("gobject-introspection" ,gobject-introspection)
2623 ("pkg-config" ,pkg-config)
2624 ("xmllint" ,libxml2)))
2625 (home-page "https://www.gnome.org/projects/evince/")
2626 (synopsis "GNOME's document viewer")
2627 (description
2628 "Evince is a document viewer for multiple document formats. It
2629 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2630 of Evince is to replace the multiple document viewers that exist
2631 on the GNOME Desktop with a single simple application.")
2632 (license license:gpl2+)))
2633
2634 (define-public gsettings-desktop-schemas
2635 (package
2636 (name "gsettings-desktop-schemas")
2637 (version "3.34.0")
2638 (source
2639 (origin
2640 (method url-fetch)
2641 (uri (string-append "mirror://gnome/sources/" name "/"
2642 (version-major+minor version) "/"
2643 name "-" version ".tar.xz"))
2644 (sha256
2645 (base32
2646 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2647 (build-system meson-build-system)
2648 (arguments
2649 '(#:phases (modify-phases %standard-phases
2650 (add-after 'unpack 'patch-schemas
2651 (lambda* (#:key inputs #:allow-other-keys)
2652 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2653 (substitute* (find-files "schemas"
2654 "\\.gschema\\.xml\\.in$")
2655 ;; Provide the correct file name of the default GNOME
2656 ;; background, 'adwaita-timed.xml'.
2657 (("@datadir@/backgrounds/gnome")
2658 (string-append theme "/share/backgrounds/gnome"))
2659 ;; Do not reference fonts, that may not exist.
2660 (("'Source Code Pro 10'") "'Monospace 11'"))
2661 #t))))))
2662 (inputs
2663 `(("glib" ,glib)
2664 ("gnome-backgrounds" ,gnome-backgrounds)))
2665 (native-inputs
2666 `(("intltool" ,intltool)
2667 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2668 ("gobject-introspection" ,gobject-introspection)
2669 ("pkg-config" ,pkg-config)))
2670 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2671 (synopsis
2672 "GNOME settings for various desktop components")
2673 (description
2674 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2675 for settings shared by various components of the GNOME desktop.")
2676 (license license:lgpl2.1+)))
2677
2678 (define-public python-liblarch
2679 (package
2680 (name "python-liblarch")
2681 (version "3.0.1")
2682 (source
2683 (origin
2684 (method git-fetch)
2685 (uri (git-reference
2686 (url "https://github.com/getting-things-gnome/liblarch")
2687 (commit (string-append "v" version))))
2688 (file-name (git-file-name name version))
2689 (sha256
2690 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2691 (build-system python-build-system)
2692 (arguments
2693 `(#:phases
2694 (modify-phases %standard-phases
2695 (add-before 'check 'start-xserver
2696 (lambda* (#:key inputs #:allow-other-keys)
2697 (system (format #f "~a/bin/Xvfb :1 &"
2698 (assoc-ref inputs "xorg-server")))
2699 (setenv "DISPLAY" ":1")
2700 #t)))))
2701 (native-inputs
2702 `(("xorg-server" ,xorg-server-for-tests)))
2703 (inputs
2704 `(("gtk+" ,gtk+)))
2705 (propagated-inputs
2706 `(("python-pygobject" ,python-pygobject)))
2707 (home-page "https://wiki.gnome.org/Projects/liblarch")
2708 (synopsis "Library to easily handle complex data structures")
2709 (description
2710 "Liblarch is a Python library built to easily handle data structures such
2711 as lists, trees and acyclic graphs. There's also a GTK binding that will
2712 allow you to use your data structure in a @code{Gtk.Treeview}.
2713
2714 Liblarch support multiple views of one data structure and complex filtering.
2715 That way, you have a clear separation between your data themselves (Model)
2716 and how they are displayed (View).")
2717 (license license:lgpl3+)))
2718
2719 (define-public gtg
2720 (package
2721 (name "gtg")
2722 (version "0.4")
2723 (source
2724 (origin
2725 (method git-fetch)
2726 (uri (git-reference
2727 (url "https://github.com/getting-things-gnome/gtg")
2728 (commit (string-append "v" version))))
2729 (file-name (git-file-name name version))
2730 (sha256
2731 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2732 (build-system meson-build-system)
2733 (arguments
2734 `(#:glib-or-gtk? #t
2735 #:phases
2736 (modify-phases %standard-phases
2737 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2738 (lambda* (#:key outputs #:allow-other-keys)
2739 (let ((prog (string-append (assoc-ref outputs "out")
2740 "/bin/gtg"))
2741 (pylib (string-append (assoc-ref outputs "out")
2742 "/lib/python"
2743 ,(version-major+minor
2744 (package-version python))
2745 "/site-packages")))
2746 (wrap-program prog
2747 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2748 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2749 #t))))))
2750 (native-inputs
2751 `(("desktop-file-utils" ,desktop-file-utils)
2752 ("gettext" ,gettext-minimal)
2753 ("glib:bin" ,glib "bin")
2754 ("gobject-introspection" ,gobject-introspection)
2755 ("gtk+:bin" ,gtk+ "bin")
2756 ("pkg-config" ,pkg-config)))
2757 (inputs
2758 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2759 ("gtk+" ,gtk+)
2760 ("python-dbus" ,python-dbus)
2761 ("python-liblarch" ,python-liblarch)
2762 ("python-pycairo" ,python-pycairo)
2763 ("python-pygobject" ,python-pygobject)
2764 ("python-pyxdg" ,python-pyxdg)))
2765 (home-page "https://wiki.gnome.org/Apps/GTG")
2766 (synopsis "Personal organizer for the GNOME desktop")
2767 (description
2768 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2769 organizer for the GNOME desktop environment inspired by the Getting Things
2770 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2771 and ease of use in mind so it can be used as more than just GTD software.
2772 GTG is intended to help you track everything you need to do and need to
2773 know, from small tasks to large projects.")
2774 (license license:gpl3+)))
2775
2776 (define-public icon-naming-utils
2777 (package
2778 (name "icon-naming-utils")
2779 (version "0.8.90")
2780 (source
2781 (origin
2782 (method url-fetch)
2783 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2784 version ".tar.bz2"))
2785 (sha256
2786 (base32
2787 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2788 (build-system gnu-build-system)
2789 (inputs
2790 `(("perl" ,perl)
2791 ("perl-xml-simple" ,perl-xml-simple)))
2792 (arguments
2793 '(#:phases
2794 (modify-phases %standard-phases
2795 (add-after 'install 'set-load-paths
2796 ;; Tell 'icon-name-mapping' where XML::Simple is.
2797 (lambda* (#:key outputs #:allow-other-keys)
2798 (let* ((out (assoc-ref outputs "out"))
2799 (prog (string-append out "/libexec/icon-name-mapping")))
2800 (wrap-program
2801 prog
2802 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2803 #t)))))
2804 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2805 (synopsis
2806 "Utility to implement the Freedesktop Icon Naming Specification")
2807 (description
2808 "To help with the transition to the Freedesktop Icon Naming
2809 Specification, the icon naming utility maps the icon names used by the
2810 GNOME and KDE desktops to the icon names proposed in the specification.")
2811 (license license:lgpl2.1+)))
2812
2813 (define-public gnome-icon-theme
2814 (package
2815 (name "gnome-icon-theme")
2816 (version "3.12.0")
2817 (source
2818 (origin
2819 (method url-fetch)
2820 (uri (string-append "mirror://gnome/sources/" name "/"
2821 (version-major+minor version) "/"
2822 name "-" version ".tar.xz"))
2823 (sha256
2824 (base32
2825 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2826 (build-system gnu-build-system)
2827 (arguments
2828 '(#:configure-flags
2829 ;; Don't create 'icon-theme.cache'.
2830 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2831 (true (string-append coreutils "/bin/true")))
2832 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2833 (native-inputs
2834 `(("icon-naming-utils" ,icon-naming-utils)
2835 ("intltool" ,intltool)
2836 ("pkg-config" ,pkg-config)))
2837 (home-page "https://wiki.gnome.org/Personalization")
2838 (synopsis "GNOME icon theme")
2839 (description "Icons for the GNOME desktop.")
2840 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2841
2842 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2843 (define-public adwaita-icon-theme
2844 (package (inherit gnome-icon-theme)
2845 (name "adwaita-icon-theme")
2846 (version "3.34.3")
2847 (source (origin
2848 (method url-fetch)
2849 (uri (string-append "mirror://gnome/sources/" name "/"
2850 (version-major+minor version) "/"
2851 name "-" version ".tar.xz"))
2852 (sha256
2853 (base32
2854 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2855 (native-inputs
2856 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2857
2858 (define-public tango-icon-theme
2859 (package
2860 (name "tango-icon-theme")
2861 (version "0.8.90")
2862 (source (origin
2863 (method url-fetch)
2864 (uri (string-append "http://tango.freedesktop.org/releases/"
2865 "tango-icon-theme-" version ".tar.bz2"))
2866 (sha256
2867 (base32
2868 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2869 (build-system gnu-build-system)
2870 (native-inputs
2871 `(("icon-naming-utils" ,icon-naming-utils)
2872 ("intltool" ,intltool)
2873 ("imagemagick" ,imagemagick)
2874 ("pkg-config" ,pkg-config)))
2875 (home-page "http://tango-project.org/")
2876 (synopsis "Tango icon theme")
2877 (description "This is an icon theme that follows the Tango visual
2878 guidelines.")
2879 (license license:public-domain)))
2880
2881 (define-public shared-mime-info
2882 (package
2883 (name "shared-mime-info")
2884 (version "1.15")
2885 (source (origin
2886 (method url-fetch)
2887 (uri (string-append
2888 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2889 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2890 ".tar.xz"))
2891 (sha256
2892 (base32
2893 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2894 (build-system gnu-build-system)
2895 (arguments
2896 ;; The build system appears not to be parallel-safe.
2897 '(#:parallel-build? #f))
2898 (inputs
2899 `(("glib" ,glib)
2900 ("libxml2" ,libxml2)))
2901 (native-inputs
2902 `(("gettext" ,gettext-minimal)
2903 ("itstool" ,itstool)
2904 ("pkg-config" ,pkg-config)))
2905 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2906 (synopsis "Database of common MIME types")
2907 (description
2908 "The shared-mime-info package contains the core database of common types
2909 and the update-mime-database command used to extend it. It requires glib2 to
2910 be installed for building the update command. Additionally, it uses intltool
2911 for translations, though this is only a dependency for the maintainers. This
2912 database is translated at Transifex.")
2913 (license license:gpl2+)))
2914
2915 (define-public system-config-printer
2916 (package
2917 (name "system-config-printer")
2918 (version "1.5.15")
2919 (source
2920 (origin
2921 (method url-fetch)
2922 (uri (string-append
2923 "https://github.com/OpenPrinting/system-config-printer/releases/"
2924 "download/v" version
2925 "/system-config-printer-" version ".tar.xz"))
2926 (sha256
2927 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2928 (build-system glib-or-gtk-build-system)
2929 (arguments
2930 `(#:imported-modules ((guix build python-build-system)
2931 ,@%glib-or-gtk-build-system-modules)
2932 #:phases
2933 (modify-phases %standard-phases
2934 (add-after 'unpack 'patch-Makefile.am
2935 (lambda _
2936 ;; The Makefile generates some scripts, so set a valid shebang
2937 (substitute* "Makefile.am"
2938 (("/bin/bash") (which "bash")))
2939 (delete-file "configure")
2940 #t))
2941 (add-after 'unpack 'patch-docbook-xml
2942 (lambda* (#:key inputs #:allow-other-keys)
2943 ;; Modify the man XML otherwise xmlto tries to access the network
2944 (substitute* "man/system-config-printer.xml"
2945 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2946 (string-append (assoc-ref inputs "docbook-xml")
2947 "/xml/dtd/docbook/")))
2948 #t))
2949 (add-after 'install 'wrap-for-python
2950 (@@ (guix build python-build-system) wrap))
2951 (add-after 'install 'wrap
2952 (lambda* (#:key outputs #:allow-other-keys)
2953 (let ((out (assoc-ref outputs "out"))
2954 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2955 (for-each
2956 (lambda (program)
2957 (wrap-program program
2958 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2959 (map (lambda (name)
2960 (string-append out "/bin/" name))
2961 '("system-config-printer"
2962 "system-config-printer-applet"
2963 "install-printerdriver"
2964 "scp-dbus-service"))))
2965 #t)))))
2966 (inputs
2967 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2968 ("gobject-introspection" ,gobject-introspection)
2969 ("python" ,python)
2970 ("cups" ,cups)
2971 ("gtk+" ,gtk+)
2972 ("python-dbus" ,python-dbus)
2973 ("python-pygobject" ,python-pygobject)
2974 ("python-pycups" ,python-pycups)
2975 ("python-requests" ,python-requests)
2976 ("python-pycairo" ,python-pycairo)
2977 ("libnotify" ,libnotify)
2978 ("packagekit" ,packagekit)))
2979 (native-inputs
2980 `(("pkg-config" ,pkg-config)
2981 ("desktop-file-utils" ,desktop-file-utils)
2982 ("glib" ,glib)
2983 ("autoconf" ,autoconf)
2984 ("automake" ,automake)
2985 ("intltool" ,intltool)
2986 ("xmlto" ,xmlto)
2987 ("docbook-xml" ,docbook-xml-4.1.2)
2988 ("docbook-xsl" ,docbook-xsl)
2989 ("libxml2" ,libxml2)))
2990 (home-page "https://github.com/zdohnal/system-config-printer")
2991 (synopsis "CUPS administration tool")
2992 (description
2993 "system-config-printer is a CUPS administration tool. It's written in
2994 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2995 configuring CUPS.")
2996 (license license:gpl2+)))
2997
2998 (define-public hicolor-icon-theme
2999 (package
3000 (name "hicolor-icon-theme")
3001 (version "0.17")
3002 (source
3003 (origin
3004 (method url-fetch)
3005 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3006 "hicolor-icon-theme-" version ".tar.xz"))
3007 (sha256
3008 (base32
3009 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3010 (build-system gnu-build-system)
3011 (arguments
3012 `(#:tests? #f)) ; no check target
3013 (home-page "https://icon-theme.freedesktop.org/releases/")
3014 (synopsis
3015 "Freedesktop icon theme")
3016 (description
3017 "Freedesktop icon theme.")
3018 (license license:gpl2)))
3019
3020 (define-public libnotify
3021 (package
3022 (name "libnotify")
3023 (version "0.7.9")
3024 (source
3025 (origin
3026 (method url-fetch)
3027 (uri (string-append "mirror://gnome/sources/" name "/"
3028 (version-major+minor version) "/"
3029 name "-" version ".tar.xz"))
3030 (sha256
3031 (base32
3032 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3033 (build-system meson-build-system)
3034 (arguments
3035 `(#:phases
3036 (modify-phases %standard-phases
3037 (add-after 'unpack 'fix-docbook
3038 (lambda* (#:key inputs #:allow-other-keys)
3039 ;; Don't attempt to download XSL schema.
3040 (substitute* "meson.build"
3041 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3042 /manpages/docbook.xsl")
3043 (string-append (assoc-ref inputs "docbook-xsl")
3044 "/xml/xsl/docbook-xsl-"
3045 ,(package-version docbook-xsl)
3046 "/manpages/docbook.xsl")))
3047 #t)))))
3048 (propagated-inputs
3049 `(;; In Requires of libnotify.pc.
3050 ("gdk-pixbuf" ,gdk-pixbuf)
3051 ("glib" ,glib)))
3052 (inputs
3053 `(("gtk+" ,gtk+)
3054 ("libpng" ,libpng)))
3055 (native-inputs
3056 `(("pkg-config" ,pkg-config)
3057 ("glib" ,glib "bin")
3058 ("gobject-introspection" ,gobject-introspection)
3059
3060 ;; For the documentation.
3061 ("gtk-doc" ,gtk-doc/stable)
3062 ("xsltproc" ,libxslt)
3063 ("docbook-xsl" ,docbook-xsl)))
3064 (home-page "https://developer-next.gnome.org/libnotify/")
3065 (synopsis
3066 "GNOME desktop notification library")
3067 (description
3068 "Libnotify is a library that sends desktop notifications to a
3069 notification daemon, as defined in the Desktop Notifications spec. These
3070 notifications can be used to inform the user about an event or display
3071 some form of information without getting in the user's way.")
3072 (license license:lgpl2.1+)))
3073
3074 (define-public libpeas
3075 (package
3076 (name "libpeas")
3077 (version "1.28.0")
3078 (source
3079 (origin
3080 (method url-fetch)
3081 (uri (string-append "mirror://gnome/sources/" name "/"
3082 (version-major+minor version) "/"
3083 name "-" version ".tar.xz"))
3084 (sha256
3085 (base32
3086 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3087 (build-system meson-build-system)
3088 (arguments
3089 '(#:phases
3090 (modify-phases %standard-phases
3091 (add-before 'check 'start-xserver
3092 (lambda* (#:key inputs #:allow-other-keys)
3093 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3094 (disp ":1"))
3095 (setenv "DISPLAY" disp)
3096 ;; Tests require a running X server.
3097 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3098 #t))))))
3099 (inputs
3100 `(("gtk+" ,gtk+)
3101 ("glade" ,glade3)
3102 ("python" ,python)
3103 ("python-pygobject" ,python-pygobject)))
3104 (native-inputs
3105 `(("pkg-config" ,pkg-config)
3106 ("gettext" ,gettext-minimal)
3107 ("glib:bin" ,glib "bin")
3108 ("gobject-introspection" ,gobject-introspection)
3109 ("xorg-server" ,xorg-server-for-tests)))
3110 (propagated-inputs
3111 ;; The .pc file "Requires" gobject-introspection.
3112 `(("gobject-introspection" ,gobject-introspection)))
3113 (home-page "https://wiki.gnome.org/Libpeas")
3114 (synopsis "GObject plugin system")
3115 (description
3116 "Libpeas is a gobject-based plugin engine, targeted at giving every
3117 application the chance to assume its own extensibility. It also has a set of
3118 features including, but not limited to: multiple extension points; on-demand
3119 (lazy) programming language support for C, Python and JS; simplicity of the
3120 API.")
3121 (license license:lgpl2.0+)))
3122
3123 (define-public gtkglext
3124 (package
3125 (name "gtkglext")
3126 (version "1.2.0")
3127 (source (origin
3128 (method url-fetch)
3129 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3130 version "/gtkglext-" version ".tar.gz"))
3131 (sha256
3132 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3133 (patches (search-patches
3134 "gtkglext-disable-disable-deprecated.patch"))))
3135 (build-system gnu-build-system)
3136 (arguments
3137 `(#:phases
3138 (modify-phases %standard-phases
3139 ;; Fix a collision between a local variable and a definition from
3140 ;; glibc's string.h.
3141 (add-after 'unpack 'fix-collision
3142 (lambda _
3143 (substitute* "gdk/gdkglshapes.c"
3144 ((" index") " triangle_index"))
3145 #t)))))
3146 (inputs `(("gtk+" ,gtk+-2)
3147 ("mesa" ,mesa)
3148 ("glu" ,glu)
3149 ("libx11" ,libx11)
3150 ("libxt" ,libxt)))
3151 (native-inputs `(("pkg-config" ,pkg-config)
3152 ("glib" ,glib "bin")))
3153 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3154 (home-page "https://projects.gnome.org/gtkglext")
3155 (synopsis "OpenGL extension to GTK+")
3156 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3157 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3158 API add-ons to make GTK+ widgets OpenGL-capable.")
3159 (license license:lgpl2.1+)))
3160
3161 (define-public glade3
3162 (package
3163 (name "glade")
3164 (version "3.36.0")
3165 (source (origin
3166 (method url-fetch)
3167 (uri (string-append "mirror://gnome/sources/" name "/"
3168 (version-major+minor version) "/"
3169 name "-" version ".tar.xz"))
3170 (sha256
3171 (base32
3172 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3173 (build-system glib-or-gtk-build-system)
3174 (arguments
3175 `(#:phases
3176 (modify-phases %standard-phases
3177 (add-before 'configure 'fix-docbook
3178 (lambda* (#:key inputs #:allow-other-keys)
3179 (substitute* "man/Makefile.in"
3180 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3181 (string-append (assoc-ref inputs "docbook-xsl")
3182 "/xml/xsl/docbook-xsl-"
3183 ,(package-version docbook-xsl)
3184 "/manpages/docbook.xsl")))
3185 #t))
3186 (add-before 'check 'pre-check
3187 (lambda _
3188 (setenv "HOME" "/tmp")
3189 ;; Tests require a running X server.
3190 (system "Xvfb :1 &")
3191 (setenv "DISPLAY" ":1")
3192 #t)))))
3193 (inputs
3194 `(("gtk+" ,gtk+)
3195 ("libxml2" ,libxml2)))
3196 (native-inputs
3197 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3198 ("intltool" ,intltool)
3199 ("itstool" ,itstool)
3200 ("libxslt" ,libxslt) ;for xsltproc
3201 ("docbook-xml" ,docbook-xml-4.2)
3202 ("docbook-xsl" ,docbook-xsl)
3203 ("python" ,python-2)
3204 ("pkg-config" ,pkg-config)
3205 ("xorg-server" ,xorg-server-for-tests)))
3206 (home-page "https://glade.gnome.org")
3207 (synopsis "GTK+ rapid application development tool")
3208 (description "Glade is a rapid application development (RAD) tool to
3209 enable quick & easy development of user interfaces for the GTK+ toolkit and
3210 the GNOME desktop environment.")
3211 (license license:lgpl2.0+)
3212 (native-search-paths (list (search-path-specification
3213 (variable "GLADE_CATALOG_SEARCH_PATH")
3214 (files '("share/glade/catalogs")))
3215 (search-path-specification
3216 (variable "GLADE_MODULE_SEARCH_PATH")
3217 (files '("lib/glade/modules")))))))
3218
3219 (define-public libcroco
3220 (package
3221 (name "libcroco")
3222 (version "0.6.13")
3223 (source (origin
3224 (method url-fetch)
3225 (uri (string-append "mirror://gnome/sources/" name "/"
3226 (version-major+minor version) "/"
3227 name "-" version ".tar.xz"))
3228 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3229 (sha256
3230 (base32
3231 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3232 (build-system gnu-build-system)
3233 (native-inputs
3234 `(("pkg-config" ,pkg-config)))
3235 (inputs
3236 `(("glib" ,glib)
3237 ("libxml2" ,libxml2)
3238 ("zlib" ,zlib)))
3239 (home-page "https://github.com/GNOME/libcroco")
3240 (synopsis "CSS2 parsing and manipulation library")
3241 (description
3242 "Libcroco is a standalone CSS2 parsing and manipulation library.
3243 The parser provides a low level event driven SAC-like API and a CSS object
3244 model like API. Libcroco provides a CSS2 selection engine and an experimental
3245 XML/CSS rendering engine.")
3246
3247 ;; LGPLv2.1-only.
3248 (license license:lgpl2.1)))
3249
3250 (define-public libgsf
3251 (package
3252 (name "libgsf")
3253 (version "1.14.47")
3254 (source (origin
3255 (method url-fetch)
3256 (uri (string-append "mirror://gnome/sources/" name "/"
3257 (version-major+minor version) "/"
3258 name "-" version ".tar.xz"))
3259 (sha256
3260 (base32
3261 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3262 (build-system gnu-build-system)
3263 (arguments
3264 '(#:configure-flags '("--disable-static")))
3265 (native-inputs
3266 `(("pkg-config" ,pkg-config)
3267 ("gettext" ,gettext-minimal)
3268
3269 ;; For tests.
3270 ("perl" ,perl)
3271 ("perl-xml-parser" ,perl-xml-parser)))
3272 (inputs
3273 `(("zlib" ,zlib)
3274 ("bzip2" ,bzip2)))
3275 (propagated-inputs
3276 `(("gdk-pixbuf" ,gdk-pixbuf)
3277 ("glib" ,glib)
3278 ("libxml2" ,libxml2)))
3279 (home-page "https://www.gnome.org/projects/libgsf")
3280 (synopsis "GNOME's Structured File Library")
3281 (description
3282 "Libgsf aims to provide an efficient extensible I/O abstraction for
3283 dealing with different structured file formats.")
3284
3285 ;; LGPLv2.1-only.
3286 (license license:lgpl2.1)))
3287
3288 (define-public librsvg
3289 (package
3290 (name "librsvg")
3291 (version "2.40.21")
3292 (source (origin
3293 (method url-fetch)
3294 (uri (string-append "mirror://gnome/sources/" name "/"
3295 (version-major+minor version) "/"
3296 name "-" version ".tar.xz"))
3297 (sha256
3298 (base32
3299 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3300 (build-system gnu-build-system)
3301 (arguments
3302 `(#:configure-flags
3303 (list "--disable-static"
3304 "--enable-vala") ; needed for e.g. gnome-mines
3305 #:phases
3306 (modify-phases %standard-phases
3307 (add-before 'configure 'pre-configure
3308 (lambda* (#:key inputs #:allow-other-keys)
3309 (substitute* "gdk-pixbuf-loader/Makefile.in"
3310 ;; By default the gdk-pixbuf loader is installed under
3311 ;; gdk-pixbuf's prefix. Work around that.
3312 (("gdk_pixbuf_moduledir = .*$")
3313 (string-append "gdk_pixbuf_moduledir = "
3314 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3315 "loaders\n"))
3316 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3317 (("gdk_pixbuf_cache_file = .*$")
3318 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3319 #t))
3320 (add-before 'check 'remove-failing-tests
3321 (lambda _
3322 (with-directory-excursion "tests/fixtures/reftests"
3323 (for-each delete-file
3324 '(;; This test fails on i686:
3325 "svg1.1/masking-path-04-b.svg"
3326 ;; This test fails on armhf:
3327 "svg1.1/masking-mask-01-b.svg"
3328 ;; This test fails on aarch64:
3329 "bugs/777834-empty-text-children.svg")))
3330 #t)))))
3331 (native-inputs
3332 `(("pkg-config" ,pkg-config)
3333 ("vala" ,vala)
3334 ("glib" ,glib "bin") ; glib-mkenums, etc.
3335 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3336 (inputs
3337 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3338 ;; this ancient version of librsvg.
3339 ("pango" ,pango-1.42)
3340 ("libcroco" ,libcroco)
3341 ("bzip2" ,bzip2)
3342 ("libgsf" ,libgsf)
3343 ("libxml2" ,libxml2)))
3344 (propagated-inputs
3345 ;; librsvg-2.0.pc refers to all of that.
3346 `(("cairo" ,cairo)
3347 ("gdk-pixbuf" ,gdk-pixbuf)
3348 ("glib" ,glib)))
3349 (home-page "https://wiki.gnome.org/LibRsvg")
3350 (synopsis "Render SVG files using Cairo")
3351 (description
3352 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3353 library.")
3354 (license license:lgpl2.0+)))
3355
3356 (define-public librsvg-next
3357 (package
3358 (name "librsvg")
3359 (version "2.50.3")
3360 (source (origin
3361 (method url-fetch)
3362 (uri (string-append "mirror://gnome/sources/librsvg/"
3363 (version-major+minor version) "/"
3364 "librsvg-" version ".tar.xz"))
3365 (sha256
3366 (base32
3367 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3368 (modules '((guix build utils)))
3369 (snippet
3370 '(begin (delete-file-recursively "vendor")
3371 #t))))
3372 (build-system cargo-build-system)
3373 (outputs '("out" "doc"))
3374 (arguments
3375 `(#:install-source? #f
3376 #:modules
3377 ((guix build cargo-build-system)
3378 (guix build utils)
3379 ((guix build gnu-build-system) #:prefix gnu:))
3380 #:cargo-inputs
3381 (("rust-bitflags" ,rust-bitflags-1)
3382 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3383 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3384 ("rust-cast" ,rust-cast-0.2)
3385 ("rust-cssparser" ,rust-cssparser-0.27)
3386 ("rust-data-url" ,rust-data-url-0.1)
3387 ("rust-encoding" ,rust-encoding-0.2)
3388 ("rust-float-cmp" ,rust-float-cmp-0.8)
3389 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3390 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3391 ("rust-gio" ,rust-gio-0.8)
3392 ("rust-gio-sys" ,rust-gio-sys-0.9)
3393 ("rust-glib" ,rust-glib-0.9)
3394 ("rust-glib-sys" ,rust-glib-sys-0.9)
3395 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3396 ("rust-itertools" ,rust-itertools-0.9)
3397 ("rust-language-tags" ,rust-language-tags-0.2)
3398 ("rust-libc" ,rust-libc-0.2)
3399 ("rust-locale-config" ,rust-locale-config-0.3)
3400 ("rust-markup5ever" ,rust-markup5ever-0.10)
3401 ("rust-nalgebra" ,rust-nalgebra-0.21)
3402 ("rust-num-traits" ,rust-num-traits-0.2)
3403 ("rust-once-cell" ,rust-once-cell-1)
3404 ("rust-pkg-config" ,rust-pkg-config-0.3)
3405 ("rust-pango" ,rust-pango-0.8)
3406 ("rust-pango-sys" ,rust-pango-sys-0.9)
3407 ("rust-pangocairo" ,rust-pangocairo-0.9)
3408 ("rust-rayon" ,rust-rayon-1)
3409 ("rust-rctree" ,rust-rctree-0.3)
3410 ("rust-rgb" ,rust-rgb-0.8)
3411 ("rust-regex" ,rust-regex-1)
3412 ("rust-selectors" ,rust-selectors-0.22)
3413 ("rust-string-cache" ,rust-string-cache-0.8)
3414 ("rust-tinyvec" ,rust-tinyvec-0.3)
3415 ("rust-url" ,rust-url-2)
3416 ("rust-xml5ever" ,rust-xml5ever-0.16))
3417 #:cargo-development-inputs
3418 (("rust-assert-cmd" ,rust-assert-cmd-1)
3419 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3420 ("rust-chrono" ,rust-chrono-0.4)
3421 ("rust-criterion" ,rust-criterion-0.3)
3422 ("rust-float-cmp" ,rust-float-cmp-0.8)
3423 ("rust-lopdf" ,rust-lopdf-0.26)
3424 ("rust-png" ,rust-png-0.16)
3425 ("rust-predicates" ,rust-predicates-1)
3426 ("rust-tempfile" ,rust-tempfile-3))
3427 #:phases
3428 (modify-phases %standard-phases
3429 (add-after 'unpack 'patch-docbook-xml
3430 (lambda* (#:key inputs #:allow-other-keys)
3431 (with-directory-excursion "doc"
3432 (substitute* "rsvg-docs.xml"
3433 (("http://www.oasis-open.org/docbook/xml/4.3/")
3434 (string-append (assoc-ref inputs "docbook-xml")
3435 "/xml/dtd/docbook/"))))
3436 #t))
3437 (add-after 'unpack 'prepare-for-build
3438 (lambda _
3439 ;; In lieu of #:make-flags
3440 (setenv "CC" ,(cc-for-target))
3441 ;; Something about the build environment resists building
3442 ;; successfully with the '--locked' flag.
3443 (substitute* '("Makefile.am" "Makefile.in")
3444 (("--locked") ""))
3445 #t))
3446 (add-before 'configure 'pre-configure
3447 (lambda _
3448 (substitute* "gdk-pixbuf-loader/Makefile.in"
3449 ;; By default the gdk-pixbuf loader is installed under
3450 ;; gdk-pixbuf's prefix. Work around that.
3451 (("gdk_pixbuf_moduledir = .*$")
3452 (string-append "gdk_pixbuf_moduledir = "
3453 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3454 "loaders\n"))
3455 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3456 (("gdk_pixbuf_cache_file = .*$")
3457 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3458 #t))
3459 (add-after 'configure 'gnu-configure
3460 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3461 ((assoc-ref gnu:%standard-phases 'configure)
3462 #:native-inputs native-inputs
3463 #:inputs inputs
3464 #:outputs outputs
3465 #:configure-flags
3466 (list "--disable-static"
3467 "--enable-vala"
3468 (string-append "--with-html-dir="
3469 (assoc-ref %outputs "doc")
3470 "/share/gtk-doc/html")))))
3471 (add-after 'configure 'dont-vendor-self
3472 (lambda* (#:key vendor-dir #:allow-other-keys)
3473 ;; Don't keep the whole tarball in the vendor directory
3474 (delete-file-recursively
3475 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3476 #t))
3477 (replace 'build
3478 (assoc-ref gnu:%standard-phases 'build))
3479 (add-before 'check 'ignore-failing-tests
3480 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3481 (lambda _
3482 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3483 (("fn background_color_option_invalid_color_yields_error" all)
3484 (string-append "#[ignore] " all))
3485 (("fn empty_input_yields_error" all)
3486 (string-append "#[ignore] " all))
3487 (("fn empty_svg_yields_error" all)
3488 (string-append "#[ignore] " all))
3489 (("fn env_source_data_epoch_empty" all)
3490 (string-append "#[ignore] " all))
3491 (("fn env_source_data_epoch_no_digits" all)
3492 (string-append "#[ignore] " all))
3493 (("fn env_source_data_epoch_trailing_garbage" all)
3494 (string-append "#[ignore] " all))
3495 (("fn export_id_option_error" all)
3496 (string-append "#[ignore] " all))
3497 (("fn huge_zoom_factor_yields_error" all)
3498 (string-append "#[ignore] " all))
3499 (("fn multiple_input_files_not_allowed_for_png_output" all)
3500 (string-append "#[ignore] " all))
3501 (("fn stylesheet_option_error" all)
3502 (string-append "#[ignore] " all)))
3503 #t))
3504 (replace 'check
3505 (lambda* args
3506 ((assoc-ref gnu:%standard-phases 'check)
3507 #:test-target "check")))
3508 (replace 'install
3509 (assoc-ref gnu:%standard-phases 'install)))))
3510 (native-inputs
3511 `(("docbook-xml" ,docbook-xml-4.3)
3512 ("glib" ,glib "bin")
3513 ("gobject-introspection" ,gobject-introspection)
3514 ("pkg-config" ,pkg-config)
3515 ("python" ,python-wrapper)
3516 ("ruby" ,ruby)
3517 ("vala" ,vala)))
3518 (inputs
3519 `(("bzip2" ,bzip2)
3520 ("fontconfig" ,fontconfig)
3521 ("freetype" ,freetype)
3522 ("harfbuzz" ,harfbuzz)
3523 ("libcroco" ,libcroco)
3524 ("libgsf" ,libgsf)
3525 ("libxml2" ,libxml2)
3526 ("pango" ,pango)))
3527 (propagated-inputs
3528 `(("cairo" ,cairo)
3529 ("gdk-pixbuf" ,gdk-pixbuf)
3530 ("glib" ,glib)))
3531 (synopsis "SVG rendering library")
3532 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3533 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3534 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3535 diagrams.")
3536 (home-page "https://wiki.gnome.org/LibRsvg")
3537 (license license:lgpl2.1+)))
3538
3539 (define-public libidl
3540 (package
3541 (name "libidl")
3542 (version "0.8.14")
3543 (source (origin
3544 (method url-fetch)
3545 (uri (string-append "mirror://gnome/sources/libIDL/"
3546 (version-major+minor version) "/"
3547 "libIDL-" version ".tar.bz2"))
3548 (sha256
3549 (base32
3550 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3551 (build-system gnu-build-system)
3552 (inputs `(("glib" ,glib)))
3553 (native-inputs
3554 `(("pkg-config" ,pkg-config)
3555 ("flex" ,flex)
3556 ("bison" ,bison)))
3557 (home-page "http://freecode.com/projects/libidl")
3558 (synopsis "Create trees of CORBA Interface Definition Language files")
3559 (description "Libidl is a library for creating trees of CORBA Interface
3560 Definition Language (idl) files, which is a specification for defining
3561 portable interfaces. libidl was initially written for orbit (the orb from the
3562 GNOME project, and the primary means of libidl distribution). However, the
3563 functionality was designed to be as reusable and portable as possible.")
3564 (properties `((upstream-name . "libIDL")))
3565 (license license:lgpl2.0+)))
3566
3567
3568 (define-public orbit2
3569 (package
3570 (name "orbit2")
3571 (version "2.14.19")
3572 (source (origin
3573 (method url-fetch)
3574 (uri (let ((upstream-name "ORBit2"))
3575 (string-append "mirror://gnome/sources/" upstream-name "/"
3576 (version-major+minor version) "/"
3577 upstream-name "-" version ".tar.bz2")))
3578 (sha256
3579 (base32
3580 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3581 (build-system gnu-build-system)
3582 (arguments
3583 `(;; The "timeout-server" test hangs when run in parallel.
3584 #:parallel-tests? #f
3585 #:configure-flags
3586 '(;; We don't need static libraries, plus they don't build reproducibly
3587 ;; (non-deterministic ordering of .o files in the archive.)
3588 "--disable-static"
3589
3590 ;; The programmer kindly gives us a hook to turn off deprecation
3591 ;; warnings ...
3592 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3593 ;; ... which they then completly ignore !!
3594 #:phases
3595 (modify-phases %standard-phases
3596 (add-before 'configure 'ignore-deprecations
3597 (lambda _
3598 (substitute* "linc2/src/Makefile.in"
3599 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3600 #t)))))
3601 (inputs `(("glib" ,glib)
3602 ("libidl" ,libidl)))
3603 (native-inputs
3604 `(("pkg-config" ,pkg-config)))
3605 (home-page "https://projects.gnome.org/orbit2/")
3606 (synopsis "CORBA 2.4-compliant Object Request Broker")
3607 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3608 featuring mature C, C++ and Python bindings.")
3609 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3610 ;; a version. SOME of the code files have licence notices for GPLv2+.
3611 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3612 (license license:gpl2+)
3613 (properties `((upstream-name . "ORBit2")))))
3614
3615
3616 (define-public libbonobo
3617 (package
3618 (name "libbonobo")
3619 (version "2.32.1")
3620 (source (origin
3621 (method url-fetch)
3622 (uri (string-append "mirror://gnome/sources/" name "/"
3623 (version-major+minor version)
3624 "/" name "-" version ".tar.bz2"))
3625 (sha256
3626 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3627 (patches (search-patches
3628 "libbonobo-activation-test-race.patch"))))
3629 (build-system gnu-build-system)
3630 (arguments
3631 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3632 `(#:configure-flags
3633 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3634 ;; ... which they then completly ignore !!
3635 #:phases
3636 (modify-phases %standard-phases
3637 (add-before 'configure 'ignore-deprecations
3638 (lambda _
3639 (substitute* "activation-server/Makefile.in"
3640 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3641 #t)))
3642
3643 ;; There's apparently a race condition between the server stub
3644 ;; generation and linking of the example under 'samples/echo' that can
3645 ;; lead do undefined references when building in parallel, as reported
3646 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3647 ;; Thus, disable parallel builds.
3648 #:parallel-build? #f))
3649 (inputs `(("popt" ,popt)
3650 ("libxml2" ,libxml2)))
3651 ;; The following are Required by the .pc file
3652 (propagated-inputs
3653 `(("glib" ,glib)
3654 ("orbit2" ,orbit2)))
3655 (native-inputs
3656 `(("intltool" ,intltool)
3657 ("pkg-config" ,pkg-config)
3658 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3659 ("flex" ,flex)
3660 ("bison" ,bison)))
3661 (home-page "https://developer.gnome.org/libbonobo/")
3662 (synopsis "Framework for creating reusable components for use in GNOME applications")
3663 (description "Bonobo is a framework for creating reusable components for
3664 use in GNOME applications, built on top of CORBA.")
3665 ;; Licence not explicitly stated. Source files contain no licence notices.
3666 ;; Tarball contains text of both GPLv2 and LGPLv2
3667 ;; GPLv2 covers both conditions
3668 (license license:gpl2+)))
3669
3670
3671 (define-public gconf
3672 (package
3673 (name "gconf")
3674 (version "3.2.6")
3675 (source (origin
3676 (method url-fetch)
3677 (uri
3678 (let ((upstream-name "GConf"))
3679 (string-append "mirror://gnome/sources/" upstream-name "/"
3680 (version-major+minor version) "/"
3681 upstream-name "-" version ".tar.xz")))
3682 (sha256
3683 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3684 (build-system gnu-build-system)
3685 (inputs `(("dbus-glib" ,dbus-glib)
3686 ("libxml2" ,libxml2)))
3687 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3688 ("orbit2" ,orbit2)))
3689 (native-inputs
3690 `(("intltool" ,intltool)
3691 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3692 ("pkg-config" ,pkg-config)))
3693 (home-page "https://projects.gnome.org/gconf/")
3694 (synopsis "Store application preferences")
3695 (description "Gconf is a system for storing application preferences. It
3696 is intended for user preferences; not arbitrary data storage.")
3697 (license license:lgpl2.0+)
3698 (properties '((upstream-name . "GConf")))))
3699
3700
3701 (define-public gnome-mime-data
3702 (package
3703 (name "gnome-mime-data")
3704 (version "2.18.0")
3705 (source (origin
3706 (method url-fetch)
3707 (uri (string-append "mirror://gnome/sources/" name "/"
3708 (version-major+minor version) "/"
3709 name "-" version ".tar.bz2"))
3710 (sha256
3711 (base32
3712 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3713 (build-system gnu-build-system)
3714 (native-inputs
3715 `(("perl" ,perl)
3716 ("intltool" ,intltool)))
3717 (arguments
3718 '(#:phases (modify-phases %standard-phases
3719 (add-after 'configure 'use-our-intltool
3720 (lambda _
3721 ;; Do not use the bundled intltool commands, which lack
3722 ;; the "dotless @INC" fixes of our 'intltool' package.
3723 (substitute* (find-files "." "^Makefile$")
3724 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3725 (string-append "INTLTOOL_" tool " = intltool-"
3726 (string-downcase tool) "\n")))
3727 #t)))))
3728 (home-page "https://www.gnome.org")
3729 (synopsis "Base MIME and Application database for GNOME")
3730 (description "GNOME Mime Data is a module which contains the base MIME
3731 and Application database for GNOME. The data stored by this module is
3732 designed to be accessed through the MIME functions in GnomeVFS.")
3733 (license license:gpl2+)))
3734
3735
3736 (define-public gnome-vfs
3737 (package
3738 (name "gnome-vfs")
3739 (version "2.24.4")
3740 (source (origin
3741 (method url-fetch)
3742 (uri (string-append "mirror://gnome/sources/" name "/"
3743 (version-major+minor version) "/"
3744 name "-" version ".tar.bz2"))
3745 (sha256
3746 (base32
3747 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3748 (build-system gnu-build-system)
3749 (arguments
3750 `(#:phases
3751 (modify-phases %standard-phases
3752 (add-before 'configure 'ignore-deprecations
3753 (lambda _
3754 (substitute* '("libgnomevfs/Makefile.in"
3755 "daemon/Makefile.in")
3756 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3757 #t))
3758 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3759 (lambda _
3760 (substitute* "test/test-async-cancel.c"
3761 (("EXIT_FAILURE") "77"))
3762 #t)))))
3763 (inputs `(("libxml2" ,libxml2)
3764 ("dbus-glib" ,dbus-glib)
3765 ("gconf" ,gconf)
3766 ("gnome-mime-data" ,gnome-mime-data)
3767 ("zlib" ,zlib)))
3768 (native-inputs
3769 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3770 ("intltool" ,intltool)
3771 ("pkg-config" ,pkg-config)))
3772 (home-page "https://developer.gnome.org/gnome-vfs/")
3773 (synopsis "Access files and folders in GNOME applications")
3774 (description
3775 "GnomeVFS is the core library used to access files and folders in GNOME
3776 applications. It provides a file system abstraction which allows applications
3777 to access local and remote files with a single consistent API.")
3778 (license license:lgpl2.0+)))
3779
3780
3781
3782 (define-public libgnome
3783 (package
3784 (name "libgnome")
3785 (version "2.32.1")
3786 (source (origin
3787 (method url-fetch)
3788 (uri (string-append "mirror://gnome/sources/" name "/"
3789 (version-major+minor version) "/"
3790 name "-" version ".tar.bz2"))
3791 (sha256
3792 (base32
3793 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3794 (patches (search-patches "libgnome-encoding.patch"))))
3795 (build-system gnu-build-system)
3796 (arguments
3797 `(#:phases
3798 (modify-phases %standard-phases
3799 (add-before 'configure 'enable-deprecated
3800 (lambda _
3801 (substitute* "libgnome/Makefile.in"
3802 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3803 #t)))))
3804 (inputs `(("libxml2" ,libxml2)))
3805 (native-inputs
3806 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3807 ("intltool" ,intltool)
3808 ("pkg-config" ,pkg-config)))
3809 ;; The following are listed as Required in the .pc file
3810 ;; (except for libcanberra -- which seems to be oversight on the part
3811 ;; of the upstream developers -- anything that links against libgnome,
3812 ;; must also link against libcanberra
3813 (propagated-inputs
3814 `(("libcanberra" ,libcanberra)
3815 ("libbonobo" ,libbonobo)
3816 ("gconf" ,gconf)
3817 ("gnome-vfs" ,gnome-vfs)
3818 ("popt" ,popt))) ;gnome-program.h includes popt.h
3819 (home-page "https://developer.gnome.org/libgnome/")
3820 (synopsis "Useful routines for building applications")
3821 (description "The libgnome library provides a number of useful routines
3822 for building modern applications, including session management, activation of
3823 files and URIs, and displaying help.")
3824 (license license:lgpl2.0+)))
3825
3826
3827 (define-public libart-lgpl
3828 (package
3829 (name "libart-lgpl")
3830 (version "2.3.21")
3831 (source (origin
3832 (method url-fetch)
3833 (uri (let ((upstream-name "libart_lgpl"))
3834 (string-append "mirror://gnome/sources/" upstream-name "/"
3835 (version-major+minor version) "/"
3836 upstream-name "-" version ".tar.bz2")))
3837 (sha256
3838 (base32
3839 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3840 (build-system gnu-build-system)
3841 (native-inputs
3842 `(("pkg-config" ,pkg-config)))
3843 (home-page "https://people.gnome.org/~mathieu/libart")
3844 (synopsis "2D drawing library")
3845 (description "Libart is a 2D drawing library intended as a
3846 high-quality vector-based 2D library with antialiasing and alpha composition.")
3847 (license license:lgpl2.0+)))
3848
3849
3850
3851 (define-public libgnomecanvas
3852 (package
3853 (name "libgnomecanvas")
3854 (version "2.30.3")
3855 (source (origin
3856 (method url-fetch)
3857 (uri (string-append "mirror://gnome/sources/" name "/"
3858 (version-major+minor version) "/"
3859 name "-" version ".tar.gz"))
3860 (sha256
3861 (base32
3862 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3863 (build-system gnu-build-system)
3864 ;; Mentioned as Required in the .pc file
3865 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3866 ("gtk+" ,gtk+-2)))
3867 (native-inputs
3868 `(("intltool" ,intltool)
3869 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3870 ("pkg-config" ,pkg-config)))
3871 (home-page "https://developer.gnome.org/libgnomecanvas/")
3872 (synopsis "Flexible widget for creating interactive structured graphics")
3873 (description "The GnomeCanvas widget provides a flexible widget for
3874 creating interactive structured graphics.")
3875 (license license:lgpl2.0+)))
3876
3877 (define-public libgnomecanvasmm
3878 (package
3879 (name "libgnomecanvasmm")
3880 (version "2.26.0")
3881 (source (origin
3882 (method url-fetch)
3883 (uri (string-append "mirror://gnome/sources/" name "/"
3884 (version-major+minor version) "/"
3885 name "-" version ".tar.bz2"))
3886 (sha256
3887 (base32
3888 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3889 (build-system gnu-build-system)
3890 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3891 (native-inputs
3892 `(("gtkmm-2" ,gtkmm-2)
3893 ("pkg-config" ,pkg-config)))
3894 (home-page "https://gtkmm.org")
3895 (synopsis "C++ bindings to the GNOME Canvas library")
3896 (description "C++ bindings to the GNOME Canvas library.")
3897 (license license:lgpl2.0+)))
3898
3899 (define-public libgnomeui
3900 (package
3901 (name "libgnomeui")
3902 (version "2.24.5")
3903 (source (origin
3904 (method url-fetch)
3905 (uri (string-append "mirror://gnome/sources/" name "/"
3906 (version-major+minor version) "/"
3907 name "-" version ".tar.bz2"))
3908 (patches (search-patches "libgnomeui-utf8.patch"))
3909 (sha256
3910 (base32
3911 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3912 (build-system gnu-build-system)
3913 ;; Mentioned as Required in the .pc file
3914 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3915 ("libgnome" ,libgnome)
3916 ("libgnomecanvas" ,libgnomecanvas)
3917 ("libgnome-keyring" ,libgnome-keyring)))
3918 (inputs `(("libjpeg" ,libjpeg-turbo)
3919 ("popt" ,popt)
3920 ("libbonobo" ,libbonobo)
3921 ("libxml2" ,libxml2)
3922 ("libglade" ,libglade)))
3923 (native-inputs
3924 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3925 ("intltool" ,intltool)
3926 ("pkg-config" ,pkg-config)))
3927 (home-page "https://developer.gnome.org/libgnomeui/")
3928 (synopsis "Additional widgets for applications")
3929 (description "The libgnomeui library provides additional widgets for
3930 applications. Many of the widgets from libgnomeui have already been
3931 ported to GTK+.")
3932 (license license:lgpl2.0+)))
3933
3934 (define-public libglade
3935 (package
3936 (name "libglade")
3937 (version "2.6.4")
3938 (source (origin
3939 (method url-fetch)
3940 (uri (string-append "mirror://gnome/sources/" name "/"
3941 (version-major+minor version) "/"
3942 name "-" version ".tar.bz2"))
3943 (sha256
3944 (base32
3945 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3946 (build-system gnu-build-system)
3947 (inputs
3948 `(("python" ,python))) ;; needed for the optional libglade-convert program
3949 (propagated-inputs
3950 `(("gtk+-2" ,gtk+-2)
3951 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3952 (native-inputs
3953 `(("pkg-config" ,pkg-config)))
3954 (home-page "https://developer.gnome.org/libglade")
3955 (synopsis "Load glade interfaces and access the glade built widgets")
3956 (description "Libglade is a library that provides interfaces for loading
3957 graphical interfaces described in glade files and for accessing the
3958 widgets built in the loading process.")
3959 (license license:gpl2+))) ; This is correct. GPL not LGPL
3960
3961 (define-public libgnomeprint
3962 ;; This library has been deprecated since 2006; see
3963 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3964 (package
3965 (name "libgnomeprint")
3966 (version "2.18.8")
3967 (source (origin
3968 (method url-fetch)
3969 (uri (string-append "mirror://gnome/sources/" name "/"
3970 (version-major+minor version) "/"
3971 name "-" version ".tar.bz2"))
3972 (sha256
3973 (base32
3974 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3975 (build-system gnu-build-system)
3976 (inputs
3977 `(("popt" ,popt)
3978 ("libart-lgpl" ,libart-lgpl)
3979 ("gtk+" ,gtk+-2)
3980 ("libxml2" ,libxml2)))
3981 (native-inputs
3982 `(("intltool" ,intltool)
3983 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3984 ("pkg-config" ,pkg-config)))
3985 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3986 (synopsis "Printing framework for GNOME")
3987 (description
3988 "GNOME-print was a printing framework for GNOME. It has been deprecated
3989 since ca. 2006, when GTK+ itself incorporated printing support.")
3990 (license license:lgpl2.0+)))
3991
3992
3993 (define-public libgnomeprintui
3994 ;; Deprecated; see libgnomeprint.
3995 (package
3996 (name "libgnomeprintui")
3997 (version "2.18.6")
3998 (source (origin
3999 (method url-fetch)
4000 (uri (string-append "mirror://gnome/sources/" name "/"
4001 (version-major+minor version) "/"
4002 name "-" version ".tar.bz2"))
4003 (sha256
4004 (base32
4005 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4006 (build-system gnu-build-system)
4007 ;; Mentioned as Required in the .pc file
4008 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4009 (inputs `(("gtk+" ,gtk+-2)
4010 ("glib" ,glib)
4011 ("gnome-icon-theme" ,gnome-icon-theme)
4012 ("libgnomecanvas" ,libgnomecanvas)
4013 ("libxml2" ,libxml2)))
4014 (native-inputs
4015 `(("intltool" ,intltool)
4016 ("pkg-config" ,pkg-config)))
4017 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4018 (synopsis "Printing framework for GNOME")
4019 (description (package-description libgnomeprint))
4020 (license license:lgpl2.0+)))
4021
4022 (define-public libbonoboui
4023 (package
4024 (name "libbonoboui")
4025 (version "2.24.5")
4026 (source (origin
4027 (method url-fetch)
4028 (uri (string-append "mirror://gnome/sources/" name "/"
4029 (version-major+minor version) "/"
4030 name "-" version ".tar.bz2"))
4031 (sha256
4032 (base32
4033 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4034 (build-system gnu-build-system)
4035 (arguments
4036 `(#:phases
4037 (modify-phases %standard-phases
4038 (add-before 'check 'start-xserver
4039 (lambda* (#:key inputs #:allow-other-keys)
4040 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4041 (disp ":1"))
4042
4043 (setenv "HOME" (getcwd))
4044 (setenv "DISPLAY" disp)
4045 ;; There must be a running X server and make check doesn't start one.
4046 ;; Therefore we must do it.
4047 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4048 ;; Mentioned as Required by the .pc file
4049 (propagated-inputs `(("libxml2" ,libxml2)))
4050 (inputs
4051 `(("popt" ,popt)
4052 ("pangox-compat" ,pangox-compat)
4053 ("libgnome" ,libgnome)
4054 ("libgnomecanvas" ,libgnomecanvas)
4055 ("libglade" ,libglade)))
4056 (native-inputs
4057 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4058 ("intltool" ,intltool)
4059 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4060 ("pkg-config" ,pkg-config)))
4061 (home-page "https://developer.gnome.org/libbonoboui/")
4062 (synopsis "Some user interface controls using Bonobo")
4063 (description "The Bonobo UI library provides a number of user interface
4064 controls using the Bonobo component framework.")
4065 (license license:lgpl2.0+)))
4066
4067 (define-public libwnck
4068 (package
4069 (name "libwnck")
4070 (version "3.32.0")
4071 (source (origin
4072 (method url-fetch)
4073 (uri (string-append "mirror://gnome/sources/" name "/"
4074 (version-major+minor version) "/"
4075 name "-" version ".tar.xz"))
4076 (sha256
4077 (base32
4078 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4079 (build-system meson-build-system)
4080 (native-inputs
4081 `(("pkg-config" ,pkg-config)
4082 ("glib" ,glib "bin") ; for glib-mkenums
4083 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4084 ("intltool" ,intltool)))
4085 (propagated-inputs
4086 `(("gtk+" ,gtk+)
4087 ("libxres" ,libxres)
4088 ("startup-notification" ,startup-notification)))
4089 (home-page "https://developer.gnome.org/libwnck/")
4090 (synopsis "Window Navigator Construction Kit")
4091 (description
4092 "Libwnck is the Window Navigator Construction Kit, a library for use in
4093 writing pagers, tasklists, and more generally applications that are dealing
4094 with window management. It tries hard to respect the Extended Window Manager
4095 Hints specification (EWMH).")
4096 (license license:lgpl2.0+)))
4097
4098 ;; stable version for gtk2, required by xfwm4.
4099 (define-public libwnck-2
4100 (package (inherit libwnck)
4101 (name "libwnck")
4102 (version "2.30.7")
4103 (source (origin
4104 (method url-fetch)
4105 (uri (string-append "mirror://gnome/sources/" name "/"
4106 (version-major+minor version) "/"
4107 name "-" version ".tar.xz"))
4108 (sha256
4109 (base32
4110 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4111 (build-system gnu-build-system)
4112 (native-inputs
4113 `(("pkg-config" ,pkg-config)
4114 ("intltool" ,intltool)))
4115 (propagated-inputs
4116 `(("gtk+" ,gtk+-2)
4117 ("libxres" ,libxres)
4118 ("startup-notification" ,startup-notification)))))
4119
4120 (define-public goffice
4121 (package
4122 (name "goffice")
4123 (version "0.10.49")
4124 (source (origin
4125 (method url-fetch)
4126 (uri (string-append "mirror://gnome/sources/goffice/"
4127 (version-major+minor version) "/"
4128 "goffice-" version ".tar.xz"))
4129 (sha256
4130 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4131 (build-system gnu-build-system)
4132 (outputs '("out"
4133 "doc")) ; 4.0 MiB of gtk-doc
4134 (arguments
4135 '(#:configure-flags (list (string-append "--with-html-dir="
4136 (assoc-ref %outputs "doc")
4137 "/share/gtk-doc/html"))))
4138 (inputs
4139 `(("gtk+" ,gtk+)
4140 ("libgsf" ,libgsf)
4141 ("librsvg" ,librsvg)
4142 ("libxslt" ,libxslt)
4143 ("libxml2" ,libxml2)))
4144 (native-inputs
4145 `(("intltool" ,intltool)
4146 ("glib" ,glib "bin")
4147 ("pkg-config" ,pkg-config)))
4148 (home-page "https://developer.gnome.org/goffice/")
4149 (synopsis "Document-centric objects and utilities")
4150 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4151 (license
4152 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4153 ;; Note: NOT LGPL
4154 (list license:gpl2 license:gpl3))))
4155
4156 (define-public goffice-0.8
4157 (package (inherit goffice)
4158 (version "0.8.17")
4159 (source (origin
4160 (method url-fetch)
4161 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4162 (version-major+minor version) "/"
4163 (package-name goffice) "-" version ".tar.xz"))
4164 (sha256
4165 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4166 (arguments
4167 `(#:phases
4168 (modify-phases %standard-phases
4169 (add-after 'unpack 'fix-pcre-check
4170 (lambda _
4171 ;; Only glib.h can be included directly. See
4172 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4173 (substitute* "configure"
4174 (("glib/gregex\\.h") "glib.h")) #t)))
4175
4176 ,@(package-arguments goffice)))
4177 (propagated-inputs
4178 ;; libgoffice-0.8.pc mentions libgsf-1
4179 `(("libgsf" ,libgsf)))
4180 (inputs
4181 `(("gtk" ,gtk+-2)
4182 ,@(alist-delete "gtk" (package-inputs goffice))))))
4183
4184 (define-public gnumeric
4185 (package
4186 (name "gnumeric")
4187 (version "1.12.49")
4188 (source (origin
4189 (method url-fetch)
4190 (uri (string-append "mirror://gnome/sources/gnumeric/"
4191 (version-major+minor version) "/"
4192 "gnumeric-" version ".tar.xz"))
4193 (sha256
4194 (base32
4195 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4196 (build-system glib-or-gtk-build-system)
4197 (arguments
4198 `(;; The gnumeric developers don't worry much about failing tests.
4199 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4200 #:tests? #f
4201 #:phases
4202 (modify-phases %standard-phases
4203 (add-before
4204 'configure 'pre-conf
4205 (lambda* (#:key outputs #:allow-other-keys)
4206 ;; Make install tries to write into the directory of goffice
4207 ;; I am informed that this only affects the possibility to embed a
4208 ;; spreadsheet inside an Abiword document. So presumably when we
4209 ;; package Abiword we'll have to refer it to this directory.
4210 (substitute* "configure"
4211 (("^GOFFICE_PLUGINS_DIR=.*")
4212 (string-append "GOFFICE_PLUGINS_DIR="
4213 (assoc-ref outputs "out")
4214 "/goffice/plugins"))))))))
4215 (inputs
4216 `(("glib" ,glib)
4217 ("gtk+" ,gtk+)
4218 ("goffice" ,goffice)
4219 ("libgsf" ,libgsf)
4220 ("librsvg" ,librsvg)
4221 ("libxml2" ,libxml2)
4222 ("libxslt" ,libxslt)
4223 ("python" ,python)
4224 ("python-pygobject" ,python-pygobject)
4225 ("zlib" ,zlib)))
4226 (native-inputs
4227 `(("bison" ,bison)
4228 ("docbook-xml" ,docbook-xml)
4229 ("intltool" ,intltool)
4230 ("itstool" ,itstool)
4231 ("glib:bin" ,glib "bin")
4232 ("pkg-config" ,pkg-config)))
4233 (home-page "http://www.gnumeric.org")
4234 (synopsis "Spreadsheet application")
4235 (description
4236 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4237 interoperable with other spreadsheet applications. It has a vast array of
4238 features beyond typical spreadsheet functionality, such as support for linear
4239 and non-linear solvers, statistical analysis, and telecommunication
4240 engineering.")
4241 (license
4242 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4243 (list license:gpl2 license:gpl3))))
4244
4245 (define-public drawing
4246 (package
4247 (name "drawing")
4248 (version "0.6.5")
4249 (source
4250 (origin
4251 (method git-fetch)
4252 (uri (git-reference
4253 (url "https://github.com/maoschanz/drawing")
4254 (commit version)))
4255 (file-name (git-file-name name version))
4256 (sha256
4257 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4258 (build-system meson-build-system)
4259 (arguments
4260 `(#:glib-or-gtk? #t
4261 #:phases
4262 (modify-phases %standard-phases
4263 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4264 (lambda* (#:key outputs #:allow-other-keys)
4265 (let ((prog (string-append (assoc-ref outputs "out")
4266 "/bin/drawing"))
4267 (pylib (string-append (assoc-ref outputs "out")
4268 "/lib/python"
4269 ,(version-major+minor
4270 (package-version python))
4271 "/site-packages")))
4272 (wrap-program prog
4273 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4274 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4275 #t))))))
4276 (native-inputs
4277 `(("desktop-file-utils" ,desktop-file-utils)
4278 ("gettext" ,gettext-minimal)
4279 ("glib:bin" ,glib "bin")
4280 ("gobject-introspection" ,gobject-introspection)
4281 ("gtk+:bin" ,gtk+ "bin")
4282 ("pkg-config" ,pkg-config)))
4283 (inputs
4284 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4285 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4286 ("gtk+" ,gtk+)
4287 ("pango" ,pango)
4288 ("python-pycairo" ,python-pycairo)
4289 ("python-pygobject" ,python-pygobject)))
4290 (home-page "https://maoschanz.github.io/drawing/")
4291 (synopsis "Basic image editor for GNOME")
4292 (description
4293 "Drawing is a basic image editor aiming at the GNOME desktop.")
4294 (license license:gpl3+)))
4295
4296 (define-public gnome-themes-standard
4297 (package
4298 (name "gnome-themes-standard")
4299 (version "3.22.3")
4300 (source
4301 (origin
4302 (method url-fetch)
4303 (uri (string-append "mirror://gnome/sources/" name "/"
4304 (version-major+minor version) "/" name "-"
4305 version ".tar.xz"))
4306 (sha256
4307 (base32
4308 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4309 (build-system gnu-build-system)
4310 (arguments
4311 '(#:configure-flags
4312 ;; Don't create 'icon-theme.cache'.
4313 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4314 (true (string-append coreutils "/bin/true")))
4315 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4316 (inputs
4317 `(("gtk+" ,gtk+)
4318 ("gtk+-2" ,gtk+-2)
4319 ("librsvg" ,librsvg)
4320 ("libxml2" ,libxml2)
4321 ("glib" ,glib)))
4322 (native-inputs
4323 `(("intltool" ,intltool)
4324 ("glib:bin" ,glib "bin")
4325 ("pkg-config" ,pkg-config)))
4326 (home-page "https://launchpad.net/gnome-themes-standard")
4327 (synopsis "Default GNOME 3 themes")
4328 (description
4329 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4330 (license license:lgpl2.1+)))
4331
4332 (define-public seahorse
4333 (package
4334 (name "seahorse")
4335 (version "3.36.2")
4336 (source
4337 (origin
4338 (method url-fetch)
4339 (uri (string-append "mirror://gnome/sources/" name "/"
4340 (version-major+minor version) "/" name "-"
4341 version ".tar.xz"))
4342 (sha256
4343 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4344 (build-system meson-build-system)
4345 (arguments
4346 '(#:glib-or-gtk? #t
4347 #:phases
4348 (modify-phases %standard-phases
4349 (add-after 'unpack 'skip-gtk-update-icon-cache
4350 ;; Don't create 'icon-theme.cache'.
4351 (lambda _
4352 (substitute* "build-aux/meson_post_install.py"
4353 (("gtk-update-icon-cache") "true"))
4354 #t)))))
4355 (inputs
4356 `(("gtk+" ,gtk+)
4357 ("gcr" ,gcr)
4358 ("gnupg" ,gnupg)
4359 ("gpgme" ,gpgme)
4360 ("openldap" ,openldap)
4361 ("openssh" ,openssh)
4362 ("avahi" ,avahi)
4363 ("libhandy" ,libhandy-0.0)
4364 ("libpwquality" ,libpwquality)
4365 ("libsecret" ,libsecret)
4366 ("libsoup" ,libsoup)))
4367 (native-inputs
4368 `(("gettext" ,gettext-minimal)
4369 ("glib:bin" ,glib "bin")
4370 ("itstool" ,itstool)
4371 ("pkg-config" ,pkg-config)
4372 ("vala" ,vala)
4373 ("xmllint" ,libxml2)))
4374 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4375 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4376 (description
4377 "Seahorse is a GNOME application for managing encryption keys and
4378 passwords in the GNOME keyring.")
4379 (license license:gpl2+)))
4380
4381 (define-public vala
4382 (package
4383 (name "vala")
4384 (version "0.46.5")
4385 (source (origin
4386 (method url-fetch)
4387 (uri (string-append "mirror://gnome/sources/" name "/"
4388 (version-major+minor version) "/"
4389 name "-" version ".tar.xz"))
4390 (sha256
4391 (base32
4392 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4393 (build-system gnu-build-system)
4394 (arguments
4395 '(#:phases
4396 (modify-phases %standard-phases
4397 (add-before 'check 'pre-check
4398 (lambda _
4399 (setenv "CC" "gcc")
4400 (substitute* "valadoc/tests/testrunner.sh"
4401 (("export PKG_CONFIG_PATH=" m)
4402 (string-append m "$PKG_CONFIG_PATH:")))
4403 ;; For missing '/etc/machine-id'.
4404 (setenv "DBUS_FATAL_WARNINGS" "0")
4405 #t)))))
4406 (native-inputs
4407 `(("pkg-config" ,pkg-config)
4408 ("flex" ,flex)
4409 ("bison" ,bison)
4410 ("xsltproc" ,libxslt)
4411 ("dbus" ,dbus) ; for dbus tests
4412 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4413 (inputs
4414 `(("graphviz" ,graphviz)))
4415 (propagated-inputs
4416 `(("glib" ,glib))) ; required by libvala-0.40.pc
4417 (home-page "https://wiki.gnome.org/Projects/Vala/")
4418 (synopsis "Compiler for the GObject type system")
4419 (description
4420 "Vala is a programming language that aims to bring modern programming
4421 language features to GNOME developers without imposing any additional runtime
4422 requirements and without using a different ABI compared to applications and
4423 libraries written in C.")
4424 (license license:lgpl2.1+)))
4425
4426 (define-public vala-0.50
4427 (package
4428 (inherit vala)
4429 (version "0.50.2")
4430 (source (origin
4431 (method url-fetch)
4432 (uri (string-append "mirror://gnome/sources/vala/"
4433 (version-major+minor version) "/"
4434 "vala-" version ".tar.xz"))
4435 (sha256
4436 (base32
4437 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4438
4439 (define-public vte
4440 (package
4441 (name "vte")
4442 (version "0.60.3")
4443 (source (origin
4444 (method url-fetch)
4445 (uri (string-append "mirror://gnome/sources/vte/"
4446 (version-major+minor version) "/"
4447 "vte-" version ".tar.xz"))
4448 (sha256
4449 (base32
4450 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4451 (build-system meson-build-system)
4452 (arguments
4453 `(#:configure-flags
4454 '("-Dvapi=true"
4455 "-D_systemd=false")))
4456 (native-inputs
4457 `(("pkg-config" ,pkg-config)
4458 ("gettext" ,gettext-minimal)
4459 ("vala" ,vala)
4460 ("gobject-introspection" ,gobject-introspection)
4461 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4462 ("gperf" ,gperf)
4463 ("xmllint" ,libxml2)))
4464 (propagated-inputs
4465 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4466 ("gnutls" ,gnutls) ; ditto
4467 ("pcre2" ,pcre2))) ; ditto
4468 (home-page "https://www.gnome.org/")
4469 (synopsis "Virtual Terminal Emulator")
4470 (description
4471 "VTE is a library (libvte) implementing a terminal emulator widget for
4472 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4473 gnome-terminal, but can also be used to embed a console/terminal in games,
4474 editors, IDEs, etc.")
4475 (license license:lgpl2.1+)))
4476
4477 (define-public vte-ng
4478 (package
4479 (inherit vte)
4480 (name "vte-ng")
4481 (version "0.58.2.a")
4482 (home-page "https://github.com/thestinger/vte-ng")
4483 (source (origin
4484 (method git-fetch)
4485 (uri (git-reference (url home-page) (commit version)))
4486 (file-name (git-file-name name version))
4487 (sha256
4488 (base32
4489 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4490 (build-system meson-build-system)
4491 (native-inputs
4492 `(("gtk-doc" ,gtk-doc/stable)
4493 ,@(package-native-inputs vte)))
4494 (arguments
4495 `(#:configure-flags '("-Ddocs=true")))
4496 (synopsis "Enhanced VTE terminal widget")
4497 (description
4498 "VTE is a library (libvte) implementing a terminal emulator widget for
4499 GTK+, this fork provides additional functions exposed for keyboard text
4500 selection and URL hints.")))
4501
4502 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4503 (define-public vte/gtk+-2
4504 (package (inherit vte)
4505 (name "vte")
4506 (version "0.28.2")
4507 (source (origin
4508 (method url-fetch)
4509 (uri (string-append "mirror://gnome/sources/" name "/"
4510 (version-major+minor version) "/"
4511 name "-" version ".tar.xz"))
4512 (sha256
4513 (base32
4514 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4515 (patches (search-patches
4516 "vte-CVE-2012-2738-pt1.patch"
4517 "vte-CVE-2012-2738-pt2.patch"))))
4518 (build-system gnu-build-system)
4519 (arguments
4520 '(#:configure-flags '("--disable-python")))
4521 (native-inputs
4522 `(("pkg-config" ,pkg-config)
4523 ("intltool" ,intltool)
4524 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4525 (propagated-inputs
4526 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4527 ("ncurses" ,ncurses))))) ; required by libvte.la
4528
4529 (define-public vinagre
4530 (package
4531 (name "vinagre")
4532 (version "3.22.0")
4533 (source (origin
4534 (method url-fetch)
4535 (uri (string-append "mirror://gnome/sources/" name "/"
4536 (version-major+minor version) "/"
4537 name "-" version ".tar.xz"))
4538 (patches (search-patches "vinagre-newer-freerdp.patch"
4539 "vinagre-newer-rdp-parameters.patch"))
4540 (sha256
4541 (base32
4542 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4543 (build-system glib-or-gtk-build-system)
4544 (arguments
4545 ;; Disable -Werror and such, to avoid build failures on compilation
4546 ;; warnings.
4547 '(#:configure-flags '("--enable-compile-warnings=minimum")
4548 #:phases
4549 (modify-phases %standard-phases
4550 (add-before 'install 'skip-gtk-update-icon-cache
4551 (lambda _
4552 ;; Don't create 'icon-theme.cache'
4553 (substitute* (find-files "." "^Makefile$")
4554 (("gtk-update-icon-cache") (which "true")))
4555 #t))
4556 (add-after 'unpack 'patch-configure
4557 (lambda _
4558 (substitute* "configure"
4559 (("freerdp") "freerdp2"))
4560 #t)))))
4561 (native-inputs
4562 `(("pkg-config" ,pkg-config)
4563 ("intltool" ,intltool)
4564 ("itstool" ,itstool)
4565 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4566 (inputs
4567 `(("libxml2" ,libxml2)
4568 ("gtk-vnc" ,gtk-vnc)
4569 ("gnome-keyring" ,gnome-keyring)
4570 ("libsecret" ,libsecret)
4571 ("freerdp" ,freerdp)
4572 ("spice" ,spice)
4573 ("spice-gtk" ,spice-gtk)
4574 ("telepathy-glib" ,telepathy-glib)
4575 ("vte" ,vte)))
4576 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4577 (synopsis "Remote desktop viewer for GNOME")
4578 (description "Vinagre is a remote display client supporting the VNC, SPICE
4579 and RDP protocols.")
4580 (license license:gpl3+)))
4581
4582 (define-public dconf
4583 (package
4584 (name "dconf")
4585 (version "0.36.0")
4586 (source (origin
4587 (method url-fetch)
4588 (uri (string-append
4589 "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4592 (sha256
4593 (base32
4594 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4595 (build-system meson-build-system)
4596 (propagated-inputs
4597 ;; In Requires of dconf.pc.
4598 `(("glib" ,glib)))
4599 (inputs
4600 `(("gtk+" ,gtk+)
4601 ("dbus" ,dbus)))
4602 (native-inputs
4603 `(("bash-completion" ,bash-completion)
4604 ("libxslt" ,libxslt) ;for xsltproc
4605 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4606 ("docbook-xml" ,docbook-xml-4.2)
4607 ("docbook-xsl" ,docbook-xsl)
4608 ("glib:bin" ,glib "bin")
4609 ("gtk-doc" ,gtk-doc/stable)
4610 ("pkg-config" ,pkg-config)
4611 ("vala" ,vala)))
4612 (arguments
4613 `(#:glib-or-gtk? #t
4614 #:configure-flags '("-Denable-gtk-doc=true")
4615 #:phases (modify-phases %standard-phases
4616 (add-after 'unpack 'increase-test-timeout
4617 (lambda _
4618 ;; On big-memory systems, the engine test may take
4619 ;; much longer than the default of 30 seconds.
4620 (substitute* "tests/meson.build"
4621 (("test\\(unit_test\\[0\\], exe" all)
4622 (string-append all ", timeout : 90")))
4623 #t)))))
4624 (home-page "https://developer.gnome.org/dconf/")
4625 (synopsis "Low-level GNOME configuration system")
4626 (description "Dconf is a low-level configuration system. Its main purpose
4627 is to provide a backend to GSettings on platforms that don't already have
4628 configuration storage systems.")
4629 (license license:lgpl2.1+)))
4630
4631 (define-public json-glib
4632 (package
4633 (name "json-glib")
4634 (version "1.4.4")
4635 (source (origin
4636 (method url-fetch)
4637 (uri (string-append "mirror://gnome/sources/" name "/"
4638 (version-major+minor version) "/"
4639 name "-" version ".tar.xz"))
4640 (sha256
4641 (base32
4642 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4643 (build-system meson-build-system)
4644 (native-inputs
4645 `(("gettext" ,gettext-minimal)
4646 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4647 ("gobject-introspection" ,gobject-introspection)
4648 ("pkg-config" ,pkg-config)))
4649 (propagated-inputs
4650 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4651 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4652 (synopsis "Compiler for the GObject type system")
4653 (description
4654 "JSON-GLib is a C library based on GLib providing serialization and
4655 deserialization support for the JavaScript Object Notation (JSON) format
4656 described by RFC 4627. It provides parser and generator GObject classes and
4657 various wrappers for the complex data types employed by JSON, such as arrays
4658 and objects.")
4659 (license license:lgpl2.1+)))
4660
4661 (define-public libxklavier
4662 (package
4663 (name "libxklavier")
4664 (version "5.4")
4665 (source (origin
4666 ;; Note: There's no tarball at ftp.gnome.org for this version.
4667 (method git-fetch)
4668 (uri (git-reference
4669 (url "https://anongit.freedesktop.org/git/libxklavier")
4670 (commit (string-append "libxklavier-" version))))
4671 (sha256
4672 (base32
4673 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4674 (file-name (git-file-name name version))))
4675 (build-system gnu-build-system)
4676 (arguments
4677 '(#:configure-flags
4678 (list (string-append "--with-xkb-base="
4679 (assoc-ref %build-inputs "xkeyboard-config")
4680 "/share/X11/xkb")
4681 "--disable-xmodmap-support")))
4682 (native-inputs
4683 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4684 ("gobject-introspection" ,gobject-introspection)
4685 ("pkg-config" ,pkg-config)
4686 ("gtk-doc" ,gtk-doc/stable)
4687 ("intltool" ,intltool)
4688 ("which" ,which)
4689 ("autoconf" ,autoconf)
4690 ("automake" ,automake)
4691 ("libtool" ,libtool)))
4692 (propagated-inputs
4693 ;; Required by libxklavier.pc.
4694 `(("glib" ,glib)
4695 ("libxml2" ,libxml2)))
4696 (inputs
4697 `(("iso-codes" ,iso-codes)
4698 ("libxi" ,libxi)
4699 ("libxkbfile" ,libxkbfile)
4700 ("xkbcomp" ,xkbcomp)
4701 ("xkeyboard-config" ,xkeyboard-config)))
4702 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4703 (synopsis "High-level API for X Keyboard Extension")
4704 (description
4705 "LibXklavier is a library providing high-level API for X Keyboard
4706 Extension known as XKB. This library is intended to support XFree86 and other
4707 commercial X servers. It is useful for creating XKB-related software (layout
4708 indicators etc).")
4709 (license license:lgpl2.0+)))
4710
4711 (define-public python2-rsvg
4712 ;; XXX: This is actually a subset of gnome-python-desktop.
4713 (package
4714 (name "python2-rsvg")
4715 (version "2.32.0")
4716 (source
4717 (origin
4718 (method url-fetch)
4719 (uri (string-append
4720 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4721 version ".tar.bz2"))
4722 (sha256
4723 (base32
4724 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4725 (build-system gnu-build-system)
4726 (native-inputs
4727 `(("pkg-config" ,pkg-config)))
4728 (inputs
4729 `(("python" ,python-2)
4730 ("python2-pygtk" ,python2-pygtk)
4731 ("librsvg" ,librsvg)))
4732 (home-page "https://www.gnome.org")
4733 (synopsis "Python bindings to librsvg")
4734 (description
4735 "This package provides Python bindings to librsvg, the SVG rendering
4736 library.")
4737
4738 ;; This is the license of the rsvg bindings. The license of each module
4739 ;; of gnome-python-desktop is given in 'COPYING'.
4740 (license license:lgpl2.1+)))
4741
4742 (define-public glib-networking
4743 (package
4744 (name "glib-networking")
4745 (version "2.62.2")
4746 (source (origin
4747 (method url-fetch)
4748 (uri (string-append "mirror://gnome/sources/glib-networking/"
4749 (version-major+minor version) "/"
4750 "glib-networking-" version ".tar.xz"))
4751 (sha256
4752 (base32
4753 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4754 (build-system meson-build-system)
4755 (arguments
4756 `(#:configure-flags '("-Dlibproxy_support=false")))
4757 (native-inputs
4758 `(("pkg-config" ,pkg-config)
4759 ("intltool" ,intltool)))
4760 (inputs
4761 `(("glib" ,glib)
4762 ("gnutls" ,gnutls)
4763 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4764 (home-page "https://www.gnome.org")
4765 (synopsis "Network-related GIO modules")
4766 (description
4767 "This package contains various network related extensions for the GIO
4768 library.")
4769 (license license:lgpl2.0+)))
4770
4771 (define-public rest
4772 (package
4773 (name "rest")
4774 (version "0.8.1")
4775 (source (origin
4776 (method url-fetch)
4777 (uri (string-append "mirror://gnome/sources/rest/"
4778 (version-major+minor version) "/"
4779 name "-" version ".tar.xz"))
4780 (sha256
4781 (base32
4782 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4783 (build-system gnu-build-system)
4784 (arguments
4785 '(#:tests? #f ; tests require internet connection
4786 #:configure-flags
4787 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4788 (native-inputs
4789 `(("glib-mkenums" ,glib "bin")
4790 ("gobject-introspection" ,gobject-introspection)
4791 ("pkg-config" ,pkg-config)))
4792 (propagated-inputs
4793 ;; rest-0.7.pc refers to all these.
4794 `(("glib" ,glib)
4795 ("libsoup" ,libsoup)
4796 ("libxml2" ,libxml2)))
4797 (home-page "https://www.gtk.org/")
4798 (synopsis "RESTful web api query library")
4799 (description
4800 "This library was designed to make it easier to access web services that
4801 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4802 libxml to ease remote use of the RESTful API.")
4803 (license license:lgpl2.1+)))
4804
4805 (define-public libsoup
4806 (package
4807 (name "libsoup")
4808 (version "2.72.0")
4809 (source (origin
4810 (method url-fetch)
4811 (uri (string-append "mirror://gnome/sources/libsoup/"
4812 (version-major+minor version) "/"
4813 "libsoup-" version ".tar.xz"))
4814 (sha256
4815 (base32
4816 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4817 (build-system meson-build-system)
4818 (outputs '("out" "doc"))
4819 (arguments
4820 `(#:modules ((guix build utils)
4821 (guix build meson-build-system)
4822 (ice-9 popen))
4823
4824 #:configure-flags '("-Dgtk_doc=true")
4825 #:phases
4826 (modify-phases %standard-phases
4827 (add-after 'unpack 'patch-docbook-xml
4828 (lambda* (#:key inputs #:allow-other-keys)
4829 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4830 "/xml/dtd/docbook")))
4831 (substitute* (find-files "docs/reference")
4832 (("http://.*/docbookx\\.dtd")
4833 (string-append xmldoc "/docbookx.dtd")))
4834 #t)))
4835 (add-after 'unpack 'adjust-tests
4836 (lambda _
4837 ;; This test fails due to missing /etc/nsswitch.conf
4838 ;; in the build environment.
4839 (substitute* "tests/socket-test.c"
4840 ((".*/sockets/unconnected.*") ""))
4841
4842 ;; These fail because "subdomain.localhost" does not resolve in
4843 ;; the build environment.
4844 (substitute* "tests/hsts-test.c"
4845 ((".*/hsts/basic.*") "")
4846 ((".*/hsts/subdomains.*") "")
4847 ((".*/hsts/superdomain.*") "")
4848 ((".*/hsts/utf8-address.*") ""))
4849 (substitute* "tests/hsts-db-test.c"
4850 ((".*/hsts-db/subdomains.*") ""))
4851
4852 ;; Generate a self-signed certificate that has "localhost" as its
4853 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4854 ;; 3.5.12, tests such as "ssl-tests" fail:
4855 ;;
4856 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4857 ;;
4858 ;; 'certtool' is interactive so we have to pipe it the answers.
4859 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4860 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4861 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4862 (for-each (lambda (line)
4863 (display line pipe)
4864 (newline pipe))
4865 '("" ;Common name
4866 "" ;UID
4867 "Guix" ;Organizational unit name
4868 "GNU" ;Organization name
4869 "" ;Locality name
4870 "" ;State or province
4871 "" ;Country
4872 "" ;subject's domain component (DC)
4873 "" ;E-mail
4874 "" ;serial number
4875 "-1" ;expiration time
4876 "N" ;belong to authority?
4877 "N" ;web client certificate?
4878 "N" ;IPsec IKE?
4879 "Y" ;web server certificate?
4880 "localhost" ;dnsName of subject
4881 "" ;dnsName of subject (end)
4882 "" ;URI of subject
4883 "127.0.0.1" ;IP address of subject
4884 "" ;signing?
4885 "" ;encryption (RSA)?
4886 "" ;data encryption?
4887 "" ;sign OCSP requests?
4888 "" ;sign code?
4889 "" ;time stamping?
4890 "" ;email protection?
4891 "" ;URI of the CRL distribution point
4892 "y" ;above info OK?
4893 ))
4894 (close-pipe pipe))
4895 #t))
4896 (add-after 'install 'move-doc
4897 (lambda* (#:key outputs #:allow-other-keys)
4898 (let ((out (assoc-ref outputs "out"))
4899 (doc (assoc-ref outputs "doc")))
4900 (mkdir-p (string-append doc "/share"))
4901 (copy-recursively (string-append out "/share/gtk-doc")
4902 (string-append doc "/share/gtk-doc"))
4903 (delete-file-recursively (string-append out "/share/gtk-doc"))
4904 #t))))))
4905 (native-inputs
4906 `(("docbook-xml" ,docbook-xml-4.1.2)
4907 ("glib:bin" ,glib "bin") ; for glib-mkenums
4908 ("gobject-introspection" ,gobject-introspection)
4909 ("gtk-doc" ,gtk-doc/stable)
4910 ("intltool" ,intltool)
4911 ("pkg-config" ,pkg-config)
4912 ("python" ,python-wrapper)
4913 ("vala" ,vala)
4914 ("php" ,php)
4915 ("curl" ,curl)
4916 ("gnutls" ,gnutls) ;for 'certtool'
4917 ("httpd" ,httpd)))
4918 (propagated-inputs
4919 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4920 `(("brotli" ,google-brotli)
4921 ("glib" ,glib)
4922 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4923 ("libpsl" ,libpsl)
4924 ("libxml2" ,libxml2)
4925 ("sqlite" ,sqlite)
4926 ("zlib" ,zlib)))
4927 (inputs
4928 `(("mit-krb5" ,mit-krb5)
4929 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4930 (home-page "https://wiki.gnome.org/Projects/libsoup")
4931 (synopsis "GLib-based HTTP Library")
4932 (description
4933 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4934 and the GLib main loop, to integrate well with GNOME applications.")
4935 (license license:lgpl2.0+)))
4936
4937
4938 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4939 (define-public libsoup-minimal
4940 (package/inherit libsoup
4941 (name "libsoup-minimal")
4942 (outputs (delete "doc" (package-outputs libsoup)))
4943 (arguments
4944 (substitute-keyword-arguments (package-arguments libsoup)
4945 ((#:configure-flags configure-flags)
4946 `(delete "-Dgtk_doc=true" ,configure-flags))
4947 ((#:phases phases)
4948 `(modify-phases ,phases
4949 (delete 'move-doc)))))
4950 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4951
4952 (define-public libsecret
4953 (package
4954 (name "libsecret")
4955 (version "0.20.4")
4956 (source (origin
4957 (method url-fetch)
4958 (uri (string-append
4959 "mirror://gnome/sources/libsecret/"
4960 (version-major+minor version) "/"
4961 "libsecret-" version ".tar.xz"))
4962 (sha256
4963 (base32
4964 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4965 (build-system gnu-build-system)
4966 (outputs '("out" "doc"))
4967 (arguments
4968 `(#:tests? #f ; FIXME: Testing hangs.
4969 #:configure-flags
4970 (list (string-append "--with-html-dir="
4971 (assoc-ref %outputs "doc")
4972 "/share/gtk-doc/html"))))
4973 (native-inputs
4974 `(("gettext" ,gettext-minimal)
4975 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4976 ("gobject-introspection" ,gobject-introspection)
4977 ("pkg-config" ,pkg-config)
4978 ("vala" ,vala)
4979 ("xsltproc" ,libxslt)))
4980 ;; These are needed for the tests.
4981 ;; FIXME: Add gjs once available.
4982 ;("dbus" ,dbus)
4983 ;("python2" ,python-2)
4984 ;("python2-dbus" ,python2-dbus)
4985 ;("python2-pygobject" ,python2-pygobject)
4986 ;("python2-pygobject-2" ,python2-pygobject-2)))
4987 (propagated-inputs
4988 `(("glib" ,glib))) ; required by libsecret-1.pc
4989 (inputs
4990 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4991 ;; doesn't seem to affect the build result.
4992 `(("docbook-xsl" ,docbook-xsl)
4993 ("libgcrypt" ,libgcrypt)
4994 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4995 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4996 (synopsis "GObject bindings for \"Secret Service\" API")
4997 (description
4998 "Libsecret is a GObject based library for storing and retrieving passwords
4999 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5000 (license license:lgpl2.1+)))
5001
5002 (define-public five-or-more
5003 (package
5004 (name "five-or-more")
5005 (version "3.32.2")
5006 (source
5007 (origin
5008 (method url-fetch)
5009 (uri (string-append "mirror://gnome/sources/five-or-more/"
5010 (version-major+minor version) "/"
5011 "five-or-more-" version ".tar.xz"))
5012 (sha256
5013 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5014 (build-system meson-build-system)
5015 (arguments
5016 '(#:glib-or-gtk? #t
5017 #:phases
5018 (modify-phases %standard-phases
5019 (add-after 'unpack 'skip-gtk-update-icon-cache
5020 (lambda _
5021 (substitute* "meson_post_install.py"
5022 (("gtk-update-icon-cache") (which "true")))
5023 #t)))))
5024 (native-inputs
5025 `(("pkg-config" ,pkg-config)
5026 ("appstream-glib" ,appstream-glib)
5027 ("desktop-file-utils" ,desktop-file-utils)
5028 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5029 ("intltool" ,intltool)
5030 ("itstool" ,itstool)
5031 ("vala" ,vala)
5032 ("xmllint" ,libxml2)))
5033 (inputs
5034 `(("gtk+" ,gtk+)
5035 ("libgnome-games-support" ,libgnome-games-support)
5036 ("librsvg" ,librsvg)))
5037 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5038 (synopsis "Logic puzzle game")
5039 (description "Five or More is a game where you try to align
5040 five or more objects of the same color and shape causing them to disappear.
5041 On every turn more objects will appear, until the board is full.
5042 Try to last as long as possible.")
5043 (license license:gpl2+)))
5044
5045 (define-public gnome-mines
5046 (package
5047 (name "gnome-mines")
5048 (version "3.36.1")
5049 (source
5050 (origin
5051 (method url-fetch)
5052 (uri (string-append "mirror://gnome/sources/" name "/"
5053 (version-major+minor version) "/"
5054 name "-" version ".tar.xz"))
5055 (sha256
5056 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5057 (build-system meson-build-system)
5058 (arguments
5059 '(#:glib-or-gtk? #t
5060 #:phases
5061 (modify-phases %standard-phases
5062 (add-after 'unpack 'skip-gtk-update-icon-cache
5063 (lambda _
5064 (substitute* "build-aux/meson_post_install.py"
5065 (("gtk-update-icon-cache") (which "true")))
5066 #t)))))
5067 (native-inputs
5068 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5069 ("pkg-config" ,pkg-config)
5070 ("desktop-file-utils" ,desktop-file-utils)
5071 ("intltool" ,intltool)
5072 ("itstool" ,itstool)
5073 ("vala" ,vala)
5074 ("yelp" ,yelp)
5075 ("appstream-glib" ,appstream-glib)))
5076 (inputs
5077 `(("gtk+" ,gtk+)
5078 ("libgnome-games-support" ,libgnome-games-support)
5079 ("librsvg" ,librsvg)))
5080 (home-page "https://wiki.gnome.org/Apps/Mines")
5081 (synopsis "Minesweeper game")
5082 (description
5083 "Mines (previously gnomine) is a puzzle game where you locate mines
5084 floating in an ocean using only your brain and a little bit of luck.")
5085 (license license:gpl2+)))
5086
5087 (define-public gnome-multi-writer
5088 (package
5089 (name "gnome-multi-writer")
5090 (version "3.35.90")
5091 (source
5092 (origin
5093 (method url-fetch)
5094 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5095 (version-major+minor version) "/"
5096 "gnome-multi-writer-" version ".tar.xz"))
5097 (sha256
5098 (base32
5099 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5100 (build-system meson-build-system)
5101 (arguments
5102 '(#:glib-or-gtk? #t
5103 #:phases
5104 (modify-phases %standard-phases
5105 (add-after 'unpack 'skip-post-install
5106 (lambda _
5107 (substitute* "meson.build"
5108 (("meson.add_install_script" &) (string-append "# " &)))
5109 #t)))))
5110 (native-inputs
5111 `(("glib:bin" ,glib "bin")
5112 ("pkg-config" ,pkg-config)))
5113 (inputs
5114 `(("gtk+" ,gtk+)
5115 ("glib" ,glib) ; for gio
5116 ("gusb" ,gusb)
5117 ("udisks" ,udisks)
5118 ("libgudev" ,libgudev)
5119 ("libcanberra" ,libcanberra)
5120 ("polkit" ,polkit)))
5121 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5122 (synopsis "Write to multiple USB devices at once")
5123 (description
5124 "MultiWriter can be used to write an ISO file to multiple USB devices at
5125 once.")
5126 (license license:gpl2+)))
5127
5128 (define-public gnome-sudoku
5129 (package
5130 (name "gnome-sudoku")
5131 (version "3.34.1")
5132 (source
5133 (origin
5134 (method url-fetch)
5135 (uri (string-append "mirror://gnome/sources/" name "/"
5136 (version-major+minor version) "/"
5137 name "-" version ".tar.xz"))
5138 (sha256
5139 (base32
5140 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5141 (build-system meson-build-system)
5142 (arguments
5143 '(#:glib-or-gtk? #t
5144 #:phases
5145 (modify-phases %standard-phases
5146 (add-after 'unpack 'skip-gtk-update-icon-cache
5147 (lambda _
5148 (substitute* "build-aux/post_install.py"
5149 (("gtk-update-icon-cache") (which "true")))
5150 #t)))))
5151 (native-inputs
5152 `(("pkg-config" ,pkg-config)
5153 ("desktop-file-utils" ,desktop-file-utils)
5154 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5155 ("intltool" ,intltool)
5156 ("itstool" ,itstool)
5157 ("vala" ,vala)
5158 ("xmllint" ,libxml2)))
5159 (inputs
5160 `(("gtk+" ,gtk+)
5161 ("json-glib" ,json-glib)
5162 ("libgee" ,libgee)
5163 ("librsvg" ,librsvg)
5164 ("qqwing" ,qqwing)))
5165 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5166 (synopsis "Japanese logic game")
5167 (description
5168 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5169 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5170 possible while still providing features that make playing difficult Sudoku
5171 more fun.")
5172 (license license:gpl2+)))
5173
5174 (define-public gnome-terminal
5175 (package
5176 (name "gnome-terminal")
5177 (version "3.34.2")
5178 (source
5179 (origin
5180 (method url-fetch)
5181 (uri (string-append "mirror://gnome/sources/" name "/"
5182 (version-major+minor version) "/"
5183 name "-" version ".tar.xz"))
5184 (sha256
5185 (base32
5186 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5187 (build-system glib-or-gtk-build-system)
5188 (arguments
5189 '(#:configure-flags
5190 (list "--disable-migration" "--disable-search-provider"
5191 "--without-nautilus-extension")
5192 #:phases
5193 (modify-phases %standard-phases
5194 (add-before 'configure 'patch-/bin/true
5195 (lambda _
5196 (substitute* "configure"
5197 (("/bin/true") (which "true"))))))))
5198 (native-inputs
5199 `(("pkg-config" ,pkg-config)
5200 ("desktop-file-utils" ,desktop-file-utils)
5201 ("intltool" ,intltool)
5202 ("itstool" ,itstool)
5203 ("xmllint" ,libxml2)))
5204 (propagated-inputs
5205 `(("dconf" ,dconf)))
5206 (inputs
5207 `(("gtk+" ,gtk+)
5208 ("vte" ,vte)
5209 ("gnutls" ,gnutls)
5210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5211 ("util-linux" ,util-linux "lib")
5212 ("vala" ,vala)))
5213 (home-page "https://wiki.gnome.org/Apps/Terminal")
5214 (synopsis "Terminal emulator")
5215 (description
5216 "GNOME Terminal is a terminal emulator application for accessing a
5217 UNIX shell environment which can be used to run programs available on
5218 your system.
5219
5220 It supports several profiles, multiple tabs and implements several
5221 keyboard shortcuts.")
5222 (license license:gpl3+)))
5223
5224 (define-public colord
5225 (package
5226 (name "colord")
5227 (version "1.4.5")
5228 (source
5229 (origin
5230 (method url-fetch)
5231 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5232 "colord-" version ".tar.xz"))
5233 (sha256
5234 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5235 (build-system meson-build-system)
5236 (arguments
5237 '(;; FIXME: One test fails:
5238 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5239 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5240 ;; application/x-zerosize
5241 #:tests? #f
5242 #:glib-or-gtk? #t
5243 #:configure-flags (list "-Dlocalstatedir=/var"
5244 ;; No dep on systemd.
5245 "-Dsystemd=false"
5246 ;; Wants to install to global completion dir;
5247 ;; punt.
5248 "-Dbash_completion=false"
5249 "-Ddaemon_user=colord"
5250 "-Dsane=true"
5251 "-Dvapi=true"
5252 ;; Requires spotread.
5253 "-Dargyllcms_sensor=false"
5254 ;; TODO: Requires docbook2x.
5255 "-Dman=false")
5256 #:phases
5257 (modify-phases %standard-phases
5258 (add-before 'configure 'patch-build-system
5259 (lambda* (#:key outputs #:allow-other-keys)
5260 (substitute* "rules/meson.build"
5261 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5262 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5263 #t))
5264 (add-before 'configure 'set-sqlite3-file-name
5265 (lambda* (#:key inputs #:allow-other-keys)
5266 ;; "colormgr dump" works by invoking the "sqlite3" command.
5267 ;; Record its absolute file name.
5268 (let ((sqlite (assoc-ref inputs "sqlite")))
5269 (substitute* "client/cd-util.c"
5270 (("\"sqlite3\"")
5271 (string-append "\"" sqlite "/bin/sqlite3\"")))
5272 #t))))))
5273 (native-inputs
5274 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5275 ("gettext" ,gettext-minimal)
5276 ("gobject-introspection" ,gobject-introspection)
5277 ("gtk-doc" ,gtk-doc/stable)
5278 ("pkg-config" ,pkg-config)
5279 ("vala" ,vala)))
5280 (propagated-inputs
5281 ;; colord.pc refers to all these.
5282 `(("glib" ,glib)
5283 ("lcms" ,lcms)
5284 ("udev" ,eudev)))
5285 (inputs
5286 `(("dbus-glib" ,dbus-glib)
5287 ("gusb" ,gusb)
5288 ("libgudev" ,libgudev)
5289 ("libusb" ,libusb)
5290 ("polkit" ,polkit)
5291 ("python" ,python-wrapper)
5292 ("sqlite" ,sqlite)
5293 ("sane-backends" ,sane-backends)))
5294 (home-page "https://www.freedesktop.org/software/colord/")
5295 (synopsis "Color management service")
5296 (description "Colord is a system service that makes it easy to manage,
5297 install and generate color profiles to accurately color manage input and
5298 output devices.")
5299 (license license:gpl2+)))
5300
5301 (define-public geoclue
5302 (package
5303 (name "geoclue")
5304 (version "2.5.7")
5305 (source
5306 (origin
5307 (method url-fetch)
5308 (uri
5309 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5310 version "/geoclue-" version ".tar.bz2"))
5311 (sha256
5312 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5313 (patches (search-patches "geoclue-config.patch"))))
5314 (build-system meson-build-system)
5315 (arguments
5316 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5317 (native-inputs
5318 `(("pkg-config" ,pkg-config)
5319 ("gobject-introspection" ,gobject-introspection)
5320 ("modem-manager" ,modem-manager)
5321 ("libnotify" ,libnotify)
5322 ("gtk-doc" ,gtk-doc/stable)
5323 ("intltool" ,intltool)))
5324 (inputs
5325 `(("avahi" ,avahi)
5326 ("glib:bin" ,glib "bin")
5327 ("glib-networking" ,glib-networking)
5328 ("json-glib" ,json-glib)
5329 ("libsoup" ,libsoup)))
5330 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5331 (synopsis "Geolocation service")
5332 (description "Geoclue is a D-Bus service that provides location
5333 information. The primary goal of the Geoclue project is to make creating
5334 location-aware applications as simple as possible, while the secondary goal is
5335 to ensure that no application can access location information without explicit
5336 permission from user.")
5337 (license license:gpl2+)))
5338
5339 (define-public geocode-glib
5340 (package
5341 (name "geocode-glib")
5342 (version "3.26.2")
5343 (source (origin
5344 (method url-fetch)
5345 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5346 (version-major+minor version) "/"
5347 "geocode-glib-" version ".tar.xz"))
5348 (sha256
5349 (base32
5350 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5351 (build-system meson-build-system)
5352 (arguments
5353 `(#:phases
5354 (modify-phases %standard-phases
5355 ;; The tests require a bunch of locales.
5356 (add-before 'check 'set-locales
5357 (lambda* (#:key inputs #:allow-other-keys)
5358 (setenv "GUIX_LOCPATH"
5359 (string-append (assoc-ref inputs "glibc-locales")
5360 "/lib/locale"))
5361 #t)))))
5362 (native-inputs
5363 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5364 ("glibc-locales" ,glibc-locales) ; for tests
5365 ("gettext" ,gettext-minimal)
5366 ("gobject-introspection" ,gobject-introspection)
5367 ("gtk-doc" ,gtk-doc/stable)
5368 ("pkg-config" ,pkg-config)
5369 ("json-glib" ,json-glib)))
5370 (propagated-inputs
5371 ;; geocode-glib-1.0.pc refers to GIO.
5372 `(("glib" ,glib)))
5373 (inputs
5374 `(("libsoup" ,libsoup)))
5375 (home-page "https://github.com/GNOME/geocode-glib/")
5376 (synopsis "Geocoding and reverse-geocoding library")
5377 (description
5378 "geocode-glib is a convenience library for geocoding (finding longitude,
5379 and latitude from an address) and reverse geocoding (finding an address from
5380 coordinates) using the Nominatim service. geocode-glib caches requests for
5381 faster results and to avoid unnecessary server load.")
5382 (license license:lgpl2.0+)))
5383
5384 (define-public upower
5385 (package
5386 (name "upower")
5387 (version "0.99.11")
5388 (source (origin
5389 (method url-fetch)
5390 (uri (string-append "https://upower.freedesktop.org/releases/"
5391 "upower-" version ".tar.xz"))
5392 (sha256
5393 (base32
5394 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5395 (patches (search-patches "upower-builddir.patch"))
5396 (modules '((guix build utils)))
5397 (snippet
5398 '(begin
5399 ;; Upstream commit
5400 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5401 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5402 ;; 'dbus-configuration-directory' in (gnu services dbus)
5403 ;; expects it in etc/. Thus, move it back to its previous
5404 ;; location.
5405 (substitute* "src/Makefile.in"
5406 (("^dbusconfdir =.*$")
5407 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5408 #t))))
5409 (build-system glib-or-gtk-build-system)
5410 (arguments
5411 '(#:phases
5412 (modify-phases %standard-phases
5413 (add-before 'check 'pre-check
5414 (lambda* (#:key inputs #:allow-other-keys)
5415 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5416 "/lib")))
5417 (setenv "LD_LIBRARY_PATH" umockdev))
5418 #t)))
5419 #:configure-flags (list "--localstatedir=/var"
5420 (string-append "--with-udevrulesdir="
5421 (assoc-ref %outputs "out")
5422 "/lib/udev/rules.d"))))
5423 (native-inputs
5424 `(("gobject-introspection" ,gobject-introspection)
5425 ("pkg-config" ,pkg-config)
5426 ("intltool" ,intltool)
5427 ("python" ,python)
5428
5429 ;; For tests.
5430 ("python-dbus" ,python-dbus)
5431 ("python-dbusmock" ,python-dbusmock)
5432 ("python-pygobject" ,python-pygobject)
5433 ("umockdev" ,umockdev)
5434
5435 ;; For man pages.
5436 ("libxslt" ,libxslt) ;for 'xsltproc'
5437 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5438 ("docbook-xsl" ,docbook-xsl)))
5439 (inputs
5440 `(("dbus-glib" ,dbus-glib)
5441 ("libgudev" ,libgudev)
5442 ("libusb" ,libusb)))
5443 (propagated-inputs
5444 ;; In Requires of upower-glib.pc.
5445 `(("glib" ,glib)))
5446 (home-page "https://upower.freedesktop.org/")
5447 (synopsis "System daemon for managing power devices")
5448 (description
5449 "UPower is an abstraction for enumerating power devices,
5450 listening to device events and querying history and statistics. Any
5451 application or service on the system can access the org.freedesktop.UPower
5452 service via the system message bus.")
5453 (license license:gpl2+)))
5454
5455 (define-public libgweather
5456 (package
5457 (name "libgweather")
5458 (version "3.34.0")
5459 (source (origin
5460 (method url-fetch)
5461 (uri (string-append "mirror://gnome/sources/" name "/"
5462 (version-major+minor version) "/"
5463 name "-" version ".tar.xz"))
5464 (sha256
5465 (base32
5466 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5467 (build-system meson-build-system)
5468 (arguments
5469 `(#:tests? #f ; one of two tests requires network access
5470 #:configure-flags
5471 `(,(string-append "-Dzoneinfo_dir="
5472 (assoc-ref %build-inputs "tzdata")
5473 "/share/zoneinfo"))))
5474 (native-inputs
5475 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5476 ("gobject-introspection" ,gobject-introspection)
5477 ("pkg-config" ,pkg-config)
5478 ("vala" ,vala)
5479 ("intltool" ,intltool)))
5480 (propagated-inputs
5481 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5482 ;; libsoup.
5483 `(("gtk+" ,gtk+)
5484 ("gdk-pixbuf" ,gdk-pixbuf)
5485 ("libxml2" ,libxml2)
5486 ("libsoup" ,libsoup)
5487 ("geocode-glib" ,geocode-glib)))
5488 (inputs
5489 `(("tzdata" ,tzdata)))
5490 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5491 (synopsis "Location, time zone, and weather library for GNOME")
5492 (description
5493 "libgweather is a library to access weather information from online
5494 services for numerous locations.")
5495 (license license:gpl2+)))
5496
5497 (define-public gnome-settings-daemon
5498 (package
5499 (name "gnome-settings-daemon")
5500 (version "3.34.1")
5501 (source
5502 (origin
5503 (method url-fetch)
5504 (uri (string-append "mirror://gnome/sources/" name "/"
5505 (version-major+minor version) "/"
5506 name "-" version ".tar.xz"))
5507 (sha256
5508 (base32
5509 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5510 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5511 (build-system meson-build-system)
5512 (arguments
5513 `(#:glib-or-gtk? #t
5514 #:configure-flags
5515 (list (string-append "-Dudev_dir="
5516 (assoc-ref %outputs "out")
5517 "/lib/udev/rules.d/")
5518 "-Dsystemd=false"
5519 ;; Otherwise, the RUNPATH will lack the final path component.
5520 (string-append "-Dc_link_args=-Wl,-rpath="
5521 (assoc-ref %outputs "out")
5522 "/lib/gnome-settings-daemon-3.0"))
5523
5524 #:phases (modify-phases %standard-phases
5525 (add-before 'configure 'set-baobab-file-name
5526 (lambda* (#:key inputs #:allow-other-keys)
5527 ;; Hard-code the file name of Baobab instead of looking
5528 ;; it up in $PATH. This ensures users get the "Examine"
5529 ;; button in the low disk space notification of GDM even
5530 ;; if they don't have GNOME in their main profile.
5531 (let ((baobab (assoc-ref inputs "baobab")))
5532 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5533 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5534 (string-append "g_strdup (\"" baobab
5535 "/bin/baobab\")")))
5536 #t))))
5537
5538 ;; Color management test can't reach the colord system service.
5539 #:tests? #f))
5540 (native-inputs
5541 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5542 ("pkg-config" ,pkg-config)
5543 ("intltool" ,intltool)
5544 ("xsltproc" ,libxslt)
5545 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5546 ("docbook-xml" ,docbook-xml-4.2)
5547 ("docbook-xsl" ,docbook-xsl)))
5548 (inputs
5549 `(("alsa-lib" ,alsa-lib)
5550 ("baobab" ,baobab)
5551 ("colord" ,colord)
5552 ("libgudev" ,libgudev)
5553 ("upower" ,upower)
5554 ("polkit" ,polkit)
5555 ("pulseaudio" ,pulseaudio)
5556 ("libcanberra" ,libcanberra)
5557 ("libx11" ,libx11)
5558 ("libxtst" ,libxtst)
5559 ("lcms" ,lcms)
5560 ("libnotify" ,libnotify)
5561 ("geoclue" ,geoclue)
5562 ("geocode-glib" ,geocode-glib)
5563 ("libgweather" ,libgweather)
5564 ("gnome-desktop" ,gnome-desktop)
5565 ("nss" ,nss)
5566 ("cups" ,cups)
5567 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5568 ("libwacom" ,libwacom)
5569 ("librsvg" ,librsvg)
5570 ("xf86-input-wacom" ,xf86-input-wacom)
5571 ("wayland" ,wayland)
5572 ("network-manager" ,network-manager)
5573 ("gcr" ,gcr)
5574 ("modem-manager" ,modem-manager)))
5575 (home-page "https://www.gnome.org")
5576 (synopsis "GNOME settings daemon")
5577 (description
5578 "This package contains the daemon responsible for setting the various
5579 parameters of a GNOME session and the applications that run under it. It
5580 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5581 settings, themes, mouse settings, and startup of other daemons.")
5582 (license license:gpl2+)))
5583
5584 (define-public totem-pl-parser
5585 (package
5586 (name "totem-pl-parser")
5587 (version "3.26.5")
5588 (source (origin
5589 (method url-fetch)
5590 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5591 (version-major+minor version) "/"
5592 "totem-pl-parser-" version ".tar.xz"))
5593 (sha256
5594 (base32
5595 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5596 (build-system meson-build-system)
5597 (arguments
5598 ;; FIXME: Tests require gvfs.
5599 `(#:tests? #f))
5600 (native-inputs
5601 `(("intltool" ,intltool)
5602 ("glib" ,glib "bin")
5603 ("gobject-introspection" ,gobject-introspection)
5604 ("pkg-config" ,pkg-config)))
5605 (propagated-inputs
5606 `(("glib" ,glib)
5607 ("gmime" ,gmime)
5608 ("libarchive" ,libarchive)
5609 ("libgcrypt" ,libgcrypt)
5610 ("libxml2" ,libxml2)))
5611 (inputs
5612 `(("libsoup" ,libsoup)))
5613 (home-page "https://projects.gnome.org/totem")
5614 (synopsis "Library to parse and save media playlists for GNOME")
5615 (description "Totem-pl-parser is a GObjects-based library to parse and save
5616 playlists in a variety of formats.")
5617 (license license:lgpl2.0+)))
5618
5619 (define-public aisleriot
5620 (package
5621 (name "aisleriot")
5622 (version "3.22.9")
5623 (source (origin
5624 (method url-fetch)
5625 (uri (string-append "mirror://gnome/sources/aisleriot/"
5626 (version-major+minor version) "/"
5627 "aisleriot-" version ".tar.xz"))
5628 (sha256
5629 (base32
5630 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5631 (build-system glib-or-gtk-build-system)
5632 (arguments
5633 '(#:configure-flags
5634 '("--with-platform=gtk-only"
5635 "--with-card-theme-formats=svg")))
5636 (native-inputs
5637 `(("desktop-file-utils" ,desktop-file-utils)
5638 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5639 ("intltool" ,intltool)
5640 ("itstool" ,itstool)
5641 ("pkg-config" ,pkg-config)
5642 ("xmllint" ,libxml2)))
5643 (inputs
5644 `(("gtk+" ,gtk+)
5645 ("guile" ,guile-2.2)
5646 ("libcanberra" ,libcanberra)
5647 ("librsvg" ,librsvg)))
5648 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5649 (synopsis "Solitaire card games")
5650 (description
5651 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5652 which are easy to play with the aid of a mouse.")
5653 (license license:gpl3+)))
5654
5655 (define-public amtk
5656 (package
5657 (name "amtk")
5658 (version "5.0.2")
5659 (source (origin
5660 (method url-fetch)
5661 (uri (string-append "mirror://gnome/sources/amtk/"
5662 (version-major+minor version) "/"
5663 "amtk-" version ".tar.xz"))
5664 (sha256
5665 (base32
5666 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5667 (build-system gnu-build-system)
5668 (arguments
5669 '(#:configure-flags '("--enable-gtk-doc")))
5670 (native-inputs
5671 `(("gobject-introspection" ,gobject-introspection)
5672 ("glib:bin" ,glib "bin") ; for glib-mkenums
5673 ("gtk-doc" ,gtk-doc/stable)
5674 ("pkg-config" ,pkg-config)))
5675 (inputs
5676 `(("glib" ,glib)
5677 ("gtk+" ,gtk+)))
5678 (home-page "https://wiki.gnome.org/Projects/Amtk")
5679 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5680 (description
5681 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5682 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5683 both a traditional UI or a modern UI with a GtkHeaderBar.")
5684 (license license:lgpl2.1+)))
5685
5686 (define-public devhelp
5687 (package
5688 (name "devhelp")
5689 (version "3.34.0")
5690 (source (origin
5691 (method url-fetch)
5692 (uri (string-append "mirror://gnome/sources/" name "/"
5693 (version-major+minor version) "/"
5694 name "-" version ".tar.xz"))
5695 (sha256
5696 (base32
5697 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5698 (build-system meson-build-system)
5699 (arguments
5700 '(#:glib-or-gtk? #t
5701 #:phases
5702 (modify-phases %standard-phases
5703 (add-after 'unpack 'skip-gtk-update-icon-cache
5704 ;; Don't create 'icon-theme.cache'.
5705 (lambda _
5706 (substitute* "meson_post_install.py"
5707 (("gtk-update-icon-cache") "true"))
5708 #t)))))
5709 (native-inputs
5710 `(("intltool" ,intltool)
5711 ("itstool" ,itstool)
5712 ("gobject-introspection" ,gobject-introspection)
5713 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5714 ("pkg-config" ,pkg-config)))
5715 (inputs
5716 `(("amtk" ,amtk)
5717 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5718 ("webkitgtk" ,webkitgtk)))
5719 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5720 (synopsis "API documentation browser for GNOME")
5721 (description
5722 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5723 natively with GTK-Doc (the API reference system developed for GTK+ and used
5724 throughout GNOME for API documentation).")
5725 (license license:gpl2+)))
5726
5727 (define-public cogl
5728 (package
5729 (name "cogl")
5730 (version "1.22.8")
5731 (source
5732 (origin
5733 (method url-fetch)
5734 (uri (string-append "mirror://gnome/sources/cogl/"
5735 (version-major+minor version) "/"
5736 "cogl-" version ".tar.xz"))
5737 (sha256
5738 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5739 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5740 ;; cogl, corresponding changes may be appropriate in mutter as well.
5741 (build-system gnu-build-system)
5742 (native-inputs
5743 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5744 ("gobject-introspection" ,gobject-introspection)
5745 ("xorg-server" ,xorg-server-for-tests)
5746 ("pkg-config" ,pkg-config)))
5747 (propagated-inputs
5748 `(("glib" ,glib)
5749 ("gdk-pixbuf" ,gdk-pixbuf)
5750 ("libx11" ,libx11)
5751 ("libxext" ,libxext)
5752 ("libxfixes" ,libxfixes)
5753 ("libxdamage" ,libxdamage)
5754 ("libxcomposite" ,libxcomposite)
5755 ("libxrandr" ,libxrandr)))
5756 (inputs
5757 `(("mesa" ,mesa)
5758 ("cairo" ,cairo)
5759 ("pango" ,pango)
5760 ("gstreamer" ,gstreamer)
5761 ("gst-plugins-base" ,gst-plugins-base)
5762 ("wayland" ,wayland)))
5763 (arguments
5764 `(#:disallowed-references (,xorg-server-for-tests)
5765 #:configure-flags (list "--enable-cogl-gst"
5766 "--enable-wayland-egl-platform"
5767 "--enable-wayland-egl-server"
5768
5769 ;; Arrange to pass an absolute file name to
5770 ;; dlopen for libGL.so.
5771 (string-append "--with-gl-libname="
5772 (assoc-ref %build-inputs "mesa")
5773 "/lib/libGL.so"))
5774 #:phases
5775 (modify-phases %standard-phases
5776 (add-after 'unpack 'fix-build-with-mesa-20
5777 (lambda _
5778 ;; Work around a problem with Mesa 20 where some macros used by
5779 ;; Cogl went missing from eglext.h. This can likely be removed
5780 ;; for newer versions of Cogl or Mesa.
5781 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5782 (substitute* '("configure"
5783 "cogl/winsys/cogl-winsys-egl-kms.c")
5784 (("#include <EGL/eglext.h>" all)
5785 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5786 #t))
5787 (add-before 'check 'start-xorg-server
5788 (lambda* (#:key tests? inputs #:allow-other-keys)
5789 (if tests?
5790 (begin
5791 ;; The test suite requires a running X server.
5792 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5793 (assoc-ref inputs "xorg-server")))
5794 (setenv "DISPLAY" ":1")
5795 #t)
5796 (format #t "test suite not run~%"))
5797 #t)))))
5798 (home-page "https://www.cogl3d.org")
5799 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5800 (description
5801 "Cogl is a small library for using 3D graphics hardware to draw pretty
5802 pictures. The API departs from the flat state machine style of OpenGL and is
5803 designed to make it easy to write orthogonal components that can render
5804 without stepping on each others toes.")
5805 (license (list license:expat ; most of the code
5806 license:bsd-3 ; cogl/cogl-point-in-poly.c
5807 license:sgifreeb2.0 ; cogl-path/tesselator/
5808 license:asl2.0)))) ; examples/android/
5809
5810 (define-public clutter
5811 (package
5812 (name "clutter")
5813 (version "1.26.2")
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 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5823 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5824 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5825 (build-system gnu-build-system)
5826 (outputs '("out"
5827 "doc")) ;9 MiB of gtk-doc HTML pages
5828 (native-inputs
5829 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5830 ("gobject-introspection" ,gobject-introspection)
5831 ("pkg-config" ,pkg-config)
5832 ("xsltproc" ,libxslt)))
5833 (propagated-inputs
5834 `(("cogl" ,cogl)
5835 ("cairo" ,cairo)
5836 ("atk" ,atk)
5837 ("gtk+" ,gtk+)
5838 ("json-glib" ,json-glib)
5839 ("glib" ,glib)
5840 ("libxcomposite" ,libxcomposite)
5841 ("libxdamage" ,libxdamage)
5842 ("libxext" ,libxext)
5843 ("xinput" ,xinput)))
5844 (inputs
5845 `(("libxkbcommon" ,libxkbcommon)
5846 ("udev" ,eudev)))
5847 (arguments
5848 `(#:configure-flags (list "--enable-x11-backend=yes"
5849
5850 ;; This produces share/doc/{clutter,cally}.
5851 (string-append "--with-html-dir="
5852 (assoc-ref %outputs "doc")
5853 "/share/doc"))
5854 ;; XXX FIXME: Get test suite working. It would probably fail in the
5855 ;; same way the cogl tests fail, since clutter is based on cogl.
5856 #:tests? #f))
5857 (home-page "http://www.clutter-project.org")
5858 (synopsis "OpenGL-based interactive canvas library")
5859 (description
5860 "Clutter is an OpenGL-based interactive canvas library, designed for
5861 creating fast, mainly 2D single window applications such as media box UIs,
5862 presentations, kiosk style applications and so on.")
5863 (license license:lgpl2.0+)))
5864
5865 (define-public clutter-gtk
5866 (package
5867 (name "clutter-gtk")
5868 (version "1.8.4")
5869 (source
5870 (origin
5871 (method url-fetch)
5872 (uri (string-append "mirror://gnome/sources/" name "/"
5873 (version-major+minor version) "/"
5874 name "-" version ".tar.xz"))
5875 (sha256
5876 (base32
5877 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5878 (build-system gnu-build-system)
5879 (native-inputs
5880 `(("pkg-config" ,pkg-config)
5881 ("gobject-introspection" ,gobject-introspection)))
5882 (propagated-inputs
5883 ;; clutter-gtk.pc refers to all these.
5884 `(("clutter" ,clutter)
5885 ("gtk+" ,gtk+)))
5886 (home-page "http://www.clutter-project.org")
5887 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5888 (description
5889 "Clutter is an OpenGL-based interactive canvas library, designed for
5890 creating fast, mainly 2D single window applications such as media box UIs,
5891 presentations, kiosk style applications and so on.")
5892 (license license:lgpl2.0+)))
5893
5894 (define-public clutter-gst
5895 (package
5896 (name "clutter-gst")
5897 (version "3.0.27")
5898 (source
5899 (origin
5900 (method url-fetch)
5901 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5902 (version-major+minor version) "/"
5903 "clutter-gst-" version ".tar.xz"))
5904 (sha256
5905 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5906 (build-system gnu-build-system)
5907 (native-inputs
5908 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5909 ("pkg-config" ,pkg-config)
5910 ("gobject-introspection" ,gobject-introspection)))
5911 (inputs
5912 `(("clutter" ,clutter)
5913 ("gstreamer" ,gstreamer)
5914 ("gst-plugins-base" ,gst-plugins-base)))
5915 (home-page "http://www.clutter-project.org")
5916 (synopsis "Integration library for using GStreamer with Clutter")
5917 (description
5918 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5919 It provides a GStreamer sink to upload frames to GL and an actor that
5920 implements the ClutterGstPlayer interface using playbin. Clutter is an
5921 OpenGL-based interactive canvas library.")
5922 (license license:lgpl2.0+)))
5923
5924 (define-public libchamplain
5925 (package
5926 (name "libchamplain")
5927 (version "0.12.16")
5928 (source (origin
5929 (method url-fetch)
5930 (uri (string-append
5931 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5932 version ".tar.xz"))
5933 (sha256
5934 (base32
5935 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5936 (build-system gnu-build-system)
5937 (arguments '(#:configure-flags '("--enable-vala")))
5938 (native-inputs
5939 `(("gobject-introspection" ,gobject-introspection)
5940 ("pkg-config" ,pkg-config)
5941 ("vala" ,vala)))
5942 (propagated-inputs
5943 `(("libsoup" ,libsoup)
5944 ("sqlite" ,sqlite)
5945 ("clutter" ,clutter)
5946 ("clutter-gtk" ,clutter-gtk)
5947 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5948 ("cairo" ,cairo)
5949 ("gtk+3" ,gtk+)
5950 ("glib" ,glib)))
5951 (home-page "https://projects.gnome.org/libchamplain/")
5952 (synopsis "C library providing a ClutterActor to display maps")
5953 (description
5954 "libchamplain is a C library providing a ClutterActor to display maps.
5955 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5956 and Perl bindings are also available. It supports numerous free map sources
5957 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5958 (license license:lgpl2.1+)))
5959
5960 (define-public gom
5961 (package
5962 (name "gom")
5963 (version "0.3.2")
5964 (source
5965 (origin
5966 (method url-fetch)
5967 (uri (string-append "mirror://gnome/sources/gom/"
5968 (version-major+minor version) "/"
5969 "gom-" version ".tar.xz"))
5970 (sha256
5971 (base32
5972 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5973 (build-system gnu-build-system)
5974 (native-inputs
5975 `(("intltool" ,intltool)
5976 ("pkg-config" ,pkg-config)
5977 ("gobject-introspection" ,gobject-introspection)))
5978 (inputs
5979 `(("glib" ,glib)
5980 ("gdk-pixbuf" ,gdk-pixbuf)
5981 ("sqlite" ,sqlite)))
5982 ;; XXX TODO: Figure out how to run the test suite.
5983 (arguments `(#:tests? #f))
5984 (home-page "https://wiki.gnome.org/Projects/Gom")
5985 (synopsis "Object mapper from GObjects to SQLite")
5986 (description
5987 "Gom provides an object mapper from GObjects to SQLite. It helps you
5988 write applications that need to store structured data as well as make complex
5989 queries upon that data.")
5990 (license license:lgpl2.1+)))
5991
5992 (define-public libgnome-games-support
5993 (package
5994 (name "libgnome-games-support")
5995 (version "1.7.1")
5996 (source (origin
5997 (method url-fetch)
5998 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5999 (version-major+minor version) "/"
6000 "libgnome-games-support-" version ".tar.xz"))
6001 (sha256
6002 (base32
6003 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6004 (build-system meson-build-system)
6005 (arguments
6006 '(#:glib-or-gtk? #t
6007 #:phases
6008 (modify-phases %standard-phases
6009 (add-before 'check 'pre-check
6010 (lambda _
6011 ;; Tests require a writable HOME.
6012 (setenv "HOME" (getcwd))
6013 #t)))))
6014 (native-inputs
6015 `(("intltool" ,intltool)
6016 ("pkg-config" ,pkg-config)
6017 ("vala" ,vala)))
6018 (propagated-inputs
6019 ;; Required by libgnome-games-support-1.0.pc
6020 `(("gtk+" ,gtk+)
6021 ("libgee" ,libgee)))
6022 (home-page "https://www.gnome.org/")
6023 (synopsis "Useful functionality shared among GNOME games")
6024 (description
6025 "libgnome-games-support is a small library intended for internal use by
6026 GNOME Games, but it may be used by others.")
6027 (license license:lgpl3+)))
6028
6029 (define-public gnome-klotski
6030 (package
6031 (name "gnome-klotski")
6032 (version "3.34.0")
6033 (source (origin
6034 (method url-fetch)
6035 (uri (string-append "mirror://gnome/sources/" name "/"
6036 (version-major+minor version) "/"
6037 name "-" version ".tar.xz"))
6038 (sha256
6039 (base32
6040 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6041 (build-system meson-build-system)
6042 (arguments
6043 '(#:glib-or-gtk? #t
6044 #:phases
6045 (modify-phases %standard-phases
6046 (add-after 'unpack 'skip-gtk-update-icon-cache
6047 ;; Don't create 'icon-theme.cache'.
6048 (lambda _
6049 (substitute* "build-aux/meson_post_install.py"
6050 (("gtk-update-icon-cache") (which "true")))
6051 #t)))))
6052 (native-inputs
6053 `(("desktop-file-utils" ,desktop-file-utils)
6054 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6055 ("intltool" ,intltool)
6056 ("itstool" ,itstool)
6057 ("pkg-config" ,pkg-config)
6058 ("vala" ,vala)
6059 ("xmllint" ,libxml2)))
6060 (inputs
6061 `(("gtk+" ,gtk+)
6062 ("libgnome-games-support" ,libgnome-games-support)
6063 ("librsvg" ,librsvg)))
6064 (home-page "https://wiki.gnome.org/Apps/Klotski")
6065 (synopsis "Sliding block puzzles")
6066 (description
6067 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6068 the patterned block to the area bordered by green markers. To do so, you will
6069 need to slide other blocks out of the way. Complete each puzzle in as few moves
6070 as possible!")
6071 (license license:gpl2+)))
6072
6073 (define-public grilo
6074 (package
6075 (name "grilo")
6076 (version "0.3.12")
6077 (source
6078 (origin
6079 (method url-fetch)
6080 (uri (string-append "mirror://gnome/sources/grilo/"
6081 (version-major+minor version) "/"
6082 "grilo-" version ".tar.xz"))
6083 (sha256
6084 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6085 (build-system meson-build-system)
6086 (native-inputs
6087 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6088 ("intltool" ,intltool)
6089 ("pkg-config" ,pkg-config)
6090 ("gobject-introspection" ,gobject-introspection)
6091 ("gtk-doc" ,gtk-doc/stable)
6092 ("vala" ,vala)))
6093 (inputs
6094 `(("cyrus-sasl" ,cyrus-sasl)
6095 ("glib" ,glib)
6096 ("gtk+" ,gtk+)
6097 ("libxml2" ,libxml2)
6098 ("liboauth" ,liboauth)
6099 ("libsoup" ,libsoup)
6100 ("totem-pl-parser" ,totem-pl-parser)))
6101 (native-search-paths
6102 (list (search-path-specification
6103 (variable "GRL_PLUGIN_PATH")
6104 (files (list (string-append "lib/grilo-"
6105 (version-major+minor version)))))))
6106 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6107 (synopsis "Framework for discovering and browsing media")
6108 (description
6109 "Grilo is a framework focused on making media discovery and browsing easy
6110 for application developers.")
6111 (license license:lgpl2.1+)))
6112
6113 (define-public grilo-plugins
6114 (package
6115 (name "grilo-plugins")
6116 (version "0.3.11")
6117 (source
6118 (origin
6119 (method url-fetch)
6120 (uri (string-append "mirror://gnome/sources/" name "/"
6121 (version-major+minor version) "/"
6122 name "-" version ".tar.xz"))
6123 (sha256
6124 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6125 (build-system meson-build-system)
6126 (native-inputs
6127 `(("gettext" ,gettext-minimal)
6128 ("glib:bin" ,glib "bin")
6129 ("gtk+:bin" ,gtk+ "bin")
6130 ("itstool" ,itstool)
6131 ("pkg-config" ,pkg-config)))
6132 ;; TODO: ahavi, gstreamer
6133 (inputs
6134 `(("grilo" ,grilo)
6135 ;("gmime" ,gmime) ; unused
6136 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6137 ("gom" ,gom)
6138 ;("gssdp" ,gssdp) ; unused
6139 ;("gupnp" ,gupnp) ; unused
6140 ;("gupnp-av" ,gupnp-av) ; unused
6141 ("json-glib" ,json-glib)
6142 ("avahi" ,avahi)
6143 ("libgdata" ,libgdata)
6144 ("libmediaart" ,libmediaart)
6145 ;("librest" ,rest) ; unused
6146 ("libsoup" ,libsoup)
6147 ("totam-pl-parser" ,totem-pl-parser)
6148 ("tracker" ,tracker))) ; unused because it's too old
6149 (arguments
6150 `(#:glib-or-gtk? #t
6151 ;;Disable lua-factory as it needs missing dependencies
6152 #:configure-flags '("-Denable-lua-factory=no")))
6153 (home-page "https://live.gnome.org/Grilo")
6154 (synopsis "Plugins for the Grilo media discovery library")
6155 (description
6156 "Grilo is a framework focused on making media discovery and browsing easy
6157 for application developers. This package provides plugins for common media
6158 discovery protocols.")
6159 (license license:lgpl2.1+)))
6160
6161 (define-public totem
6162 (package
6163 (name "totem")
6164 (version "3.38.0")
6165 (source
6166 (origin
6167 (method url-fetch)
6168 (uri (string-append "mirror://gnome/sources/totem/"
6169 (version-major+minor version) "/"
6170 "totem-" version ".tar.xz"))
6171 (sha256
6172 (base32
6173 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6174 (build-system meson-build-system)
6175 (native-inputs
6176 `(("pkg-config" ,pkg-config)
6177 ("desktop-file-utils" ,desktop-file-utils)
6178 ("gettext" ,gettext-minimal)
6179 ("gobject-introspection" ,gobject-introspection)
6180 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6181 ("itstool" ,itstool)
6182 ("xmllint" ,libxml2)
6183 ("xorg-server" ,xorg-server-for-tests)))
6184 (propagated-inputs
6185 `(("dconf" ,dconf)))
6186 (inputs
6187 `(("gtk+" ,gtk+)
6188 ("gdk-pixbuf" ,gdk-pixbuf)
6189 ("atk" ,atk)
6190 ("cairo" ,cairo)
6191 ("dbus-glib" ,dbus-glib)
6192 ("clutter" ,clutter)
6193 ("clutter-gtk" ,clutter-gtk)
6194 ("clutter-gst" ,clutter-gst)
6195 ("xorgproto" ,xorgproto)
6196 ("libxxf86vm" ,libxxf86vm)
6197 ("libxtst" ,libxtst)
6198 ("libxrandr" ,libxrandr)
6199 ("libxml2" ,libxml2)
6200 ("libsoup" ,libsoup)
6201 ("libpeas" ,libpeas)
6202 ("librsvg" ,librsvg)
6203 ("lirc" ,lirc)
6204 ("gnome-desktop" ,gnome-desktop)
6205 ("gstreamer" ,gstreamer)
6206 ("gst-plugins-base" ,gst-plugins-base)
6207 ("gst-plugins-good" ,gst-plugins-good)
6208 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6209 ("adwaita-icon-theme" ,adwaita-icon-theme)
6210 ("python" ,python)
6211 ("python-pygobject" ,python-pygobject)
6212 ("totem-pl-parser" ,totem-pl-parser)
6213 ("grilo" ,grilo)
6214 ("grilo-plugins" ,grilo-plugins)
6215 ("vala" ,vala)))
6216 (arguments
6217 `(#:glib-or-gtk? #t
6218
6219 ;; Disable automatic GStreamer plugin installation via PackageKit and
6220 ;; all that.
6221 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6222
6223 ;; Do not build .a files for the plugins, it's
6224 ;; completely useless. This saves 2 MiB.
6225 "--default-library" "shared")
6226 #:phases
6227 (modify-phases %standard-phases
6228 (add-after 'unpack 'skip-gtk-update-icon-cache
6229 ;; Don't create 'icon-theme.cache'.
6230 (lambda _
6231 (substitute* "meson_post_install.py"
6232 (("gtk-update-icon-cache") "true"))
6233 #t))
6234 (add-after 'unpack 'patch-failing-test
6235 (lambda _
6236 ;; Work around test failure with GStreamer 1.18, because the test
6237 ;; relies on "und" not being mapped to a particular language:
6238 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6239 (substitute* "src/test-totem.c"
6240 (("und") "nosuchlang"))
6241 #t))
6242 (add-before
6243 'install 'disable-cache-generation
6244 (lambda _
6245 (setenv "DESTDIR" "/")
6246 #t))
6247 (add-before
6248 'check 'pre-check
6249 (lambda _
6250 ;; Tests require a running X server.
6251 (system "Xvfb :1 &")
6252 (setenv "DISPLAY" ":1")
6253 #t))
6254 (add-after
6255 'install 'wrap-totem
6256 (lambda* (#:key inputs outputs #:allow-other-keys)
6257 (let ((out (assoc-ref outputs "out"))
6258 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6259 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6260 (wrap-program (string-append out "/bin/totem")
6261 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6262 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6263 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6264 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6265 #t)))))
6266 (home-page "https://wiki.gnome.org/Apps/Videos")
6267 (synopsis "Simple media player for GNOME based on GStreamer")
6268 (description "Totem is a simple yet featureful media player for GNOME
6269 which can read a large number of file formats.")
6270 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6271 ;; to be used and distributed together with GStreamer and Totem. See
6272 ;; file://COPYING in the source distribution for details.
6273 (license license:gpl2+)))
6274
6275 (define-public rhythmbox
6276 (package
6277 (name "rhythmbox")
6278 (version "3.4.4")
6279 (source (origin
6280 (method url-fetch)
6281 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6282 (version-major+minor version) "/"
6283 "rhythmbox-" version ".tar.xz"))
6284 (sha256
6285 (base32
6286 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6287 (build-system glib-or-gtk-build-system)
6288 (arguments
6289 `(#:configure-flags
6290 (list "--enable-lirc"
6291 "--enable-python"
6292 "--enable-vala"
6293 "--with-brasero"
6294 "--with-gudev"
6295 "--with-libsecret")
6296 #:phases
6297 (modify-phases %standard-phases
6298 (add-after
6299 'install 'wrap-rhythmbox
6300 (lambda* (#:key inputs outputs #:allow-other-keys)
6301 (let ((out (assoc-ref outputs "out"))
6302 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6303 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6304 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6305 (python-path (getenv "PYTHONPATH")))
6306 (wrap-program (string-append out "/bin/rhythmbox")
6307 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6308 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6309 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6310 `("PYTHONPATH" ":" prefix (,python-path))))
6311 #t)))))
6312 (propagated-inputs
6313 `(("dconf" ,dconf)))
6314 (native-inputs
6315 `(("itstool" ,itstool)
6316 ("intltool" ,intltool)
6317 ("glib" ,glib "bin")
6318 ("gobject-introspection" ,gobject-introspection)
6319 ("desktop-file-utils" ,desktop-file-utils)
6320 ("pkg-config" ,pkg-config)
6321 ("xmllint" ,libxml2)))
6322 (inputs
6323 `(("json-glib" ,json-glib)
6324 ("tdb" ,tdb)
6325 ("gnome-desktop" ,gnome-desktop)
6326 ("python" ,python)
6327 ("python-pygobject" ,python2-pygobject)
6328 ("vala" ,vala)
6329 ("gmime" ,gmime)
6330 ("adwaita-icon-theme" ,adwaita-icon-theme)
6331 ("grilo" ,grilo)
6332 ("grilo-plugins" ,grilo-plugins)
6333 ("gstreamer" ,gstreamer)
6334 ("gst-plugins-base" ,gst-plugins-base)
6335 ("gst-plugins-good" ,gst-plugins-good)
6336 ("totem-pl-parser" ,totem-pl-parser)
6337 ("libgudev" ,libgudev)
6338 ;;("libmtp" ,libmtp) FIXME: Not detected
6339 ("libsecret" ,libsecret)
6340 ("libsoup" ,libsoup)
6341 ("libnotify" ,libnotify)
6342 ("libpeas" ,libpeas)
6343 ("lirc" ,lirc)
6344 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6345 ;;("clutter" ,clutter)
6346 ;;("clutter-gtk" ,clutter-gtk)
6347 ;;("clutter-gst" ,clutter-gst)
6348 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6349 ("atk" ,atk)
6350 ("pango" ,pango)
6351 ("gtk+" ,gtk+)
6352 ;; TODO:
6353 ;; * libgpod
6354 ;; * mx
6355 ("brasero" ,brasero)))
6356 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6357 (synopsis "Music player for GNOME")
6358 (description "Rhythmbox is a music playing application for GNOME. It
6359 supports playlists, song ratings, and any codecs installed through gstreamer.")
6360 (license license:gpl2+)))
6361
6362 (define-public eog
6363 (package
6364 (name "eog")
6365 (version "3.34.1")
6366 (source (origin
6367 (method url-fetch)
6368 (uri (string-append "mirror://gnome/sources/" name "/"
6369 (version-major+minor version) "/"
6370 name "-" version ".tar.xz"))
6371 (sha256
6372 (base32
6373 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6374 (build-system meson-build-system)
6375 (arguments
6376 `(#:configure-flags
6377 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6378 (list (string-append "-Dc_link_args=-Wl,-rpath="
6379 (assoc-ref %outputs "out") "/lib/eog"))
6380 #:phases
6381 (modify-phases %standard-phases
6382 (add-after 'unpack 'skip-gtk-update-icon-cache
6383 ;; Don't create 'icon-theme.cache'.
6384 (lambda _
6385 (substitute* "meson_post_install.py"
6386 (("gtk-update-icon-cache") "true"))
6387 #t))
6388 (add-after 'install 'wrap-eog
6389 (lambda* (#:key outputs #:allow-other-keys)
6390 (let ((out (assoc-ref outputs "out"))
6391 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6392 (wrap-program (string-append out "/bin/eog")
6393 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6394 #t)))))
6395 (propagated-inputs
6396 `(("dconf" ,dconf)))
6397 (native-inputs
6398 `(("intltool" ,intltool)
6399 ("itstool" ,itstool)
6400 ("glib" ,glib "bin")
6401 ("gobject-introspection" ,gobject-introspection)
6402 ("pkg-config" ,pkg-config)
6403 ("xmllint" ,libxml2)))
6404 (inputs
6405 `(("gnome-desktop" ,gnome-desktop)
6406 ("shared-mime-info" ,shared-mime-info)
6407 ("adwaita-icon-theme" ,adwaita-icon-theme)
6408 ("exempi" ,exempi)
6409 ("lcms" ,lcms)
6410 ("libexif" ,libexif)
6411 ("libpeas" ,libpeas)
6412 ("libjpeg" ,libjpeg-turbo)
6413 ("librsvg" ,librsvg-next)
6414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6415 ("gtk+" ,gtk+)))
6416 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6417 (synopsis "GNOME image viewer")
6418 (description "Eye of GNOME is the GNOME image viewer. It
6419 supports image conversion, rotation, and slideshows.")
6420 (license license:gpl2+)))
6421
6422 (define-public eog-plugins
6423 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6424 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6425 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6426 ;; 'XDG_DATA_DIRS' appropriately set.
6427 (package
6428 (name "eog-plugins")
6429 (version "3.26.4")
6430 (source (origin
6431 (method url-fetch)
6432 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6433 (version-major+minor version) "/"
6434 "eog-plugins-" version ".tar.xz"))
6435 (sha256
6436 (base32
6437 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6438 (build-system gnu-build-system)
6439 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6440 (synopsis "Extensions for the Eye of GNOME image viewer")
6441 (native-inputs
6442 `(("pkg-config" ,pkg-config)
6443 ("gettext" ,gettext-minimal)))
6444 (inputs
6445 `(("eog" ,eog)
6446 ("glib" ,glib)
6447 ("gtk+" ,gtk+)
6448 ("libpeas" ,libpeas)
6449 ("libexif" ,libexif)
6450 ("libchamplain" ,libchamplain)))
6451 (description
6452 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6453 notably:
6454
6455 @itemize
6456 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6457 @item @dfn{Map}, which displays a map of where the picture was taken on the
6458 side panel;
6459 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6460 @end itemize\n")
6461
6462 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6463 ;; long suspicious byte stream that goes to a
6464 ;; ".gresource.eog_postasa_plugin" ELF section.
6465 (license license:gpl2+)))
6466
6467 (define-public libgudev
6468 (package
6469 (name "libgudev")
6470 (version "232")
6471 (source (origin
6472 (method url-fetch)
6473 (uri (string-append "mirror://gnome/sources/" name "/"
6474 version "/" name "-" version ".tar.xz"))
6475 (sha256
6476 (base32
6477 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6478 (build-system gnu-build-system)
6479 (arguments
6480 '(#:configure-flags
6481 ;; umockdev depends on libgudev.
6482 (list "--disable-umockdev")))
6483 (native-inputs
6484 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6485 ("gobject-introspection" ,gobject-introspection)
6486 ("pkg-config" ,pkg-config)))
6487 (propagated-inputs
6488 `(("glib" ,glib))) ; required by gudev-1.0.pc
6489 (inputs
6490 `(("udev" ,eudev)))
6491 (home-page "https://wiki.gnome.org/Projects/libgudev")
6492 (synopsis "GObject bindings for libudev")
6493 (description
6494 "This library provides GObject bindings for libudev. It was originally
6495 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6496 (license license:lgpl2.1+)))
6497
6498 (define-public gvfs
6499 (package
6500 (name "gvfs")
6501 (version "1.40.2")
6502 (source (origin
6503 (method url-fetch)
6504 (uri (string-append "mirror://gnome/sources/gvfs/"
6505 (version-major+minor version) "/"
6506 "gvfs-" version ".tar.xz"))
6507 (sha256
6508 (base32
6509 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6510 ;; This patch may be removed when upgrading to version 1.46.x.
6511 (patches
6512 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6513 (build-system meson-build-system)
6514 (arguments
6515 '(#:glib-or-gtk? #t
6516 #:configure-flags
6517 (list "-Dsystemduserunitdir=no"
6518 "-Dtmpfilesdir=no"
6519 ;; Otherwise, the RUNPATH will lack the final path component.
6520 (string-append "-Dc_link_args=-Wl,-rpath="
6521 (assoc-ref %outputs "out") "/lib/gvfs"))))
6522 (native-inputs
6523 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6524 ("gettext" ,gettext-minimal)
6525 ("gtk-doc" ,gtk-doc/stable)
6526 ("pkg-config" ,pkg-config)
6527 ("xsltproc" ,libxslt)))
6528 (inputs
6529 `(("avahi" ,avahi)
6530 ("docbook-xml" ,docbook-xml-4.2)
6531 ("docbook-xsl" ,docbook-xsl)
6532 ("dbus" ,dbus)
6533 ("elogind" ,elogind)
6534 ("fuse" ,fuse)
6535 ("gcr" ,gcr)
6536 ("glib" ,glib)
6537 ("gnome-online-accounts" ,gnome-online-accounts)
6538 ("libarchive" ,libarchive)
6539 ("libbluray" ,libbluray)
6540 ("libcap" ,libcap)
6541 ("libcdio-paranoia" ,libcdio-paranoia)
6542 ("libgcrypt" ,libgcrypt)
6543 ("libgdata" ,libgdata)
6544 ("libgphoto2" ,libgphoto2)
6545 ("libgudev" ,libgudev)
6546 ("libimobiledevice" ,libimobiledevice)
6547 ("libmtp" ,libmtp)
6548 ("libnfs" ,libnfs)
6549 ("libsecret" ,libsecret)
6550 ("libsmbclient" ,samba)
6551 ("libsoup" ,libsoup)
6552 ("libxml2" ,libxml2)
6553 ("openssh" ,openssh)
6554 ("polkit" ,polkit)
6555 ("udisks" ,udisks)))
6556 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6557 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6558 "CVE-2019-12448"
6559 "CVE-2019-12449"))))
6560 (home-page "https://wiki.gnome.org/gvfs/")
6561 (synopsis "Userspace virtual file system for GIO")
6562 (description
6563 "GVFS is a userspace virtual file system designed to work with the I/O
6564 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6565 to all applications using the GIO API. It also supports exposing the GVFS
6566 mounts to non-GIO applications using FUSE.
6567
6568 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6569 DAV, and others.")
6570 (license license:lgpl2.0+)))
6571
6572 (define-public gusb
6573 (package
6574 (name "gusb")
6575 (version "0.3.5")
6576 (source (origin
6577 (method git-fetch)
6578 (uri (git-reference
6579 (url "https://github.com/hughsie/libgusb")
6580 (commit version)))
6581 (file-name (git-file-name name version))
6582 (sha256
6583 (base32
6584 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6585 (build-system meson-build-system)
6586 (native-inputs
6587 `(("gobject-introspection" ,gobject-introspection)
6588 ("pkg-config" ,pkg-config)
6589 ("vala" ,vala)
6590 ("gtk-doc" ,gtk-doc/stable)))
6591 (propagated-inputs
6592 ;; Both of these are required by gusb.pc.
6593 `(("glib" ,glib)
6594 ("libusb" ,libusb)))
6595 (arguments
6596 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6597 (home-page "https://github.com/hughsie/libgusb")
6598 (synopsis "GLib binding for libusb1")
6599 (description
6600 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6601 asynchronous control, bulk and interrupt transfers with proper cancellation
6602 and integration into a mainloop. This makes it easy to integrate low level
6603 USB transfers with your high-level application or system daemon.")
6604 (license license:lgpl2.1+)))
6605
6606 (define-public simple-scan
6607 (package
6608 (name "simple-scan")
6609 (version "3.38.2")
6610 (source
6611 (origin
6612 (method url-fetch)
6613 (uri (string-append "mirror://gnome/sources/simple-scan/"
6614 (version-major+minor version) "/"
6615 "simple-scan-" version ".tar.xz"))
6616 (sha256
6617 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6618 (build-system meson-build-system)
6619 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6620 (arguments
6621 '(#:glib-or-gtk? #t))
6622 (inputs
6623 `(("gtk" ,gtk+)
6624 ("zlib" ,zlib)
6625 ("cairo" ,cairo)
6626 ("colord" ,colord)
6627 ("gdk-pixbuf" ,gdk-pixbuf)
6628 ("gusb" ,gusb)
6629 ("libsane" ,sane-backends)))
6630 (native-inputs
6631 `(("gettext" ,gettext-minimal)
6632 ("itstool" ,itstool)
6633 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6634 ("pkg-config" ,pkg-config)
6635 ("vala" ,vala)
6636 ("xmllint" ,libxml2)))
6637 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6638 (synopsis "Document and image scanner")
6639 (description
6640 "Document Scanner is an easy-to-use application that lets you connect your
6641 scanner and quickly capture images and documents in an appropriate format. It
6642 supports any scanner for which a suitable SANE driver is available, which is
6643 almost all of them.")
6644 (license license:gpl3+)))
6645
6646 (define-public eolie
6647 (package
6648 (name "eolie")
6649 (version "0.9.101")
6650 (source (origin
6651 (method url-fetch)
6652 (uri (string-append "https://adishatz.org/eolie/eolie-"
6653 version ".tar.xz"))
6654 (sha256
6655 (base32
6656 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6657 (build-system meson-build-system)
6658 (arguments
6659 `(#:glib-or-gtk? #t
6660 #:phases
6661 (modify-phases %standard-phases
6662 (add-after 'unpack 'skip-gtk-update-icon-cache
6663 ;; Don't create 'icon-theme.cache'.
6664 (lambda _
6665 (substitute* "meson_post_install.py"
6666 (("gtk-update-icon-cache") "true"))
6667 #t))
6668 (add-after 'wrap 'wrap-more
6669 (lambda* (#:key inputs outputs #:allow-other-keys)
6670 (let* ((out (assoc-ref outputs "out"))
6671 ;; These libraries must be on LD_LIBRARY_PATH.
6672 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6673 "atk" "gtk+" "gsettings-desktop-schemas"
6674 "gobject-introspection"))
6675 (path (string-join
6676 (map (lambda (lib)
6677 (string-append (assoc-ref inputs lib) "/lib"))
6678 libs)
6679 ":")))
6680 (wrap-program (string-append out "/bin/eolie")
6681 `("LD_LIBRARY_PATH" ":" prefix (,path))
6682 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6683 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6684 #t)))))
6685 (native-inputs
6686 `(("intltool" ,intltool)
6687 ("itstool" ,itstool)
6688 ("pkg-config" ,pkg-config)
6689 ("python" ,python)
6690 ("glib:bin" ,glib "bin")))
6691 (inputs
6692 `(("gobject-introspection" ,gobject-introspection)
6693 ("glib-networking" ,glib-networking)
6694 ("cairo" ,cairo)
6695 ("gtk+" ,gtk+)
6696 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6697 ("python" ,python-wrapper)
6698 ("python-dateutil" ,python-dateutil)
6699 ("python-pyfxa" ,python-pyfxa)
6700 ("python-pygobject" ,python-pygobject)
6701 ("python-pycairo" ,python-pycairo)
6702 ("python-pycrypto" ,python-pycrypto)
6703 ("libhandy" ,libhandy)
6704 ("libsecret" ,libsecret)
6705 ("gtkspell3" ,gtkspell3)
6706 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6707 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6708 ("webkitgtk" ,webkitgtk)))
6709 (home-page "https://wiki.gnome.org/Apps/Eolie")
6710 (synopsis "Web browser for GNOME")
6711 (description
6712 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6713 a secret password store, an adblocker, and a modern UI.")
6714 (license license:gpl3+)))
6715
6716 (define-public epiphany
6717 (package
6718 (name "epiphany")
6719 (version "3.34.4")
6720 (source (origin
6721 (method url-fetch)
6722 (uri (string-append "mirror://gnome/sources/epiphany/"
6723 (version-major+minor version) "/"
6724 "epiphany-" version ".tar.xz"))
6725 (sha256
6726 (base32
6727 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6728
6729 (build-system meson-build-system)
6730 (arguments
6731 '(#:glib-or-gtk? #t
6732 #:phases
6733 (modify-phases %standard-phases
6734 (add-after 'unpack 'skip-gtk-update-icon-cache
6735 ;; Don't create 'icon-theme.cache'.
6736 (lambda _
6737 (substitute* "post_install.py"
6738 (("gtk-update-icon-cache") "true"))
6739 #t))
6740 (add-after 'unpack 'disable-failing-tests
6741 (lambda _
6742 (substitute* "tests/meson.build"
6743 ;; embed_shell fails, because webkitgtk apparently no longer supports
6744 ;; overriding the ftp schema
6745 ;; web_app_utils fails due to missing network access
6746 (("(embed_shell|web_app_utils)_test,")
6747 "find_program('sh'), args: ['-c', 'exit 77'],"))
6748 #t))
6749 (add-before 'check 'pre-check
6750 (lambda _
6751 ;; Tests require a running X server.
6752 (system "Xvfb :1 &")
6753 (setenv "DISPLAY" ":1")
6754 #t)))
6755 #:configure-flags
6756 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6757 (list (string-append "-Dc_link_args=-Wl,-rpath="
6758 (assoc-ref %outputs "out") "/lib/epiphany"))))
6759 (propagated-inputs
6760 `(("dconf" ,dconf)))
6761 (native-inputs
6762 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6763 ("glib:bin" ,glib "bin") ; for glib-mkenums
6764 ("intltool" ,intltool)
6765 ("itstool" ,itstool)
6766 ("pkg-config" ,pkg-config)
6767 ("xmllint" ,libxml2)
6768 ("xorg-server" ,xorg-server-for-tests)))
6769 (inputs
6770 `(("avahi" ,avahi)
6771 ("gcr" ,gcr)
6772 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6773 ("glib-networking" ,glib-networking)
6774 ("gnome-desktop" ,gnome-desktop)
6775 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6776 ("json-glib" ,json-glib)
6777 ("iso-codes" ,iso-codes)
6778 ("libdazzle" ,libdazzle)
6779 ("libnotify" ,libnotify)
6780 ("libsecret" ,libsecret)
6781 ("libxslt" ,libxslt)
6782 ("nettle" ,nettle) ; for hogweed
6783 ("sqlite" ,sqlite)
6784 ("webkitgtk" ,webkitgtk)))
6785 (home-page "https://wiki.gnome.org/Apps/Web")
6786 (synopsis "GNOME web browser")
6787 (description
6788 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6789 principles are simplicity and standards compliance.")
6790 (license license:gpl2+)))
6791
6792 (define-public d-feet
6793 (package
6794 (name "d-feet")
6795 (version "0.3.14")
6796 (source (origin
6797 (method url-fetch)
6798 (uri (string-append "mirror://gnome/sources/" name "/"
6799 (version-major+minor version) "/"
6800 name "-" version ".tar.xz"))
6801 (sha256
6802 (base32
6803 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6804 (build-system glib-or-gtk-build-system)
6805 (arguments
6806 '(#:out-of-source? #f ; tests need to run in the source directory.
6807 #:phases
6808 (modify-phases %standard-phases
6809 (add-before
6810 'check 'pre-check
6811 (lambda _
6812 ;; The test suite requires a running X server.
6813 (system "Xvfb :1 &")
6814 (setenv "DISPLAY" ":1")
6815 ;; Don't fail on missing '/etc/machine-id'.
6816 (setenv "DBUS_FATAL_WARNINGS" "0")
6817 ;; tests.py and window.py don't meet E402:
6818 ;; E402 module level import not at top of file
6819 (substitute* "src/tests/Makefile"
6820 (("--ignore=E123") "--ignore=E123,E402"))
6821 #t))
6822 (add-after
6823 'install 'wrap-program
6824 (lambda* (#:key outputs #:allow-other-keys)
6825 (let ((prog (string-append (assoc-ref outputs "out")
6826 "/bin/d-feet")))
6827 (wrap-program prog
6828 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6829 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6830 #t))))))
6831 (native-inputs
6832 `(("intltool" ,intltool)
6833 ("itstool" ,itstool)
6834 ("pkg-config" ,pkg-config)
6835 ("python-pep8" ,python-pep8)
6836 ("xmllint" ,libxml2)
6837 ("xorg-server" ,xorg-server-for-tests)))
6838 (inputs
6839 `(("gobject-introspection" ,gobject-introspection)
6840 ("gtk+" ,gtk+)
6841 ("python" ,python-wrapper)
6842 ("hicolor-icon-theme" ,hicolor-icon-theme)
6843 ("python-pygobject" ,python-pygobject)))
6844 (home-page "https://wiki.gnome.org/Apps/DFeet")
6845 (synopsis "D-Bus debugger")
6846 (description
6847 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6848 of running programs and invoke methods on those interfaces.")
6849 (license license:gpl2+)))
6850
6851 (define-public yelp-xsl
6852 (package
6853 (name "yelp-xsl")
6854 (version "3.34.2")
6855 (source
6856 (origin
6857 (method url-fetch)
6858 (uri
6859 (string-append "mirror://gnome/sources/" name "/"
6860 (version-major+minor version) "/"
6861 name "-" version ".tar.xz"))
6862 (sha256
6863 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6864 (build-system gnu-build-system)
6865 (native-inputs
6866 `(("gettext-minimal" ,gettext-minimal)
6867 ("itstool" ,itstool)
6868 ("xmllint" ,libxml2)))
6869 (synopsis "XSL stylesheets for Yelp")
6870 (description "Yelp-XSL is a collection of programs and data files to help
6871 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6872 that can be built upon for help viewers and publishing systems. These
6873 stylesheets output JavaScript and CSS content, and reference images
6874 provided by yelp-xsl. It also redistributes copies of the jQuery and
6875 jQuery.Syntax JavaScript libraries.")
6876 (home-page "https://wiki.gnome.org/Apps/Yelp")
6877 (license
6878 (list
6879 ;; XSLT
6880 license:gpl2+
6881 ;; Images
6882 license:lgpl2.1+
6883 ;; JavaScript
6884 license:expat))))
6885
6886 (define-public yelp
6887 (package
6888 (name "yelp")
6889 (version "3.32.2")
6890 (source (origin
6891 (method url-fetch)
6892 (uri (string-append "mirror://gnome/sources/" name "/"
6893 (version-major+minor version) "/"
6894 name "-" version ".tar.xz"))
6895 (sha256
6896 (base32
6897 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6898 (build-system glib-or-gtk-build-system)
6899 (native-inputs
6900 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6901 ("intltool" ,intltool)
6902 ("itstool" ,itstool)
6903 ("pkg-config" ,pkg-config)))
6904 (propagated-inputs
6905 `(("dconf" ,dconf)))
6906 (inputs
6907 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6908 ("libxslt" ,libxslt)
6909 ("sqlite" ,sqlite)
6910 ("webkitgtk" ,webkitgtk)
6911 ("yelp-xsl" ,yelp-xsl)))
6912 (home-page "https://wiki.gnome.org/Apps/Yelp")
6913 (synopsis "GNOME help browser")
6914 (description
6915 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6916 man, info, and HTML documents. It can locate documents according to the
6917 freedesktop.org help system specification.")
6918 (license license:gpl2+)))
6919
6920 (define-public yelp-tools
6921 (package
6922 (name "yelp-tools")
6923 (version "3.32.2")
6924 (source
6925 (origin
6926 (method url-fetch)
6927 (uri
6928 (string-append "mirror://gnome/sources/" name "/"
6929 (version-major+minor version) "/"
6930 name "-" version ".tar.xz"))
6931 (sha256
6932 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6933 (build-system gnu-build-system)
6934 (native-inputs
6935 `(("pkg-config" ,pkg-config)))
6936 (inputs
6937 `(("yelp-xsl" ,yelp-xsl)))
6938 (propagated-inputs
6939 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6940 `(("itstool" ,itstool)
6941 ("xmllint" ,libxml2)
6942 ("xsltproc" ,libxslt)))
6943 (synopsis "Yelp documentation tools")
6944 (description
6945 "Yelp-tools is a collection of scripts and build utilities to help create,
6946 manage, and publish documentation for Yelp and the web. Most of the heavy
6947 lifting is done by packages like yelp-xsl and itstool. This package just
6948 wraps things up in a developer-friendly way.")
6949 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6950 (license license:gpl2+)))
6951
6952 (define-public libgee
6953 (package
6954 (name "libgee")
6955 (version "0.20.3")
6956 (source (origin
6957 (method url-fetch)
6958 (uri (string-append "mirror://gnome/sources/libgee/"
6959 (version-major+minor version) "/"
6960 "libgee-" version ".tar.xz"))
6961 (sha256
6962 (base32
6963 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6964 (build-system gnu-build-system)
6965 (arguments
6966 `(#:phases
6967 (modify-phases %standard-phases
6968 (add-after 'unpack 'fix-introspection-install-dir
6969 (lambda* (#:key outputs #:allow-other-keys)
6970 (let ((out (assoc-ref outputs "out")))
6971 (substitute* "gee/Makefile.in"
6972 (("@INTROSPECTION_GIRDIR@")
6973 (string-append out "/share/gir-1.0/"))
6974 (("@INTROSPECTION_TYPELIBDIR@")
6975 (string-append out "/lib/girepository-1.0/")))))))))
6976 (native-inputs
6977 `(("glib" ,glib "bin")
6978 ("pkg-config" ,pkg-config)))
6979 (inputs
6980 `(("glib" ,glib)
6981 ("gobject-introspection" ,gobject-introspection)))
6982 (home-page "https://wiki.gnome.org/Projects/Libgee")
6983 (synopsis "GObject collection library")
6984 (description
6985 "Libgee is a utility library providing GObject-based interfaces and
6986 classes for commonly used data structures.")
6987 (license license:lgpl2.1+)))
6988
6989 (define-public gexiv2
6990 (package
6991 (name "gexiv2")
6992 (version "0.12.2")
6993 (source (origin
6994 (method url-fetch)
6995 (uri (string-append "mirror://gnome/sources/" name "/"
6996 (version-major+minor version) "/"
6997 name "-" version ".tar.xz"))
6998 (sha256
6999 (base32
7000 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7001 (build-system meson-build-system)
7002 (native-inputs
7003 `(("gcr" ,gcr)
7004 ("glib" ,glib "bin")
7005 ("pkg-config" ,pkg-config)
7006 ("vala" ,vala)))
7007 (propagated-inputs
7008 ;; Listed in "Requires" section of gexiv2.pc
7009 `(("exiv2" ,exiv2)))
7010 (inputs
7011 `(("glib" ,glib)
7012 ("gobject-introspection" ,gobject-introspection)))
7013 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7014 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7015 (description
7016 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7017 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7018 metadata in photo and video files of various formats.")
7019 (license license:gpl2+)))
7020
7021 (define-public shotwell
7022 (package
7023 (name "shotwell")
7024 (version "0.30.11")
7025 (source (origin
7026 (method url-fetch)
7027 (uri (string-append "mirror://gnome/sources/shotwell/"
7028 (version-major+minor version) "/"
7029 "shotwell-" version ".tar.xz"))
7030 (sha256
7031 (base32
7032 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7033 (build-system meson-build-system)
7034 (arguments
7035 '(#:glib-or-gtk? #t
7036 #:phases
7037 (modify-phases %standard-phases
7038 (add-after 'unpack 'skip-gtk-update-icon-cache
7039 (lambda _
7040 (substitute* "build-aux/meson/postinstall.py"
7041 (("gtk-update-icon-cache") (which "true"))
7042 (("update-desktop-database") (which "true")))
7043 #t)))))
7044 (propagated-inputs
7045 `(("dconf" ,dconf)))
7046 (native-inputs
7047 `(("gettext" ,gettext-minimal)
7048 ("glib:bin" ,glib "bin")
7049 ("itstool" ,itstool)
7050 ("pkg-config" ,pkg-config)
7051 ("vala" ,vala)))
7052 (inputs
7053 `(("gcr" ,gcr)
7054 ("gexiv2" ,gexiv2)
7055 ("gst-plugins-base" ,gst-plugins-base)
7056 ("gstreamer" ,gstreamer)
7057 ("json-glib" ,json-glib)
7058 ("libgdata" ,libgdata)
7059 ("libgee" ,libgee)
7060 ("libgphoto2" ,libgphoto2)
7061 ("libgudev" ,libgudev)
7062 ("libraw" ,libraw)
7063 ("libsoup" ,libsoup)
7064 ("libxml2" ,libxml2)
7065 ("sqlite" ,sqlite)
7066 ("webkitgtk" ,webkitgtk)))
7067 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7068 (synopsis "Photo manager for GNOME 3")
7069 (description
7070 "Shotwell is a digital photo manager designed for the GNOME desktop
7071 environment. It allows you to import photos from disk or camera, organize
7072 them by keywords and events, view them in full-window or fullscreen mode, and
7073 share them with others via social networking and more.")
7074 (license license:lgpl2.1+)))
7075
7076 (define-public file-roller
7077 (package
7078 (name "file-roller")
7079 (version "3.38.0")
7080 (source (origin
7081 (method url-fetch)
7082 (uri (string-append "mirror://gnome/sources/file-roller/"
7083 (version-major+minor version) "/"
7084 "file-roller-" version ".tar.xz"))
7085 (sha256
7086 (base32
7087 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7088 (build-system meson-build-system)
7089 (native-inputs
7090 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7091 ("intltool" ,intltool)
7092 ("itstool" ,itstool)
7093 ("pkg-config" ,pkg-config)
7094 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7095 ("glib:bin" ,glib "bin")))
7096 ;; TODO: Add libnautilus.
7097 (inputs
7098 `(("gtk+" ,gtk+)
7099 ("gdk-pixbuf" ,gdk-pixbuf)
7100 ("json-glib" ,json-glib)
7101 ("libarchive" ,libarchive)
7102 ("libnotify" ,libnotify)
7103 ("nettle" ,nettle)
7104 ("libxml2" ,libxml2)))
7105 (synopsis "Graphical archive manager for GNOME")
7106 (description "File Roller is an archive manager for the GNOME desktop
7107 environment that allows users to view, unpack, and create compressed archives
7108 such as gzip tarballs.")
7109 (home-page "http://fileroller.sourceforge.net/")
7110 (license license:gpl2+)))
7111
7112 (define-public gnome-session
7113 (package
7114 (name "gnome-session")
7115 (version "3.34.2")
7116 (source (origin
7117 (method url-fetch)
7118 (uri (string-append "mirror://gnome/sources/" name "/"
7119 (version-major+minor version) "/"
7120 name "-" version ".tar.xz"))
7121 (sha256
7122 (base32
7123 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7124 (arguments
7125 '(#:glib-or-gtk? #t
7126 #:phases
7127 (modify-phases %standard-phases
7128 (add-before 'configure 'pre-configure
7129 (lambda* (#:key outputs #:allow-other-keys)
7130 ;; Use elogind instead of systemd.
7131 (substitute* "meson.build"
7132 (("libsystemd-login") "libelogind")
7133 (("and libsystemd_daemon_dep.found.*") ","))
7134 (substitute* "gnome-session/gsm-systemd.c"
7135 (("#include <systemd/sd-login.h>")
7136 "#include <elogind/sd-login.h>"))
7137 ;; Remove uses of the systemd daemon.
7138 (substitute* "gnome-session/gsm-autostart-app.c"
7139 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7140 #t))
7141 (add-after 'install 'wrap-gnome-session
7142 (lambda* (#:key inputs outputs #:allow-other-keys)
7143 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7144 (let ((glib (assoc-ref inputs "glib:bin"))
7145 (out (assoc-ref outputs "out")))
7146 (wrap-program (string-append out "/bin/gnome-session")
7147 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7148 #t))))
7149
7150 #:configure-flags
7151 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7152 "-Dman=false" ; FIXME: disabled because of docbook validation error
7153 "-Dsystemd_journal=false")))
7154 (build-system meson-build-system)
7155 (native-inputs
7156 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7157 ("pkg-config" ,pkg-config)
7158 ("intltool" ,intltool)
7159 ("xsltproc" ,libxslt)
7160 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7161 ("docbook-xsl" ,docbook-xsl)
7162 ("docbook-xml" ,docbook-xml)
7163 ("xmlto" ,xmlto)))
7164 (inputs
7165 `(("elogind" ,elogind)
7166 ("gnome-desktop" ,gnome-desktop)
7167 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7168 ("gtk+" ,gtk+)
7169 ("json-glib" ,json-glib)
7170 ("libsm" ,libsm)
7171 ("libxcomposite" ,libxcomposite)
7172 ("libxtst" ,libxtst)
7173 ("mesa" ,mesa)
7174 ("upower" ,upower)
7175 ("xtrans" ,xtrans)))
7176 (synopsis "Session manager for GNOME")
7177 (description
7178 "This package contains the GNOME session manager, as well as a
7179 configuration program to choose applications starting on login.")
7180 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7181 (license license:gpl2+)))
7182
7183 (define-public gjs
7184 (package
7185 (name "gjs")
7186 (version "1.58.3")
7187 (source (origin
7188 (method url-fetch)
7189 (uri (string-append "mirror://gnome/sources/" name "/"
7190 (version-major+minor version) "/"
7191 name "-" version ".tar.xz"))
7192 (sha256
7193 (base32
7194 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7195 (build-system gnu-build-system)
7196 (arguments
7197 '(#:phases
7198 (modify-phases %standard-phases
7199 (add-before
7200 'check 'pre-check
7201 (lambda _
7202 ;; The test suite requires a running X server.
7203 (system "Xvfb :1 &")
7204 (setenv "DISPLAY" ":1")
7205
7206 ;; For the missing /etc/machine-id.
7207 (setenv "DBUS_FATAL_WARNINGS" "0")
7208
7209 ;; Our mozjs-38 package does not compile the required Intl API
7210 ;; support for these failing tests.
7211 (substitute* "installed-tests/js/testLocale.js"
7212 ((".*toBeDefined.*") "")
7213 ((".*expect\\(datestr\\).*") ""))
7214 (substitute* "installed-tests/scripts/testCommandLine.sh"
7215 (("Valentín") "")
7216 (("☭") ""))
7217 #t)))))
7218 (native-inputs
7219 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7220 ("pkg-config" ,pkg-config)
7221 ("xmllint" ,libxml2)
7222 ;; For testing
7223 ("dbus-launch" ,dbus)
7224 ("dconf" ,dconf) ; required to properly store settings
7225 ("uuidgen" ,util-linux)
7226 ("xvfb" ,xorg-server-for-tests)))
7227 (propagated-inputs
7228 ;; These are all in the Requires.private field of gjs-1.0.pc.
7229 `(("cairo" ,cairo)
7230 ("gobject-introspection" ,gobject-introspection)
7231 ("mozjs" ,mozjs-60)))
7232 (inputs
7233 `(("gtk+" ,gtk+)
7234 ("readline" ,readline)))
7235 (synopsis "Javascript bindings for GNOME")
7236 (home-page "https://live.gnome.org/Gjs")
7237 (description
7238 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7239 javascript engine and the GObject introspection framework.")
7240 (license license:gpl2+)))
7241
7242 (define-public gedit
7243 (package
7244 (name "gedit")
7245 (version "3.34.1")
7246 (source (origin
7247 (method url-fetch)
7248 (uri (string-append "mirror://gnome/sources/" name "/"
7249 (version-major+minor version) "/"
7250 name "-" version ".tar.xz"))
7251 (sha256
7252 (base32
7253 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7254 (build-system meson-build-system)
7255 (arguments
7256 `(#:glib-or-gtk? #t
7257 #:configure-flags
7258 ;; Otherwise, the RUNPATH will lack the final path component.
7259 (list (string-append "-Dc_link_args=-Wl,-rpath="
7260 (assoc-ref %outputs "out") "/lib/gedit"))
7261
7262 ;; XXX: Generated .h files are sometimes used before being built.
7263 #:parallel-build? #f
7264
7265 #:phases
7266 (modify-phases %standard-phases
7267 (add-after 'unpack 'skip-gtk-update-icon-cache
7268 ;; Don't create 'icon-theme.cache'.
7269 (lambda _
7270 (substitute* "build-aux/meson/post_install.py"
7271 (("gtk-update-icon-cache") (which "true")))
7272 #t))
7273 (add-after 'unpack 'patch-libgd-fetch
7274 (lambda* (#:key inputs #:allow-other-keys)
7275 (let ((libgd (assoc-ref inputs "libgd")))
7276 ;; Calling git is unnecessary because libgd is fetched as a
7277 ;; native input to this package.
7278 (substitute* "meson.build"
7279 ((".*git.*") ""))
7280 (copy-recursively libgd "subprojects/libgd")
7281 #t)))
7282 (add-after 'install 'wrap-gedit
7283 (lambda* (#:key inputs outputs #:allow-other-keys)
7284 (let ((out (assoc-ref outputs "out"))
7285 (gtksourceview (assoc-ref inputs "gtksourceview"))
7286 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7287 (python-path (getenv "PYTHONPATH")))
7288 (wrap-program (string-append out "/bin/gedit")
7289 ;; For plugins.
7290 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7291 `("PYTHONPATH" ":" prefix (,python-path))
7292 ;; For language-specs.
7293 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7294 "/share")))))
7295 #t)))))
7296 (propagated-inputs
7297 `(("dconf" ,dconf)))
7298 (native-inputs
7299 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7300 ("intltool" ,intltool)
7301 ("itstool" ,itstool)
7302 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7303 ("gobject-introspection" ,gobject-introspection)
7304 ("libgd"
7305 ,(origin
7306 (method git-fetch)
7307 (uri (git-reference
7308 (url "https://gitlab.gnome.org/GNOME/libgd")
7309 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7310 (file-name (git-file-name "libgd" version))
7311 (sha256
7312 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7313 ("pkg-config" ,pkg-config)))
7314 (inputs
7315 `(("glib" ,glib)
7316 ("gspell" ,gspell)
7317 ("gtk+" ,gtk+)
7318 ("gtksourceview" ,gtksourceview)
7319 ("libpeas" ,libpeas)
7320 ("libxml2" ,libxml2)
7321 ("iso-codes" ,iso-codes)
7322 ("python-pygobject" ,python-pygobject)
7323 ("python" ,python)
7324 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7325 ("libx11" ,libx11)
7326 ("vala" ,vala)
7327 ("adwaita-icon-theme" ,adwaita-icon-theme)
7328 ("libsoup" ,libsoup)
7329 ("gnome-desktop" ,gnome-desktop)))
7330 (home-page "https://wiki.gnome.org/Apps/Gedit")
7331 (synopsis "GNOME text editor")
7332 (description "While aiming at simplicity and ease of use, gedit is a
7333 powerful general purpose text editor.")
7334 (license license:gpl2+)))
7335
7336 (define-public zenity
7337 (package
7338 (name "zenity")
7339 (version "3.32.0")
7340 (source (origin
7341 (method url-fetch)
7342 (uri (string-append "mirror://gnome/sources/zenity/"
7343 (version-major+minor version) "/"
7344 "zenity-" version ".tar.xz"))
7345 (sha256
7346 (base32
7347 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7348 (build-system gnu-build-system)
7349 (native-inputs
7350 `(("gettext" ,gettext-minimal)
7351 ("itstool" ,itstool)
7352 ("pkg-config" ,pkg-config)))
7353 (inputs
7354 `(("libnotify" ,libnotify)
7355 ("webkitgtk" ,webkitgtk)))
7356 (synopsis "Display graphical dialog boxes from shell scripts")
7357 (home-page "https://www.gnome.org")
7358 (description
7359 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7360 to display dialog boxes from the commandline and shell scripts.")
7361 (license license:lgpl2.0+)))
7362
7363 (define-public mutter
7364 (package
7365 (name "mutter")
7366 (version "3.34.2")
7367 (source (origin
7368 (method url-fetch)
7369 (uri (string-append "mirror://gnome/sources/" name "/"
7370 (version-major+minor version) "/"
7371 name "-" version ".tar.xz"))
7372 (sha256
7373 (base32
7374 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7375 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7376 ;; versions of cogl and clutter. As a result, many of the inputs,
7377 ;; propagated-inputs, and configure flags used in cogl and clutter are
7378 ;; needed here as well.
7379 (build-system meson-build-system)
7380 (arguments
7381 '(;; XXX: All mutter tests fail with the following error:
7382 ;; Settings schema 'org.gnome.mutter' is not installed
7383 #:tests? #f
7384 #:glib-or-gtk? #t
7385 #:configure-flags
7386 ;; TODO: Enable profiler when Sysprof is packaged.
7387 (list "-Dprofiler=false"
7388 ;; Otherwise, the RUNPATH will lack the final path component.
7389 (string-append "-Dc_link_args=-Wl,-rpath="
7390 (assoc-ref %outputs "out") "/lib:"
7391 (assoc-ref %outputs "out") "/lib/mutter-5")
7392
7393 ;; The following flags are needed for the bundled clutter
7394 (string-append "-Dxwayland_path="
7395 (assoc-ref %build-inputs "xorg-server-xwayland")
7396 "/bin/Xwayland")
7397
7398 ;; the remaining flags are needed for the bundled cogl
7399 (string-append "-Dopengl_libname="
7400 (assoc-ref %build-inputs "mesa")
7401 "/lib/libGL.so"))
7402 #:phases (modify-phases %standard-phases
7403 (add-after 'unpack 'fix-build-with-mesa-20
7404 (lambda _
7405 ;; Mimic upstream commit a444a4c5f58ea516ad for
7406 ;; compatibility with Mesa 20. Remove for 3.36.
7407 (substitute* '("src/backends/meta-egl-ext.h"
7408 "src/backends/meta-egl.c"
7409 "src/backends/meta-egl.h")
7410 (("#include <EGL/eglext\\.h>" all)
7411 (string-append all "\n#include <EGL/eglmesaext.h>")))
7412 (substitute* "cogl/cogl/meson.build"
7413 (("#include <EGL/eglext\\.h>" all)
7414 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7415 #t)))))
7416 (native-inputs
7417 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7418 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7419 ("gobject-introspection" ,gobject-introspection)
7420 ("intltool" ,intltool)
7421 ("pkg-config" ,pkg-config)
7422 ("xorg-server" ,xorg-server-for-tests)
7423 ;; For git build
7424 ("autoconf" ,autoconf)
7425 ("automake" ,automake)
7426 ("libtool" ,libtool)))
7427 (propagated-inputs
7428 `(;; libmutter.pc refers to these:
7429 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7430 ("gtk+" ,gtk+)
7431 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7432 ("atk" ,atk)
7433 ("cairo" ,cairo)
7434 ("gdk-pixbuf" ,gdk-pixbuf)
7435 ("glib" ,glib)
7436 ("json-glib" ,json-glib)
7437 ("libinput" ,libinput)
7438 ("libx11" ,libx11)
7439 ("libxcomposite" ,libxcomposite)
7440 ("libxdamage" ,libxdamage)
7441 ("libxext" ,libxext)
7442 ("libxfixes" ,libxfixes)
7443 ("libxkbcommon" ,libxkbcommon)
7444 ("libxrandr" ,libxrandr)
7445 ("mesa" ,mesa)
7446 ("pango" ,pango)
7447 ("udev" ,eudev)
7448 ("xinput" ,xinput)))
7449 (inputs
7450 `(("elogind" ,elogind)
7451 ("gnome-desktop" ,gnome-desktop)
7452 ("gnome-settings-daemon" ,gnome-settings-daemon)
7453 ("libcanberra-gtk" ,libcanberra)
7454 ("libgudev" ,libgudev)
7455 ("libice" ,libice)
7456 ("libsm" ,libsm)
7457 ("libwacom" ,libwacom)
7458 ("libxkbfile" ,libxkbfile)
7459 ("libxrandr" ,libxrandr)
7460 ("libxtst" ,libxtst)
7461 ("pipewire" ,pipewire)
7462 ("startup-notification" ,startup-notification)
7463 ("upower-glib" ,upower)
7464 ("xkeyboard-config" ,xkeyboard-config)
7465 ("xorg-server-xwayland" ,xorg-server-xwayland)
7466 ("zenity" ,zenity)))
7467 (synopsis "Window and compositing manager")
7468 (home-page "https://www.gnome.org")
7469 (description
7470 "Mutter is a window and compositing manager that displays and manages your
7471 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7472 Clutter toolkit with solid window-management logic inherited from the Metacity
7473 window manager.")
7474 (license license:gpl2+)))
7475
7476 (define-public gnome-online-accounts
7477 (package
7478 (name "gnome-online-accounts")
7479 (version "3.36.0")
7480 (source (origin
7481 (method url-fetch)
7482 (uri (string-append "mirror://gnome/sources/" name "/"
7483 (version-major+minor version) "/"
7484 name "-" version ".tar.xz"))
7485 (sha256
7486 (base32
7487 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7488 (outputs '("out" "lib"))
7489 (build-system glib-or-gtk-build-system)
7490 (arguments
7491 `(#:configure-flags
7492 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7493 #:phases
7494 (modify-phases %standard-phases
7495 (add-before 'configure 'patch-libgoa-output
7496 (lambda* (#:key outputs #:allow-other-keys)
7497 (let ((lib (assoc-ref outputs "lib")))
7498 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7499 (("@prefix@") lib)
7500 (("@exec_prefix@") lib)
7501 (("@libdir@") (string-append lib "/lib"))
7502 (("@includedir@") (string-append lib "/include"))
7503 (("@datadir@") (string-append lib "/share")))
7504 ;; Make sure gobject-introspection knows about the output
7505 ;; too (see <https://bugs.gnu.org/36535>).
7506 (setenv "outputs" "out lib")
7507 #t))))))
7508 (native-inputs
7509 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7510 ("gobject-introspection" ,gobject-introspection)
7511 ("intltool" ,intltool)
7512 ("pkg-config" ,pkg-config)
7513 ("vala" ,vala)
7514 ("xsltproc" ,libxslt)))
7515 (propagated-inputs
7516 `(("glib" ,glib) ; required by goa-1.0.pc
7517 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7518 (inputs
7519 `(("docbook-xsl" ,docbook-xsl)
7520 ("json-glib" ,json-glib)
7521 ("libsecret" ,libsecret)
7522 ("rest" ,rest)
7523 ("webkitgtk" ,webkitgtk)))
7524 (synopsis "Single sign-on framework for GNOME")
7525 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7526 (description
7527 "GNOME Online Accounts provides interfaces so that applications and
7528 libraries in GNOME can access the user's online accounts. It has providers for
7529 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7530 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7531 (license license:lgpl2.0+)))
7532
7533 (define-public evolution-data-server
7534 (package
7535 (name "evolution-data-server")
7536 (version "3.34.2")
7537 (source (origin
7538 (method url-fetch)
7539 (uri (string-append "mirror://gnome/sources/" name "/"
7540 (version-major+minor version) "/"
7541 name "-" version ".tar.xz"))
7542 (patches (search-patches "evolution-data-server-locales.patch"
7543 "evolution-data-server-libical-compat.patch"
7544 "evolution-data-server-CVE-2020-14928.patch"
7545 "evolution-data-server-CVE-2020-16117.patch"))
7546 (sha256
7547 (base32
7548 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7549 (build-system cmake-build-system)
7550 (arguments
7551 '(#:configure-flags
7552 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7553 (runpaths (map (lambda (s)
7554 (string-append lib "/evolution-data-server/" s))
7555 '("addressbook-backends" "calendar-backends"
7556 "camel-providers" "credential-modules"
7557 "registry-modules"))))
7558 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7559 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7560 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7561 "-DENABLE_VALA_BINDINGS=ON"
7562 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7563 (string-append lib "/evolution-data-server;")
7564 (string-join runpaths ";"))
7565 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7566 #:phases
7567 (modify-phases %standard-phases
7568 (add-after 'unpack 'disable-failing-tests
7569 (lambda _
7570 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7571 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7572 (delete-file-recursively "tests/book-migration")
7573 (substitute* "tests/CMakeLists.txt"
7574 (("add_subdirectory\\(book-migration\\)") ""))
7575 #t))
7576 (add-after 'unpack 'patch-paths
7577 (lambda _
7578 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7579 "tests/libedata-book/data-test-utils.c"
7580 "tests/libedata-book/test-book-cache-utils.c"
7581 "tests/libedata-cal/test-cal-cache-utils.c")
7582 (("/bin/rm") (which "rm")))
7583 #t))
7584 (add-before 'configure 'dont-override-rpath
7585 (lambda _
7586 (substitute* "CMakeLists.txt"
7587 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7588 ;; Remove it so the configure flag is respected.
7589 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7590 #t)))))
7591 (native-inputs
7592 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7593 ("gobject-introspection" ,gobject-introspection)
7594 ("gperf" ,gperf)
7595 ("intltool" ,intltool)
7596 ("pkg-config" ,pkg-config)
7597 ("vala" ,vala)
7598 ("python" ,python-wrapper)))
7599 (propagated-inputs
7600 ;; These are all in the Requires field of .pc files.
7601 `(("gtk+" ,gtk+)
7602 ("libical" ,libical)
7603 ("libsecret" ,libsecret)
7604 ("libsoup" ,libsoup)
7605 ("nss" ,nss)
7606 ("sqlite" ,sqlite)))
7607 (inputs
7608 `(("bdb" ,bdb)
7609 ("gcr" ,gcr)
7610 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7611 ("json-glib" ,json-glib)
7612 ("libcanberra" ,libcanberra)
7613 ("libgweather" ,libgweather)
7614 ("mit-krb5" ,mit-krb5)
7615 ("openldap" ,openldap)
7616 ("webkitgtk" ,webkitgtk)))
7617 (synopsis "Store address books and calendars")
7618 (home-page "https://wiki.gnome.org/Apps/Evolution")
7619 (description
7620 "This package provides a unified backend for programs that work with
7621 contacts, tasks, and calendar information. It was originally developed for
7622 Evolution (hence the name), but is now used by other packages as well.")
7623 (license license:lgpl2.0)))
7624
7625 (define-public caribou
7626 (package
7627 (name "caribou")
7628 (version "0.4.21")
7629 (source (origin
7630 (method url-fetch)
7631 (uri (string-append "mirror://gnome/sources/" name "/"
7632 (version-major+minor version) "/"
7633 name "-" version ".tar.xz"))
7634 (sha256
7635 (base32
7636 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7637 (build-system glib-or-gtk-build-system)
7638 (arguments
7639 '(#:phases
7640 (modify-phases %standard-phases
7641 (add-before
7642 'build 'pre-build
7643 (lambda* (#:key outputs #:allow-other-keys)
7644 (let ((out (assoc-ref outputs "out")))
7645 ;; Use absolute shared library path in Caribou-1.0.typelib.
7646 (substitute* "libcaribou/Makefile"
7647 (("--shared-library=libcaribou.so")
7648 (string-append "--shared-library="
7649 out "/lib/libcaribou.so")))
7650 #t)))
7651 (add-after 'install 'wrap-programs
7652 (lambda* (#:key outputs #:allow-other-keys)
7653 (let* ((out (assoc-ref outputs "out"))
7654 (python-path (getenv "PYTHONPATH"))
7655 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7656 (for-each
7657 (lambda (prog)
7658 (wrap-program prog
7659 `("PYTHONPATH" ":" prefix (,python-path))
7660 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7661 (list (string-append out "/bin/caribou-preferences")
7662 (string-append out "/libexec/antler-keyboard"))))
7663 #t)))))
7664 (native-inputs
7665 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7666 ("gobject-introspection" ,gobject-introspection)
7667 ("intltool" ,intltool)
7668 ("pkg-config" ,pkg-config)
7669 ("python" ,python)
7670 ("vala" ,vala)
7671 ("xsltproc" ,libxslt)))
7672 (propagated-inputs
7673 ;; caribou-1.0.pc refers to all these.
7674 `(("libgee" ,libgee)
7675 ("libxklavier" ,libxklavier)
7676 ("libxtst" ,libxtst)
7677 ("gtk+" ,gtk+)))
7678 (inputs
7679 `(("clutter" ,clutter)
7680 ("dconf" ,dconf)
7681 ("gtk+-2" ,gtk+-2)
7682 ("python-pygobject" ,python-pygobject)))
7683 (synopsis "Text entry and UI navigation application")
7684 (home-page "https://wiki.gnome.org/Projects/Caribou")
7685 (description
7686 "Caribou is an input assistive technology intended for switch and pointer
7687 users.")
7688 (license license:lgpl2.1)))
7689
7690 (define-public network-manager
7691 (package
7692 (name "network-manager")
7693 (version "1.24.0")
7694 (source (origin
7695 (method url-fetch)
7696 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7697 (version-major+minor version) "/"
7698 "NetworkManager-" version ".tar.xz"))
7699 (patches (search-patches "network-manager-plugin-path.patch"))
7700 (sha256
7701 (base32
7702 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7703 (modules '((guix build utils)))
7704 (snippet
7705 '(begin
7706 (substitute* "src/devices/wwan/nm-modem-manager.c"
7707 (("systemd") "elogind"))
7708 #t))))
7709 (build-system meson-build-system)
7710 (outputs '("out"
7711 "doc")) ; 8 MiB of gtk-doc HTML
7712 (arguments
7713 `(#:configure-flags
7714 (let ((out (assoc-ref %outputs "out"))
7715 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7716 "/sbin/dhclient")))
7717 (list
7718 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7719 ;; component.
7720 (string-append "-Dc_link_args=-Wl,-rpath="
7721 out "/lib:"
7722 out "/lib/NetworkManager/" ,version)
7723 "-Dsystemd_journal=false"
7724 "-Dsession_tracking=elogind"
7725 "-Dsuspend_resume=elogind"
7726 "-Dsystemdsystemunitdir=no"
7727 "-Dsession_tracking_consolekit=false"
7728 "-Ddhcpcd=no"
7729 "-Ddhcpcanon=no"
7730 "-Dcrypto=gnutls"
7731 "-Diwd=true"
7732 "-Dlibaudit=yes"
7733 "-Dqt=false"
7734 "-Ddocs=true"
7735 "--sysconfdir=/etc"
7736 "--localstatedir=/var"
7737 (string-append "-Dudev_dir="
7738 out "/lib/udev")
7739 (string-append "-Ddbus_conf_dir="
7740 out "/etc/dbus-1/system.d")
7741
7742 (string-append "-Ddhclient=" dhclient)))
7743 #:phases
7744 (modify-phases %standard-phases
7745 (add-before 'configure 'pre-configure
7746 (lambda _
7747 ;; These tests try to test aspects of network-manager's
7748 ;; functionality within restricted containers, but they don't
7749 ;; cope with being already in the Guix build jail as that jail
7750 ;; lacks some features that they would like to proxy over (like
7751 ;; a /sys mount).
7752 (substitute* "src/platform/tests/meson.build"
7753 ((".*test-address-linux.*") "")
7754 ((".*test-cleanup-linux.*") "")
7755 ((".*test-link-linux.*") "")
7756 ((".*test-route-linux.*") ""))
7757 (substitute* "src/devices/tests/meson.build"
7758 ((".*test-acd.*") "")
7759 ((".*test-lldp.*") ""))
7760 #t))
7761 (add-after 'unpack 'patch-docbook-xml
7762 (lambda* (#:key inputs #:allow-other-keys)
7763 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7764 "/xml/dtd/docbook")))
7765 (substitute* (find-files "." ".*\\.(xsl|xml)")
7766 (("http://.*/docbookx\\.dtd")
7767 (string-append xmldoc "/docbookx.dtd")))
7768 #t)))
7769 (add-before 'check 'pre-check
7770 (lambda _
7771 ;; For the missing /etc/machine-id.
7772 (setenv "DBUS_FATAL_WARNINGS" "0")
7773 #t))
7774 (add-before 'install 'no-polkit-magic
7775 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7776 (lambda _
7777 (setenv "PKEXEC_UID" "something")
7778 #t))
7779 (add-after 'install 'move-doc
7780 (lambda* (#:key outputs #:allow-other-keys)
7781 (let ((out (assoc-ref outputs "out"))
7782 (doc (assoc-ref outputs "doc")))
7783 (mkdir-p (string-append doc "/share"))
7784 (for-each (lambda (directory)
7785 (copy-recursively (string-append out directory)
7786 (string-append doc directory))
7787 (delete-file-recursively
7788 (string-append out directory)))
7789 '("/share/doc" "/share/gtk-doc"))
7790 #t))))))
7791 (propagated-inputs
7792 `(("glib" ,glib)))
7793 (native-inputs
7794 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7795 ("gtk-doc" ,gtk-doc/stable)
7796 ("gobject-introspection" ,gobject-introspection)
7797 ("docbook-xml" ,docbook-xml)
7798 ("docbook-xsl" ,docbook-xsl)
7799 ("intltool" ,intltool)
7800 ("libxslt" ,libxslt)
7801 ("libxml2" ,libxml2)
7802 ("pkg-config" ,pkg-config)
7803 ("vala" ,vala)
7804 ;; For testing.
7805 ("python" ,python-wrapper)
7806 ("python-dbus" ,python-dbus)
7807 ("python-pygobject" ,python-pygobject)))
7808 (inputs
7809 `(("curl" ,curl)
7810 ("cyrus-sasl" ,cyrus-sasl)
7811 ("dbus-glib" ,dbus-glib)
7812 ("dnsmasq" ,dnsmasq)
7813 ("eudev" ,eudev)
7814 ("gnutls" ,gnutls)
7815 ("iptables" ,iptables)
7816 ("isc-dhcp" ,isc-dhcp)
7817 ("iwd" ,iwd) ; wpa_supplicant alternative
7818 ("jansson" ,jansson)
7819 ("libaudit" ,audit)
7820 ("libgcrypt" ,libgcrypt)
7821 ("libgudev" ,libgudev)
7822 ("libndp" ,libndp)
7823 ("libnl" ,libnl)
7824 ("libsoup" ,libsoup)
7825 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7826 ("modem-manager" ,modem-manager)
7827 ("newt" ,newt) ;for the 'nmtui' console interface
7828 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7829 ("polkit" ,polkit)
7830 ("ppp" ,ppp)
7831 ("readline" ,readline)
7832 ("util-linux" ,util-linux)
7833 ("elogind" ,elogind)))
7834 (synopsis "Network connection manager")
7835 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7836 (description
7837 "NetworkManager is a system network service that manages your network
7838 devices and connections, attempting to keep active network connectivity when
7839 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7840 devices, and provides VPN integration with a variety of different VPN
7841 services.")
7842 ;; “This NetworkManager project consists of the daemon, client tools, and
7843 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7844 ;; GPL-2.0+.”
7845 (license (list license:gpl2+
7846 license:lgpl2.1+))
7847 (properties '((upstream-name . "NetworkManager")))))
7848
7849 (define-public network-manager-openvpn
7850 (package
7851 (name "network-manager-openvpn")
7852 (version "1.8.12")
7853 (source (origin
7854 (method url-fetch)
7855 (uri (string-append
7856 "mirror://gnome/sources/NetworkManager-openvpn/"
7857 (version-major+minor version)
7858 "/NetworkManager-openvpn-" version ".tar.xz"))
7859 (sha256
7860 (base32
7861 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7862 (build-system gnu-build-system)
7863 (arguments
7864 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7865 #:phases
7866 (modify-phases %standard-phases
7867 (add-after 'configure 'patch-path
7868 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7869 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7870 "/sbin/openvpn"))
7871 (modprobe (string-append (assoc-ref inputs "kmod")
7872 "/bin/modprobe"))
7873 (pretty-ovpn (string-append "\"" ovpn "\"")))
7874 (for-each
7875 (lambda (file)
7876 (substitute* file
7877 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7878 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7879 (("\"/sbin/openvpn\"") pretty-ovpn)
7880 (("/sbin/modprobe") modprobe)))
7881 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7882 #t)))))
7883 (native-inputs
7884 `(("pkg-config" ,pkg-config)
7885 ("intltool" ,intltool)))
7886 (inputs
7887 `(("gtk+" ,gtk+)
7888 ("kmod" ,kmod)
7889 ("openvpn" ,openvpn)
7890 ("network-manager" ,network-manager)
7891 ("libnma" ,libnma)
7892 ("libsecret" ,libsecret)))
7893 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7894 (synopsis "OpenVPN plug-in for NetworkManager")
7895 (description
7896 "This extension of NetworkManager allows it to take care of connections
7897 to virtual private networks (VPNs) via OpenVPN.")
7898 (license license:gpl2+)
7899 (properties `((upstream-name . "NetworkManager-openvpn")))))
7900
7901 (define-public network-manager-vpnc
7902 (package
7903 (name "network-manager-vpnc")
7904 (version "1.2.6")
7905 (source (origin
7906 (method url-fetch)
7907 (uri (string-append
7908 "mirror://gnome/sources/NetworkManager-vpnc/"
7909 (version-major+minor version)
7910 "/NetworkManager-vpnc-" version ".tar.xz"))
7911 (sha256
7912 (base32
7913 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7914 (build-system gnu-build-system)
7915 (arguments
7916 `(#:configure-flags '("--enable-absolute-paths"
7917 "--localstatedir=/var"
7918 ;; libnm-glib has been removed from network-manager
7919 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7920 "--with-libnm-glib=no")
7921 #:phases
7922 (modify-phases %standard-phases
7923 (add-after 'configure 'patch-path
7924 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7925 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7926 "/sbin/vpnc"))
7927 (modprobe (string-append (assoc-ref inputs "kmod")
7928 "/bin/modprobe"))
7929 (pretty-ovpn (string-append "\"" vpnc "\"")))
7930 (substitute* "src/nm-vpnc-service.c"
7931 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7932 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7933 (("\"/sbin/vpnc\"") pretty-ovpn)
7934 (("/sbin/modprobe") modprobe)))
7935 #t)))))
7936 (native-inputs
7937 `(("pkg-config" ,pkg-config)
7938 ("intltool" ,intltool)))
7939 (inputs
7940 `(("gtk+" ,gtk+)
7941 ("kmod" ,kmod)
7942 ("vpnc" ,vpnc)
7943 ("network-manager" ,network-manager)
7944 ("libnma" ,libnma)
7945 ("libsecret" ,libsecret)))
7946 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7947 (synopsis "VPNC plug-in for NetworkManager")
7948 (description
7949 "Support for configuring virtual private networks based on VPNC.
7950 Compatible with Cisco VPN concentrators configured to use IPsec.")
7951 (license license:gpl2+)
7952 (properties `((upstream-name . "NetworkManager-vpnc")))))
7953
7954 (define-public network-manager-openconnect
7955 (package
7956 (name "network-manager-openconnect")
7957 (version "1.2.6")
7958 (source (origin
7959 (method url-fetch)
7960 (uri (string-append
7961 "mirror://gnome/sources/NetworkManager-openconnect/"
7962 (version-major+minor version)
7963 "/NetworkManager-openconnect-" version ".tar.xz"))
7964 (sha256
7965 (base32
7966 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7967 (build-system gnu-build-system)
7968 (arguments
7969 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7970 #:phases
7971 (modify-phases %standard-phases
7972 (add-after 'configure 'patch-path
7973 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7974 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7975 "/sbin/openconnect"))
7976 (modprobe (string-append (assoc-ref inputs "kmod")
7977 "/bin/modprobe"))
7978 (pretty-ovpn (string-append "\"" openconnect "\"")))
7979 (substitute* "src/nm-openconnect-service.c"
7980 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7981 (("/sbin/modprobe") modprobe)))
7982 #t)))))
7983 (native-inputs
7984 `(("intltool" ,intltool)
7985 ("libnma" ,libnma)
7986 ("pkg-config" ,pkg-config)))
7987 (inputs
7988 `(("gcr" ,gcr)
7989 ("gtk+" ,gtk+)
7990 ("kmod" ,kmod)
7991 ("libsecret" ,libsecret)
7992 ("libxml2" ,libxml2)
7993 ("lz4" ,lz4)
7994 ("network-manager" ,network-manager)
7995 ("openconnect" ,openconnect)))
7996 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7997 (synopsis "OpenConnect plug-in for NetworkManager")
7998 (description
7999 "This extension of NetworkManager allows it to take care of connections
8000 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8001 Cisco's AnyConnect SSL VPN.")
8002 (license license:gpl2+)
8003 (properties `((upstream-name . "NetworkManager-openconnect")
8004
8005 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8006 ;; file refers to account "nm-openconnect". Specify it here
8007 ;; so that 'network-manager-service-type' creates it.
8008 (user-accounts . ("nm-openconnect"))))))
8009
8010 (define-public mobile-broadband-provider-info
8011 (package
8012 (name "mobile-broadband-provider-info")
8013 (version "20190116")
8014 (source (origin
8015 (method url-fetch)
8016 (uri (string-append
8017 "mirror://gnome/sources/"
8018 "mobile-broadband-provider-info/" version "/"
8019 "mobile-broadband-provider-info-" version ".tar.xz"))
8020 (sha256
8021 (base32
8022 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8023 (build-system gnu-build-system)
8024 (arguments
8025 `(#:tests? #f)) ; no tests
8026 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8027 (synopsis "Database of broadband connection configuration")
8028 (description "Database of broadband connection configuration.")
8029 (license license:public-domain)))
8030
8031 (define-public network-manager-applet
8032 (package
8033 (name "network-manager-applet")
8034 (version "1.20.0")
8035 (source (origin
8036 (method url-fetch)
8037 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8038 (version-major+minor version) "/"
8039 "network-manager-applet-" version ".tar.xz"))
8040 (sha256
8041 (base32
8042 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8043 (build-system meson-build-system)
8044 (arguments
8045 '(#:glib-or-gtk? #t
8046 #:configure-flags
8047 '("-Dappindicator=yes")))
8048 (native-inputs
8049 `(("intltool" ,intltool)
8050 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8051 ("gobject-introspection" ,gobject-introspection)
8052 ("gtk-doc" ,gtk-doc/stable)
8053 ("pkg-config" ,pkg-config)))
8054 (propagated-inputs
8055 ;; libnm-gtk.pc refers to all these.
8056 `(("dbus-glib" ,dbus-glib)
8057 ("gtk+" ,gtk+)
8058 ("network-manager" ,network-manager)
8059 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8060 ("libnma" ,libnma)))
8061 (inputs
8062 `(("gcr" ,gcr)
8063 ("libappindicator" ,libappindicator)
8064 ("libgudev" ,libgudev)
8065 ("libnotify" ,libnotify)
8066 ("libsecret" ,libsecret)
8067 ("libselinux" ,libselinux)
8068 ("jansson" ,jansson) ; for team support
8069 ("modem-manager" ,modem-manager)))
8070 (synopsis "Applet for managing network connections")
8071 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8072 (description
8073 "This package contains a systray applet for NetworkManager. It displays
8074 the available networks and allows users to easily switch between them.")
8075 (license license:gpl2+)))
8076
8077 (define-public libxml++
8078 (package
8079 (name "libxml++")
8080 (version "3.0.1")
8081 (source (origin
8082 (method url-fetch)
8083 (uri (string-append "mirror://gnome/sources/" name "/"
8084 (version-major+minor version) "/"
8085 name "-" version ".tar.xz"))
8086 (sha256
8087 (base32
8088 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8089 (build-system gnu-build-system)
8090 ;; libxml++-3.0.pc refers to all these.
8091 (propagated-inputs
8092 `(("libxml2" ,libxml2)
8093 ("glibmm" ,glibmm)))
8094 (native-inputs
8095 `(("perl" ,perl)
8096 ("pkg-config" ,pkg-config)))
8097 (home-page "http://libxmlplusplus.sourceforge.net/")
8098 (synopsis "C++ wrapper for XML parser library libxml2")
8099 (description
8100 "This package provides a C++ wrapper for the XML parser library
8101 libxml2.")
8102 (license license:lgpl2.1+)))
8103
8104 (define-public libxml++-2
8105 (package
8106 (inherit libxml++)
8107 (name "libxml++")
8108 (version "2.40.1")
8109 (source (origin
8110 (method url-fetch)
8111 (uri (string-append "mirror://gnome/sources/" name "/"
8112 (version-major+minor version) "/"
8113 name "-" version ".tar.xz"))
8114 (sha256
8115 (base32
8116 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8117
8118 (define-public gdm
8119 (package
8120 (name "gdm")
8121 (version "3.34.1")
8122 (source (origin
8123 (method url-fetch)
8124 (uri (string-append "mirror://gnome/sources/" name "/"
8125 (version-major+minor version) "/"
8126 name "-" version ".tar.xz"))
8127 (sha256
8128 (base32
8129 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8130 (patches (search-patches "gdm-default-session.patch"))))
8131 (build-system glib-or-gtk-build-system)
8132 (arguments
8133 '(#:configure-flags
8134 `("--without-plymouth"
8135 "--disable-systemd-journal"
8136
8137 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8138 ;; instead of having to replace it (i.e., stopping the mingetty
8139 ;; service for TTY 1 before starting GDM).
8140 "--with-initial-vt=7"
8141
8142 ;; Use '/etc/environment' for locale settings instead of the
8143 ;; systemd-specific '/etc/locale.conf'.
8144 "--with-lang-file=/etc/environment"
8145
8146 ,(string-append "--with-udevdir="
8147 (assoc-ref %outputs "out") "/lib/udev")
8148
8149 "--localstatedir=/var"
8150 ,(string-append "--with-default-path="
8151 (string-join '("/run/setuid-programs"
8152 "/run/current-system/profile/bin"
8153 "/run/current-system/profile/sbin")
8154 ":"))
8155 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8156 ;; XDG_DATA_DIRS so that it finds its schemas.
8157 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8158 #:phases
8159 (modify-phases %standard-phases
8160 (add-before
8161 'configure 'pre-configure
8162 (lambda* (#:key inputs outputs #:allow-other-keys)
8163 ;; We don't have <systemd/sd-daemon.h>.
8164 (substitute* '("common/gdm-log.c"
8165 "daemon/gdm-server.c"
8166 "daemon/gdm-session-worker.c"
8167 "daemon/gdm-session-worker-job.c")
8168 (("#include <systemd/sd-daemon\\.h>") ""))
8169 ;; Use elogind for sd-login.
8170 (substitute* '("common/gdm-common.c"
8171 "daemon/gdm-local-display-factory.c"
8172 "daemon/gdm-manager.c"
8173 "libgdm/gdm-user-switching.c")
8174 (("#include <systemd/sd-login\\.h>")
8175 "#include <elogind/sd-login.h>"))
8176 ;; Check for elogind.
8177 (substitute* '("configure")
8178 (("libsystemd")
8179 "libelogind"))
8180 ;; Look for system-installed sessions in
8181 ;; /run/current-system/profile/share.
8182 (substitute* '("libgdm/gdm-sessions.c"
8183 "daemon/gdm-session.c"
8184 "daemon/gdm-display.c"
8185 "daemon/gdm-launch-environment.c")
8186 (("DATADIR \"/x")
8187 "\"/run/current-system/profile/share/x")
8188 (("DATADIR \"/wayland")
8189 "\"/run/current-system/profile/share/wayland")
8190 (("DATADIR \"/gnome")
8191 "\"/run/current-system/profile/share/gnome"))
8192 (let ((propagate '("GDM_CUSTOM_CONF"
8193 "GDM_DBUS_DAEMON"
8194 "GDM_X_SERVER"
8195 "GDM_X_SESSION"
8196 ;; XXX: Remove this once GNOME Shell is
8197 ;; a dependency of GDM.
8198 "XDG_DATA_DIRS")))
8199 (substitute* "daemon/gdm-session.c"
8200 (("set_up_session_environment \\(self\\);")
8201 (apply string-append
8202 "set_up_session_environment (self);\n"
8203 (map (lambda (name)
8204 (string-append
8205 "gdm_session_set_environment_variable "
8206 "(self, \"" name "\","
8207 "g_getenv (\"" name "\"));\n"))
8208 propagate)))))
8209 ;; Find the configuration file using an environment variable.
8210 (substitute* '("common/gdm-settings.c")
8211 (("GDM_CUSTOM_CONF")
8212 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8213 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8214 " : GDM_CUSTOM_CONF)")))
8215 ;; Use service-supplied path to X.
8216 (substitute* '("daemon/gdm-server.c")
8217 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8218 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8219 (substitute* '("daemon/gdm-wayland-session.c"
8220 "daemon/gdm-x-session.c")
8221 (("\"dbus-daemon\"")
8222 "g_getenv (\"GDM_DBUS_DAEMON\")")
8223 (("X_SERVER")
8224 "g_getenv (\"GDM_X_SERVER\")")
8225 (("GDMCONFDIR \"/Xsession\"")
8226 "g_getenv (\"GDM_X_SESSION\")"))
8227 ;; Use an absolute path for GNOME Session.
8228 (substitute* "daemon/gdm-launch-environment.c"
8229 (("\"gnome-session\"")
8230 (string-append "\"" (assoc-ref inputs "gnome-session")
8231 "/bin/gnome-session\"")))
8232 ;; Do not automatically select the placeholder session.
8233 (substitute* "daemon/gdm-session.c"
8234 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8235 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8236 "(g_strcmp0(search_dirs[i], \""
8237 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8238 "\") == 0 && "
8239 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8240 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8241 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8242 #t))
8243 ;; GDM requires that there be at least one desktop entry
8244 ;; file. This phase installs a hidden one that simply
8245 ;; fails. This enables users to use GDM with a
8246 ;; '~/.xsession' script with no other desktop entry files.
8247 ;; See <https://bugs.gnu.org/35068>.
8248 (add-after 'install 'install-placeholder-desktop-entry
8249 (lambda* (#:key inputs outputs #:allow-other-keys)
8250 (let* ((out (assoc-ref outputs "out"))
8251 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8252 (fail (string-append sessions "/fail.desktop")))
8253 (mkdir-p sessions)
8254 (with-output-to-file fail
8255 (lambda ()
8256 (for-each
8257 display
8258 '("[Desktop Entry]\n"
8259 "Encoding=UTF-8\n"
8260 "Type=Application\n"
8261 "Name=Fail\n"
8262 "Comment=This session fails immediately.\n"
8263 "NoDisplay=true\n"
8264 "Exec=false\n"))))
8265 #t)))
8266 ;; GDM needs GNOME Session to run these applications. We link
8267 ;; their autostart files in `share/gdm/greeter/autostart'
8268 ;; because GDM explicitly tells GNOME Session to look there.
8269 ;;
8270 ;; XXX: GNOME Shell should be linked here too, but currently
8271 ;; GNOME Shell depends on GDM.
8272 (add-after 'install 'link-autostart-files
8273 (lambda* (#:key inputs outputs #:allow-other-keys)
8274 (let* ((out (assoc-ref outputs "out"))
8275 (autostart (string-append out "/share/gdm/"
8276 "greeter/autostart"))
8277 (settings (assoc-ref inputs "gnome-settings-daemon")))
8278 (mkdir-p autostart)
8279 (with-directory-excursion autostart
8280 (for-each (lambda (desktop)
8281 (symlink desktop (basename desktop)))
8282 (find-files (string-append settings "/etc/xdg"))))
8283 #t))))))
8284 (native-inputs
8285 `(("dconf" ,dconf)
8286 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8287 ("gobject-introspection" ,gobject-introspection)
8288 ("intltool" ,intltool)
8289 ("itstool" ,itstool)
8290 ("pkg-config" ,pkg-config)
8291 ("xmllint" ,libxml2)))
8292 (inputs
8293 `(("accountsservice" ,accountsservice)
8294 ("check" ,check-0.14) ;for testing
8295 ("elogind" ,elogind)
8296 ("gnome-session" ,gnome-session)
8297 ("gnome-settings-daemon" ,gnome-settings-daemon)
8298 ("gtk+" ,gtk+)
8299 ("iso-codes" ,iso-codes)
8300 ("libcanberra" ,libcanberra)
8301 ("linux-pam" ,linux-pam)))
8302 (synopsis "Display manager for GNOME")
8303 (home-page "https://wiki.gnome.org/Projects/GDM/")
8304 (description
8305 "GNOME Display Manager is a system service that is responsible for
8306 providing graphical log-ins and managing local and remote displays.")
8307 (license license:gpl2+)))
8308
8309 (define-public libgtop
8310 (package
8311 (name "libgtop")
8312 (version "2.40.0")
8313 (source (origin
8314 (method url-fetch)
8315 (uri (string-append "mirror://gnome/sources/libgtop/"
8316 (version-major+minor version) "/"
8317 "libgtop-" version ".tar.xz"))
8318 (sha256
8319 (base32
8320 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8321 (build-system gnu-build-system)
8322 (native-inputs
8323 `(("gobject-introspection" ,gobject-introspection)
8324 ("intltool" ,intltool)
8325 ("perl" ,perl)
8326 ("pkg-config" ,pkg-config)))
8327 (propagated-inputs
8328 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8329 (synopsis "Portable system access library")
8330 (home-page "https://www.gnome.org/")
8331 (description
8332 "LibGTop is a library to get system specific data such as CPU and memory
8333 usage and information about running processes.")
8334 (license license:gpl2+)))
8335
8336 (define-public gnome-bluetooth
8337 (package
8338 (name "gnome-bluetooth")
8339 (version "3.34.2")
8340 (source (origin
8341 (method url-fetch)
8342 (uri (string-append "mirror://gnome/sources/" name "/"
8343 (version-major+minor version) "/"
8344 name "-" version ".tar.xz"))
8345 (sha256
8346 (base32
8347 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8348 (build-system meson-build-system)
8349 (native-inputs
8350 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8351 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8352 ("gobject-introspection" ,gobject-introspection)
8353 ("intltool" ,intltool)
8354 ("pkg-config" ,pkg-config)
8355 ("xmllint" ,libxml2)))
8356 (propagated-inputs
8357 ;; gnome-bluetooth-1.0.pc refers to all these.
8358 `(("glib" ,glib)
8359 ("gtk+" ,gtk+)))
8360 (inputs
8361 `(("eudev" ,eudev)
8362 ("libcanberra" ,libcanberra)
8363 ("libnotify" ,libnotify)))
8364 (synopsis "GNOME Bluetooth subsystem")
8365 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8366 (description
8367 "This package contains tools for managing and manipulating Bluetooth
8368 devices using the GNOME desktop.")
8369 (license license:lgpl2.1+)))
8370
8371 (define-public gnome-control-center
8372 (package
8373 (name "gnome-control-center")
8374 (version "3.34.2")
8375 (source (origin
8376 (method url-fetch)
8377 (uri (string-append "mirror://gnome/sources/" name "/"
8378 (version-major+minor version) "/"
8379 name "-" version ".tar.xz"))
8380 (sha256
8381 (base32
8382 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8383 (build-system meson-build-system)
8384 (arguments
8385 '(#:glib-or-gtk? #t
8386 #:configure-flags
8387 (list "-Dcheese=false"
8388 (string-append "-Dgnome_session_libexecdir="
8389 (assoc-ref %build-inputs "gnome-session")
8390 "/libexec"))
8391 #:phases
8392 (modify-phases %standard-phases
8393 (add-before 'configure 'patch-paths
8394 (lambda* (#:key inputs #:allow-other-keys)
8395 (let ((libc (assoc-ref inputs "libc"))
8396 (tzdata (assoc-ref inputs "tzdata"))
8397 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8398 (nm-applet (assoc-ref inputs "network-manager-applet"))
8399 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8400 (substitute* "panels/datetime/tz.h"
8401 (("/usr/share/zoneinfo/zone.tab")
8402 (string-append tzdata "/share/zoneinfo/zone.tab")))
8403 (substitute* "tests/datetime/test-endianess.c"
8404 (("/usr/share/locale")
8405 (string-append libc "/share/locale")))
8406 (substitute* "panels/region/cc-region-panel.c"
8407 (("\"gkbd-keyboard-display")
8408 (string-append "\"" libgnomekbd
8409 "/bin/gkbd-keyboard-display")))
8410 (substitute* '("panels/network/net-device-wifi.c"
8411 "panels/network/net-device.c"
8412 "panels/network/connection-editor/net-connection-editor.c")
8413 (("\"nm-connection-editor")
8414 (string-append "\"" nm-applet
8415 "/bin/nm-connection-editor")))
8416 (substitute* '("panels/user-accounts/run-passwd.c")
8417 (("/usr/bin/passwd")
8418 "/run/setuid-programs/passwd"))
8419 (substitute* "panels/info/cc-info-overview-panel.c"
8420 (("DATADIR \"/gnome/gnome-version.xml\"")
8421 (string-append "\"" gnome-desktop
8422 "/share/gnome/gnome-version.xml\"")))
8423 #t)))
8424 (add-after 'unpack 'skip-gtk-update-icon-cache
8425 ;; Don't create 'icon-theme.cache'.
8426 (lambda _
8427 (substitute* "build-aux/meson/meson_post_install.py"
8428 (("gtk-update-icon-cache") (which "true")))
8429 #t)))))
8430 (native-inputs
8431 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8432 ("intltool" ,intltool)
8433 ("pkg-config" ,pkg-config)
8434 ("xsltproc" ,libxslt)
8435 ;; For tests
8436 ("hicolor-icon-theme" ,hicolor-icon-theme)
8437 ("python-dbusmock" ,python-dbusmock)
8438 ("xorg-server" ,xorg-server-for-tests)))
8439 (inputs
8440 `(("accountsservice" ,accountsservice)
8441 ("clutter-gtk" ,clutter-gtk)
8442 ("colord-gtk" ,colord-gtk)
8443 ("cups" ,cups)
8444 ("dconf" ,dconf)
8445 ("docbook-xsl" ,docbook-xsl)
8446 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8447 ("gnome-bluetooth" ,gnome-bluetooth)
8448 ("gnome-desktop" ,gnome-desktop)
8449 ("gnome-online-accounts" ,gnome-online-accounts)
8450 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8451 ("gnome-session" ,gnome-session)
8452 ("gnome-settings-daemon" ,gnome-settings-daemon)
8453 ("grilo" ,grilo)
8454 ("gsound" ,gsound)
8455 ("ibus" ,ibus)
8456 ("libcanberra" ,libcanberra)
8457 ("libgnomekbd" ,libgnomekbd)
8458 ("libgudev" ,libgudev)
8459 ("libgtop" ,libgtop)
8460 ("libnma" ,libnma)
8461 ("libpwquality" ,libpwquality)
8462 ("libsecret" ,libsecret)
8463 ("libsoup" ,libsoup)
8464 ("libxml2" ,libxml2)
8465 ("libwacom" ,libwacom)
8466 ("mesa" ,mesa)
8467 ("mit-krb5" ,mit-krb5)
8468 ("modem-manager" ,modem-manager)
8469 ("network-manager-applet" ,network-manager-applet)
8470 ("polkit" ,polkit)
8471 ("pulseaudio" ,pulseaudio)
8472 ("smbclient" ,samba)
8473 ("tzdata" ,tzdata)
8474 ("udisks" ,udisks)
8475 ("upower" ,upower)))
8476 (synopsis "Utilities to configure the GNOME desktop")
8477 (home-page "https://www.gnome.org/")
8478 (description
8479 "This package contains configuration applets for the GNOME desktop,
8480 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8481 properties, sound setup, desktop theme and background, user interface
8482 properties, screen resolution, and other GNOME parameters.")
8483 (license license:gpl2+)))
8484
8485 (define-public gnome-shell
8486 (package
8487 (name "gnome-shell")
8488 (version "3.34.5")
8489 (source (origin
8490 (method url-fetch)
8491 (uri (string-append "mirror://gnome/sources/" name "/"
8492 (version-major+minor version) "/"
8493 name "-" version ".tar.xz"))
8494 (sha256
8495 (base32
8496 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8497 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8498 "gnome-shell-theme.patch"
8499 "gnome-shell-disable-test.patch"))
8500 (modules '((guix build utils)))
8501 (snippet
8502 #~(begin
8503 ;; Copy images for use on the GDM log-in screen.
8504 (copy-file #$(file-append %artwork-repository
8505 "/slim/0.x/background.png")
8506 "data/theme/guix-background.png")
8507 (copy-file #$(file-append %artwork-repository
8508 "/logo/Guix-horizontal-white.svg")
8509 "data/theme/guix-logo.svg")
8510 #t))))
8511 (build-system meson-build-system)
8512 (arguments
8513 `(#:glib-or-gtk? #t
8514 #:disallowed-references ((,glib "bin")
8515 ,inkscape ,libxslt
8516 ,ruby-sass)
8517 #:configure-flags
8518 (list "-Dsystemd=false"
8519 ;; Otherwise, the RUNPATH will lack the final path component.
8520 (string-append "-Dc_link_args=-Wl,-rpath="
8521 (assoc-ref %outputs "out")
8522 "/lib/gnome-shell"))
8523
8524 #:modules ((guix build meson-build-system)
8525 (guix build utils)
8526 (srfi srfi-1))
8527
8528 #:phases
8529 (modify-phases %standard-phases
8530 (add-after 'unpack 'fix-keysdir
8531 (lambda* (#:key outputs #:allow-other-keys)
8532 (let* ((out (assoc-ref outputs "out"))
8533 (keysdir (string-append
8534 out "/share/gnome-control-center/keybindings")))
8535 (substitute* "meson.build"
8536 (("keysdir =.*")
8537 (string-append "keysdir = '" keysdir "'\n")))
8538 #t)))
8539 (add-before 'configure 'convert-logo-to-png
8540 (lambda* (#:key inputs #:allow-other-keys)
8541 ;; Convert the logo from SVG to PNG.
8542 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8543 "data/theme/guix-logo.svg")))
8544 (add-before 'configure 'record-absolute-file-names
8545 (lambda* (#:key inputs #:allow-other-keys)
8546 (substitute* "js/misc/ibusManager.js"
8547 (("'ibus-daemon'")
8548 (string-append "'" (assoc-ref inputs "ibus")
8549 "/bin/ibus-daemon'")))
8550 (substitute* "js/ui/status/keyboard.js"
8551 (("'gkbd-keyboard-display'")
8552 (string-append "'" (assoc-ref inputs "libgnomekbd")
8553 "/bin/gkbd-keyboard-display'")))
8554 #t))
8555 (add-before 'check 'pre-check
8556 (lambda* (#:key inputs #:allow-other-keys)
8557 ;; Tests require a running X server.
8558 (system "Xvfb :1 &")
8559 (setenv "DISPLAY" ":1")
8560 #t))
8561 (add-after 'install 'wrap-programs
8562 (lambda* (#:key inputs outputs #:allow-other-keys)
8563 (let ((out (assoc-ref outputs "out"))
8564 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8565 (python-path (getenv "PYTHONPATH")))
8566 (wrap-program (string-append out "/bin/gnome-shell")
8567 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8568 ;; FIXME: gnome-shell loads these libraries with unqualified
8569 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8570 ;; alternative might be to patch gnome-shell.
8571 `("LD_LIBRARY_PATH" ":" prefix
8572 ,(map (lambda (pkg)
8573 (string-append (assoc-ref inputs pkg) "/lib"))
8574 '("gdk-pixbuf"
8575 "gnome-bluetooth" "librsvg" "libgweather"))))
8576 (for-each
8577 (lambda (prog)
8578 (wrap-program (string-append out "/bin/" prog)
8579 `("PYTHONPATH" ":" prefix (,python-path))
8580 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8581 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8582 #t)))
8583 (replace 'glib-or-gtk-wrap
8584 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8585 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8586 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8587 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8588 ;; phase. Fix that since we don't need these.
8589 (wrap #:inputs (fold alist-delete inputs
8590 '("inkscape" "intltool" "glib:bin"))
8591 #:outputs outputs)))))))
8592 (native-inputs
8593 `(("asciidoc" ,asciidoc)
8594 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8595 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8596 ("gobject-introspection" ,gobject-introspection)
8597 ("inkscape" ,inkscape)
8598 ("intltool" ,intltool)
8599 ("pkg-config" ,pkg-config)
8600 ("python" ,python)
8601 ("ruby-sass" ,ruby-sass)
8602 ("sassc" ,sassc)
8603 ("xsltproc" ,libxslt)
8604 ;; For tests
8605 ("xorg-server" ,xorg-server-for-tests)))
8606 (inputs
8607 `(("accountsservice" ,accountsservice)
8608 ("caribou" ,caribou)
8609 ("docbook-xsl" ,docbook-xsl)
8610 ("evolution-data-server" ,evolution-data-server)
8611 ("gcr" ,gcr)
8612 ("gdm" ,gdm)
8613 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8614 ("gjs" ,gjs)
8615 ("gnome-autoar" ,gnome-autoar)
8616 ("gnome-bluetooth" ,gnome-bluetooth)
8617 ("gnome-desktop" ,gnome-desktop)
8618 ("gnome-settings-daemon" ,gnome-settings-daemon)
8619 ("gst-plugins-base" ,gst-plugins-base)
8620 ("ibus" ,ibus)
8621 ("libcanberra" ,libcanberra)
8622 ("libcroco" ,libcroco)
8623 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8624 ("libgweather" ,libgweather)
8625 ("libnma" ,libnma)
8626 ("libsoup" ,libsoup)
8627 ("mesa-headers" ,mesa-headers)
8628 ("mutter" ,mutter)
8629 ("network-manager-applet" ,network-manager-applet)
8630 ("polkit" ,polkit)
8631 ("pulseaudio" ,pulseaudio)
8632 ("python-pygobject" ,python-pygobject)
8633 ("startup-notification" ,startup-notification)
8634 ("telepathy-logger" ,telepathy-logger)
8635 ("upower" ,upower)
8636 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8637 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8638 ("librsvg" ,librsvg)
8639 ("geoclue" ,geoclue)))
8640 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8641 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8642 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8643 (synopsis "Desktop shell for GNOME")
8644 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8645 (description
8646 "GNOME Shell provides core user interface functions for the GNOME desktop,
8647 like switching to windows and launching applications.")
8648 (license license:gpl2+)))
8649
8650 (define-public gtk-vnc
8651 (package
8652 (name "gtk-vnc")
8653 (version "1.0.0")
8654 (source
8655 (origin
8656 (method url-fetch)
8657 (uri
8658 (string-append "mirror://gnome/sources/" name "/"
8659 (version-major+minor version) "/"
8660 name "-" version ".tar.xz"))
8661 (sha256
8662 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8663 (build-system meson-build-system)
8664 (arguments
8665 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8666 (native-inputs
8667 `(("gjs" ,gjs)
8668 ("glib:bin" ,glib "bin")
8669 ("gobject-introspection" ,gobject-introspection)
8670 ("intltool" ,intltool)
8671 ("node" ,node)
8672 ("perl" ,perl)
8673 ("pkg-config" ,pkg-config)
8674 ("python" ,python-wrapper)
8675 ("vala" ,vala)))
8676 (inputs
8677 `(("cairo" ,cairo)
8678 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8679 ("glib" ,glib)
8680 ("gnutls" ,gnutls)
8681 ("libgcrypt" ,libgcrypt)
8682 ("libsasl" ,cyrus-sasl)
8683 ("pulseaudio" ,pulseaudio)
8684 ("x11" ,libx11)
8685 ("zlib" ,zlib)))
8686 (propagated-inputs
8687 `(("gtk+" ,gtk+)))
8688 (synopsis "VNC client viewer widget for GTK+")
8689 (description "GTK-VNC is a project providing client side APIs for the RFB
8690 protocol / VNC remote desktop technology. It is built using coroutines allowing
8691 it to be completely asynchronous while remaining single threaded. It provides a
8692 core C library, and bindings for Python (PyGTK).")
8693 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8694 (license license:lgpl2.1+)))
8695
8696 (define-public gnome-autoar
8697 (package
8698 (name "gnome-autoar")
8699 (version "0.3.2")
8700 (source (origin
8701 (method url-fetch)
8702 (uri (string-append "mirror://gnome/sources/" name "/"
8703 (version-major+minor version) "/"
8704 name "-" version ".tar.xz"))
8705 (sha256
8706 (base32
8707 "0wkwix44yg126xn1v4f2j60bv9yiyadfpzf8ifx0bvd9x5f4v354"))))
8708 (build-system glib-or-gtk-build-system)
8709 (native-inputs
8710 `(("gobject-introspection" ,gobject-introspection)
8711 ("pkg-config" ,pkg-config)))
8712 (propagated-inputs
8713 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8714 (inputs
8715 `(("gtk+" ,gtk+)))
8716 (synopsis "Archives integration support for GNOME")
8717 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8718 (description
8719 "GNOME Autoar is a library which makes creating and extracting archives
8720 easy, safe, and automatic.")
8721 (license license:lgpl2.1+)))
8722
8723 (define-public tracker
8724 (package
8725 (name "tracker")
8726 (version "2.3.5")
8727 (source (origin
8728 (method url-fetch)
8729 (uri (string-append "mirror://gnome/sources/tracker/"
8730 (version-major+minor version) "/"
8731 "tracker-" version ".tar.xz"))
8732 (sha256
8733 (base32
8734 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8735 (build-system meson-build-system)
8736 (arguments
8737 `(#:glib-or-gtk? #t
8738 #:configure-flags
8739 ;; Otherwise, the RUNPATH will lack the final path component.
8740 (list (string-append "-Dc_link_args=-Wl,-rpath="
8741 (assoc-ref %outputs "out") "/lib:"
8742 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8743 #:phases
8744 (modify-phases %standard-phases
8745 (add-before 'check 'pre-check
8746 (lambda _
8747 ;; Some tests expect to write to $HOME.
8748 (setenv "HOME" "/tmp")
8749 #t)))))
8750 (native-inputs
8751 `(("glib:bin" ,glib "bin")
8752 ("gobject-introspection" ,gobject-introspection)
8753 ("python-pygobject" ,python-pygobject)
8754 ("intltool" ,intltool)
8755 ("pkg-config" ,pkg-config)
8756 ("vala" ,vala)))
8757 (inputs
8758 `(("dbus" ,dbus)
8759 ("sqlite" ,sqlite)
8760 ("libxml2" ,libxml2)
8761 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8762 ("json-glib" ,json-glib)
8763 ("libsoup" ,libsoup)))
8764 (synopsis "Metadata database, indexer and search tool")
8765 (home-page "https://wiki.gnome.org/Projects/Tracker")
8766 (description
8767 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8768
8769 It is a middleware component aimed at desktop application developers who want
8770 their apps to browse and search user content. It's not designed to be used
8771 directly by desktop users, but it provides a commandline tool named
8772 @command{tracker} for the adventurous.
8773
8774 Tracker allows your application to instantly perform full-text searches across
8775 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8776 example. This is achieved by indexing the user's home directory in the
8777 background.
8778
8779 Tracker also allows your application to query and list content that the user
8780 has stored. For example, GNOME Music displays all the music files that are
8781 found by Tracker. This means that GNOME Music doesn't need to maintain a
8782 database of its own.
8783
8784 If you need to go beyond simple searches, Tracker is also a linked data
8785 endpoint and it understands SPARQL. ")
8786 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8787 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8788 ;; libstemmer is bsd-3 and the rest is gpl2+.
8789 (license (list license:gpl2+
8790 license:bsd-3
8791 license:lgpl2.1+))))
8792
8793 (define-public tracker-miners
8794 (package
8795 (name "tracker-miners")
8796 (version "2.3.4")
8797 (source (origin
8798 (method url-fetch)
8799 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8800 (version-major+minor version)
8801 "/tracker-miners-" version ".tar.xz"))
8802 (sha256
8803 (base32
8804 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8805 (build-system meson-build-system)
8806 (arguments
8807 `(#:glib-or-gtk? #t
8808 #:configure-flags
8809 (list "-Dminer_rss=false" ; libgrss is required.
8810 ;; Ensure the RUNPATH contains all installed library locations.
8811 (string-append "-Dc_link_args=-Wl,-rpath="
8812 (assoc-ref %outputs "out")
8813 "/lib/tracker-miners-2.0")
8814 ;; TODO: Enable functional tests. Currently, the following error
8815 ;; appears:
8816 ;; Exception: The functional tests require DConf to be the default
8817 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8818 "-Dfunctional_tests=false")))
8819 (native-inputs
8820 `(("dbus" ,dbus)
8821 ("intltool" ,intltool)
8822 ("glib:bin" ,glib "bin")
8823 ("gobject-introspection" ,gobject-introspection)
8824 ("pkg-config" ,pkg-config)
8825 ("python-pygobject" ,python-pygobject)))
8826 (inputs
8827 `(("exempi" ,exempi)
8828 ("ffmpeg" ,ffmpeg)
8829 ("flac" ,flac)
8830 ("giflib" ,giflib)
8831 ("glib" ,glib)
8832 ("gstreamer" ,gstreamer)
8833 ("icu4c" ,icu4c)
8834 ("libcue" ,libcue)
8835 ("libexif" ,libexif)
8836 ("libgsf" ,libgsf)
8837 ("libgxps" ,libgxps)
8838 ("libiptcdata" ,libiptcdata)
8839 ("libjpeg" ,libjpeg-turbo)
8840 ("libosinfo" ,libosinfo)
8841 ("libpng" ,libpng)
8842 ("libseccomp" ,libseccomp)
8843 ("libtiff" ,libtiff)
8844 ("libvorbis" ,libvorbis)
8845 ("libxml2" ,libxml2)
8846 ("poppler" ,poppler)
8847 ("taglib" ,taglib)
8848 ("totem-pl-parser" ,totem-pl-parser)
8849 ("tracker" ,tracker)
8850 ("upower" ,upower)
8851 ("zlib" ,zlib)))
8852 (synopsis "Metadata database, indexer and search tool")
8853 (home-page "https://wiki.gnome.org/Projects/Tracker")
8854 (description
8855 "Tracker is an advanced framework for first class objects with associated
8856 metadata and tags. It provides a one stop solution for all metadata, tags,
8857 shared object databases, search tools and indexing.")
8858 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8859 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8860 (license (list license:gpl2+
8861 license:lgpl2.1+
8862 license:lgpl2.0+))))
8863
8864 (define-public nautilus
8865 (package
8866 (name "nautilus")
8867 (version "3.34.2")
8868 (source (origin
8869 (method url-fetch)
8870 (uri (string-append "mirror://gnome/sources/" name "/"
8871 (version-major+minor version) "/"
8872 name "-" version ".tar.xz"))
8873 (sha256
8874 (base32
8875 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8876 (build-system meson-build-system)
8877 (arguments
8878 '(#:glib-or-gtk? #t
8879 #:phases
8880 (modify-phases %standard-phases
8881 (add-after 'unpack 'skip-gtk-update-icon-cache
8882 ;; Don't create 'icon-theme.cache'.
8883 (lambda _
8884 (substitute* "build-aux/meson/postinstall.py"
8885 (("gtk-update-icon-cache") "true"))
8886 #t)))
8887 ;; XXX: FAIL: check-nautilus
8888 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8889 #:tests? #f))
8890 (native-inputs
8891 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8892 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8893 ("gobject-introspection" ,gobject-introspection)
8894 ("intltool" ,intltool)
8895 ("pkg-config" ,pkg-config)))
8896 (inputs
8897 `(("dconf" ,dconf)
8898 ("gexiv2" ,gexiv2)
8899 ("gvfs" ,gvfs)
8900 ("exempi" ,exempi)
8901 ("gnome-desktop" ,gnome-desktop)
8902 ("gnome-autoar" ,gnome-autoar)
8903 ("gst-plugins-base" ,gst-plugins-base)
8904 ("libseccomp" ,libseccomp)
8905 ("libselinux" ,libselinux)
8906 ("tracker" ,tracker)
8907 ("tracker-miners" ,tracker-miners)
8908 ;; XXX: gtk+ is required by libnautilus-extension.pc
8909 ;;
8910 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8911 ;; package. See:
8912 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8913 ("gtk+" ,gtk+)
8914 ("libexif" ,libexif)
8915 ("libxml2" ,libxml2)))
8916 (synopsis "File manager for GNOME")
8917 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8918 (description
8919 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8920 design and behaviour, giving the user a simple way to navigate and manage its
8921 files.")
8922 (license license:gpl2+)))
8923
8924 (define-public baobab
8925 (package
8926 (name "baobab")
8927 (version "3.38.0")
8928 (source (origin
8929 (method url-fetch)
8930 (uri (string-append
8931 "mirror://gnome/sources/" name "/"
8932 (version-major+minor version) "/"
8933 name "-" version ".tar.xz"))
8934 (sha256
8935 (base32
8936 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8937 (build-system meson-build-system)
8938 (arguments
8939 '(#:glib-or-gtk? #t))
8940 (native-inputs
8941 `(("intltool" ,intltool)
8942 ("pkg-config" ,pkg-config)
8943 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8944 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8945 ("itstool" ,itstool)
8946 ("xmllint" ,libxml2)
8947 ("glib" ,glib "bin")
8948 ("vala" ,vala)))
8949 (inputs
8950 `(("gtk+" ,gtk+)))
8951 (synopsis "Disk usage analyzer for GNOME")
8952 (description
8953 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8954 usage in the GNOME desktop environment. It can easily scan device volumes or
8955 a specific user-requested directory branch (local or remote). Once the scan
8956 is complete it provides a graphical representation of each selected folder.")
8957 (home-page "https://wiki.gnome.org/Apps/Baobab")
8958 (license license:gpl2+)))
8959
8960 (define-public gnome-backgrounds
8961 (package
8962 (name "gnome-backgrounds")
8963 (version "3.34.0")
8964 (source
8965 (origin
8966 (method url-fetch)
8967 (uri (string-append "mirror://gnome/sources/" name "/"
8968 (version-major+minor version) "/"
8969 name "-" version ".tar.xz"))
8970 (sha256
8971 (base32
8972 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8973 (build-system meson-build-system)
8974 (native-inputs
8975 `(("intltool" ,intltool)))
8976 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8977 (synopsis "Background images for the GNOME desktop")
8978 (description
8979 "GNOME backgrounds package contains a collection of graphics files which
8980 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8981 the package creates the proper framework and directory structure so that you
8982 can add your own files to the collection.")
8983 (license (list license:gpl2+
8984 license:cc-by2.0
8985 license:cc-by-sa2.0
8986 license:cc-by-sa3.0))))
8987
8988 (define-public gnome-screenshot
8989 (package
8990 (name "gnome-screenshot")
8991 (version "3.34.0")
8992 (source
8993 (origin
8994 (method url-fetch)
8995 (uri (string-append "mirror://gnome/sources/" name "/"
8996 (version-major+minor version) "/"
8997 name "-" version ".tar.xz"))
8998 (sha256
8999 (base32
9000 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9001 (build-system meson-build-system)
9002 (arguments
9003 '(#:phases
9004 (modify-phases %standard-phases
9005 (add-after 'unpack 'skip-gtk-update-icon-cache
9006 ;; Don't create 'icon-theme.cache'.
9007 (lambda _
9008 (substitute* "build-aux/postinstall.py"
9009 (("gtk-update-icon-cache") "true"))
9010 #t)))))
9011 (native-inputs
9012 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9013 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9014 ("intltool" ,intltool)
9015 ("appstream-glib" ,appstream-glib)
9016 ("pkg-config" ,pkg-config)))
9017 (inputs
9018 `(("gtk+" ,gtk+)
9019 ("libcanberra" ,libcanberra)
9020 ("libx11" ,libx11)
9021 ("libxext" ,libxext)))
9022 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9023 (synopsis "Take pictures of your screen")
9024 (description
9025 "GNOME Screenshot is a utility used for taking screenshots of the entire
9026 screen, a window or a user defined area of the screen, with optional
9027 beautifying border effects.")
9028 (license license:gpl2+)))
9029
9030 (define-public dconf-editor
9031 (package
9032 (name "dconf-editor")
9033 (version "3.34.2")
9034 (source
9035 (origin
9036 (method url-fetch)
9037 (uri (string-append "mirror://gnome/sources/" name "/"
9038 (version-major+minor version) "/"
9039 name "-" version ".tar.xz"))
9040 (sha256
9041 (base32
9042 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9043 (build-system meson-build-system)
9044 (native-inputs
9045 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9046 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9047 ("intltool" ,intltool)
9048 ("pkg-config" ,pkg-config)
9049 ("vala" ,vala)))
9050 (inputs
9051 `(("dconf" ,dconf)
9052 ("gtk+" ,gtk+)
9053 ("libxml2" ,libxml2)))
9054 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9055 (synopsis "Graphical editor for GNOME's dconf configuration system")
9056 (description
9057 "Dconf-editor is a graphical tool for browsing and editing the dconf
9058 configuration system for GNOME. It allows users to configure desktop
9059 software that do not provide their own configuration interface.")
9060 (license license:lgpl2.1+)))
9061
9062 (define-public gnome-default-applications
9063 (package
9064 (name "gnome-default-applications")
9065 (version "0")
9066 (build-system trivial-build-system)
9067 (source #f)
9068 (propagated-inputs
9069 `(("nautilus" ,nautilus)
9070 ("evince" ,evince)))
9071 (arguments
9072 `(#:modules ((guix build utils))
9073 #:builder
9074 (begin
9075 (use-modules (guix build utils))
9076 (let* ((out (assoc-ref %outputs "out"))
9077 (apps (string-append out "/share/applications")))
9078 (mkdir-p apps)
9079 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9080 (lambda (port)
9081 (format port "[Default Applications]\n")
9082 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9083 (format port "application/pdf=evince.desktop\n")
9084 (format port "application/postscript=evince.desktop\n")))
9085 #t))))
9086 (synopsis "Default MIME type associations for the GNOME desktop")
9087 (description
9088 "Given many installed packages which might handle a given MIME type, a
9089 user running the GNOME desktop probably has some preferences: for example,
9090 that folders be opened by default by the Nautilus file manager, not the Baobab
9091 disk usage analyzer. This package establishes that set of default MIME type
9092 associations for GNOME.")
9093 (license license:gpl3+)
9094 (home-page #f)))
9095
9096 (define-public libgovirt
9097 (package
9098 (name "libgovirt")
9099 (version "0.3.8")
9100 (source (origin
9101 (method url-fetch)
9102 (uri (string-append "mirror://gnome/sources/" name "/"
9103 (version-major+minor version) "/"
9104 name "-" version ".tar.xz"))
9105 (sha256
9106 (base32
9107 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9108 (build-system glib-or-gtk-build-system)
9109 (native-inputs
9110 `(("gettext" ,gettext-minimal)
9111 ("glib:bin" ,glib "bin")
9112 ("gobject-introspection" ,gobject-introspection)
9113 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9114 ("gtk+:bin" ,gtk+ "bin")
9115 ("pkg-config" ,pkg-config)))
9116 (inputs
9117 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9118 ("librest" ,rest)))
9119 (synopsis "GoVirt Library")
9120 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9121 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9122 (license license:gpl2+)))
9123
9124 (define-public gnome-weather
9125 (package
9126 (name "gnome-weather")
9127 (version "3.34.0")
9128 (source (origin
9129 (method url-fetch)
9130 (uri (string-append "mirror://gnome/sources/" name "/"
9131 (version-major+minor version) "/"
9132 name "-" version ".tar.xz"))
9133 (sha256
9134 (base32
9135 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9136 (build-system meson-build-system)
9137 (native-inputs
9138 `(("gettext" ,gettext-minimal)
9139 ("glib:bin" ,glib "bin")
9140 ("gobject-introspection" ,gobject-introspection)
9141 ("gtk+:bin" ,gtk+ "bin")
9142 ("pkg-config" ,pkg-config)))
9143 (inputs
9144 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9145 ("appstream-glib" ,appstream-glib)
9146 ("geoclue" ,geoclue)
9147 ("gdk-pixbuf" ,gdk-pixbuf)
9148 ("gjs" ,gjs)
9149 ("gnome-desktop" ,gnome-desktop)
9150 ("libgweather" ,libgweather)))
9151 (arguments
9152 `(#:glib-or-gtk? #t
9153 #:phases
9154 (modify-phases %standard-phases
9155 (add-after 'install 'fix-desktop-file
9156 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9157 ;; See https://issues.guix.gnu.org/issue/39324.
9158 (lambda* (#:key outputs #:allow-other-keys)
9159 (let* ((out (assoc-ref outputs "out"))
9160 (applications (string-append out "/share/applications")))
9161 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9162 (("Exec=.*") "Exec=gnome-weather\n"))
9163 #t)))
9164 (add-after 'install 'wrap
9165 (lambda* (#:key inputs outputs #:allow-other-keys)
9166 (let ((out (assoc-ref outputs "out"))
9167 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9168 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9169 (wrap-program (string-append out "/bin/gnome-weather")
9170 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9171 #t))))))
9172 (synopsis "Weather monitoring for GNOME desktop")
9173 (description "GNOME Weather is a small application that allows you to
9174 monitor the current weather conditions for your city, or anywhere in the
9175 world.")
9176 (home-page "https://wiki.gnome.org/Apps/Weather")
9177 (license license:gpl2+)))
9178
9179 (define-public gnome
9180 (package
9181 (name "gnome")
9182 (version (package-version gnome-shell))
9183 (source #f)
9184 (build-system trivial-build-system)
9185 (arguments '(#:builder (begin (mkdir %output) #t)))
9186 (propagated-inputs
9187 ;; TODO: Add or remove packages according to:
9188 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9189 `(
9190 ;; GNOME-Core-OS-Services
9191 ("accountsservice" ,accountsservice)
9192 ("network-manager" ,network-manager)
9193 ("packagekit" ,packagekit)
9194 ("upower" ,upower)
9195 ;; GNOME-Core-Shell
9196 ("adwaita-icon-theme" ,adwaita-icon-theme)
9197 ("gdm" ,gdm)
9198 ("glib-networking" ,glib-networking)
9199 ("gnome-backgrounds" ,gnome-backgrounds)
9200 ("gnome-bluetooth" ,gnome-bluetooth)
9201 ("gnome-color-manager" ,gnome-color-manager)
9202 ("gnome-control-center" ,gnome-control-center)
9203 ("gnome-desktop" ,gnome-desktop)
9204 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9205 ("gnome-initial-setup" ,gnome-initial-setup)
9206 ("gnome-keyring" ,gnome-keyring)
9207 ("gnome-menus" ,gnome-menus)
9208 ("gnome-session" ,gnome-session)
9209 ("gnome-settings-daemon" ,gnome-settings-daemon)
9210 ("gnome-shell-extensions" ,gnome-shell-extensions)
9211 ("gnome-shell" ,gnome-shell)
9212 ("gnome-themes-extra" ,gnome-themes-extra)
9213 ("gnome-user-docs" ,gnome-user-docs)
9214 ("gnome-user-share" ,gnome-user-share)
9215 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9216 ("gvfs" ,gvfs)
9217 ("mutter" ,mutter)
9218 ("orca" ,orca)
9219 ("rygel" ,rygel)
9220 ("sushi" ,sushi)
9221 ;; GNOME-Core-Utilities
9222 ("baobab" ,baobab)
9223 ("cheese" ,cheese)
9224 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9225 ;; only works on x86_64, so exclude it on other architectures.
9226 ,@(if (string-prefix? "x86_64" (%current-system))
9227 `(("eog" ,eog))
9228 '())
9229 ("epiphany" ,epiphany)
9230 ("evince" ,evince)
9231 ("file-roller" ,file-roller)
9232 ("gedit" ,gedit)
9233 ("gnome-boxes" ,gnome-boxes)
9234 ("gnome-calculator" ,gnome-calculator)
9235 ("gnome-calendar" ,gnome-calendar)
9236 ("gnome-characters" ,gnome-characters)
9237 ("gnome-clocks" ,gnome-clocks)
9238 ("gnome-contacts" ,gnome-contacts)
9239 ("gnome-disk-utility" ,gnome-disk-utility)
9240 ("gnome-font-viewer" ,gnome-font-viewer)
9241 ("gnome-maps" ,gnome-maps)
9242 ; TODO: ("gnome-music" ,gnome-music)
9243 ; TODO: ("gnome-photos" ,gnome-photos)
9244 ("gnome-screenshot" ,gnome-screenshot)
9245 ("gnome-system-monitor" ,gnome-system-monitor)
9246 ("gnome-terminal" ,gnome-terminal)
9247 ("gnome-weather" ,gnome-weather)
9248 ("nautilus" ,nautilus)
9249 ("simple-scan" ,simple-scan)
9250 ("totem" ,totem)
9251 ("yelp" ,yelp)
9252 ;; Others
9253 ("hicolor-icon-theme" ,hicolor-icon-theme)
9254 ("gnome-online-accounts" ,gnome-online-accounts)
9255
9256 ;; Packages not part of GNOME proper but that are needed for a good
9257 ;; experience. See <https://bugs.gnu.org/39646>.
9258 ;; XXX: Find out exactly which ones are needed and why.
9259 ("font-cantarell" ,font-cantarell)
9260 ("font-dejavu" ,font-dejavu)
9261 ("at-spi2-core" ,at-spi2-core)
9262 ("dbus" ,dbus)
9263 ("dconf" ,dconf)
9264 ("desktop-file-utils" ,desktop-file-utils)
9265 ("gnome-default-applications" ,gnome-default-applications)
9266 ("gnome-themes-standard" ,gnome-themes-standard)
9267 ("gst-plugins-base" ,gst-plugins-base)
9268 ("gst-plugins-good" ,gst-plugins-good)
9269 ("gucharmap" ,gucharmap)
9270 ("pinentry-gnome3" ,pinentry-gnome3)
9271 ("pulseaudio" ,pulseaudio)
9272 ("shared-mime-info" ,shared-mime-info)
9273 ("system-config-printer" ,system-config-printer)
9274 ("xdg-user-dirs" ,xdg-user-dirs)
9275 ("yelp" ,yelp)
9276 ("zenity" ,zenity)))
9277 (synopsis "The GNU desktop environment")
9278 (home-page "https://www.gnome.org/")
9279 (description
9280 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9281 applications for browsing the web, editing text and images, creating
9282 documents and diagrams, playing media, scanning, and much more.")
9283 (license license:gpl2+)))
9284
9285 (define-public byzanz
9286 ;; The last stable release of Byzanz was in 2011, but there have been many
9287 ;; useful commits made to the Byzanz repository since then that it would be
9288 ;; silly to use such an old release.
9289 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9290 (package
9291 (name "byzanz")
9292 (version (string-append "0.2-1." (string-take commit 7)))
9293 (source (origin
9294 (method git-fetch)
9295 (uri (git-reference
9296 (url "https://git.gnome.org/browse/byzanz")
9297 (commit commit)))
9298 (file-name (string-append name "-" version "-checkout"))
9299 (sha256
9300 (base32
9301 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9302 (build-system glib-or-gtk-build-system)
9303 (arguments
9304 '(#:phases
9305 (modify-phases %standard-phases
9306 (add-before 'bootstrap 'build-without-Werror
9307 (lambda _
9308 ;; The build system cleverly detects that we're not building from
9309 ;; a release tarball and turns on -Werror for GCC.
9310 ;; Unsurprisingly, there is a warning during compilation that
9311 ;; causes the build to fail unnecessarily, so we remove the flag.
9312 (substitute* '("configure.ac")
9313 (("-Werror") ""))
9314 #t)))))
9315 (native-inputs
9316 `(("autoconf" ,autoconf)
9317 ("automake" ,automake)
9318 ("gnome-common" ,gnome-common)
9319 ("intltool" ,intltool)
9320 ("libtool" ,libtool)
9321 ("pkg-config" ,pkg-config)
9322 ("which" ,which)))
9323 (inputs
9324 `(("glib" ,glib)
9325 ("gstreamer" ,gstreamer)
9326 ("gst-plugins-base" ,gst-plugins-base)
9327 ("gtk+" ,gtk+)))
9328 (synopsis "Desktop recording program")
9329 (description "Byzanz is a simple desktop recording program with a
9330 command-line interface. It can record part or all of an X display for a
9331 specified duration and save it as a GIF encoded animated image file.")
9332 (home-page "https://git.gnome.org/browse/byzanz")
9333 (license license:gpl2+))))
9334
9335 (define-public authenticator
9336 (package
9337 (name "authenticator")
9338 (version "3.32.2")
9339 (source
9340 (origin
9341 (method git-fetch)
9342 (uri (git-reference
9343 (url "https://gitlab.gnome.org/World/Authenticator")
9344 (commit version)))
9345 (file-name (git-file-name name version))
9346 (sha256
9347 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9348 (build-system meson-build-system)
9349 (arguments
9350 `(#:glib-or-gtk? #t
9351 #:phases
9352 (modify-phases %standard-phases
9353 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9354 (lambda* (#:key inputs outputs #:allow-other-keys)
9355 (let ((prog (string-append (assoc-ref outputs "out")
9356 "/bin/authenticator"))
9357 (pylib (string-append (assoc-ref outputs "out")
9358 "/lib/python"
9359 ,(version-major+minor
9360 (package-version python))
9361 "/site-packages")))
9362 (wrap-program prog
9363 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9364 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9365 #t))))))
9366 (native-inputs
9367 `(("desktop-file-utils" ,desktop-file-utils)
9368 ("gettext" ,gettext-minimal)
9369 ("glib:bin" ,glib "bin")
9370 ("gobject-introspection" ,gobject-introspection)
9371 ("gtk+:bin" ,gtk+ "bin")
9372 ("pkg-config" ,pkg-config)))
9373 (inputs
9374 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9375 ("gtk+" ,gtk+)
9376 ("libhandy" ,libhandy-0.0)
9377 ("libsecret" ,libsecret)
9378 ("python-beautifulsoup4" ,python-beautifulsoup4)
9379 ("python-pillow" ,python-pillow)
9380 ("python-pyfavicon" ,python-pyfavicon)
9381 ("python-pygobject" ,python-pygobject)
9382 ("python-pyotp" ,python-pyotp)
9383 ("python-pyzbar" ,python-pyzbar)
9384 ("yoyo-migrations" ,yoyo-migrations)
9385 ("zbar" ,zbar)))
9386 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9387 (synopsis "Two-factor authentication application built for GNOME")
9388 (description
9389 "Authenticator is a two-factor authentication (2FA) application built for
9390 the GNOME desktop environment.
9391
9392 Features:
9393
9394 @itemize
9395 @item QR code scanner
9396 @item Beautiful UI
9397 @item Huge database of more than 560 supported services
9398 @item Keep your PIN tokens secure by locking the application with a password
9399 @item Automatically fetch an image for services using their favicon
9400 @item The possibility to add new services
9401 @end itemize")
9402 (license license:gpl3+)))
9403
9404 (define-public gsound
9405 (package
9406 (name "gsound")
9407 (version "1.0.2")
9408 (source (origin
9409 (method url-fetch)
9410 (uri (string-append "mirror://gnome/sources/" name "/"
9411 (version-major+minor version) "/"
9412 name "-" version ".tar.xz"))
9413 (sha256
9414 (base32
9415 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9416 (build-system glib-or-gtk-build-system)
9417 (native-inputs
9418 `(("pkg-config" ,pkg-config)
9419 ("gobject-introspection" ,gobject-introspection)
9420 ("vala" ,vala)))
9421 (inputs
9422 `(("glib" ,glib)
9423 ("libcanberra" ,libcanberra)))
9424 (home-page "https://wiki.gnome.org/Projects/GSound")
9425 (synopsis "GObject wrapper for libcanberra")
9426 (description
9427 "GSound is a small library for playing system sounds. It's designed to be
9428 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9429 library.")
9430 (license license:lgpl2.1+)))
9431
9432 (define-public libzapojit
9433 (package
9434 (name "libzapojit")
9435 (version "0.0.3")
9436 (source (origin
9437 (method url-fetch)
9438 (uri (string-append "mirror://gnome/sources/" name "/"
9439 (version-major+minor version) "/"
9440 name "-" version ".tar.xz"))
9441 (sha256
9442 (base32
9443 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9444 (build-system gnu-build-system)
9445 (native-inputs
9446 `(("gobject-introspection" ,gobject-introspection)
9447 ("intltool" ,intltool)
9448 ("pkg-config" ,pkg-config)))
9449 (inputs
9450 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9451 ("json-glib" ,json-glib)
9452 ("rest" ,rest)))
9453 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9454 (synopsis "Library for accessing SkyDrive and Hotmail")
9455 (description
9456 "Libzapojit is a GLib-based library for accessing online service APIs of
9457 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9458 (license license:lgpl2.1+)))
9459
9460 (define-public gnome-clocks
9461 (package
9462 (name "gnome-clocks")
9463 (version "3.34.0")
9464 (source (origin
9465 (method url-fetch)
9466 (uri (string-append "mirror://gnome/sources/" name "/"
9467 (version-major+minor version) "/"
9468 name "-" version ".tar.xz"))
9469 (sha256
9470 (base32
9471 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9472 (build-system meson-build-system)
9473 (arguments
9474 '(#:glib-or-gtk? #t
9475 #:phases
9476 (modify-phases %standard-phases
9477 (add-after 'unpack 'skip-gtk-update-icon-cache
9478 ;; Don't create 'icon-theme.cache'.
9479 (lambda _
9480 (substitute* "build-aux/post-install.py"
9481 (("gtk-update-icon-cache") "true"))
9482 #t)))))
9483 (native-inputs
9484 `(("vala" ,vala)
9485 ("pkg-config" ,pkg-config)
9486 ("glib" ,glib "bin") ; for glib-compile-resources
9487 ("desktop-file-utils" ,desktop-file-utils)
9488 ("gettext" ,gettext-minimal)
9489 ("itstool" ,itstool)))
9490 (inputs
9491 `(("glib" ,glib)
9492 ("gtk+" ,gtk+)
9493 ("gsound" ,gsound)
9494 ("geoclue" ,geoclue)
9495 ("geocode-glib" ,geocode-glib)
9496 ("libgweather" ,libgweather)
9497 ("gnome-desktop" ,gnome-desktop)))
9498 (home-page "https://wiki.gnome.org/Apps/Clocks")
9499 (synopsis "GNOME's clock application")
9500 (description
9501 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9502 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9503 (license license:gpl3+)))
9504
9505 (define-public gnome-calendar
9506 (package
9507 (name "gnome-calendar")
9508 (version "3.34.2")
9509 (source (origin
9510 (method url-fetch)
9511 (uri (string-append "mirror://gnome/sources/" name "/"
9512 (version-major+minor version) "/"
9513 name "-" version ".tar.xz"))
9514 (sha256
9515 (base32
9516 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9517 (build-system meson-build-system)
9518 (arguments
9519 '(#:glib-or-gtk? #t
9520 ;; gnome-calendar has to be installed before the tests can be run
9521 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9522 #:tests? #f
9523 #:phases
9524 (modify-phases %standard-phases
9525 (add-after 'unpack 'skip-gtk-update-icon-cache
9526 ;; Don't create 'icon-theme.cache'.
9527 (lambda _
9528 (substitute* "build-aux/meson/meson_post_install.py"
9529 (("gtk-update-icon-cache") "true"))
9530 #t)))))
9531 (native-inputs
9532 `(("gettext" ,gettext-minimal)
9533 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9534 ("pkg-config" ,pkg-config)))
9535 (inputs
9536 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9537 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9538 ("libdazzle" ,libdazzle)
9539 ("libedataserverui" ,evolution-data-server)
9540 ("libgweather" ,libgweather)
9541 ("geoclue" ,geoclue)))
9542 (propagated-inputs
9543 `(("evolution-data-server" ,evolution-data-server)))
9544 (home-page "https://wiki.gnome.org/Apps/Calendar")
9545 (synopsis "GNOME's calendar application")
9546 (description
9547 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9548 desktop. It supports multiple calendars, month, week and year view.")
9549 (license license:gpl3+)))
9550
9551 (define-public gnome-todo
9552 (package
9553 (name "gnome-todo")
9554 (version "3.28.1")
9555 (source (origin
9556 (method url-fetch)
9557 (uri (string-append "mirror://gnome/sources/" name "/"
9558 (version-major+minor version) "/"
9559 name "-" version ".tar.xz"))
9560 (sha256
9561 (base32
9562 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9563 (patches
9564 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9565 (build-system meson-build-system)
9566 (arguments
9567 '(#:glib-or-gtk? #t
9568 #:phases (modify-phases %standard-phases
9569 (add-after
9570 'install 'wrap-gnome-todo
9571 (lambda* (#:key inputs outputs #:allow-other-keys)
9572 (let ((out (assoc-ref outputs "out"))
9573 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9574 (python-path (getenv "PYTHONPATH")))
9575 (wrap-program (string-append out "/bin/gnome-todo")
9576 ;; XXX: gi plugins are broken.
9577 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9578 ;; For plugins.
9579 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9580 `("PYTHONPATH" ":" prefix (,python-path))))
9581 #t)))))
9582 (native-inputs
9583 `(("gettext" ,gettext-minimal)
9584 ("gobject-introspection" ,gobject-introspection)
9585 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9586 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9587 ("pkg-config" ,pkg-config)))
9588 (inputs
9589 `(("rest" ,rest) ; For Todoist plugin
9590 ("json-glib" ,json-glib) ; For Todoist plugin
9591 ("libedataserverui" ,evolution-data-server)
9592 ("libical" ,libical)
9593 ("libpeas" ,libpeas)
9594 ("python-pygobject" ,python-pygobject)
9595 ("evolution-data-server" ,evolution-data-server)
9596 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9597 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9598 (home-page "https://wiki.gnome.org/Apps/Todo")
9599 (synopsis "GNOME's ToDo Application")
9600 (description
9601 "GNOME To Do is a simplistic personal task manager designed to perfectly
9602 fit the GNOME desktop.")
9603 (license license:gpl3+)))
9604
9605 (define-public gnome-dictionary
9606 (package
9607 (name "gnome-dictionary")
9608 (version "3.26.1")
9609 (source (origin
9610 (method url-fetch)
9611 (uri (string-append "mirror://gnome/sources/" name "/"
9612 (version-major+minor version) "/"
9613 name "-" version ".tar.xz"))
9614 (sha256
9615 (base32
9616 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9617 (build-system meson-build-system)
9618 (arguments '(#:glib-or-gtk? #t
9619 #:phases (modify-phases %standard-phases
9620 (add-after 'unpack 'patch-install-script
9621 (lambda _
9622 ;; This script attempts to compile glib schemas
9623 ;; and create an empty MIME database. We do
9624 ;; that elsewhere, so prevent it from running.
9625 (substitute* "build-aux/post-install.sh"
9626 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9627 #t)))))
9628 (native-inputs
9629 `(("glib:bin" ,glib "bin")
9630 ("gobject-introspection" ,gobject-introspection)
9631 ("intltool" ,intltool)
9632 ("itstool" ,itstool)
9633 ("pkg-config" ,pkg-config)
9634 ("xmllint" ,libxml2)))
9635 (inputs
9636 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9637 ("gtk+" ,gtk+)))
9638 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9639 (synopsis "Look up words in dictionary sources")
9640 (description
9641 "GNOME Dictionary can look for the definition or translation of a word in
9642 existing databases over the internet.")
9643 (license license:gpl3+)))
9644
9645 (define-public gnome-tweaks
9646 (package
9647 (name "gnome-tweaks")
9648 (version "3.34.1")
9649 (source (origin
9650 (method url-fetch)
9651 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9652 (version-major+minor version) "/"
9653 "gnome-tweaks-" version ".tar.xz"))
9654 (patches
9655 (list (search-patch "gnome-tweaks-search-paths.patch")))
9656 (sha256
9657 (base32
9658 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9659 (build-system meson-build-system)
9660 (arguments
9661 `(#:glib-or-gtk? #t
9662 #:configure-flags '("-Dlocalstatedir=/tmp"
9663 "-Dsysconfdir=/tmp")
9664 #:imported-modules ((guix build python-build-system)
9665 ,@%meson-build-system-modules)
9666 #:phases
9667 (modify-phases %standard-phases
9668 (add-after 'unpack 'skip-gtk-update-icon-cache
9669 ;; Don't create 'icon-theme.cache'.
9670 (lambda _
9671 (substitute* "meson-postinstall.py"
9672 (("gtk-update-icon-cache") "true"))
9673 #t))
9674 (add-after 'install 'wrap
9675 (@@ (guix build python-build-system) wrap))
9676 (add-after 'wrap 'wrap-gi-typelib
9677 (lambda* (#:key inputs outputs #:allow-other-keys)
9678 (let ((out (assoc-ref outputs "out"))
9679 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9680 (wrap-program (string-append out "/bin/gnome-tweaks")
9681 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9682 #t)))))
9683 (native-inputs
9684 `(("intltool" ,intltool)
9685 ("pkg-config" ,pkg-config)))
9686 (inputs
9687 `(("gnome-desktop" ,gnome-desktop)
9688 ("gtk+" ,gtk+)
9689 ("gobject-introspection" ,gobject-introspection)
9690 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9691 ("libhandy" ,libhandy-0.0)
9692 ("libnotify" ,libnotify)
9693 ("libsoup" ,libsoup)
9694 ("nautilus" ,nautilus)
9695 ("python" ,python)
9696 ("python-pygobject" ,python-pygobject)))
9697 (synopsis "Customize advanced GNOME 3 options")
9698 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9699 (description
9700 "GNOME Tweaks allows adjusting advanced configuration settings in
9701 GNOME 3. This includes things like the fonts used in user interface elements,
9702 alternative user interface themes, changes in window management behavior,
9703 GNOME Shell appearance and extension, etc.")
9704 (license license:gpl3+)))
9705
9706 (define-public gnome-shell-extensions
9707 (package
9708 (name "gnome-shell-extensions")
9709 (version "3.34.2")
9710 (source (origin
9711 (method url-fetch)
9712 (uri (string-append "mirror://gnome/sources/" name "/"
9713 (version-major+minor version) "/"
9714 name "-" version ".tar.xz"))
9715 (sha256
9716 (base32
9717 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9718 (build-system meson-build-system)
9719 (arguments
9720 '(#:configure-flags '("-Dextension_set=all")))
9721 (native-inputs
9722 `(("glib:bin" ,glib "bin")
9723 ("intltool" ,intltool)
9724 ("pkg-config" ,pkg-config)))
9725 (propagated-inputs
9726 `(("glib" ,glib)))
9727 (synopsis "Extensions for GNOME Shell")
9728 (description "GNOME Shell extensions modify and extend GNOME Shell
9729 functionality and behavior.")
9730 (home-page "https://extensions.gnome.org/")
9731 (license license:gpl3+)))
9732
9733 (define-public folks
9734 (package
9735 (name "folks")
9736 (version "0.13.1")
9737 (source (origin
9738 (method url-fetch)
9739 (uri (string-append
9740 "mirror://gnome/sources/folks/"
9741 (version-major+minor version) "/"
9742 "folks-" version ".tar.xz"))
9743 (sha256
9744 (base32
9745 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9746 (build-system meson-build-system)
9747 (arguments
9748 '(#:phases
9749 (modify-phases %standard-phases
9750 (add-after 'unpack 'skip-gtk-update-icon-cache
9751 ;; Don't create 'icon-theme.cache'.
9752 (lambda _
9753 (substitute* "meson_post_install.py"
9754 (("gtk-update-icon-cache") "true"))
9755 #t)))))
9756 (inputs
9757 `(("bdb" ,bdb)
9758 ("dbus-glib" ,dbus-glib)
9759 ("evolution-data-server" ,evolution-data-server)
9760 ("glib" ,glib)
9761 ("libgee" ,libgee)
9762 ("readline" ,readline)
9763 ("telepathy-glib" ,telepathy-glib)))
9764 (native-inputs
9765 `(("glib:bin" ,glib "bin")
9766 ("gobject-introspection" ,gobject-introspection)
9767 ("intltool" ,intltool)
9768 ("pkg-config" ,pkg-config)
9769 ("vala" ,vala)))
9770 (synopsis "Library to aggregate data about people")
9771 (description "Libfolks is a library that aggregates information about people
9772 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9773 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9774 etc.) to create metacontacts. It's written in Vala, which generates C code when
9775 compiled.")
9776 (home-page "https://wiki.gnome.org/Projects/Folks")
9777 (license license:lgpl2.1+)))
9778
9779 (define-public gfbgraph
9780 (package
9781 (name "gfbgraph")
9782 (version "0.2.4")
9783 (source (origin
9784 (method url-fetch)
9785 (uri (string-append
9786 "mirror://gnome/sources/gfbgraph/"
9787 (version-major+minor version) "/"
9788 "gfbgraph-" version ".tar.xz"))
9789 (sha256
9790 (base32
9791 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9792 (build-system glib-or-gtk-build-system)
9793 (arguments
9794 `(#:tests? #f ; tests appear to require the network
9795 #:configure-flags '("--disable-static"
9796 "--enable-gtk-doc"
9797 "--enable-introspection")))
9798 (native-inputs
9799 `(("gobject-introspection" ,gobject-introspection)
9800 ("gtk-doc" ,gtk-doc/stable)
9801 ("pkg-config" ,pkg-config)
9802
9803 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9804 ("autoconf" ,autoconf)
9805 ("automake" ,automake)
9806 ("libtool" ,libtool)
9807 ("which" ,which)))
9808 (inputs
9809 `(("json-glib" ,json-glib)
9810 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9811 ("rest" ,rest)))
9812 (synopsis "GLib/GObject wrapper for the Facebook API")
9813 (description "This library allows you to use the Facebook API from
9814 GLib/GObject code.")
9815 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9816 (license license:lgpl2.1+)))
9817
9818 (define-public libgnomekbd
9819 (package
9820 (name "libgnomekbd")
9821 (version "3.26.1")
9822 (source (origin
9823 (method url-fetch)
9824 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9825 (version-major+minor version) "/"
9826 "libgnomekbd-" version ".tar.xz"))
9827 (sha256
9828 (base32
9829 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9830 (build-system gnu-build-system)
9831 (native-inputs
9832 `(("pkg-config" ,pkg-config)
9833 ("glib" ,glib "bin")
9834 ("intltool" ,intltool)))
9835 (propagated-inputs
9836 ;; Referred to in .h files and .pc.
9837 `(("glib" ,glib)
9838 ("gtk+" ,gtk+)
9839 ("libxklavier" ,libxklavier)))
9840 (home-page "https://www.gnome.org")
9841 (synopsis "GNOME keyboard configuration library")
9842 (description
9843 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9844 environment, which can notably display keyboard layouts.")
9845 (license license:lgpl2.0+)))
9846
9847 ;;; This package is no longer maintained:
9848 ;;; https://wiki.gnome.org/Attic/LibUnique
9849 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9850 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9851 (define-public libunique
9852 (package
9853 (name "libunique")
9854 (version "3.0.2")
9855 (source (origin
9856 (method url-fetch)
9857 (uri (string-append "mirror://gnome/sources/" name "/"
9858 (version-major+minor version) "/"
9859 name "-" version ".tar.xz"))
9860 (sha256
9861 (base32
9862 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9863 (build-system glib-or-gtk-build-system)
9864 (arguments
9865 `(#:configure-flags '("--disable-static"
9866 "--disable-dbus" ; use gdbus
9867 "--enable-introspection")))
9868 (native-inputs
9869 `(("pkg-config" ,pkg-config)
9870 ("gobject-introspection" ,gobject-introspection)
9871 ("glib:bin" ,glib "bin")
9872 ("gtk-doc" ,gtk-doc/stable)))
9873 (propagated-inputs
9874 ;; Referred to in .h files and .pc.
9875 `(("gtk+" ,gtk+)))
9876 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9877 (synopsis "Library for writing single instance applications")
9878 (description
9879 "Libunique is a library for writing single instance applications. If you
9880 launch a single instance application twice, the second instance will either just
9881 quit or will send a message to the running instance. Libunique makes it easy to
9882 write this kind of application, by providing a base class, taking care of all
9883 the IPC machinery needed to send messages to a running instance, and also
9884 handling the startup notification side.")
9885 (license license:lgpl2.1+)))
9886
9887 (define-public gnome-calculator
9888 (package
9889 (name "gnome-calculator")
9890 (version "3.34.1")
9891 (source
9892 (origin
9893 (method url-fetch)
9894 (uri (string-append "mirror://gnome/sources/" name "/"
9895 (version-major+minor version) "/"
9896 name "-" version ".tar.xz"))
9897 (sha256
9898 (base32
9899 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9900 (build-system meson-build-system)
9901 (arguments '(#:glib-or-gtk? #t))
9902 (native-inputs
9903 `(("gettext" ,gettext-minimal)
9904 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9905 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9906 ("itstool" ,itstool)
9907 ("vala" ,vala)
9908 ("pkg-config" ,pkg-config)))
9909 (inputs
9910 `(("glib" ,glib)
9911 ("gtksourceview" ,gtksourceview)
9912 ("libgee" ,libgee)
9913 ("libsoup" ,libsoup)
9914 ("libxml2" ,libxml2)
9915 ("mpc" ,mpc)
9916 ("mpfr" ,mpfr)))
9917 (home-page "https://wiki.gnome.org/Apps/Calculator")
9918 (synopsis "Desktop calculator")
9919 (description
9920 "Calculator is an application that solves mathematical equations and
9921 is suitable as a default application in a Desktop environment.")
9922 (license license:gpl3)))
9923
9924 (define-public xpad
9925 (package
9926 (name "xpad")
9927 (version "5.1.0")
9928 (source
9929 (origin
9930 (method url-fetch)
9931 (uri (string-append "https://launchpad.net/xpad/trunk/"
9932 version "/+download/"
9933 name "-" version ".tar.bz2"))
9934 (sha256
9935 (base32
9936 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9937 (build-system gnu-build-system)
9938 (native-inputs
9939 `(("autoconf" ,autoconf)
9940 ("automake" ,automake)
9941 ("gtk+:bin" ,gtk+ "bin")
9942 ("intltool" ,intltool)
9943 ("pkg-config" ,pkg-config)))
9944 (inputs
9945 `(("gtksourceview" ,gtksourceview-3)
9946 ("libsm" ,libsm)))
9947 (home-page "https://wiki.gnome.org/Apps/Xpad")
9948 (synopsis "Virtual sticky note")
9949 (description
9950 "Xpad is a sticky note that strives to be simple, fault tolerant,
9951 and customizable. Xpad consists of independent pad windows, each is
9952 basically a text box in which notes can be written.")
9953 (license license:gpl3+)))
9954
9955 (define-public gucharmap
9956 (let ((unicode-files
9957 '(("Blocks.txt"
9958 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9959 ("DerivedAge.txt"
9960 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9961 ("NamesList.txt"
9962 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9963 ("Scripts.txt"
9964 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9965 ("UnicodeData.txt"
9966 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9967 ("Unihan.zip"
9968 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9969 (package
9970 (name "gucharmap")
9971 (version "12.0.1")
9972 (source
9973 (origin
9974 (method url-fetch)
9975 (uri (string-append "mirror://gnome/sources/" name "/"
9976 (version-major+minor version) "/"
9977 name "-" version ".tar.xz"))
9978 (sha256
9979 (base32
9980 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9981 (build-system glib-or-gtk-build-system)
9982 (arguments
9983 `(#:modules ((ice-9 match)
9984 (guix build glib-or-gtk-build-system)
9985 (guix build utils))
9986 #:configure-flags
9987 (list "--with-unicode-data=../unicode-data")
9988 #:phases
9989 (modify-phases %standard-phases
9990 (add-after 'unpack 'prepare-unicode-data
9991 (lambda* (#:key inputs #:allow-other-keys)
9992 (mkdir-p "../unicode-data")
9993 (with-directory-excursion "../unicode-data"
9994 (for-each (match-lambda
9995 ((file _)
9996 (install-file (assoc-ref inputs file) ".")))
9997 ',unicode-files))
9998 #t)))))
9999 (native-inputs
10000 `(("desktop-file-utils" ,desktop-file-utils)
10001 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10002 ("gobject-introspection" ,gobject-introspection)
10003 ("intltool" ,intltool)
10004 ("itstool" ,itstool)
10005 ("pkg-config" ,pkg-config)
10006 ,@(map (match-lambda
10007 ((file hash)
10008 `(,file
10009 ,(origin
10010 (method url-fetch)
10011 (uri (string-append
10012 "http://www.unicode.org/Public/12.0.0/ucd/"
10013 file))
10014 (sha256 (base32 hash))))))
10015 unicode-files)
10016 ("unzip" ,unzip)))
10017 (inputs
10018 `(("gtk+" ,gtk+)
10019 ("xmllint" ,libxml2)))
10020 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10021 (synopsis "Unicode character picker and font browser")
10022 (description
10023 "This program allows you to browse through all the available Unicode
10024 characters and categories for the installed fonts, and to examine their
10025 detailed properties. It is an easy way to find the character you might
10026 only know by its Unicode name or code point.")
10027 (license license:gpl3+))))
10028
10029 (define-public bluefish
10030 (package
10031 (name "bluefish")
10032 (version "2.2.12")
10033 (source
10034 (origin
10035 (method url-fetch)
10036 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10037 "bluefish-" version ".tar.gz"))
10038 (sha256
10039 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10040 (build-system gnu-build-system)
10041 (native-inputs
10042 `(("desktop-file-utils" ,desktop-file-utils)
10043 ("intltool" ,intltool)
10044 ("pkg-config" ,pkg-config)))
10045 (inputs
10046 `(("enchant" ,enchant)
10047 ("gtk+" ,gtk+)
10048 ("python" ,python-wrapper)
10049 ("xmllint" ,libxml2)
10050 ("gucharmap" ,gucharmap)))
10051 (home-page "http://bluefish.openoffice.nl")
10052 (synopsis "Web development studio")
10053 (description
10054 "Bluefish is an editor aimed at programmers and web developers,
10055 with many options to write web sites, scripts and other code.
10056 Bluefish supports many programming and markup languages.")
10057 (license license:gpl3+)))
10058
10059 (define-public gnome-system-monitor
10060 (package
10061 (name "gnome-system-monitor")
10062 (version "3.32.1")
10063 (source
10064 (origin
10065 (method url-fetch)
10066 (uri (string-append "mirror://gnome/sources/" name "/"
10067 (version-major+minor version) "/"
10068 name "-" version ".tar.xz"))
10069 (sha256
10070 (base32
10071 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10072 (build-system meson-build-system)
10073 (arguments
10074 '(#:glib-or-gtk? #t
10075 #:configure-flags '("-Dsystemd=false")))
10076 (native-inputs
10077 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10078 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10079 ("intltool" ,intltool)
10080 ("itstool" ,itstool)
10081 ("libgtop" ,libgtop)
10082 ("polkit" ,polkit)
10083 ("pkg-config" ,pkg-config)))
10084 (inputs
10085 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10086 ("gtk+" ,gtk+)
10087 ("gtkmm" ,gtkmm)
10088 ("librsvg" ,librsvg)
10089 ("libxml2" ,libxml2)
10090 ("libwnck" ,libwnck)))
10091 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10092 (synopsis "Process viewer and system resource monitor for GNOME")
10093 (description
10094 "GNOME System Monitor is a GNOME process viewer and system monitor with
10095 an attractive, easy-to-use interface. It has features, such as a tree view
10096 for process dependencies, icons for processes, the ability to hide processes,
10097 graphical time histories of CPU/memory/swap usage and the ability to
10098 kill/reinice processes.")
10099 (license license:gpl2+)))
10100
10101 (define-public python-pyatspi
10102 (package
10103 (name "python-pyatspi")
10104 (version "2.34.0")
10105 (source (origin
10106 (method url-fetch)
10107 (uri (string-append
10108 "mirror://gnome/sources/pyatspi/"
10109 (version-major+minor version)
10110 "/pyatspi-" version ".tar.xz"))
10111 (sha256
10112 (base32
10113 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10114 (build-system gnu-build-system)
10115 (arguments
10116 `(#:phases
10117 (modify-phases %standard-phases
10118 (add-before 'build 'fix-atk-load
10119 (lambda _
10120 (substitute* "pyatspi/__init__.py"
10121 (("from gi.repository import Atspi")
10122 "gi.require_version('Gtk', '3.0')
10123 from gi.repository import Gtk
10124 from gi.repository import Atspi"))
10125 #t)))))
10126 (native-inputs
10127 `(("pkg-config" ,pkg-config)))
10128 (inputs
10129 `(("python" ,python)))
10130 (propagated-inputs
10131 `(("python-pygobject" ,python-pygobject)))
10132 (synopsis "Python client bindings for D-Bus AT-SPI")
10133 (home-page "https://wiki.linuxfoundation.org/accessibility\
10134 /atk/at-spi/at-spi_on_d-bus")
10135 (description
10136 "This package includes a python client library for the AT-SPI D-Bus
10137 accessibility infrastructure.")
10138 (license license:lgpl2.0)
10139 (properties '((upstream-name . "pyatspi")))))
10140
10141 (define-public python2-pyatspi
10142 (package/inherit python-pyatspi
10143 (name "python2-pyatspi")
10144 (inputs
10145 `(("python" ,python-2)))
10146 (propagated-inputs
10147 `(("python-pygobject" ,python2-pygobject)))))
10148
10149 (define-public orca
10150 (package
10151 (name "orca")
10152 (version "3.34.1")
10153 (source (origin
10154 (method url-fetch)
10155 (uri (string-append
10156 "mirror://gnome/sources/" name "/"
10157 (version-major+minor version) "/"
10158 name "-" version ".tar.xz"))
10159 (sha256
10160 (base32
10161 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10162 (build-system glib-or-gtk-build-system)
10163 (arguments
10164 '(#:phases
10165 (modify-phases %standard-phases
10166 (add-before 'configure 'qualify-xkbcomp
10167 (lambda* (#:key inputs #:allow-other-keys)
10168 (let ((xkbcomp (string-append
10169 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10170 (substitute* "src/orca/orca.py"
10171 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10172 #t))
10173 (add-after 'install 'wrap-orca
10174 (lambda* (#:key outputs #:allow-other-keys)
10175 (let* ((out (assoc-ref outputs "out"))
10176 (prog (string-append out "/bin/orca")))
10177 (wrap-program prog
10178 `("GI_TYPELIB_PATH" ":" prefix
10179 (,(getenv "GI_TYPELIB_PATH")))
10180 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10181 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10182 `("PYTHONPATH" ":" prefix
10183 (,(getenv "PYTHONPATH")))))
10184 #t)))))
10185 (native-inputs
10186 `(("intltool" ,intltool)
10187 ("itstool" ,itstool)
10188 ("pkg-config" ,pkg-config)
10189 ("xmllint" ,libxml2)))
10190 (inputs
10191 `(("at-spi2-atk" ,at-spi2-atk)
10192 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10193 ("gstreamer" ,gstreamer)
10194 ("gst-plugins-base" ,gst-plugins-base)
10195 ("gst-plugins-good" ,gst-plugins-good)
10196 ("gtk+" ,gtk+)
10197 ("python" ,python)
10198 ("python-pygobject" ,python-pygobject)
10199 ("python-pyatspi" ,python-pyatspi)
10200 ("python-speechd" ,speech-dispatcher)
10201 ("xkbcomp" ,xkbcomp)))
10202 (synopsis
10203 "Screen reader for individuals who are blind or visually impaired")
10204 (home-page "https://wiki.gnome.org/Projects/Orca")
10205 (description
10206 "Orca is a screen reader that provides access to the graphical desktop
10207 via speech and refreshable braille. Orca works with applications and toolkits
10208 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10209 (license license:lgpl2.1+)))
10210
10211 (define-public gspell
10212 (package
10213 (name "gspell")
10214 (version "1.8.2")
10215 (source (origin
10216 (method url-fetch)
10217 (uri (string-append "mirror://gnome/sources/" name "/"
10218 (version-major+minor version) "/"
10219 name "-" version ".tar.xz"))
10220 (sha256
10221 (base32
10222 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10223 (patches (search-patches "gspell-dash-test.patch"))))
10224 (build-system glib-or-gtk-build-system)
10225 (arguments
10226 '(#:configure-flags (list "--enable-vala")
10227 #:phases
10228 (modify-phases %standard-phases
10229 (add-before 'check 'pre-check
10230 (lambda* (#:key inputs #:allow-other-keys)
10231 ;; Tests require a running X server.
10232 (system "Xvfb :1 &")
10233 (setenv "DISPLAY" ":1")
10234
10235 ;; For the missing /etc/machine-id.
10236 (setenv "DBUS_FATAL_WARNINGS" "0")
10237
10238 ;; Allow Enchant and its Aspell backend to find the en_US
10239 ;; dictionary.
10240 (setenv "ASPELL_DICT_DIR"
10241 (string-append (assoc-ref inputs "aspell-dict-en")
10242 "/lib/aspell"))
10243 #t)))))
10244 (inputs
10245 `(("gtk+" ,gtk+)
10246 ("glib" ,glib)
10247 ("iso-codes" ,iso-codes)))
10248 (native-inputs
10249 `(("glib" ,glib "bin")
10250 ("gobject-introspection" ,gobject-introspection)
10251 ("pkg-config" ,pkg-config)
10252 ("vala" ,vala) ;for VAPI, needed by Geary
10253 ("xmllint" ,libxml2)
10254
10255 ;; For tests.
10256 ("aspell-dict-en" ,aspell-dict-en)
10257 ("xorg-server" ,xorg-server-for-tests)))
10258 (propagated-inputs
10259 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10260 (home-page "https://wiki.gnome.org/Projects/gspell")
10261 (synopsis "GNOME's alternative spell checker")
10262 (description
10263 "gspell provides a flexible API to add spell-checking to a GTK+
10264 application. It provides a GObject API, spell-checking to text entries and
10265 text views, and buttons to choose the language.")
10266 (license license:gpl2+)))
10267
10268 (define-public gnome-planner
10269 (package
10270 (name "gnome-planner")
10271 (version "0.14.6")
10272 (source (origin
10273 (method url-fetch)
10274 (uri (string-append "mirror://gnome/sources/planner/"
10275 (version-major+minor version) "/planner-"
10276 version ".tar.xz"))
10277 (sha256
10278 (base32
10279 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10280 (build-system glib-or-gtk-build-system)
10281 (arguments
10282 ;; Disable the Python bindings because the Planner program functions
10283 ;; without them, and (as of 2017-06-13) we have not packaged all of
10284 ;; packages that are necessary for building the Python bindings.
10285 `(#:configure-flags
10286 (list "--disable-python"
10287 ,@(if (string=? "aarch64-linux" (%current-system))
10288 '("--build=aarch64-unknown-linux-gnu")
10289 '()))))
10290 (inputs
10291 `(("libgnomecanvas" ,libgnomecanvas)
10292 ("libgnomeui" ,libgnomeui)
10293 ("libglade" ,libglade)
10294 ("gnome-vfs" ,gnome-vfs)
10295 ("gconf" ,gconf)
10296 ("libxml2" ,libxml2)
10297 ("libxslt" ,libxslt)
10298 ("gtk+" ,gtk+)
10299 ("glib" ,glib)))
10300 (native-inputs
10301 `(("intltool" ,intltool)
10302 ("scrollkeeper" ,scrollkeeper)
10303 ("pkg-config" ,pkg-config)))
10304 (home-page "https://wiki.gnome.org/Apps/Planner")
10305 (synopsis "Project management software for the GNOME desktop")
10306 (description
10307 "GNOME Planner is a project management tool based on the Work Breakdown
10308 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10309 the resources, tasks, and constraints that you define, Planner generates
10310 various views into a project. For example, Planner can show a Gantt chart of
10311 the project. It can show a detailed summary of tasks including their
10312 duration, cost, and current progress. It can also show a report of resource
10313 utilization that highlights under-utilized and over-utilized resources. These
10314 views can be printed as PDF or PostScript files, or exported to HTML.")
10315 (license license:gpl2+)))
10316
10317 (define-public lollypop
10318 (package
10319 (name "lollypop")
10320 (version "1.4.6")
10321 (source
10322 (origin
10323 (method url-fetch)
10324 (uri (string-append "https://adishatz.org/lollypop/"
10325 "lollypop-" version ".tar.xz"))
10326 (sha256
10327 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10328 (build-system meson-build-system)
10329 (arguments
10330 `(#:imported-modules
10331 (,@%meson-build-system-modules
10332 (guix build python-build-system))
10333 #:modules
10334 ((guix build meson-build-system)
10335 ((guix build python-build-system) #:prefix python:)
10336 (guix build utils))
10337 #:glib-or-gtk? #t
10338 #:tests? #f ; no test suite
10339 #:phases
10340 (modify-phases %standard-phases
10341 (add-after 'install 'wrap-program
10342 (lambda* (#:key outputs #:allow-other-keys)
10343 (let ((out (assoc-ref outputs "out"))
10344 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10345 (wrap-program (string-append out "/bin/lollypop")
10346 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10347 #t))
10348 (add-after 'install 'wrap-python
10349 (assoc-ref python:%standard-phases 'wrap)))))
10350 (native-inputs
10351 `(("intltool" ,intltool)
10352 ("itstool" ,itstool)
10353 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10354 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10355 ("pkg-config" ,pkg-config)))
10356 (inputs
10357 `(("glib-networking" ,glib-networking)
10358 ("gobject-introspection" ,gobject-introspection)
10359 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10360 ("gst-plugins-base" ,gst-plugins-base)
10361 ("libnotify" ,libnotify)
10362 ("libsecret" ,libsecret)
10363 ("libhandy" ,libhandy)
10364 ("libsoup" ,libsoup)
10365 ("python" ,python)
10366 ("python-beautifulsoup4" ,python-beautifulsoup4)
10367 ("python-gst" ,python-gst)
10368 ("python-pil" ,python-pillow)
10369 ("python-pycairo" ,python-pycairo)
10370 ("python-pygobject" ,python-pygobject)
10371 ("python-pylast" ,python-pylast)
10372 ("totem-pl-parser" ,totem-pl-parser)
10373 ("webkitgtk" ,webkitgtk)))
10374 (propagated-inputs
10375 `(;; gst-plugins-base is required to start Lollypop,
10376 ;; the others are required to play streaming.
10377 ("gst-plugins-good" ,gst-plugins-good)
10378 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10379 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10380 (synopsis "GNOME music playing application")
10381 (description
10382 "Lollypop is a music player designed to play well with GNOME desktop.
10383 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10384 from artists and tracks from the web. It also fetches cover artworks
10385 automatically and it can stream songs from online music services and charts.")
10386 (license license:gpl3+)))
10387
10388 (define-public gnome-video-effects
10389 (package
10390 (name "gnome-video-effects")
10391 (version "0.5.0")
10392 (source (origin
10393 (method url-fetch)
10394 (uri (string-append "mirror://gnome/sources/" name "/"
10395 (version-major+minor version) "/" name "-"
10396 version ".tar.xz"))
10397 (sha256
10398 (base32
10399 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10400 (build-system meson-build-system)
10401 (native-inputs
10402 `(("gettext" ,gettext-minimal)
10403 ("pkg-config" ,pkg-config)))
10404 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10405 (synopsis "Video effects for Cheese and other GNOME applications")
10406 (description
10407 "A collection of GStreamer video filters and effects to be used in
10408 photo-booth-like software, such as Cheese.")
10409 (license license:gpl2+)))
10410
10411 (define-public cheese
10412 (package
10413 (name "cheese")
10414 (version "3.38.0")
10415 (source (origin
10416 (method url-fetch)
10417 (uri (string-append "mirror://gnome/sources/" name "/"
10418 (version-major+minor version) "/" name "-"
10419 version ".tar.xz"))
10420 (sha256
10421 (base32
10422 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10423 (arguments
10424 `(#:glib-or-gtk? #t
10425 ;; Tests require GDK.
10426 #:tests? #f
10427 #:phases
10428 (modify-phases %standard-phases
10429 (add-after 'unpack 'skip-gtk-update-icon-cache
10430 (lambda _
10431 ;; Don't create 'icon-theme.cache'
10432 (substitute* "meson_post_install.py"
10433 (("gtk-update-icon-cache") (which "true")))
10434 #t))
10435 (add-after 'unpack 'patch-docbook-xml
10436 (lambda* (#:key inputs #:allow-other-keys)
10437 ;; Avoid a network connection attempt during the build.
10438 (substitute* '("docs/reference/cheese.xml"
10439 "docs/reference/cheese-docs.xml")
10440 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10441 (string-append (assoc-ref inputs "docbook-xml")
10442 "/xml/dtd/docbook/docbookx.dtd")))
10443 #t))
10444 (add-after 'install 'wrap-cheese
10445 (lambda* (#:key inputs outputs #:allow-other-keys)
10446 (let ((out (assoc-ref outputs "out"))
10447 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10448 (wrap-program (string-append out "/bin/cheese")
10449 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10450 #t)))))
10451 (build-system meson-build-system)
10452 (native-inputs
10453 `(("docbook-xsl" ,docbook-xsl)
10454 ("docbook-xml" ,docbook-xml-4.3)
10455 ("gettext" ,gettext-minimal)
10456 ("glib:bin" ,glib "bin")
10457 ("gtk-doc" ,gtk-doc/stable)
10458 ("itstool" ,itstool)
10459 ("libxml2" ,libxml2)
10460 ("libxslt" ,libxslt)
10461 ("pkg-config" ,pkg-config)
10462 ("vala" ,vala)))
10463 (propagated-inputs
10464 `(("gnome-video-effects" ,gnome-video-effects)
10465 ("clutter" ,clutter)
10466 ("clutter-gst" ,clutter-gst)
10467 ("clutter-gtk" ,clutter-gtk)
10468 ("libcanberra" ,libcanberra)
10469 ("gdk-pixbuf" ,gdk-pixbuf)
10470 ("glib" ,glib)
10471 ("gstreamer" ,gstreamer)))
10472 (inputs
10473 `(("gnome-desktop" ,gnome-desktop)
10474 ("gobject-introspection" ,gobject-introspection)
10475 ("gst-plugins-base" ,gst-plugins-base)
10476 ("gst-plugins-good" ,gst-plugins-good)
10477 ("gst-plugins-bad" ,gst-plugins-bad)
10478 ("gtk+" ,gtk+)
10479 ("libx11" ,libx11)
10480 ("libxtst" ,libxtst)))
10481 (home-page "https://wiki.gnome.org/Apps/Cheese")
10482 (synopsis "Webcam photo booth software for GNOME")
10483 (description
10484 "Cheese uses your webcam to take photos and videos. Cheese can also
10485 apply fancy special effects and lets you share the fun with others.")
10486 (license license:gpl2+)))
10487
10488 (define-public passwordsafe
10489 (package
10490 (name "passwordsafe")
10491 (version "5.0")
10492 (source
10493 (origin
10494 (method git-fetch)
10495 (uri (git-reference
10496 (url "https://gitlab.gnome.org/World/PasswordSafe")
10497 (commit version)))
10498 (file-name (git-file-name name version))
10499 (sha256
10500 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10501 (build-system meson-build-system)
10502 (arguments
10503 `(#:glib-or-gtk? #t
10504 #:phases
10505 (modify-phases %standard-phases
10506 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10507 (lambda* (#:key outputs #:allow-other-keys)
10508 (let ((prog (string-append (assoc-ref outputs "out")
10509 "/bin/gnome-passwordsafe"))
10510 (pylib (string-append (assoc-ref outputs "out")
10511 "/lib/python"
10512 ,(version-major+minor
10513 (package-version python))
10514 "/site-packages")))
10515 (wrap-program prog
10516 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10517 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10518 #t))))))
10519 (native-inputs
10520 `(("desktop-file-utils" ,desktop-file-utils)
10521 ("gettext" ,gettext-minimal)
10522 ("glib:bin" ,glib "bin")
10523 ("gobject-introspection" ,gobject-introspection)
10524 ("gtk+:bin" ,gtk+ "bin")
10525 ("pkg-config" ,pkg-config)))
10526 (inputs
10527 `(("glib" ,glib)
10528 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10529 ("gtk+" ,gtk+)
10530 ("libhandy" ,libhandy)
10531 ("libpwquality" ,libpwquality)
10532 ("python-pygobject" ,python-pygobject)
10533 ("python-pykeepass" ,python-pykeepass)))
10534 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10535 (synopsis "Password manager for the GNOME desktop")
10536 (description
10537 "Password Safe is a password manager which makes use of the KeePass v4
10538 format. It integrates perfectly with the GNOME desktop and provides an easy
10539 and uncluttered interface for the management of password databases.")
10540 (license license:gpl3+)))
10541
10542 (define-public sound-juicer
10543 (package
10544 (name "sound-juicer")
10545 (version "3.24.0")
10546 (source
10547 (origin
10548 (method url-fetch)
10549 (uri (string-append "mirror://gnome/sources/" name "/"
10550 (version-major+minor version) "/"
10551 name "-" version ".tar.xz"))
10552 (sha256
10553 (base32
10554 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10555 (build-system glib-or-gtk-build-system)
10556 (native-inputs
10557 `(("desktop-file-utils" ,desktop-file-utils)
10558 ("intltool" ,intltool)
10559 ("itstool" ,itstool)
10560 ("pkg-config" ,pkg-config)
10561 ("xmllint" ,libxml2)))
10562 (inputs
10563 `(("gtk+" ,gtk+)
10564 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10565 ("gstreamer" ,gstreamer)
10566 ("gst-plugins-base" ,gst-plugins-base)
10567 ("gst-plugins-good" ,gst-plugins-good)
10568 ("iso-codes" ,iso-codes)
10569 ("libbrasero-media3" ,brasero)
10570 ("libcanberra" ,libcanberra)
10571 ("libdiscid" ,libdiscid)
10572 ("libmusicbrainz" ,libmusicbrainz)
10573 ("neon" ,neon)))
10574 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10575 (synopsis "Audio music cd ripper")
10576 (description "Sound Juicer extracts audio from compact discs and convert it
10577 into audio files that a personal computer or digital audio player can play.
10578 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10579 mp3, Ogg Vorbis and FLAC")
10580 (license license:gpl2+)))
10581
10582 (define-public soundconverter
10583 (package
10584 (name "soundconverter")
10585 (version "3.0.2")
10586 (source
10587 (origin
10588 (method url-fetch)
10589 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10590 version "/+download/"
10591 "soundconverter-" version ".tar.xz"))
10592
10593 (sha256
10594 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10595 (build-system glib-or-gtk-build-system)
10596 (arguments
10597 `(#:imported-modules ((guix build python-build-system)
10598 (guix build glib-or-gtk-build-system)
10599 ,@%gnu-build-system-modules)
10600
10601 #:modules ((guix build glib-or-gtk-build-system)
10602 (guix build utils)
10603 ((guix build gnu-build-system) #:prefix gnu:)
10604 ((guix build python-build-system) #:prefix python:))
10605
10606 #:phases
10607 (modify-phases %standard-phases
10608 (add-after 'install 'wrap-soundconverter-for-python
10609 (assoc-ref python:%standard-phases 'wrap))
10610 (add-after 'install 'wrap-soundconverter
10611 (lambda* (#:key inputs outputs #:allow-other-keys)
10612 (let ((out (assoc-ref outputs "out"))
10613 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10614 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10615 (wrap-program (string-append out "/bin/soundconverter")
10616 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10617 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10618 #t)))))
10619 (native-inputs
10620 `(("intltool" ,intltool)
10621 ("pkg-config" ,pkg-config)
10622 ("glib:bin" ,glib "bin")))
10623 (inputs
10624 `(("gtk+" ,gtk+)
10625 ("python" ,python)
10626 ("python-pygobject" ,python-pygobject)
10627 ("gstreamer" ,gstreamer)
10628 ("gst-plugins-base" ,gst-plugins-base)))
10629 (home-page "https://soundconverter.org/")
10630 (synopsis "Convert between audio formats with a graphical interface")
10631 (description
10632 "SoundConverter supports converting between many audio formats including
10633 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10634 configurable file renaming. ")
10635 (license license:gpl3)))
10636
10637 (define-public workrave
10638 (package
10639 (name "workrave")
10640 (version "1.10.43")
10641 (source
10642 (origin
10643 (method git-fetch)
10644 (uri (git-reference
10645 (url "https://github.com/rcaelers/workrave")
10646 (commit (string-append "v" (string-map
10647 (match-lambda (#\. #\_) (chr chr))
10648 version)))))
10649 (file-name (git-file-name name version))
10650 (sha256
10651 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10652 (build-system glib-or-gtk-build-system)
10653 (arguments
10654 ;; The only tests are maintainer tests (in po/), which fail.
10655 `(#:tests? #f))
10656 (inputs `(("glib" ,glib)
10657 ("gtk+" ,gtk+)
10658 ("gdk-pixbuf" ,gdk-pixbuf)
10659 ("gtkmm" ,gtkmm)
10660 ("glibmm" ,glibmm)
10661 ("libx11" ,libx11)
10662 ("libxtst" ,libxtst)
10663 ("dconf" ,dconf)
10664 ("libice" ,libice)
10665 ("libsm" ,libsm)
10666 ("libxscrnsaver" ,libxscrnsaver)))
10667 (native-inputs `(("boost" ,boost)
10668 ("pkg-config" ,pkg-config)
10669 ("gettext" ,gettext-minimal)
10670 ("autoconf" ,autoconf)
10671 ("autoconf-archive" , autoconf-archive)
10672 ("automake" ,automake)
10673 ("libtool" ,libtool)
10674 ("intltool" ,intltool)
10675 ("gobject-introspection" ,gobject-introspection)
10676 ("python3" ,python-3)
10677 ("python-jinja2" ,python-jinja2)))
10678 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10679 (description
10680 "Workrave is a program that assists in the recovery and prevention of
10681 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10682 micro-pauses and rest breaks, and restricts you to your daily limit.")
10683 (home-page "http://www.workrave.org")
10684 (license license:gpl3+)))
10685
10686 (define-public ghex
10687 (package
10688 (name "ghex")
10689 (version "3.18.4")
10690 (source (origin
10691 (method url-fetch)
10692 (uri (string-append "mirror://gnome/sources/ghex/"
10693 (version-major+minor version) "/"
10694 "ghex-" version ".tar.xz"))
10695 (sha256
10696 (base32
10697 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10698 (build-system meson-build-system)
10699 (arguments
10700 '(#:glib-or-gtk? #t
10701 #:phases
10702 (modify-phases %standard-phases
10703 (add-after 'unpack 'skip-gtk-update-icon-cache
10704 ;; Don't create 'icon-theme.cache'.
10705 (lambda _
10706 (substitute* "meson_post_install.py"
10707 (("gtk-update-icon-cache") (which "true")))
10708 #t)))))
10709 (native-inputs
10710 `(("pkg-config" ,pkg-config)
10711 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10712 ("gnome-common" ,gnome-common)
10713 ("which" ,which)
10714 ("intltool" ,intltool)
10715 ("yelp-tools" ,yelp-tools)
10716 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10717 (inputs
10718 `(("atk" ,atk)
10719 ("gtk" ,gtk+)))
10720 (synopsis "GNOME hexadecimal editor")
10721 (description "The GHex program can view and edit files in two ways:
10722 hexadecimal or ASCII. It is useful for editing binary files in general.")
10723 (home-page "https://wiki.gnome.org/Apps/Ghex")
10724 (license license:gpl2)))
10725
10726 (define-public libdazzle
10727 (package
10728 (name "libdazzle")
10729 (version "3.37.1")
10730 (source (origin
10731 (method url-fetch)
10732 (uri (string-append "mirror://gnome/sources/libdazzle/"
10733 (version-major+minor version) "/"
10734 "libdazzle-" version ".tar.xz"))
10735 (sha256
10736 (base32
10737 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10738 (build-system meson-build-system)
10739 (arguments
10740 `(#:phases
10741 (modify-phases %standard-phases
10742 (add-before 'check 'pre-check
10743 (lambda _
10744 ;; Tests require a running X server.
10745 (system "Xvfb :1 &")
10746 (setenv "DISPLAY" ":1")
10747 #t)))))
10748 (native-inputs
10749 `(("glib" ,glib "bin") ; glib-compile-resources
10750 ("pkg-config" ,pkg-config)
10751 ;; For tests.
10752 ("xorg-server" ,xorg-server-for-tests)))
10753 (inputs
10754 `(("glib" ,glib)
10755 ("gobject-introspection" ,gobject-introspection)
10756 ("gtk+" ,gtk+)
10757 ("vala" ,vala)))
10758 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10759 (synopsis "Companion library to GObject and Gtk+")
10760 (description "The libdazzle library is a companion library to GObject and
10761 Gtk+. It provides various features that the authors wish were in the
10762 underlying library but cannot for various reasons. In most cases, they are
10763 wildly out of scope for those libraries. In other cases, they are not quite
10764 generic enough to work for everyone.")
10765 (license license:gpl3+)))
10766
10767 (define-public evolution
10768 (package
10769 (name "evolution")
10770 (version "3.34.2")
10771 (source (origin
10772 (method url-fetch)
10773 (uri (string-append "mirror://gnome/sources/evolution/"
10774 (version-major+minor version) "/"
10775 "evolution-" version ".tar.xz"))
10776 (sha256
10777 (base32
10778 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10779 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10780 (build-system cmake-build-system)
10781 (arguments
10782 `(#:imported-modules (,@%cmake-build-system-modules
10783 (guix build glib-or-gtk-build-system))
10784 #:modules ((guix build cmake-build-system)
10785 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10786 (guix build utils))
10787 #:configure-flags
10788 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10789 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10790 ; in four years and cannot be built.
10791 #:phases
10792 (modify-phases %standard-phases
10793 ;; The build system attempts to install user interface modules to the
10794 ;; output directory of the "evolution-data-server" package. This
10795 ;; change redirects that change.
10796 (add-after 'unpack 'patch-ui-module-dir
10797 (lambda* (#:key outputs #:allow-other-keys)
10798 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10799 (("\\$\\{edsuimoduledir\\}")
10800 (string-append (assoc-ref outputs "out")
10801 "/lib/evolution-data-server/ui-modules")))
10802 #t))
10803 (add-after 'install 'glib-or-gtk-compile-schemas
10804 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10805 (add-after 'install 'glib-or-gtk-wrap
10806 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10807 (native-inputs
10808 `(("glib" ,glib "bin") ; glib-mkenums
10809 ("pkg-config" ,pkg-config)
10810 ("intltool" ,intltool)
10811 ("itstool" ,itstool)))
10812 (inputs
10813 `(("enchant" ,enchant)
10814 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10815 ("gcr" ,gcr)
10816 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10817 ("gnome-autoar" ,gnome-autoar)
10818 ("gnome-desktop" ,gnome-desktop)
10819 ("gspell" ,gspell)
10820 ("highlight" ,highlight)
10821 ("libcanberra" ,libcanberra)
10822 ("libgweather" ,libgweather)
10823 ("libnotify" ,libnotify)
10824 ("libsoup" ,libsoup)
10825 ("nss" ,nss)
10826 ("openldap" ,openldap)
10827 ("webkitgtk" ,webkitgtk)
10828 ("ytnef" ,ytnef)))
10829 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10830 (synopsis "Manage your email, contacts and schedule")
10831 (description "Evolution is a personal information management application
10832 that provides integrated mail, calendaring and address book
10833 functionality.")
10834 ;; See COPYING for details.
10835 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10836 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10837 license:lgpl2.1+)))) ; smime/lib/*
10838
10839 (define-public gthumb
10840 (package
10841 (name "gthumb")
10842 (version "3.10.3")
10843 (source (origin
10844 (method url-fetch)
10845 (uri (string-append "mirror://gnome/sources/gthumb/"
10846 (version-major+minor version) "/"
10847 "gthumb-" version ".tar.xz"))
10848 (sha256
10849 (base32
10850 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10851 (build-system meson-build-system)
10852 (arguments
10853 `(#:glib-or-gtk? #t
10854 #:configure-flags
10855 ;; Ensure the RUNPATH contains all installed library locations.
10856 (list (string-append "-Dc_link_args=-Wl,-rpath="
10857 (assoc-ref %outputs "out")
10858 "/lib/gthumb/extensions")
10859 (string-append "-Dcpp_link_args=-Wl,-rpath="
10860 (assoc-ref %outputs "out")
10861 "/lib/gthumb/extensions"))))
10862 (native-inputs
10863 `(("pkg-config" ,pkg-config)
10864 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10865 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10866 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10867 ("intltool" ,intltool)
10868 ("itstool" ,itstool)))
10869 (inputs
10870 `(("exiv2" ,exiv2)
10871 ("gtk" ,gtk+)
10872 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10873 ("gstreamer" ,gstreamer)
10874 ("clutter" ,clutter)
10875 ("clutter-gst" ,clutter-gst)
10876 ("clutter-gtk" ,clutter-gtk)
10877 ("libjpeg" ,libjpeg-turbo)
10878 ("libtiff" ,libtiff)
10879 ("libraw" ,libraw)))
10880 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10881 (synopsis "GNOME image viewer and browser")
10882 (description "GThumb is an image viewer, browser, organizer, editor and
10883 advanced image management tool")
10884 (license license:gpl2+)))
10885
10886 (define-public terminator
10887 (package
10888 (name "terminator")
10889 (version "2.1.1")
10890 (source
10891 (origin
10892 (method url-fetch)
10893 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10894 "releases/download/v" version "/"
10895 name "-" version ".tar.gz"))
10896 (sha256
10897 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10898 (build-system python-build-system)
10899 (native-inputs
10900 `(("gettext" ,gettext-minimal)
10901 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10902 ("gobject-introspection" ,gobject-introspection)
10903 ("intltool" ,intltool)
10904 ("pkg-config" ,pkg-config)
10905 ("python-psutil" ,python-psutil)
10906 ("python-pytest-runner" ,python-pytest-runner)
10907 ("python-pytest" ,python-pytest)))
10908 (inputs
10909 `(("cairo" ,cairo)
10910 ("dbus-glib" ,dbus-glib)
10911 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10912 ("gtk+" ,gtk+)
10913 ("python" ,python-wrapper)
10914 ("python-dbus" ,python-dbus)
10915 ("python-notify2" ,python-notify2)
10916 ("python-pycairo" ,python-pycairo)
10917 ("python-pygobject" ,python-pygobject)
10918 ("vte" ,vte)))
10919 (propagated-inputs
10920 `(("python-configobj" ,python-configobj)))
10921 (arguments
10922 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10923 ;; tests.
10924 `(#:tests? #f
10925 #:imported-modules ((guix build glib-or-gtk-build-system)
10926 ,@%python-build-system-modules)
10927 #:modules ((guix build python-build-system)
10928 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10929 (guix build utils))
10930 #:phases
10931 (modify-phases %standard-phases
10932 (add-after 'unpack 'handle-dbus-python
10933 (lambda _
10934 ;; python-dbus cannot be found but it's really there. See
10935 ;; https://github.com/SpotlightKid/jack-select/issues/2
10936 (substitute* "setup.py"
10937 (("'dbus-python',") ""))
10938 #t))
10939 (add-after 'install 'wrap-program
10940 (lambda* (#:key outputs #:allow-other-keys)
10941 (let ((prog (string-append (assoc-ref outputs "out")
10942 "/bin/terminator"))
10943 (pylib (string-append (assoc-ref outputs "out")
10944 "/lib/python"
10945 ,(version-major+minor
10946 (package-version python))
10947 "/site-packages")))
10948 (wrap-program prog
10949 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10950 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10951 #t)))
10952 (add-after 'wrap-program 'glib-or-gtk-wrap
10953 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10954 (home-page "https://gnome-terminator.org/")
10955 (synopsis "Store and run multiple GNOME terminals in one window")
10956 (description
10957 "Terminator allows you to run multiple GNOME terminals in a grid and
10958 tabs, and it supports drag and drop re-ordering of terminals.")
10959 (license license:gpl2)))
10960
10961 (define-public libhandy
10962 (package
10963 (name "libhandy")
10964 (version "1.2.2")
10965 (source
10966 (origin
10967 (method git-fetch)
10968 (uri (git-reference
10969 (url "https://gitlab.gnome.org/GNOME/libhandy")
10970 (commit version)))
10971 (file-name (git-file-name name version))
10972 (sha256
10973 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10974 (build-system meson-build-system)
10975 (arguments
10976 `(#:configure-flags
10977 '("-Dglade_catalog=enabled"
10978 "-Dgtk_doc=true")
10979 #:phases
10980 (modify-phases %standard-phases
10981 (add-before 'check 'pre-check
10982 (lambda _
10983 ;; Tests require a running X server.
10984 (system "Xvfb :1 &")
10985 (setenv "DISPLAY" ":1")
10986 #t)))))
10987 (inputs
10988 `(("gtk+" ,gtk+)
10989 ("glade" ,glade3)
10990 ("libxml2" ,libxml2)))
10991 (native-inputs
10992 `(("glib:bin" ,glib "bin")
10993 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10994 ("vala" ,vala)
10995 ("gtk-doc" ,gtk-doc/stable)
10996 ("pkg-config" ,pkg-config)
10997 ("gettext" ,gettext-minimal)
10998
10999 ;; Test suite dependencies.
11000 ("xorg-server" ,xorg-server-for-tests)
11001 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11002 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11003 (synopsis "Library full of GTK+ widgets for mobile phones")
11004 (description "The aim of the handy library is to help with developing user
11005 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11006 for usage on small and big screens.")
11007 (license license:lgpl2.1+)))
11008
11009 (define-public libhandy-0.0
11010 (package
11011 (inherit libhandy)
11012 (version "0.0.13")
11013 (source
11014 (origin
11015 (method git-fetch)
11016 (uri (git-reference
11017 (url "https://gitlab.gnome.org/GNOME/libhandy")
11018 (commit (string-append "v" version))))
11019 (file-name (git-file-name "libhandy" version))
11020 (sha256
11021 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11022 (arguments
11023 (substitute-keyword-arguments (package-arguments libhandy)
11024 ((#:configure-flags flags)
11025 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11026
11027 (define-public libgit2-glib
11028 (package
11029 (name "libgit2-glib")
11030 (version "0.99.0.1")
11031 (source (origin
11032 (method url-fetch)
11033 (uri (string-append "mirror://gnome/sources/" name "/"
11034 (version-major+minor version) "/"
11035 name "-" version ".tar.xz"))
11036 (sha256
11037 (base32
11038 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11039 (build-system meson-build-system)
11040 (native-inputs
11041 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11042 ("gobject-introspection" ,gobject-introspection)
11043 ("pkg-config" ,pkg-config)
11044 ("python-pygobject" ,python-pygobject)
11045 ("python-wrapper" ,python-wrapper)
11046 ("vala" ,vala)))
11047 (inputs
11048 `(("glib" ,glib)
11049 ("libssh2" ,libssh2)))
11050 (propagated-inputs
11051 `(;; In Requires of libgit2-glib.pc.
11052 ("libgit2" ,libgit2)))
11053 (synopsis "GLib wrapper around the libgit2 Git access library")
11054 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11055 access library. It only implements the core plumbing functions, not really the
11056 higher level porcelain stuff.")
11057 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11058 (license license:gpl2+)))
11059
11060 (define-public gitg
11061 (package
11062 (name "gitg")
11063 (version "3.32.1")
11064 (source (origin
11065 (method url-fetch)
11066 (uri (string-append "mirror://gnome/sources/" name "/"
11067 (version-major+minor version) "/"
11068 name "-" version ".tar.xz"))
11069 (sha256
11070 (base32
11071 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11072 (build-system meson-build-system)
11073 (arguments
11074 `(#:glib-or-gtk? #t
11075 #:phases
11076 (modify-phases %standard-phases
11077 (add-after 'unpack 'disable-post-install-partially
11078 (lambda _
11079 (substitute* "meson_post_install.py"
11080 (("'python'") ; there are no python sources to compile
11081 (string-append "'" (which "true") "'"))
11082 (("gtk-update-icon-cache") (which "true")))
11083 #t))
11084 (add-after 'unpack 'fix-test-sources
11085 (lambda _
11086 (substitute* "tests/libgitg/test-commit.vala"
11087 (("/bin/bash") (which "bash")))
11088 #t))
11089 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11090 (lambda* (#:key outputs #:allow-other-keys)
11091 (let ((prog (string-append (assoc-ref outputs "out")
11092 "/bin/gitg")))
11093 (wrap-program prog
11094 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11095 #t))))))
11096 (inputs
11097 `(("glib" ,glib)
11098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11099 ("gtk+" ,gtk+)
11100 ("gtkspell3" ,gtkspell3)
11101 ("gtksourceview" ,gtksourceview-3)
11102 ("json-glib" ,json-glib)
11103 ("libdazzle" ,libdazzle)
11104 ("libgee" ,libgee)
11105 ("libgit2-glib" ,libgit2-glib)
11106 ("libpeas" ,libpeas)
11107 ("libsecret" ,libsecret)
11108 ("libsoup" ,libsoup)
11109 ("libxml2" ,libxml2)))
11110 (native-inputs
11111 `(("glib:bin" ,glib "bin")
11112 ("gtk+:bin" ,gtk+ "bin")
11113 ("gobject-introspection" ,gobject-introspection)
11114 ("intltool" ,intltool)
11115 ("pkg-config" ,pkg-config)
11116 ("vala" ,vala)))
11117 (synopsis "Graphical user interface for git")
11118 (description
11119 "gitg is a graphical user interface for git. It aims at being a small,
11120 fast and convenient tool to visualize the history of git repositories.
11121 Besides visualization, gitg also provides several utilities to manage your
11122 repository and commit your work.")
11123 (home-page "https://wiki.gnome.org/Apps/Gitg")
11124 (license license:gpl2+)))
11125
11126 (define-public gamin
11127 (package
11128 (name "gamin")
11129 (version "0.1.10")
11130 (source (origin
11131 (method url-fetch)
11132 (uri (string-append "mirror://gnome/sources/" name "/"
11133 (version-major+minor version) "/"
11134 name "-" version ".tar.bz2"))
11135 (sha256
11136 (base32
11137 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11138 (build-system gnu-build-system)
11139 (arguments
11140 `(#:phases
11141 (modify-phases %standard-phases
11142 (add-after 'unpack 'remove-deprecated-macro
11143 (lambda _
11144 (substitute* '("server/gam_node.c"
11145 "server/gam_subscription.h"
11146 "server/gam_node.h"
11147 "server/gam_subscription.c")
11148 (("G_CONST_RETURN") "const"))
11149 #t)))))
11150 (inputs
11151 `(("glib" ,glib)))
11152 (native-inputs
11153 `(("intltool" ,intltool)
11154 ("pkg-config" ,pkg-config)))
11155 (home-page "https://people.gnome.org/~veillard/gamin/")
11156 (synopsis "File alteration monitor")
11157 (description
11158 "Gamin is a file and directory monitoring system defined to be a subset
11159 of the FAM (File Alteration Monitor) system. This is a service provided by a
11160 library which detects when a file or a directory has been modified.")
11161 (license license:gpl2+)))
11162
11163 (define-public gnome-mahjongg
11164 (package
11165 (name "gnome-mahjongg")
11166 (version "3.35.1")
11167 (source (origin
11168 (method git-fetch)
11169 (uri (git-reference
11170 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11171 (commit version)))
11172 (file-name (git-file-name name version))
11173 (sha256
11174 (base32
11175 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11176 (build-system meson-build-system)
11177 (arguments
11178 `(#:glib-or-gtk? #t))
11179 (native-inputs
11180 `(("appstream-glib" ,appstream-glib)
11181 ("gettext" ,gettext-minimal)
11182 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11183 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11184 ("itstool" ,itstool)
11185 ("pkg-config" ,pkg-config)
11186 ("vala" ,vala)))
11187 (propagated-inputs
11188 `(("dconf" ,dconf)))
11189 (inputs
11190 `(("glib" ,glib)
11191 ("gtk+" ,gtk+)
11192 ("librsvg" ,librsvg)))
11193 (synopsis "Mahjongg tile-matching game")
11194 (description "GNOME Mahjongg is a game based on the classic Chinese
11195 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11196 and a high score table.")
11197 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11198 (license license:gpl2+)))
11199
11200 (define-public gnome-themes-extra
11201 (package
11202 (name "gnome-themes-extra")
11203 (version "3.28")
11204 (source
11205 (origin
11206 (method url-fetch)
11207 (uri (string-append "mirror://gnome/sources/" name "/"
11208 (version-major+minor version) "/" name "-"
11209 version ".tar.xz"))
11210 (sha256
11211 (base32
11212 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11213 (build-system gnu-build-system)
11214 (arguments
11215 '(#:configure-flags
11216 ;; Don't create 'icon-theme.cache'.
11217 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11218 (true (string-append coreutils "/bin/true")))
11219 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11220 (native-inputs
11221 `(("glib:bin" ,glib "bin")
11222 ("intltool" ,intltool)
11223 ("pkg-config" ,pkg-config)))
11224 (inputs
11225 `(("glib" ,glib)
11226 ("gtk+" ,gtk+)
11227 ("gtk+-2" ,gtk+-2)
11228 ("librsvg" ,librsvg)
11229 ("libxml2" ,libxml2)))
11230 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11231 (synopsis "GNOME Extra Themes")
11232 (description "This package provides themes and related elements that don't
11233 really fit in other upstream packages. It offers legacy support for GTK+ 2
11234 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11235 index files needed for Adwaita to be used outside of GNOME.")
11236 (license license:lgpl2.1+)))
11237
11238 (define-public gnote
11239 (package
11240 (name "gnote")
11241 (version "3.38.1")
11242 (source
11243 (origin
11244 (method url-fetch)
11245 (uri (string-append "mirror://gnome/sources/" name "/"
11246 (version-major+minor version) "/"
11247 "gnote-" version ".tar.xz"))
11248 (sha256
11249 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11250 (build-system glib-or-gtk-build-system)
11251 (native-inputs
11252 `(("desktop-file-utils" ,desktop-file-utils)
11253 ("glib:bin" ,glib "bin")
11254 ("gobject-introspection" ,gobject-introspection)
11255 ("intltool" ,intltool)
11256 ("itstool" ,itstool)
11257 ("pkg-config" ,pkg-config)
11258 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11259 (inputs
11260 `(("glibmm" ,glibmm)
11261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11262 ("gspell" ,gspell)
11263 ("gtk+" ,gtk+)
11264 ("gtkmm" ,gtkmm)
11265 ("libsecret" ,libsecret)
11266 ("libuuid" ,util-linux "lib")
11267 ("libxml2" ,libxml2)
11268 ("libxslt" ,libxslt)))
11269 (synopsis "Note-taking application for the GNOME desktop")
11270 (description
11271 "Gnote is a note-taking application written for the GNOME desktop
11272 environment.")
11273 (home-page "https://wiki.gnome.org/Apps/Gnote")
11274 (license license:gpl3+)))
11275
11276 (define-public polari
11277 (package
11278 (name "polari")
11279 (version "3.36.3")
11280 (source (origin
11281 (method url-fetch)
11282 (uri (string-append "mirror://gnome/sources/polari/"
11283 (version-major+minor version)
11284 "/polari-" version ".tar.xz"))
11285 (sha256
11286 (base32
11287 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11288 (build-system meson-build-system)
11289 (arguments
11290 `(#:glib-or-gtk? #t
11291 #:phases
11292 (modify-phases %standard-phases
11293 (add-after 'unpack 'skip-gtk-update-icon-cache
11294 (lambda _
11295 (substitute* "meson/meson-postinstall.sh"
11296 (("gtk-update-icon-cache") (which "true")))
11297 #t))
11298 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11299 (lambda* (#:key outputs #:allow-other-keys)
11300 (let ((prog (string-append (assoc-ref outputs "out")
11301 "/bin/polari")))
11302 (wrap-program prog
11303 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11304 #t))))))
11305 (inputs
11306 `(("glib" ,glib)
11307 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11308 ("gspell" ,gspell)
11309 ("gtk+" ,gtk+)
11310 ("gjs" ,gjs)
11311 ("libsecret" ,libsecret)
11312 ("libsoup" ,libsoup)
11313 ("telepathy-glib" ,telepathy-glib)
11314 ("telepathy-logger" ,telepathy-logger)))
11315 (native-inputs
11316 `(("glib:bin" ,glib "bin")
11317 ("gobject-introspection" ,gobject-introspection)
11318 ("intltool" ,intltool)
11319 ("pkg-config" ,pkg-config)
11320 ("yelp-tools" ,yelp-tools)))
11321 (propagated-inputs
11322 `(("telepathy-idle" ,telepathy-idle)
11323 ("telepathy-mission-control" ,telepathy-mission-control)))
11324 (synopsis "Simple IRC Client")
11325 (description
11326 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11327 integrate seamlessly with the GNOME desktop.")
11328 (home-page "https://wiki.gnome.org/Apps/Polari")
11329 (license license:gpl2+)))
11330
11331 (define-public gnome-boxes
11332 (package
11333 (name "gnome-boxes")
11334 (version "3.36.6")
11335 (source
11336 (origin
11337 (method url-fetch)
11338 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11339 (version-major+minor version) "/"
11340 "gnome-boxes-" version ".tar.xz"))
11341 (sha256
11342 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11343 (build-system meson-build-system)
11344 (arguments
11345 '(#:glib-or-gtk? #t
11346 #:configure-flags (list "-Drdp=false"
11347 (string-append "-Dc_link_args=-Wl,-rpath="
11348 (assoc-ref %outputs "out")
11349 "/lib/gnome-boxes"))))
11350 (native-inputs
11351 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11352 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11353 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11354 ("itstool" ,itstool)
11355 ("intltool" ,intltool)
11356 ("vala" ,vala)
11357 ("pkg-config" ,pkg-config)))
11358 (inputs
11359 `(("libarchive" ,libarchive)
11360 ("glib-networking" ,glib-networking) ;for TLS support
11361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11362 ("gtk" ,gtk+)
11363 ("gtk-vnc" ,gtk-vnc)
11364 ("libosinfo" ,libosinfo)
11365 ("libsecret" ,libsecret)
11366 ("libsoup" ,libsoup)
11367 ("libusb" ,libusb)
11368 ("libvirt" ,libvirt)
11369 ("libvirt-glib" ,libvirt-glib)
11370 ("libxml" ,libxml2)
11371 ("spice-gtk" ,spice-gtk)
11372 ("sparql-query" ,sparql-query)
11373 ("vte" ,vte)
11374 ("webkitgtk" ,webkitgtk)
11375 ("tracker" ,tracker)
11376 ("libgudev" ,libgudev)))
11377 (home-page "https://wiki.gnome.org/Apps/Boxes")
11378 (synopsis "View, access, and manage remote and virtual systems")
11379 (description "GNOME Boxes is a simple application to view, access, and
11380 manage remote and virtual systems. Note that this application requires the
11381 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11382 @command{info '(guix) Virtualization Services'} to learn how to configure
11383 these services on the Guix System.")
11384 (license (list
11385 ;; For data/icons/empty-boxes.png.
11386 license:cc-by2.0
11387 ;; For all others.
11388 license:lgpl2.0+))))
11389
11390 (define-public geary
11391 (package
11392 (name "geary")
11393 (version "3.34.1")
11394 (source (origin
11395 (method git-fetch)
11396 (uri (git-reference
11397 (url "https://gitlab.gnome.org/GNOME/geary")
11398 (commit version)))
11399 (file-name (git-file-name name version))
11400 (sha256
11401 (base32
11402 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11403 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11404 (build-system meson-build-system)
11405 (arguments
11406 `(#:glib-or-gtk? #t
11407 #:phases (modify-phases %standard-phases
11408 (add-after 'unpack 'disable-failing-tests
11409 (lambda _
11410 (substitute* "test/meson.build"
11411 (("test\\('client-tests', geary_test_client_bin\\)")
11412 ""))
11413 #t))
11414 (add-after 'unpack 'disable-postinstall-script
11415 (lambda _
11416 (substitute* "meson.build"
11417 (("meson.add_install_script\\(\
11418 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11419 ""))
11420 #t))
11421 (add-before 'check 'setup-xvfb
11422 (lambda _
11423 (system "Xvfb :1 &")
11424 (setenv "DISPLAY" ":1")
11425 #t)))))
11426 (inputs
11427 `(("enchant" ,enchant)
11428 ("folks" ,folks)
11429 ("gcr" ,gcr)
11430 ("glib" ,glib)
11431 ("gmime" ,gmime-2.6)
11432 ("gnome-online-accounts:lib"
11433 ,gnome-online-accounts "lib")
11434 ("gspell" ,gspell)
11435 ("gtk+" ,gtk+)
11436 ("iso-codes" ,iso-codes)
11437 ("json-glib" ,json-glib)
11438 ("libcanberra" ,libcanberra)
11439 ("libgee" ,libgee)
11440 ("libhandy" ,libhandy-0.0)
11441 ("libpeas" ,libpeas)
11442 ("libsecret" ,libsecret)
11443 ("libunwind" ,libunwind)
11444 ("sqlite" ,sqlite)
11445 ("webkitgtk" ,webkitgtk)
11446 ("ytnef" ,ytnef)))
11447 (native-inputs
11448 `(("appstream-glib" ,appstream-glib)
11449 ("cmake-minimal" ,cmake-minimal)
11450 ("desktop-file-utils" ,desktop-file-utils)
11451 ("gettext" ,gettext-minimal)
11452 ("glib:bin" ,glib "bin")
11453 ("gobject-introspection" ,gobject-introspection)
11454 ("itstool" ,itstool)
11455 ("libarchive" ,libarchive)
11456 ("libxml2" ,libxml2)
11457 ("pkg-config" ,pkg-config)
11458 ("vala" ,vala)
11459 ("xvfb" ,xorg-server-for-tests)))
11460 (synopsis "GNOME email application built around conversations")
11461 (description
11462 "Geary collects related messages together into conversations,
11463 making it easy to find and follow your discussions. Full-text and keyword
11464 search makes it easy to find the email you are looking for. Geary's
11465 full-featured composer lets you send rich, styled text with images, links, and
11466 lists, but also send lightweight, easy to read text messages. Geary
11467 automatically picks up your existing GNOME Online Accounts, and adding more is
11468 easy. Geary has a clean, fast, modern interface that works like you want it
11469 to.")
11470 (home-page "https://wiki.gnome.org/Apps/Geary")
11471 (license (list
11472 ;; geary
11473 license:lgpl2.1+
11474 ;; icons
11475 license:cc-by3.0
11476 license:cc-by-sa3.0
11477 license:public-domain
11478 ;; snowball
11479 license:bsd-2))))
11480
11481 (define-public glabels
11482 (package
11483 (name "glabels")
11484 (version "3.4.1")
11485 (source
11486 (origin
11487 (method url-fetch)
11488 (uri (string-append "mirror://gnome/sources/" name "/"
11489 (version-major+minor version) "/"
11490 "glabels-" version ".tar.xz"))
11491 (sha256
11492 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11493 (build-system glib-or-gtk-build-system)
11494 (native-inputs
11495 `(("gettext" ,gettext-minimal)
11496 ("glib:bin" ,glib "bin")
11497 ("intltool" ,intltool)
11498 ("itstool" ,itstool)
11499 ("pkg-config" ,pkg-config)))
11500 (inputs
11501 `(("gtk+" ,gtk+)
11502 ("librsvg" ,librsvg)
11503 ("libxml2" ,libxml2)))
11504 (home-page "https://glabels.org/")
11505 (synopsis "Program for creating labels and business cards")
11506 (description
11507 "gLabels is a program for creating labels and business cards. It is
11508 designed to work with various laser/ink-jet peel-off label and business
11509 card sheets that you’ll find at most office supply stores.")
11510 (license license:gpl3+)))
11511
11512 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11513 (define-public gnome-latex
11514 (package
11515 (name "gnome-latex")
11516 (version "3.36.0")
11517 (source
11518 (origin
11519 (method url-fetch)
11520 (uri (string-append "mirror://gnome/sources/" name "/"
11521 (version-major+minor version) "/"
11522 "gnome-latex-" version ".tar.xz"))
11523 (sha256
11524 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11525 (build-system glib-or-gtk-build-system)
11526 (native-inputs
11527 `(("gettext" ,gettext-minimal)
11528 ("glib:bin" ,glib "bin")
11529 ("gobject-introspection" ,gobject-introspection)
11530 ("gtk-doc" ,gtk-doc/stable)
11531 ("intltool" ,intltool)
11532 ("itstool" ,itstool)
11533 ("pkg-config" ,pkg-config)
11534 ("vala" ,vala)))
11535 (inputs
11536 `(("amtk" ,amtk)
11537 ("dconf" ,dconf)
11538 ("glib" ,glib)
11539 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11540 ("gspell" ,gspell)
11541 ("gtk+" ,gtk+)
11542 ("gtksourceview" ,gtksourceview)
11543 ("libgee" ,libgee)
11544 ("tepl" ,tepl)
11545 ("uchardet" ,uchardet)))
11546 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11547 (synopsis "LaTeX editor for the GNOME desktop")
11548 (description
11549 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11550 such as build tools, completion of LaTeX commands, structure navigation,
11551 symbol tables, document templates, project management, spell-checking, menus
11552 and toolbars.")
11553 (license license:gpl3+)))
11554
11555 (define-public setzer
11556 (package
11557 (name "setzer")
11558 (version "0.4.1")
11559 (source
11560 (origin
11561 (method git-fetch)
11562 (uri (git-reference
11563 (url "https://github.com/cvfosammmm/Setzer")
11564 (commit (string-append "v" version))))
11565 (file-name (git-file-name name version))
11566 (sha256
11567 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11568 (build-system meson-build-system)
11569 (arguments
11570 `(#:glib-or-gtk? #t
11571 #:phases
11572 (modify-phases %standard-phases
11573 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11574 (lambda* (#:key outputs #:allow-other-keys)
11575 (let ((prog (string-append (assoc-ref outputs "out")
11576 "/bin/setzer"))
11577 (pylib (string-append (assoc-ref outputs "out")
11578 "/lib/python"
11579 ,(version-major+minor
11580 (package-version python))
11581 "/site-packages")))
11582 (wrap-program prog
11583 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11584 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11585 #t))))))
11586 (native-inputs
11587 `(("desktop-file-utils" ,desktop-file-utils)
11588 ("gettext" ,gettext-minimal)
11589 ("glib:bin" ,glib "bin")
11590 ("gobject-introspection" ,gobject-introspection)
11591 ("gtk+:bin" ,gtk+ "bin")))
11592 (inputs
11593 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11594 ("gspell" ,gspell)
11595 ("gtk+" ,gtk+)
11596 ("gtksourceview" ,gtksourceview)
11597 ("pango" ,pango)
11598 ("poppler" ,poppler)
11599 ("python-pdfminer" ,python-pdfminer-six)
11600 ("python-pycairo" ,python-pycairo)
11601 ("python-pygobject" ,python-pygobject)
11602 ("python-pyxdg" ,python-pyxdg)
11603 ("webkitgtk" ,webkitgtk)
11604 ("xdg-utils" ,xdg-utils)))
11605 (home-page "https://www.cvfosammmm.org/setzer/")
11606 (synopsis "LaTeX editor written in Python with GTK+")
11607 (description
11608 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11609 GTK+. It integrates well with the GNOME desktop environment.")
11610 (license license:gpl3+)))
11611
11612 (define-public libratbag
11613 (package
11614 (name "libratbag")
11615 (version "0.14")
11616 (source
11617 (origin
11618 (method git-fetch)
11619 (uri (git-reference
11620 (url "https://github.com/libratbag/libratbag")
11621 (commit (string-append "v" version))))
11622 (file-name (git-file-name name version))
11623 (sha256
11624 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11625 (build-system meson-build-system)
11626 (arguments
11627 `(#:configure-flags
11628 (list "-Dsystemd=false"
11629 "-Dlogind-provider=elogind")
11630 #:phases
11631 (modify-phases %standard-phases
11632 (add-after 'install 'wrap
11633 (lambda* (#:key inputs outputs #:allow-other-keys)
11634 (let* ((out (assoc-ref outputs "out"))
11635 (site (string-append
11636 "/lib/python"
11637 ,(version-major+minor (package-version python))
11638 "/site-packages"))
11639 (evdev (string-append
11640 (assoc-ref inputs "python-evdev") site))
11641 (pygo (string-append
11642 (assoc-ref inputs "python-pygobject") site))
11643 (python-wrap
11644 `("PYTHONPATH" = (,evdev ,pygo))))
11645 (wrap-program (string-append out "/bin/" "ratbagctl")
11646 python-wrap)
11647 #t))))))
11648 (native-inputs
11649 `(("check" ,check)
11650 ("pkg-config" ,pkg-config)
11651 ("swig" ,swig)
11652 ("valgrind" ,valgrind)))
11653 (inputs
11654 `(("glib" ,glib)
11655 ("json-glib" ,json-glib)
11656 ("libevdev" ,libevdev)
11657 ("libsystemd" ,elogind)
11658 ("libunistring" ,libunistring)
11659 ("python-evdev" ,python-evdev)
11660 ("python-pygobject" ,python-pygobject)
11661 ("udev" ,eudev)))
11662 (home-page "https://github.com/libratbag/libratbag")
11663 (synopsis "DBus daemon and utility for configuring gaming mice")
11664 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11665 configure input devices, mainly gaming mice. The daemon provides a generic
11666 way to access the various features exposed by these mice and abstracts away
11667 hardware-specific and kernel-specific quirks. There is also the
11668 @command{ratbagctl} command line interface for configuring devices.
11669
11670 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11671 Steelseries.
11672
11673 The ratbagd DBus service can be enabled by adding the following service to
11674 your operating-system definition:
11675
11676 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11677 (license license:expat)))
11678
11679 (define-public piper
11680 (package
11681 (name "piper")
11682 (version "0.5.1")
11683 (source
11684 (origin
11685 (method git-fetch)
11686 (uri (git-reference
11687 (url "https://github.com/libratbag/piper")
11688 (commit version)))
11689 (sha256
11690 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11691 (file-name (git-file-name name version))))
11692 (build-system meson-build-system)
11693 (native-inputs
11694 `(("gettext" ,gettext-minimal)
11695 ("glib:bin" ,glib "bin")
11696 ("gobject-introspection" ,gobject-introspection)
11697 ("pkg-config" ,pkg-config)
11698 ("python-flake8" ,python-flake8)))
11699 (inputs
11700 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11701 ("gtk" ,gtk+)
11702 ("gtk:bin" ,gtk+ "bin")
11703 ("librsvg" ,librsvg)
11704 ("python-evdev" ,python-evdev)
11705 ("python-lxml" ,python-lxml)
11706 ("python-pycairo" ,python-pycairo)
11707 ("python-pygobject" ,python-pygobject)))
11708 (arguments
11709 `(#:imported-modules ((guix build python-build-system)
11710 ,@%meson-build-system-modules)
11711 #:modules (((guix build python-build-system) #:prefix python:)
11712 (guix build meson-build-system)
11713 (guix build utils))
11714 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11715 #:phases
11716 (modify-phases %standard-phases
11717 (add-after 'unpack 'dont-update-gtk-icon-cache
11718 (lambda _
11719 (substitute* "meson.build"
11720 (("meson.add_install_script('meson_install.sh')") ""))
11721 #t))
11722 ;; TODO: Switch to wrap-script when it is fixed.
11723 (add-after 'install 'wrap-python
11724 (assoc-ref python:%standard-phases 'wrap))
11725 (add-after 'wrap-python 'wrap
11726 (lambda* (#:key outputs #:allow-other-keys)
11727 (wrap-program
11728 (string-append (assoc-ref outputs "out" )"/bin/piper")
11729 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11730 #t)))))
11731 (home-page "https://github.com/libratbag/piper/")
11732 (synopsis "Configure bindings and LEDs on gaming mice")
11733 (description "Piper is a GTK+ application for configuring gaming mice with
11734 onboard configuration for key bindings via libratbag. Piper requires
11735 a @command{ratbagd} daemon running with root privileges. It can be run
11736 manually as root, but is preferably configured as a DBus service that can
11737 launch on demand. This can be configured by enabling the following service,
11738 provided there is a DBus service present:
11739
11740 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11741 (license license:gpl2)))
11742
11743 (define-public parlatype
11744 (package
11745 (name "parlatype")
11746 (version "2.1")
11747 (source
11748 (origin
11749 (method git-fetch)
11750 (uri (git-reference
11751 (url "https://github.com/gkarsay/parlatype")
11752 (commit (string-append "v" version))))
11753 (file-name (git-file-name name version))
11754 (sha256
11755 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11756 (build-system meson-build-system)
11757 (arguments
11758 `(#:glib-or-gtk? #t
11759 #:tests? #f ;require internet access
11760 #:phases
11761 (modify-phases %standard-phases
11762 (add-after 'install 'wrap-parlatype
11763 ;; Add gstreamer plugin provided in this package to system's
11764 ;; plugins.
11765 (lambda* (#:key outputs #:allow-other-keys)
11766 (let* ((out (assoc-ref outputs "out"))
11767 (gst-plugin-path (string-append
11768 out "/lib/gstreamer-1.0/"
11769 ":"
11770 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11771 (wrap-program (string-append out "/bin/parlatype")
11772 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11773 #t)))))
11774 (native-inputs
11775 `(("appstream-glib" ,appstream-glib)
11776 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11777 ("gettext" ,gettext-minimal)
11778 ("glib" ,glib "bin") ;for glib-compile-resources
11779 ("pkg-config" ,pkg-config)
11780 ("yelp-tools" ,yelp-tools)))
11781 (inputs
11782 `(("gst-plugins-base" ,gst-plugins-base)
11783 ("gst-plugins-good" ,gst-plugins-good)
11784 ("gstreamer" ,gstreamer)
11785 ("gtk+" ,gtk+)
11786 ("pocketsphinx" ,pocketsphinx)
11787 ("pulseaudio" ,pulseaudio)
11788 ("sphinxbase" ,sphinxbase)))
11789 (home-page "http://gkarsay.github.io/parlatype/")
11790 (synopsis "GNOME audio player for transcription")
11791 (description "Parlatype is an audio player for the GNOME desktop
11792 environment. Its main purpose is the manual transcription of spoken
11793 audio files.")
11794 (license license:gpl3+)))
11795
11796 (define-public jsonrpc-glib
11797 (package
11798 (name "jsonrpc-glib")
11799 (version "3.34.0")
11800 (source (origin
11801 (method url-fetch)
11802 (uri (string-append "mirror://gnome/sources/" name "/"
11803 (version-major+minor version) "/"
11804 name "-" version ".tar.xz"))
11805 (sha256
11806 (base32
11807 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11808 (build-system meson-build-system)
11809 (inputs
11810 `(("json-glib" ,json-glib)
11811 ("glib" ,glib)))
11812 (native-inputs
11813 `(("pkg-config" ,pkg-config)
11814 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11815 ("gobject-introspection" ,gobject-introspection)
11816 ("vala" ,vala)))
11817 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11818 (synopsis "JSON-RPC library for GLib")
11819 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11820 peers in either a synchronous or asynchronous fashion. It also allows
11821 communicating using the GVariant serialization format instead of JSON when
11822 both peers support it. You might want that when communicating on a single
11823 host to avoid parser overhead and memory-allocator fragmentation.")
11824 (license license:lgpl2.1+)))
11825
11826 (define-public feedbackd
11827 (package
11828 (name "feedbackd")
11829 (version "0.0.0+git20200527")
11830 (source (origin
11831 (method git-fetch)
11832 (uri (git-reference
11833 (url "https://source.puri.sm/Librem5/feedbackd.git")
11834 (commit (string-append "v" version))))
11835 (file-name (git-file-name name version))
11836 (sha256
11837 (base32
11838 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11839 (build-system meson-build-system)
11840 (native-inputs
11841 `(("glib:bin" ,glib "bin")
11842 ("gobject-introspection" ,gobject-introspection)
11843 ("pkg-config" ,pkg-config)
11844 ("vala" ,vala)))
11845 (inputs
11846 `(("dbus" ,dbus)
11847 ("gsound" ,gsound)
11848 ("json-glib" ,json-glib)
11849 ("libgudev" ,libgudev)))
11850 (propagated-inputs
11851 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11852 (synopsis "Haptic/visual/audio feedback via DBus")
11853 (description "Feedbackd provides a DBus daemon to act on events to provide
11854 haptic, visual and audio feedback. It offers the libfeedbackd library and
11855 GObject introspection bindings.")
11856 (home-page "https://source.puri.sm/Librem5/feedbackd")
11857 (license (list license:lgpl2.1+ ; libfeedbackd
11858 license:lgpl3+)))) ; the rest
11859
11860 (define-public sysprof
11861 (package
11862 (name "sysprof")
11863 (version "3.36.0")
11864 (source
11865 (origin
11866 (method url-fetch)
11867 (uri (string-append "mirror://gnome/sources/sysprof/"
11868 (version-major+minor version) "/"
11869 "sysprof-" version ".tar.xz"))
11870 (sha256
11871 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11872 (build-system meson-build-system)
11873 (arguments
11874 `(#:configure-flags
11875 (list (string-append "-Dsystemdunitdir="
11876 %output
11877 "/share/systemd"))
11878 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11879 #:phases
11880 (modify-phases %standard-phases
11881 (add-after 'unpack 'patch-install-script
11882 (lambda _
11883 (substitute* "build-aux/meson/post_install.sh"
11884 (("gtk-update-icon-cache") "true")
11885 (("update-desktop-database") "true"))
11886 #t)))))
11887 (inputs
11888 `(("glib" ,glib)
11889 ("gtk+" ,gtk+)
11890 ("libdazzle" ,libdazzle)
11891 ("polkit" ,polkit)))
11892 (native-inputs
11893 `(("gettext" ,gettext-minimal)
11894 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11895 ("itstool" ,itstool)
11896 ("pkg-config" ,pkg-config)
11897 ("xmllint" ,libxml2)))
11898 ;; This home page is so woefully out of date as to be essentially useless.
11899 ;; (home-page "http://www.sysprof.com")
11900 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11901 (synopsis "System-wide performance profiler for GNU/Linux")
11902 (description
11903 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11904 GNU/Linux system including the kernel and all user-space applications. This
11905 helps find the function(s) in which a program spends most of its time.
11906
11907 It uses the kernel's built-in @code{ptrace} feature and handles shared
11908 libraries. Applications do not need to be recompiled--or even restarted.")
11909 (license license:gpl3+)))
11910
11911 (define-public gnome-builder
11912 (package
11913 (name "gnome-builder")
11914 (version "3.36.1")
11915 (source (origin
11916 (method url-fetch)
11917 (uri (string-append "mirror://gnome/sources/" name "/"
11918 (version-major+minor version) "/"
11919 name "-" version ".tar.xz"))
11920 (sha256
11921 (base32
11922 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11923 (build-system meson-build-system)
11924 (arguments
11925 `(#:configure-flags (list "-Dnetwork_tests=false"
11926 ;; TODO: Enable all plugins...
11927 "-Dplugin_clang=false"
11928 "-Dplugin_flatpak=false"
11929 "-Dplugin_glade=false"
11930 ;; XXX: This one has been shown not to work in
11931 ;; <https://issues.guix.gnu.org/45272>
11932 "-Dplugin_jedi=false"
11933 ;; ... except this one.
11934 "-Dplugin_update_manager=false")
11935 #:phases
11936 (modify-phases %standard-phases
11937 (add-after 'unpack 'patch-meson
11938 (lambda* (#:key inputs #:allow-other-keys)
11939 (substitute* "build-aux/meson/post_install.py"
11940 (("gtk-update-icon-cache") "true")
11941 (("update-desktop-database") "true"))
11942 (substitute* "src/libide/meson.build"
11943 (("/usr/lib")
11944 (string-append (assoc-ref inputs "python-pygobject")
11945 "/lib")))
11946 #t))
11947 (add-after 'configure 'fix-ninja
11948 (lambda _
11949 ;; #43296: meson(?) incorrectly assumes we want to link
11950 ;; this PIE against a static libselinux.
11951 (substitute* "build.ninja"
11952 (("libselinux\\.a") "libselinux.so"))
11953 #t))
11954 (add-before 'check 'pre-check
11955 (lambda _
11956 (system "Xvfb :1 &")
11957 (setenv "DISPLAY" ":1")
11958 #t)))))
11959 (inputs
11960 `(("devhelp" ,devhelp)
11961 ("gspell" ,gspell)
11962 ("gtk+" ,gtk+)
11963 ("json-glib" ,json-glib)
11964 ("jsonrpc-glib" ,jsonrpc-glib)
11965 ("libdazzle" ,libdazzle)
11966 ("libgit2-glib" ,libgit2-glib)
11967 ("libpeas" ,libpeas)
11968 ("python-pygobject" ,python-pygobject)
11969 ("sysprof" ,sysprof)
11970 ("template-glib" ,template-glib)
11971 ("vte" ,vte)
11972 ("webkitgtk" ,webkitgtk)))
11973 (propagated-inputs
11974 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11975 (native-inputs
11976 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11977 ("glib:bin" ,glib "bin")
11978 ("gettext" ,gettext-minimal)
11979 ("pkg-config" ,pkg-config)
11980 ("vala" ,vala)
11981 ("xorg-server" ,xorg-server-for-tests)))
11982 (home-page "https://wiki.gnome.org/Apps/Builder")
11983 (synopsis "Toolsmith for GNOME-based applications")
11984 (description "Builder aims to be an integrated development
11985 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11986 auto-completion, a mini code map, documentation browsing, Git integration, an
11987 integrated profiler via Sysprof, debugging support, and more.")
11988 (license license:gpl3+)))
11989
11990 (define-public komikku
11991 (package
11992 (name "komikku")
11993 (version "0.28.1")
11994 (source
11995 (origin
11996 (method git-fetch)
11997 (uri (git-reference
11998 (url "https://gitlab.com/valos/Komikku/")
11999 (commit (string-append "v" version))))
12000 (file-name (git-file-name name version))
12001 (sha256
12002 (base32
12003 "0ifcwp5fw74yypxkq7i0yc3002bsvj3p5c1icspr8s2kyjyllm6i"))))
12004 (build-system meson-build-system)
12005 (arguments
12006 `(#:glib-or-gtk? #t
12007 #:phases
12008 (modify-phases %standard-phases
12009 (add-after 'unpack 'patch-sources
12010 (lambda _
12011 (substitute* "komikku/utils.py"
12012 (("from komikku\\.servers import get_servers_list")
12013 ;; code following that line should migrate old databases
12014 ;; but the line itself results in an import error
12015 "return data_dir_path"))))
12016 (add-after 'unpack 'skip-gtk-update-icon-cache
12017 (lambda _
12018 (substitute* "meson_post_install.py"
12019 (("gtk-update-icon-cache") (which "true")))
12020 #t))
12021 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12022 (lambda* (#:key outputs #:allow-other-keys)
12023 (let ((prog (string-append (assoc-ref outputs "out")
12024 "/bin/komikku")))
12025 (wrap-program prog
12026 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12027 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12028 #t))))))
12029 (inputs
12030 `(("gtk+" ,gtk+)
12031 ("libhandy" ,libhandy)
12032 ("libnotify" ,libnotify)
12033 ("libsecret" ,libsecret)
12034 ("python-beautifulsoup4" ,python-beautifulsoup4)
12035 ("python-brotli" ,python-brotli)
12036 ("python-dateparser" ,python-dateparser)
12037 ("python-keyring" ,python-keyring)
12038 ("python-lxml" ,python-lxml)
12039 ("python-magic" ,python-magic)
12040 ("python-pillow" ,python-pillow)
12041 ("python-pure-protobuf" ,python-pure-protobuf)
12042 ("python-pycairo" ,python-pycairo)
12043 ("python-pygobject" ,python-pygobject)
12044 ("python-requests" ,python-requests)
12045 ("python-unidecode" ,python-unidecode)
12046 ("webkitgtk" ,webkitgtk)))
12047 (native-inputs
12048 `(("desktop-file-utils" ,desktop-file-utils)
12049 ("gettext" ,gettext-minimal)
12050 ("glib:bin" ,glib "bin")
12051 ("gobject-introspection" ,gobject-introspection)
12052 ("pkg-config" ,pkg-config)))
12053 (home-page "https://gitlab.com/valos/Komikku")
12054 (synopsis "Manga reader for GNOME")
12055 (description "Komikku is an online/offline manga reader for GNOME,
12056 developed with the aim of being used with the Librem 5 phone.")
12057 (license license:gpl3+)))
12058
12059 (define-public libgda
12060 (package
12061 (name "libgda")
12062 (version "5.2.10")
12063 (source
12064 (origin
12065 (method git-fetch)
12066 (uri (git-reference
12067 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12068 (commit (string-append "LIBGDA_" (string-replace-substring
12069 version "." "_")))))
12070 (file-name (git-file-name name version))
12071 (sha256
12072 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12073 (build-system gnu-build-system)
12074 (arguments
12075 `(#:configure-flags '("--enable-vala")
12076 ;; There's a race between check_cnc_lock and check_threaded_cnc
12077 ;; in tests/multi-threading.
12078 #:parallel-tests? #f
12079 #:phases
12080 (modify-phases %standard-phases
12081 (add-after 'unpack 'fix-glade-install
12082 (lambda _
12083 (substitute* "configure.ac"
12084 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12085 "${datadir}/glade/catalogs")
12086 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12087 "${datadir}/glade/pixmaps"))
12088 #t))
12089 (add-before 'check 'pre-check
12090 (lambda* (#:key inputs #:allow-other-keys)
12091 ;; Tests require a running X server.
12092 (system "Xvfb :1 &")
12093 (setenv "DISPLAY" ":1")
12094 #t))
12095 (add-after 'install 'symlink-glade-module
12096 (lambda* (#:key outputs #:allow-other-keys)
12097 (let* ((shlib "libgda-ui-5.0.so")
12098 (out (assoc-ref outputs "out"))
12099 (out/lib (string-append out "/lib"))
12100 (moduledir (string-append out/lib "/glade/modules")))
12101 (mkdir-p moduledir)
12102 (symlink (string-append out/lib "/" shlib)
12103 (string-append moduledir "/" shlib))
12104 #t))))))
12105 (propagated-inputs
12106 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12107 (inputs
12108 `(("glib" ,glib)
12109 ("glade" ,glade3)
12110 ("gtk+" ,gtk+)
12111 ("libsecret" ,libsecret)
12112 ("libxslt" ,libxslt)
12113 ("openssl" ,openssl)
12114 ("vala" ,vala)))
12115 (native-inputs
12116 `(("autoconf" ,autoconf)
12117 ("autoconf-archive" ,autoconf-archive)
12118 ("automake" ,automake)
12119 ("glib:bin" ,glib "bin")
12120 ("gnome-common" ,gnome-common)
12121 ("gobject-introspection" ,gobject-introspection)
12122 ("gtk-doc" ,gtk-doc/stable)
12123 ("intltool" ,intltool)
12124 ("libtool" ,libtool)
12125 ("pkg-config" ,pkg-config)
12126 ("vala" ,vala)
12127 ("which" ,which)
12128 ("xorg-server" ,xorg-server-for-tests)
12129 ("yelp-tools" ,yelp-tools)))
12130 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12131 (synopsis "Uniform data access")
12132 (description
12133 "GNU Data Access (GDA) is an attempt to provide uniform access to
12134 different kinds of data sources (databases, information servers, mail spools,
12135 etc). It is a complete architecture that provides all you need to access
12136 your data.")
12137 (license license:lgpl2.1+)))
12138
12139 (define-public gtranslator
12140 (package
12141 (name "gtranslator")
12142 (version "3.36.0")
12143 (source (origin
12144 (method url-fetch)
12145 (uri (string-append "mirror://gnome/sources/" name "/"
12146 (version-major+minor version) "/"
12147 name "-" version ".tar.xz"))
12148 (sha256
12149 (base32
12150 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12151 (build-system meson-build-system)
12152 (inputs
12153 `(("json-glib" ,json-glib)
12154 ("jsonrpc-glib" ,jsonrpc-glib)
12155 ("gettext" ,gettext-minimal)
12156 ("glib" ,glib)
12157 ("gtk+" ,gtk+)
12158 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12159 ("gspell" ,gspell)
12160 ("libdazzle" ,libdazzle)
12161 ("libgda" ,libgda)
12162 ("libsoup" ,libsoup)))
12163 (native-inputs
12164 `(("glib:bin" ,glib "bin")
12165 ("itstool" ,itstool)
12166 ("pkg-config" ,pkg-config)))
12167 (propagated-inputs
12168 `(("gtksourceview" ,gtksourceview))) ; required for source view
12169 (arguments
12170 `(#:build-type "release"
12171 #:glib-or-gtk? #t
12172 #:phases
12173 (modify-phases %standard-phases
12174 (add-after 'unpack 'skip-gtk-update-icon-cache
12175 (lambda _
12176 (substitute* "build-aux/meson/meson_post_install.py"
12177 (("gtk-update-icon-cache") (which "true")))
12178 #t)))))
12179 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12180 (synopsis "Translation making program")
12181 (description
12182 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12183 for the GNOME 3.x platform with many features. It aims to be a very complete
12184 editing environment for translation issues within the GNU gettext/GNOME desktop
12185 world.")
12186 (license license:gpl3+)))
12187
12188
12189 (define-public ocrfeeder
12190 (package
12191 (name "ocrfeeder")
12192 (version "0.8.3")
12193 (source (origin
12194 (method url-fetch)
12195 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12196 (version-major+minor version) "/"
12197 "ocrfeeder-" version ".tar.xz"))
12198 (sha256
12199 (base32
12200 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12201 (build-system gnu-build-system)
12202 (arguments
12203 `(#:phases
12204 (modify-phases %standard-phases
12205 (add-after
12206 'install 'wrap-program
12207 (lambda* (#:key outputs #:allow-other-keys)
12208 (let ((prog (string-append (assoc-ref outputs "out")
12209 "/bin/" "ocrfeeder"))
12210 (pylib (string-append (assoc-ref outputs "out")
12211 "/lib/python"
12212 ,(version-major+minor
12213 (package-version python))
12214 "/site-packages")))
12215 (wrap-program prog
12216 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12217 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12218 #t))))))
12219 (native-inputs
12220 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12221 ("gobject-introspection" ,gobject-introspection)
12222 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12223 ("intltool" ,intltool)
12224 ("itstool" ,itstool)
12225 ("pkg-config" ,pkg-config)
12226 ("xmllint" ,libxml2)))
12227 (inputs
12228 `(("enchant" ,enchant)
12229 ("glib" ,glib)
12230 ("goocanvas" ,goocanvas)
12231 ("gtk" ,gtk+)
12232 ("gtkspell3" ,gtkspell3)
12233 ("libjpeg" ,libjpeg-turbo)
12234 ("libtiff" ,libtiff)
12235 ("libraw" ,libraw)
12236 ("ocrad" ,ocrad)
12237 ("python" ,python-wrapper)
12238 ("python-pygobject" ,python-pygobject)
12239 ("python-odfpy" ,python-odfpy)
12240 ("python-pillow" ,python-pillow)
12241 ("python-pyenchant" ,python-pyenchant)
12242 ("python-reportlab" ,python-reportlab)
12243 ("python-sane" ,python-sane)
12244 ("sane-backends" ,sane-backends)
12245 ("tesseract-ocr" ,tesseract-ocr)))
12246 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12247 (synopsis "Complete OCR Suite")
12248 (description "OCRFeeder is a complete Optical Character Recognition and
12249 Document Analysis and Recognition program.")
12250 (license license:gpl3+)))