gnu: terminator: Update to 2.1.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 ;;;
62 ;;; This file is part of GNU Guix.
63 ;;;
64 ;;; GNU Guix is free software; you can redistribute it and/or modify it
65 ;;; under the terms of the GNU General Public License as published by
66 ;;; the Free Software Foundation; either version 3 of the License, or (at
67 ;;; your option) any later version.
68 ;;;
69 ;;; GNU Guix is distributed in the hope that it will be useful, but
70 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
71 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72 ;;; GNU General Public License for more details.
73 ;;;
74 ;;; You should have received a copy of the GNU General Public License
75 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76
77 (define-module (gnu packages gnome)
78 #:use-module (gnu packages)
79 #:use-module (gnu packages admin)
80 #:use-module (gnu packages aidc)
81 #:use-module (gnu packages aspell)
82 #:use-module (gnu packages autotools)
83 #:use-module (gnu packages avahi)
84 #:use-module (gnu packages backup)
85 #:use-module (gnu packages base)
86 #:use-module (gnu packages bash)
87 #:use-module (gnu packages bison)
88 #:use-module (gnu packages boost)
89 #:use-module (gnu packages build-tools)
90 #:use-module (gnu packages calendar)
91 #:use-module (gnu packages cdrom)
92 #:use-module (gnu packages check)
93 #:use-module (gnu packages cmake)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages crates-io)
96 #:use-module (gnu packages crates-graphics)
97 #:use-module (gnu packages crates-gtk)
98 #:use-module (gnu packages cups)
99 #:use-module (gnu packages curl)
100 #:use-module (gnu packages cyrus-sasl)
101 #:use-module (gnu packages databases)
102 #:use-module (gnu packages dbm)
103 #:use-module (gnu packages djvu)
104 #:use-module (gnu packages dns)
105 #:use-module (gnu packages docbook)
106 #:use-module (gnu packages documentation)
107 #:use-module (gnu packages enchant)
108 #:use-module (gnu packages flex)
109 #:use-module (gnu packages fonts)
110 #:use-module (gnu packages file-systems)
111 #:use-module (gnu packages fontutils)
112 #:use-module (gnu packages freedesktop)
113 #:use-module (gnu packages game-development)
114 #:use-module (gnu packages gcc)
115 #:use-module (gnu packages gettext)
116 #:use-module (gnu packages ghostscript)
117 #:use-module (gnu packages gimp)
118 #:use-module (gnu packages gl)
119 #:use-module (gnu packages glib)
120 #:use-module (gnu packages gnupg)
121 #:use-module (gnu packages gnuzilla)
122 #:use-module (gnu packages geo)
123 #:use-module (gnu packages gperf)
124 #:use-module (gnu packages graphviz)
125 #:use-module (gnu packages gstreamer)
126 #:use-module (gnu packages gtk)
127 #:use-module (gnu packages guile)
128 #:use-module (gnu packages ibus)
129 #:use-module (gnu packages icu4c)
130 #:use-module (gnu packages image)
131 #:use-module (gnu packages imagemagick)
132 #:use-module (gnu packages inkscape)
133 #:use-module (gnu packages iso-codes)
134 #:use-module (gnu packages kerberos)
135 #:use-module (gnu packages libcanberra)
136 #:use-module (gnu packages libffi)
137 #:use-module (gnu packages libunistring)
138 #:use-module (gnu packages libunwind)
139 #:use-module (gnu packages libusb)
140 #:use-module (gnu packages linux)
141 #:use-module (gnu packages lirc)
142 #:use-module (gnu packages lua)
143 #:use-module (gnu packages mail)
144 #:use-module (gnu packages mp3)
145 #:use-module (gnu packages multiprecision)
146 #:use-module (gnu packages music)
147 #:use-module (gnu packages ncurses)
148 #:use-module (gnu packages nettle)
149 #:use-module (gnu packages networking)
150 #:use-module (gnu packages ninja)
151 #:use-module (gnu packages node)
152 #:use-module (gnu packages nss)
153 #:use-module (gnu packages ocr)
154 #:use-module (gnu packages openldap)
155 #:use-module (gnu packages package-management)
156 #:use-module (gnu packages password-utils)
157 #:use-module (gnu packages pcre)
158 #:use-module (gnu packages pdf)
159 #:use-module (gnu packages perl)
160 #:use-module (gnu packages photo)
161 #:use-module (gnu packages php)
162 #:use-module (gnu packages pkg-config)
163 #:use-module (gnu packages polkit)
164 #:use-module (gnu packages popt)
165 #:use-module (gnu packages pretty-print)
166 #:use-module (gnu packages protobuf)
167 #:use-module (gnu packages pulseaudio)
168 #:use-module (gnu packages python)
169 #:use-module (gnu packages python-compression)
170 #:use-module (gnu packages python-crypto)
171 #:use-module (gnu packages python-web)
172 #:use-module (gnu packages python-xyz)
173 #:use-module (gnu packages rdesktop)
174 #:use-module (gnu packages rdf)
175 #:use-module (gnu packages readline)
176 #:use-module (gnu packages ruby)
177 #:use-module (gnu packages rust)
178 #:use-module (gnu packages samba)
179 #:use-module (gnu packages scanner)
180 #:use-module (gnu packages sdl)
181 #:use-module (gnu packages search)
182 #:use-module (gnu packages selinux)
183 #:use-module (gnu packages slang)
184 #:use-module (gnu packages speech)
185 #:use-module (gnu packages spice)
186 #:use-module (gnu packages sqlite)
187 #:use-module (gnu packages ssh)
188 #:use-module (gnu packages swig)
189 #:use-module (gnu packages tex)
190 #:use-module (gnu packages time)
191 #:use-module (gnu packages tls)
192 #:use-module (gnu packages valgrind)
193 #:use-module (gnu packages version-control)
194 #:use-module (gnu packages video)
195 #:use-module (gnu packages virtualization)
196 #:use-module (gnu packages vpn)
197 #:use-module (gnu packages web)
198 #:use-module (gnu packages webkit)
199 #:use-module (gnu packages xdisorg)
200 #:use-module (gnu packages xiph)
201 #:use-module (gnu packages xml)
202 #:use-module (gnu packages xorg)
203 #:use-module (gnu artwork)
204 #:use-module (guix build-system cargo)
205 #:use-module (guix build-system cmake)
206 #:use-module (guix build-system glib-or-gtk)
207 #:use-module (guix build-system gnu)
208 #:use-module (guix build-system meson)
209 #:use-module (guix build-system python)
210 #:use-module (guix build-system trivial)
211 #:use-module (guix download)
212 #:use-module (guix git-download)
213 #:use-module ((guix licenses) #:prefix license:)
214 #:use-module (guix packages)
215 #:use-module (guix utils)
216 #:use-module (guix gexp)
217 #:use-module (ice-9 match)
218 #:use-module (srfi srfi-1))
219
220 (define-public gupnp-igd
221 (package
222 (name "gupnp-igd")
223 (version "1.2.0")
224 (source
225 (origin
226 (method url-fetch)
227 (uri
228 (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
231 (sha256
232 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
233 (build-system meson-build-system)
234 (outputs '("out" "doc"))
235 (arguments
236 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
237 #:configure-flags (list "-Dgtk_doc=true")
238 #:phases
239 (modify-phases %standard-phases
240 (add-after 'unpack 'patch-docbook-xml
241 (lambda* (#:key inputs #:allow-other-keys)
242 (with-directory-excursion "doc"
243 (substitute* "gupnp-igd-docs.xml"
244 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
245 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
246 "/xml/dtd/docbook/"))))
247 #t))
248 (add-after 'install 'move-doc
249 (lambda* (#:key outputs #:allow-other-keys)
250 (let* ((out (assoc-ref outputs "out"))
251 (doc (assoc-ref outputs "doc")))
252 (mkdir-p (string-append doc "/share"))
253 (rename-file
254 (string-append out "/share/gtk-doc")
255 (string-append doc "/share/gtk-doc"))
256 #t))))))
257 (native-inputs
258 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
259 ("docbook-xsl" ,docbook-xsl)
260 ("glib:bin" ,glib "bin")
261 ("gobject-introspection" ,gobject-introspection)
262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
263 ("gtk-doc" ,gtk-doc/stable)
264 ("pkg-config" ,pkg-config)))
265 (propagated-inputs
266 `(("glib" ,glib)
267 ("glib-networking" ,glib-networking)
268 ("gssdp" ,gssdp)
269 ("gupnp" ,gupnp)
270 ("libsoup" ,libsoup)))
271 (synopsis "UPnP IGD for GNOME")
272 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
273 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
274 (license license:lgpl2.1+)))
275
276 (define-public brasero
277 (package
278 (name "brasero")
279 (version "3.12.2")
280 (source (origin
281 (method url-fetch)
282 (uri (string-append "mirror://gnome/sources/brasero/"
283 (version-major+minor version) "/"
284 "brasero-" version ".tar.xz"))
285 (sha256
286 (base32
287 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
288 (build-system glib-or-gtk-build-system)
289 (arguments
290 `(#:configure-flags (list
291 (string-append "--with-girdir="
292 (assoc-ref %outputs "out")
293 "/share/gir-1.0")
294 (string-append "--with-typelibdir="
295 (assoc-ref %outputs "out")
296 "/lib/girepository-1.0"))
297 #:phases
298 (modify-phases %standard-phases
299 (add-before 'configure 'embed-growisofs
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "plugins/growisofs/burn-growisofs.c"
302 (("\"growisofs") (string-append "\"" (which "growisofs"))))
303 #t)))))
304 (propagated-inputs
305 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
306 (native-inputs
307 `(("intltool" ,intltool)
308 ("itstool" ,itstool)
309 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
310 ("gobject-introspection" ,gobject-introspection)
311 ("pkg-config" ,pkg-config)))
312 (inputs
313 `(("dvd+rw-tools" ,dvd+rw-tools)
314 ("glib" ,glib)
315 ("gnome-doc-utils" ,gnome-doc-utils)
316 ("gstreamer" ,gstreamer)
317 ("gst-plugins-base" ,gst-plugins-base)
318 ("gtk+" ,gtk+)
319 ("libcanberra" ,libcanberra)
320 ("libice" ,libice)
321 ("libnotify" ,libnotify)
322 ("libsm" ,libsm)
323 ("libxml2" ,libxml2)
324 ("totem-pl-parser" ,totem-pl-parser)))
325 (home-page "https://wiki.gnome.org/Apps/Brasero")
326 (synopsis "CD/DVD burning tool for Gnome")
327 (description "Brasero is an application to burn CD/DVD for the Gnome
328 Desktop. It is designed to be as simple as possible and has some unique
329 features to enable users to create their discs easily and quickly.")
330 (license license:gpl2+)))
331
332 (define-public libcloudproviders
333 (package
334 (name "libcloudproviders")
335 (version "0.3.1")
336 (source
337 (origin
338 (method url-fetch)
339 (uri
340 (string-append "mirror://gnome/sources/" name "/"
341 (version-major+minor version) "/"
342 name "-" version ".tar.xz"))
343 (sha256
344 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
345 (build-system meson-build-system)
346 (outputs '("out" "doc"))
347 (arguments
348 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
349 #:configure-flags
350 (list
351 "-Denable-gtk-doc=true")
352 #:phases
353 (modify-phases %standard-phases
354 (add-after 'install 'move-doc
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let* ((out (assoc-ref outputs "out"))
357 (doc (assoc-ref outputs "doc")))
358 (mkdir-p (string-append doc "/share"))
359 (rename-file
360 (string-append out "/share/gtk-doc")
361 (string-append doc "/share/gtk-doc"))
362 #t))))))
363 (native-inputs
364 `(("glib:bin" ,glib "bin")
365 ("gobject-introspection" ,gobject-introspection)
366 ("gtk-doc" ,gtk-doc/stable)
367 ("pkg-config" ,pkg-config)
368 ("vala" ,vala)))
369 (inputs
370 `(("glib" ,glib)
371 ("glib-networking" ,glib-networking)))
372 (synopsis "Cloudproviders Integration API")
373 (description "Libcloudproviders is a DBus API that allows cloud storage sync
374 clients to expose their services. Clients such as file managers and desktop
375 environments can then provide integrated access to the cloud providers
376 services.")
377 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
378 (license license:lgpl3+)))
379
380 (define-public libgrss
381 (package
382 (name "libgrss")
383 (version "0.7.0")
384 (source
385 (origin
386 (method url-fetch)
387 (uri
388 (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
391 (sha256
392 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
393 (build-system glib-or-gtk-build-system)
394 (outputs '("out" "doc"))
395 (arguments
396 `(#:configure-flags
397 (list
398 "--enable-gtk-doc"
399 (string-append "--with-html-dir="
400 (assoc-ref %outputs "doc")
401 "/share/gtk-doc/html"))
402 #:phases
403 (modify-phases %standard-phases
404 (add-after 'unpack 'patch-docbook-xml
405 (lambda* (#:key inputs #:allow-other-keys)
406 (with-directory-excursion "doc/reference"
407 (substitute* "libgrss-docs.sgml"
408 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
409 (string-append (assoc-ref inputs "docbook-xml")
410 "/xml/dtd/docbook/"))))
411 #t)))))
412 (native-inputs
413 `(("docbook-xml" ,docbook-xml-4.1.2)
414 ("gobject-introspection" ,gobject-introspection)
415 ("gtk-doc" ,gtk-doc/stable)
416 ("pkg-config" ,pkg-config)))
417 (propagated-inputs
418 `(("glib" ,glib)
419 ("libsoup" ,libsoup)
420 ("libxml2" ,libxml2)))
421 (synopsis "Glib library for feeds")
422 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
423 and other formats.")
424 (home-page "https://wiki.gnome.org/Projects/Libgrss")
425 (license license:lgpl3+)))
426
427 (define-public gnome-js-common
428 (package
429 (name "gnome-js-common")
430 (version "0.1.2")
431 (source
432 (origin
433 (method url-fetch)
434 (uri
435 (string-append "mirror://gnome/sources/" name "/"
436 (version-major+minor version) "/"
437 name "-" version ".tar.gz"))
438 (sha256
439 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
440 (build-system glib-or-gtk-build-system)
441 (arguments
442 `(#:configure-flags
443 (list
444 "--disable-static")))
445 (native-inputs
446 `(("gettext" ,gettext-minimal)
447 ("intltool" ,intltool)
448 ("pkg-config" ,pkg-config)))
449 (synopsis "Common JS Modules")
450 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
451 bindings.")
452 (home-page "https://wiki.gnome.org/Projects/Seed")
453 (license license:gpl3+)))
454
455 (define-public seed
456 (package
457 (name "seed")
458 (version "3.8.1")
459 (source
460 (origin
461 (method url-fetch)
462 (uri
463 (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
466 (sha256
467 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
468 (patches
469 (search-patches "seed-webkit.patch"))))
470 (build-system glib-or-gtk-build-system)
471 (outputs '("out" "doc"))
472 (arguments
473 `(#:configure-flags
474 (list
475 "--disable-static"
476 "--enable-xorg-module"
477 (string-append "--with-html-dir="
478 (assoc-ref %outputs "doc")
479 "/share/gtk-doc/html")
480 "--with-webkit=4.0")
481 #:phases
482 (modify-phases %standard-phases
483 ;; The seed-webkit.patch patches configure.ac.
484 ;; So the source files need to be re-bootstrapped.
485 (add-after 'unpack 'trigger-bootstrap
486 (lambda _
487 (for-each delete-file
488 (list
489 "configure"
490 "Makefile.in"))
491 #t))
492 (add-after 'unpack 'patch-tests
493 (lambda* (#:key outputs #:allow-other-keys)
494 (substitute* (find-files "." "\\.js$")
495 (("#!/usr/bin/env seed")
496 (string-append "#!" (getcwd) "/src/seed")))
497 #t))
498 (add-before 'build 'patch-docbook-xml
499 (lambda* (#:key inputs #:allow-other-keys)
500 (with-directory-excursion "doc"
501 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
502 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
503 (string-append (assoc-ref inputs "docbook-xml")
504 "/xml/dtd/docbook/"))))
505 #t)))))
506 (native-inputs
507 `(("autoconf" ,autoconf)
508 ("automake" ,automake)
509 ("docbook-xml" ,docbook-xml-4.1.2)
510 ("gettext" ,gettext-minimal)
511 ("gobject-introspection" ,gobject-introspection)
512 ("gtk-doc" ,gtk-doc/stable)
513 ("intltool" ,intltool)
514 ("libtool" ,libtool)
515 ("pkg-config" ,pkg-config)))
516 (inputs
517 `(("cairo" ,cairo)
518 ("dbus" ,dbus)
519 ("dbus-glib" ,dbus-glib)
520 ("gnome-js-common" ,gnome-js-common)
521 ("gtk+" ,gtk+)
522 ("gtk+-2" ,gtk+-2)
523 ("libffi" ,libffi)
524 ("libxml2" ,libxml2)
525 ("mpfr" ,mpfr)
526 ("readline" ,readline)
527 ("sqlite" ,sqlite)
528 ("xscrnsaver" ,libxscrnsaver)))
529 (propagated-inputs
530 `(("glib" ,glib)
531 ("webkit" ,webkitgtk)))
532 (synopsis "GObject JavaScriptCore bridge")
533 (description "Seed is a library and interpreter, dynamically bridging
534 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
535 GNOME platform. It serves as something which enables you to write standalone
536 applications in JavaScript, or easily enable your application to be extensible
537 in JavaScript.")
538 (home-page "https://wiki.gnome.org/Projects/Seed")
539 (license license:lgpl2.0+)))
540
541 (define-public libdmapsharing
542 (package
543 (name "libdmapsharing")
544 (version "3.9.10")
545 (source
546 (origin
547 (method url-fetch)
548 (uri
549 (string-append "https://www.flyn.org/projects/"
550 name "/" name "-" version ".tar.gz"))
551 (sha256
552 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
553 (build-system glib-or-gtk-build-system)
554 (outputs '("out" "doc"))
555 (arguments
556 `(#:tests? #f ; Tests require networking.
557 #:configure-flags
558 (list
559 "--disable-static"
560 (string-append "--with-html-dir="
561 (assoc-ref %outputs "doc")
562 "/share/gtk-doc/html"))
563 #:phases
564 (modify-phases %standard-phases
565 (add-after 'unpack 'patch-docbook-xml
566 (lambda* (#:key inputs #:allow-other-keys)
567 (with-directory-excursion "doc"
568 (substitute* "libdmapsharing-4.0-docs.xml"
569 (("http://www.oasis-open.org/docbook/xml/4.3/")
570 (string-append (assoc-ref inputs "docbook-xml")
571 "/xml/dtd/docbook/"))))
572 #t)))))
573 (native-inputs
574 `(("check" ,check)
575 ("docbook-xml" ,docbook-xml-4.3)
576 ("gobject-introspection" ,gobject-introspection)
577 ("pedansee" ,pedansee)
578 ("pkg-config" ,pkg-config)
579 ("vala" ,vala)))
580 (inputs
581 `(("avahi" ,avahi)
582 ("gdk-pixbuf" ,gdk-pixbuf+svg)
583 ("gee" ,libgee)
584 ("gst-plugins-base" ,gst-plugins-base)
585 ("gtk+" ,gtk+)))
586 (propagated-inputs
587 `(("glib" ,glib)
588 ("glib-networking" ,glib-networking)
589 ("gstreamer" ,gstreamer)
590 ("libsoup" ,libsoup)))
591 (synopsis "Media management library")
592 (description "Libdmapsharing is a library which allows programs to access,
593 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
594 It is written in C using GObject and libsoup.")
595 (home-page "https://launchpad.net/gtx")
596 (license license:lgpl2.1+)))
597
598 (define-public gtx
599 (package
600 (name "gtx")
601 (version "0.2.2")
602 (source
603 (origin
604 (method url-fetch)
605 (uri
606 (string-append "https://launchpad.net/gtx/trunk/"
607 version "/+download/gtx-" version ".tar.gz"))
608 (sha256
609 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
610 (build-system glib-or-gtk-build-system)
611 (outputs '("out" "doc"))
612 (arguments
613 `(#:configure-flags
614 (list
615 "--disable-static"
616 "--enable-gtk-doc"
617 (string-append "--with-html-dir="
618 (assoc-ref %outputs "doc")
619 "/share/gtk-doc/html"))))
620 (native-inputs
621 `(("gobject-introspection" ,gobject-introspection)
622 ("gtk-doc" ,gtk-doc/stable)
623 ("pkg-config" ,pkg-config)))
624 (propagated-inputs
625 `(("glib" ,glib)))
626 (synopsis "GLib Testing Framework")
627 (description "GTX is a small collection of convenience functions intended to
628 enhance the GLib testing framework. With specific emphasis on easing the pain
629 of writing test cases for asynchronous interactions.")
630 (home-page "https://launchpad.net/gtx")
631 (license license:lgpl2.1+)))
632
633 (define-public dee
634 (package
635 (name "dee")
636 (version "1.2.7")
637 (source
638 (origin
639 (method url-fetch)
640 (uri
641 (string-append "https://launchpad.net/dee/1.0/"
642 version "/+download/dee-" version ".tar.gz"))
643 (sha256
644 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
645 (patches
646 (search-patches "dee-vapi.patch"))))
647 (build-system glib-or-gtk-build-system)
648 (outputs '("out" "doc"))
649 (arguments
650 `(#:configure-flags
651 (list
652 "--disable-maintainer-flags"
653 (string-append "--with-pygi-overrides-dir="
654 (assoc-ref %outputs "out")
655 "/lib/python"
656 ,(version-major+minor
657 (package-version python))
658 "/site-packages/gi/overrides")
659 (string-append "--with-html-dir="
660 (assoc-ref %outputs "doc")
661 "/share/gtk-doc/html"))
662 #:phases
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-docbook-xml
665 (lambda* (#:key inputs #:allow-other-keys)
666 (with-directory-excursion "doc/reference/dee-1.0"
667 (substitute* "dee-1.0-docs.sgml"
668 (("http://www.oasis-open.org/docbook/xml/4.3/")
669 (string-append (assoc-ref inputs "docbook-xml")
670 "/xml/dtd/docbook/"))))
671 #t))
672 (add-after 'patch-docbook-xml 'disable-failing-tests
673 (lambda _
674 (substitute* "tests/test-icu.c"
675 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
676 "")
677 (("setup, test_ascii_folder, teardown\\);")
678 ""))
679 #t))
680 (add-before 'check 'pre-check
681 (lambda _
682 ;; Tests require a running dbus-daemon.
683 (system "dbus-daemon &")
684 ;; For missing '/etc/machine-id'.
685 (setenv "DBUS_FATAL_WARNINGS" "0")
686 #t)))))
687 (native-inputs
688 `(("dbus" ,dbus)
689 ("dbus-test-runner" ,dbus-test-runner)
690 ("docbook-xml" ,docbook-xml-4.3)
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk-doc" ,gtk-doc/stable)
693 ;; Would only be required by configure flag "--enable-extended-tests".
694 ;("gtx" ,gtx)
695 ("pkg-config" ,pkg-config)
696 ("pygobject" ,python-pygobject)
697 ("python" ,python-wrapper)
698 ("vala" ,vala)))
699 (inputs
700 `(("icu" ,icu4c)))
701 (propagated-inputs
702 `(("glib" ,glib)))
703 (synopsis "Model to synchronize multiple instances over DBus")
704 (description "Dee is a library that uses DBus to provide objects allowing
705 you to create Model-View-Controller type programs across DBus. It also consists
706 of utility objects which extend DBus allowing for peer-to-peer discoverability
707 of known objects without needing a central registrar.")
708 (home-page "https://launchpad.net/dee")
709 (license
710 ;; Dual-licensed
711 (list
712 license:lgpl3+
713 license:gpl3+))))
714
715 (define-public zeitgeist
716 (package
717 (name "zeitgeist")
718 (version "1.0.3")
719 (source
720 (origin
721 (method git-fetch)
722 (uri
723 (git-reference
724 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
725 (commit
726 (string-append "v" version))))
727 (file-name
728 (git-file-name name version))
729 (sha256
730 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
731 (build-system glib-or-gtk-build-system)
732 (arguments
733 `(#:configure-flags
734 (list
735 "--enable-explain-queries"
736 "--enable-fts"
737 "--enable-docs")
738 #:phases
739 (modify-phases %standard-phases
740 (add-after 'unpack 'patch-docbook-xml
741 (lambda* (#:key inputs #:allow-other-keys)
742 (with-directory-excursion "doc/libzeitgeist"
743 (substitute* "zeitgeist-gtkdoc-index.sgml"
744 (("http://www.oasis-open.org/docbook/xml/4.3/")
745 (string-append (assoc-ref inputs "docbook-xml")
746 "/xml/dtd/docbook/"))))
747 #t))
748 (add-after 'patch-docbook-xml 'disable-failing-tests
749 (lambda _
750 (substitute* "test/direct/Makefile.am"
751 ((" log-test ")
752 ""))
753 (substitute* "test/c/Makefile.am"
754 ((" test-log ")
755 ""))
756 #t))
757 (add-before 'bootstrap 'remove-autogen-script
758 (lambda _
759 ;; To honor `autoreconf -vif` by build-system.
760 (delete-file "autogen.sh")
761 #t)))))
762 (native-inputs
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("docbook-xml" ,docbook-xml-4.3)
766 ("gettext" ,gettext-minimal)
767 ("gobject-introspection" ,gobject-introspection)
768 ("gtk-doc" ,gtk-doc/stable)
769 ("libtool" ,libtool)
770 ("pkg-config" ,pkg-config)
771 ("vala" ,vala)
772 ("xorg-server-for-tests" ,xorg-server-for-tests)))
773 (inputs
774 `(("dee-icu" ,dee)
775 ("gtk+" ,gtk+)
776 ("json-glib" ,json-glib)
777 ("sqlite" ,sqlite)
778 ("telepathy-glib" ,telepathy-glib)
779 ("python" ,python-wrapper)
780 ("python-rdflib" ,python-rdflib)
781 ("xapian-config" ,xapian)))
782 (propagated-inputs
783 `(("glib" ,glib)))
784 (synopsis "Desktop Activity Logging")
785 (description "Zeitgeist is a service which logs the users’s activities and
786 events, anywhere from files opened to websites visited and conversations. It
787 makes this information readily available for other applications to use. It is
788 able to establish relationships between items based on similarity and usage
789 patterns.")
790 (home-page "https://zeitgeist.freedesktop.org/")
791 (license
792 ;; Dual-licensed
793 (list
794 license:lgpl2.1+
795 license:gpl2+))))
796
797 (define-public gnome-recipes
798 (package
799 (name "gnome-recipes")
800 (version "2.0.4")
801 (source (origin
802 (method git-fetch)
803 (uri (git-reference
804 (url "https://gitlab.gnome.org/GNOME/recipes")
805 (commit version)))
806 (file-name (git-file-name name version))
807 (sha256
808 (base32
809 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
810 (build-system meson-build-system)
811 (arguments
812 `(#:glib-or-gtk? #t
813 #:phases
814 (modify-phases %standard-phases
815 (add-after 'unpack 'skip-gtk-update-icon-cache
816 (lambda _
817 (substitute* "meson_post_install.py"
818 (("gtk-update-icon-cache") (which "true")))
819 #t))
820 (add-after 'unpack 'unpack-libgd
821 (lambda* (#:key inputs #:allow-other-keys)
822 (let ((libgd (assoc-ref inputs "libgd")))
823 (copy-recursively libgd "subprojects/libgd")
824 #t))))))
825 (inputs
826 `(("glib" ,glib)
827 ("gnome-autoar" ,gnome-autoar)
828 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
829 ("gspell" ,gspell)
830 ("gtk+" ,gtk+)
831 ("json-glib" ,json-glib)
832 ("libcanberra" ,libcanberra)
833 ("libsoup" ,libsoup)
834 ("rest" ,rest)))
835 (native-inputs
836 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
837 ("gettext" ,gettext-minimal)
838 ("glib:bin" ,glib "bin")
839 ("itstool" ,itstool)
840 ("libgd"
841 ,(origin
842 (method git-fetch)
843 (uri (git-reference
844 (url "https://gitlab.gnome.org/GNOME/libgd")
845 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
846 (file-name (git-file-name "libgd" version))
847 (sha256
848 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
849 ("pkg-config" ,pkg-config)))
850 (home-page "https://wiki.gnome.org/Apps/Recipes")
851 (synopsis "Discover recipes for preparing food")
852 (description "GNOME Recipes helps you discover what to cook today,
853 tomorrow, the rest of the week and for special occasions.")
854 (license license:gpl3+)))
855
856 (define-public gnome-photos
857 (package
858 (name "gnome-photos")
859 (version "3.34.2")
860 (source
861 (origin
862 (method url-fetch)
863 (uri
864 (string-append "mirror://gnome/sources/" name "/"
865 (version-major+minor version) "/"
866 name "-" version ".tar.xz"))
867 (sha256
868 (base32
869 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
870 (build-system meson-build-system)
871 (arguments
872 `(#:glib-or-gtk? #t
873 #:configure-flags
874 (list "-Ddogtail=false" ; Not available
875 ;; Required for RUNPATH validation.
876 (string-append "-Dc_link_args=-Wl,-rpath="
877 (assoc-ref %outputs "out") "/lib/gnome-photos"))
878 #:phases
879 (modify-phases %standard-phases
880 (add-after 'install 'wrap-gnome-photos
881 (lambda* (#:key inputs outputs #:allow-other-keys)
882 (let*
883 ((out (assoc-ref outputs "out")))
884 (wrap-program (string-append out "/bin/gnome-photos")
885 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
886 #t)))))
887 (native-inputs
888 `(("dbus" ,dbus)
889 ("desktop-file-utils" ,desktop-file-utils)
890 ("gettext" ,gettext-minimal)
891 ("git" ,git-minimal)
892 ("glib:bin" ,glib "bin")
893 ("gobject-introspection" ,gobject-introspection)
894 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
895 ("gtk+:bin" ,gtk+ "bin")
896 ("itstool" ,itstool)
897 ("pkg-config" ,pkg-config)))
898 (inputs
899 `(("babl" ,babl)
900 ("cairo" ,cairo)
901 ("gdk-pixbuf" ,gdk-pixbuf+svg)
902 ("gegl" ,gegl)
903 ("geocode-glib" ,geocode-glib)
904 ("gexiv2" ,gexiv2)
905 ("gnome-online-accounts" ,gnome-online-accounts)
906 ("gnome-online-miners" ,gnome-online-miners)
907 ("grilo" ,grilo)
908 ("grilo-plugins" ,grilo-plugins)
909 ("gtk+" ,gtk+)
910 ("libdazzle" ,libdazzle)
911 ("libgdata" ,libgdata)
912 ("libgfbgraph" ,gfbgraph)
913 ("libjpeg" ,libjpeg-turbo)
914 ("libpng" ,libpng)
915 ("librest" ,rest)
916 ("pygobject" ,python-pygobject)
917 ("tracker" ,tracker)
918 ("tracker-miners" ,tracker-miners)))
919 (synopsis "Access, organize and share your photos on GNOME desktop")
920 (description "GNOME Photos is a simple and elegant replacement for using a
921 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
922 cloud integration is offered through GNOME Online Accounts.")
923 (home-page "https://wiki.gnome.org/Apps/Photos")
924 (license license:gpl3+)))
925
926 (define-public gnome-music
927 (package
928 (name "gnome-music")
929 (version "3.34.5")
930 (source
931 (origin
932 (method url-fetch)
933 (uri
934 (string-append "mirror://gnome/sources/" name "/"
935 (version-major+minor version) "/"
936 name "-" version ".tar.xz"))
937 (sha256
938 (base32
939 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
940 (build-system meson-build-system)
941 (arguments
942 `(#:glib-or-gtk? #t
943 #:phases
944 (modify-phases %standard-phases
945 (add-after 'install 'wrap-gnome-music
946 (lambda* (#:key inputs outputs #:allow-other-keys)
947 (let*
948 ((out (assoc-ref outputs "out"))
949 (pylib (string-append out "/lib/python"
950 ,(version-major+minor
951 (package-version python))
952 "/site-packages")))
953 (wrap-program (string-append out "/bin/gnome-music")
954 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
955 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
956 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
957 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
958 #t)))))
959 (native-inputs
960 `(("desktop-file-utils" ,desktop-file-utils)
961 ("gettext" ,gettext-minimal)
962 ("glib:bin" ,glib "bin")
963 ("gobject-introspection" ,gobject-introspection)
964 ("gtk+:bin" ,gtk+ "bin")
965 ("itstools" ,itstool)
966 ("pkg-config" ,pkg-config)))
967 (inputs
968 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
969 ("grilo" ,grilo)
970 ("grilo-plugins" ,grilo-plugins)
971 ("gst-plugins-base" ,gst-plugins-base)
972 ("gstreamer" ,gstreamer)
973 ("gvfs" ,gvfs)
974 ("libdazzle" ,libdazzle)
975 ("libmediaart" ,libmediaart)
976 ("libsoup" ,libsoup)
977 ("pycairo" ,python-pycairo)
978 ("pygobject" ,python-pygobject)
979 ("tracker" ,tracker)
980 ("tracker-miners" ,tracker-miners)))
981 (synopsis "Simple music player for GNOME desktop")
982 (description "GNOME Music is the new GNOME music playing application that
983 aims to combine an elegant and immersive browsing experience with simple
984 and straightforward controls.")
985 (home-page "https://wiki.gnome.org/Apps/Music")
986 (license license:gpl2+)))
987
988 (define-public portablexdr
989 (package
990 (name "portablexdr")
991 (version "4.9.1")
992 (source
993 (origin
994 (method url-fetch)
995 (uri
996 (string-append "https://people.redhat.com/~rjones/" name "/files/"
997 name "-" version ".tar.gz"))
998 (sha256
999 (base32
1000 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1001 (build-system gnu-build-system)
1002 (synopsis "External Data Representation Library")
1003 (description "PortableXDR is an implementation of External Data
1004 Representation (XDR) Library. It is a standard data serialization format, for
1005 uses such as computer network protocols. It allows data to be transferred
1006 between different kinds of computer systems.")
1007 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1008 (license
1009 (list
1010 license:gpl2+
1011 license:lgpl2.1+))))
1012
1013 (define-public tepl
1014 (package
1015 (name "tepl")
1016 (version "4.4.0")
1017 (source
1018 (origin
1019 (method url-fetch)
1020 (uri
1021 (string-append "mirror://gnome/sources/" name "/"
1022 (version-major+minor version) "/"
1023 name "-" version ".tar.xz"))
1024 (sha256
1025 (base32
1026 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1027 (build-system glib-or-gtk-build-system)
1028 (arguments
1029 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1030 (native-inputs
1031 `(("gobject-introspection" ,gobject-introspection)
1032 ("pkg-config" ,pkg-config)))
1033 (inputs
1034 `(("amtk" ,amtk)
1035 ("glib" ,glib)
1036 ("gtk+" ,gtk+)
1037 ("gtksourceview" ,gtksourceview)
1038 ("libxml2" ,libxml2)
1039 ("uchardet" ,uchardet)))
1040 (synopsis "Text editor product line")
1041 (description "Tepl is a library that eases the development of
1042 GtkSourceView-based text editors and IDEs.")
1043 (home-page "https://wiki.gnome.org/Projects/Tepl")
1044 (license license:lgpl2.1+)))
1045
1046 (define-public krb5-auth-dialog
1047 (package
1048 (name "krb5-auth-dialog")
1049 (version "3.26.1")
1050 (source
1051 (origin
1052 (method url-fetch)
1053 (uri
1054 (string-append "mirror://gnome/sources/" name "/"
1055 (version-major+minor version) "/"
1056 name "-" version ".tar.xz"))
1057 (sha256
1058 (base32
1059 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1060 (build-system glib-or-gtk-build-system)
1061 (native-inputs
1062 `(("intltool" ,intltool)
1063 ("itstool" ,itstool)
1064 ("libxml2" ,libxml2)
1065 ("pkg-config" ,pkg-config)
1066 ("python-wrapper" ,python-wrapper)))
1067 (inputs
1068 `(("glib" ,glib)
1069 ("gtk+" ,gtk+)
1070 ("libnotify" ,libnotify)
1071 ("mit-krb5" ,mit-krb5)
1072 ("network-manager" ,network-manager)))
1073 (synopsis "Popup dialogs for Kerberos 5")
1074 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1075 tickets, and pops up a dialog when they are about to expire.")
1076 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1077 (license license:gpl2+)))
1078
1079 (define-public notification-daemon
1080 (package
1081 (name "notification-daemon")
1082 (version "3.20.0")
1083 (source
1084 (origin
1085 (method url-fetch)
1086 (uri
1087 (string-append "mirror://gnome/sources/" name "/"
1088 (version-major+minor version) "/"
1089 name "-" version ".tar.xz"))
1090 (sha256
1091 (base32
1092 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1093 (build-system glib-or-gtk-build-system)
1094 (native-inputs
1095 `(("intltool" ,intltool)
1096 ("pkg-config" ,pkg-config)))
1097 (inputs
1098 `(("glib" ,glib)
1099 ("gtk+" ,gtk+)
1100 ("x11" ,libx11)))
1101 (synopsis "Notification Daemon for GNOME Desktop")
1102 (description "Notification-Daemon is the server implementation of the
1103 freedesktop.org desktop notification specification.")
1104 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1105 (license license:gpl2+)))
1106
1107 (define-public mm-common
1108 (package
1109 (name "mm-common")
1110 (version "1.0.2")
1111 (source (origin
1112 (method url-fetch)
1113 (uri (string-append "mirror://gnome/sources/mm-common/"
1114 (version-major+minor version) "/"
1115 "mm-common-" version ".tar.xz"))
1116 (sha256
1117 (base32
1118 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1119 (build-system meson-build-system)
1120 (arguments
1121 `(#:phases
1122 (modify-phases %standard-phases
1123 (add-after 'unpack 'patch
1124 (lambda* (#:key inputs #:allow-other-keys)
1125 (substitute* "util/mm-common-prepare.in"
1126 (("ln") (string-append (assoc-ref inputs "coreutils")
1127 "/bin/ln"))
1128 (("cp") (string-append (assoc-ref inputs "coreutils")
1129 "/bin/cp"))
1130 (("sed") (string-append (assoc-ref inputs "sed")
1131 "/bin/sed"))
1132 (("cat") (string-append (assoc-ref inputs "coreutils")
1133 "/bin/cat")))
1134 #t)))))
1135 (native-inputs
1136 `(("coreutils" ,coreutils)
1137 ("gettext" ,gettext-minimal)
1138 ("pkg-config" ,pkg-config)
1139 ("sed" ,sed)))
1140 (inputs
1141 `(("python" ,python)))
1142 (synopsis "Module of GNOME C++ bindings")
1143 (description "The mm-common module provides the build infrastructure
1144 and utilities shared among the GNOME C++ binding libraries. Release
1145 archives of mm-common include the Doxygen tag file for the GNU C++
1146 Library reference documentation.")
1147 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1148 (license license:gpl2+)))
1149
1150 (define-public phodav
1151 (package
1152 (name "phodav")
1153 (version "2.5")
1154 (source (origin
1155 (method url-fetch)
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.xz"))
1159 (sha256
1160 (base32
1161 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1162 (build-system meson-build-system)
1163 (arguments
1164 `(#:phases
1165 (modify-phases %standard-phases
1166 (add-before 'check 'start-virtual-dir-server
1167 ;; The same server when started by tests/virtual-dir returns an
1168 ;; unexpected status (4 instead of 200) and fails a test. It is
1169 ;; unclear why starting it manually here makes it pass.
1170 (lambda _
1171 (system "tests/virtual-dir-server &")
1172 #t)))))
1173 (native-inputs
1174 `(("docbook-xml" ,docbook-xml-4.3)
1175 ("gettext" ,gettext-minimal)
1176 ("glib:bin" ,glib "bin")
1177 ("gtk-doc" ,gtk-doc/stable)
1178 ("pkg-config" ,pkg-config)))
1179 (inputs
1180 `(("avahi" ,avahi)
1181 ("libgudev" ,libgudev)
1182 ("libsoup" ,libsoup)))
1183 (synopsis "WebDav server implementation using libsoup")
1184 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1185 but it is generic enough to be reused in other projects,
1186 in particular in the GNOME desktop.")
1187 (home-page "https://wiki.gnome.org/phodav")
1188 (license license:lgpl2.1+)))
1189
1190 (define-public gnome-color-manager
1191 (package
1192 (name "gnome-color-manager")
1193 (version "3.32.0")
1194 (source (origin
1195 (method url-fetch)
1196 (uri (string-append "mirror://gnome/sources/" name "/"
1197 (version-major+minor version) "/"
1198 name "-" version ".tar.xz"))
1199 (sha256
1200 (base32
1201 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1202 (build-system meson-build-system)
1203 (arguments
1204 `(#:glib-or-gtk? #t
1205 #:phases
1206 (modify-phases %standard-phases
1207 (add-before
1208 'check 'pre-check
1209 (lambda _
1210 ;; Tests require a running X server.
1211 (system "Xvfb :1 &")
1212 (setenv "DISPLAY" ":1")
1213 #t)))))
1214 (native-inputs
1215 `(("desktop-file-utils" ,desktop-file-utils)
1216 ("gettext" ,gettext-minimal)
1217 ("glib:bin" ,glib "bin")
1218 ("gtk+:bin" ,gtk+ "bin")
1219 ("itstool" ,itstool)
1220 ("pkg-config" ,pkg-config)
1221 ("xorg-server" ,xorg-server-for-tests)))
1222 (inputs
1223 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1224 ("appstream-glib" ,appstream-glib)
1225 ("colord-gtk" ,colord-gtk)
1226 ("exiv2" ,exiv2)
1227 ("gnome-desktop" ,gnome-desktop)
1228 ("libcanberra" ,libcanberra)
1229 ("libexif" ,libexif)
1230 ("libtiff" ,libtiff)
1231 ("libxrandr" ,libxrandr)
1232 ("libxtst" ,libxtst)
1233 ("libxxf86vm" ,libxxf86vm)
1234 ("vte" ,vte)
1235 ("xorgproto" ,xorgproto)))
1236 (synopsis "Color profile manager for the GNOME desktop")
1237 (description "GNOME Color Manager is a session framework that makes
1238 it easy to manage, install and generate color profiles
1239 in the GNOME desktop.")
1240 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1241 (license license:gpl2+)))
1242
1243 (define-public gnome-online-miners
1244 (package
1245 (name "gnome-online-miners")
1246 (version "3.34.0")
1247 (source (origin
1248 (method url-fetch)
1249 (uri (string-append "mirror://gnome/sources/" name "/"
1250 (version-major+minor version) "/"
1251 name "-" version ".tar.xz"))
1252 (sha256
1253 (base32
1254 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1255 (build-system glib-or-gtk-build-system)
1256 (native-inputs
1257 `(("gettext" ,gettext-minimal)
1258 ("glib:bin" ,glib "bin")
1259 ("gobject-introspection" ,gobject-introspection)
1260 ("gtk+:bin" ,gtk+ "bin")
1261 ("pkg-config" ,pkg-config)))
1262 (inputs
1263 `(("gnome-online-accounts" ,gnome-online-accounts)
1264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1265 ("grilo" ,grilo)
1266 ("libgdata" ,libgdata)
1267 ("libgfbgraph" ,gfbgraph)
1268 ("libzapojit" ,libzapojit)
1269 ("rest" ,rest)
1270 ("tracker" ,tracker)))
1271 (synopsis "Web Crawlers for GNOME")
1272 (description "GNOME Online Miners provides a set of crawlers that
1273 go through your online content and index them locally in Tracker.
1274 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1275 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1276 (license license:gpl2+)))
1277
1278 (define-public gssdp
1279 (package
1280 (name "gssdp")
1281 (version "1.2.3")
1282 (source (origin
1283 (method url-fetch)
1284 (uri (string-append "mirror://gnome/sources/" name "/"
1285 (version-major+minor version) "/"
1286 name "-" version ".tar.xz"))
1287 (sha256
1288 (base32
1289 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1290 (build-system meson-build-system)
1291 (native-inputs
1292 `(("gettext" ,gettext-minimal)
1293 ("glib:bin" ,glib "bin")
1294 ("gobject-introspection" ,gobject-introspection)
1295 ("gtk-doc" ,gtk-doc/stable)
1296 ("pkg-config" ,pkg-config)
1297 ("vala" ,vala)))
1298 (inputs
1299 `(("gtk+" ,gtk+)
1300 ("libsoup" ,libsoup)))
1301 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1302 Protocol} for GNOME")
1303 (description "This package provides a library to handle resource discovery
1304 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1305 a debugging tool, @command{gssdp-device-sniffer}.")
1306 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1307 (license license:lgpl2.0+)))
1308
1309 (define-public gupnp
1310 (package
1311 (name "gupnp")
1312 (version "1.2.4")
1313 (source (origin
1314 (method url-fetch)
1315 (uri (string-append "mirror://gnome/sources/" name "/"
1316 (version-major+minor version) "/"
1317 name "-" version ".tar.xz"))
1318 (sha256
1319 (base32
1320 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1321 (build-system meson-build-system)
1322 (native-inputs
1323 `(("gettext" ,gettext-minimal)
1324 ("glib:bin" ,glib "bin")
1325 ("gobject-introspection" ,gobject-introspection)
1326 ("gtk-doc" ,gtk-doc/stable)
1327 ("pkg-config" ,pkg-config)
1328 ("vala" ,vala)))
1329 (inputs
1330 `(("gssdp" ,gssdp)
1331 ("gtk+" ,gtk+)
1332 ("libsoup" ,libsoup)))
1333 (synopsis "PnP API for GNOME")
1334 (description "This package provides GUPnP, an object-oriented framework
1335 for creating UPnP devices and control points, written in C using
1336 @code{GObject} and @code{libsoup}.")
1337 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1338 (license license:lgpl2.0+)))
1339
1340 (define-public gupnp-dlna
1341 (package
1342 (name "gupnp-dlna")
1343 (version "0.10.5")
1344 (source (origin
1345 (method url-fetch)
1346 (uri (string-append "mirror://gnome/sources/" name "/"
1347 (version-major+minor version) "/"
1348 name "-" version ".tar.xz"))
1349 (sha256
1350 (base32
1351 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1352 (build-system gnu-build-system)
1353 (native-inputs
1354 `(("gettext" ,gettext-minimal)
1355 ("glib:bin" ,glib "bin")
1356 ("gobject-introspection" ,gobject-introspection)
1357 ("gtk-doc" ,gtk-doc/stable)
1358 ("libxml" ,libxml2)
1359 ("pkg-config" ,pkg-config)
1360 ("vala" ,vala)))
1361 (inputs
1362 `(("gstreamer" ,gstreamer)
1363 ("gupnp" ,gupnp)))
1364 (propagated-inputs
1365 `(("gst-plugins-base" ,gst-plugins-base)
1366 ("gst-plugins-good" ,gst-plugins-good)))
1367 (synopsis "GUPnP DLNA for GNOME")
1368 (description "This package provides a small utility library to
1369 support DLNA-related tasks such as media profile guessing, transcoding to a
1370 given profile, etc. DLNA is a subset of UPnP A/V.")
1371 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1372 (license license:lgpl2.0+)))
1373
1374 (define-public gupnp-av
1375 (package
1376 (name "gupnp-av")
1377 (version "0.12.11")
1378 (source (origin
1379 (method url-fetch)
1380 (uri (string-append "mirror://gnome/sources/" name "/"
1381 (version-major+minor version) "/"
1382 name "-" version ".tar.xz"))
1383 (sha256
1384 (base32
1385 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1386 (build-system gnu-build-system)
1387 (native-inputs
1388 `(("gettext" ,gettext-minimal)
1389 ("glib:bin" ,glib "bin")
1390 ("gobject-introspection" ,gobject-introspection)
1391 ("gtk-doc" ,gtk-doc/stable)
1392 ("libxml" ,libxml2)
1393 ("pkg-config" ,pkg-config)))
1394 (inputs
1395 `(("gtk+" ,gtk+)
1396 ("gupnp" ,gupnp)))
1397 (synopsis "GUPnP A/V for GNOME")
1398 (description "This package provides a small library for handling
1399 and implementation of UPnP A/V profiles.")
1400 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1401 (license license:lgpl2.0+)))
1402
1403 (define-public libmediaart
1404 (package
1405 (name "libmediaart")
1406 (version "1.9.4")
1407 (source (origin
1408 (method url-fetch)
1409 (uri (string-append "mirror://gnome/sources/" name "/"
1410 (version-major+minor version) "/"
1411 name "-" version ".tar.xz"))
1412 (sha256
1413 (base32
1414 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1415 (build-system gnu-build-system)
1416 (native-inputs
1417 `(("glib:bin" ,glib "bin")
1418 ("pkg-config" ,pkg-config)))
1419 (inputs
1420 `(("gdk-pixbuf" ,gdk-pixbuf)
1421 ("gettext" ,gettext-minimal)
1422 ("gobject-introspection" ,gobject-introspection)
1423 ("gtk+:doc" ,gtk+ "doc")
1424 ("vala" ,vala)))
1425 (synopsis "Media art library for the GNOME desktop")
1426 (description
1427 "The libmediaart library is the foundation for media art caching,
1428 extraction, and lookup for applications on the desktop.")
1429 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1430 (license license:lgpl2.1+)))
1431
1432 (define-public gnome-initial-setup
1433 (package
1434 (name "gnome-initial-setup")
1435 (version "3.32.1")
1436 (source (origin
1437 (method url-fetch)
1438 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1439 (version-major+minor version)
1440 "/gnome-initial-setup-" version ".tar.xz"))
1441 (sha256
1442 (base32
1443 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1444 (build-system meson-build-system)
1445 (arguments
1446 '(#:configure-flags '(;; Enable camera support for user selfie.
1447 "-Dcheese=auto"
1448 "-Dsystemd=false")
1449 #:phases (modify-phases %standard-phases
1450 (add-after 'unpack 'set-gkbd-file-name
1451 (lambda* (#:key inputs #:allow-other-keys)
1452 ;; Allow the "Preview" button in the keyboard layout
1453 ;; selection dialog to display the layout.
1454 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1455 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1456 (("\"gkbd-keyboard-display")
1457 (string-append "\"" libgnomekbd
1458 "/bin/gkbd-keyboard-display")))
1459 #t))))))
1460 (native-inputs
1461 `(("gettext" ,gettext-minimal)
1462 ("glib:bin" ,glib "bin")
1463 ("gobject-introspection" ,gobject-introspection)
1464 ("gtk+:bin" ,gtk+ "bin")
1465 ("pkg-config" ,pkg-config)))
1466 (inputs
1467 `(("accountsservice" ,accountsservice)
1468 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1469 ("gdm" ,gdm)
1470 ("geoclue" ,geoclue)
1471 ("gnome-desktop" ,gnome-desktop)
1472 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1473 ("gnome-online-accounts" ,gnome-online-accounts)
1474 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1475 ("gstreamer" ,gstreamer)
1476 ("ibus" ,ibus)
1477 ("json-glib" ,json-glib)
1478 ("krb5" ,mit-krb5)
1479 ("libgweather" ,libgweather)
1480 ("libnma" ,libnma)
1481 ("libsecret" ,libsecret)
1482 ("network-manager" ,network-manager)
1483 ("packagekit" ,packagekit)
1484 ("polkit" ,polkit)
1485 ("pwquality" ,libpwquality)
1486 ("rest" ,rest)
1487 ("upower" ,upower)
1488 ("webkitgtk" ,webkitgtk)
1489 ("libgnomekbd" ,libgnomekbd)))
1490 (synopsis "Initial setup wizard for GNOME desktop")
1491 (description "This package provides a set-up wizard when a
1492 user logs into GNOME for the first time. It typically provides a
1493 tour of all gnome components and allows the user to set them up.")
1494 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1495 (license license:gpl2)))
1496
1497 (define-public gnome-user-share
1498 (package
1499 (name "gnome-user-share")
1500 (version "3.33.1")
1501 (source (origin
1502 (method url-fetch)
1503 (uri (string-append "mirror://gnome/sources/" name "/"
1504 (version-major+minor version) "/"
1505 name "-" version ".tar.xz"))
1506 (sha256
1507 (base32
1508 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1509 (build-system meson-build-system)
1510 (arguments
1511 `(#:glib-or-gtk? #t
1512 #:configure-flags
1513 `("-Dsystemd=false"
1514 ;; Enable nautilus extension for file sharing.
1515 "-Dnautilus_extension=true")))
1516 (native-inputs
1517 `(("gettext" ,gettext-minimal)
1518 ("glib:bin" ,glib "bin")
1519 ("gobject-introspection" ,gobject-introspection)
1520 ("gtk+:bin" ,gtk+ "bin")
1521 ("pkg-config" ,pkg-config)
1522 ("yelp-tools" ,yelp-tools)))
1523 (inputs
1524 `(("glib" ,glib)
1525 ("gnome-bluetooth" ,gnome-bluetooth)
1526 ("gtk+" ,gtk+)
1527 ("libcanberra" ,libcanberra)
1528 ("libnotify" ,libnotify)
1529 ("nautilus" ,nautilus))) ; For nautilus extension.
1530 (synopsis "File sharing for GNOME desktop")
1531 (description "GNOME User Share is a small package that binds together
1532 various free software projects to bring easy to use user-level file
1533 sharing to the masses.")
1534 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1535 (license license:gpl2+)))
1536
1537 (define-public sushi
1538 (package
1539 (name "sushi")
1540 (version "3.32.1")
1541 (source (origin
1542 (method url-fetch)
1543 (uri (string-append "mirror://gnome/sources/" name "/"
1544 (version-major+minor version) "/"
1545 name "-" version ".tar.xz"))
1546 (sha256
1547 (base32
1548 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1549 (build-system meson-build-system)
1550 (arguments
1551 `(#:glib-or-gtk? #t
1552 #:phases
1553 (modify-phases %standard-phases
1554 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1555 (lambda* (#:key outputs #:allow-other-keys)
1556 (let ((prog (string-append (assoc-ref outputs "out")
1557 "/bin/sushi")))
1558 ;; Put existing typelibs before sushi's deps, so as to correctly
1559 ;; infer gdk-pixbuf
1560 (wrap-program prog
1561 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1562 #t))))))
1563 (native-inputs
1564 `(("glib:bin" ,glib "bin")
1565 ("gettext" ,gettext-minimal)
1566 ("gobject-introspection" ,gobject-introspection)
1567 ("pkg-config" ,pkg-config)))
1568 (inputs
1569 `(("clutter" ,clutter)
1570 ("clutter-gst" ,clutter-gst)
1571 ("clutter-gtk" ,clutter-gtk)
1572 ("evince" ,evince) ; For file previewing.
1573 ("freetype" ,freetype)
1574 ("gdk-pixbuf" ,gdk-pixbuf)
1575 ("gjs" ,gjs)
1576 ("gst-plugins-base" ,gst-plugins-base)
1577 ("gstreamer" ,gstreamer)
1578 ("gtksourceview" ,gtksourceview-3)
1579 ("harfbuzz" ,harfbuzz)
1580 ("libepoxy" ,libepoxy)
1581 ("libmusicbrainz" ,libmusicbrainz)
1582 ("libxml2" ,libxml2)
1583 ("neon" ,neon)
1584 ("webkitgtk" ,webkitgtk)))
1585 (synopsis "File previewer for the GNOME desktop")
1586 (description "Sushi is a DBus-activated service that allows applications to
1587 preview files on the GNOME desktop.")
1588 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1589 (license license:gpl2+)))
1590
1591 (define-public rygel
1592 (package
1593 (name "rygel")
1594 (version "0.38.3")
1595 (source (origin
1596 (method url-fetch)
1597 (uri (string-append "mirror://gnome/sources/" name "/"
1598 (version-major+minor version) "/"
1599 name "-" version ".tar.xz"))
1600 (sha256
1601 (base32
1602 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1603 (build-system gnu-build-system)
1604 (native-inputs
1605 `(("gettext" ,gettext-minimal)
1606 ("gobject-introspection" ,gobject-introspection)
1607 ("gtk-doc" ,gtk-doc/stable)
1608 ("pkg-config" ,pkg-config)
1609 ("vala" ,vala)))
1610 (inputs
1611 `(("gdk-pixbuf" ,gdk-pixbuf)
1612 ("gssdp" ,gssdp)
1613 ("gstreamer" ,gstreamer)
1614 ("gst-plugins-base" ,gst-plugins-base)
1615 ("gtk+" ,gtk+)
1616 ("gupnp" ,gupnp)
1617 ("gupnp-av" ,gupnp-av)
1618 ("gupnp-dlna" ,gupnp-dlna)
1619 ("libgee" ,libgee)
1620 ("libmediaart" ,libmediaart)
1621 ("libsoup" ,libsoup)
1622 ("libxslt" ,libxslt)
1623 ("libunistring" ,libunistring)
1624 ("tracker" ,tracker)))
1625 (synopsis "Share audio, video, and pictures with other devices")
1626 (description
1627 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1628 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1629 pictures, and to control a media player on your home network.
1630
1631 Rygel achieves interoperability with other devices by trying to conform to the
1632 strict requirements of DLNA and by converting media on-the-fly to formats that
1633 client devices can handle.")
1634 (home-page "https://wiki.gnome.org/Projects/Rygel")
1635 (license (list
1636 ;; For logo (data/icons/*).
1637 license:cc-by-sa3.0
1638 ;; For all others.
1639 license:lgpl2.1+))))
1640
1641 (define-public libnma
1642 (package
1643 (name "libnma")
1644 (version "1.8.28")
1645 (source (origin
1646 (method url-fetch)
1647 (uri (string-append "mirror://gnome/sources/" name "/"
1648 (version-major+minor version) "/"
1649 name "-" version ".tar.xz"))
1650 (sha256
1651 (base32
1652 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1653 (build-system meson-build-system)
1654 (arguments
1655 `(#:phases
1656 (modify-phases %standard-phases
1657 (add-after 'unpack 'patch-docbook-xml
1658 (lambda* (#:key inputs #:allow-other-keys)
1659 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1660 "/xml/dtd/docbook")))
1661 (substitute* "libnma-docs.xml"
1662 (("http://.*/docbookx\\.dtd")
1663 (string-append xmldoc "/docbookx.dtd")))
1664 #t))))))
1665 (native-inputs
1666 `(("docbook-xml" ,docbook-xml-4.3)
1667 ("gettext" ,gettext-minimal)
1668 ("glib:bin" ,glib "bin")
1669 ("gtk-doc" ,gtk-doc/stable)
1670 ("gobject-introspection" ,gobject-introspection)
1671 ("pkg-config" ,pkg-config)
1672 ("vala" ,vala)))
1673 (inputs
1674 `(("gcr" ,gcr)
1675 ("gtk+" ,gtk+)
1676 ("iso-codes" ,iso-codes)
1677 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1678 ("network-manager" ,network-manager)))
1679 (synopsis "Network Manager's applet library")
1680 (description "Libnma is an applet library for Network Manager. It was
1681 initially part of network-manager-applet and has now become a separate
1682 project.")
1683 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1684 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1685 ;; "LGPL-2.1+".
1686 (license license:gpl2+)))
1687
1688 (define-public gnome-menus
1689 (package
1690 (name "gnome-menus")
1691 (version "3.32.0")
1692 (source (origin
1693 (method url-fetch)
1694 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1695 (version-major+minor version) "/"
1696 name "-" version ".tar.xz"))
1697 (sha256
1698 (base32
1699 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1700 (build-system gnu-build-system)
1701 (native-inputs
1702 `(("gettext" ,gettext-minimal)
1703 ("glib" ,glib)
1704 ("pkg-config" ,pkg-config)))
1705 (synopsis "Menu support for GNOME desktop")
1706 (description "GNOME Menus contains the libgnome-menu library, the layout
1707 configuration files for the GNOME menu, as well as a simple menu editor.")
1708 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1709 (license license:lgpl2.0+)))
1710
1711 (define-public deja-dup
1712 (package
1713 (name "deja-dup")
1714 (version "40.6")
1715 (source (origin
1716 (method url-fetch)
1717 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1718 version "/deja-dup-" version ".tar.bz2"))
1719 (sha256
1720 (base32
1721 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1722 (build-system meson-build-system)
1723 (arguments
1724 `(#:glib-or-gtk? #t
1725 #:configure-flags
1726 (list
1727 ;; Otherwise, the RUNPATH will lack the final path component.
1728 (string-append "-Dc_link_args=-Wl,-rpath="
1729 (assoc-ref %outputs "out") "/lib/deja-dup"))
1730 #:phases
1731 (modify-phases %standard-phases
1732 (add-after 'unpack 'patch-paths
1733 (lambda* (#:key inputs #:allow-other-keys)
1734 (let ((python (assoc-ref inputs "python")))
1735 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1736 "libdeja/tests/scripts/instance-error.test")
1737 (("/bin/rm")
1738 (which "rm")))
1739 (substitute* "libdeja/tests/runner.vala"
1740 (("/bin/sh")
1741 (which "sh")))
1742 (substitute* "libdeja/tests/scripts/instance-error.test"
1743 (("`which python3`")
1744 (string-append python "/bin/python3"))))))
1745 (add-after 'unpack 'patch-libgpg-error
1746 (lambda* (#:key inputs #:allow-other-keys)
1747 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1748 (substitute* "meson.build"
1749 (("(gpgerror_libs = ).*" _ var)
1750 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1751 #t))
1752 (add-after 'unpack 'skip-gtk-update-icon-cache
1753 ;; Don't create 'icon-theme.cache'.
1754 (lambda _
1755 (substitute* "data/post-install.sh"
1756 (("gtk-update-icon-cache") "true"))
1757 #t)))))
1758 (inputs
1759 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1760 ("duplicity" ,duplicity)
1761 ("python" ,python)
1762 ("python-pygobject" ,python-pygobject)
1763 ("gtk+" ,gtk+)
1764 ("json-glib" ,json-glib)
1765 ("libnotify" ,libnotify)
1766 ("libgpg-error" ,libgpg-error)
1767 ("libsecret" ,libsecret)
1768 ("libsoup" ,libsoup)
1769 ("packagekit" ,packagekit)))
1770 (native-inputs
1771 `(("appstream-glib" ,appstream-glib)
1772 ("desktop-file-utils" ,desktop-file-utils)
1773 ("gettext" ,gettext-minimal)
1774 ("glib" ,glib "bin") ; for glib-compile-schemas.
1775 ("gobject-introspection" ,gobject-introspection)
1776 ("itstool" ,itstool)
1777 ("pkg-config" ,pkg-config)
1778 ("vala" ,vala)))
1779 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1780 (synopsis "Simple backup tool, for regular encrypted backups")
1781 (description
1782 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1783 uses duplicity as the backend, which supports incremental backups and storage
1784 either on a local, or remote machine via a number of methods.")
1785 (license license:gpl3+)))
1786
1787 (define-public gnome-commander
1788 (package
1789 (name "gnome-commander")
1790 (version "1.10.3")
1791 (source
1792 (origin
1793 (method url-fetch)
1794 (uri (string-append "mirror://gnome/sources/" name "/"
1795 (version-major+minor version) "/"
1796 "gnome-commander-" version ".tar.xz"))
1797 (sha256
1798 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1799 (build-system glib-or-gtk-build-system)
1800 (native-inputs
1801 `(("desktop-file-utils" ,desktop-file-utils)
1802 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1803 ("gettext" ,gettext-minimal)
1804 ("glib:bin" ,glib "bin")
1805 ("gobject-introspection" ,gobject-introspection)
1806 ("googletest" ,googletest)
1807 ("intltool" ,intltool)
1808 ("itstool" ,itstool)
1809 ("libtool" ,libtool)
1810 ("pkg-config" ,pkg-config)))
1811 (inputs
1812 `(("gconf" ,gconf)
1813 ("gnome-vfs" ,gnome-vfs)
1814 ("gtk+" ,gtk+-2)
1815 ("libxml2" ,libxml2)))
1816 (home-page "https://gcmd.github.io/")
1817 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1818 (description
1819 "GNOME Commander is a two-pane graphical file manager using GNOME
1820 libraries. It aims to fulfill the demands of more advanced users who
1821 like to focus on file management, their work through special applications
1822 and running smart commands.")
1823 (license license:gpl2+)))
1824
1825 (define-public gnome-user-docs
1826 (package
1827 (name "gnome-user-docs")
1828 (version "3.32.3")
1829 (source
1830 (origin
1831 (method url-fetch)
1832 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1833 (version-major+minor version)
1834 "/gnome-user-docs-" version ".tar.xz"))
1835 (sha256
1836 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1837 (build-system gnu-build-system)
1838 (native-inputs
1839 `(("gettext" ,gettext-minimal)
1840 ("itstool" ,itstool)
1841 ("pkg-config" ,pkg-config)
1842 ("xmllint" ,libxml2)))
1843 (synopsis "User documentation for the GNOME desktop")
1844 (description
1845 "The GNOME User Documentation explains how to use the GNOME desktop and its
1846 components. It covers usage and setup of the core GNOME programs by end-users
1847 and system administrators.")
1848 (home-page "https://live.gnome.org/DocumentationProject")
1849 (license license:cc-by3.0)))
1850
1851 (define-public gnome-getting-started-docs
1852 (package
1853 (name "gnome-getting-started-docs")
1854 (version "3.32.2")
1855 (source
1856 (origin
1857 (method url-fetch)
1858 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1859 (version-major+minor version)
1860 "/gnome-getting-started-docs-" version ".tar.xz"))
1861 (sha256
1862 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1863 (build-system gnu-build-system)
1864 (native-inputs
1865 `(("gettext" ,gettext-minimal)
1866 ("itstool" ,itstool)
1867 ("pkg-config" ,pkg-config)
1868 ("xmllint" ,libxml2)))
1869 (synopsis "Help to get new users started with the GNOME desktop")
1870 (description
1871 "The GNOME Getting Started Documentation contains GNOME's intuitive
1872 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1873
1874 It is normally used together with @command{gnome-initial-setup}, but is also
1875 useful as a tutorial and users' guide for new or less experienced users.")
1876 (home-page "https://live.gnome.org/DocumentationProject")
1877 (license license:cc-by-sa3.0)))
1878
1879 (define-public dia
1880 ;; This version from GNOME's repository includes fixes for compiling with
1881 ;; recent versions of the build tools. The latest activity on the
1882 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1883 ;; fixes since.
1884 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1885 (revision "2"))
1886 (package
1887 (name "dia")
1888 (version (git-version "0.97.3" revision commit))
1889 (source (origin
1890 (method git-fetch)
1891 (uri (git-reference
1892 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1893 (commit commit)))
1894 (file-name (git-file-name name version))
1895 (sha256
1896 (base32
1897 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1898 (build-system meson-build-system)
1899 (inputs
1900 `(("graphene" ,graphene)
1901 ("gtk+" ,gtk+-2)
1902 ("libxml2" ,libxml2)
1903 ("libxslt" ,libxslt)
1904 ("poppler" ,poppler)
1905 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1906 ;; ERROR: Unknown method "dependency" in object.
1907 ("python-2" ,python-2)))
1908 (native-inputs
1909 `(("appstream-glib" ,appstream-glib)
1910 ("docbook-xsl" ,docbook-xsl)
1911 ("glib" ,glib "bin")
1912 ("intltool" ,intltool)
1913 ("pkg-config" ,pkg-config)))
1914 (home-page "https://wiki.gnome.org/Apps/Dia")
1915 (synopsis "Diagram creation for GNOME")
1916 (description "Dia can be used to draw different types of diagrams, and
1917 includes support for UML static structure diagrams (class diagrams), entity
1918 relationship modeling, and network diagrams. The program supports various file
1919 formats like PNG, SVG, PDF and EPS.")
1920 (license license:gpl2+))))
1921
1922 ;; This is the unstable release, but it is required for the current stable
1923 ;; release of gvfs (1.38.1).
1924 (define-public libgdata
1925 (package
1926 (name "libgdata")
1927 (version "0.17.9")
1928 (source (origin
1929 (method url-fetch)
1930 (uri (string-append "mirror://gnome/sources/" name "/"
1931 (version-major+minor version) "/"
1932 name "-" version ".tar.xz"))
1933 (sha256
1934 (base32
1935 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1936 (build-system gnu-build-system)
1937 (arguments
1938 '(#:phases
1939 (modify-phases %standard-phases
1940 (add-before 'check 'disable-failing-tests
1941 (lambda _
1942 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1943 ;; They have been removed in libgdata 0.17.6, so just do the same.
1944 (substitute* "gdata/tests/Makefile"
1945 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1946 #t)))))
1947 (native-inputs
1948 `(("glib:bin" ,glib "bin")
1949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1950 ("intltool" ,intltool)
1951 ("pkg-config" ,pkg-config)
1952 ("uhttpmock" ,uhttpmock)))
1953 (inputs
1954 `(("cyrus-sasl" ,cyrus-sasl)
1955 ("glib-networking" ,glib-networking)))
1956 (propagated-inputs
1957 `(("gcr" ,gcr)
1958 ("glib" ,glib)
1959 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1960 ("json-glib" ,json-glib)
1961 ("liboauth" ,liboauth)
1962 ("libsoup" ,libsoup)
1963 ("libxml2" ,libxml2)))
1964 (home-page "https://wiki.gnome.org/Projects/libgdata")
1965 (synopsis "Library for accessing online service APIs")
1966 (description
1967 "libgdata is a GLib-based library for accessing online service APIs using
1968 the GData protocol — most notably, Google's services. It provides APIs to
1969 access the common Google services, and has full asynchronous support.")
1970 (license license:lgpl2.1+)))
1971
1972 (define-public libgxps
1973 (package
1974 (name "libgxps")
1975 (version "0.3.2")
1976 (source (origin
1977 (method url-fetch)
1978 (uri (string-append "mirror://gnome/sources/" name "/"
1979 (version-major+minor version) "/"
1980 name "-" version ".tar.xz"))
1981 (sha256
1982 (base32
1983 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1984 (build-system meson-build-system)
1985 (native-inputs
1986 `(("gobject-introspection" ,gobject-introspection)
1987 ("pkg-config" ,pkg-config)))
1988 (inputs
1989 `(("gtk+" ,gtk+)
1990 ("libjpeg" ,libjpeg-turbo)
1991 ("lcms" ,lcms)
1992 ("libtiff" ,libtiff)))
1993 (propagated-inputs
1994 ;; In Requires of libgxps.pc.
1995 `(("cairo" ,cairo)
1996 ("glib" ,glib)
1997 ("libarchive" ,libarchive)))
1998 (home-page "https://wiki.gnome.org/Projects/libgxps")
1999 (synopsis "GObject-based library for handling and rendering XPS documents")
2000 (description
2001 "libgxps is a GObject-based library for handling and rendering XPS
2002 documents. This package also contains binaries that can convert XPS documents
2003 to other formats.")
2004 (license license:lgpl2.1+)))
2005
2006 (define-public gnome-characters
2007 (package
2008 (name "gnome-characters")
2009 (version "3.30.0")
2010 (source
2011 (origin
2012 (method url-fetch)
2013 (uri (string-append "mirror://gnome/sources/"
2014 "gnome-characters/" (version-major+minor version)
2015 "/gnome-characters-" version ".tar.xz"))
2016 (sha256
2017 (base32
2018 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2019 (build-system meson-build-system)
2020 (arguments
2021 `(#:glib-or-gtk? #t
2022 #:phases (modify-phases %standard-phases
2023 (add-after 'install 'wrap
2024 (lambda* (#:key outputs #:allow-other-keys)
2025 ;; GNOME Characters needs Typelib files from GTK and
2026 ;; gnome-desktop.
2027 (wrap-program (string-append (assoc-ref outputs "out")
2028 "/bin/gnome-characters")
2029 `("GI_TYPELIB_PATH" ":" prefix
2030 (,(getenv "GI_TYPELIB_PATH"))))
2031 #t)))))
2032 (native-inputs
2033 `(("gettext" ,gettext-minimal)
2034 ("glib:bin" ,glib "bin")
2035 ("gtk+:bin" ,gtk+ "bin")
2036 ("pkg-config" ,pkg-config)
2037 ("python" ,python-minimal)))
2038 (inputs
2039 `(("gjs" ,gjs)
2040 ("gtk+" ,gtk+)
2041 ("libunistring" ,libunistring)
2042 ("gnome-desktop" ,gnome-desktop)))
2043 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2044 (synopsis "Find and insert unusual characters")
2045 (description "Characters is a simple utility application to find
2046 and insert unusual characters. It allows you to quickly find the
2047 character you are looking for by searching for keywords.")
2048 (license license:bsd-3)))
2049
2050 (define-public gnome-common
2051 (package
2052 (name "gnome-common")
2053 (version "3.18.0")
2054 (source
2055 (origin
2056 (method url-fetch)
2057 (uri (string-append "mirror://gnome/sources/" name "/"
2058 (version-major+minor version) "/"
2059 name "-" version ".tar.xz"))
2060 (sha256
2061 (base32
2062 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2063 (build-system gnu-build-system)
2064 (home-page "https://www.gnome.org/")
2065 (synopsis "Bootstrap GNOME modules built from Git")
2066 (description "gnome-common contains various files needed to bootstrap
2067 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2068 can be used to configure a source directory checked out from Git and some
2069 commonly used macros.")
2070 (license license:gpl2+)))
2071
2072 (define-public gnome-contacts
2073 (package
2074 (name "gnome-contacts")
2075 (version "3.34")
2076 (source (origin
2077 (method url-fetch)
2078 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2079 (version-major+minor version) "/"
2080 name "-" version ".tar.xz"))
2081 (sha256
2082 (base32
2083 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2084 (build-system meson-build-system)
2085 (arguments
2086 `(#:configure-flags '("-Dcheese=false")
2087 #:phases
2088 (modify-phases %standard-phases
2089 (add-after 'unpack 'generate-vapis
2090 (lambda* (#:key inputs #:allow-other-keys)
2091 ;; To generate goa's missing .vapi file
2092 (define goa
2093 (assoc-ref inputs "gnome-online-accounts:lib"))
2094
2095 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2096 "--library=goa-1.0"
2097 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2098 #t))
2099 (add-after 'unpack 'skip-gtk-update-icon-cache
2100 ;; Don't create 'icon-theme.cache'.
2101 (lambda _
2102 (substitute* "build-aux/meson_post_install.py"
2103 (("gtk-update-icon-cache") "true"))
2104 #t)))))
2105 (native-inputs
2106 `(("glib:bin" ,glib "bin")
2107 ("pkg-config" ,pkg-config)))
2108 (inputs
2109 `(("docbook-xml" ,docbook-xml)
2110 ("dockbook-xsl" ,docbook-xsl)
2111 ("evolution-data-server" ,evolution-data-server)
2112 ("gettext" ,gettext-minimal)
2113 ("gnome-desktop" ,gnome-desktop)
2114 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2115 ("gobject-introspection" ,gobject-introspection)
2116 ("gst-plugins-base" ,gst-plugins-base)
2117 ("gtk+" ,gtk+)
2118 ("libgee" ,libgee)
2119 ("libxslt" ,libxslt)
2120 ("telepathy-glib" ,telepathy-glib)
2121 ("vala" ,vala)))
2122 (propagated-inputs
2123 `(("folks" ,folks)
2124 ("telepathy-mission-control" ,telepathy-mission-control)))
2125 (synopsis "GNOME's integrated address book")
2126 (description
2127 "GNOME Contacts organizes your contact information from online and
2128 offline sources, providing a centralized place for managing your contacts.")
2129 (home-page "https://wiki.gnome.org/Apps/Contacts")
2130 (license license:gpl2+)))
2131
2132 (define-public gnome-desktop
2133 (package
2134 (name "gnome-desktop")
2135 (version "3.34.2")
2136 (source
2137 (origin
2138 (method url-fetch)
2139 (uri (string-append "mirror://gnome/sources/" name "/"
2140 (version-major+minor version) "/"
2141 name "-" version ".tar.xz"))
2142 (sha256
2143 (base32
2144 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2145 (build-system meson-build-system)
2146 (arguments
2147 '(#:phases
2148 (modify-phases %standard-phases
2149 (add-before 'configure 'patch-path
2150 (lambda* (#:key inputs #:allow-other-keys)
2151 (let ((libc (assoc-ref inputs "libc")))
2152 (substitute* "libgnome-desktop/gnome-languages.c"
2153 (("\"locale\"")
2154 (string-append "\"" libc "/bin/locale\"")))
2155 #t)))
2156 (add-before 'configure 'patch-bubblewrap
2157 (lambda* (#:key inputs #:allow-other-keys)
2158 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2159 (("\"bwrap\",")
2160 (string-append "\"" (which "bwrap") "\","))
2161 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2162 (string-append "\"--ro-bind\", \""
2163 (%store-directory)
2164 "\", \""
2165 (%store-directory)
2166 "\","))
2167 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2168 #t))
2169 (add-before 'check 'pre-check
2170 (lambda* (#:key inputs #:allow-other-keys)
2171 ;; Tests require a running X server and locales.
2172 (system "Xvfb :1 &")
2173 (setenv "DISPLAY" ":1")
2174 (setenv "GUIX_LOCPATH"
2175 (string-append (assoc-ref inputs "glibc-locales")
2176 "/lib/locale"))
2177 #t)))))
2178 (native-inputs
2179 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2180 ("glibc-locales" ,glibc-locales) ; for tests
2181 ("gobject-introspection" ,gobject-introspection)
2182 ("itstool" ,itstool)
2183 ("intltool" ,intltool)
2184 ("pkg-config" ,pkg-config)
2185 ("xmllint" ,libxml2)
2186 ("xorg-server" ,xorg-server-for-tests)))
2187 (propagated-inputs
2188 ;; Required by gnome-desktop-3.0.pc.
2189 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2190 ("gtk+" ,gtk+)
2191 ("iso-codes" ,iso-codes)
2192 ("libseccomp" ,libseccomp)
2193 ("libx11" ,libx11)
2194 ("xkeyboard-config" ,xkeyboard-config)))
2195 (inputs
2196 `(("gdk-pixbuf" ,gdk-pixbuf)
2197 ("glib" ,glib)
2198 ("bubblewrap" ,bubblewrap)
2199 ("libxext" ,libxext)
2200 ("libxkbfile" ,libxkbfile)
2201 ("libxrandr" ,libxrandr)))
2202 (home-page "https://www.gnome.org/")
2203 (synopsis
2204 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2205 (description
2206 "The libgnome-desktop library provides API shared by several applications
2207 on the desktop, but that cannot live in the platform for various reasons.
2208 There is no API or ABI guarantee, although we are doing our best to provide
2209 stability. Documentation for the API is available with gtk-doc.
2210
2211 The gnome-about program helps find which version of GNOME is installed.")
2212 ; Some bits under the LGPL.
2213 (license license:gpl2+)))
2214
2215 (define-public gnome-doc-utils
2216 (package
2217 (name "gnome-doc-utils")
2218 (version "0.20.10")
2219 (source
2220 (origin
2221 (method url-fetch)
2222 (uri (string-append "mirror://gnome/sources/" name "/"
2223 (version-major+minor version) "/"
2224 name "-" version ".tar.xz"))
2225 (sha256
2226 (base32
2227 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2228 (build-system gnu-build-system)
2229 (native-inputs
2230 `(("intltool" ,intltool)
2231 ("docbook-xml" ,docbook-xml-4.4)
2232 ("python2-libxml2" ,python2-libxml2)
2233 ("libxml2" ,libxml2)
2234 ("libxslt" ,libxslt)
2235 ("pkg-config" ,pkg-config)
2236 ("python-2" ,python-2)))
2237 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2238 (synopsis
2239 "Documentation utilities for the Gnome project")
2240 (description
2241 "Gnome-doc-utils is a collection of documentation utilities for the
2242 Gnome project. It includes xml2po tool which makes it easier to translate
2243 and keep up to date translations of documentation.")
2244 (license license:gpl2+))) ; xslt under lgpl
2245
2246 (define-public gnome-disk-utility
2247 (package
2248 (name "gnome-disk-utility")
2249 (version "3.34.0")
2250 (source (origin
2251 (method url-fetch)
2252 (uri (string-append "mirror://gnome/sources/" name "/"
2253 (version-major+minor version) "/"
2254 name "-" version ".tar.xz"))
2255 (sha256
2256 (base32
2257 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2258 (build-system meson-build-system)
2259 (arguments
2260 '(#:configure-flags '("-Dlogind=libelogind")
2261 #:phases
2262 (modify-phases %standard-phases
2263 (add-after 'unpack 'skip-gtk-update-icon-cache
2264 ;; Don't create 'icon-theme.cache'.
2265 (lambda _
2266 (substitute* "meson_post_install.py"
2267 (("gtk-update-icon-cache") "true"))
2268 #t)))))
2269 (native-inputs
2270 `(("glib:bin" ,glib "bin")
2271 ("intltool" ,intltool)
2272 ("pkg-config" ,pkg-config)
2273 ("docbook-xml" ,docbook-xml)
2274 ("docbook-xsl" ,docbook-xsl)
2275 ("libxml2" ,libxml2)
2276 ("libxslt" ,libxslt)))
2277 (inputs
2278 `(("elogind" ,elogind)
2279 ("glib" ,glib)
2280 ("appstream-glib" ,appstream-glib)
2281 ("gnome-settings-daemon" ,gnome-settings-daemon)
2282 ("gtk+" ,gtk+)
2283 ("libcanberra" ,libcanberra)
2284 ("libdvdread" ,libdvdread)
2285 ("libnotify" ,libnotify)
2286 ("libpwquality" ,libpwquality)
2287 ("libsecret" ,libsecret)
2288 ("udisks" ,udisks)))
2289 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2290 (synopsis "Disk management utility for GNOME")
2291 (description "Disk management utility for GNOME.")
2292 (license license:gpl2+)))
2293
2294 (define-public gnome-font-viewer
2295 (package
2296 (name "gnome-font-viewer")
2297 (version "3.30.0")
2298 (source (origin
2299 (method url-fetch)
2300 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2301 (version-major+minor version)
2302 "/gnome-font-viewer-" version ".tar.xz"))
2303 (sha256
2304 (base32
2305 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2306 (build-system meson-build-system)
2307 (arguments
2308 '(#:phases
2309 (modify-phases %standard-phases
2310 (add-after 'unpack 'patch-post-install-script
2311 (lambda _
2312 (substitute* "meson-postinstall.sh"
2313 (("update-desktop-database") (which "true")))
2314 #t))
2315 (add-after 'install 'patch-thumbnailer
2316 (lambda* (#:key outputs #:allow-other-keys)
2317 (let ((out (assoc-ref outputs "out")))
2318 (substitute*
2319 (string-append
2320 out
2321 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2322 (("gnome-thumbnail-font")
2323 (string-append out "/bin/gnome-thumbnail-font"))))
2324 #t)))))
2325 (native-inputs
2326 `(("gettext" ,gettext-minimal)
2327 ("glib:bin" ,glib "bin")
2328 ("pkg-config" ,pkg-config)))
2329 (inputs
2330 `(("glib" ,glib)
2331 ("gnome-desktop" ,gnome-desktop)
2332 ("gtk+" ,gtk+)))
2333 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2334 (synopsis "GNOME Fonts")
2335 (description "Application to show you the fonts installed on your computer
2336 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2337 the font would look under various sizes.")
2338 (license license:gpl2+)))
2339
2340 (define-public gcr
2341 (package
2342 (name "gcr")
2343 (version "3.34.0")
2344 (source (origin
2345 (method url-fetch)
2346 (uri (string-append "mirror://gnome/sources/" name "/"
2347 (version-major+minor version) "/"
2348 name "-" version ".tar.xz"))
2349 (sha256
2350 (base32
2351 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2352 (build-system gnu-build-system)
2353 (arguments
2354 '(#:phases
2355 (modify-phases %standard-phases
2356 ;; These fail because /var/lib/dbus/machine-id is not present in the
2357 ;; build environment.
2358 (add-after 'unpack 'disable-failing-tests
2359 (lambda _
2360 (substitute* "Makefile.in"
2361 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2362 ""))
2363 #t))
2364 (add-before 'check 'pre-check
2365 (lambda _
2366 ;; Some tests expect to write to $HOME.
2367 (setenv "HOME" "/tmp")
2368 #t)))))
2369 (inputs
2370 `(("dbus" ,dbus)
2371 ("gnupg" ,gnupg) ;called as a child process during tests
2372 ("libgcrypt" ,libgcrypt)))
2373 (native-inputs
2374 `(("python" ,python-wrapper) ;for tests
2375 ("pkg-config" ,pkg-config)
2376 ("gettext" ,gettext-minimal)
2377 ("glib" ,glib "bin")
2378 ("gobject-introspection" ,gobject-introspection)
2379 ("libxml2" ,libxml2)
2380 ("vala" ,vala)
2381 ("xsltproc" ,libxslt)))
2382 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2383 (propagated-inputs
2384 `(("p11-kit" ,p11-kit)
2385 ("glib" ,glib)
2386 ("gtk+" ,gtk+)))
2387 (home-page "https://www.gnome.org")
2388 (synopsis "Libraries for displaying certificates and accessing key stores")
2389 (description
2390 "The GCR package contains libraries used for displaying certificates and
2391 accessing key stores. It also provides the viewer for crypto files on the
2392 GNOME Desktop.")
2393 (license license:lgpl2.1+)))
2394
2395 (define-public gdl
2396 (package
2397 (name "gdl")
2398 (version "3.34.0")
2399 (source (origin
2400 (method git-fetch)
2401 (uri (git-reference
2402 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2403 (commit (string-append "GDL_" (string-map (match-lambda
2404 (#\. #\_)
2405 (c c))
2406 version)))))
2407 (file-name (git-file-name name version))
2408 (sha256
2409 (base32
2410 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2411 (build-system gnu-build-system)
2412 (native-inputs
2413 `(("autoconf" ,autoconf)
2414 ("automake" ,automake)
2415 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2416 ("gnome-common" ,gnome-common)
2417 ("gtk-doc" ,gtk-doc/stable)
2418 ("intltool" ,intltool)
2419 ("pkg-config" ,pkg-config)
2420 ("libtool" ,libtool)
2421 ("which" ,which)))
2422 (inputs
2423 `(("libxml2" ,libxml2)))
2424 (propagated-inputs
2425 ;; The gdl-3.0.pc file 'Requires' GTK+.
2426 `(("gtk+" ,gtk+)))
2427 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2428 (synopsis "GNOME docking library")
2429 (description "This library provides docking features for gtk+.")
2430 (license license:lgpl2.1+)))
2431
2432 ;;; A minimal variant used to break a cycle with Inkscape.
2433 (define-public gdl-minimal
2434 (package/inherit gdl
2435 (name "gdl-minimal")
2436 (arguments
2437 '(#:phases
2438 (modify-phases %standard-phases
2439 (add-after 'unpack 'disable-doc-generation
2440 ;; XXX: There is no easy way to disable generating the
2441 ;; documentation.
2442 (lambda _
2443 (substitute* "configure.in"
2444 (("GTK_DOC_CHECK.*") "")
2445 (("docs/.*") ""))
2446 (substitute* "Makefile.am"
2447 (("gdl docs po") "gdl po"))
2448 #t)))))
2449 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2450
2451 (define-public libgnome-keyring
2452 (package
2453 (name "libgnome-keyring")
2454 (version "3.12.0")
2455 (source (origin
2456 (method url-fetch)
2457 (uri (string-append "mirror://gnome/sources/" name "/"
2458 (version-major+minor version) "/"
2459 name "-" version ".tar.xz"))
2460 (sha256
2461 (base32
2462 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2463 (build-system gnu-build-system)
2464 (inputs
2465 `(("libgcrypt" ,libgcrypt)
2466 ("dbus" ,dbus)))
2467 (native-inputs
2468 `(("pkg-config" ,pkg-config)
2469 ("glib" ,glib "bin")
2470 ("intltool" ,intltool)))
2471 (propagated-inputs
2472 ;; Referred to in .h files and .pc.
2473 `(("glib" ,glib)))
2474 (home-page "https://www.gnome.org")
2475 (synopsis "Accessing passwords from the GNOME keyring")
2476 (description
2477 "Client library to access passwords from the GNOME keyring.")
2478
2479 ;; Though a couple of files are LGPLv2.1+.
2480 (license license:lgpl2.0+)))
2481
2482 (define-public gnome-keyring
2483 (package
2484 (name "gnome-keyring")
2485 (version "3.34.0")
2486 (source (origin
2487 (method url-fetch)
2488 (uri (string-append "mirror://gnome/sources/" name "/"
2489 (version-major+minor version) "/"
2490 name "-" version ".tar.xz"))
2491 (sha256
2492 (base32
2493 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2494 (build-system gnu-build-system)
2495 (arguments
2496 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2497 ;not exist
2498 #:configure-flags
2499 (list
2500 (string-append "--with-pkcs11-config="
2501 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2502 (string-append "--with-pkcs11-modules="
2503 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2504 #:phases
2505 (modify-phases %standard-phases
2506 (add-after 'unpack 'fix-/bin/sh-reference
2507 (lambda _
2508 (substitute* "po/Makefile.in.in"
2509 (("/bin/sh") (which "sh")))
2510 #t))
2511 (add-after 'unpack 'fix-docbook
2512 (lambda* (#:key inputs #:allow-other-keys)
2513 (substitute* "docs/Makefile.am"
2514 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2515 (string-append (assoc-ref inputs "docbook-xsl")
2516 "/xml/xsl/docbook-xsl-"
2517 ,(package-version docbook-xsl)
2518 "/manpages/docbook.xsl")))
2519 (setenv "XML_CATALOG_FILES"
2520 (string-append (assoc-ref inputs "docbook-xml")
2521 "/xml/dtd/docbook/catalog.xml"))
2522 ;; Rerun the whole thing to avoid version mismatch ("This is
2523 ;; Automake 1.15.1, but the definition used by this
2524 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2525 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2526 (invoke "autoconf")
2527 (invoke "aclocal")
2528 (invoke "automake" "-ac"))))))
2529 (inputs
2530 `(("libgcrypt" ,libgcrypt)
2531 ("linux-pam" ,linux-pam)
2532 ("openssh" ,openssh)
2533 ("dbus" ,dbus)
2534 ("gcr" ,gcr)))
2535 (native-inputs
2536 `(("pkg-config" ,pkg-config)
2537 ("glib" ,glib "bin")
2538 ("glib" ,glib) ; for m4 macros
2539 ("python" ,python-2) ;for tests
2540 ("intltool" ,intltool)
2541 ("autoconf" ,autoconf)
2542 ("automake" ,automake)
2543 ("libxslt" ,libxslt) ;for documentation
2544 ("docbook-xml" ,docbook-xml-4.2)
2545 ("docbook-xsl" ,docbook-xsl)))
2546 (propagated-inputs
2547 `(("gcr" ,gcr)))
2548 (home-page "https://www.gnome.org")
2549 (synopsis "Daemon to store passwords and encryption keys")
2550 (description
2551 "gnome-keyring is a program that keeps passwords and other secrets for
2552 users. It is run as a daemon in the session, similar to ssh-agent, and other
2553 applications locate it via an environment variable or D-Bus.
2554
2555 The program can manage several keyrings, each with its own master password,
2556 and there is also a session keyring which is never stored to disk, but
2557 forgotten when the session ends.")
2558 (license license:lgpl2.1+)))
2559
2560 (define-public evince
2561 (package
2562 (name "evince")
2563 (version "3.36.5")
2564 (source (origin
2565 (method url-fetch)
2566 (uri (string-append "mirror://gnome/sources/evince/"
2567 (version-major+minor version) "/"
2568 "evince-" version ".tar.xz"))
2569 (sha256
2570 (base32
2571 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2572 (build-system glib-or-gtk-build-system)
2573 (arguments
2574 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2575 #:phases
2576 (modify-phases %standard-phases
2577 (add-before 'install 'skip-gtk-update-icon-cache
2578 ;; Don't create 'icon-theme.cache'.
2579 (lambda _
2580 (substitute* "data/Makefile"
2581 (("gtk-update-icon-cache") "true"))
2582 #t)))))
2583 (inputs
2584 `(("libarchive" ,libarchive)
2585 ("libgxps" ,libgxps)
2586 ("libspectre" ,libspectre)
2587 ("djvulibre" ,djvulibre)
2588 ("ghostscript" ,ghostscript)
2589 ("poppler" ,poppler)
2590 ("libtiff" ,libtiff)
2591 ;; TODO:
2592 ;; Build libkpathsea as a shared library for DVI support.
2593 ;; ("libkpathsea" ,texlive-bin)
2594 ("gnome-desktop" ,gnome-desktop)
2595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2596 ("gspell" ,gspell)
2597 ("libgnome-keyring" ,libgnome-keyring)
2598 ("adwaita-icon-theme" ,adwaita-icon-theme)
2599 ("gdk-pixbuf" ,gdk-pixbuf)
2600 ("atk" ,atk)
2601 ("pango" ,pango)
2602 ("gtk+" ,gtk+)
2603 ("glib" ,glib)
2604 ("libxml2" ,libxml2)
2605 ("libsm" ,libsm)
2606 ("libice" ,libice)
2607 ("shared-mime-info" ,shared-mime-info)
2608 ("dconf" ,dconf)
2609 ("libcanberra" ,libcanberra)
2610 ("libsecret" ,libsecret)
2611
2612 ;; For tests.
2613 ("dogtail" ,python2-dogtail)))
2614 (native-inputs
2615 `(("itstool" ,itstool)
2616 ("intltool" ,intltool)
2617 ("glib" ,glib "bin")
2618 ("gobject-introspection" ,gobject-introspection)
2619 ("pkg-config" ,pkg-config)
2620 ("xmllint" ,libxml2)))
2621 (home-page "https://www.gnome.org/projects/evince/")
2622 (synopsis "GNOME's document viewer")
2623 (description
2624 "Evince is a document viewer for multiple document formats. It
2625 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2626 of Evince is to replace the multiple document viewers that exist
2627 on the GNOME Desktop with a single simple application.")
2628 (license license:gpl2+)))
2629
2630 (define-public gsettings-desktop-schemas
2631 (package
2632 (name "gsettings-desktop-schemas")
2633 (version "3.34.0")
2634 (source
2635 (origin
2636 (method url-fetch)
2637 (uri (string-append "mirror://gnome/sources/" name "/"
2638 (version-major+minor version) "/"
2639 name "-" version ".tar.xz"))
2640 (sha256
2641 (base32
2642 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2643 (build-system meson-build-system)
2644 (arguments
2645 '(#:phases (modify-phases %standard-phases
2646 (add-after 'unpack 'patch-schemas
2647 (lambda* (#:key inputs #:allow-other-keys)
2648 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2649 (substitute* (find-files "schemas"
2650 "\\.gschema\\.xml\\.in$")
2651 ;; Provide the correct file name of the default GNOME
2652 ;; background, 'adwaita-timed.xml'.
2653 (("@datadir@/backgrounds/gnome")
2654 (string-append theme "/share/backgrounds/gnome"))
2655 ;; Do not reference fonts, that may not exist.
2656 (("'Source Code Pro 10'") "'Monospace 11'"))
2657 #t))))))
2658 (inputs
2659 `(("glib" ,glib)
2660 ("gnome-backgrounds" ,gnome-backgrounds)))
2661 (native-inputs
2662 `(("intltool" ,intltool)
2663 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2664 ("gobject-introspection" ,gobject-introspection)
2665 ("pkg-config" ,pkg-config)))
2666 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2667 (synopsis
2668 "GNOME settings for various desktop components")
2669 (description
2670 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2671 for settings shared by various components of the GNOME desktop.")
2672 (license license:lgpl2.1+)))
2673
2674 (define-public python-liblarch
2675 (package
2676 (name "python-liblarch")
2677 (version "3.0.1")
2678 (source
2679 (origin
2680 (method git-fetch)
2681 (uri (git-reference
2682 (url "https://github.com/getting-things-gnome/liblarch")
2683 (commit (string-append "v" version))))
2684 (file-name (git-file-name name version))
2685 (sha256
2686 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2687 (build-system python-build-system)
2688 (arguments
2689 `(#:phases
2690 (modify-phases %standard-phases
2691 (add-before 'check 'start-xserver
2692 (lambda* (#:key inputs #:allow-other-keys)
2693 (system (format #f "~a/bin/Xvfb :1 &"
2694 (assoc-ref inputs "xorg-server")))
2695 (setenv "DISPLAY" ":1")
2696 #t)))))
2697 (native-inputs
2698 `(("xorg-server" ,xorg-server-for-tests)))
2699 (inputs
2700 `(("gtk+" ,gtk+)))
2701 (propagated-inputs
2702 `(("python-pygobject" ,python-pygobject)))
2703 (home-page "https://wiki.gnome.org/Projects/liblarch")
2704 (synopsis "Library to easily handle complex data structures")
2705 (description
2706 "Liblarch is a Python library built to easily handle data structures such
2707 as lists, trees and acyclic graphs. There's also a GTK binding that will
2708 allow you to use your data structure in a @code{Gtk.Treeview}.
2709
2710 Liblarch support multiple views of one data structure and complex filtering.
2711 That way, you have a clear separation between your data themselves (Model)
2712 and how they are displayed (View).")
2713 (license license:lgpl3+)))
2714
2715 (define-public gtg
2716 (package
2717 (name "gtg")
2718 (version "0.4")
2719 (source
2720 (origin
2721 (method git-fetch)
2722 (uri (git-reference
2723 (url "https://github.com/getting-things-gnome/gtg")
2724 (commit (string-append "v" version))))
2725 (file-name (git-file-name name version))
2726 (sha256
2727 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2728 (build-system meson-build-system)
2729 (arguments
2730 `(#:glib-or-gtk? #t
2731 #:phases
2732 (modify-phases %standard-phases
2733 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2734 (lambda* (#:key outputs #:allow-other-keys)
2735 (let ((prog (string-append (assoc-ref outputs "out")
2736 "/bin/gtg"))
2737 (pylib (string-append (assoc-ref outputs "out")
2738 "/lib/python"
2739 ,(version-major+minor
2740 (package-version python))
2741 "/site-packages")))
2742 (wrap-program prog
2743 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2744 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2745 #t))))))
2746 (native-inputs
2747 `(("desktop-file-utils" ,desktop-file-utils)
2748 ("gettext" ,gettext-minimal)
2749 ("glib:bin" ,glib "bin")
2750 ("gobject-introspection" ,gobject-introspection)
2751 ("gtk+:bin" ,gtk+ "bin")
2752 ("pkg-config" ,pkg-config)))
2753 (inputs
2754 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2755 ("gtk+" ,gtk+)
2756 ("python-dbus" ,python-dbus)
2757 ("python-liblarch" ,python-liblarch)
2758 ("python-pycairo" ,python-pycairo)
2759 ("python-pygobject" ,python-pygobject)
2760 ("python-pyxdg" ,python-pyxdg)))
2761 (home-page "https://wiki.gnome.org/Apps/GTG")
2762 (synopsis "Personal organizer for the GNOME desktop")
2763 (description
2764 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2765 organizer for the GNOME desktop environment inspired by the Getting Things
2766 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2767 and ease of use in mind so it can be used as more than just GTD software.
2768 GTG is intended to help you track everything you need to do and need to
2769 know, from small tasks to large projects.")
2770 (license license:gpl3+)))
2771
2772 (define-public icon-naming-utils
2773 (package
2774 (name "icon-naming-utils")
2775 (version "0.8.90")
2776 (source
2777 (origin
2778 (method url-fetch)
2779 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2780 version ".tar.bz2"))
2781 (sha256
2782 (base32
2783 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2784 (build-system gnu-build-system)
2785 (inputs
2786 `(("perl" ,perl)
2787 ("perl-xml-simple" ,perl-xml-simple)))
2788 (arguments
2789 '(#:phases
2790 (modify-phases %standard-phases
2791 (add-after 'install 'set-load-paths
2792 ;; Tell 'icon-name-mapping' where XML::Simple is.
2793 (lambda* (#:key outputs #:allow-other-keys)
2794 (let* ((out (assoc-ref outputs "out"))
2795 (prog (string-append out "/libexec/icon-name-mapping")))
2796 (wrap-program
2797 prog
2798 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2799 #t)))))
2800 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2801 (synopsis
2802 "Utility to implement the Freedesktop Icon Naming Specification")
2803 (description
2804 "To help with the transition to the Freedesktop Icon Naming
2805 Specification, the icon naming utility maps the icon names used by the
2806 GNOME and KDE desktops to the icon names proposed in the specification.")
2807 (license license:lgpl2.1+)))
2808
2809 (define-public gnome-icon-theme
2810 (package
2811 (name "gnome-icon-theme")
2812 (version "3.12.0")
2813 (source
2814 (origin
2815 (method url-fetch)
2816 (uri (string-append "mirror://gnome/sources/" name "/"
2817 (version-major+minor version) "/"
2818 name "-" version ".tar.xz"))
2819 (sha256
2820 (base32
2821 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2822 (build-system gnu-build-system)
2823 (arguments
2824 '(#:configure-flags
2825 ;; Don't create 'icon-theme.cache'.
2826 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2827 (true (string-append coreutils "/bin/true")))
2828 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2829 (native-inputs
2830 `(("icon-naming-utils" ,icon-naming-utils)
2831 ("intltool" ,intltool)
2832 ("pkg-config" ,pkg-config)))
2833 (home-page "https://wiki.gnome.org/Personalization")
2834 (synopsis "GNOME icon theme")
2835 (description "Icons for the GNOME desktop.")
2836 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2837
2838 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2839 (define-public adwaita-icon-theme
2840 (package (inherit gnome-icon-theme)
2841 (name "adwaita-icon-theme")
2842 (version "3.34.3")
2843 (source (origin
2844 (method url-fetch)
2845 (uri (string-append "mirror://gnome/sources/" name "/"
2846 (version-major+minor version) "/"
2847 name "-" version ".tar.xz"))
2848 (sha256
2849 (base32
2850 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2851 (native-inputs
2852 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2853
2854 (define-public tango-icon-theme
2855 (package
2856 (name "tango-icon-theme")
2857 (version "0.8.90")
2858 (source (origin
2859 (method url-fetch)
2860 (uri (string-append "http://tango.freedesktop.org/releases/"
2861 "tango-icon-theme-" version ".tar.bz2"))
2862 (sha256
2863 (base32
2864 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2865 (build-system gnu-build-system)
2866 (native-inputs
2867 `(("icon-naming-utils" ,icon-naming-utils)
2868 ("intltool" ,intltool)
2869 ("imagemagick" ,imagemagick)
2870 ("pkg-config" ,pkg-config)))
2871 (home-page "http://tango-project.org/")
2872 (synopsis "Tango icon theme")
2873 (description "This is an icon theme that follows the Tango visual
2874 guidelines.")
2875 (license license:public-domain)))
2876
2877 (define-public shared-mime-info
2878 (package
2879 (name "shared-mime-info")
2880 (version "1.15")
2881 (source (origin
2882 (method url-fetch)
2883 (uri (string-append
2884 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2885 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2886 ".tar.xz"))
2887 (sha256
2888 (base32
2889 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2890 (build-system gnu-build-system)
2891 (arguments
2892 ;; The build system appears not to be parallel-safe.
2893 '(#:parallel-build? #f))
2894 (inputs
2895 `(("glib" ,glib)
2896 ("libxml2" ,libxml2)))
2897 (native-inputs
2898 `(("gettext" ,gettext-minimal)
2899 ("itstool" ,itstool)
2900 ("pkg-config" ,pkg-config)))
2901 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2902 (synopsis "Database of common MIME types")
2903 (description
2904 "The shared-mime-info package contains the core database of common types
2905 and the update-mime-database command used to extend it. It requires glib2 to
2906 be installed for building the update command. Additionally, it uses intltool
2907 for translations, though this is only a dependency for the maintainers. This
2908 database is translated at Transifex.")
2909 (license license:gpl2+)))
2910
2911 (define-public system-config-printer
2912 (package
2913 (name "system-config-printer")
2914 (version "1.5.15")
2915 (source
2916 (origin
2917 (method url-fetch)
2918 (uri (string-append
2919 "https://github.com/OpenPrinting/system-config-printer/releases/"
2920 "download/v" version
2921 "/system-config-printer-" version ".tar.xz"))
2922 (sha256
2923 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2924 (build-system glib-or-gtk-build-system)
2925 (arguments
2926 `(#:imported-modules ((guix build python-build-system)
2927 ,@%glib-or-gtk-build-system-modules)
2928 #:phases
2929 (modify-phases %standard-phases
2930 (add-after 'unpack 'patch-Makefile.am
2931 (lambda _
2932 ;; The Makefile generates some scripts, so set a valid shebang
2933 (substitute* "Makefile.am"
2934 (("/bin/bash") (which "bash")))
2935 (delete-file "configure")
2936 #t))
2937 (add-after 'unpack 'patch-docbook-xml
2938 (lambda* (#:key inputs #:allow-other-keys)
2939 ;; Modify the man XML otherwise xmlto tries to access the network
2940 (substitute* "man/system-config-printer.xml"
2941 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2942 (string-append (assoc-ref inputs "docbook-xml")
2943 "/xml/dtd/docbook/")))
2944 #t))
2945 (add-after 'install 'wrap-for-python
2946 (@@ (guix build python-build-system) wrap))
2947 (add-after 'install 'wrap
2948 (lambda* (#:key outputs #:allow-other-keys)
2949 (let ((out (assoc-ref outputs "out"))
2950 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2951 (for-each
2952 (lambda (program)
2953 (wrap-program program
2954 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2955 (map (lambda (name)
2956 (string-append out "/bin/" name))
2957 '("system-config-printer"
2958 "system-config-printer-applet"
2959 "install-printerdriver"
2960 "scp-dbus-service"))))
2961 #t)))))
2962 (inputs
2963 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2964 ("gobject-introspection" ,gobject-introspection)
2965 ("python" ,python)
2966 ("cups" ,cups)
2967 ("gtk+" ,gtk+)
2968 ("python-dbus" ,python-dbus)
2969 ("python-pygobject" ,python-pygobject)
2970 ("python-pycups" ,python-pycups)
2971 ("python-requests" ,python-requests)
2972 ("python-pycairo" ,python-pycairo)
2973 ("libnotify" ,libnotify)
2974 ("packagekit" ,packagekit)))
2975 (native-inputs
2976 `(("pkg-config" ,pkg-config)
2977 ("desktop-file-utils" ,desktop-file-utils)
2978 ("glib" ,glib)
2979 ("autoconf" ,autoconf)
2980 ("automake" ,automake)
2981 ("intltool" ,intltool)
2982 ("xmlto" ,xmlto)
2983 ("docbook-xml" ,docbook-xml-4.1.2)
2984 ("docbook-xsl" ,docbook-xsl)
2985 ("libxml2" ,libxml2)))
2986 (home-page "https://github.com/zdohnal/system-config-printer")
2987 (synopsis "CUPS administration tool")
2988 (description
2989 "system-config-printer is a CUPS administration tool. It's written in
2990 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2991 configuring CUPS.")
2992 (license license:gpl2+)))
2993
2994 (define-public hicolor-icon-theme
2995 (package
2996 (name "hicolor-icon-theme")
2997 (version "0.17")
2998 (source
2999 (origin
3000 (method url-fetch)
3001 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3002 "hicolor-icon-theme-" version ".tar.xz"))
3003 (sha256
3004 (base32
3005 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3006 (build-system gnu-build-system)
3007 (arguments
3008 `(#:tests? #f)) ; no check target
3009 (home-page "https://icon-theme.freedesktop.org/releases/")
3010 (synopsis
3011 "Freedesktop icon theme")
3012 (description
3013 "Freedesktop icon theme.")
3014 (license license:gpl2)))
3015
3016 (define-public libnotify
3017 (package
3018 (name "libnotify")
3019 (version "0.7.9")
3020 (source
3021 (origin
3022 (method url-fetch)
3023 (uri (string-append "mirror://gnome/sources/" name "/"
3024 (version-major+minor version) "/"
3025 name "-" version ".tar.xz"))
3026 (sha256
3027 (base32
3028 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3029 (build-system meson-build-system)
3030 (arguments
3031 `(#:phases
3032 (modify-phases %standard-phases
3033 (add-after 'unpack 'fix-docbook
3034 (lambda* (#:key inputs #:allow-other-keys)
3035 ;; Don't attempt to download XSL schema.
3036 (substitute* "meson.build"
3037 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3038 /manpages/docbook.xsl")
3039 (string-append (assoc-ref inputs "docbook-xsl")
3040 "/xml/xsl/docbook-xsl-"
3041 ,(package-version docbook-xsl)
3042 "/manpages/docbook.xsl")))
3043 #t)))))
3044 (propagated-inputs
3045 `(;; In Requires of libnotify.pc.
3046 ("gdk-pixbuf" ,gdk-pixbuf)
3047 ("glib" ,glib)))
3048 (inputs
3049 `(("gtk+" ,gtk+)
3050 ("libpng" ,libpng)))
3051 (native-inputs
3052 `(("pkg-config" ,pkg-config)
3053 ("glib" ,glib "bin")
3054 ("gobject-introspection" ,gobject-introspection)
3055
3056 ;; For the documentation.
3057 ("gtk-doc" ,gtk-doc/stable)
3058 ("xsltproc" ,libxslt)
3059 ("docbook-xsl" ,docbook-xsl)))
3060 (home-page "https://developer-next.gnome.org/libnotify/")
3061 (synopsis
3062 "GNOME desktop notification library")
3063 (description
3064 "Libnotify is a library that sends desktop notifications to a
3065 notification daemon, as defined in the Desktop Notifications spec. These
3066 notifications can be used to inform the user about an event or display
3067 some form of information without getting in the user's way.")
3068 (license license:lgpl2.1+)))
3069
3070 (define-public libpeas
3071 (package
3072 (name "libpeas")
3073 (version "1.28.0")
3074 (source
3075 (origin
3076 (method url-fetch)
3077 (uri (string-append "mirror://gnome/sources/" name "/"
3078 (version-major+minor version) "/"
3079 name "-" version ".tar.xz"))
3080 (sha256
3081 (base32
3082 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3083 (build-system meson-build-system)
3084 (arguments
3085 '(#:phases
3086 (modify-phases %standard-phases
3087 (add-before 'check 'start-xserver
3088 (lambda* (#:key inputs #:allow-other-keys)
3089 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3090 (disp ":1"))
3091 (setenv "DISPLAY" disp)
3092 ;; Tests require a running X server.
3093 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3094 #t))))))
3095 (inputs
3096 `(("gtk+" ,gtk+)
3097 ("glade" ,glade3)
3098 ("python" ,python)
3099 ("python-pygobject" ,python-pygobject)))
3100 (native-inputs
3101 `(("pkg-config" ,pkg-config)
3102 ("gettext" ,gettext-minimal)
3103 ("glib:bin" ,glib "bin")
3104 ("gobject-introspection" ,gobject-introspection)
3105 ("xorg-server" ,xorg-server-for-tests)))
3106 (propagated-inputs
3107 ;; The .pc file "Requires" gobject-introspection.
3108 `(("gobject-introspection" ,gobject-introspection)))
3109 (home-page "https://wiki.gnome.org/Libpeas")
3110 (synopsis "GObject plugin system")
3111 (description
3112 "Libpeas is a gobject-based plugin engine, targeted at giving every
3113 application the chance to assume its own extensibility. It also has a set of
3114 features including, but not limited to: multiple extension points; on-demand
3115 (lazy) programming language support for C, Python and JS; simplicity of the
3116 API.")
3117 (license license:lgpl2.0+)))
3118
3119 (define-public gtkglext
3120 (package
3121 (name "gtkglext")
3122 (version "1.2.0")
3123 (source (origin
3124 (method url-fetch)
3125 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3126 version "/gtkglext-" version ".tar.gz"))
3127 (sha256
3128 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3129 (patches (search-patches
3130 "gtkglext-disable-disable-deprecated.patch"))))
3131 (build-system gnu-build-system)
3132 (arguments
3133 `(#:phases
3134 (modify-phases %standard-phases
3135 ;; Fix a collision between a local variable and a definition from
3136 ;; glibc's string.h.
3137 (add-after 'unpack 'fix-collision
3138 (lambda _
3139 (substitute* "gdk/gdkglshapes.c"
3140 ((" index") " triangle_index"))
3141 #t)))))
3142 (inputs `(("gtk+" ,gtk+-2)
3143 ("mesa" ,mesa)
3144 ("glu" ,glu)
3145 ("libx11" ,libx11)
3146 ("libxt" ,libxt)))
3147 (native-inputs `(("pkg-config" ,pkg-config)
3148 ("glib" ,glib "bin")))
3149 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3150 (home-page "https://projects.gnome.org/gtkglext")
3151 (synopsis "OpenGL extension to GTK+")
3152 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3153 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3154 API add-ons to make GTK+ widgets OpenGL-capable.")
3155 (license license:lgpl2.1+)))
3156
3157 (define-public glade3
3158 (package
3159 (name "glade")
3160 (version "3.36.0")
3161 (source (origin
3162 (method url-fetch)
3163 (uri (string-append "mirror://gnome/sources/" name "/"
3164 (version-major+minor version) "/"
3165 name "-" version ".tar.xz"))
3166 (sha256
3167 (base32
3168 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3169 (build-system glib-or-gtk-build-system)
3170 (arguments
3171 `(#:phases
3172 (modify-phases %standard-phases
3173 (add-before 'configure 'fix-docbook
3174 (lambda* (#:key inputs #:allow-other-keys)
3175 (substitute* "man/Makefile.in"
3176 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3177 (string-append (assoc-ref inputs "docbook-xsl")
3178 "/xml/xsl/docbook-xsl-"
3179 ,(package-version docbook-xsl)
3180 "/manpages/docbook.xsl")))
3181 #t))
3182 (add-before 'check 'pre-check
3183 (lambda _
3184 (setenv "HOME" "/tmp")
3185 ;; Tests require a running X server.
3186 (system "Xvfb :1 &")
3187 (setenv "DISPLAY" ":1")
3188 #t)))))
3189 (inputs
3190 `(("gtk+" ,gtk+)
3191 ("libxml2" ,libxml2)))
3192 (native-inputs
3193 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3194 ("intltool" ,intltool)
3195 ("itstool" ,itstool)
3196 ("libxslt" ,libxslt) ;for xsltproc
3197 ("docbook-xml" ,docbook-xml-4.2)
3198 ("docbook-xsl" ,docbook-xsl)
3199 ("python" ,python-2)
3200 ("pkg-config" ,pkg-config)
3201 ("xorg-server" ,xorg-server-for-tests)))
3202 (home-page "https://glade.gnome.org")
3203 (synopsis "GTK+ rapid application development tool")
3204 (description "Glade is a rapid application development (RAD) tool to
3205 enable quick & easy development of user interfaces for the GTK+ toolkit and
3206 the GNOME desktop environment.")
3207 (license license:lgpl2.0+)
3208 (native-search-paths (list (search-path-specification
3209 (variable "GLADE_CATALOG_SEARCH_PATH")
3210 (files '("share/glade/catalogs")))
3211 (search-path-specification
3212 (variable "GLADE_MODULE_SEARCH_PATH")
3213 (files '("lib/glade/modules")))))))
3214
3215 (define-public libcroco
3216 (package
3217 (name "libcroco")
3218 (version "0.6.13")
3219 (source (origin
3220 (method url-fetch)
3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz"))
3224 (sha256
3225 (base32
3226 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3227 (replacement libcroco/fixed)
3228 (build-system gnu-build-system)
3229 (native-inputs
3230 `(("pkg-config" ,pkg-config)))
3231 (inputs
3232 `(("glib" ,glib)
3233 ("libxml2" ,libxml2)
3234 ("zlib" ,zlib)))
3235 (home-page "https://github.com/GNOME/libcroco")
3236 (synopsis "CSS2 parsing and manipulation library")
3237 (description
3238 "Libcroco is a standalone CSS2 parsing and manipulation library.
3239 The parser provides a low level event driven SAC-like API and a CSS object
3240 model like API. Libcroco provides a CSS2 selection engine and an experimental
3241 XML/CSS rendering engine.")
3242
3243 ;; LGPLv2.1-only.
3244 (license license:lgpl2.1)))
3245
3246 (define libcroco/fixed
3247 (package
3248 (inherit libcroco)
3249 (name "libcroco")
3250 (version "0.6.13")
3251 (source (origin
3252 (method url-fetch)
3253 (uri (string-append "mirror://gnome/sources/" name "/"
3254 (version-major+minor version) "/"
3255 name "-" version ".tar.xz"))
3256 (sha256
3257 (base32
3258 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))
3259 (patches (search-patches "libcroco-CVE-2020-12825.patch"))))))
3260
3261 (define-public libgsf
3262 (package
3263 (name "libgsf")
3264 (version "1.14.47")
3265 (source (origin
3266 (method url-fetch)
3267 (uri (string-append "mirror://gnome/sources/" name "/"
3268 (version-major+minor version) "/"
3269 name "-" version ".tar.xz"))
3270 (sha256
3271 (base32
3272 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3273 (build-system gnu-build-system)
3274 (arguments
3275 '(#:configure-flags '("--disable-static")))
3276 (native-inputs
3277 `(("pkg-config" ,pkg-config)
3278 ("gettext" ,gettext-minimal)
3279
3280 ;; For tests.
3281 ("perl" ,perl)
3282 ("perl-xml-parser" ,perl-xml-parser)))
3283 (inputs
3284 `(("zlib" ,zlib)
3285 ("bzip2" ,bzip2)))
3286 (propagated-inputs
3287 `(("gdk-pixbuf" ,gdk-pixbuf)
3288 ("glib" ,glib)
3289 ("libxml2" ,libxml2)))
3290 (home-page "https://www.gnome.org/projects/libgsf")
3291 (synopsis "GNOME's Structured File Library")
3292 (description
3293 "Libgsf aims to provide an efficient extensible I/O abstraction for
3294 dealing with different structured file formats.")
3295
3296 ;; LGPLv2.1-only.
3297 (license license:lgpl2.1)))
3298
3299 (define-public librsvg
3300 (package
3301 (name "librsvg")
3302 (version "2.40.21")
3303 (source (origin
3304 (method url-fetch)
3305 (uri (string-append "mirror://gnome/sources/" name "/"
3306 (version-major+minor version) "/"
3307 name "-" version ".tar.xz"))
3308 (sha256
3309 (base32
3310 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3311 (build-system gnu-build-system)
3312 (arguments
3313 `(#:configure-flags
3314 (list "--disable-static"
3315 "--enable-vala") ; needed for e.g. gnome-mines
3316 #:phases
3317 (modify-phases %standard-phases
3318 (add-before 'configure 'pre-configure
3319 (lambda* (#:key inputs #:allow-other-keys)
3320 (substitute* "gdk-pixbuf-loader/Makefile.in"
3321 ;; By default the gdk-pixbuf loader is installed under
3322 ;; gdk-pixbuf's prefix. Work around that.
3323 (("gdk_pixbuf_moduledir = .*$")
3324 (string-append "gdk_pixbuf_moduledir = "
3325 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3326 "loaders\n"))
3327 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3328 (("gdk_pixbuf_cache_file = .*$")
3329 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3330 #t))
3331 (add-before 'check 'remove-failing-tests
3332 (lambda _
3333 (with-directory-excursion "tests/fixtures/reftests"
3334 (for-each delete-file
3335 '(;; This test fails on i686:
3336 "svg1.1/masking-path-04-b.svg"
3337 ;; This test fails on armhf:
3338 "svg1.1/masking-mask-01-b.svg"
3339 ;; This test fails on aarch64:
3340 "bugs/777834-empty-text-children.svg")))
3341 #t)))))
3342 (native-inputs
3343 `(("pkg-config" ,pkg-config)
3344 ("vala" ,vala)
3345 ("glib" ,glib "bin") ; glib-mkenums, etc.
3346 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3347 (inputs
3348 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3349 ;; this ancient version of librsvg.
3350 ("pango" ,pango-1.42)
3351 ("libcroco" ,libcroco)
3352 ("bzip2" ,bzip2)
3353 ("libgsf" ,libgsf)
3354 ("libxml2" ,libxml2)))
3355 (propagated-inputs
3356 ;; librsvg-2.0.pc refers to all of that.
3357 `(("cairo" ,cairo)
3358 ("gdk-pixbuf" ,gdk-pixbuf)
3359 ("glib" ,glib)))
3360 (home-page "https://wiki.gnome.org/LibRsvg")
3361 (synopsis "Render SVG files using Cairo")
3362 (description
3363 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3364 library.")
3365 (license license:lgpl2.0+)))
3366
3367 (define-public librsvg-next
3368 (package
3369 (name "librsvg")
3370 (version "2.50.3")
3371 (source (origin
3372 (method url-fetch)
3373 (uri (string-append "mirror://gnome/sources/librsvg/"
3374 (version-major+minor version) "/"
3375 "librsvg-" version ".tar.xz"))
3376 (sha256
3377 (base32
3378 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3379 (modules '((guix build utils)))
3380 (snippet
3381 '(begin (delete-file-recursively "vendor")
3382 #t))))
3383 (build-system cargo-build-system)
3384 (outputs '("out" "doc"))
3385 (arguments
3386 `(#:install-source? #f
3387 #:modules
3388 ((guix build cargo-build-system)
3389 (guix build utils)
3390 ((guix build gnu-build-system) #:prefix gnu:))
3391 #:cargo-inputs
3392 (("rust-bitflags" ,rust-bitflags-1)
3393 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3394 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3395 ("rust-cast" ,rust-cast-0.2)
3396 ("rust-cssparser" ,rust-cssparser-0.27)
3397 ("rust-data-url" ,rust-data-url-0.1)
3398 ("rust-encoding" ,rust-encoding-0.2)
3399 ("rust-float-cmp" ,rust-float-cmp-0.8)
3400 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3401 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3402 ("rust-gio" ,rust-gio-0.8)
3403 ("rust-gio-sys" ,rust-gio-sys-0.9)
3404 ("rust-glib" ,rust-glib-0.9)
3405 ("rust-glib-sys" ,rust-glib-sys-0.9)
3406 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3407 ("rust-itertools" ,rust-itertools-0.9)
3408 ("rust-language-tags" ,rust-language-tags-0.2)
3409 ("rust-libc" ,rust-libc-0.2)
3410 ("rust-locale-config" ,rust-locale-config-0.3)
3411 ("rust-markup5ever" ,rust-markup5ever-0.10)
3412 ("rust-nalgebra" ,rust-nalgebra-0.21)
3413 ("rust-num-traits" ,rust-num-traits-0.2)
3414 ("rust-once-cell" ,rust-once-cell-1)
3415 ("rust-pkg-config" ,rust-pkg-config-0.3)
3416 ("rust-pango" ,rust-pango-0.8)
3417 ("rust-pango-sys" ,rust-pango-sys-0.9)
3418 ("rust-pangocairo" ,rust-pangocairo-0.9)
3419 ("rust-rayon" ,rust-rayon-1)
3420 ("rust-rctree" ,rust-rctree-0.3)
3421 ("rust-rgb" ,rust-rgb-0.8)
3422 ("rust-regex" ,rust-regex-1)
3423 ("rust-selectors" ,rust-selectors-0.22)
3424 ("rust-string-cache" ,rust-string-cache-0.8)
3425 ("rust-tinyvec" ,rust-tinyvec-0.3)
3426 ("rust-url" ,rust-url-2)
3427 ("rust-xml5ever" ,rust-xml5ever-0.16))
3428 #:cargo-development-inputs
3429 (("rust-assert-cmd" ,rust-assert-cmd-1)
3430 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3431 ("rust-chrono" ,rust-chrono-0.4)
3432 ("rust-criterion" ,rust-criterion-0.3)
3433 ("rust-float-cmp" ,rust-float-cmp-0.8)
3434 ("rust-lopdf" ,rust-lopdf-0.26)
3435 ("rust-png" ,rust-png-0.16)
3436 ("rust-predicates" ,rust-predicates-1)
3437 ("rust-tempfile" ,rust-tempfile-3))
3438 #:phases
3439 (modify-phases %standard-phases
3440 (add-after 'unpack 'patch-docbook-xml
3441 (lambda* (#:key inputs #:allow-other-keys)
3442 (with-directory-excursion "doc"
3443 (substitute* "rsvg-docs.xml"
3444 (("http://www.oasis-open.org/docbook/xml/4.3/")
3445 (string-append (assoc-ref inputs "docbook-xml")
3446 "/xml/dtd/docbook/"))))
3447 #t))
3448 (add-after 'unpack 'prepare-for-build
3449 (lambda _
3450 ;; In lieu of #:make-flags
3451 (setenv "CC" ,(cc-for-target))
3452 ;; Something about the build environment resists building
3453 ;; successfully with the '--locked' flag.
3454 (substitute* '("Makefile.am" "Makefile.in")
3455 (("--locked") ""))
3456 #t))
3457 (add-before 'configure 'pre-configure
3458 (lambda _
3459 (substitute* "gdk-pixbuf-loader/Makefile.in"
3460 ;; By default the gdk-pixbuf loader is installed under
3461 ;; gdk-pixbuf's prefix. Work around that.
3462 (("gdk_pixbuf_moduledir = .*$")
3463 (string-append "gdk_pixbuf_moduledir = "
3464 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3465 "loaders\n"))
3466 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3467 (("gdk_pixbuf_cache_file = .*$")
3468 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3469 #t))
3470 (add-after 'configure 'gnu-configure
3471 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3472 ((assoc-ref gnu:%standard-phases 'configure)
3473 #:native-inputs native-inputs
3474 #:inputs inputs
3475 #:outputs outputs
3476 #:configure-flags
3477 (list "--disable-static"
3478 "--enable-vala"
3479 (string-append "--with-html-dir="
3480 (assoc-ref %outputs "doc")
3481 "/share/gtk-doc/html")))))
3482 (add-after 'configure 'dont-vendor-self
3483 (lambda* (#:key vendor-dir #:allow-other-keys)
3484 ;; Don't keep the whole tarball in the vendor directory
3485 (delete-file-recursively
3486 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3487 #t))
3488 (replace 'build
3489 (assoc-ref gnu:%standard-phases 'build))
3490 (add-before 'check 'ignore-failing-tests
3491 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3492 (lambda _
3493 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3494 (("fn background_color_option_invalid_color_yields_error" all)
3495 (string-append "#[ignore] " all))
3496 (("fn empty_input_yields_error" all)
3497 (string-append "#[ignore] " all))
3498 (("fn empty_svg_yields_error" all)
3499 (string-append "#[ignore] " all))
3500 (("fn env_source_data_epoch_empty" all)
3501 (string-append "#[ignore] " all))
3502 (("fn env_source_data_epoch_no_digits" all)
3503 (string-append "#[ignore] " all))
3504 (("fn env_source_data_epoch_trailing_garbage" all)
3505 (string-append "#[ignore] " all))
3506 (("fn export_id_option_error" all)
3507 (string-append "#[ignore] " all))
3508 (("fn huge_zoom_factor_yields_error" all)
3509 (string-append "#[ignore] " all))
3510 (("fn multiple_input_files_not_allowed_for_png_output" all)
3511 (string-append "#[ignore] " all))
3512 (("fn stylesheet_option_error" all)
3513 (string-append "#[ignore] " all)))
3514 #t))
3515 (replace 'check
3516 (lambda* args
3517 ((assoc-ref gnu:%standard-phases 'check)
3518 #:test-target "check")))
3519 (replace 'install
3520 (assoc-ref gnu:%standard-phases 'install)))))
3521 (native-inputs
3522 `(("docbook-xml" ,docbook-xml-4.3)
3523 ("glib" ,glib "bin")
3524 ("gobject-introspection" ,gobject-introspection)
3525 ("pkg-config" ,pkg-config)
3526 ("python" ,python-wrapper)
3527 ("ruby" ,ruby)
3528 ("vala" ,vala)))
3529 (inputs
3530 `(("bzip2" ,bzip2)
3531 ("fontconfig" ,fontconfig)
3532 ("freetype" ,freetype)
3533 ("harfbuzz" ,harfbuzz)
3534 ("libcroco" ,libcroco)
3535 ("libgsf" ,libgsf)
3536 ("libxml2" ,libxml2)
3537 ("pango" ,pango)))
3538 (propagated-inputs
3539 `(("cairo" ,cairo)
3540 ("gdk-pixbuf" ,gdk-pixbuf)
3541 ("glib" ,glib)))
3542 (synopsis "SVG rendering library")
3543 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3544 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3545 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3546 diagrams.")
3547 (home-page "https://wiki.gnome.org/LibRsvg")
3548 (license license:lgpl2.1+)))
3549
3550 (define-public libidl
3551 (package
3552 (name "libidl")
3553 (version "0.8.14")
3554 (source (origin
3555 (method url-fetch)
3556 (uri (string-append "mirror://gnome/sources/libIDL/"
3557 (version-major+minor version) "/"
3558 "libIDL-" version ".tar.bz2"))
3559 (sha256
3560 (base32
3561 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3562 (build-system gnu-build-system)
3563 (inputs `(("glib" ,glib)))
3564 (native-inputs
3565 `(("pkg-config" ,pkg-config)
3566 ("flex" ,flex)
3567 ("bison" ,bison)))
3568 (home-page "http://freecode.com/projects/libidl")
3569 (synopsis "Create trees of CORBA Interface Definition Language files")
3570 (description "Libidl is a library for creating trees of CORBA Interface
3571 Definition Language (idl) files, which is a specification for defining
3572 portable interfaces. libidl was initially written for orbit (the orb from the
3573 GNOME project, and the primary means of libidl distribution). However, the
3574 functionality was designed to be as reusable and portable as possible.")
3575 (properties `((upstream-name . "libIDL")))
3576 (license license:lgpl2.0+)))
3577
3578
3579 (define-public orbit2
3580 (package
3581 (name "orbit2")
3582 (version "2.14.19")
3583 (source (origin
3584 (method url-fetch)
3585 (uri (let ((upstream-name "ORBit2"))
3586 (string-append "mirror://gnome/sources/" upstream-name "/"
3587 (version-major+minor version) "/"
3588 upstream-name "-" version ".tar.bz2")))
3589 (sha256
3590 (base32
3591 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3592 (build-system gnu-build-system)
3593 (arguments
3594 `(;; The "timeout-server" test hangs when run in parallel.
3595 #:parallel-tests? #f
3596 #:configure-flags
3597 '(;; We don't need static libraries, plus they don't build reproducibly
3598 ;; (non-deterministic ordering of .o files in the archive.)
3599 "--disable-static"
3600
3601 ;; The programmer kindly gives us a hook to turn off deprecation
3602 ;; warnings ...
3603 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3604 ;; ... which they then completly ignore !!
3605 #:phases
3606 (modify-phases %standard-phases
3607 (add-before 'configure 'ignore-deprecations
3608 (lambda _
3609 (substitute* "linc2/src/Makefile.in"
3610 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3611 #t)))))
3612 (inputs `(("glib" ,glib)
3613 ("libidl" ,libidl)))
3614 (native-inputs
3615 `(("pkg-config" ,pkg-config)))
3616 (home-page "https://projects.gnome.org/orbit2/")
3617 (synopsis "CORBA 2.4-compliant Object Request Broker")
3618 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3619 featuring mature C, C++ and Python bindings.")
3620 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3621 ;; a version. SOME of the code files have licence notices for GPLv2+.
3622 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3623 (license license:gpl2+)
3624 (properties `((upstream-name . "ORBit2")))))
3625
3626
3627 (define-public libbonobo
3628 (package
3629 (name "libbonobo")
3630 (version "2.32.1")
3631 (source (origin
3632 (method url-fetch)
3633 (uri (string-append "mirror://gnome/sources/" name "/"
3634 (version-major+minor version)
3635 "/" name "-" version ".tar.bz2"))
3636 (sha256
3637 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3638 (patches (search-patches
3639 "libbonobo-activation-test-race.patch"))))
3640 (build-system gnu-build-system)
3641 (arguments
3642 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3643 `(#:configure-flags
3644 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3645 ;; ... which they then completly ignore !!
3646 #:phases
3647 (modify-phases %standard-phases
3648 (add-before 'configure 'ignore-deprecations
3649 (lambda _
3650 (substitute* "activation-server/Makefile.in"
3651 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3652 #t)))
3653
3654 ;; There's apparently a race condition between the server stub
3655 ;; generation and linking of the example under 'samples/echo' that can
3656 ;; lead do undefined references when building in parallel, as reported
3657 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3658 ;; Thus, disable parallel builds.
3659 #:parallel-build? #f))
3660 (inputs `(("popt" ,popt)
3661 ("libxml2" ,libxml2)))
3662 ;; The following are Required by the .pc file
3663 (propagated-inputs
3664 `(("glib" ,glib)
3665 ("orbit2" ,orbit2)))
3666 (native-inputs
3667 `(("intltool" ,intltool)
3668 ("pkg-config" ,pkg-config)
3669 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3670 ("flex" ,flex)
3671 ("bison" ,bison)))
3672 (home-page "https://developer.gnome.org/libbonobo/")
3673 (synopsis "Framework for creating reusable components for use in GNOME applications")
3674 (description "Bonobo is a framework for creating reusable components for
3675 use in GNOME applications, built on top of CORBA.")
3676 ;; Licence not explicitly stated. Source files contain no licence notices.
3677 ;; Tarball contains text of both GPLv2 and LGPLv2
3678 ;; GPLv2 covers both conditions
3679 (license license:gpl2+)))
3680
3681
3682 (define-public gconf
3683 (package
3684 (name "gconf")
3685 (version "3.2.6")
3686 (source (origin
3687 (method url-fetch)
3688 (uri
3689 (let ((upstream-name "GConf"))
3690 (string-append "mirror://gnome/sources/" upstream-name "/"
3691 (version-major+minor version) "/"
3692 upstream-name "-" version ".tar.xz")))
3693 (sha256
3694 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3695 (build-system gnu-build-system)
3696 (inputs `(("dbus-glib" ,dbus-glib)
3697 ("libxml2" ,libxml2)))
3698 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3699 ("orbit2" ,orbit2)))
3700 (native-inputs
3701 `(("intltool" ,intltool)
3702 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3703 ("pkg-config" ,pkg-config)))
3704 (home-page "https://projects.gnome.org/gconf/")
3705 (synopsis "Store application preferences")
3706 (description "Gconf is a system for storing application preferences. It
3707 is intended for user preferences; not arbitrary data storage.")
3708 (license license:lgpl2.0+)
3709 (properties '((upstream-name . "GConf")))))
3710
3711
3712 (define-public gnome-mime-data
3713 (package
3714 (name "gnome-mime-data")
3715 (version "2.18.0")
3716 (source (origin
3717 (method url-fetch)
3718 (uri (string-append "mirror://gnome/sources/" name "/"
3719 (version-major+minor version) "/"
3720 name "-" version ".tar.bz2"))
3721 (sha256
3722 (base32
3723 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3724 (build-system gnu-build-system)
3725 (native-inputs
3726 `(("perl" ,perl)
3727 ("intltool" ,intltool)))
3728 (arguments
3729 '(#:phases (modify-phases %standard-phases
3730 (add-after 'configure 'use-our-intltool
3731 (lambda _
3732 ;; Do not use the bundled intltool commands, which lack
3733 ;; the "dotless @INC" fixes of our 'intltool' package.
3734 (substitute* (find-files "." "^Makefile$")
3735 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3736 (string-append "INTLTOOL_" tool " = intltool-"
3737 (string-downcase tool) "\n")))
3738 #t)))))
3739 (home-page "https://www.gnome.org")
3740 (synopsis "Base MIME and Application database for GNOME")
3741 (description "GNOME Mime Data is a module which contains the base MIME
3742 and Application database for GNOME. The data stored by this module is
3743 designed to be accessed through the MIME functions in GnomeVFS.")
3744 (license license:gpl2+)))
3745
3746
3747 (define-public gnome-vfs
3748 (package
3749 (name "gnome-vfs")
3750 (version "2.24.4")
3751 (source (origin
3752 (method url-fetch)
3753 (uri (string-append "mirror://gnome/sources/" name "/"
3754 (version-major+minor version) "/"
3755 name "-" version ".tar.bz2"))
3756 (sha256
3757 (base32
3758 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3759 (build-system gnu-build-system)
3760 (arguments
3761 `(#:phases
3762 (modify-phases %standard-phases
3763 (add-before 'configure 'ignore-deprecations
3764 (lambda _
3765 (substitute* '("libgnomevfs/Makefile.in"
3766 "daemon/Makefile.in")
3767 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3768 #t))
3769 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3770 (lambda _
3771 (substitute* "test/test-async-cancel.c"
3772 (("EXIT_FAILURE") "77"))
3773 #t)))))
3774 (inputs `(("libxml2" ,libxml2)
3775 ("dbus-glib" ,dbus-glib)
3776 ("gconf" ,gconf)
3777 ("gnome-mime-data" ,gnome-mime-data)
3778 ("zlib" ,zlib)))
3779 (native-inputs
3780 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3781 ("intltool" ,intltool)
3782 ("pkg-config" ,pkg-config)))
3783 (home-page "https://developer.gnome.org/gnome-vfs/")
3784 (synopsis "Access files and folders in GNOME applications")
3785 (description
3786 "GnomeVFS is the core library used to access files and folders in GNOME
3787 applications. It provides a file system abstraction which allows applications
3788 to access local and remote files with a single consistent API.")
3789 (license license:lgpl2.0+)))
3790
3791
3792
3793 (define-public libgnome
3794 (package
3795 (name "libgnome")
3796 (version "2.32.1")
3797 (source (origin
3798 (method url-fetch)
3799 (uri (string-append "mirror://gnome/sources/" name "/"
3800 (version-major+minor version) "/"
3801 name "-" version ".tar.bz2"))
3802 (sha256
3803 (base32
3804 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3805 (patches (search-patches "libgnome-encoding.patch"))))
3806 (build-system gnu-build-system)
3807 (arguments
3808 `(#:phases
3809 (modify-phases %standard-phases
3810 (add-before 'configure 'enable-deprecated
3811 (lambda _
3812 (substitute* "libgnome/Makefile.in"
3813 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3814 #t)))))
3815 (inputs `(("libxml2" ,libxml2)))
3816 (native-inputs
3817 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3818 ("intltool" ,intltool)
3819 ("pkg-config" ,pkg-config)))
3820 ;; The following are listed as Required in the .pc file
3821 ;; (except for libcanberra -- which seems to be oversight on the part
3822 ;; of the upstream developers -- anything that links against libgnome,
3823 ;; must also link against libcanberra
3824 (propagated-inputs
3825 `(("libcanberra" ,libcanberra)
3826 ("libbonobo" ,libbonobo)
3827 ("gconf" ,gconf)
3828 ("gnome-vfs" ,gnome-vfs)
3829 ("popt" ,popt))) ;gnome-program.h includes popt.h
3830 (home-page "https://developer.gnome.org/libgnome/")
3831 (synopsis "Useful routines for building applications")
3832 (description "The libgnome library provides a number of useful routines
3833 for building modern applications, including session management, activation of
3834 files and URIs, and displaying help.")
3835 (license license:lgpl2.0+)))
3836
3837
3838 (define-public libart-lgpl
3839 (package
3840 (name "libart-lgpl")
3841 (version "2.3.21")
3842 (source (origin
3843 (method url-fetch)
3844 (uri (let ((upstream-name "libart_lgpl"))
3845 (string-append "mirror://gnome/sources/" upstream-name "/"
3846 (version-major+minor version) "/"
3847 upstream-name "-" version ".tar.bz2")))
3848 (sha256
3849 (base32
3850 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3851 (build-system gnu-build-system)
3852 (native-inputs
3853 `(("pkg-config" ,pkg-config)))
3854 (home-page "https://people.gnome.org/~mathieu/libart")
3855 (synopsis "2D drawing library")
3856 (description "Libart is a 2D drawing library intended as a
3857 high-quality vector-based 2D library with antialiasing and alpha composition.")
3858 (license license:lgpl2.0+)))
3859
3860
3861
3862 (define-public libgnomecanvas
3863 (package
3864 (name "libgnomecanvas")
3865 (version "2.30.3")
3866 (source (origin
3867 (method url-fetch)
3868 (uri (string-append "mirror://gnome/sources/" name "/"
3869 (version-major+minor version) "/"
3870 name "-" version ".tar.gz"))
3871 (sha256
3872 (base32
3873 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3874 (build-system gnu-build-system)
3875 ;; Mentioned as Required in the .pc file
3876 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3877 ("gtk+" ,gtk+-2)))
3878 (native-inputs
3879 `(("intltool" ,intltool)
3880 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3881 ("pkg-config" ,pkg-config)))
3882 (home-page "https://developer.gnome.org/libgnomecanvas/")
3883 (synopsis "Flexible widget for creating interactive structured graphics")
3884 (description "The GnomeCanvas widget provides a flexible widget for
3885 creating interactive structured graphics.")
3886 (license license:lgpl2.0+)))
3887
3888 (define-public libgnomecanvasmm
3889 (package
3890 (name "libgnomecanvasmm")
3891 (version "2.26.0")
3892 (source (origin
3893 (method url-fetch)
3894 (uri (string-append "mirror://gnome/sources/" name "/"
3895 (version-major+minor version) "/"
3896 name "-" version ".tar.bz2"))
3897 (sha256
3898 (base32
3899 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3900 (build-system gnu-build-system)
3901 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3902 (native-inputs
3903 `(("gtkmm-2" ,gtkmm-2)
3904 ("pkg-config" ,pkg-config)))
3905 (home-page "https://gtkmm.org")
3906 (synopsis "C++ bindings to the GNOME Canvas library")
3907 (description "C++ bindings to the GNOME Canvas library.")
3908 (license license:lgpl2.0+)))
3909
3910 (define-public libgnomeui
3911 (package
3912 (name "libgnomeui")
3913 (version "2.24.5")
3914 (source (origin
3915 (method url-fetch)
3916 (uri (string-append "mirror://gnome/sources/" name "/"
3917 (version-major+minor version) "/"
3918 name "-" version ".tar.bz2"))
3919 (patches (search-patches "libgnomeui-utf8.patch"))
3920 (sha256
3921 (base32
3922 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3923 (build-system gnu-build-system)
3924 ;; Mentioned as Required in the .pc file
3925 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3926 ("libgnome" ,libgnome)
3927 ("libgnomecanvas" ,libgnomecanvas)
3928 ("libgnome-keyring" ,libgnome-keyring)))
3929 (inputs `(("libjpeg" ,libjpeg-turbo)
3930 ("popt" ,popt)
3931 ("libbonobo" ,libbonobo)
3932 ("libxml2" ,libxml2)
3933 ("libglade" ,libglade)))
3934 (native-inputs
3935 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3936 ("intltool" ,intltool)
3937 ("pkg-config" ,pkg-config)))
3938 (home-page "https://developer.gnome.org/libgnomeui/")
3939 (synopsis "Additional widgets for applications")
3940 (description "The libgnomeui library provides additional widgets for
3941 applications. Many of the widgets from libgnomeui have already been
3942 ported to GTK+.")
3943 (license license:lgpl2.0+)))
3944
3945 (define-public libglade
3946 (package
3947 (name "libglade")
3948 (version "2.6.4")
3949 (source (origin
3950 (method url-fetch)
3951 (uri (string-append "mirror://gnome/sources/" name "/"
3952 (version-major+minor version) "/"
3953 name "-" version ".tar.bz2"))
3954 (sha256
3955 (base32
3956 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3957 (build-system gnu-build-system)
3958 (inputs
3959 `(("python" ,python))) ;; needed for the optional libglade-convert program
3960 (propagated-inputs
3961 `(("gtk+-2" ,gtk+-2)
3962 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3963 (native-inputs
3964 `(("pkg-config" ,pkg-config)))
3965 (home-page "https://developer.gnome.org/libglade")
3966 (synopsis "Load glade interfaces and access the glade built widgets")
3967 (description "Libglade is a library that provides interfaces for loading
3968 graphical interfaces described in glade files and for accessing the
3969 widgets built in the loading process.")
3970 (license license:gpl2+))) ; This is correct. GPL not LGPL
3971
3972 (define-public libgnomeprint
3973 ;; This library has been deprecated since 2006; see
3974 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3975 (package
3976 (name "libgnomeprint")
3977 (version "2.18.8")
3978 (source (origin
3979 (method url-fetch)
3980 (uri (string-append "mirror://gnome/sources/" name "/"
3981 (version-major+minor version) "/"
3982 name "-" version ".tar.bz2"))
3983 (sha256
3984 (base32
3985 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3986 (build-system gnu-build-system)
3987 (inputs
3988 `(("popt" ,popt)
3989 ("libart-lgpl" ,libart-lgpl)
3990 ("gtk+" ,gtk+-2)
3991 ("libxml2" ,libxml2)))
3992 (native-inputs
3993 `(("intltool" ,intltool)
3994 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3995 ("pkg-config" ,pkg-config)))
3996 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3997 (synopsis "Printing framework for GNOME")
3998 (description
3999 "GNOME-print was a printing framework for GNOME. It has been deprecated
4000 since ca. 2006, when GTK+ itself incorporated printing support.")
4001 (license license:lgpl2.0+)))
4002
4003
4004 (define-public libgnomeprintui
4005 ;; Deprecated; see libgnomeprint.
4006 (package
4007 (name "libgnomeprintui")
4008 (version "2.18.6")
4009 (source (origin
4010 (method url-fetch)
4011 (uri (string-append "mirror://gnome/sources/" name "/"
4012 (version-major+minor version) "/"
4013 name "-" version ".tar.bz2"))
4014 (sha256
4015 (base32
4016 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4017 (build-system gnu-build-system)
4018 ;; Mentioned as Required in the .pc file
4019 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4020 (inputs `(("gtk+" ,gtk+-2)
4021 ("glib" ,glib)
4022 ("gnome-icon-theme" ,gnome-icon-theme)
4023 ("libgnomecanvas" ,libgnomecanvas)
4024 ("libxml2" ,libxml2)))
4025 (native-inputs
4026 `(("intltool" ,intltool)
4027 ("pkg-config" ,pkg-config)))
4028 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4029 (synopsis "Printing framework for GNOME")
4030 (description (package-description libgnomeprint))
4031 (license license:lgpl2.0+)))
4032
4033 (define-public libbonoboui
4034 (package
4035 (name "libbonoboui")
4036 (version "2.24.5")
4037 (source (origin
4038 (method url-fetch)
4039 (uri (string-append "mirror://gnome/sources/" name "/"
4040 (version-major+minor version) "/"
4041 name "-" version ".tar.bz2"))
4042 (sha256
4043 (base32
4044 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4045 (build-system gnu-build-system)
4046 (arguments
4047 `(#:phases
4048 (modify-phases %standard-phases
4049 (add-before 'check 'start-xserver
4050 (lambda* (#:key inputs #:allow-other-keys)
4051 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4052 (disp ":1"))
4053
4054 (setenv "HOME" (getcwd))
4055 (setenv "DISPLAY" disp)
4056 ;; There must be a running X server and make check doesn't start one.
4057 ;; Therefore we must do it.
4058 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4059 ;; Mentioned as Required by the .pc file
4060 (propagated-inputs `(("libxml2" ,libxml2)))
4061 (inputs
4062 `(("popt" ,popt)
4063 ("pangox-compat" ,pangox-compat)
4064 ("libgnome" ,libgnome)
4065 ("libgnomecanvas" ,libgnomecanvas)
4066 ("libglade" ,libglade)))
4067 (native-inputs
4068 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4069 ("intltool" ,intltool)
4070 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4071 ("pkg-config" ,pkg-config)))
4072 (home-page "https://developer.gnome.org/libbonoboui/")
4073 (synopsis "Some user interface controls using Bonobo")
4074 (description "The Bonobo UI library provides a number of user interface
4075 controls using the Bonobo component framework.")
4076 (license license:lgpl2.0+)))
4077
4078 (define-public libwnck
4079 (package
4080 (name "libwnck")
4081 (version "3.32.0")
4082 (source (origin
4083 (method url-fetch)
4084 (uri (string-append "mirror://gnome/sources/" name "/"
4085 (version-major+minor version) "/"
4086 name "-" version ".tar.xz"))
4087 (sha256
4088 (base32
4089 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4090 (build-system meson-build-system)
4091 (native-inputs
4092 `(("pkg-config" ,pkg-config)
4093 ("glib" ,glib "bin") ; for glib-mkenums
4094 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4095 ("intltool" ,intltool)))
4096 (propagated-inputs
4097 `(("gtk+" ,gtk+)
4098 ("libxres" ,libxres)
4099 ("startup-notification" ,startup-notification)))
4100 (home-page "https://developer.gnome.org/libwnck/")
4101 (synopsis "Window Navigator Construction Kit")
4102 (description
4103 "Libwnck is the Window Navigator Construction Kit, a library for use in
4104 writing pagers, tasklists, and more generally applications that are dealing
4105 with window management. It tries hard to respect the Extended Window Manager
4106 Hints specification (EWMH).")
4107 (license license:lgpl2.0+)))
4108
4109 ;; stable version for gtk2, required by xfwm4.
4110 (define-public libwnck-2
4111 (package (inherit libwnck)
4112 (name "libwnck")
4113 (version "2.30.7")
4114 (source (origin
4115 (method url-fetch)
4116 (uri (string-append "mirror://gnome/sources/" name "/"
4117 (version-major+minor version) "/"
4118 name "-" version ".tar.xz"))
4119 (sha256
4120 (base32
4121 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4122 (build-system gnu-build-system)
4123 (native-inputs
4124 `(("pkg-config" ,pkg-config)
4125 ("intltool" ,intltool)))
4126 (propagated-inputs
4127 `(("gtk+" ,gtk+-2)
4128 ("libxres" ,libxres)
4129 ("startup-notification" ,startup-notification)))))
4130
4131 (define-public goffice
4132 (package
4133 (name "goffice")
4134 (version "0.10.49")
4135 (source (origin
4136 (method url-fetch)
4137 (uri (string-append "mirror://gnome/sources/goffice/"
4138 (version-major+minor version) "/"
4139 "goffice-" version ".tar.xz"))
4140 (sha256
4141 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4142 (build-system gnu-build-system)
4143 (outputs '("out"
4144 "doc")) ; 4.0 MiB of gtk-doc
4145 (arguments
4146 '(#:configure-flags (list (string-append "--with-html-dir="
4147 (assoc-ref %outputs "doc")
4148 "/share/gtk-doc/html"))))
4149 (inputs
4150 `(("gtk+" ,gtk+)
4151 ("libgsf" ,libgsf)
4152 ("librsvg" ,librsvg)
4153 ("libxslt" ,libxslt)
4154 ("libxml2" ,libxml2)))
4155 (native-inputs
4156 `(("intltool" ,intltool)
4157 ("glib" ,glib "bin")
4158 ("pkg-config" ,pkg-config)))
4159 (home-page "https://developer.gnome.org/goffice/")
4160 (synopsis "Document-centric objects and utilities")
4161 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4162 (license
4163 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4164 ;; Note: NOT LGPL
4165 (list license:gpl2 license:gpl3))))
4166
4167 (define-public goffice-0.8
4168 (package (inherit goffice)
4169 (version "0.8.17")
4170 (source (origin
4171 (method url-fetch)
4172 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4173 (version-major+minor version) "/"
4174 (package-name goffice) "-" version ".tar.xz"))
4175 (sha256
4176 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4177 (arguments
4178 `(#:phases
4179 (modify-phases %standard-phases
4180 (add-after 'unpack 'fix-pcre-check
4181 (lambda _
4182 ;; Only glib.h can be included directly. See
4183 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4184 (substitute* "configure"
4185 (("glib/gregex\\.h") "glib.h")) #t)))
4186
4187 ,@(package-arguments goffice)))
4188 (propagated-inputs
4189 ;; libgoffice-0.8.pc mentions libgsf-1
4190 `(("libgsf" ,libgsf)))
4191 (inputs
4192 `(("gtk" ,gtk+-2)
4193 ,@(alist-delete "gtk" (package-inputs goffice))))))
4194
4195 (define-public gnumeric
4196 (package
4197 (name "gnumeric")
4198 (version "1.12.49")
4199 (source (origin
4200 (method url-fetch)
4201 (uri (string-append "mirror://gnome/sources/gnumeric/"
4202 (version-major+minor version) "/"
4203 "gnumeric-" version ".tar.xz"))
4204 (sha256
4205 (base32
4206 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4207 (build-system glib-or-gtk-build-system)
4208 (arguments
4209 `(;; The gnumeric developers don't worry much about failing tests.
4210 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4211 #:tests? #f
4212 #:phases
4213 (modify-phases %standard-phases
4214 (add-before
4215 'configure 'pre-conf
4216 (lambda* (#:key outputs #:allow-other-keys)
4217 ;; Make install tries to write into the directory of goffice
4218 ;; I am informed that this only affects the possibility to embed a
4219 ;; spreadsheet inside an Abiword document. So presumably when we
4220 ;; package Abiword we'll have to refer it to this directory.
4221 (substitute* "configure"
4222 (("^GOFFICE_PLUGINS_DIR=.*")
4223 (string-append "GOFFICE_PLUGINS_DIR="
4224 (assoc-ref outputs "out")
4225 "/goffice/plugins"))))))))
4226 (inputs
4227 `(("glib" ,glib)
4228 ("gtk+" ,gtk+)
4229 ("goffice" ,goffice)
4230 ("libgsf" ,libgsf)
4231 ("librsvg" ,librsvg)
4232 ("libxml2" ,libxml2)
4233 ("libxslt" ,libxslt)
4234 ("python" ,python)
4235 ("python-pygobject" ,python-pygobject)
4236 ("zlib" ,zlib)))
4237 (native-inputs
4238 `(("bison" ,bison)
4239 ("docbook-xml" ,docbook-xml)
4240 ("intltool" ,intltool)
4241 ("itstool" ,itstool)
4242 ("glib:bin" ,glib "bin")
4243 ("pkg-config" ,pkg-config)))
4244 (home-page "http://www.gnumeric.org")
4245 (synopsis "Spreadsheet application")
4246 (description
4247 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4248 interoperable with other spreadsheet applications. It has a vast array of
4249 features beyond typical spreadsheet functionality, such as support for linear
4250 and non-linear solvers, statistical analysis, and telecommunication
4251 engineering.")
4252 (license
4253 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4254 (list license:gpl2 license:gpl3))))
4255
4256 (define-public drawing
4257 (package
4258 (name "drawing")
4259 (version "0.6.5")
4260 (source
4261 (origin
4262 (method git-fetch)
4263 (uri (git-reference
4264 (url "https://github.com/maoschanz/drawing")
4265 (commit version)))
4266 (file-name (git-file-name name version))
4267 (sha256
4268 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4269 (build-system meson-build-system)
4270 (arguments
4271 `(#:glib-or-gtk? #t
4272 #:phases
4273 (modify-phases %standard-phases
4274 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4275 (lambda* (#:key outputs #:allow-other-keys)
4276 (let ((prog (string-append (assoc-ref outputs "out")
4277 "/bin/drawing"))
4278 (pylib (string-append (assoc-ref outputs "out")
4279 "/lib/python"
4280 ,(version-major+minor
4281 (package-version python))
4282 "/site-packages")))
4283 (wrap-program prog
4284 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4285 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4286 #t))))))
4287 (native-inputs
4288 `(("desktop-file-utils" ,desktop-file-utils)
4289 ("gettext" ,gettext-minimal)
4290 ("glib:bin" ,glib "bin")
4291 ("gobject-introspection" ,gobject-introspection)
4292 ("gtk+:bin" ,gtk+ "bin")
4293 ("pkg-config" ,pkg-config)))
4294 (inputs
4295 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4296 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4297 ("gtk+" ,gtk+)
4298 ("pango" ,pango)
4299 ("python-pycairo" ,python-pycairo)
4300 ("python-pygobject" ,python-pygobject)))
4301 (home-page "https://maoschanz.github.io/drawing/")
4302 (synopsis "Basic image editor for GNOME")
4303 (description
4304 "Drawing is a basic image editor aiming at the GNOME desktop.")
4305 (license license:gpl3+)))
4306
4307 (define-public gnome-themes-standard
4308 (package
4309 (name "gnome-themes-standard")
4310 (version "3.22.3")
4311 (source
4312 (origin
4313 (method url-fetch)
4314 (uri (string-append "mirror://gnome/sources/" name "/"
4315 (version-major+minor version) "/" name "-"
4316 version ".tar.xz"))
4317 (sha256
4318 (base32
4319 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4320 (build-system gnu-build-system)
4321 (arguments
4322 '(#:configure-flags
4323 ;; Don't create 'icon-theme.cache'.
4324 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4325 (true (string-append coreutils "/bin/true")))
4326 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4327 (inputs
4328 `(("gtk+" ,gtk+)
4329 ("gtk+-2" ,gtk+-2)
4330 ("librsvg" ,librsvg)
4331 ("libxml2" ,libxml2)
4332 ("glib" ,glib)))
4333 (native-inputs
4334 `(("intltool" ,intltool)
4335 ("glib:bin" ,glib "bin")
4336 ("pkg-config" ,pkg-config)))
4337 (home-page "https://launchpad.net/gnome-themes-standard")
4338 (synopsis "Default GNOME 3 themes")
4339 (description
4340 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4341 (license license:lgpl2.1+)))
4342
4343 (define-public seahorse
4344 (package
4345 (name "seahorse")
4346 (version "3.36.2")
4347 (source
4348 (origin
4349 (method url-fetch)
4350 (uri (string-append "mirror://gnome/sources/" name "/"
4351 (version-major+minor version) "/" name "-"
4352 version ".tar.xz"))
4353 (sha256
4354 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4355 (build-system meson-build-system)
4356 (arguments
4357 '(#:glib-or-gtk? #t
4358 #:phases
4359 (modify-phases %standard-phases
4360 (add-after 'unpack 'skip-gtk-update-icon-cache
4361 ;; Don't create 'icon-theme.cache'.
4362 (lambda _
4363 (substitute* "build-aux/meson_post_install.py"
4364 (("gtk-update-icon-cache") "true"))
4365 #t)))))
4366 (inputs
4367 `(("gtk+" ,gtk+)
4368 ("gcr" ,gcr)
4369 ("gnupg" ,gnupg)
4370 ("gpgme" ,gpgme)
4371 ("openldap" ,openldap)
4372 ("openssh" ,openssh)
4373 ("avahi" ,avahi)
4374 ("libhandy" ,libhandy-0.0)
4375 ("libpwquality" ,libpwquality)
4376 ("libsecret" ,libsecret)
4377 ("libsoup" ,libsoup)))
4378 (native-inputs
4379 `(("gettext" ,gettext-minimal)
4380 ("glib:bin" ,glib "bin")
4381 ("itstool" ,itstool)
4382 ("pkg-config" ,pkg-config)
4383 ("vala" ,vala)
4384 ("xmllint" ,libxml2)))
4385 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4386 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4387 (description
4388 "Seahorse is a GNOME application for managing encryption keys and
4389 passwords in the GNOME keyring.")
4390 (license license:gpl2+)))
4391
4392 (define-public vala
4393 (package
4394 (name "vala")
4395 (version "0.46.5")
4396 (source (origin
4397 (method url-fetch)
4398 (uri (string-append "mirror://gnome/sources/" name "/"
4399 (version-major+minor version) "/"
4400 name "-" version ".tar.xz"))
4401 (sha256
4402 (base32
4403 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4404 (build-system gnu-build-system)
4405 (arguments
4406 '(#:phases
4407 (modify-phases %standard-phases
4408 (add-before 'check 'pre-check
4409 (lambda _
4410 (setenv "CC" "gcc")
4411 (substitute* "valadoc/tests/testrunner.sh"
4412 (("export PKG_CONFIG_PATH=" m)
4413 (string-append m "$PKG_CONFIG_PATH:")))
4414 ;; For missing '/etc/machine-id'.
4415 (setenv "DBUS_FATAL_WARNINGS" "0")
4416 #t)))))
4417 (native-inputs
4418 `(("pkg-config" ,pkg-config)
4419 ("flex" ,flex)
4420 ("bison" ,bison)
4421 ("xsltproc" ,libxslt)
4422 ("dbus" ,dbus) ; for dbus tests
4423 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4424 (inputs
4425 `(("graphviz" ,graphviz)))
4426 (propagated-inputs
4427 `(("glib" ,glib))) ; required by libvala-0.40.pc
4428 (home-page "https://wiki.gnome.org/Projects/Vala/")
4429 (synopsis "Compiler for the GObject type system")
4430 (description
4431 "Vala is a programming language that aims to bring modern programming
4432 language features to GNOME developers without imposing any additional runtime
4433 requirements and without using a different ABI compared to applications and
4434 libraries written in C.")
4435 (license license:lgpl2.1+)))
4436
4437 (define-public vala-0.50
4438 (package
4439 (inherit vala)
4440 (version "0.50.2")
4441 (source (origin
4442 (method url-fetch)
4443 (uri (string-append "mirror://gnome/sources/vala/"
4444 (version-major+minor version) "/"
4445 "vala-" version ".tar.xz"))
4446 (sha256
4447 (base32
4448 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4449
4450 (define-public vte
4451 (package
4452 (name "vte")
4453 (version "0.60.3")
4454 (source (origin
4455 (method url-fetch)
4456 (uri (string-append "mirror://gnome/sources/vte/"
4457 (version-major+minor version) "/"
4458 "vte-" version ".tar.xz"))
4459 (sha256
4460 (base32
4461 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4462 (build-system meson-build-system)
4463 (arguments
4464 `(#:configure-flags
4465 '("-Dvapi=true"
4466 "-D_systemd=false")))
4467 (native-inputs
4468 `(("pkg-config" ,pkg-config)
4469 ("gettext" ,gettext-minimal)
4470 ("vala" ,vala)
4471 ("gobject-introspection" ,gobject-introspection)
4472 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4473 ("gperf" ,gperf)
4474 ("xmllint" ,libxml2)))
4475 (propagated-inputs
4476 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4477 ("gnutls" ,gnutls) ; ditto
4478 ("pcre2" ,pcre2))) ; ditto
4479 (home-page "https://www.gnome.org/")
4480 (synopsis "Virtual Terminal Emulator")
4481 (description
4482 "VTE is a library (libvte) implementing a terminal emulator widget for
4483 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4484 gnome-terminal, but can also be used to embed a console/terminal in games,
4485 editors, IDEs, etc.")
4486 (license license:lgpl2.1+)))
4487
4488 (define-public vte-ng
4489 (package
4490 (inherit vte)
4491 (name "vte-ng")
4492 (version "0.58.2.a")
4493 (home-page "https://github.com/thestinger/vte-ng")
4494 (source (origin
4495 (method git-fetch)
4496 (uri (git-reference (url home-page) (commit version)))
4497 (file-name (git-file-name name version))
4498 (sha256
4499 (base32
4500 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4501 (build-system meson-build-system)
4502 (native-inputs
4503 `(("gtk-doc" ,gtk-doc/stable)
4504 ,@(package-native-inputs vte)))
4505 (arguments
4506 `(#:configure-flags '("-Ddocs=true")))
4507 (synopsis "Enhanced VTE terminal widget")
4508 (description
4509 "VTE is a library (libvte) implementing a terminal emulator widget for
4510 GTK+, this fork provides additional functions exposed for keyboard text
4511 selection and URL hints.")))
4512
4513 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4514 (define-public vte/gtk+-2
4515 (package (inherit vte)
4516 (name "vte")
4517 (version "0.28.2")
4518 (source (origin
4519 (method url-fetch)
4520 (uri (string-append "mirror://gnome/sources/" name "/"
4521 (version-major+minor version) "/"
4522 name "-" version ".tar.xz"))
4523 (sha256
4524 (base32
4525 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4526 (patches (search-patches
4527 "vte-CVE-2012-2738-pt1.patch"
4528 "vte-CVE-2012-2738-pt2.patch"))))
4529 (build-system gnu-build-system)
4530 (arguments
4531 '(#:configure-flags '("--disable-python")))
4532 (native-inputs
4533 `(("pkg-config" ,pkg-config)
4534 ("intltool" ,intltool)
4535 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4536 (propagated-inputs
4537 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4538 ("ncurses" ,ncurses))))) ; required by libvte.la
4539
4540 (define-public vinagre
4541 (package
4542 (name "vinagre")
4543 (version "3.22.0")
4544 (source (origin
4545 (method url-fetch)
4546 (uri (string-append "mirror://gnome/sources/" name "/"
4547 (version-major+minor version) "/"
4548 name "-" version ".tar.xz"))
4549 (patches (search-patches "vinagre-newer-freerdp.patch"
4550 "vinagre-newer-rdp-parameters.patch"))
4551 (sha256
4552 (base32
4553 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4554 (build-system glib-or-gtk-build-system)
4555 (arguments
4556 ;; Disable -Werror and such, to avoid build failures on compilation
4557 ;; warnings.
4558 '(#:configure-flags '("--enable-compile-warnings=minimum")
4559 #:phases
4560 (modify-phases %standard-phases
4561 (add-before 'install 'skip-gtk-update-icon-cache
4562 (lambda _
4563 ;; Don't create 'icon-theme.cache'
4564 (substitute* (find-files "." "^Makefile$")
4565 (("gtk-update-icon-cache") (which "true")))
4566 #t))
4567 (add-after 'unpack 'patch-configure
4568 (lambda _
4569 (substitute* "configure"
4570 (("freerdp") "freerdp2"))
4571 #t)))))
4572 (native-inputs
4573 `(("pkg-config" ,pkg-config)
4574 ("intltool" ,intltool)
4575 ("itstool" ,itstool)
4576 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4577 (inputs
4578 `(("libxml2" ,libxml2)
4579 ("gtk-vnc" ,gtk-vnc)
4580 ("gnome-keyring" ,gnome-keyring)
4581 ("libsecret" ,libsecret)
4582 ("freerdp" ,freerdp)
4583 ("spice" ,spice)
4584 ("spice-gtk" ,spice-gtk)
4585 ("telepathy-glib" ,telepathy-glib)
4586 ("vte" ,vte)))
4587 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4588 (synopsis "Remote desktop viewer for GNOME")
4589 (description "Vinagre is a remote display client supporting the VNC, SPICE
4590 and RDP protocols.")
4591 (license license:gpl3+)))
4592
4593 (define-public dconf
4594 (package
4595 (name "dconf")
4596 (version "0.36.0")
4597 (source (origin
4598 (method url-fetch)
4599 (uri (string-append
4600 "mirror://gnome/sources/" name "/"
4601 (version-major+minor version) "/"
4602 name "-" version ".tar.xz"))
4603 (sha256
4604 (base32
4605 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4606 (build-system meson-build-system)
4607 (propagated-inputs
4608 ;; In Requires of dconf.pc.
4609 `(("glib" ,glib)))
4610 (inputs
4611 `(("gtk+" ,gtk+)
4612 ("dbus" ,dbus)))
4613 (native-inputs
4614 `(("bash-completion" ,bash-completion)
4615 ("libxslt" ,libxslt) ;for xsltproc
4616 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4617 ("docbook-xml" ,docbook-xml-4.2)
4618 ("docbook-xsl" ,docbook-xsl)
4619 ("glib:bin" ,glib "bin")
4620 ("gtk-doc" ,gtk-doc/stable)
4621 ("pkg-config" ,pkg-config)
4622 ("vala" ,vala)))
4623 (arguments
4624 `(#:glib-or-gtk? #t
4625 #:configure-flags '("-Denable-gtk-doc=true")
4626 #:phases (modify-phases %standard-phases
4627 (add-after 'unpack 'increase-test-timeout
4628 (lambda _
4629 ;; On big-memory systems, the engine test may take
4630 ;; much longer than the default of 30 seconds.
4631 (substitute* "tests/meson.build"
4632 (("test\\(unit_test\\[0\\], exe" all)
4633 (string-append all ", timeout : 90")))
4634 #t)))))
4635 (home-page "https://developer.gnome.org/dconf/")
4636 (synopsis "Low-level GNOME configuration system")
4637 (description "Dconf is a low-level configuration system. Its main purpose
4638 is to provide a backend to GSettings on platforms that don't already have
4639 configuration storage systems.")
4640 (license license:lgpl2.1+)))
4641
4642 (define-public json-glib
4643 (package
4644 (name "json-glib")
4645 (version "1.4.4")
4646 (source (origin
4647 (method url-fetch)
4648 (uri (string-append "mirror://gnome/sources/" name "/"
4649 (version-major+minor version) "/"
4650 name "-" version ".tar.xz"))
4651 (sha256
4652 (base32
4653 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4654 (build-system meson-build-system)
4655 (native-inputs
4656 `(("gettext" ,gettext-minimal)
4657 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4658 ("gobject-introspection" ,gobject-introspection)
4659 ("pkg-config" ,pkg-config)))
4660 (propagated-inputs
4661 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4662 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4663 (synopsis "Compiler for the GObject type system")
4664 (description
4665 "JSON-GLib is a C library based on GLib providing serialization and
4666 deserialization support for the JavaScript Object Notation (JSON) format
4667 described by RFC 4627. It provides parser and generator GObject classes and
4668 various wrappers for the complex data types employed by JSON, such as arrays
4669 and objects.")
4670 (license license:lgpl2.1+)))
4671
4672 (define-public libxklavier
4673 (package
4674 (name "libxklavier")
4675 (version "5.4")
4676 (source (origin
4677 ;; Note: There's no tarball at ftp.gnome.org for this version.
4678 (method git-fetch)
4679 (uri (git-reference
4680 (url "https://anongit.freedesktop.org/git/libxklavier")
4681 (commit (string-append "libxklavier-" version))))
4682 (sha256
4683 (base32
4684 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4685 (file-name (git-file-name name version))))
4686 (build-system gnu-build-system)
4687 (arguments
4688 '(#:configure-flags
4689 (list (string-append "--with-xkb-base="
4690 (assoc-ref %build-inputs "xkeyboard-config")
4691 "/share/X11/xkb")
4692 "--disable-xmodmap-support")))
4693 (native-inputs
4694 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4695 ("gobject-introspection" ,gobject-introspection)
4696 ("pkg-config" ,pkg-config)
4697 ("gtk-doc" ,gtk-doc/stable)
4698 ("intltool" ,intltool)
4699 ("which" ,which)
4700 ("autoconf" ,autoconf)
4701 ("automake" ,automake)
4702 ("libtool" ,libtool)))
4703 (propagated-inputs
4704 ;; Required by libxklavier.pc.
4705 `(("glib" ,glib)
4706 ("libxml2" ,libxml2)))
4707 (inputs
4708 `(("iso-codes" ,iso-codes)
4709 ("libxi" ,libxi)
4710 ("libxkbfile" ,libxkbfile)
4711 ("xkbcomp" ,xkbcomp)
4712 ("xkeyboard-config" ,xkeyboard-config)))
4713 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4714 (synopsis "High-level API for X Keyboard Extension")
4715 (description
4716 "LibXklavier is a library providing high-level API for X Keyboard
4717 Extension known as XKB. This library is intended to support XFree86 and other
4718 commercial X servers. It is useful for creating XKB-related software (layout
4719 indicators etc).")
4720 (license license:lgpl2.0+)))
4721
4722 (define-public python2-rsvg
4723 ;; XXX: This is actually a subset of gnome-python-desktop.
4724 (package
4725 (name "python2-rsvg")
4726 (version "2.32.0")
4727 (source
4728 (origin
4729 (method url-fetch)
4730 (uri (string-append
4731 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4732 version ".tar.bz2"))
4733 (sha256
4734 (base32
4735 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4736 (build-system gnu-build-system)
4737 (native-inputs
4738 `(("pkg-config" ,pkg-config)))
4739 (inputs
4740 `(("python" ,python-2)
4741 ("python2-pygtk" ,python2-pygtk)
4742 ("librsvg" ,librsvg)))
4743 (home-page "https://www.gnome.org")
4744 (synopsis "Python bindings to librsvg")
4745 (description
4746 "This package provides Python bindings to librsvg, the SVG rendering
4747 library.")
4748
4749 ;; This is the license of the rsvg bindings. The license of each module
4750 ;; of gnome-python-desktop is given in 'COPYING'.
4751 (license license:lgpl2.1+)))
4752
4753 (define-public glib-networking
4754 (package
4755 (name "glib-networking")
4756 (version "2.62.2")
4757 (source (origin
4758 (method url-fetch)
4759 (uri (string-append "mirror://gnome/sources/glib-networking/"
4760 (version-major+minor version) "/"
4761 "glib-networking-" version ".tar.xz"))
4762 (sha256
4763 (base32
4764 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4765 (build-system meson-build-system)
4766 (arguments
4767 `(#:configure-flags '("-Dlibproxy_support=false")))
4768 (native-inputs
4769 `(("pkg-config" ,pkg-config)
4770 ("intltool" ,intltool)))
4771 (inputs
4772 `(("glib" ,glib)
4773 ("gnutls" ,gnutls)
4774 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4775 (home-page "https://www.gnome.org")
4776 (synopsis "Network-related GIO modules")
4777 (description
4778 "This package contains various network related extensions for the GIO
4779 library.")
4780 (license license:lgpl2.0+)))
4781
4782 (define-public rest
4783 (package
4784 (name "rest")
4785 (version "0.8.1")
4786 (source (origin
4787 (method url-fetch)
4788 (uri (string-append "mirror://gnome/sources/rest/"
4789 (version-major+minor version) "/"
4790 name "-" version ".tar.xz"))
4791 (sha256
4792 (base32
4793 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4794 (build-system gnu-build-system)
4795 (arguments
4796 '(#:tests? #f ; tests require internet connection
4797 #:configure-flags
4798 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4799 (native-inputs
4800 `(("glib-mkenums" ,glib "bin")
4801 ("gobject-introspection" ,gobject-introspection)
4802 ("pkg-config" ,pkg-config)))
4803 (propagated-inputs
4804 ;; rest-0.7.pc refers to all these.
4805 `(("glib" ,glib)
4806 ("libsoup" ,libsoup)
4807 ("libxml2" ,libxml2)))
4808 (home-page "https://www.gtk.org/")
4809 (synopsis "RESTful web api query library")
4810 (description
4811 "This library was designed to make it easier to access web services that
4812 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4813 libxml to ease remote use of the RESTful API.")
4814 (license license:lgpl2.1+)))
4815
4816 (define-public libsoup
4817 (package
4818 (name "libsoup")
4819 (version "2.72.0")
4820 (source (origin
4821 (method url-fetch)
4822 (uri (string-append "mirror://gnome/sources/libsoup/"
4823 (version-major+minor version) "/"
4824 "libsoup-" version ".tar.xz"))
4825 (sha256
4826 (base32
4827 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4828 (build-system meson-build-system)
4829 (outputs '("out" "doc"))
4830 (arguments
4831 `(#:modules ((guix build utils)
4832 (guix build meson-build-system)
4833 (ice-9 popen))
4834
4835 #:configure-flags '("-Dgtk_doc=true")
4836 #:phases
4837 (modify-phases %standard-phases
4838 (add-after 'unpack 'patch-docbook-xml
4839 (lambda* (#:key inputs #:allow-other-keys)
4840 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4841 "/xml/dtd/docbook")))
4842 (substitute* (find-files "docs/reference")
4843 (("http://.*/docbookx\\.dtd")
4844 (string-append xmldoc "/docbookx.dtd")))
4845 #t)))
4846 (add-after 'unpack 'adjust-tests
4847 (lambda _
4848 ;; This test fails due to missing /etc/nsswitch.conf
4849 ;; in the build environment.
4850 (substitute* "tests/socket-test.c"
4851 ((".*/sockets/unconnected.*") ""))
4852
4853 ;; These fail because "subdomain.localhost" does not resolve in
4854 ;; the build environment.
4855 (substitute* "tests/hsts-test.c"
4856 ((".*/hsts/basic.*") "")
4857 ((".*/hsts/subdomains.*") "")
4858 ((".*/hsts/superdomain.*") "")
4859 ((".*/hsts/utf8-address.*") ""))
4860 (substitute* "tests/hsts-db-test.c"
4861 ((".*/hsts-db/subdomains.*") ""))
4862
4863 ;; Generate a self-signed certificate that has "localhost" as its
4864 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4865 ;; 3.5.12, tests such as "ssl-tests" fail:
4866 ;;
4867 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4868 ;;
4869 ;; 'certtool' is interactive so we have to pipe it the answers.
4870 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4871 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4872 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4873 (for-each (lambda (line)
4874 (display line pipe)
4875 (newline pipe))
4876 '("" ;Common name
4877 "" ;UID
4878 "Guix" ;Organizational unit name
4879 "GNU" ;Organization name
4880 "" ;Locality name
4881 "" ;State or province
4882 "" ;Country
4883 "" ;subject's domain component (DC)
4884 "" ;E-mail
4885 "" ;serial number
4886 "-1" ;expiration time
4887 "N" ;belong to authority?
4888 "N" ;web client certificate?
4889 "N" ;IPsec IKE?
4890 "Y" ;web server certificate?
4891 "localhost" ;dnsName of subject
4892 "" ;dnsName of subject (end)
4893 "" ;URI of subject
4894 "127.0.0.1" ;IP address of subject
4895 "" ;signing?
4896 "" ;encryption (RSA)?
4897 "" ;data encryption?
4898 "" ;sign OCSP requests?
4899 "" ;sign code?
4900 "" ;time stamping?
4901 "" ;email protection?
4902 "" ;URI of the CRL distribution point
4903 "y" ;above info OK?
4904 ))
4905 (close-pipe pipe))
4906 #t))
4907 (add-after 'install 'move-doc
4908 (lambda* (#:key outputs #:allow-other-keys)
4909 (let ((out (assoc-ref outputs "out"))
4910 (doc (assoc-ref outputs "doc")))
4911 (mkdir-p (string-append doc "/share"))
4912 (copy-recursively (string-append out "/share/gtk-doc")
4913 (string-append doc "/share/gtk-doc"))
4914 (delete-file-recursively (string-append out "/share/gtk-doc"))
4915 #t))))))
4916 (native-inputs
4917 `(("docbook-xml" ,docbook-xml-4.1.2)
4918 ("glib:bin" ,glib "bin") ; for glib-mkenums
4919 ("gobject-introspection" ,gobject-introspection)
4920 ("gtk-doc" ,gtk-doc/stable)
4921 ("intltool" ,intltool)
4922 ("pkg-config" ,pkg-config)
4923 ("python" ,python-wrapper)
4924 ("vala" ,vala)
4925 ("php" ,php)
4926 ("curl" ,curl)
4927 ("gnutls" ,gnutls) ;for 'certtool'
4928 ("httpd" ,httpd)))
4929 (propagated-inputs
4930 ;; libsoup-2.4.pc refers to all these.
4931 `(("brotli" ,google-brotli)
4932 ("glib" ,glib)
4933 ("libpsl" ,libpsl)
4934 ("libxml2" ,libxml2)
4935 ("sqlite" ,sqlite)
4936 ("zlib" ,zlib)))
4937 (inputs
4938 `(("glib-networking" ,glib-networking)
4939 ("mit-krb5" ,mit-krb5)))
4940 (home-page "https://live.gnome.org/LibSoup/")
4941 (synopsis "GLib-based HTTP Library")
4942 (description
4943 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4944 and the GLib main loop, to integrate well with GNOME applications.")
4945 (license license:lgpl2.0+)))
4946
4947
4948 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4949 (define-public libsoup-minimal
4950 (package/inherit libsoup
4951 (name "libsoup-minimal")
4952 (outputs (delete "doc" (package-outputs libsoup)))
4953 (arguments
4954 (substitute-keyword-arguments (package-arguments libsoup)
4955 ((#:configure-flags configure-flags)
4956 `(delete "-Dgtk_doc=true" ,configure-flags))
4957 ((#:phases phases)
4958 `(modify-phases ,phases
4959 (delete 'move-doc)))))
4960 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4961
4962 (define-public libsecret
4963 (package
4964 (name "libsecret")
4965 (version "0.20.4")
4966 (source (origin
4967 (method url-fetch)
4968 (uri (string-append
4969 "mirror://gnome/sources/libsecret/"
4970 (version-major+minor version) "/"
4971 "libsecret-" version ".tar.xz"))
4972 (sha256
4973 (base32
4974 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4975 (build-system gnu-build-system)
4976 (outputs '("out" "doc"))
4977 (arguments
4978 `(#:tests? #f ; FIXME: Testing hangs.
4979 #:configure-flags
4980 (list (string-append "--with-html-dir="
4981 (assoc-ref %outputs "doc")
4982 "/share/gtk-doc/html"))))
4983 (native-inputs
4984 `(("gettext" ,gettext-minimal)
4985 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4986 ("gobject-introspection" ,gobject-introspection)
4987 ("pkg-config" ,pkg-config)
4988 ("vala" ,vala)
4989 ("xsltproc" ,libxslt)))
4990 ;; These are needed for the tests.
4991 ;; FIXME: Add gjs once available.
4992 ;("dbus" ,dbus)
4993 ;("python2" ,python-2)
4994 ;("python2-dbus" ,python2-dbus)
4995 ;("python2-pygobject" ,python2-pygobject)
4996 ;("python2-pygobject-2" ,python2-pygobject-2)))
4997 (propagated-inputs
4998 `(("glib" ,glib))) ; required by libsecret-1.pc
4999 (inputs
5000 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5001 ;; doesn't seem to affect the build result.
5002 `(("docbook-xsl" ,docbook-xsl)
5003 ("libgcrypt" ,libgcrypt)
5004 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5005 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5006 (synopsis "GObject bindings for \"Secret Service\" API")
5007 (description
5008 "Libsecret is a GObject based library for storing and retrieving passwords
5009 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5010 (license license:lgpl2.1+)))
5011
5012 (define-public five-or-more
5013 (package
5014 (name "five-or-more")
5015 (version "3.32.2")
5016 (source
5017 (origin
5018 (method url-fetch)
5019 (uri (string-append "mirror://gnome/sources/five-or-more/"
5020 (version-major+minor version) "/"
5021 "five-or-more-" version ".tar.xz"))
5022 (sha256
5023 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5024 (build-system meson-build-system)
5025 (arguments
5026 '(#:glib-or-gtk? #t
5027 #:phases
5028 (modify-phases %standard-phases
5029 (add-after 'unpack 'skip-gtk-update-icon-cache
5030 (lambda _
5031 (substitute* "meson_post_install.py"
5032 (("gtk-update-icon-cache") (which "true")))
5033 #t)))))
5034 (native-inputs
5035 `(("pkg-config" ,pkg-config)
5036 ("appstream-glib" ,appstream-glib)
5037 ("desktop-file-utils" ,desktop-file-utils)
5038 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5039 ("intltool" ,intltool)
5040 ("itstool" ,itstool)
5041 ("vala" ,vala)
5042 ("xmllint" ,libxml2)))
5043 (inputs
5044 `(("gtk+" ,gtk+)
5045 ("libgnome-games-support" ,libgnome-games-support)
5046 ("librsvg" ,librsvg)))
5047 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5048 (synopsis "Logic puzzle game")
5049 (description "Five or More is a game where you try to align
5050 five or more objects of the same color and shape causing them to disappear.
5051 On every turn more objects will appear, until the board is full.
5052 Try to last as long as possible.")
5053 (license license:gpl2+)))
5054
5055 (define-public gnome-mines
5056 (package
5057 (name "gnome-mines")
5058 (version "3.36.1")
5059 (source
5060 (origin
5061 (method url-fetch)
5062 (uri (string-append "mirror://gnome/sources/" name "/"
5063 (version-major+minor version) "/"
5064 name "-" version ".tar.xz"))
5065 (sha256
5066 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5067 (build-system meson-build-system)
5068 (arguments
5069 '(#:glib-or-gtk? #t
5070 #:phases
5071 (modify-phases %standard-phases
5072 (add-after 'unpack 'skip-gtk-update-icon-cache
5073 (lambda _
5074 (substitute* "build-aux/meson_post_install.py"
5075 (("gtk-update-icon-cache") (which "true")))
5076 #t)))))
5077 (native-inputs
5078 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5079 ("pkg-config" ,pkg-config)
5080 ("desktop-file-utils" ,desktop-file-utils)
5081 ("intltool" ,intltool)
5082 ("itstool" ,itstool)
5083 ("vala" ,vala)
5084 ("yelp" ,yelp)
5085 ("appstream-glib" ,appstream-glib)))
5086 (inputs
5087 `(("gtk+" ,gtk+)
5088 ("libgnome-games-support" ,libgnome-games-support)
5089 ("librsvg" ,librsvg)))
5090 (home-page "https://wiki.gnome.org/Apps/Mines")
5091 (synopsis "Minesweeper game")
5092 (description
5093 "Mines (previously gnomine) is a puzzle game where you locate mines
5094 floating in an ocean using only your brain and a little bit of luck.")
5095 (license license:gpl2+)))
5096
5097 (define-public gnome-multi-writer
5098 (package
5099 (name "gnome-multi-writer")
5100 (version "3.35.90")
5101 (source
5102 (origin
5103 (method url-fetch)
5104 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5105 (version-major+minor version) "/"
5106 "gnome-multi-writer-" version ".tar.xz"))
5107 (sha256
5108 (base32
5109 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5110 (build-system meson-build-system)
5111 (arguments
5112 '(#:glib-or-gtk? #t
5113 #:phases
5114 (modify-phases %standard-phases
5115 (add-after 'unpack 'skip-post-install
5116 (lambda _
5117 (substitute* "meson.build"
5118 (("meson.add_install_script" &) (string-append "# " &)))
5119 #t)))))
5120 (native-inputs
5121 `(("glib:bin" ,glib "bin")
5122 ("pkg-config" ,pkg-config)))
5123 (inputs
5124 `(("gtk+" ,gtk+)
5125 ("glib" ,glib) ; for gio
5126 ("gusb" ,gusb)
5127 ("udisks" ,udisks)
5128 ("libgudev" ,libgudev)
5129 ("libcanberra" ,libcanberra)
5130 ("polkit" ,polkit)))
5131 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5132 (synopsis "Write to multiple USB devices at once")
5133 (description
5134 "MultiWriter can be used to write an ISO file to multiple USB devices at
5135 once.")
5136 (license license:gpl2+)))
5137
5138 (define-public gnome-sudoku
5139 (package
5140 (name "gnome-sudoku")
5141 (version "3.34.1")
5142 (source
5143 (origin
5144 (method url-fetch)
5145 (uri (string-append "mirror://gnome/sources/" name "/"
5146 (version-major+minor version) "/"
5147 name "-" version ".tar.xz"))
5148 (sha256
5149 (base32
5150 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5151 (build-system meson-build-system)
5152 (arguments
5153 '(#:glib-or-gtk? #t
5154 #:phases
5155 (modify-phases %standard-phases
5156 (add-after 'unpack 'skip-gtk-update-icon-cache
5157 (lambda _
5158 (substitute* "build-aux/post_install.py"
5159 (("gtk-update-icon-cache") (which "true")))
5160 #t)))))
5161 (native-inputs
5162 `(("pkg-config" ,pkg-config)
5163 ("desktop-file-utils" ,desktop-file-utils)
5164 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5165 ("intltool" ,intltool)
5166 ("itstool" ,itstool)
5167 ("vala" ,vala)
5168 ("xmllint" ,libxml2)))
5169 (inputs
5170 `(("gtk+" ,gtk+)
5171 ("json-glib" ,json-glib)
5172 ("libgee" ,libgee)
5173 ("librsvg" ,librsvg)
5174 ("qqwing" ,qqwing)))
5175 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5176 (synopsis "Japanese logic game")
5177 (description
5178 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5179 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5180 possible while still providing features that make playing difficult Sudoku
5181 more fun.")
5182 (license license:gpl2+)))
5183
5184 (define-public gnome-terminal
5185 (package
5186 (name "gnome-terminal")
5187 (version "3.34.2")
5188 (source
5189 (origin
5190 (method url-fetch)
5191 (uri (string-append "mirror://gnome/sources/" name "/"
5192 (version-major+minor version) "/"
5193 name "-" version ".tar.xz"))
5194 (sha256
5195 (base32
5196 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5197 (build-system glib-or-gtk-build-system)
5198 (arguments
5199 '(#:configure-flags
5200 (list "--disable-migration" "--disable-search-provider"
5201 "--without-nautilus-extension")
5202 #:phases
5203 (modify-phases %standard-phases
5204 (add-before 'configure 'patch-/bin/true
5205 (lambda _
5206 (substitute* "configure"
5207 (("/bin/true") (which "true"))))))))
5208 (native-inputs
5209 `(("pkg-config" ,pkg-config)
5210 ("desktop-file-utils" ,desktop-file-utils)
5211 ("intltool" ,intltool)
5212 ("itstool" ,itstool)
5213 ("xmllint" ,libxml2)))
5214 (propagated-inputs
5215 `(("dconf" ,dconf)))
5216 (inputs
5217 `(("gtk+" ,gtk+)
5218 ("vte" ,vte)
5219 ("gnutls" ,gnutls)
5220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5221 ("util-linux" ,util-linux "lib")
5222 ("vala" ,vala)))
5223 (home-page "https://wiki.gnome.org/Apps/Terminal")
5224 (synopsis "Terminal emulator")
5225 (description
5226 "GNOME Terminal is a terminal emulator application for accessing a
5227 UNIX shell environment which can be used to run programs available on
5228 your system.
5229
5230 It supports several profiles, multiple tabs and implements several
5231 keyboard shortcuts.")
5232 (license license:gpl3+)))
5233
5234 (define-public colord
5235 (package
5236 (name "colord")
5237 (version "1.4.5")
5238 (source
5239 (origin
5240 (method url-fetch)
5241 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5242 "colord-" version ".tar.xz"))
5243 (sha256
5244 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5245 (build-system meson-build-system)
5246 (arguments
5247 '(;; FIXME: One test fails:
5248 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5249 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5250 ;; application/x-zerosize
5251 #:tests? #f
5252 #:glib-or-gtk? #t
5253 #:configure-flags (list "-Dlocalstatedir=/var"
5254 ;; No dep on systemd.
5255 "-Dsystemd=false"
5256 ;; Wants to install to global completion dir;
5257 ;; punt.
5258 "-Dbash_completion=false"
5259 "-Ddaemon_user=colord"
5260 "-Dsane=true"
5261 "-Dvapi=true"
5262 ;; Requires spotread.
5263 "-Dargyllcms_sensor=false"
5264 ;; TODO: Requires docbook2x.
5265 "-Dman=false")
5266 #:phases
5267 (modify-phases %standard-phases
5268 (add-before 'configure 'patch-build-system
5269 (lambda* (#:key outputs #:allow-other-keys)
5270 (substitute* "rules/meson.build"
5271 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5272 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5273 #t))
5274 (add-before 'configure 'set-sqlite3-file-name
5275 (lambda* (#:key inputs #:allow-other-keys)
5276 ;; "colormgr dump" works by invoking the "sqlite3" command.
5277 ;; Record its absolute file name.
5278 (let ((sqlite (assoc-ref inputs "sqlite")))
5279 (substitute* "client/cd-util.c"
5280 (("\"sqlite3\"")
5281 (string-append "\"" sqlite "/bin/sqlite3\"")))
5282 #t))))))
5283 (native-inputs
5284 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5285 ("gettext" ,gettext-minimal)
5286 ("gobject-introspection" ,gobject-introspection)
5287 ("gtk-doc" ,gtk-doc/stable)
5288 ("pkg-config" ,pkg-config)
5289 ("vala" ,vala)))
5290 (propagated-inputs
5291 ;; colord.pc refers to all these.
5292 `(("glib" ,glib)
5293 ("lcms" ,lcms)
5294 ("udev" ,eudev)))
5295 (inputs
5296 `(("dbus-glib" ,dbus-glib)
5297 ("gusb" ,gusb)
5298 ("libgudev" ,libgudev)
5299 ("libusb" ,libusb)
5300 ("polkit" ,polkit)
5301 ("python" ,python-wrapper)
5302 ("sqlite" ,sqlite)
5303 ("sane-backends" ,sane-backends)))
5304 (home-page "https://www.freedesktop.org/software/colord/")
5305 (synopsis "Color management service")
5306 (description "Colord is a system service that makes it easy to manage,
5307 install and generate color profiles to accurately color manage input and
5308 output devices.")
5309 (license license:gpl2+)))
5310
5311 (define-public geoclue
5312 (package
5313 (name "geoclue")
5314 (version "2.5.7")
5315 (source
5316 (origin
5317 (method url-fetch)
5318 (uri
5319 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5320 version "/geoclue-" version ".tar.bz2"))
5321 (sha256
5322 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5323 (patches (search-patches "geoclue-config.patch"))))
5324 (build-system meson-build-system)
5325 (arguments
5326 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5327 (native-inputs
5328 `(("pkg-config" ,pkg-config)
5329 ("gobject-introspection" ,gobject-introspection)
5330 ("modem-manager" ,modem-manager)
5331 ("libnotify" ,libnotify)
5332 ("gtk-doc" ,gtk-doc/stable)
5333 ("intltool" ,intltool)))
5334 (inputs
5335 `(("avahi" ,avahi)
5336 ("glib:bin" ,glib "bin")
5337 ("glib-networking" ,glib-networking)
5338 ("json-glib" ,json-glib)
5339 ("libsoup" ,libsoup)))
5340 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5341 (synopsis "Geolocation service")
5342 (description "Geoclue is a D-Bus service that provides location
5343 information. The primary goal of the Geoclue project is to make creating
5344 location-aware applications as simple as possible, while the secondary goal is
5345 to ensure that no application can access location information without explicit
5346 permission from user.")
5347 (license license:gpl2+)))
5348
5349 (define-public geocode-glib
5350 (package
5351 (name "geocode-glib")
5352 (version "3.26.2")
5353 (source (origin
5354 (method url-fetch)
5355 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5356 (version-major+minor version) "/"
5357 "geocode-glib-" version ".tar.xz"))
5358 (sha256
5359 (base32
5360 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5361 (build-system meson-build-system)
5362 (arguments
5363 `(#:phases
5364 (modify-phases %standard-phases
5365 ;; The tests require a bunch of locales.
5366 (add-before 'check 'set-locales
5367 (lambda* (#:key inputs #:allow-other-keys)
5368 (setenv "GUIX_LOCPATH"
5369 (string-append (assoc-ref inputs "glibc-locales")
5370 "/lib/locale"))
5371 #t)))))
5372 (native-inputs
5373 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5374 ("glibc-locales" ,glibc-locales) ; for tests
5375 ("gettext" ,gettext-minimal)
5376 ("gobject-introspection" ,gobject-introspection)
5377 ("gtk-doc" ,gtk-doc/stable)
5378 ("pkg-config" ,pkg-config)
5379 ("json-glib" ,json-glib)))
5380 (propagated-inputs
5381 ;; geocode-glib-1.0.pc refers to GIO.
5382 `(("glib" ,glib)))
5383 (inputs
5384 `(("libsoup" ,libsoup)))
5385 (home-page "https://github.com/GNOME/geocode-glib/")
5386 (synopsis "Geocoding and reverse-geocoding library")
5387 (description
5388 "geocode-glib is a convenience library for geocoding (finding longitude,
5389 and latitude from an address) and reverse geocoding (finding an address from
5390 coordinates) using the Nominatim service. geocode-glib caches requests for
5391 faster results and to avoid unnecessary server load.")
5392 (license license:lgpl2.0+)))
5393
5394 (define-public upower
5395 (package
5396 (name "upower")
5397 (version "0.99.11")
5398 (source (origin
5399 (method url-fetch)
5400 (uri (string-append "https://upower.freedesktop.org/releases/"
5401 "upower-" version ".tar.xz"))
5402 (sha256
5403 (base32
5404 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5405 (patches (search-patches "upower-builddir.patch"))
5406 (modules '((guix build utils)))
5407 (snippet
5408 '(begin
5409 ;; Upstream commit
5410 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5411 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5412 ;; 'dbus-configuration-directory' in (gnu services dbus)
5413 ;; expects it in etc/. Thus, move it back to its previous
5414 ;; location.
5415 (substitute* "src/Makefile.in"
5416 (("^dbusconfdir =.*$")
5417 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5418 #t))))
5419 (build-system glib-or-gtk-build-system)
5420 (arguments
5421 '(#:phases
5422 (modify-phases %standard-phases
5423 (add-before 'check 'pre-check
5424 (lambda* (#:key inputs #:allow-other-keys)
5425 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5426 "/lib")))
5427 (setenv "LD_LIBRARY_PATH" umockdev))
5428 #t)))
5429 #:configure-flags (list "--localstatedir=/var"
5430 (string-append "--with-udevrulesdir="
5431 (assoc-ref %outputs "out")
5432 "/lib/udev/rules.d"))))
5433 (native-inputs
5434 `(("gobject-introspection" ,gobject-introspection)
5435 ("pkg-config" ,pkg-config)
5436 ("intltool" ,intltool)
5437 ("python" ,python)
5438
5439 ;; For tests.
5440 ("python-dbus" ,python-dbus)
5441 ("python-dbusmock" ,python-dbusmock)
5442 ("python-pygobject" ,python-pygobject)
5443 ("umockdev" ,umockdev)
5444
5445 ;; For man pages.
5446 ("libxslt" ,libxslt) ;for 'xsltproc'
5447 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5448 ("docbook-xsl" ,docbook-xsl)))
5449 (inputs
5450 `(("dbus-glib" ,dbus-glib)
5451 ("libgudev" ,libgudev)
5452 ("libusb" ,libusb)))
5453 (propagated-inputs
5454 ;; In Requires of upower-glib.pc.
5455 `(("glib" ,glib)))
5456 (home-page "https://upower.freedesktop.org/")
5457 (synopsis "System daemon for managing power devices")
5458 (description
5459 "UPower is an abstraction for enumerating power devices,
5460 listening to device events and querying history and statistics. Any
5461 application or service on the system can access the org.freedesktop.UPower
5462 service via the system message bus.")
5463 (license license:gpl2+)))
5464
5465 (define-public libgweather
5466 (package
5467 (name "libgweather")
5468 (version "3.34.0")
5469 (source (origin
5470 (method url-fetch)
5471 (uri (string-append "mirror://gnome/sources/" name "/"
5472 (version-major+minor version) "/"
5473 name "-" version ".tar.xz"))
5474 (sha256
5475 (base32
5476 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5477 (build-system meson-build-system)
5478 (arguments
5479 `(#:tests? #f ; one of two tests requires network access
5480 #:configure-flags
5481 `(,(string-append "-Dzoneinfo_dir="
5482 (assoc-ref %build-inputs "tzdata")
5483 "/share/zoneinfo"))))
5484 (native-inputs
5485 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5486 ("gobject-introspection" ,gobject-introspection)
5487 ("pkg-config" ,pkg-config)
5488 ("vala" ,vala)
5489 ("intltool" ,intltool)))
5490 (propagated-inputs
5491 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5492 ;; libsoup.
5493 `(("gtk+" ,gtk+)
5494 ("gdk-pixbuf" ,gdk-pixbuf)
5495 ("libxml2" ,libxml2)
5496 ("libsoup" ,libsoup)
5497 ("geocode-glib" ,geocode-glib)))
5498 (inputs
5499 `(("tzdata" ,tzdata)))
5500 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5501 (synopsis "Location, time zone, and weather library for GNOME")
5502 (description
5503 "libgweather is a library to access weather information from online
5504 services for numerous locations.")
5505 (license license:gpl2+)))
5506
5507 (define-public gnome-settings-daemon
5508 (package
5509 (name "gnome-settings-daemon")
5510 (version "3.34.1")
5511 (source
5512 (origin
5513 (method url-fetch)
5514 (uri (string-append "mirror://gnome/sources/" name "/"
5515 (version-major+minor version) "/"
5516 name "-" version ".tar.xz"))
5517 (sha256
5518 (base32
5519 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5520 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5521 (build-system meson-build-system)
5522 (arguments
5523 `(#:glib-or-gtk? #t
5524 #:configure-flags
5525 (list (string-append "-Dudev_dir="
5526 (assoc-ref %outputs "out")
5527 "/lib/udev/rules.d/")
5528 "-Dsystemd=false"
5529 ;; Otherwise, the RUNPATH will lack the final path component.
5530 (string-append "-Dc_link_args=-Wl,-rpath="
5531 (assoc-ref %outputs "out")
5532 "/lib/gnome-settings-daemon-3.0"))
5533
5534 #:phases (modify-phases %standard-phases
5535 (add-before 'configure 'set-baobab-file-name
5536 (lambda* (#:key inputs #:allow-other-keys)
5537 ;; Hard-code the file name of Baobab instead of looking
5538 ;; it up in $PATH. This ensures users get the "Examine"
5539 ;; button in the low disk space notification of GDM even
5540 ;; if they don't have GNOME in their main profile.
5541 (let ((baobab (assoc-ref inputs "baobab")))
5542 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5543 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5544 (string-append "g_strdup (\"" baobab
5545 "/bin/baobab\")")))
5546 #t))))
5547
5548 ;; Color management test can't reach the colord system service.
5549 #:tests? #f))
5550 (native-inputs
5551 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5552 ("pkg-config" ,pkg-config)
5553 ("intltool" ,intltool)
5554 ("xsltproc" ,libxslt)
5555 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5556 ("docbook-xml" ,docbook-xml-4.2)
5557 ("docbook-xsl" ,docbook-xsl)))
5558 (inputs
5559 `(("alsa-lib" ,alsa-lib)
5560 ("baobab" ,baobab)
5561 ("colord" ,colord)
5562 ("libgudev" ,libgudev)
5563 ("upower" ,upower)
5564 ("polkit" ,polkit)
5565 ("pulseaudio" ,pulseaudio)
5566 ("libcanberra" ,libcanberra)
5567 ("libx11" ,libx11)
5568 ("libxtst" ,libxtst)
5569 ("lcms" ,lcms)
5570 ("libnotify" ,libnotify)
5571 ("geoclue" ,geoclue)
5572 ("geocode-glib" ,geocode-glib)
5573 ("libgweather" ,libgweather)
5574 ("gnome-desktop" ,gnome-desktop)
5575 ("nss" ,nss)
5576 ("cups" ,cups)
5577 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5578 ("libwacom" ,libwacom)
5579 ("librsvg" ,librsvg)
5580 ("xf86-input-wacom" ,xf86-input-wacom)
5581 ("wayland" ,wayland)
5582 ("network-manager" ,network-manager)
5583 ("gcr" ,gcr)
5584 ("modem-manager" ,modem-manager)))
5585 (home-page "https://www.gnome.org")
5586 (synopsis "GNOME settings daemon")
5587 (description
5588 "This package contains the daemon responsible for setting the various
5589 parameters of a GNOME session and the applications that run under it. It
5590 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5591 settings, themes, mouse settings, and startup of other daemons.")
5592 (license license:gpl2+)))
5593
5594 (define-public totem-pl-parser
5595 (package
5596 (name "totem-pl-parser")
5597 (version "3.26.5")
5598 (source (origin
5599 (method url-fetch)
5600 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5601 (version-major+minor version) "/"
5602 "totem-pl-parser-" version ".tar.xz"))
5603 (sha256
5604 (base32
5605 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5606 (build-system meson-build-system)
5607 (arguments
5608 ;; FIXME: Tests require gvfs.
5609 `(#:tests? #f))
5610 (native-inputs
5611 `(("intltool" ,intltool)
5612 ("glib" ,glib "bin")
5613 ("gobject-introspection" ,gobject-introspection)
5614 ("pkg-config" ,pkg-config)))
5615 (propagated-inputs
5616 `(("glib" ,glib)
5617 ("gmime" ,gmime)
5618 ("libarchive" ,libarchive)
5619 ("libgcrypt" ,libgcrypt)
5620 ("libxml2" ,libxml2)))
5621 (inputs
5622 `(("libsoup" ,libsoup)))
5623 (home-page "https://projects.gnome.org/totem")
5624 (synopsis "Library to parse and save media playlists for GNOME")
5625 (description "Totem-pl-parser is a GObjects-based library to parse and save
5626 playlists in a variety of formats.")
5627 (license license:lgpl2.0+)))
5628
5629 (define-public aisleriot
5630 (package
5631 (name "aisleriot")
5632 (version "3.22.9")
5633 (source (origin
5634 (method url-fetch)
5635 (uri (string-append "mirror://gnome/sources/aisleriot/"
5636 (version-major+minor version) "/"
5637 "aisleriot-" version ".tar.xz"))
5638 (sha256
5639 (base32
5640 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5641 (build-system glib-or-gtk-build-system)
5642 (arguments
5643 '(#:configure-flags
5644 '("--with-platform=gtk-only"
5645 "--with-card-theme-formats=svg")))
5646 (native-inputs
5647 `(("desktop-file-utils" ,desktop-file-utils)
5648 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5649 ("intltool" ,intltool)
5650 ("itstool" ,itstool)
5651 ("pkg-config" ,pkg-config)
5652 ("xmllint" ,libxml2)))
5653 (inputs
5654 `(("gtk+" ,gtk+)
5655 ("guile" ,guile-2.2)
5656 ("libcanberra" ,libcanberra)
5657 ("librsvg" ,librsvg)))
5658 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5659 (synopsis "Solitaire card games")
5660 (description
5661 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5662 which are easy to play with the aid of a mouse.")
5663 (license license:gpl3+)))
5664
5665 (define-public amtk
5666 (package
5667 (name "amtk")
5668 (version "5.0.2")
5669 (source (origin
5670 (method url-fetch)
5671 (uri (string-append "mirror://gnome/sources/amtk/"
5672 (version-major+minor version) "/"
5673 "amtk-" version ".tar.xz"))
5674 (sha256
5675 (base32
5676 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5677 (build-system gnu-build-system)
5678 (arguments
5679 '(#:configure-flags '("--enable-gtk-doc")))
5680 (native-inputs
5681 `(("gobject-introspection" ,gobject-introspection)
5682 ("glib:bin" ,glib "bin") ; for glib-mkenums
5683 ("gtk-doc" ,gtk-doc/stable)
5684 ("pkg-config" ,pkg-config)))
5685 (inputs
5686 `(("glib" ,glib)
5687 ("gtk+" ,gtk+)))
5688 (home-page "https://wiki.gnome.org/Projects/Amtk")
5689 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5690 (description
5691 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5692 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5693 both a traditional UI or a modern UI with a GtkHeaderBar.")
5694 (license license:lgpl2.1+)))
5695
5696 (define-public devhelp
5697 (package
5698 (name "devhelp")
5699 (version "3.34.0")
5700 (source (origin
5701 (method url-fetch)
5702 (uri (string-append "mirror://gnome/sources/" name "/"
5703 (version-major+minor version) "/"
5704 name "-" version ".tar.xz"))
5705 (sha256
5706 (base32
5707 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5708 (build-system meson-build-system)
5709 (arguments
5710 '(#:glib-or-gtk? #t
5711 #:phases
5712 (modify-phases %standard-phases
5713 (add-after 'unpack 'skip-gtk-update-icon-cache
5714 ;; Don't create 'icon-theme.cache'.
5715 (lambda _
5716 (substitute* "meson_post_install.py"
5717 (("gtk-update-icon-cache") "true"))
5718 #t)))))
5719 (native-inputs
5720 `(("intltool" ,intltool)
5721 ("itstool" ,itstool)
5722 ("gobject-introspection" ,gobject-introspection)
5723 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5724 ("pkg-config" ,pkg-config)))
5725 (inputs
5726 `(("amtk" ,amtk)
5727 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5728 ("webkitgtk" ,webkitgtk)))
5729 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5730 (synopsis "API documentation browser for GNOME")
5731 (description
5732 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5733 natively with GTK-Doc (the API reference system developed for GTK+ and used
5734 throughout GNOME for API documentation).")
5735 (license license:gpl2+)))
5736
5737 (define-public cogl
5738 (package
5739 (name "cogl")
5740 (version "1.22.8")
5741 (source
5742 (origin
5743 (method url-fetch)
5744 (uri (string-append "mirror://gnome/sources/cogl/"
5745 (version-major+minor version) "/"
5746 "cogl-" version ".tar.xz"))
5747 (sha256
5748 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5749 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5750 ;; cogl, corresponding changes may be appropriate in mutter as well.
5751 (build-system gnu-build-system)
5752 (native-inputs
5753 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5754 ("gobject-introspection" ,gobject-introspection)
5755 ("xorg-server" ,xorg-server-for-tests)
5756 ("pkg-config" ,pkg-config)))
5757 (propagated-inputs
5758 `(("glib" ,glib)
5759 ("gdk-pixbuf" ,gdk-pixbuf)
5760 ("libx11" ,libx11)
5761 ("libxext" ,libxext)
5762 ("libxfixes" ,libxfixes)
5763 ("libxdamage" ,libxdamage)
5764 ("libxcomposite" ,libxcomposite)
5765 ("libxrandr" ,libxrandr)))
5766 (inputs
5767 `(("mesa" ,mesa)
5768 ("cairo" ,cairo)
5769 ("pango" ,pango)
5770 ("gstreamer" ,gstreamer)
5771 ("gst-plugins-base" ,gst-plugins-base)
5772 ("wayland" ,wayland)))
5773 (arguments
5774 `(#:disallowed-references (,xorg-server-for-tests)
5775 #:configure-flags (list "--enable-cogl-gst"
5776 "--enable-wayland-egl-platform"
5777 "--enable-wayland-egl-server"
5778
5779 ;; Arrange to pass an absolute file name to
5780 ;; dlopen for libGL.so.
5781 (string-append "--with-gl-libname="
5782 (assoc-ref %build-inputs "mesa")
5783 "/lib/libGL.so"))
5784 #:phases
5785 (modify-phases %standard-phases
5786 (add-after 'unpack 'fix-build-with-mesa-20
5787 (lambda _
5788 ;; Work around a problem with Mesa 20 where some macros used by
5789 ;; Cogl went missing from eglext.h. This can likely be removed
5790 ;; for newer versions of Cogl or Mesa.
5791 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5792 (substitute* '("configure"
5793 "cogl/winsys/cogl-winsys-egl-kms.c")
5794 (("#include <EGL/eglext.h>" all)
5795 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5796 #t))
5797 (add-before 'check 'start-xorg-server
5798 (lambda* (#:key tests? inputs #:allow-other-keys)
5799 (if tests?
5800 (begin
5801 ;; The test suite requires a running X server.
5802 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5803 (assoc-ref inputs "xorg-server")))
5804 (setenv "DISPLAY" ":1")
5805 #t)
5806 (format #t "test suite not run~%"))
5807 #t)))))
5808 (home-page "https://www.cogl3d.org")
5809 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5810 (description
5811 "Cogl is a small library for using 3D graphics hardware to draw pretty
5812 pictures. The API departs from the flat state machine style of OpenGL and is
5813 designed to make it easy to write orthogonal components that can render
5814 without stepping on each others toes.")
5815 (license (list license:expat ; most of the code
5816 license:bsd-3 ; cogl/cogl-point-in-poly.c
5817 license:sgifreeb2.0 ; cogl-path/tesselator/
5818 license:asl2.0)))) ; examples/android/
5819
5820 (define-public clutter
5821 (package
5822 (name "clutter")
5823 (version "1.26.2")
5824 (source
5825 (origin
5826 (method url-fetch)
5827 (uri (string-append "mirror://gnome/sources/" name "/"
5828 (version-major+minor version) "/"
5829 name "-" version ".tar.xz"))
5830 (sha256
5831 (base32
5832 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5833 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5834 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5835 (build-system gnu-build-system)
5836 (outputs '("out"
5837 "doc")) ;9 MiB of gtk-doc HTML pages
5838 (native-inputs
5839 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5840 ("gobject-introspection" ,gobject-introspection)
5841 ("pkg-config" ,pkg-config)
5842 ("xsltproc" ,libxslt)))
5843 (propagated-inputs
5844 `(("cogl" ,cogl)
5845 ("cairo" ,cairo)
5846 ("atk" ,atk)
5847 ("gtk+" ,gtk+)
5848 ("json-glib" ,json-glib)
5849 ("glib" ,glib)
5850 ("libxcomposite" ,libxcomposite)
5851 ("libxdamage" ,libxdamage)
5852 ("libxext" ,libxext)
5853 ("xinput" ,xinput)))
5854 (inputs
5855 `(("libxkbcommon" ,libxkbcommon)
5856 ("udev" ,eudev)))
5857 (arguments
5858 `(#:configure-flags (list "--enable-x11-backend=yes"
5859
5860 ;; This produces share/doc/{clutter,cally}.
5861 (string-append "--with-html-dir="
5862 (assoc-ref %outputs "doc")
5863 "/share/doc"))
5864 ;; XXX FIXME: Get test suite working. It would probably fail in the
5865 ;; same way the cogl tests fail, since clutter is based on cogl.
5866 #:tests? #f))
5867 (home-page "http://www.clutter-project.org")
5868 (synopsis "OpenGL-based interactive canvas library")
5869 (description
5870 "Clutter is an OpenGL-based interactive canvas library, designed for
5871 creating fast, mainly 2D single window applications such as media box UIs,
5872 presentations, kiosk style applications and so on.")
5873 (license license:lgpl2.0+)))
5874
5875 (define-public clutter-gtk
5876 (package
5877 (name "clutter-gtk")
5878 (version "1.8.4")
5879 (source
5880 (origin
5881 (method url-fetch)
5882 (uri (string-append "mirror://gnome/sources/" name "/"
5883 (version-major+minor version) "/"
5884 name "-" version ".tar.xz"))
5885 (sha256
5886 (base32
5887 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5888 (build-system gnu-build-system)
5889 (native-inputs
5890 `(("pkg-config" ,pkg-config)
5891 ("gobject-introspection" ,gobject-introspection)))
5892 (propagated-inputs
5893 ;; clutter-gtk.pc refers to all these.
5894 `(("clutter" ,clutter)
5895 ("gtk+" ,gtk+)))
5896 (home-page "http://www.clutter-project.org")
5897 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5898 (description
5899 "Clutter is an OpenGL-based interactive canvas library, designed for
5900 creating fast, mainly 2D single window applications such as media box UIs,
5901 presentations, kiosk style applications and so on.")
5902 (license license:lgpl2.0+)))
5903
5904 (define-public clutter-gst
5905 (package
5906 (name "clutter-gst")
5907 (version "3.0.27")
5908 (source
5909 (origin
5910 (method url-fetch)
5911 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5912 (version-major+minor version) "/"
5913 "clutter-gst-" version ".tar.xz"))
5914 (sha256
5915 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5916 (build-system gnu-build-system)
5917 (native-inputs
5918 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5919 ("pkg-config" ,pkg-config)
5920 ("gobject-introspection" ,gobject-introspection)))
5921 (inputs
5922 `(("clutter" ,clutter)
5923 ("gstreamer" ,gstreamer)
5924 ("gst-plugins-base" ,gst-plugins-base)))
5925 (home-page "http://www.clutter-project.org")
5926 (synopsis "Integration library for using GStreamer with Clutter")
5927 (description
5928 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5929 It provides a GStreamer sink to upload frames to GL and an actor that
5930 implements the ClutterGstPlayer interface using playbin. Clutter is an
5931 OpenGL-based interactive canvas library.")
5932 (license license:lgpl2.0+)))
5933
5934 (define-public libchamplain
5935 (package
5936 (name "libchamplain")
5937 (version "0.12.16")
5938 (source (origin
5939 (method url-fetch)
5940 (uri (string-append
5941 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5942 version ".tar.xz"))
5943 (sha256
5944 (base32
5945 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5946 (build-system gnu-build-system)
5947 (arguments '(#:configure-flags '("--enable-vala")))
5948 (native-inputs
5949 `(("gobject-introspection" ,gobject-introspection)
5950 ("pkg-config" ,pkg-config)
5951 ("vala" ,vala)))
5952 (propagated-inputs
5953 `(("libsoup" ,libsoup)
5954 ("sqlite" ,sqlite)
5955 ("clutter" ,clutter)
5956 ("clutter-gtk" ,clutter-gtk)
5957 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5958 ("cairo" ,cairo)
5959 ("gtk+3" ,gtk+)
5960 ("glib" ,glib)))
5961 (home-page "https://projects.gnome.org/libchamplain/")
5962 (synopsis "C library providing a ClutterActor to display maps")
5963 (description
5964 "libchamplain is a C library providing a ClutterActor to display maps.
5965 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5966 and Perl bindings are also available. It supports numerous free map sources
5967 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5968 (license license:lgpl2.1+)))
5969
5970 (define-public gom
5971 (package
5972 (name "gom")
5973 (version "0.3.2")
5974 (source
5975 (origin
5976 (method url-fetch)
5977 (uri (string-append "mirror://gnome/sources/gom/"
5978 (version-major+minor version) "/"
5979 "gom-" version ".tar.xz"))
5980 (sha256
5981 (base32
5982 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5983 (build-system gnu-build-system)
5984 (native-inputs
5985 `(("intltool" ,intltool)
5986 ("pkg-config" ,pkg-config)
5987 ("gobject-introspection" ,gobject-introspection)))
5988 (inputs
5989 `(("glib" ,glib)
5990 ("gdk-pixbuf" ,gdk-pixbuf)
5991 ("sqlite" ,sqlite)))
5992 ;; XXX TODO: Figure out how to run the test suite.
5993 (arguments `(#:tests? #f))
5994 (home-page "https://wiki.gnome.org/Projects/Gom")
5995 (synopsis "Object mapper from GObjects to SQLite")
5996 (description
5997 "Gom provides an object mapper from GObjects to SQLite. It helps you
5998 write applications that need to store structured data as well as make complex
5999 queries upon that data.")
6000 (license license:lgpl2.1+)))
6001
6002 (define-public libgnome-games-support
6003 (package
6004 (name "libgnome-games-support")
6005 (version "1.4.4")
6006 (source (origin
6007 (method url-fetch)
6008 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6009 (version-major+minor version) "/"
6010 "libgnome-games-support-" version ".tar.xz"))
6011 (sha256
6012 (base32
6013 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
6014 (build-system gnu-build-system)
6015 (arguments
6016 '(#:phases
6017 (modify-phases %standard-phases
6018 (add-before 'check 'pre-check
6019 (lambda _
6020 ;; Tests require a writable HOME.
6021 (setenv "HOME" (getcwd))
6022 #t)))))
6023 (native-inputs
6024 `(("intltool" ,intltool)
6025 ("pkg-config" ,pkg-config)
6026 ("vala" ,vala)))
6027 (propagated-inputs
6028 ;; Required by libgnome-games-support-1.0.pc
6029 `(("gtk+" ,gtk+)
6030 ("libgee" ,libgee)))
6031 (home-page "https://www.gnome.org/")
6032 (synopsis "Useful functionality shared among GNOME games")
6033 (description
6034 "libgnome-games-support is a small library intended for internal use by
6035 GNOME Games, but it may be used by others.")
6036 (license license:lgpl3+)))
6037
6038 (define-public gnome-klotski
6039 (package
6040 (name "gnome-klotski")
6041 (version "3.34.0")
6042 (source (origin
6043 (method url-fetch)
6044 (uri (string-append "mirror://gnome/sources/" name "/"
6045 (version-major+minor version) "/"
6046 name "-" version ".tar.xz"))
6047 (sha256
6048 (base32
6049 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6050 (build-system meson-build-system)
6051 (arguments
6052 '(#:glib-or-gtk? #t
6053 #:phases
6054 (modify-phases %standard-phases
6055 (add-after 'unpack 'skip-gtk-update-icon-cache
6056 ;; Don't create 'icon-theme.cache'.
6057 (lambda _
6058 (substitute* "build-aux/meson_post_install.py"
6059 (("gtk-update-icon-cache") (which "true")))
6060 #t)))))
6061 (native-inputs
6062 `(("desktop-file-utils" ,desktop-file-utils)
6063 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6064 ("intltool" ,intltool)
6065 ("itstool" ,itstool)
6066 ("pkg-config" ,pkg-config)
6067 ("vala" ,vala)
6068 ("xmllint" ,libxml2)))
6069 (inputs
6070 `(("gtk+" ,gtk+)
6071 ("libgnome-games-support" ,libgnome-games-support)
6072 ("librsvg" ,librsvg)))
6073 (home-page "https://wiki.gnome.org/Apps/Klotski")
6074 (synopsis "Sliding block puzzles")
6075 (description
6076 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6077 the patterned block to the area bordered by green markers. To do so, you will
6078 need to slide other blocks out of the way. Complete each puzzle in as few moves
6079 as possible!")
6080 (license license:gpl2+)))
6081
6082 (define-public grilo
6083 (package
6084 (name "grilo")
6085 (version "0.3.12")
6086 (source
6087 (origin
6088 (method url-fetch)
6089 (uri (string-append "mirror://gnome/sources/grilo/"
6090 (version-major+minor version) "/"
6091 "grilo-" version ".tar.xz"))
6092 (sha256
6093 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6094 (build-system meson-build-system)
6095 (native-inputs
6096 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6097 ("intltool" ,intltool)
6098 ("pkg-config" ,pkg-config)
6099 ("gobject-introspection" ,gobject-introspection)
6100 ("gtk-doc" ,gtk-doc/stable)
6101 ("vala" ,vala)))
6102 (inputs
6103 `(("cyrus-sasl" ,cyrus-sasl)
6104 ("glib" ,glib)
6105 ("gtk+" ,gtk+)
6106 ("libxml2" ,libxml2)
6107 ("liboauth" ,liboauth)
6108 ("libsoup" ,libsoup)
6109 ("totem-pl-parser" ,totem-pl-parser)))
6110 (native-search-paths
6111 (list (search-path-specification
6112 (variable "GRL_PLUGIN_PATH")
6113 (files (list (string-append "lib/grilo-"
6114 (version-major+minor version)))))))
6115 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6116 (synopsis "Framework for discovering and browsing media")
6117 (description
6118 "Grilo is a framework focused on making media discovery and browsing easy
6119 for application developers.")
6120 (license license:lgpl2.1+)))
6121
6122 (define-public grilo-plugins
6123 (package
6124 (name "grilo-plugins")
6125 (version "0.3.11")
6126 (source
6127 (origin
6128 (method url-fetch)
6129 (uri (string-append "mirror://gnome/sources/" name "/"
6130 (version-major+minor version) "/"
6131 name "-" version ".tar.xz"))
6132 (sha256
6133 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6134 (build-system meson-build-system)
6135 (native-inputs
6136 `(("gettext" ,gettext-minimal)
6137 ("glib:bin" ,glib "bin")
6138 ("gtk+:bin" ,gtk+ "bin")
6139 ("itstool" ,itstool)
6140 ("pkg-config" ,pkg-config)))
6141 ;; TODO: ahavi, gstreamer
6142 (inputs
6143 `(("grilo" ,grilo)
6144 ;("gmime" ,gmime) ; unused
6145 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6146 ("gom" ,gom)
6147 ;("gssdp" ,gssdp) ; unused
6148 ;("gupnp" ,gupnp) ; unused
6149 ;("gupnp-av" ,gupnp-av) ; unused
6150 ("json-glib" ,json-glib)
6151 ("avahi" ,avahi)
6152 ("libgdata" ,libgdata)
6153 ("libmediaart" ,libmediaart)
6154 ;("librest" ,rest) ; unused
6155 ("libsoup" ,libsoup)
6156 ("totam-pl-parser" ,totem-pl-parser)
6157 ("tracker" ,tracker))) ; unused because it's too old
6158 (arguments
6159 `(#:glib-or-gtk? #t
6160 ;;Disable lua-factory as it needs missing dependencies
6161 #:configure-flags '("-Denable-lua-factory=no")))
6162 (home-page "https://live.gnome.org/Grilo")
6163 (synopsis "Plugins for the Grilo media discovery library")
6164 (description
6165 "Grilo is a framework focused on making media discovery and browsing easy
6166 for application developers. This package provides plugins for common media
6167 discovery protocols.")
6168 (license license:lgpl2.1+)))
6169
6170 (define-public totem
6171 (package
6172 (name "totem")
6173 (version "3.38.0")
6174 (source
6175 (origin
6176 (method url-fetch)
6177 (uri (string-append "mirror://gnome/sources/totem/"
6178 (version-major+minor version) "/"
6179 "totem-" version ".tar.xz"))
6180 (sha256
6181 (base32
6182 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6183 (build-system meson-build-system)
6184 (native-inputs
6185 `(("pkg-config" ,pkg-config)
6186 ("desktop-file-utils" ,desktop-file-utils)
6187 ("gettext" ,gettext-minimal)
6188 ("gobject-introspection" ,gobject-introspection)
6189 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6190 ("itstool" ,itstool)
6191 ("xmllint" ,libxml2)
6192 ("xorg-server" ,xorg-server-for-tests)))
6193 (propagated-inputs
6194 `(("dconf" ,dconf)))
6195 (inputs
6196 `(("gtk+" ,gtk+)
6197 ("gdk-pixbuf" ,gdk-pixbuf)
6198 ("atk" ,atk)
6199 ("cairo" ,cairo)
6200 ("dbus-glib" ,dbus-glib)
6201 ("clutter" ,clutter)
6202 ("clutter-gtk" ,clutter-gtk)
6203 ("clutter-gst" ,clutter-gst)
6204 ("xorgproto" ,xorgproto)
6205 ("libxxf86vm" ,libxxf86vm)
6206 ("libxtst" ,libxtst)
6207 ("libxrandr" ,libxrandr)
6208 ("libxml2" ,libxml2)
6209 ("libsoup" ,libsoup)
6210 ("libpeas" ,libpeas)
6211 ("librsvg" ,librsvg)
6212 ("lirc" ,lirc)
6213 ("gnome-desktop" ,gnome-desktop)
6214 ("gstreamer" ,gstreamer)
6215 ("gst-plugins-base" ,gst-plugins-base)
6216 ("gst-plugins-good" ,gst-plugins-good)
6217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6218 ("adwaita-icon-theme" ,adwaita-icon-theme)
6219 ("python" ,python)
6220 ("python-pygobject" ,python-pygobject)
6221 ("totem-pl-parser" ,totem-pl-parser)
6222 ("grilo" ,grilo)
6223 ("grilo-plugins" ,grilo-plugins)
6224 ("vala" ,vala)))
6225 (arguments
6226 `(#:glib-or-gtk? #t
6227
6228 ;; Disable automatic GStreamer plugin installation via PackageKit and
6229 ;; all that.
6230 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6231
6232 ;; Do not build .a files for the plugins, it's
6233 ;; completely useless. This saves 2 MiB.
6234 "--default-library" "shared")
6235 #:phases
6236 (modify-phases %standard-phases
6237 (add-after 'unpack 'skip-gtk-update-icon-cache
6238 ;; Don't create 'icon-theme.cache'.
6239 (lambda _
6240 (substitute* "meson_post_install.py"
6241 (("gtk-update-icon-cache") "true"))
6242 #t))
6243 (add-after 'unpack 'patch-failing-test
6244 (lambda _
6245 ;; Work around test failure with GStreamer 1.18, because the test
6246 ;; relies on "und" not being mapped to a particular language:
6247 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6248 (substitute* "src/test-totem.c"
6249 (("und") "nosuchlang"))
6250 #t))
6251 (add-before
6252 'install 'disable-cache-generation
6253 (lambda _
6254 (setenv "DESTDIR" "/")
6255 #t))
6256 (add-before
6257 'check 'pre-check
6258 (lambda _
6259 ;; Tests require a running X server.
6260 (system "Xvfb :1 &")
6261 (setenv "DISPLAY" ":1")
6262 #t))
6263 (add-after
6264 'install 'wrap-totem
6265 (lambda* (#:key inputs outputs #:allow-other-keys)
6266 (let ((out (assoc-ref outputs "out"))
6267 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6268 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6269 (wrap-program (string-append out "/bin/totem")
6270 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6271 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6272 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6273 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6274 #t)))))
6275 (home-page "https://wiki.gnome.org/Apps/Videos")
6276 (synopsis "Simple media player for GNOME based on GStreamer")
6277 (description "Totem is a simple yet featureful media player for GNOME
6278 which can read a large number of file formats.")
6279 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6280 ;; to be used and distributed together with GStreamer and Totem. See
6281 ;; file://COPYING in the source distribution for details.
6282 (license license:gpl2+)))
6283
6284 (define-public rhythmbox
6285 (package
6286 (name "rhythmbox")
6287 (version "3.4.4")
6288 (source (origin
6289 (method url-fetch)
6290 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6291 (version-major+minor version) "/"
6292 "rhythmbox-" version ".tar.xz"))
6293 (sha256
6294 (base32
6295 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6296 (build-system glib-or-gtk-build-system)
6297 (arguments
6298 `(#:configure-flags
6299 (list "--enable-lirc"
6300 "--enable-python"
6301 "--enable-vala"
6302 "--with-brasero"
6303 "--with-gudev"
6304 "--with-libsecret")
6305 #:phases
6306 (modify-phases %standard-phases
6307 (add-after
6308 'install 'wrap-rhythmbox
6309 (lambda* (#:key inputs outputs #:allow-other-keys)
6310 (let ((out (assoc-ref outputs "out"))
6311 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6312 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6313 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6314 (python-path (getenv "PYTHONPATH")))
6315 (wrap-program (string-append out "/bin/rhythmbox")
6316 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6317 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6318 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6319 `("PYTHONPATH" ":" prefix (,python-path))))
6320 #t)))))
6321 (propagated-inputs
6322 `(("dconf" ,dconf)))
6323 (native-inputs
6324 `(("itstool" ,itstool)
6325 ("intltool" ,intltool)
6326 ("glib" ,glib "bin")
6327 ("gobject-introspection" ,gobject-introspection)
6328 ("desktop-file-utils" ,desktop-file-utils)
6329 ("pkg-config" ,pkg-config)
6330 ("xmllint" ,libxml2)))
6331 (inputs
6332 `(("json-glib" ,json-glib)
6333 ("tdb" ,tdb)
6334 ("gnome-desktop" ,gnome-desktop)
6335 ("python" ,python)
6336 ("python-pygobject" ,python2-pygobject)
6337 ("vala" ,vala)
6338 ("gmime" ,gmime)
6339 ("adwaita-icon-theme" ,adwaita-icon-theme)
6340 ("grilo" ,grilo)
6341 ("grilo-plugins" ,grilo-plugins)
6342 ("gstreamer" ,gstreamer)
6343 ("gst-plugins-base" ,gst-plugins-base)
6344 ("gst-plugins-good" ,gst-plugins-good)
6345 ("totem-pl-parser" ,totem-pl-parser)
6346 ("libgudev" ,libgudev)
6347 ;;("libmtp" ,libmtp) FIXME: Not detected
6348 ("libsecret" ,libsecret)
6349 ("libsoup" ,libsoup)
6350 ("libnotify" ,libnotify)
6351 ("libpeas" ,libpeas)
6352 ("lirc" ,lirc)
6353 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6354 ;;("clutter" ,clutter)
6355 ;;("clutter-gtk" ,clutter-gtk)
6356 ;;("clutter-gst" ,clutter-gst)
6357 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6358 ("atk" ,atk)
6359 ("pango" ,pango)
6360 ("gtk+" ,gtk+)
6361 ;; TODO:
6362 ;; * libgpod
6363 ;; * mx
6364 ("brasero" ,brasero)))
6365 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6366 (synopsis "Music player for GNOME")
6367 (description "Rhythmbox is a music playing application for GNOME. It
6368 supports playlists, song ratings, and any codecs installed through gstreamer.")
6369 (license license:gpl2+)))
6370
6371 (define-public eog
6372 (package
6373 (name "eog")
6374 (version "3.34.1")
6375 (source (origin
6376 (method url-fetch)
6377 (uri (string-append "mirror://gnome/sources/" name "/"
6378 (version-major+minor version) "/"
6379 name "-" version ".tar.xz"))
6380 (sha256
6381 (base32
6382 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6383 (build-system meson-build-system)
6384 (arguments
6385 `(#:configure-flags
6386 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6387 (list (string-append "-Dc_link_args=-Wl,-rpath="
6388 (assoc-ref %outputs "out") "/lib/eog"))
6389 #:phases
6390 (modify-phases %standard-phases
6391 (add-after 'unpack 'skip-gtk-update-icon-cache
6392 ;; Don't create 'icon-theme.cache'.
6393 (lambda _
6394 (substitute* "meson_post_install.py"
6395 (("gtk-update-icon-cache") "true"))
6396 #t))
6397 (add-after 'install 'wrap-eog
6398 (lambda* (#:key outputs #:allow-other-keys)
6399 (let ((out (assoc-ref outputs "out"))
6400 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6401 (wrap-program (string-append out "/bin/eog")
6402 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6403 #t)))))
6404 (propagated-inputs
6405 `(("dconf" ,dconf)))
6406 (native-inputs
6407 `(("intltool" ,intltool)
6408 ("itstool" ,itstool)
6409 ("glib" ,glib "bin")
6410 ("gobject-introspection" ,gobject-introspection)
6411 ("pkg-config" ,pkg-config)
6412 ("xmllint" ,libxml2)))
6413 (inputs
6414 `(("gnome-desktop" ,gnome-desktop)
6415 ("shared-mime-info" ,shared-mime-info)
6416 ("adwaita-icon-theme" ,adwaita-icon-theme)
6417 ("exempi" ,exempi)
6418 ("lcms" ,lcms)
6419 ("libexif" ,libexif)
6420 ("libpeas" ,libpeas)
6421 ("libjpeg" ,libjpeg-turbo)
6422 ("librsvg" ,librsvg-next)
6423 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6424 ("gtk+" ,gtk+)))
6425 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6426 (synopsis "GNOME image viewer")
6427 (description "Eye of GNOME is the GNOME image viewer. It
6428 supports image conversion, rotation, and slideshows.")
6429 (license license:gpl2+)))
6430
6431 (define-public eog-plugins
6432 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6433 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6434 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6435 ;; 'XDG_DATA_DIRS' appropriately set.
6436 (package
6437 (name "eog-plugins")
6438 (version "3.26.4")
6439 (source (origin
6440 (method url-fetch)
6441 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6442 (version-major+minor version) "/"
6443 "eog-plugins-" version ".tar.xz"))
6444 (sha256
6445 (base32
6446 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6447 (build-system gnu-build-system)
6448 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6449 (synopsis "Extensions for the Eye of GNOME image viewer")
6450 (native-inputs
6451 `(("pkg-config" ,pkg-config)
6452 ("gettext" ,gettext-minimal)))
6453 (inputs
6454 `(("eog" ,eog)
6455 ("glib" ,glib)
6456 ("gtk+" ,gtk+)
6457 ("libpeas" ,libpeas)
6458 ("libexif" ,libexif)
6459 ("libchamplain" ,libchamplain)))
6460 (description
6461 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6462 notably:
6463
6464 @itemize
6465 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6466 @item @dfn{Map}, which displays a map of where the picture was taken on the
6467 side panel;
6468 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6469 @end itemize\n")
6470
6471 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6472 ;; long suspicious byte stream that goes to a
6473 ;; ".gresource.eog_postasa_plugin" ELF section.
6474 (license license:gpl2+)))
6475
6476 (define-public libgudev
6477 (package
6478 (name "libgudev")
6479 (version "232")
6480 (source (origin
6481 (method url-fetch)
6482 (uri (string-append "mirror://gnome/sources/" name "/"
6483 version "/" name "-" version ".tar.xz"))
6484 (sha256
6485 (base32
6486 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6487 (build-system gnu-build-system)
6488 (arguments
6489 '(#:configure-flags
6490 ;; umockdev depends on libgudev.
6491 (list "--disable-umockdev")))
6492 (native-inputs
6493 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6494 ("gobject-introspection" ,gobject-introspection)
6495 ("pkg-config" ,pkg-config)))
6496 (propagated-inputs
6497 `(("glib" ,glib))) ; required by gudev-1.0.pc
6498 (inputs
6499 `(("udev" ,eudev)))
6500 (home-page "https://wiki.gnome.org/Projects/libgudev")
6501 (synopsis "GObject bindings for libudev")
6502 (description
6503 "This library provides GObject bindings for libudev. It was originally
6504 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6505 (license license:lgpl2.1+)))
6506
6507 (define-public gvfs
6508 (package
6509 (name "gvfs")
6510 (version "1.40.2")
6511 (source (origin
6512 (method url-fetch)
6513 (uri (string-append "mirror://gnome/sources/gvfs/"
6514 (version-major+minor version) "/"
6515 "gvfs-" version ".tar.xz"))
6516 (sha256
6517 (base32
6518 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6519 ;; This patch may be removed when upgrading to version 1.46.x.
6520 (patches
6521 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6522 (build-system meson-build-system)
6523 (arguments
6524 '(#:glib-or-gtk? #t
6525 #:configure-flags
6526 (list "-Dsystemduserunitdir=no"
6527 "-Dtmpfilesdir=no"
6528 ;; Otherwise, the RUNPATH will lack the final path component.
6529 (string-append "-Dc_link_args=-Wl,-rpath="
6530 (assoc-ref %outputs "out") "/lib/gvfs"))))
6531 (native-inputs
6532 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6533 ("gettext" ,gettext-minimal)
6534 ("gtk-doc" ,gtk-doc/stable)
6535 ("pkg-config" ,pkg-config)
6536 ("xsltproc" ,libxslt)))
6537 (inputs
6538 `(("avahi" ,avahi)
6539 ("docbook-xml" ,docbook-xml-4.2)
6540 ("docbook-xsl" ,docbook-xsl)
6541 ("dbus" ,dbus)
6542 ("elogind" ,elogind)
6543 ("fuse" ,fuse)
6544 ("gcr" ,gcr)
6545 ("glib" ,glib)
6546 ("gnome-online-accounts" ,gnome-online-accounts)
6547 ("libarchive" ,libarchive)
6548 ("libbluray" ,libbluray)
6549 ("libcap" ,libcap)
6550 ("libcdio-paranoia" ,libcdio-paranoia)
6551 ("libgcrypt" ,libgcrypt)
6552 ("libgdata" ,libgdata)
6553 ("libgphoto2" ,libgphoto2)
6554 ("libgudev" ,libgudev)
6555 ("libimobiledevice" ,libimobiledevice)
6556 ("libmtp" ,libmtp)
6557 ("libnfs" ,libnfs)
6558 ("libsecret" ,libsecret)
6559 ("libsmbclient" ,samba)
6560 ("libsoup" ,libsoup)
6561 ("libxml2" ,libxml2)
6562 ("openssh" ,openssh)
6563 ("polkit" ,polkit)
6564 ("udisks" ,udisks)))
6565 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6566 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6567 "CVE-2019-12448"
6568 "CVE-2019-12449"))))
6569 (home-page "https://wiki.gnome.org/gvfs/")
6570 (synopsis "Userspace virtual file system for GIO")
6571 (description
6572 "GVFS is a userspace virtual file system designed to work with the I/O
6573 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6574 to all applications using the GIO API. It also supports exposing the GVFS
6575 mounts to non-GIO applications using FUSE.
6576
6577 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6578 DAV, and others.")
6579 (license license:lgpl2.0+)))
6580
6581 (define-public gusb
6582 (package
6583 (name "gusb")
6584 (version "0.3.5")
6585 (source (origin
6586 (method git-fetch)
6587 (uri (git-reference
6588 (url "https://github.com/hughsie/libgusb")
6589 (commit version)))
6590 (file-name (git-file-name name version))
6591 (sha256
6592 (base32
6593 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6594 (build-system meson-build-system)
6595 (native-inputs
6596 `(("gobject-introspection" ,gobject-introspection)
6597 ("pkg-config" ,pkg-config)
6598 ("vala" ,vala)
6599 ("gtk-doc" ,gtk-doc/stable)))
6600 (propagated-inputs
6601 ;; Both of these are required by gusb.pc.
6602 `(("glib" ,glib)
6603 ("libusb" ,libusb)))
6604 (arguments
6605 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6606 (home-page "https://github.com/hughsie/libgusb")
6607 (synopsis "GLib binding for libusb1")
6608 (description
6609 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6610 asynchronous control, bulk and interrupt transfers with proper cancellation
6611 and integration into a mainloop. This makes it easy to integrate low level
6612 USB transfers with your high-level application or system daemon.")
6613 (license license:lgpl2.1+)))
6614
6615 (define-public simple-scan
6616 (package
6617 (name "simple-scan")
6618 (version "3.38.2")
6619 (source
6620 (origin
6621 (method url-fetch)
6622 (uri (string-append "mirror://gnome/sources/simple-scan/"
6623 (version-major+minor version) "/"
6624 "simple-scan-" version ".tar.xz"))
6625 (sha256
6626 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6627 (build-system meson-build-system)
6628 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6629 (arguments
6630 '(#:glib-or-gtk? #t))
6631 (inputs
6632 `(("gtk" ,gtk+)
6633 ("zlib" ,zlib)
6634 ("cairo" ,cairo)
6635 ("colord" ,colord)
6636 ("gdk-pixbuf" ,gdk-pixbuf)
6637 ("gusb" ,gusb)
6638 ("libsane" ,sane-backends)))
6639 (native-inputs
6640 `(("gettext" ,gettext-minimal)
6641 ("itstool" ,itstool)
6642 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6643 ("pkg-config" ,pkg-config)
6644 ("vala" ,vala)
6645 ("xmllint" ,libxml2)))
6646 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6647 (synopsis "Document and image scanner")
6648 (description
6649 "Document Scanner is an easy-to-use application that lets you connect your
6650 scanner and quickly capture images and documents in an appropriate format. It
6651 supports any scanner for which a suitable SANE driver is available, which is
6652 almost all of them.")
6653 (license license:gpl3+)))
6654
6655 (define-public eolie
6656 (package
6657 (name "eolie")
6658 (version "0.9.101")
6659 (source (origin
6660 (method url-fetch)
6661 (uri (string-append "https://adishatz.org/eolie/eolie-"
6662 version ".tar.xz"))
6663 (sha256
6664 (base32
6665 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6666 (build-system meson-build-system)
6667 (arguments
6668 `(#:glib-or-gtk? #t
6669 #:phases
6670 (modify-phases %standard-phases
6671 (add-after 'unpack 'skip-gtk-update-icon-cache
6672 ;; Don't create 'icon-theme.cache'.
6673 (lambda _
6674 (substitute* "meson_post_install.py"
6675 (("gtk-update-icon-cache") "true"))
6676 #t))
6677 (add-after 'wrap 'wrap-more
6678 (lambda* (#:key inputs outputs #:allow-other-keys)
6679 (let* ((out (assoc-ref outputs "out"))
6680 ;; These libraries must be on LD_LIBRARY_PATH.
6681 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6682 "atk" "gtk+" "gsettings-desktop-schemas"
6683 "gobject-introspection"))
6684 (path (string-join
6685 (map (lambda (lib)
6686 (string-append (assoc-ref inputs lib) "/lib"))
6687 libs)
6688 ":")))
6689 (wrap-program (string-append out "/bin/eolie")
6690 `("LD_LIBRARY_PATH" ":" prefix (,path))
6691 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6692 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6693 #t)))))
6694 (native-inputs
6695 `(("intltool" ,intltool)
6696 ("itstool" ,itstool)
6697 ("pkg-config" ,pkg-config)
6698 ("python" ,python)
6699 ("glib:bin" ,glib "bin")))
6700 (inputs
6701 `(("gobject-introspection" ,gobject-introspection)
6702 ("glib-networking" ,glib-networking)
6703 ("cairo" ,cairo)
6704 ("gtk+" ,gtk+)
6705 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6706 ("python" ,python-wrapper)
6707 ("python-dateutil" ,python-dateutil)
6708 ("python-pyfxa" ,python-pyfxa)
6709 ("python-pygobject" ,python-pygobject)
6710 ("python-pycairo" ,python-pycairo)
6711 ("python-pycrypto" ,python-pycrypto)
6712 ("libhandy" ,libhandy)
6713 ("libsecret" ,libsecret)
6714 ("gtkspell3" ,gtkspell3)
6715 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6716 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6717 ("webkitgtk" ,webkitgtk)))
6718 (home-page "https://wiki.gnome.org/Apps/Eolie")
6719 (synopsis "Web browser for GNOME")
6720 (description
6721 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6722 a secret password store, an adblocker, and a modern UI.")
6723 (license license:gpl3+)))
6724
6725 (define-public epiphany
6726 (package
6727 (name "epiphany")
6728 (version "3.34.4")
6729 (source (origin
6730 (method url-fetch)
6731 (uri (string-append "mirror://gnome/sources/epiphany/"
6732 (version-major+minor version) "/"
6733 "epiphany-" version ".tar.xz"))
6734 (sha256
6735 (base32
6736 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6737
6738 (build-system meson-build-system)
6739 (arguments
6740 '(#:glib-or-gtk? #t
6741 #:phases
6742 (modify-phases %standard-phases
6743 (add-after 'unpack 'skip-gtk-update-icon-cache
6744 ;; Don't create 'icon-theme.cache'.
6745 (lambda _
6746 (substitute* "post_install.py"
6747 (("gtk-update-icon-cache") "true"))
6748 #t))
6749 (add-after 'unpack 'disable-failing-tests
6750 (lambda _
6751 (substitute* "tests/meson.build"
6752 ;; embed_shell fails, because webkitgtk apparently no longer supports
6753 ;; overriding the ftp schema
6754 ;; web_app_utils fails due to missing network access
6755 (("(embed_shell|web_app_utils)_test,")
6756 "find_program('sh'), args: ['-c', 'exit 77'],"))
6757 #t))
6758 (add-before 'check 'pre-check
6759 (lambda _
6760 ;; Tests require a running X server.
6761 (system "Xvfb :1 &")
6762 (setenv "DISPLAY" ":1")
6763 #t)))
6764 #:configure-flags
6765 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6766 (list (string-append "-Dc_link_args=-Wl,-rpath="
6767 (assoc-ref %outputs "out") "/lib/epiphany"))))
6768 (propagated-inputs
6769 `(("dconf" ,dconf)))
6770 (native-inputs
6771 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6772 ("glib:bin" ,glib "bin") ; for glib-mkenums
6773 ("intltool" ,intltool)
6774 ("itstool" ,itstool)
6775 ("pkg-config" ,pkg-config)
6776 ("xmllint" ,libxml2)
6777 ("xorg-server" ,xorg-server-for-tests)))
6778 (inputs
6779 `(("avahi" ,avahi)
6780 ("gcr" ,gcr)
6781 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6782 ("glib-networking" ,glib-networking)
6783 ("gnome-desktop" ,gnome-desktop)
6784 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6785 ("json-glib" ,json-glib)
6786 ("iso-codes" ,iso-codes)
6787 ("libdazzle" ,libdazzle)
6788 ("libnotify" ,libnotify)
6789 ("libsecret" ,libsecret)
6790 ("libxslt" ,libxslt)
6791 ("nettle" ,nettle) ; for hogweed
6792 ("sqlite" ,sqlite)
6793 ("webkitgtk" ,webkitgtk)))
6794 (home-page "https://wiki.gnome.org/Apps/Web")
6795 (synopsis "GNOME web browser")
6796 (description
6797 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6798 principles are simplicity and standards compliance.")
6799 (license license:gpl2+)))
6800
6801 (define-public d-feet
6802 (package
6803 (name "d-feet")
6804 (version "0.3.14")
6805 (source (origin
6806 (method url-fetch)
6807 (uri (string-append "mirror://gnome/sources/" name "/"
6808 (version-major+minor version) "/"
6809 name "-" version ".tar.xz"))
6810 (sha256
6811 (base32
6812 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6813 (build-system glib-or-gtk-build-system)
6814 (arguments
6815 '(#:out-of-source? #f ; tests need to run in the source directory.
6816 #:phases
6817 (modify-phases %standard-phases
6818 (add-before
6819 'check 'pre-check
6820 (lambda _
6821 ;; The test suite requires a running X server.
6822 (system "Xvfb :1 &")
6823 (setenv "DISPLAY" ":1")
6824 ;; Don't fail on missing '/etc/machine-id'.
6825 (setenv "DBUS_FATAL_WARNINGS" "0")
6826 ;; tests.py and window.py don't meet E402:
6827 ;; E402 module level import not at top of file
6828 (substitute* "src/tests/Makefile"
6829 (("--ignore=E123") "--ignore=E123,E402"))
6830 #t))
6831 (add-after
6832 'install 'wrap-program
6833 (lambda* (#:key outputs #:allow-other-keys)
6834 (let ((prog (string-append (assoc-ref outputs "out")
6835 "/bin/d-feet")))
6836 (wrap-program prog
6837 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6838 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6839 #t))))))
6840 (native-inputs
6841 `(("intltool" ,intltool)
6842 ("itstool" ,itstool)
6843 ("pkg-config" ,pkg-config)
6844 ("python-pep8" ,python-pep8)
6845 ("xmllint" ,libxml2)
6846 ("xorg-server" ,xorg-server-for-tests)))
6847 (inputs
6848 `(("gobject-introspection" ,gobject-introspection)
6849 ("gtk+" ,gtk+)
6850 ("python" ,python-wrapper)
6851 ("hicolor-icon-theme" ,hicolor-icon-theme)
6852 ("python-pygobject" ,python-pygobject)))
6853 (home-page "https://wiki.gnome.org/Apps/DFeet")
6854 (synopsis "D-Bus debugger")
6855 (description
6856 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6857 of running programs and invoke methods on those interfaces.")
6858 (license license:gpl2+)))
6859
6860 (define-public yelp-xsl
6861 (package
6862 (name "yelp-xsl")
6863 (version "3.34.2")
6864 (source
6865 (origin
6866 (method url-fetch)
6867 (uri
6868 (string-append "mirror://gnome/sources/" name "/"
6869 (version-major+minor version) "/"
6870 name "-" version ".tar.xz"))
6871 (sha256
6872 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6873 (build-system gnu-build-system)
6874 (native-inputs
6875 `(("gettext-minimal" ,gettext-minimal)
6876 ("itstool" ,itstool)
6877 ("xmllint" ,libxml2)))
6878 (synopsis "XSL stylesheets for Yelp")
6879 (description "Yelp-XSL is a collection of programs and data files to help
6880 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6881 that can be built upon for help viewers and publishing systems. These
6882 stylesheets output JavaScript and CSS content, and reference images
6883 provided by yelp-xsl. It also redistributes copies of the jQuery and
6884 jQuery.Syntax JavaScript libraries.")
6885 (home-page "https://wiki.gnome.org/Apps/Yelp")
6886 (license
6887 (list
6888 ;; XSLT
6889 license:gpl2+
6890 ;; Images
6891 license:lgpl2.1+
6892 ;; JavaScript
6893 license:expat))))
6894
6895 (define-public yelp
6896 (package
6897 (name "yelp")
6898 (version "3.32.2")
6899 (source (origin
6900 (method url-fetch)
6901 (uri (string-append "mirror://gnome/sources/" name "/"
6902 (version-major+minor version) "/"
6903 name "-" version ".tar.xz"))
6904 (sha256
6905 (base32
6906 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6907 (build-system glib-or-gtk-build-system)
6908 (native-inputs
6909 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6910 ("intltool" ,intltool)
6911 ("itstool" ,itstool)
6912 ("pkg-config" ,pkg-config)))
6913 (propagated-inputs
6914 `(("dconf" ,dconf)))
6915 (inputs
6916 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6917 ("libxslt" ,libxslt)
6918 ("sqlite" ,sqlite)
6919 ("webkitgtk" ,webkitgtk)
6920 ("yelp-xsl" ,yelp-xsl)))
6921 (home-page "https://wiki.gnome.org/Apps/Yelp")
6922 (synopsis "GNOME help browser")
6923 (description
6924 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6925 man, info, and HTML documents. It can locate documents according to the
6926 freedesktop.org help system specification.")
6927 (license license:gpl2+)))
6928
6929 (define-public yelp-tools
6930 (package
6931 (name "yelp-tools")
6932 (version "3.32.2")
6933 (source
6934 (origin
6935 (method url-fetch)
6936 (uri
6937 (string-append "mirror://gnome/sources/" name "/"
6938 (version-major+minor version) "/"
6939 name "-" version ".tar.xz"))
6940 (sha256
6941 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6942 (build-system gnu-build-system)
6943 (native-inputs
6944 `(("pkg-config" ,pkg-config)))
6945 (inputs
6946 `(("yelp-xsl" ,yelp-xsl)))
6947 (propagated-inputs
6948 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6949 `(("itstool" ,itstool)
6950 ("xmllint" ,libxml2)
6951 ("xsltproc" ,libxslt)))
6952 (synopsis "Yelp documentation tools")
6953 (description
6954 "Yelp-tools is a collection of scripts and build utilities to help create,
6955 manage, and publish documentation for Yelp and the web. Most of the heavy
6956 lifting is done by packages like yelp-xsl and itstool. This package just
6957 wraps things up in a developer-friendly way.")
6958 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6959 (license license:gpl2+)))
6960
6961 (define-public libgee
6962 (package
6963 (name "libgee")
6964 (version "0.20.3")
6965 (source (origin
6966 (method url-fetch)
6967 (uri (string-append "mirror://gnome/sources/libgee/"
6968 (version-major+minor version) "/"
6969 "libgee-" version ".tar.xz"))
6970 (sha256
6971 (base32
6972 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6973 (build-system gnu-build-system)
6974 (arguments
6975 `(#:phases
6976 (modify-phases %standard-phases
6977 (add-after 'unpack 'fix-introspection-install-dir
6978 (lambda* (#:key outputs #:allow-other-keys)
6979 (let ((out (assoc-ref outputs "out")))
6980 (substitute* "gee/Makefile.in"
6981 (("@INTROSPECTION_GIRDIR@")
6982 (string-append out "/share/gir-1.0/"))
6983 (("@INTROSPECTION_TYPELIBDIR@")
6984 (string-append out "/lib/girepository-1.0/")))))))))
6985 (native-inputs
6986 `(("glib" ,glib "bin")
6987 ("pkg-config" ,pkg-config)))
6988 (inputs
6989 `(("glib" ,glib)
6990 ("gobject-introspection" ,gobject-introspection)))
6991 (home-page "https://wiki.gnome.org/Projects/Libgee")
6992 (synopsis "GObject collection library")
6993 (description
6994 "Libgee is a utility library providing GObject-based interfaces and
6995 classes for commonly used data structures.")
6996 (license license:lgpl2.1+)))
6997
6998 (define-public gexiv2
6999 (package
7000 (name "gexiv2")
7001 (version "0.12.2")
7002 (source (origin
7003 (method url-fetch)
7004 (uri (string-append "mirror://gnome/sources/" name "/"
7005 (version-major+minor version) "/"
7006 name "-" version ".tar.xz"))
7007 (sha256
7008 (base32
7009 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7010 (build-system meson-build-system)
7011 (native-inputs
7012 `(("gcr" ,gcr)
7013 ("glib" ,glib "bin")
7014 ("pkg-config" ,pkg-config)
7015 ("vala" ,vala)))
7016 (propagated-inputs
7017 ;; Listed in "Requires" section of gexiv2.pc
7018 `(("exiv2" ,exiv2)))
7019 (inputs
7020 `(("glib" ,glib)
7021 ("gobject-introspection" ,gobject-introspection)))
7022 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7023 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7024 (description
7025 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7026 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7027 metadata in photo and video files of various formats.")
7028 (license license:gpl2+)))
7029
7030 (define-public shotwell
7031 (package
7032 (name "shotwell")
7033 (version "0.30.11")
7034 (source (origin
7035 (method url-fetch)
7036 (uri (string-append "mirror://gnome/sources/shotwell/"
7037 (version-major+minor version) "/"
7038 "shotwell-" version ".tar.xz"))
7039 (sha256
7040 (base32
7041 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7042 (build-system meson-build-system)
7043 (arguments
7044 '(#:glib-or-gtk? #t
7045 #:phases
7046 (modify-phases %standard-phases
7047 (add-after 'unpack 'skip-gtk-update-icon-cache
7048 (lambda _
7049 (substitute* "build-aux/meson/postinstall.py"
7050 (("gtk-update-icon-cache") (which "true"))
7051 (("update-desktop-database") (which "true")))
7052 #t)))))
7053 (propagated-inputs
7054 `(("dconf" ,dconf)))
7055 (native-inputs
7056 `(("gettext" ,gettext-minimal)
7057 ("glib:bin" ,glib "bin")
7058 ("itstool" ,itstool)
7059 ("pkg-config" ,pkg-config)
7060 ("vala" ,vala)))
7061 (inputs
7062 `(("gcr" ,gcr)
7063 ("gexiv2" ,gexiv2)
7064 ("gst-plugins-base" ,gst-plugins-base)
7065 ("gstreamer" ,gstreamer)
7066 ("json-glib" ,json-glib)
7067 ("libgdata" ,libgdata)
7068 ("libgee" ,libgee)
7069 ("libgphoto2" ,libgphoto2)
7070 ("libgudev" ,libgudev)
7071 ("libraw" ,libraw)
7072 ("libsoup" ,libsoup)
7073 ("libxml2" ,libxml2)
7074 ("sqlite" ,sqlite)
7075 ("webkitgtk" ,webkitgtk)))
7076 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7077 (synopsis "Photo manager for GNOME 3")
7078 (description
7079 "Shotwell is a digital photo manager designed for the GNOME desktop
7080 environment. It allows you to import photos from disk or camera, organize
7081 them by keywords and events, view them in full-window or fullscreen mode, and
7082 share them with others via social networking and more.")
7083 (license license:lgpl2.1+)))
7084
7085 (define-public file-roller
7086 (package
7087 (name "file-roller")
7088 (version "3.38.0")
7089 (source (origin
7090 (method url-fetch)
7091 (uri (string-append "mirror://gnome/sources/file-roller/"
7092 (version-major+minor version) "/"
7093 "file-roller-" version ".tar.xz"))
7094 (sha256
7095 (base32
7096 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7097 (build-system meson-build-system)
7098 (native-inputs
7099 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7100 ("intltool" ,intltool)
7101 ("itstool" ,itstool)
7102 ("pkg-config" ,pkg-config)
7103 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7104 ("glib:bin" ,glib "bin")))
7105 ;; TODO: Add libnautilus.
7106 (inputs
7107 `(("gtk+" ,gtk+)
7108 ("gdk-pixbuf" ,gdk-pixbuf)
7109 ("json-glib" ,json-glib)
7110 ("libarchive" ,libarchive)
7111 ("libnotify" ,libnotify)
7112 ("nettle" ,nettle)
7113 ("libxml2" ,libxml2)))
7114 (synopsis "Graphical archive manager for GNOME")
7115 (description "File Roller is an archive manager for the GNOME desktop
7116 environment that allows users to view, unpack, and create compressed archives
7117 such as gzip tarballs.")
7118 (home-page "http://fileroller.sourceforge.net/")
7119 (license license:gpl2+)))
7120
7121 (define-public gnome-session
7122 (package
7123 (name "gnome-session")
7124 (version "3.34.2")
7125 (source (origin
7126 (method url-fetch)
7127 (uri (string-append "mirror://gnome/sources/" name "/"
7128 (version-major+minor version) "/"
7129 name "-" version ".tar.xz"))
7130 (sha256
7131 (base32
7132 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7133 (arguments
7134 '(#:glib-or-gtk? #t
7135 #:phases
7136 (modify-phases %standard-phases
7137 (add-before 'configure 'pre-configure
7138 (lambda* (#:key outputs #:allow-other-keys)
7139 ;; Use elogind instead of systemd.
7140 (substitute* "meson.build"
7141 (("libsystemd-login") "libelogind")
7142 (("and libsystemd_daemon_dep.found.*") ","))
7143 (substitute* "gnome-session/gsm-systemd.c"
7144 (("#include <systemd/sd-login.h>")
7145 "#include <elogind/sd-login.h>"))
7146 ;; Remove uses of the systemd daemon.
7147 (substitute* "gnome-session/gsm-autostart-app.c"
7148 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7149 #t))
7150 (add-after 'install 'wrap-gnome-session
7151 (lambda* (#:key inputs outputs #:allow-other-keys)
7152 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7153 (let ((glib (assoc-ref inputs "glib:bin"))
7154 (out (assoc-ref outputs "out")))
7155 (wrap-program (string-append out "/bin/gnome-session")
7156 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7157 #t))))
7158
7159 #:configure-flags
7160 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7161 "-Dman=false" ; FIXME: disabled because of docbook validation error
7162 "-Dsystemd_journal=false")))
7163 (build-system meson-build-system)
7164 (native-inputs
7165 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7166 ("pkg-config" ,pkg-config)
7167 ("intltool" ,intltool)
7168 ("xsltproc" ,libxslt)
7169 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7170 ("docbook-xsl" ,docbook-xsl)
7171 ("docbook-xml" ,docbook-xml)
7172 ("xmlto" ,xmlto)))
7173 (inputs
7174 `(("elogind" ,elogind)
7175 ("gnome-desktop" ,gnome-desktop)
7176 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7177 ("gtk+" ,gtk+)
7178 ("json-glib" ,json-glib)
7179 ("libsm" ,libsm)
7180 ("libxcomposite" ,libxcomposite)
7181 ("libxtst" ,libxtst)
7182 ("mesa" ,mesa)
7183 ("upower" ,upower)
7184 ("xtrans" ,xtrans)))
7185 (synopsis "Session manager for GNOME")
7186 (description
7187 "This package contains the GNOME session manager, as well as a
7188 configuration program to choose applications starting on login.")
7189 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7190 (license license:gpl2+)))
7191
7192 (define-public gjs
7193 (package
7194 (name "gjs")
7195 (version "1.58.3")
7196 (source (origin
7197 (method url-fetch)
7198 (uri (string-append "mirror://gnome/sources/" name "/"
7199 (version-major+minor version) "/"
7200 name "-" version ".tar.xz"))
7201 (sha256
7202 (base32
7203 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7204 (build-system gnu-build-system)
7205 (arguments
7206 '(#:phases
7207 (modify-phases %standard-phases
7208 (add-before
7209 'check 'pre-check
7210 (lambda _
7211 ;; The test suite requires a running X server.
7212 (system "Xvfb :1 &")
7213 (setenv "DISPLAY" ":1")
7214
7215 ;; For the missing /etc/machine-id.
7216 (setenv "DBUS_FATAL_WARNINGS" "0")
7217
7218 ;; Our mozjs-38 package does not compile the required Intl API
7219 ;; support for these failing tests.
7220 (substitute* "installed-tests/js/testLocale.js"
7221 ((".*toBeDefined.*") "")
7222 ((".*expect\\(datestr\\).*") ""))
7223 (substitute* "installed-tests/scripts/testCommandLine.sh"
7224 (("Valentín") "")
7225 (("☭") ""))
7226 #t)))))
7227 (native-inputs
7228 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7229 ("pkg-config" ,pkg-config)
7230 ("xmllint" ,libxml2)
7231 ;; For testing
7232 ("dbus-launch" ,dbus)
7233 ("dconf" ,dconf) ; required to properly store settings
7234 ("uuidgen" ,util-linux)
7235 ("xvfb" ,xorg-server-for-tests)))
7236 (propagated-inputs
7237 ;; These are all in the Requires.private field of gjs-1.0.pc.
7238 `(("cairo" ,cairo)
7239 ("gobject-introspection" ,gobject-introspection)
7240 ("mozjs" ,mozjs-60)))
7241 (inputs
7242 `(("gtk+" ,gtk+)
7243 ("readline" ,readline)))
7244 (synopsis "Javascript bindings for GNOME")
7245 (home-page "https://live.gnome.org/Gjs")
7246 (description
7247 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7248 javascript engine and the GObject introspection framework.")
7249 (license license:gpl2+)))
7250
7251 (define-public gedit
7252 (package
7253 (name "gedit")
7254 (version "3.34.1")
7255 (source (origin
7256 (method url-fetch)
7257 (uri (string-append "mirror://gnome/sources/" name "/"
7258 (version-major+minor version) "/"
7259 name "-" version ".tar.xz"))
7260 (sha256
7261 (base32
7262 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7263 (build-system meson-build-system)
7264 (arguments
7265 `(#:glib-or-gtk? #t
7266 #:configure-flags
7267 ;; Otherwise, the RUNPATH will lack the final path component.
7268 (list (string-append "-Dc_link_args=-Wl,-rpath="
7269 (assoc-ref %outputs "out") "/lib/gedit"))
7270
7271 ;; XXX: Generated .h files are sometimes used before being built.
7272 #:parallel-build? #f
7273
7274 #:phases
7275 (modify-phases %standard-phases
7276 (add-after 'unpack 'skip-gtk-update-icon-cache
7277 ;; Don't create 'icon-theme.cache'.
7278 (lambda _
7279 (substitute* "build-aux/meson/post_install.py"
7280 (("gtk-update-icon-cache") (which "true")))
7281 #t))
7282 (add-after 'unpack 'patch-libgd-fetch
7283 (lambda* (#:key inputs #:allow-other-keys)
7284 (let ((libgd (assoc-ref inputs "libgd")))
7285 ;; Calling git is unnecessary because libgd is fetched as a
7286 ;; native input to this package.
7287 (substitute* "meson.build"
7288 ((".*git.*") ""))
7289 (copy-recursively libgd "subprojects/libgd")
7290 #t)))
7291 (add-after 'install 'wrap-gedit
7292 (lambda* (#:key inputs outputs #:allow-other-keys)
7293 (let ((out (assoc-ref outputs "out"))
7294 (gtksourceview (assoc-ref inputs "gtksourceview"))
7295 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7296 (python-path (getenv "PYTHONPATH")))
7297 (wrap-program (string-append out "/bin/gedit")
7298 ;; For plugins.
7299 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7300 `("PYTHONPATH" ":" prefix (,python-path))
7301 ;; For language-specs.
7302 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7303 "/share")))))
7304 #t)))))
7305 (propagated-inputs
7306 `(("dconf" ,dconf)))
7307 (native-inputs
7308 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7309 ("intltool" ,intltool)
7310 ("itstool" ,itstool)
7311 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7312 ("gobject-introspection" ,gobject-introspection)
7313 ("libgd"
7314 ,(origin
7315 (method git-fetch)
7316 (uri (git-reference
7317 (url "https://gitlab.gnome.org/GNOME/libgd")
7318 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7319 (file-name (git-file-name "libgd" version))
7320 (sha256
7321 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7322 ("pkg-config" ,pkg-config)))
7323 (inputs
7324 `(("glib" ,glib)
7325 ("gspell" ,gspell)
7326 ("gtk+" ,gtk+)
7327 ("gtksourceview" ,gtksourceview)
7328 ("libpeas" ,libpeas)
7329 ("libxml2" ,libxml2)
7330 ("iso-codes" ,iso-codes)
7331 ("python-pygobject" ,python-pygobject)
7332 ("python" ,python)
7333 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7334 ("libx11" ,libx11)
7335 ("vala" ,vala)
7336 ("adwaita-icon-theme" ,adwaita-icon-theme)
7337 ("libsoup" ,libsoup)
7338 ("gnome-desktop" ,gnome-desktop)))
7339 (home-page "https://wiki.gnome.org/Apps/Gedit")
7340 (synopsis "GNOME text editor")
7341 (description "While aiming at simplicity and ease of use, gedit is a
7342 powerful general purpose text editor.")
7343 (license license:gpl2+)))
7344
7345 (define-public zenity
7346 (package
7347 (name "zenity")
7348 (version "3.32.0")
7349 (source (origin
7350 (method url-fetch)
7351 (uri (string-append "mirror://gnome/sources/zenity/"
7352 (version-major+minor version) "/"
7353 "zenity-" version ".tar.xz"))
7354 (sha256
7355 (base32
7356 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7357 (build-system gnu-build-system)
7358 (native-inputs
7359 `(("gettext" ,gettext-minimal)
7360 ("itstool" ,itstool)
7361 ("pkg-config" ,pkg-config)))
7362 (inputs
7363 `(("libnotify" ,libnotify)
7364 ("webkitgtk" ,webkitgtk)))
7365 (synopsis "Display graphical dialog boxes from shell scripts")
7366 (home-page "https://www.gnome.org")
7367 (description
7368 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7369 to display dialog boxes from the commandline and shell scripts.")
7370 (license license:lgpl2.0+)))
7371
7372 (define-public mutter
7373 (package
7374 (name "mutter")
7375 (version "3.34.2")
7376 (source (origin
7377 (method url-fetch)
7378 (uri (string-append "mirror://gnome/sources/" name "/"
7379 (version-major+minor version) "/"
7380 name "-" version ".tar.xz"))
7381 (sha256
7382 (base32
7383 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7384 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7385 ;; versions of cogl and clutter. As a result, many of the inputs,
7386 ;; propagated-inputs, and configure flags used in cogl and clutter are
7387 ;; needed here as well.
7388 (build-system meson-build-system)
7389 (arguments
7390 '(;; XXX: All mutter tests fail with the following error:
7391 ;; Settings schema 'org.gnome.mutter' is not installed
7392 #:tests? #f
7393 #:glib-or-gtk? #t
7394 #:configure-flags
7395 ;; TODO: Enable profiler when Sysprof is packaged.
7396 (list "-Dprofiler=false"
7397 ;; Otherwise, the RUNPATH will lack the final path component.
7398 (string-append "-Dc_link_args=-Wl,-rpath="
7399 (assoc-ref %outputs "out") "/lib:"
7400 (assoc-ref %outputs "out") "/lib/mutter-5")
7401
7402 ;; The following flags are needed for the bundled clutter
7403 (string-append "-Dxwayland_path="
7404 (assoc-ref %build-inputs "xorg-server-xwayland")
7405 "/bin/Xwayland")
7406
7407 ;; the remaining flags are needed for the bundled cogl
7408 (string-append "-Dopengl_libname="
7409 (assoc-ref %build-inputs "mesa")
7410 "/lib/libGL.so"))
7411 #:phases (modify-phases %standard-phases
7412 (add-after 'unpack 'fix-build-with-mesa-20
7413 (lambda _
7414 ;; Mimic upstream commit a444a4c5f58ea516ad for
7415 ;; compatibility with Mesa 20. Remove for 3.36.
7416 (substitute* '("src/backends/meta-egl-ext.h"
7417 "src/backends/meta-egl.c"
7418 "src/backends/meta-egl.h")
7419 (("#include <EGL/eglext\\.h>" all)
7420 (string-append all "\n#include <EGL/eglmesaext.h>")))
7421 (substitute* "cogl/cogl/meson.build"
7422 (("#include <EGL/eglext\\.h>" all)
7423 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7424 #t)))))
7425 (native-inputs
7426 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7427 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7428 ("gobject-introspection" ,gobject-introspection)
7429 ("intltool" ,intltool)
7430 ("pkg-config" ,pkg-config)
7431 ("xorg-server" ,xorg-server-for-tests)
7432 ;; For git build
7433 ("autoconf" ,autoconf)
7434 ("automake" ,automake)
7435 ("libtool" ,libtool)))
7436 (propagated-inputs
7437 `(;; libmutter.pc refers to these:
7438 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7439 ("gtk+" ,gtk+)
7440 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7441 ("atk" ,atk)
7442 ("cairo" ,cairo)
7443 ("gdk-pixbuf" ,gdk-pixbuf)
7444 ("glib" ,glib)
7445 ("json-glib" ,json-glib)
7446 ("libinput" ,libinput)
7447 ("libx11" ,libx11)
7448 ("libxcomposite" ,libxcomposite)
7449 ("libxdamage" ,libxdamage)
7450 ("libxext" ,libxext)
7451 ("libxfixes" ,libxfixes)
7452 ("libxkbcommon" ,libxkbcommon)
7453 ("libxrandr" ,libxrandr)
7454 ("mesa" ,mesa)
7455 ("pango" ,pango)
7456 ("udev" ,eudev)
7457 ("xinput" ,xinput)))
7458 (inputs
7459 `(("elogind" ,elogind)
7460 ("gnome-desktop" ,gnome-desktop)
7461 ("gnome-settings-daemon" ,gnome-settings-daemon)
7462 ("libcanberra-gtk" ,libcanberra)
7463 ("libgudev" ,libgudev)
7464 ("libice" ,libice)
7465 ("libsm" ,libsm)
7466 ("libwacom" ,libwacom)
7467 ("libxkbfile" ,libxkbfile)
7468 ("libxrandr" ,libxrandr)
7469 ("libxtst" ,libxtst)
7470 ("pipewire" ,pipewire)
7471 ("startup-notification" ,startup-notification)
7472 ("upower-glib" ,upower)
7473 ("xkeyboard-config" ,xkeyboard-config)
7474 ("xorg-server-xwayland" ,xorg-server-xwayland)
7475 ("zenity" ,zenity)))
7476 (synopsis "Window and compositing manager")
7477 (home-page "https://www.gnome.org")
7478 (description
7479 "Mutter is a window and compositing manager that displays and manages your
7480 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7481 Clutter toolkit with solid window-management logic inherited from the Metacity
7482 window manager.")
7483 (license license:gpl2+)))
7484
7485 (define-public gnome-online-accounts
7486 (package
7487 (name "gnome-online-accounts")
7488 (version "3.36.0")
7489 (source (origin
7490 (method url-fetch)
7491 (uri (string-append "mirror://gnome/sources/" name "/"
7492 (version-major+minor version) "/"
7493 name "-" version ".tar.xz"))
7494 (sha256
7495 (base32
7496 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7497 (outputs '("out" "lib"))
7498 (build-system glib-or-gtk-build-system)
7499 (arguments
7500 `(#:configure-flags
7501 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7502 #:phases
7503 (modify-phases %standard-phases
7504 (add-before 'configure 'patch-libgoa-output
7505 (lambda* (#:key outputs #:allow-other-keys)
7506 (let ((lib (assoc-ref outputs "lib")))
7507 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7508 (("@prefix@") lib)
7509 (("@exec_prefix@") lib)
7510 (("@libdir@") (string-append lib "/lib"))
7511 (("@includedir@") (string-append lib "/include"))
7512 (("@datadir@") (string-append lib "/share")))
7513 ;; Make sure gobject-introspection knows about the output
7514 ;; too (see <https://bugs.gnu.org/36535>).
7515 (setenv "outputs" "out lib")
7516 #t))))))
7517 (native-inputs
7518 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7519 ("gobject-introspection" ,gobject-introspection)
7520 ("intltool" ,intltool)
7521 ("pkg-config" ,pkg-config)
7522 ("vala" ,vala)
7523 ("xsltproc" ,libxslt)))
7524 (propagated-inputs
7525 `(("glib" ,glib) ; required by goa-1.0.pc
7526 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7527 (inputs
7528 `(("docbook-xsl" ,docbook-xsl)
7529 ("json-glib" ,json-glib)
7530 ("libsecret" ,libsecret)
7531 ("rest" ,rest)
7532 ("webkitgtk" ,webkitgtk)))
7533 (synopsis "Single sign-on framework for GNOME")
7534 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7535 (description
7536 "GNOME Online Accounts provides interfaces so that applications and
7537 libraries in GNOME can access the user's online accounts. It has providers for
7538 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7539 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7540 (license license:lgpl2.0+)))
7541
7542 (define-public evolution-data-server
7543 (package
7544 (name "evolution-data-server")
7545 (version "3.34.2")
7546 (source (origin
7547 (method url-fetch)
7548 (uri (string-append "mirror://gnome/sources/" name "/"
7549 (version-major+minor version) "/"
7550 name "-" version ".tar.xz"))
7551 (patches (search-patches "evolution-data-server-locales.patch"
7552 "evolution-data-server-libical-compat.patch"
7553 "evolution-data-server-CVE-2020-14928.patch"
7554 "evolution-data-server-CVE-2020-16117.patch"))
7555 (sha256
7556 (base32
7557 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7558 (build-system cmake-build-system)
7559 (arguments
7560 '(#:configure-flags
7561 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7562 (runpaths (map (lambda (s)
7563 (string-append lib "/evolution-data-server/" s))
7564 '("addressbook-backends" "calendar-backends"
7565 "camel-providers" "credential-modules"
7566 "registry-modules"))))
7567 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7568 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7569 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7570 "-DENABLE_VALA_BINDINGS=ON"
7571 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7572 (string-append lib "/evolution-data-server;")
7573 (string-join runpaths ";"))
7574 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7575 #:phases
7576 (modify-phases %standard-phases
7577 (add-after 'unpack 'disable-failing-tests
7578 (lambda _
7579 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7580 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7581 (delete-file-recursively "tests/book-migration")
7582 (substitute* "tests/CMakeLists.txt"
7583 (("add_subdirectory\\(book-migration\\)") ""))
7584 #t))
7585 (add-after 'unpack 'patch-paths
7586 (lambda _
7587 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7588 "tests/libedata-book/data-test-utils.c"
7589 "tests/libedata-book/test-book-cache-utils.c"
7590 "tests/libedata-cal/test-cal-cache-utils.c")
7591 (("/bin/rm") (which "rm")))
7592 #t))
7593 (add-before 'configure 'dont-override-rpath
7594 (lambda _
7595 (substitute* "CMakeLists.txt"
7596 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7597 ;; Remove it so the configure flag is respected.
7598 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7599 #t)))))
7600 (native-inputs
7601 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7602 ("gobject-introspection" ,gobject-introspection)
7603 ("gperf" ,gperf)
7604 ("intltool" ,intltool)
7605 ("pkg-config" ,pkg-config)
7606 ("vala" ,vala)
7607 ("python" ,python-wrapper)))
7608 (propagated-inputs
7609 ;; These are all in the Requires field of .pc files.
7610 `(("gtk+" ,gtk+)
7611 ("libical" ,libical)
7612 ("libsecret" ,libsecret)
7613 ("libsoup" ,libsoup)
7614 ("nss" ,nss)
7615 ("sqlite" ,sqlite)))
7616 (inputs
7617 `(("bdb" ,bdb)
7618 ("gcr" ,gcr)
7619 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7620 ("json-glib" ,json-glib)
7621 ("libcanberra" ,libcanberra)
7622 ("libgweather" ,libgweather)
7623 ("mit-krb5" ,mit-krb5)
7624 ("openldap" ,openldap)
7625 ("webkitgtk" ,webkitgtk)))
7626 (synopsis "Store address books and calendars")
7627 (home-page "https://wiki.gnome.org/Apps/Evolution")
7628 (description
7629 "This package provides a unified backend for programs that work with
7630 contacts, tasks, and calendar information. It was originally developed for
7631 Evolution (hence the name), but is now used by other packages as well.")
7632 (license license:lgpl2.0)))
7633
7634 (define-public caribou
7635 (package
7636 (name "caribou")
7637 (version "0.4.21")
7638 (source (origin
7639 (method url-fetch)
7640 (uri (string-append "mirror://gnome/sources/" name "/"
7641 (version-major+minor version) "/"
7642 name "-" version ".tar.xz"))
7643 (sha256
7644 (base32
7645 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7646 (build-system glib-or-gtk-build-system)
7647 (arguments
7648 '(#:phases
7649 (modify-phases %standard-phases
7650 (add-before
7651 'build 'pre-build
7652 (lambda* (#:key outputs #:allow-other-keys)
7653 (let ((out (assoc-ref outputs "out")))
7654 ;; Use absolute shared library path in Caribou-1.0.typelib.
7655 (substitute* "libcaribou/Makefile"
7656 (("--shared-library=libcaribou.so")
7657 (string-append "--shared-library="
7658 out "/lib/libcaribou.so")))
7659 #t)))
7660 (add-after 'install 'wrap-programs
7661 (lambda* (#:key outputs #:allow-other-keys)
7662 (let* ((out (assoc-ref outputs "out"))
7663 (python-path (getenv "PYTHONPATH"))
7664 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7665 (for-each
7666 (lambda (prog)
7667 (wrap-program prog
7668 `("PYTHONPATH" ":" prefix (,python-path))
7669 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7670 (list (string-append out "/bin/caribou-preferences")
7671 (string-append out "/libexec/antler-keyboard"))))
7672 #t)))))
7673 (native-inputs
7674 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7675 ("gobject-introspection" ,gobject-introspection)
7676 ("intltool" ,intltool)
7677 ("pkg-config" ,pkg-config)
7678 ("python" ,python)
7679 ("vala" ,vala)
7680 ("xsltproc" ,libxslt)))
7681 (propagated-inputs
7682 ;; caribou-1.0.pc refers to all these.
7683 `(("libgee" ,libgee)
7684 ("libxklavier" ,libxklavier)
7685 ("libxtst" ,libxtst)
7686 ("gtk+" ,gtk+)))
7687 (inputs
7688 `(("clutter" ,clutter)
7689 ("dconf" ,dconf)
7690 ("gtk+-2" ,gtk+-2)
7691 ("python-pygobject" ,python-pygobject)))
7692 (synopsis "Text entry and UI navigation application")
7693 (home-page "https://wiki.gnome.org/Projects/Caribou")
7694 (description
7695 "Caribou is an input assistive technology intended for switch and pointer
7696 users.")
7697 (license license:lgpl2.1)))
7698
7699 (define-public network-manager
7700 (package
7701 (name "network-manager")
7702 (version "1.24.0")
7703 (source (origin
7704 (method url-fetch)
7705 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7706 (version-major+minor version) "/"
7707 "NetworkManager-" version ".tar.xz"))
7708 (patches (search-patches "network-manager-plugin-path.patch"))
7709 (sha256
7710 (base32
7711 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7712 (modules '((guix build utils)))
7713 (snippet
7714 '(begin
7715 (substitute* "src/devices/wwan/nm-modem-manager.c"
7716 (("systemd") "elogind"))
7717 #t))))
7718 (build-system meson-build-system)
7719 (outputs '("out"
7720 "doc")) ; 8 MiB of gtk-doc HTML
7721 (arguments
7722 `(#:configure-flags
7723 (let ((out (assoc-ref %outputs "out"))
7724 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7725 "/sbin/dhclient")))
7726 (list
7727 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7728 ;; component.
7729 (string-append "-Dc_link_args=-Wl,-rpath="
7730 out "/lib:"
7731 out "/lib/NetworkManager/" ,version)
7732 "-Dsystemd_journal=false"
7733 "-Dsession_tracking=elogind"
7734 "-Dsuspend_resume=elogind"
7735 "-Dsystemdsystemunitdir=no"
7736 "-Dsession_tracking_consolekit=false"
7737 "-Ddhcpcd=no"
7738 "-Ddhcpcanon=no"
7739 "-Dcrypto=gnutls"
7740 "-Diwd=true"
7741 "-Dlibaudit=yes"
7742 "-Dqt=false"
7743 "-Ddocs=true"
7744 "--sysconfdir=/etc"
7745 "--localstatedir=/var"
7746 (string-append "-Dudev_dir="
7747 out "/lib/udev")
7748 (string-append "-Ddbus_conf_dir="
7749 out "/etc/dbus-1/system.d")
7750
7751 (string-append "-Ddhclient=" dhclient)))
7752 #:phases
7753 (modify-phases %standard-phases
7754 (add-before 'configure 'pre-configure
7755 (lambda _
7756 ;; These tests try to test aspects of network-manager's
7757 ;; functionality within restricted containers, but they don't
7758 ;; cope with being already in the Guix build jail as that jail
7759 ;; lacks some features that they would like to proxy over (like
7760 ;; a /sys mount).
7761 (substitute* "src/platform/tests/meson.build"
7762 ((".*test-address-linux.*") "")
7763 ((".*test-cleanup-linux.*") "")
7764 ((".*test-link-linux.*") "")
7765 ((".*test-route-linux.*") ""))
7766 (substitute* "src/devices/tests/meson.build"
7767 ((".*test-acd.*") "")
7768 ((".*test-lldp.*") ""))
7769 #t))
7770 (add-after 'unpack 'patch-docbook-xml
7771 (lambda* (#:key inputs #:allow-other-keys)
7772 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7773 "/xml/dtd/docbook")))
7774 (substitute* (find-files "." ".*\\.(xsl|xml)")
7775 (("http://.*/docbookx\\.dtd")
7776 (string-append xmldoc "/docbookx.dtd")))
7777 #t)))
7778 (add-before 'check 'pre-check
7779 (lambda _
7780 ;; For the missing /etc/machine-id.
7781 (setenv "DBUS_FATAL_WARNINGS" "0")
7782 #t))
7783 (add-before 'install 'no-polkit-magic
7784 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7785 (lambda _
7786 (setenv "PKEXEC_UID" "something")
7787 #t))
7788 (add-after 'install 'move-doc
7789 (lambda* (#:key outputs #:allow-other-keys)
7790 (let ((out (assoc-ref outputs "out"))
7791 (doc (assoc-ref outputs "doc")))
7792 (mkdir-p (string-append doc "/share"))
7793 (for-each (lambda (directory)
7794 (copy-recursively (string-append out directory)
7795 (string-append doc directory))
7796 (delete-file-recursively
7797 (string-append out directory)))
7798 '("/share/doc" "/share/gtk-doc"))
7799 #t))))))
7800 (propagated-inputs
7801 `(("glib" ,glib)))
7802 (native-inputs
7803 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7804 ("gtk-doc" ,gtk-doc/stable)
7805 ("gobject-introspection" ,gobject-introspection)
7806 ("docbook-xml" ,docbook-xml)
7807 ("docbook-xsl" ,docbook-xsl)
7808 ("intltool" ,intltool)
7809 ("libxslt" ,libxslt)
7810 ("libxml2" ,libxml2)
7811 ("pkg-config" ,pkg-config)
7812 ("vala" ,vala)
7813 ;; For testing.
7814 ("python" ,python-wrapper)
7815 ("python-dbus" ,python-dbus)
7816 ("python-pygobject" ,python-pygobject)))
7817 (inputs
7818 `(("curl" ,curl)
7819 ("cyrus-sasl" ,cyrus-sasl)
7820 ("dbus-glib" ,dbus-glib)
7821 ("dnsmasq" ,dnsmasq)
7822 ("eudev" ,eudev)
7823 ("gnutls" ,gnutls)
7824 ("iptables" ,iptables)
7825 ("isc-dhcp" ,isc-dhcp)
7826 ("iwd" ,iwd) ; wpa_supplicant alternative
7827 ("jansson" ,jansson)
7828 ("libaudit" ,audit)
7829 ("libgcrypt" ,libgcrypt)
7830 ("libgudev" ,libgudev)
7831 ("libndp" ,libndp)
7832 ("libnl" ,libnl)
7833 ("libsoup" ,libsoup)
7834 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7835 ("modem-manager" ,modem-manager)
7836 ("newt" ,newt) ;for the 'nmtui' console interface
7837 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7838 ("polkit" ,polkit)
7839 ("ppp" ,ppp)
7840 ("readline" ,readline)
7841 ("util-linux" ,util-linux)
7842 ("elogind" ,elogind)))
7843 (synopsis "Network connection manager")
7844 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7845 (description
7846 "NetworkManager is a system network service that manages your network
7847 devices and connections, attempting to keep active network connectivity when
7848 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7849 devices, and provides VPN integration with a variety of different VPN
7850 services.")
7851 ;; “This NetworkManager project consists of the daemon, client tools, and
7852 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7853 ;; GPL-2.0+.”
7854 (license (list license:gpl2+
7855 license:lgpl2.1+))
7856 (properties '((upstream-name . "NetworkManager")))))
7857
7858 (define-public network-manager-openvpn
7859 (package
7860 (name "network-manager-openvpn")
7861 (version "1.8.12")
7862 (source (origin
7863 (method url-fetch)
7864 (uri (string-append
7865 "mirror://gnome/sources/NetworkManager-openvpn/"
7866 (version-major+minor version)
7867 "/NetworkManager-openvpn-" version ".tar.xz"))
7868 (sha256
7869 (base32
7870 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7871 (build-system gnu-build-system)
7872 (arguments
7873 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7874 #:phases
7875 (modify-phases %standard-phases
7876 (add-after 'configure 'patch-path
7877 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7878 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7879 "/sbin/openvpn"))
7880 (modprobe (string-append (assoc-ref inputs "kmod")
7881 "/bin/modprobe"))
7882 (pretty-ovpn (string-append "\"" ovpn "\"")))
7883 (for-each
7884 (lambda (file)
7885 (substitute* file
7886 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7887 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7888 (("\"/sbin/openvpn\"") pretty-ovpn)
7889 (("/sbin/modprobe") modprobe)))
7890 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7891 #t)))))
7892 (native-inputs
7893 `(("pkg-config" ,pkg-config)
7894 ("intltool" ,intltool)))
7895 (inputs
7896 `(("gtk+" ,gtk+)
7897 ("kmod" ,kmod)
7898 ("openvpn" ,openvpn)
7899 ("network-manager" ,network-manager)
7900 ("libnma" ,libnma)
7901 ("libsecret" ,libsecret)))
7902 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7903 (synopsis "OpenVPN plug-in for NetworkManager")
7904 (description
7905 "This extension of NetworkManager allows it to take care of connections
7906 to virtual private networks (VPNs) via OpenVPN.")
7907 (license license:gpl2+)
7908 (properties `((upstream-name . "NetworkManager-openvpn")))))
7909
7910 (define-public network-manager-vpnc
7911 (package
7912 (name "network-manager-vpnc")
7913 (version "1.2.6")
7914 (source (origin
7915 (method url-fetch)
7916 (uri (string-append
7917 "mirror://gnome/sources/NetworkManager-vpnc/"
7918 (version-major+minor version)
7919 "/NetworkManager-vpnc-" version ".tar.xz"))
7920 (sha256
7921 (base32
7922 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7923 (build-system gnu-build-system)
7924 (arguments
7925 `(#:configure-flags '("--enable-absolute-paths"
7926 "--localstatedir=/var"
7927 ;; libnm-glib has been removed from network-manager
7928 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7929 "--with-libnm-glib=no")
7930 #:phases
7931 (modify-phases %standard-phases
7932 (add-after 'configure 'patch-path
7933 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7934 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7935 "/sbin/vpnc"))
7936 (modprobe (string-append (assoc-ref inputs "kmod")
7937 "/bin/modprobe"))
7938 (pretty-ovpn (string-append "\"" vpnc "\"")))
7939 (substitute* "src/nm-vpnc-service.c"
7940 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7941 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7942 (("\"/sbin/vpnc\"") pretty-ovpn)
7943 (("/sbin/modprobe") modprobe)))
7944 #t)))))
7945 (native-inputs
7946 `(("pkg-config" ,pkg-config)
7947 ("intltool" ,intltool)))
7948 (inputs
7949 `(("gtk+" ,gtk+)
7950 ("kmod" ,kmod)
7951 ("vpnc" ,vpnc)
7952 ("network-manager" ,network-manager)
7953 ("libnma" ,libnma)
7954 ("libsecret" ,libsecret)))
7955 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7956 (synopsis "VPNC plug-in for NetworkManager")
7957 (description
7958 "Support for configuring virtual private networks based on VPNC.
7959 Compatible with Cisco VPN concentrators configured to use IPsec.")
7960 (license license:gpl2+)
7961 (properties `((upstream-name . "NetworkManager-vpnc")))))
7962
7963 (define-public network-manager-openconnect
7964 (package
7965 (name "network-manager-openconnect")
7966 (version "1.2.6")
7967 (source (origin
7968 (method url-fetch)
7969 (uri (string-append
7970 "mirror://gnome/sources/NetworkManager-openconnect/"
7971 (version-major+minor version)
7972 "/NetworkManager-openconnect-" version ".tar.xz"))
7973 (sha256
7974 (base32
7975 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7976 (build-system gnu-build-system)
7977 (arguments
7978 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7979 #:phases
7980 (modify-phases %standard-phases
7981 (add-after 'configure 'patch-path
7982 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7983 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7984 "/sbin/openconnect"))
7985 (modprobe (string-append (assoc-ref inputs "kmod")
7986 "/bin/modprobe"))
7987 (pretty-ovpn (string-append "\"" openconnect "\"")))
7988 (substitute* "src/nm-openconnect-service.c"
7989 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7990 (("/sbin/modprobe") modprobe)))
7991 #t)))))
7992 (native-inputs
7993 `(("intltool" ,intltool)
7994 ("libnma" ,libnma)
7995 ("pkg-config" ,pkg-config)))
7996 (inputs
7997 `(("gcr" ,gcr)
7998 ("gtk+" ,gtk+)
7999 ("kmod" ,kmod)
8000 ("libsecret" ,libsecret)
8001 ("libxml2" ,libxml2)
8002 ("lz4" ,lz4)
8003 ("network-manager" ,network-manager)
8004 ("openconnect" ,openconnect)))
8005 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8006 (synopsis "OpenConnect plug-in for NetworkManager")
8007 (description
8008 "This extension of NetworkManager allows it to take care of connections
8009 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8010 Cisco's AnyConnect SSL VPN.")
8011 (license license:gpl2+)
8012 (properties `((upstream-name . "NetworkManager-openconnect")
8013
8014 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8015 ;; file refers to account "nm-openconnect". Specify it here
8016 ;; so that 'network-manager-service-type' creates it.
8017 (user-accounts . ("nm-openconnect"))))))
8018
8019 (define-public mobile-broadband-provider-info
8020 (package
8021 (name "mobile-broadband-provider-info")
8022 (version "20190116")
8023 (source (origin
8024 (method url-fetch)
8025 (uri (string-append
8026 "mirror://gnome/sources/"
8027 "mobile-broadband-provider-info/" version "/"
8028 "mobile-broadband-provider-info-" version ".tar.xz"))
8029 (sha256
8030 (base32
8031 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8032 (build-system gnu-build-system)
8033 (arguments
8034 `(#:tests? #f)) ; no tests
8035 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8036 (synopsis "Database of broadband connection configuration")
8037 (description "Database of broadband connection configuration.")
8038 (license license:public-domain)))
8039
8040 (define-public network-manager-applet
8041 (package
8042 (name "network-manager-applet")
8043 (version "1.20.0")
8044 (source (origin
8045 (method url-fetch)
8046 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8047 (version-major+minor version) "/"
8048 "network-manager-applet-" version ".tar.xz"))
8049 (sha256
8050 (base32
8051 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8052 (build-system meson-build-system)
8053 (arguments
8054 '(#:glib-or-gtk? #t
8055 #:configure-flags
8056 '("-Dappindicator=yes")))
8057 (native-inputs
8058 `(("intltool" ,intltool)
8059 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8060 ("gobject-introspection" ,gobject-introspection)
8061 ("gtk-doc" ,gtk-doc/stable)
8062 ("pkg-config" ,pkg-config)))
8063 (propagated-inputs
8064 ;; libnm-gtk.pc refers to all these.
8065 `(("dbus-glib" ,dbus-glib)
8066 ("gtk+" ,gtk+)
8067 ("network-manager" ,network-manager)
8068 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8069 ("libnma" ,libnma)))
8070 (inputs
8071 `(("gcr" ,gcr)
8072 ("libappindicator" ,libappindicator)
8073 ("libgudev" ,libgudev)
8074 ("libnotify" ,libnotify)
8075 ("libsecret" ,libsecret)
8076 ("libselinux" ,libselinux)
8077 ("jansson" ,jansson) ; for team support
8078 ("modem-manager" ,modem-manager)))
8079 (synopsis "Applet for managing network connections")
8080 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8081 (description
8082 "This package contains a systray applet for NetworkManager. It displays
8083 the available networks and allows users to easily switch between them.")
8084 (license license:gpl2+)))
8085
8086 (define-public libxml++
8087 (package
8088 (name "libxml++")
8089 (version "3.0.1")
8090 (source (origin
8091 (method url-fetch)
8092 (uri (string-append "mirror://gnome/sources/" name "/"
8093 (version-major+minor version) "/"
8094 name "-" version ".tar.xz"))
8095 (sha256
8096 (base32
8097 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8098 (build-system gnu-build-system)
8099 ;; libxml++-3.0.pc refers to all these.
8100 (propagated-inputs
8101 `(("libxml2" ,libxml2)
8102 ("glibmm" ,glibmm)))
8103 (native-inputs
8104 `(("perl" ,perl)
8105 ("pkg-config" ,pkg-config)))
8106 (home-page "http://libxmlplusplus.sourceforge.net/")
8107 (synopsis "C++ wrapper for XML parser library libxml2")
8108 (description
8109 "This package provides a C++ wrapper for the XML parser library
8110 libxml2.")
8111 (license license:lgpl2.1+)))
8112
8113 (define-public libxml++-2
8114 (package
8115 (inherit libxml++)
8116 (name "libxml++")
8117 (version "2.40.1")
8118 (source (origin
8119 (method url-fetch)
8120 (uri (string-append "mirror://gnome/sources/" name "/"
8121 (version-major+minor version) "/"
8122 name "-" version ".tar.xz"))
8123 (sha256
8124 (base32
8125 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8126
8127 (define-public gdm
8128 (package
8129 (name "gdm")
8130 (version "3.34.1")
8131 (source (origin
8132 (method url-fetch)
8133 (uri (string-append "mirror://gnome/sources/" name "/"
8134 (version-major+minor version) "/"
8135 name "-" version ".tar.xz"))
8136 (sha256
8137 (base32
8138 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8139 (patches (search-patches "gdm-default-session.patch"))))
8140 (build-system glib-or-gtk-build-system)
8141 (arguments
8142 '(#:configure-flags
8143 `("--without-plymouth"
8144 "--disable-systemd-journal"
8145
8146 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8147 ;; instead of having to replace it (i.e., stopping the mingetty
8148 ;; service for TTY 1 before starting GDM).
8149 "--with-initial-vt=7"
8150
8151 ;; Use '/etc/environment' for locale settings instead of the
8152 ;; systemd-specific '/etc/locale.conf'.
8153 "--with-lang-file=/etc/environment"
8154
8155 ,(string-append "--with-udevdir="
8156 (assoc-ref %outputs "out") "/lib/udev")
8157
8158 "--localstatedir=/var"
8159 ,(string-append "--with-default-path="
8160 (string-join '("/run/setuid-programs"
8161 "/run/current-system/profile/bin"
8162 "/run/current-system/profile/sbin")
8163 ":"))
8164 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8165 ;; XDG_DATA_DIRS so that it finds its schemas.
8166 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8167 #:phases
8168 (modify-phases %standard-phases
8169 (add-before
8170 'configure 'pre-configure
8171 (lambda* (#:key inputs outputs #:allow-other-keys)
8172 ;; We don't have <systemd/sd-daemon.h>.
8173 (substitute* '("common/gdm-log.c"
8174 "daemon/gdm-server.c"
8175 "daemon/gdm-session-worker.c"
8176 "daemon/gdm-session-worker-job.c")
8177 (("#include <systemd/sd-daemon\\.h>") ""))
8178 ;; Use elogind for sd-login.
8179 (substitute* '("common/gdm-common.c"
8180 "daemon/gdm-local-display-factory.c"
8181 "daemon/gdm-manager.c"
8182 "libgdm/gdm-user-switching.c")
8183 (("#include <systemd/sd-login\\.h>")
8184 "#include <elogind/sd-login.h>"))
8185 ;; Check for elogind.
8186 (substitute* '("configure")
8187 (("libsystemd")
8188 "libelogind"))
8189 ;; Look for system-installed sessions in
8190 ;; /run/current-system/profile/share.
8191 (substitute* '("libgdm/gdm-sessions.c"
8192 "daemon/gdm-session.c"
8193 "daemon/gdm-display.c"
8194 "daemon/gdm-launch-environment.c")
8195 (("DATADIR \"/x")
8196 "\"/run/current-system/profile/share/x")
8197 (("DATADIR \"/wayland")
8198 "\"/run/current-system/profile/share/wayland")
8199 (("DATADIR \"/gnome")
8200 "\"/run/current-system/profile/share/gnome"))
8201 (let ((propagate '("GDM_CUSTOM_CONF"
8202 "GDM_DBUS_DAEMON"
8203 "GDM_X_SERVER"
8204 "GDM_X_SESSION"
8205 ;; XXX: Remove this once GNOME Shell is
8206 ;; a dependency of GDM.
8207 "XDG_DATA_DIRS")))
8208 (substitute* "daemon/gdm-session.c"
8209 (("set_up_session_environment \\(self\\);")
8210 (apply string-append
8211 "set_up_session_environment (self);\n"
8212 (map (lambda (name)
8213 (string-append
8214 "gdm_session_set_environment_variable "
8215 "(self, \"" name "\","
8216 "g_getenv (\"" name "\"));\n"))
8217 propagate)))))
8218 ;; Find the configuration file using an environment variable.
8219 (substitute* '("common/gdm-settings.c")
8220 (("GDM_CUSTOM_CONF")
8221 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8222 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8223 " : GDM_CUSTOM_CONF)")))
8224 ;; Use service-supplied path to X.
8225 (substitute* '("daemon/gdm-server.c")
8226 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8227 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8228 (substitute* '("daemon/gdm-wayland-session.c"
8229 "daemon/gdm-x-session.c")
8230 (("\"dbus-daemon\"")
8231 "g_getenv (\"GDM_DBUS_DAEMON\")")
8232 (("X_SERVER")
8233 "g_getenv (\"GDM_X_SERVER\")")
8234 (("GDMCONFDIR \"/Xsession\"")
8235 "g_getenv (\"GDM_X_SESSION\")"))
8236 ;; Use an absolute path for GNOME Session.
8237 (substitute* "daemon/gdm-launch-environment.c"
8238 (("\"gnome-session\"")
8239 (string-append "\"" (assoc-ref inputs "gnome-session")
8240 "/bin/gnome-session\"")))
8241 ;; Do not automatically select the placeholder session.
8242 (substitute* "daemon/gdm-session.c"
8243 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8244 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8245 "(g_strcmp0(search_dirs[i], \""
8246 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8247 "\") == 0 && "
8248 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8249 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8250 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8251 #t))
8252 ;; GDM requires that there be at least one desktop entry
8253 ;; file. This phase installs a hidden one that simply
8254 ;; fails. This enables users to use GDM with a
8255 ;; '~/.xsession' script with no other desktop entry files.
8256 ;; See <https://bugs.gnu.org/35068>.
8257 (add-after 'install 'install-placeholder-desktop-entry
8258 (lambda* (#:key inputs outputs #:allow-other-keys)
8259 (let* ((out (assoc-ref outputs "out"))
8260 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8261 (fail (string-append sessions "/fail.desktop")))
8262 (mkdir-p sessions)
8263 (with-output-to-file fail
8264 (lambda ()
8265 (for-each
8266 display
8267 '("[Desktop Entry]\n"
8268 "Encoding=UTF-8\n"
8269 "Type=Application\n"
8270 "Name=Fail\n"
8271 "Comment=This session fails immediately.\n"
8272 "NoDisplay=true\n"
8273 "Exec=false\n"))))
8274 #t)))
8275 ;; GDM needs GNOME Session to run these applications. We link
8276 ;; their autostart files in `share/gdm/greeter/autostart'
8277 ;; because GDM explicitly tells GNOME Session to look there.
8278 ;;
8279 ;; XXX: GNOME Shell should be linked here too, but currently
8280 ;; GNOME Shell depends on GDM.
8281 (add-after 'install 'link-autostart-files
8282 (lambda* (#:key inputs outputs #:allow-other-keys)
8283 (let* ((out (assoc-ref outputs "out"))
8284 (autostart (string-append out "/share/gdm/"
8285 "greeter/autostart"))
8286 (settings (assoc-ref inputs "gnome-settings-daemon")))
8287 (mkdir-p autostart)
8288 (with-directory-excursion autostart
8289 (for-each (lambda (desktop)
8290 (symlink desktop (basename desktop)))
8291 (find-files (string-append settings "/etc/xdg"))))
8292 #t))))))
8293 (native-inputs
8294 `(("dconf" ,dconf)
8295 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8296 ("gobject-introspection" ,gobject-introspection)
8297 ("intltool" ,intltool)
8298 ("itstool" ,itstool)
8299 ("pkg-config" ,pkg-config)
8300 ("xmllint" ,libxml2)))
8301 (inputs
8302 `(("accountsservice" ,accountsservice)
8303 ("check" ,check-0.14) ;for testing
8304 ("elogind" ,elogind)
8305 ("gnome-session" ,gnome-session)
8306 ("gnome-settings-daemon" ,gnome-settings-daemon)
8307 ("gtk+" ,gtk+)
8308 ("iso-codes" ,iso-codes)
8309 ("libcanberra" ,libcanberra)
8310 ("linux-pam" ,linux-pam)))
8311 (synopsis "Display manager for GNOME")
8312 (home-page "https://wiki.gnome.org/Projects/GDM/")
8313 (description
8314 "GNOME Display Manager is a system service that is responsible for
8315 providing graphical log-ins and managing local and remote displays.")
8316 (license license:gpl2+)))
8317
8318 (define-public libgtop
8319 (package
8320 (name "libgtop")
8321 (version "2.40.0")
8322 (source (origin
8323 (method url-fetch)
8324 (uri (string-append "mirror://gnome/sources/libgtop/"
8325 (version-major+minor version) "/"
8326 "libgtop-" version ".tar.xz"))
8327 (sha256
8328 (base32
8329 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8330 (build-system gnu-build-system)
8331 (native-inputs
8332 `(("gobject-introspection" ,gobject-introspection)
8333 ("intltool" ,intltool)
8334 ("perl" ,perl)
8335 ("pkg-config" ,pkg-config)))
8336 (propagated-inputs
8337 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8338 (synopsis "Portable system access library")
8339 (home-page "https://www.gnome.org/")
8340 (description
8341 "LibGTop is a library to get system specific data such as CPU and memory
8342 usage and information about running processes.")
8343 (license license:gpl2+)))
8344
8345 (define-public gnome-bluetooth
8346 (package
8347 (name "gnome-bluetooth")
8348 (version "3.34.2")
8349 (source (origin
8350 (method url-fetch)
8351 (uri (string-append "mirror://gnome/sources/" name "/"
8352 (version-major+minor version) "/"
8353 name "-" version ".tar.xz"))
8354 (sha256
8355 (base32
8356 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8357 (build-system meson-build-system)
8358 (native-inputs
8359 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8360 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8361 ("gobject-introspection" ,gobject-introspection)
8362 ("intltool" ,intltool)
8363 ("pkg-config" ,pkg-config)
8364 ("xmllint" ,libxml2)))
8365 (propagated-inputs
8366 ;; gnome-bluetooth-1.0.pc refers to all these.
8367 `(("glib" ,glib)
8368 ("gtk+" ,gtk+)))
8369 (inputs
8370 `(("eudev" ,eudev)
8371 ("libcanberra" ,libcanberra)
8372 ("libnotify" ,libnotify)))
8373 (synopsis "GNOME Bluetooth subsystem")
8374 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8375 (description
8376 "This package contains tools for managing and manipulating Bluetooth
8377 devices using the GNOME desktop.")
8378 (license license:lgpl2.1+)))
8379
8380 (define-public gnome-control-center
8381 (package
8382 (name "gnome-control-center")
8383 (version "3.34.2")
8384 (source (origin
8385 (method url-fetch)
8386 (uri (string-append "mirror://gnome/sources/" name "/"
8387 (version-major+minor version) "/"
8388 name "-" version ".tar.xz"))
8389 (sha256
8390 (base32
8391 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8392 (build-system meson-build-system)
8393 (arguments
8394 '(#:glib-or-gtk? #t
8395 #:configure-flags
8396 (list "-Dcheese=false"
8397 (string-append "-Dgnome_session_libexecdir="
8398 (assoc-ref %build-inputs "gnome-session")
8399 "/libexec"))
8400 #:phases
8401 (modify-phases %standard-phases
8402 (add-before 'configure 'patch-paths
8403 (lambda* (#:key inputs #:allow-other-keys)
8404 (let ((libc (assoc-ref inputs "libc"))
8405 (tzdata (assoc-ref inputs "tzdata"))
8406 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8407 (nm-applet (assoc-ref inputs "network-manager-applet"))
8408 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8409 (substitute* "panels/datetime/tz.h"
8410 (("/usr/share/zoneinfo/zone.tab")
8411 (string-append tzdata "/share/zoneinfo/zone.tab")))
8412 (substitute* "tests/datetime/test-endianess.c"
8413 (("/usr/share/locale")
8414 (string-append libc "/share/locale")))
8415 (substitute* "panels/region/cc-region-panel.c"
8416 (("\"gkbd-keyboard-display")
8417 (string-append "\"" libgnomekbd
8418 "/bin/gkbd-keyboard-display")))
8419 (substitute* '("panels/network/net-device-wifi.c"
8420 "panels/network/net-device.c"
8421 "panels/network/connection-editor/net-connection-editor.c")
8422 (("\"nm-connection-editor")
8423 (string-append "\"" nm-applet
8424 "/bin/nm-connection-editor")))
8425 (substitute* '("panels/user-accounts/run-passwd.c")
8426 (("/usr/bin/passwd")
8427 "/run/setuid-programs/passwd"))
8428 (substitute* "panels/info/cc-info-overview-panel.c"
8429 (("DATADIR \"/gnome/gnome-version.xml\"")
8430 (string-append "\"" gnome-desktop
8431 "/share/gnome/gnome-version.xml\"")))
8432 #t)))
8433 (add-after 'unpack 'skip-gtk-update-icon-cache
8434 ;; Don't create 'icon-theme.cache'.
8435 (lambda _
8436 (substitute* "build-aux/meson/meson_post_install.py"
8437 (("gtk-update-icon-cache") (which "true")))
8438 #t)))))
8439 (native-inputs
8440 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8441 ("intltool" ,intltool)
8442 ("pkg-config" ,pkg-config)
8443 ("xsltproc" ,libxslt)
8444 ;; For tests
8445 ("hicolor-icon-theme" ,hicolor-icon-theme)
8446 ("python-dbusmock" ,python-dbusmock)
8447 ("xorg-server" ,xorg-server-for-tests)))
8448 (inputs
8449 `(("accountsservice" ,accountsservice)
8450 ("clutter-gtk" ,clutter-gtk)
8451 ("colord-gtk" ,colord-gtk)
8452 ("cups" ,cups)
8453 ("dconf" ,dconf)
8454 ("docbook-xsl" ,docbook-xsl)
8455 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8456 ("gnome-bluetooth" ,gnome-bluetooth)
8457 ("gnome-desktop" ,gnome-desktop)
8458 ("gnome-online-accounts" ,gnome-online-accounts)
8459 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8460 ("gnome-session" ,gnome-session)
8461 ("gnome-settings-daemon" ,gnome-settings-daemon)
8462 ("grilo" ,grilo)
8463 ("gsound" ,gsound)
8464 ("ibus" ,ibus)
8465 ("libcanberra" ,libcanberra)
8466 ("libgnomekbd" ,libgnomekbd)
8467 ("libgudev" ,libgudev)
8468 ("libgtop" ,libgtop)
8469 ("libnma" ,libnma)
8470 ("libpwquality" ,libpwquality)
8471 ("libsecret" ,libsecret)
8472 ("libsoup" ,libsoup)
8473 ("libxml2" ,libxml2)
8474 ("libwacom" ,libwacom)
8475 ("mesa" ,mesa)
8476 ("mit-krb5" ,mit-krb5)
8477 ("modem-manager" ,modem-manager)
8478 ("network-manager-applet" ,network-manager-applet)
8479 ("polkit" ,polkit)
8480 ("pulseaudio" ,pulseaudio)
8481 ("smbclient" ,samba)
8482 ("tzdata" ,tzdata)
8483 ("udisks" ,udisks)
8484 ("upower" ,upower)))
8485 (synopsis "Utilities to configure the GNOME desktop")
8486 (home-page "https://www.gnome.org/")
8487 (description
8488 "This package contains configuration applets for the GNOME desktop,
8489 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8490 properties, sound setup, desktop theme and background, user interface
8491 properties, screen resolution, and other GNOME parameters.")
8492 (license license:gpl2+)))
8493
8494 (define-public gnome-shell
8495 (package
8496 (name "gnome-shell")
8497 (version "3.34.5")
8498 (source (origin
8499 (method url-fetch)
8500 (uri (string-append "mirror://gnome/sources/" name "/"
8501 (version-major+minor version) "/"
8502 name "-" version ".tar.xz"))
8503 (sha256
8504 (base32
8505 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8506 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8507 "gnome-shell-theme.patch"
8508 "gnome-shell-disable-test.patch"))
8509 (modules '((guix build utils)))
8510 (snippet
8511 #~(begin
8512 ;; Copy images for use on the GDM log-in screen.
8513 (copy-file #$(file-append %artwork-repository
8514 "/slim/0.x/background.png")
8515 "data/theme/guix-background.png")
8516 (copy-file #$(file-append %artwork-repository
8517 "/logo/Guix-horizontal-white.svg")
8518 "data/theme/guix-logo.svg")
8519 #t))))
8520 (build-system meson-build-system)
8521 (arguments
8522 `(#:glib-or-gtk? #t
8523 #:disallowed-references ((,glib "bin")
8524 ,inkscape ,libxslt
8525 ,ruby-sass)
8526 #:configure-flags
8527 (list "-Dsystemd=false"
8528 ;; Otherwise, the RUNPATH will lack the final path component.
8529 (string-append "-Dc_link_args=-Wl,-rpath="
8530 (assoc-ref %outputs "out")
8531 "/lib/gnome-shell"))
8532
8533 #:modules ((guix build meson-build-system)
8534 (guix build utils)
8535 (srfi srfi-1))
8536
8537 #:phases
8538 (modify-phases %standard-phases
8539 (add-after 'unpack 'fix-keysdir
8540 (lambda* (#:key outputs #:allow-other-keys)
8541 (let* ((out (assoc-ref outputs "out"))
8542 (keysdir (string-append
8543 out "/share/gnome-control-center/keybindings")))
8544 (substitute* "meson.build"
8545 (("keysdir =.*")
8546 (string-append "keysdir = '" keysdir "'\n")))
8547 #t)))
8548 (add-before 'configure 'convert-logo-to-png
8549 (lambda* (#:key inputs #:allow-other-keys)
8550 ;; Convert the logo from SVG to PNG.
8551 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8552 "data/theme/guix-logo.svg")))
8553 (add-before 'configure 'record-absolute-file-names
8554 (lambda* (#:key inputs #:allow-other-keys)
8555 (substitute* "js/misc/ibusManager.js"
8556 (("'ibus-daemon'")
8557 (string-append "'" (assoc-ref inputs "ibus")
8558 "/bin/ibus-daemon'")))
8559 (substitute* "js/ui/status/keyboard.js"
8560 (("'gkbd-keyboard-display'")
8561 (string-append "'" (assoc-ref inputs "libgnomekbd")
8562 "/bin/gkbd-keyboard-display'")))
8563 #t))
8564 (add-before 'check 'pre-check
8565 (lambda* (#:key inputs #:allow-other-keys)
8566 ;; Tests require a running X server.
8567 (system "Xvfb :1 &")
8568 (setenv "DISPLAY" ":1")
8569 #t))
8570 (add-after 'install 'wrap-programs
8571 (lambda* (#:key inputs outputs #:allow-other-keys)
8572 (let ((out (assoc-ref outputs "out"))
8573 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8574 (python-path (getenv "PYTHONPATH")))
8575 (wrap-program (string-append out "/bin/gnome-shell")
8576 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8577 ;; FIXME: gnome-shell loads these libraries with unqualified
8578 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8579 ;; alternative might be to patch gnome-shell.
8580 `("LD_LIBRARY_PATH" ":" prefix
8581 ,(map (lambda (pkg)
8582 (string-append (assoc-ref inputs pkg) "/lib"))
8583 '("gdk-pixbuf"
8584 "gnome-bluetooth" "librsvg" "libgweather"))))
8585 (for-each
8586 (lambda (prog)
8587 (wrap-program (string-append out "/bin/" prog)
8588 `("PYTHONPATH" ":" prefix (,python-path))
8589 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8590 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8591 #t)))
8592 (replace 'glib-or-gtk-wrap
8593 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8594 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8595 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8596 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8597 ;; phase. Fix that since we don't need these.
8598 (wrap #:inputs (fold alist-delete inputs
8599 '("inkscape" "intltool" "glib:bin"))
8600 #:outputs outputs)))))))
8601 (native-inputs
8602 `(("asciidoc" ,asciidoc)
8603 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8604 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8605 ("gobject-introspection" ,gobject-introspection)
8606 ("inkscape" ,inkscape)
8607 ("intltool" ,intltool)
8608 ("pkg-config" ,pkg-config)
8609 ("python" ,python)
8610 ("ruby-sass" ,ruby-sass)
8611 ("sassc" ,sassc)
8612 ("xsltproc" ,libxslt)
8613 ;; For tests
8614 ("xorg-server" ,xorg-server-for-tests)))
8615 (inputs
8616 `(("accountsservice" ,accountsservice)
8617 ("caribou" ,caribou)
8618 ("docbook-xsl" ,docbook-xsl)
8619 ("evolution-data-server" ,evolution-data-server)
8620 ("gcr" ,gcr)
8621 ("gdm" ,gdm)
8622 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8623 ("gjs" ,gjs)
8624 ("gnome-autoar" ,gnome-autoar)
8625 ("gnome-bluetooth" ,gnome-bluetooth)
8626 ("gnome-desktop" ,gnome-desktop)
8627 ("gnome-settings-daemon" ,gnome-settings-daemon)
8628 ("gst-plugins-base" ,gst-plugins-base)
8629 ("ibus" ,ibus)
8630 ("libcanberra" ,libcanberra)
8631 ("libcroco" ,libcroco)
8632 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8633 ("libgweather" ,libgweather)
8634 ("libnma" ,libnma)
8635 ("libsoup" ,libsoup)
8636 ("mesa-headers" ,mesa-headers)
8637 ("mutter" ,mutter)
8638 ("network-manager-applet" ,network-manager-applet)
8639 ("polkit" ,polkit)
8640 ("pulseaudio" ,pulseaudio)
8641 ("python-pygobject" ,python-pygobject)
8642 ("startup-notification" ,startup-notification)
8643 ("telepathy-logger" ,telepathy-logger)
8644 ("upower" ,upower)
8645 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8646 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8647 ("librsvg" ,librsvg)
8648 ("geoclue" ,geoclue)))
8649 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8650 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8651 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8652 (synopsis "Desktop shell for GNOME")
8653 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8654 (description
8655 "GNOME Shell provides core user interface functions for the GNOME desktop,
8656 like switching to windows and launching applications.")
8657 (license license:gpl2+)))
8658
8659 (define-public gtk-vnc
8660 (package
8661 (name "gtk-vnc")
8662 (version "1.0.0")
8663 (source
8664 (origin
8665 (method url-fetch)
8666 (uri
8667 (string-append "mirror://gnome/sources/" name "/"
8668 (version-major+minor version) "/"
8669 name "-" version ".tar.xz"))
8670 (sha256
8671 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8672 (build-system meson-build-system)
8673 (arguments
8674 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8675 (native-inputs
8676 `(("gjs" ,gjs)
8677 ("glib:bin" ,glib "bin")
8678 ("gobject-introspection" ,gobject-introspection)
8679 ("intltool" ,intltool)
8680 ("node" ,node)
8681 ("perl" ,perl)
8682 ("pkg-config" ,pkg-config)
8683 ("python" ,python-wrapper)
8684 ("vala" ,vala)))
8685 (inputs
8686 `(("cairo" ,cairo)
8687 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8688 ("glib" ,glib)
8689 ("gnutls" ,gnutls)
8690 ("libgcrypt" ,libgcrypt)
8691 ("libsasl" ,cyrus-sasl)
8692 ("pulseaudio" ,pulseaudio)
8693 ("x11" ,libx11)
8694 ("zlib" ,zlib)))
8695 (propagated-inputs
8696 `(("gtk+" ,gtk+)))
8697 (synopsis "VNC client viewer widget for GTK+")
8698 (description "GTK-VNC is a project providing client side APIs for the RFB
8699 protocol / VNC remote desktop technology. It is built using coroutines allowing
8700 it to be completely asynchronous while remaining single threaded. It provides a
8701 core C library, and bindings for Python (PyGTK).")
8702 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8703 (license license:lgpl2.1+)))
8704
8705 (define-public gnome-autoar
8706 (package
8707 (name "gnome-autoar")
8708 (version "0.3.1")
8709 (source (origin
8710 (method url-fetch)
8711 (uri (string-append "mirror://gnome/sources/" name "/"
8712 (version-major+minor version) "/"
8713 name "-" version ".tar.xz"))
8714 (sha256
8715 (base32
8716 "1y6hh5dldhdq7mpbmd571zl0yadfackvifhnxvykkqqddwz72y0f"))))
8717 (build-system glib-or-gtk-build-system)
8718 (native-inputs
8719 `(("gobject-introspection" ,gobject-introspection)
8720 ("pkg-config" ,pkg-config)))
8721 (propagated-inputs
8722 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8723 (inputs
8724 `(("gtk+" ,gtk+)))
8725 (synopsis "Archives integration support for GNOME")
8726 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8727 (description
8728 "GNOME Autoar is a library which makes creating and extracting archives
8729 easy, safe, and automatic.")
8730 (license license:lgpl2.1+)))
8731
8732 (define-public tracker
8733 (package
8734 (name "tracker")
8735 (version "2.3.5")
8736 (source (origin
8737 (method url-fetch)
8738 (uri (string-append "mirror://gnome/sources/tracker/"
8739 (version-major+minor version) "/"
8740 "tracker-" version ".tar.xz"))
8741 (sha256
8742 (base32
8743 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8744 (build-system meson-build-system)
8745 (arguments
8746 `(#:glib-or-gtk? #t
8747 #:configure-flags
8748 ;; Otherwise, the RUNPATH will lack the final path component.
8749 (list (string-append "-Dc_link_args=-Wl,-rpath="
8750 (assoc-ref %outputs "out") "/lib:"
8751 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8752 #:phases
8753 (modify-phases %standard-phases
8754 (add-before 'check 'pre-check
8755 (lambda _
8756 ;; Some tests expect to write to $HOME.
8757 (setenv "HOME" "/tmp")
8758 #t)))))
8759 (native-inputs
8760 `(("glib:bin" ,glib "bin")
8761 ("gobject-introspection" ,gobject-introspection)
8762 ("python-pygobject" ,python-pygobject)
8763 ("intltool" ,intltool)
8764 ("pkg-config" ,pkg-config)
8765 ("vala" ,vala)))
8766 (inputs
8767 `(("dbus" ,dbus)
8768 ("sqlite" ,sqlite)
8769 ("libxml2" ,libxml2)
8770 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8771 ("json-glib" ,json-glib)
8772 ("libsoup" ,libsoup)))
8773 (synopsis "Metadata database, indexer and search tool")
8774 (home-page "https://wiki.gnome.org/Projects/Tracker")
8775 (description
8776 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8777
8778 It is a middleware component aimed at desktop application developers who want
8779 their apps to browse and search user content. It's not designed to be used
8780 directly by desktop users, but it provides a commandline tool named
8781 @command{tracker} for the adventurous.
8782
8783 Tracker allows your application to instantly perform full-text searches across
8784 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8785 example. This is achieved by indexing the user's home directory in the
8786 background.
8787
8788 Tracker also allows your application to query and list content that the user
8789 has stored. For example, GNOME Music displays all the music files that are
8790 found by Tracker. This means that GNOME Music doesn't need to maintain a
8791 database of its own.
8792
8793 If you need to go beyond simple searches, Tracker is also a linked data
8794 endpoint and it understands SPARQL. ")
8795 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8796 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8797 ;; libstemmer is bsd-3 and the rest is gpl2+.
8798 (license (list license:gpl2+
8799 license:bsd-3
8800 license:lgpl2.1+))))
8801
8802 (define-public tracker-miners
8803 (package
8804 (name "tracker-miners")
8805 (version "2.3.4")
8806 (source (origin
8807 (method url-fetch)
8808 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8809 (version-major+minor version)
8810 "/tracker-miners-" version ".tar.xz"))
8811 (sha256
8812 (base32
8813 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8814 (build-system meson-build-system)
8815 (arguments
8816 `(#:glib-or-gtk? #t
8817 #:configure-flags
8818 (list "-Dminer_rss=false" ; libgrss is required.
8819 ;; Ensure the RUNPATH contains all installed library locations.
8820 (string-append "-Dc_link_args=-Wl,-rpath="
8821 (assoc-ref %outputs "out")
8822 "/lib/tracker-miners-2.0")
8823 ;; TODO: Enable functional tests. Currently, the following error
8824 ;; appears:
8825 ;; Exception: The functional tests require DConf to be the default
8826 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8827 "-Dfunctional_tests=false")))
8828 (native-inputs
8829 `(("dbus" ,dbus)
8830 ("intltool" ,intltool)
8831 ("glib:bin" ,glib "bin")
8832 ("gobject-introspection" ,gobject-introspection)
8833 ("pkg-config" ,pkg-config)
8834 ("python-pygobject" ,python-pygobject)))
8835 (inputs
8836 `(("exempi" ,exempi)
8837 ("ffmpeg" ,ffmpeg)
8838 ("flac" ,flac)
8839 ("giflib" ,giflib)
8840 ("glib" ,glib)
8841 ("gstreamer" ,gstreamer)
8842 ("icu4c" ,icu4c)
8843 ("libcue" ,libcue)
8844 ("libexif" ,libexif)
8845 ("libgsf" ,libgsf)
8846 ("libgxps" ,libgxps)
8847 ("libiptcdata" ,libiptcdata)
8848 ("libjpeg" ,libjpeg-turbo)
8849 ("libosinfo" ,libosinfo)
8850 ("libpng" ,libpng)
8851 ("libseccomp" ,libseccomp)
8852 ("libtiff" ,libtiff)
8853 ("libvorbis" ,libvorbis)
8854 ("libxml2" ,libxml2)
8855 ("poppler" ,poppler)
8856 ("taglib" ,taglib)
8857 ("totem-pl-parser" ,totem-pl-parser)
8858 ("tracker" ,tracker)
8859 ("upower" ,upower)
8860 ("zlib" ,zlib)))
8861 (synopsis "Metadata database, indexer and search tool")
8862 (home-page "https://wiki.gnome.org/Projects/Tracker")
8863 (description
8864 "Tracker is an advanced framework for first class objects with associated
8865 metadata and tags. It provides a one stop solution for all metadata, tags,
8866 shared object databases, search tools and indexing.")
8867 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8868 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8869 (license (list license:gpl2+
8870 license:lgpl2.1+
8871 license:lgpl2.0+))))
8872
8873 (define-public nautilus
8874 (package
8875 (name "nautilus")
8876 (version "3.34.2")
8877 (source (origin
8878 (method url-fetch)
8879 (uri (string-append "mirror://gnome/sources/" name "/"
8880 (version-major+minor version) "/"
8881 name "-" version ".tar.xz"))
8882 (sha256
8883 (base32
8884 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8885 (build-system meson-build-system)
8886 (arguments
8887 '(#:glib-or-gtk? #t
8888 #:phases
8889 (modify-phases %standard-phases
8890 (add-after 'unpack 'skip-gtk-update-icon-cache
8891 ;; Don't create 'icon-theme.cache'.
8892 (lambda _
8893 (substitute* "build-aux/meson/postinstall.py"
8894 (("gtk-update-icon-cache") "true"))
8895 #t)))
8896 ;; XXX: FAIL: check-nautilus
8897 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8898 #:tests? #f))
8899 (native-inputs
8900 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8901 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8902 ("gobject-introspection" ,gobject-introspection)
8903 ("intltool" ,intltool)
8904 ("pkg-config" ,pkg-config)))
8905 (inputs
8906 `(("dconf" ,dconf)
8907 ("gexiv2" ,gexiv2)
8908 ("gvfs" ,gvfs)
8909 ("exempi" ,exempi)
8910 ("gnome-desktop" ,gnome-desktop)
8911 ("gnome-autoar" ,gnome-autoar)
8912 ("gst-plugins-base" ,gst-plugins-base)
8913 ("libseccomp" ,libseccomp)
8914 ("libselinux" ,libselinux)
8915 ("tracker" ,tracker)
8916 ("tracker-miners" ,tracker-miners)
8917 ;; XXX: gtk+ is required by libnautilus-extension.pc
8918 ;;
8919 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8920 ;; package. See:
8921 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8922 ("gtk+" ,gtk+)
8923 ("libexif" ,libexif)
8924 ("libxml2" ,libxml2)))
8925 (synopsis "File manager for GNOME")
8926 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8927 (description
8928 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8929 design and behaviour, giving the user a simple way to navigate and manage its
8930 files.")
8931 (license license:gpl2+)))
8932
8933 (define-public baobab
8934 (package
8935 (name "baobab")
8936 (version "3.38.0")
8937 (source (origin
8938 (method url-fetch)
8939 (uri (string-append
8940 "mirror://gnome/sources/" name "/"
8941 (version-major+minor version) "/"
8942 name "-" version ".tar.xz"))
8943 (sha256
8944 (base32
8945 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8946 (build-system meson-build-system)
8947 (arguments
8948 '(#:glib-or-gtk? #t))
8949 (native-inputs
8950 `(("intltool" ,intltool)
8951 ("pkg-config" ,pkg-config)
8952 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8953 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8954 ("itstool" ,itstool)
8955 ("xmllint" ,libxml2)
8956 ("glib" ,glib "bin")
8957 ("vala" ,vala)))
8958 (inputs
8959 `(("gtk+" ,gtk+)))
8960 (synopsis "Disk usage analyzer for GNOME")
8961 (description
8962 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8963 usage in the GNOME desktop environment. It can easily scan device volumes or
8964 a specific user-requested directory branch (local or remote). Once the scan
8965 is complete it provides a graphical representation of each selected folder.")
8966 (home-page "https://wiki.gnome.org/Apps/Baobab")
8967 (license license:gpl2+)))
8968
8969 (define-public gnome-backgrounds
8970 (package
8971 (name "gnome-backgrounds")
8972 (version "3.34.0")
8973 (source
8974 (origin
8975 (method url-fetch)
8976 (uri (string-append "mirror://gnome/sources/" name "/"
8977 (version-major+minor version) "/"
8978 name "-" version ".tar.xz"))
8979 (sha256
8980 (base32
8981 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8982 (build-system meson-build-system)
8983 (native-inputs
8984 `(("intltool" ,intltool)))
8985 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8986 (synopsis "Background images for the GNOME desktop")
8987 (description
8988 "GNOME backgrounds package contains a collection of graphics files which
8989 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8990 the package creates the proper framework and directory structure so that you
8991 can add your own files to the collection.")
8992 (license (list license:gpl2+
8993 license:cc-by2.0
8994 license:cc-by-sa2.0
8995 license:cc-by-sa3.0))))
8996
8997 (define-public gnome-screenshot
8998 (package
8999 (name "gnome-screenshot")
9000 (version "3.34.0")
9001 (source
9002 (origin
9003 (method url-fetch)
9004 (uri (string-append "mirror://gnome/sources/" name "/"
9005 (version-major+minor version) "/"
9006 name "-" version ".tar.xz"))
9007 (sha256
9008 (base32
9009 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9010 (build-system meson-build-system)
9011 (arguments
9012 '(#:phases
9013 (modify-phases %standard-phases
9014 (add-after 'unpack 'skip-gtk-update-icon-cache
9015 ;; Don't create 'icon-theme.cache'.
9016 (lambda _
9017 (substitute* "build-aux/postinstall.py"
9018 (("gtk-update-icon-cache") "true"))
9019 #t)))))
9020 (native-inputs
9021 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9022 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9023 ("intltool" ,intltool)
9024 ("appstream-glib" ,appstream-glib)
9025 ("pkg-config" ,pkg-config)))
9026 (inputs
9027 `(("gtk+" ,gtk+)
9028 ("libcanberra" ,libcanberra)
9029 ("libx11" ,libx11)
9030 ("libxext" ,libxext)))
9031 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9032 (synopsis "Take pictures of your screen")
9033 (description
9034 "GNOME Screenshot is a utility used for taking screenshots of the entire
9035 screen, a window or a user defined area of the screen, with optional
9036 beautifying border effects.")
9037 (license license:gpl2+)))
9038
9039 (define-public dconf-editor
9040 (package
9041 (name "dconf-editor")
9042 (version "3.34.2")
9043 (source
9044 (origin
9045 (method url-fetch)
9046 (uri (string-append "mirror://gnome/sources/" name "/"
9047 (version-major+minor version) "/"
9048 name "-" version ".tar.xz"))
9049 (sha256
9050 (base32
9051 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9052 (build-system meson-build-system)
9053 (native-inputs
9054 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9055 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9056 ("intltool" ,intltool)
9057 ("pkg-config" ,pkg-config)
9058 ("vala" ,vala)))
9059 (inputs
9060 `(("dconf" ,dconf)
9061 ("gtk+" ,gtk+)
9062 ("libxml2" ,libxml2)))
9063 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9064 (synopsis "Graphical editor for GNOME's dconf configuration system")
9065 (description
9066 "Dconf-editor is a graphical tool for browsing and editing the dconf
9067 configuration system for GNOME. It allows users to configure desktop
9068 software that do not provide their own configuration interface.")
9069 (license license:lgpl2.1+)))
9070
9071 (define-public gnome-default-applications
9072 (package
9073 (name "gnome-default-applications")
9074 (version "0")
9075 (build-system trivial-build-system)
9076 (source #f)
9077 (propagated-inputs
9078 `(("nautilus" ,nautilus)
9079 ("evince" ,evince)))
9080 (arguments
9081 `(#:modules ((guix build utils))
9082 #:builder
9083 (begin
9084 (use-modules (guix build utils))
9085 (let* ((out (assoc-ref %outputs "out"))
9086 (apps (string-append out "/share/applications")))
9087 (mkdir-p apps)
9088 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9089 (lambda (port)
9090 (format port "[Default Applications]\n")
9091 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9092 (format port "application/pdf=evince.desktop\n")
9093 (format port "application/postscript=evince.desktop\n")))
9094 #t))))
9095 (synopsis "Default MIME type associations for the GNOME desktop")
9096 (description
9097 "Given many installed packages which might handle a given MIME type, a
9098 user running the GNOME desktop probably has some preferences: for example,
9099 that folders be opened by default by the Nautilus file manager, not the Baobab
9100 disk usage analyzer. This package establishes that set of default MIME type
9101 associations for GNOME.")
9102 (license license:gpl3+)
9103 (home-page #f)))
9104
9105 (define-public libgovirt
9106 (package
9107 (name "libgovirt")
9108 (version "0.3.8")
9109 (source (origin
9110 (method url-fetch)
9111 (uri (string-append "mirror://gnome/sources/" name "/"
9112 (version-major+minor version) "/"
9113 name "-" version ".tar.xz"))
9114 (sha256
9115 (base32
9116 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9117 (build-system glib-or-gtk-build-system)
9118 (native-inputs
9119 `(("gettext" ,gettext-minimal)
9120 ("glib:bin" ,glib "bin")
9121 ("gobject-introspection" ,gobject-introspection)
9122 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9123 ("gtk+:bin" ,gtk+ "bin")
9124 ("pkg-config" ,pkg-config)))
9125 (inputs
9126 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9127 ("librest" ,rest)))
9128 (synopsis "GoVirt Library")
9129 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9130 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9131 (license license:gpl2+)))
9132
9133 (define-public gnome-weather
9134 (package
9135 (name "gnome-weather")
9136 (version "3.34.0")
9137 (source (origin
9138 (method url-fetch)
9139 (uri (string-append "mirror://gnome/sources/" name "/"
9140 (version-major+minor version) "/"
9141 name "-" version ".tar.xz"))
9142 (sha256
9143 (base32
9144 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9145 (build-system meson-build-system)
9146 (native-inputs
9147 `(("gettext" ,gettext-minimal)
9148 ("glib:bin" ,glib "bin")
9149 ("gobject-introspection" ,gobject-introspection)
9150 ("gtk+:bin" ,gtk+ "bin")
9151 ("pkg-config" ,pkg-config)))
9152 (inputs
9153 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9154 ("appstream-glib" ,appstream-glib)
9155 ("geoclue" ,geoclue)
9156 ("gdk-pixbuf" ,gdk-pixbuf)
9157 ("gjs" ,gjs)
9158 ("gnome-desktop" ,gnome-desktop)
9159 ("libgweather" ,libgweather)))
9160 (arguments
9161 `(#:glib-or-gtk? #t
9162 #:phases
9163 (modify-phases %standard-phases
9164 (add-after 'install 'fix-desktop-file
9165 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9166 ;; See https://issues.guix.gnu.org/issue/39324.
9167 (lambda* (#:key outputs #:allow-other-keys)
9168 (let* ((out (assoc-ref outputs "out"))
9169 (applications (string-append out "/share/applications")))
9170 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9171 (("Exec=.*") "Exec=gnome-weather\n"))
9172 #t)))
9173 (add-after 'install 'wrap
9174 (lambda* (#:key inputs outputs #:allow-other-keys)
9175 (let ((out (assoc-ref outputs "out"))
9176 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9177 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9178 (wrap-program (string-append out "/bin/gnome-weather")
9179 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9180 #t))))))
9181 (synopsis "Weather monitoring for GNOME desktop")
9182 (description "GNOME Weather is a small application that allows you to
9183 monitor the current weather conditions for your city, or anywhere in the
9184 world.")
9185 (home-page "https://wiki.gnome.org/Apps/Weather")
9186 (license license:gpl2+)))
9187
9188 (define-public gnome
9189 (package
9190 (name "gnome")
9191 (version (package-version gnome-shell))
9192 (source #f)
9193 (build-system trivial-build-system)
9194 (arguments '(#:builder (begin (mkdir %output) #t)))
9195 (propagated-inputs
9196 ;; TODO: Add or remove packages according to:
9197 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9198 `(
9199 ;; GNOME-Core-OS-Services
9200 ("accountsservice" ,accountsservice)
9201 ("network-manager" ,network-manager)
9202 ("packagekit" ,packagekit)
9203 ("upower" ,upower)
9204 ;; GNOME-Core-Shell
9205 ("adwaita-icon-theme" ,adwaita-icon-theme)
9206 ("gdm" ,gdm)
9207 ("glib-networking" ,glib-networking)
9208 ("gnome-backgrounds" ,gnome-backgrounds)
9209 ("gnome-bluetooth" ,gnome-bluetooth)
9210 ("gnome-color-manager" ,gnome-color-manager)
9211 ("gnome-control-center" ,gnome-control-center)
9212 ("gnome-desktop" ,gnome-desktop)
9213 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9214 ("gnome-initial-setup" ,gnome-initial-setup)
9215 ("gnome-keyring" ,gnome-keyring)
9216 ("gnome-menus" ,gnome-menus)
9217 ("gnome-session" ,gnome-session)
9218 ("gnome-settings-daemon" ,gnome-settings-daemon)
9219 ("gnome-shell-extensions" ,gnome-shell-extensions)
9220 ("gnome-shell" ,gnome-shell)
9221 ("gnome-themes-extra" ,gnome-themes-extra)
9222 ("gnome-user-docs" ,gnome-user-docs)
9223 ("gnome-user-share" ,gnome-user-share)
9224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9225 ("gvfs" ,gvfs)
9226 ("mutter" ,mutter)
9227 ("orca" ,orca)
9228 ("rygel" ,rygel)
9229 ("sushi" ,sushi)
9230 ;; GNOME-Core-Utilities
9231 ("baobab" ,baobab)
9232 ("cheese" ,cheese)
9233 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9234 ;; only works on x86_64, so exclude it on other architectures.
9235 ,@(if (string-prefix? "x86_64" (%current-system))
9236 `(("eog" ,eog))
9237 '())
9238 ("epiphany" ,epiphany)
9239 ("evince" ,evince)
9240 ("file-roller" ,file-roller)
9241 ("gedit" ,gedit)
9242 ("gnome-boxes" ,gnome-boxes)
9243 ("gnome-calculator" ,gnome-calculator)
9244 ("gnome-calendar" ,gnome-calendar)
9245 ("gnome-characters" ,gnome-characters)
9246 ("gnome-clocks" ,gnome-clocks)
9247 ("gnome-contacts" ,gnome-contacts)
9248 ("gnome-disk-utility" ,gnome-disk-utility)
9249 ("gnome-font-viewer" ,gnome-font-viewer)
9250 ("gnome-maps" ,gnome-maps)
9251 ; TODO: ("gnome-music" ,gnome-music)
9252 ; TODO: ("gnome-photos" ,gnome-photos)
9253 ("gnome-screenshot" ,gnome-screenshot)
9254 ("gnome-system-monitor" ,gnome-system-monitor)
9255 ("gnome-terminal" ,gnome-terminal)
9256 ("gnome-weather" ,gnome-weather)
9257 ("nautilus" ,nautilus)
9258 ("simple-scan" ,simple-scan)
9259 ("totem" ,totem)
9260 ("yelp" ,yelp)
9261 ;; Others
9262 ("hicolor-icon-theme" ,hicolor-icon-theme)
9263 ("gnome-online-accounts" ,gnome-online-accounts)
9264
9265 ;; Packages not part of GNOME proper but that are needed for a good
9266 ;; experience. See <https://bugs.gnu.org/39646>.
9267 ;; XXX: Find out exactly which ones are needed and why.
9268 ("font-cantarell" ,font-cantarell)
9269 ("font-dejavu" ,font-dejavu)
9270 ("at-spi2-core" ,at-spi2-core)
9271 ("dbus" ,dbus)
9272 ("dconf" ,dconf)
9273 ("desktop-file-utils" ,desktop-file-utils)
9274 ("gnome-default-applications" ,gnome-default-applications)
9275 ("gnome-themes-standard" ,gnome-themes-standard)
9276 ("gst-plugins-base" ,gst-plugins-base)
9277 ("gst-plugins-good" ,gst-plugins-good)
9278 ("gucharmap" ,gucharmap)
9279 ("pinentry-gnome3" ,pinentry-gnome3)
9280 ("pulseaudio" ,pulseaudio)
9281 ("shared-mime-info" ,shared-mime-info)
9282 ("system-config-printer" ,system-config-printer)
9283 ("xdg-user-dirs" ,xdg-user-dirs)
9284 ("yelp" ,yelp)
9285 ("zenity" ,zenity)))
9286 (synopsis "The GNU desktop environment")
9287 (home-page "https://www.gnome.org/")
9288 (description
9289 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9290 applications for browsing the web, editing text and images, creating
9291 documents and diagrams, playing media, scanning, and much more.")
9292 (license license:gpl2+)))
9293
9294 (define-public byzanz
9295 ;; The last stable release of Byzanz was in 2011, but there have been many
9296 ;; useful commits made to the Byzanz repository since then that it would be
9297 ;; silly to use such an old release.
9298 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9299 (package
9300 (name "byzanz")
9301 (version (string-append "0.2-1." (string-take commit 7)))
9302 (source (origin
9303 (method git-fetch)
9304 (uri (git-reference
9305 (url "https://git.gnome.org/browse/byzanz")
9306 (commit commit)))
9307 (file-name (string-append name "-" version "-checkout"))
9308 (sha256
9309 (base32
9310 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9311 (build-system glib-or-gtk-build-system)
9312 (arguments
9313 '(#:phases
9314 (modify-phases %standard-phases
9315 (add-before 'bootstrap 'build-without-Werror
9316 (lambda _
9317 ;; The build system cleverly detects that we're not building from
9318 ;; a release tarball and turns on -Werror for GCC.
9319 ;; Unsurprisingly, there is a warning during compilation that
9320 ;; causes the build to fail unnecessarily, so we remove the flag.
9321 (substitute* '("configure.ac")
9322 (("-Werror") ""))
9323 #t)))))
9324 (native-inputs
9325 `(("autoconf" ,autoconf)
9326 ("automake" ,automake)
9327 ("gnome-common" ,gnome-common)
9328 ("intltool" ,intltool)
9329 ("libtool" ,libtool)
9330 ("pkg-config" ,pkg-config)
9331 ("which" ,which)))
9332 (inputs
9333 `(("glib" ,glib)
9334 ("gstreamer" ,gstreamer)
9335 ("gst-plugins-base" ,gst-plugins-base)
9336 ("gtk+" ,gtk+)))
9337 (synopsis "Desktop recording program")
9338 (description "Byzanz is a simple desktop recording program with a
9339 command-line interface. It can record part or all of an X display for a
9340 specified duration and save it as a GIF encoded animated image file.")
9341 (home-page "https://git.gnome.org/browse/byzanz")
9342 (license license:gpl2+))))
9343
9344 (define-public authenticator
9345 (package
9346 (name "authenticator")
9347 (version "3.32.2")
9348 (source
9349 (origin
9350 (method git-fetch)
9351 (uri (git-reference
9352 (url "https://gitlab.gnome.org/World/Authenticator")
9353 (commit version)))
9354 (file-name (git-file-name name version))
9355 (sha256
9356 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9357 (build-system meson-build-system)
9358 (arguments
9359 `(#:glib-or-gtk? #t
9360 #:phases
9361 (modify-phases %standard-phases
9362 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9363 (lambda* (#:key inputs outputs #:allow-other-keys)
9364 (let ((prog (string-append (assoc-ref outputs "out")
9365 "/bin/authenticator"))
9366 (pylib (string-append (assoc-ref outputs "out")
9367 "/lib/python"
9368 ,(version-major+minor
9369 (package-version python))
9370 "/site-packages")))
9371 (wrap-program prog
9372 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9373 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9374 #t))))))
9375 (native-inputs
9376 `(("desktop-file-utils" ,desktop-file-utils)
9377 ("gettext" ,gettext-minimal)
9378 ("glib:bin" ,glib "bin")
9379 ("gobject-introspection" ,gobject-introspection)
9380 ("gtk+:bin" ,gtk+ "bin")
9381 ("pkg-config" ,pkg-config)))
9382 (inputs
9383 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9384 ("gtk+" ,gtk+)
9385 ("libhandy" ,libhandy-0.0)
9386 ("libsecret" ,libsecret)
9387 ("python-beautifulsoup4" ,python-beautifulsoup4)
9388 ("python-pillow" ,python-pillow)
9389 ("python-pyfavicon" ,python-pyfavicon)
9390 ("python-pygobject" ,python-pygobject)
9391 ("python-pyotp" ,python-pyotp)
9392 ("python-pyzbar" ,python-pyzbar)
9393 ("yoyo-migrations" ,yoyo-migrations)
9394 ("zbar" ,zbar)))
9395 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9396 (synopsis "Two-factor authentication application built for GNOME")
9397 (description
9398 "Authenticator is a two-factor authentication (2FA) application built for
9399 the GNOME desktop environment.
9400
9401 Features:
9402
9403 @itemize
9404 @item QR code scanner
9405 @item Beautiful UI
9406 @item Huge database of more than 560 supported services
9407 @item Keep your PIN tokens secure by locking the application with a password
9408 @item Automatically fetch an image for services using their favicon
9409 @item The possibility to add new services
9410 @end itemize")
9411 (license license:gpl3+)))
9412
9413 (define-public gsound
9414 (package
9415 (name "gsound")
9416 (version "1.0.2")
9417 (source (origin
9418 (method url-fetch)
9419 (uri (string-append "mirror://gnome/sources/" name "/"
9420 (version-major+minor version) "/"
9421 name "-" version ".tar.xz"))
9422 (sha256
9423 (base32
9424 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9425 (build-system glib-or-gtk-build-system)
9426 (native-inputs
9427 `(("pkg-config" ,pkg-config)
9428 ("gobject-introspection" ,gobject-introspection)
9429 ("vala" ,vala)))
9430 (inputs
9431 `(("glib" ,glib)
9432 ("libcanberra" ,libcanberra)))
9433 (home-page "https://wiki.gnome.org/Projects/GSound")
9434 (synopsis "GObject wrapper for libcanberra")
9435 (description
9436 "GSound is a small library for playing system sounds. It's designed to be
9437 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9438 library.")
9439 (license license:lgpl2.1+)))
9440
9441 (define-public libzapojit
9442 (package
9443 (name "libzapojit")
9444 (version "0.0.3")
9445 (source (origin
9446 (method url-fetch)
9447 (uri (string-append "mirror://gnome/sources/" name "/"
9448 (version-major+minor version) "/"
9449 name "-" version ".tar.xz"))
9450 (sha256
9451 (base32
9452 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9453 (build-system gnu-build-system)
9454 (native-inputs
9455 `(("gobject-introspection" ,gobject-introspection)
9456 ("intltool" ,intltool)
9457 ("pkg-config" ,pkg-config)))
9458 (inputs
9459 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9460 ("json-glib" ,json-glib)
9461 ("rest" ,rest)))
9462 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9463 (synopsis "Library for accessing SkyDrive and Hotmail")
9464 (description
9465 "Libzapojit is a GLib-based library for accessing online service APIs of
9466 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9467 (license license:lgpl2.1+)))
9468
9469 (define-public gnome-clocks
9470 (package
9471 (name "gnome-clocks")
9472 (version "3.34.0")
9473 (source (origin
9474 (method url-fetch)
9475 (uri (string-append "mirror://gnome/sources/" name "/"
9476 (version-major+minor version) "/"
9477 name "-" version ".tar.xz"))
9478 (sha256
9479 (base32
9480 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9481 (build-system meson-build-system)
9482 (arguments
9483 '(#:glib-or-gtk? #t
9484 #:phases
9485 (modify-phases %standard-phases
9486 (add-after 'unpack 'skip-gtk-update-icon-cache
9487 ;; Don't create 'icon-theme.cache'.
9488 (lambda _
9489 (substitute* "build-aux/post-install.py"
9490 (("gtk-update-icon-cache") "true"))
9491 #t)))))
9492 (native-inputs
9493 `(("vala" ,vala)
9494 ("pkg-config" ,pkg-config)
9495 ("glib" ,glib "bin") ; for glib-compile-resources
9496 ("desktop-file-utils" ,desktop-file-utils)
9497 ("gettext" ,gettext-minimal)
9498 ("itstool" ,itstool)))
9499 (inputs
9500 `(("glib" ,glib)
9501 ("gtk+" ,gtk+)
9502 ("gsound" ,gsound)
9503 ("geoclue" ,geoclue)
9504 ("geocode-glib" ,geocode-glib)
9505 ("libgweather" ,libgweather)
9506 ("gnome-desktop" ,gnome-desktop)))
9507 (home-page "https://wiki.gnome.org/Apps/Clocks")
9508 (synopsis "GNOME's clock application")
9509 (description
9510 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9511 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9512 (license license:gpl3+)))
9513
9514 (define-public gnome-calendar
9515 (package
9516 (name "gnome-calendar")
9517 (version "3.34.2")
9518 (source (origin
9519 (method url-fetch)
9520 (uri (string-append "mirror://gnome/sources/" name "/"
9521 (version-major+minor version) "/"
9522 name "-" version ".tar.xz"))
9523 (sha256
9524 (base32
9525 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9526 (build-system meson-build-system)
9527 (arguments
9528 '(#:glib-or-gtk? #t
9529 ;; gnome-calendar has to be installed before the tests can be run
9530 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9531 #:tests? #f
9532 #:phases
9533 (modify-phases %standard-phases
9534 (add-after 'unpack 'skip-gtk-update-icon-cache
9535 ;; Don't create 'icon-theme.cache'.
9536 (lambda _
9537 (substitute* "build-aux/meson/meson_post_install.py"
9538 (("gtk-update-icon-cache") "true"))
9539 #t)))))
9540 (native-inputs
9541 `(("gettext" ,gettext-minimal)
9542 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9543 ("pkg-config" ,pkg-config)))
9544 (inputs
9545 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9546 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9547 ("libdazzle" ,libdazzle)
9548 ("libedataserverui" ,evolution-data-server)
9549 ("libgweather" ,libgweather)
9550 ("geoclue" ,geoclue)))
9551 (propagated-inputs
9552 `(("evolution-data-server" ,evolution-data-server)))
9553 (home-page "https://wiki.gnome.org/Apps/Calendar")
9554 (synopsis "GNOME's calendar application")
9555 (description
9556 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9557 desktop. It supports multiple calendars, month, week and year view.")
9558 (license license:gpl3+)))
9559
9560 (define-public gnome-todo
9561 (package
9562 (name "gnome-todo")
9563 (version "3.28.1")
9564 (source (origin
9565 (method url-fetch)
9566 (uri (string-append "mirror://gnome/sources/" name "/"
9567 (version-major+minor version) "/"
9568 name "-" version ".tar.xz"))
9569 (sha256
9570 (base32
9571 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9572 (patches
9573 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9574 (build-system meson-build-system)
9575 (arguments
9576 '(#:glib-or-gtk? #t
9577 #:phases (modify-phases %standard-phases
9578 (add-after
9579 'install 'wrap-gnome-todo
9580 (lambda* (#:key inputs outputs #:allow-other-keys)
9581 (let ((out (assoc-ref outputs "out"))
9582 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9583 (python-path (getenv "PYTHONPATH")))
9584 (wrap-program (string-append out "/bin/gnome-todo")
9585 ;; XXX: gi plugins are broken.
9586 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9587 ;; For plugins.
9588 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9589 `("PYTHONPATH" ":" prefix (,python-path))))
9590 #t)))))
9591 (native-inputs
9592 `(("gettext" ,gettext-minimal)
9593 ("gobject-introspection" ,gobject-introspection)
9594 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9595 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9596 ("pkg-config" ,pkg-config)))
9597 (inputs
9598 `(("rest" ,rest) ; For Todoist plugin
9599 ("json-glib" ,json-glib) ; For Todoist plugin
9600 ("libedataserverui" ,evolution-data-server)
9601 ("libical" ,libical)
9602 ("libpeas" ,libpeas)
9603 ("python-pygobject" ,python-pygobject)
9604 ("evolution-data-server" ,evolution-data-server)
9605 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9606 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9607 (home-page "https://wiki.gnome.org/Apps/Todo")
9608 (synopsis "GNOME's ToDo Application")
9609 (description
9610 "GNOME To Do is a simplistic personal task manager designed to perfectly
9611 fit the GNOME desktop.")
9612 (license license:gpl3+)))
9613
9614 (define-public gnome-dictionary
9615 (package
9616 (name "gnome-dictionary")
9617 (version "3.26.1")
9618 (source (origin
9619 (method url-fetch)
9620 (uri (string-append "mirror://gnome/sources/" name "/"
9621 (version-major+minor version) "/"
9622 name "-" version ".tar.xz"))
9623 (sha256
9624 (base32
9625 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9626 (build-system meson-build-system)
9627 (arguments '(#:glib-or-gtk? #t
9628 #:phases (modify-phases %standard-phases
9629 (add-after 'unpack 'patch-install-script
9630 (lambda _
9631 ;; This script attempts to compile glib schemas
9632 ;; and create an empty MIME database. We do
9633 ;; that elsewhere, so prevent it from running.
9634 (substitute* "build-aux/post-install.sh"
9635 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9636 #t)))))
9637 (native-inputs
9638 `(("glib:bin" ,glib "bin")
9639 ("gobject-introspection" ,gobject-introspection)
9640 ("intltool" ,intltool)
9641 ("itstool" ,itstool)
9642 ("pkg-config" ,pkg-config)
9643 ("xmllint" ,libxml2)))
9644 (inputs
9645 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9646 ("gtk+" ,gtk+)))
9647 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9648 (synopsis "Look up words in dictionary sources")
9649 (description
9650 "GNOME Dictionary can look for the definition or translation of a word in
9651 existing databases over the internet.")
9652 (license license:gpl3+)))
9653
9654 (define-public gnome-tweaks
9655 (package
9656 (name "gnome-tweaks")
9657 (version "3.34.1")
9658 (source (origin
9659 (method url-fetch)
9660 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9661 (version-major+minor version) "/"
9662 "gnome-tweaks-" version ".tar.xz"))
9663 (patches
9664 (list (search-patch "gnome-tweaks-search-paths.patch")))
9665 (sha256
9666 (base32
9667 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9668 (build-system meson-build-system)
9669 (arguments
9670 `(#:glib-or-gtk? #t
9671 #:configure-flags '("-Dlocalstatedir=/tmp"
9672 "-Dsysconfdir=/tmp")
9673 #:imported-modules ((guix build python-build-system)
9674 ,@%meson-build-system-modules)
9675 #:phases
9676 (modify-phases %standard-phases
9677 (add-after 'unpack 'skip-gtk-update-icon-cache
9678 ;; Don't create 'icon-theme.cache'.
9679 (lambda _
9680 (substitute* "meson-postinstall.py"
9681 (("gtk-update-icon-cache") "true"))
9682 #t))
9683 (add-after 'install 'wrap
9684 (@@ (guix build python-build-system) wrap))
9685 (add-after 'wrap 'wrap-gi-typelib
9686 (lambda* (#:key inputs outputs #:allow-other-keys)
9687 (let ((out (assoc-ref outputs "out"))
9688 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9689 (wrap-program (string-append out "/bin/gnome-tweaks")
9690 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9691 #t)))))
9692 (native-inputs
9693 `(("intltool" ,intltool)
9694 ("pkg-config" ,pkg-config)))
9695 (inputs
9696 `(("gnome-desktop" ,gnome-desktop)
9697 ("gtk+" ,gtk+)
9698 ("gobject-introspection" ,gobject-introspection)
9699 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9700 ("libhandy" ,libhandy-0.0)
9701 ("libnotify" ,libnotify)
9702 ("libsoup" ,libsoup)
9703 ("nautilus" ,nautilus)
9704 ("python" ,python)
9705 ("python-pygobject" ,python-pygobject)))
9706 (synopsis "Customize advanced GNOME 3 options")
9707 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9708 (description
9709 "GNOME Tweaks allows adjusting advanced configuration settings in
9710 GNOME 3. This includes things like the fonts used in user interface elements,
9711 alternative user interface themes, changes in window management behavior,
9712 GNOME Shell appearance and extension, etc.")
9713 (license license:gpl3+)))
9714
9715 (define-public gnome-shell-extensions
9716 (package
9717 (name "gnome-shell-extensions")
9718 (version "3.34.2")
9719 (source (origin
9720 (method url-fetch)
9721 (uri (string-append "mirror://gnome/sources/" name "/"
9722 (version-major+minor version) "/"
9723 name "-" version ".tar.xz"))
9724 (sha256
9725 (base32
9726 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9727 (build-system meson-build-system)
9728 (arguments
9729 '(#:configure-flags '("-Dextension_set=all")))
9730 (native-inputs
9731 `(("glib:bin" ,glib "bin")
9732 ("intltool" ,intltool)
9733 ("pkg-config" ,pkg-config)))
9734 (propagated-inputs
9735 `(("glib" ,glib)))
9736 (synopsis "Extensions for GNOME Shell")
9737 (description "GNOME Shell extensions modify and extend GNOME Shell
9738 functionality and behavior.")
9739 (home-page "https://extensions.gnome.org/")
9740 (license license:gpl3+)))
9741
9742 (define-public folks
9743 (package
9744 (name "folks")
9745 (version "0.13.1")
9746 (source (origin
9747 (method url-fetch)
9748 (uri (string-append
9749 "mirror://gnome/sources/folks/"
9750 (version-major+minor version) "/"
9751 "folks-" version ".tar.xz"))
9752 (sha256
9753 (base32
9754 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9755 (build-system meson-build-system)
9756 (arguments
9757 '(#:phases
9758 (modify-phases %standard-phases
9759 (add-after 'unpack 'skip-gtk-update-icon-cache
9760 ;; Don't create 'icon-theme.cache'.
9761 (lambda _
9762 (substitute* "meson_post_install.py"
9763 (("gtk-update-icon-cache") "true"))
9764 #t)))))
9765 (inputs
9766 `(("bdb" ,bdb)
9767 ("dbus-glib" ,dbus-glib)
9768 ("evolution-data-server" ,evolution-data-server)
9769 ("glib" ,glib)
9770 ("libgee" ,libgee)
9771 ("readline" ,readline)
9772 ("telepathy-glib" ,telepathy-glib)))
9773 (native-inputs
9774 `(("glib:bin" ,glib "bin")
9775 ("gobject-introspection" ,gobject-introspection)
9776 ("intltool" ,intltool)
9777 ("pkg-config" ,pkg-config)
9778 ("vala" ,vala)))
9779 (synopsis "Library to aggregate data about people")
9780 (description "Libfolks is a library that aggregates information about people
9781 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9782 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9783 etc.) to create metacontacts. It's written in Vala, which generates C code when
9784 compiled.")
9785 (home-page "https://wiki.gnome.org/Projects/Folks")
9786 (license license:lgpl2.1+)))
9787
9788 (define-public gfbgraph
9789 (package
9790 (name "gfbgraph")
9791 (version "0.2.4")
9792 (source (origin
9793 (method url-fetch)
9794 (uri (string-append
9795 "mirror://gnome/sources/gfbgraph/"
9796 (version-major+minor version) "/"
9797 "gfbgraph-" version ".tar.xz"))
9798 (sha256
9799 (base32
9800 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9801 (build-system glib-or-gtk-build-system)
9802 (arguments
9803 `(#:tests? #f ; tests appear to require the network
9804 #:configure-flags '("--disable-static"
9805 "--enable-gtk-doc"
9806 "--enable-introspection")))
9807 (native-inputs
9808 `(("gobject-introspection" ,gobject-introspection)
9809 ("gtk-doc" ,gtk-doc/stable)
9810 ("pkg-config" ,pkg-config)
9811
9812 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9813 ("autoconf" ,autoconf)
9814 ("automake" ,automake)
9815 ("libtool" ,libtool)
9816 ("which" ,which)))
9817 (inputs
9818 `(("json-glib" ,json-glib)
9819 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9820 ("rest" ,rest)))
9821 (synopsis "GLib/GObject wrapper for the Facebook API")
9822 (description "This library allows you to use the Facebook API from
9823 GLib/GObject code.")
9824 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9825 (license license:lgpl2.1+)))
9826
9827 (define-public libgnomekbd
9828 (package
9829 (name "libgnomekbd")
9830 (version "3.26.1")
9831 (source (origin
9832 (method url-fetch)
9833 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9834 (version-major+minor version) "/"
9835 "libgnomekbd-" version ".tar.xz"))
9836 (sha256
9837 (base32
9838 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9839 (build-system gnu-build-system)
9840 (native-inputs
9841 `(("pkg-config" ,pkg-config)
9842 ("glib" ,glib "bin")
9843 ("intltool" ,intltool)))
9844 (propagated-inputs
9845 ;; Referred to in .h files and .pc.
9846 `(("glib" ,glib)
9847 ("gtk+" ,gtk+)
9848 ("libxklavier" ,libxklavier)))
9849 (home-page "https://www.gnome.org")
9850 (synopsis "GNOME keyboard configuration library")
9851 (description
9852 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9853 environment, which can notably display keyboard layouts.")
9854 (license license:lgpl2.0+)))
9855
9856 ;;; This package is no longer maintained:
9857 ;;; https://wiki.gnome.org/Attic/LibUnique
9858 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9859 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9860 (define-public libunique
9861 (package
9862 (name "libunique")
9863 (version "3.0.2")
9864 (source (origin
9865 (method url-fetch)
9866 (uri (string-append "mirror://gnome/sources/" name "/"
9867 (version-major+minor version) "/"
9868 name "-" version ".tar.xz"))
9869 (sha256
9870 (base32
9871 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9872 (build-system glib-or-gtk-build-system)
9873 (arguments
9874 `(#:configure-flags '("--disable-static"
9875 "--disable-dbus" ; use gdbus
9876 "--enable-introspection")))
9877 (native-inputs
9878 `(("pkg-config" ,pkg-config)
9879 ("gobject-introspection" ,gobject-introspection)
9880 ("glib:bin" ,glib "bin")
9881 ("gtk-doc" ,gtk-doc/stable)))
9882 (propagated-inputs
9883 ;; Referred to in .h files and .pc.
9884 `(("gtk+" ,gtk+)))
9885 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9886 (synopsis "Library for writing single instance applications")
9887 (description
9888 "Libunique is a library for writing single instance applications. If you
9889 launch a single instance application twice, the second instance will either just
9890 quit or will send a message to the running instance. Libunique makes it easy to
9891 write this kind of application, by providing a base class, taking care of all
9892 the IPC machinery needed to send messages to a running instance, and also
9893 handling the startup notification side.")
9894 (license license:lgpl2.1+)))
9895
9896 (define-public gnome-calculator
9897 (package
9898 (name "gnome-calculator")
9899 (version "3.34.1")
9900 (source
9901 (origin
9902 (method url-fetch)
9903 (uri (string-append "mirror://gnome/sources/" name "/"
9904 (version-major+minor version) "/"
9905 name "-" version ".tar.xz"))
9906 (sha256
9907 (base32
9908 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9909 (build-system meson-build-system)
9910 (arguments '(#:glib-or-gtk? #t))
9911 (native-inputs
9912 `(("gettext" ,gettext-minimal)
9913 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9914 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9915 ("itstool" ,itstool)
9916 ("vala" ,vala)
9917 ("pkg-config" ,pkg-config)))
9918 (inputs
9919 `(("glib" ,glib)
9920 ("gtksourceview" ,gtksourceview)
9921 ("libgee" ,libgee)
9922 ("libsoup" ,libsoup)
9923 ("libxml2" ,libxml2)
9924 ("mpc" ,mpc)
9925 ("mpfr" ,mpfr)))
9926 (home-page "https://wiki.gnome.org/Apps/Calculator")
9927 (synopsis "Desktop calculator")
9928 (description
9929 "Calculator is an application that solves mathematical equations and
9930 is suitable as a default application in a Desktop environment.")
9931 (license license:gpl3)))
9932
9933 (define-public xpad
9934 (package
9935 (name "xpad")
9936 (version "5.1.0")
9937 (source
9938 (origin
9939 (method url-fetch)
9940 (uri (string-append "https://launchpad.net/xpad/trunk/"
9941 version "/+download/"
9942 name "-" version ".tar.bz2"))
9943 (sha256
9944 (base32
9945 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9946 (build-system gnu-build-system)
9947 (native-inputs
9948 `(("autoconf" ,autoconf)
9949 ("automake" ,automake)
9950 ("gtk+:bin" ,gtk+ "bin")
9951 ("intltool" ,intltool)
9952 ("pkg-config" ,pkg-config)))
9953 (inputs
9954 `(("gtksourceview" ,gtksourceview-3)
9955 ("libsm" ,libsm)))
9956 (home-page "https://wiki.gnome.org/Apps/Xpad")
9957 (synopsis "Virtual sticky note")
9958 (description
9959 "Xpad is a sticky note that strives to be simple, fault tolerant,
9960 and customizable. Xpad consists of independent pad windows, each is
9961 basically a text box in which notes can be written.")
9962 (license license:gpl3+)))
9963
9964 (define-public gucharmap
9965 (let ((unicode-files
9966 '(("Blocks.txt"
9967 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9968 ("DerivedAge.txt"
9969 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9970 ("NamesList.txt"
9971 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9972 ("Scripts.txt"
9973 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9974 ("UnicodeData.txt"
9975 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9976 ("Unihan.zip"
9977 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9978 (package
9979 (name "gucharmap")
9980 (version "12.0.1")
9981 (source
9982 (origin
9983 (method url-fetch)
9984 (uri (string-append "mirror://gnome/sources/" name "/"
9985 (version-major+minor version) "/"
9986 name "-" version ".tar.xz"))
9987 (sha256
9988 (base32
9989 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9990 (build-system glib-or-gtk-build-system)
9991 (arguments
9992 `(#:modules ((ice-9 match)
9993 (guix build glib-or-gtk-build-system)
9994 (guix build utils))
9995 #:configure-flags
9996 (list "--with-unicode-data=../unicode-data")
9997 #:phases
9998 (modify-phases %standard-phases
9999 (add-after 'unpack 'prepare-unicode-data
10000 (lambda* (#:key inputs #:allow-other-keys)
10001 (mkdir-p "../unicode-data")
10002 (with-directory-excursion "../unicode-data"
10003 (for-each (match-lambda
10004 ((file _)
10005 (install-file (assoc-ref inputs file) ".")))
10006 ',unicode-files))
10007 #t)))))
10008 (native-inputs
10009 `(("desktop-file-utils" ,desktop-file-utils)
10010 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10011 ("gobject-introspection" ,gobject-introspection)
10012 ("intltool" ,intltool)
10013 ("itstool" ,itstool)
10014 ("pkg-config" ,pkg-config)
10015 ,@(map (match-lambda
10016 ((file hash)
10017 `(,file
10018 ,(origin
10019 (method url-fetch)
10020 (uri (string-append
10021 "http://www.unicode.org/Public/12.0.0/ucd/"
10022 file))
10023 (sha256 (base32 hash))))))
10024 unicode-files)
10025 ("unzip" ,unzip)))
10026 (inputs
10027 `(("gtk+" ,gtk+)
10028 ("xmllint" ,libxml2)))
10029 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10030 (synopsis "Unicode character picker and font browser")
10031 (description
10032 "This program allows you to browse through all the available Unicode
10033 characters and categories for the installed fonts, and to examine their
10034 detailed properties. It is an easy way to find the character you might
10035 only know by its Unicode name or code point.")
10036 (license license:gpl3+))))
10037
10038 (define-public bluefish
10039 (package
10040 (name "bluefish")
10041 (version "2.2.12")
10042 (source
10043 (origin
10044 (method url-fetch)
10045 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10046 "bluefish-" version ".tar.gz"))
10047 (sha256
10048 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10049 (build-system gnu-build-system)
10050 (native-inputs
10051 `(("desktop-file-utils" ,desktop-file-utils)
10052 ("intltool" ,intltool)
10053 ("pkg-config" ,pkg-config)))
10054 (inputs
10055 `(("enchant" ,enchant)
10056 ("gtk+" ,gtk+)
10057 ("python" ,python-wrapper)
10058 ("xmllint" ,libxml2)
10059 ("gucharmap" ,gucharmap)))
10060 (home-page "http://bluefish.openoffice.nl")
10061 (synopsis "Web development studio")
10062 (description
10063 "Bluefish is an editor aimed at programmers and web developers,
10064 with many options to write web sites, scripts and other code.
10065 Bluefish supports many programming and markup languages.")
10066 (license license:gpl3+)))
10067
10068 (define-public gnome-system-monitor
10069 (package
10070 (name "gnome-system-monitor")
10071 (version "3.32.1")
10072 (source
10073 (origin
10074 (method url-fetch)
10075 (uri (string-append "mirror://gnome/sources/" name "/"
10076 (version-major+minor version) "/"
10077 name "-" version ".tar.xz"))
10078 (sha256
10079 (base32
10080 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10081 (build-system meson-build-system)
10082 (arguments
10083 '(#:glib-or-gtk? #t
10084 #:configure-flags '("-Dsystemd=false")))
10085 (native-inputs
10086 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10087 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10088 ("intltool" ,intltool)
10089 ("itstool" ,itstool)
10090 ("libgtop" ,libgtop)
10091 ("polkit" ,polkit)
10092 ("pkg-config" ,pkg-config)))
10093 (inputs
10094 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10095 ("gtk+" ,gtk+)
10096 ("gtkmm" ,gtkmm)
10097 ("librsvg" ,librsvg)
10098 ("libxml2" ,libxml2)
10099 ("libwnck" ,libwnck)))
10100 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10101 (synopsis "Process viewer and system resource monitor for GNOME")
10102 (description
10103 "GNOME System Monitor is a GNOME process viewer and system monitor with
10104 an attractive, easy-to-use interface. It has features, such as a tree view
10105 for process dependencies, icons for processes, the ability to hide processes,
10106 graphical time histories of CPU/memory/swap usage and the ability to
10107 kill/reinice processes.")
10108 (license license:gpl2+)))
10109
10110 (define-public python-pyatspi
10111 (package
10112 (name "python-pyatspi")
10113 (version "2.34.0")
10114 (source (origin
10115 (method url-fetch)
10116 (uri (string-append
10117 "mirror://gnome/sources/pyatspi/"
10118 (version-major+minor version)
10119 "/pyatspi-" version ".tar.xz"))
10120 (sha256
10121 (base32
10122 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10123 (build-system gnu-build-system)
10124 (arguments
10125 `(#:phases
10126 (modify-phases %standard-phases
10127 (add-before 'build 'fix-atk-load
10128 (lambda _
10129 (substitute* "pyatspi/__init__.py"
10130 (("from gi.repository import Atspi")
10131 "gi.require_version('Gtk', '3.0')
10132 from gi.repository import Gtk
10133 from gi.repository import Atspi"))
10134 #t)))))
10135 (native-inputs
10136 `(("pkg-config" ,pkg-config)))
10137 (inputs
10138 `(("python" ,python)))
10139 (propagated-inputs
10140 `(("python-pygobject" ,python-pygobject)))
10141 (synopsis "Python client bindings for D-Bus AT-SPI")
10142 (home-page "https://wiki.linuxfoundation.org/accessibility\
10143 /atk/at-spi/at-spi_on_d-bus")
10144 (description
10145 "This package includes a python client library for the AT-SPI D-Bus
10146 accessibility infrastructure.")
10147 (license license:lgpl2.0)
10148 (properties '((upstream-name . "pyatspi")))))
10149
10150 (define-public python2-pyatspi
10151 (package/inherit python-pyatspi
10152 (name "python2-pyatspi")
10153 (inputs
10154 `(("python" ,python-2)))
10155 (propagated-inputs
10156 `(("python-pygobject" ,python2-pygobject)))))
10157
10158 (define-public orca
10159 (package
10160 (name "orca")
10161 (version "3.34.1")
10162 (source (origin
10163 (method url-fetch)
10164 (uri (string-append
10165 "mirror://gnome/sources/" name "/"
10166 (version-major+minor version) "/"
10167 name "-" version ".tar.xz"))
10168 (sha256
10169 (base32
10170 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10171 (build-system glib-or-gtk-build-system)
10172 (arguments
10173 '(#:phases
10174 (modify-phases %standard-phases
10175 (add-before 'configure 'qualify-xkbcomp
10176 (lambda* (#:key inputs #:allow-other-keys)
10177 (let ((xkbcomp (string-append
10178 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10179 (substitute* "src/orca/orca.py"
10180 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10181 #t))
10182 (add-after 'install 'wrap-orca
10183 (lambda* (#:key outputs #:allow-other-keys)
10184 (let* ((out (assoc-ref outputs "out"))
10185 (prog (string-append out "/bin/orca")))
10186 (wrap-program prog
10187 `("GI_TYPELIB_PATH" ":" prefix
10188 (,(getenv "GI_TYPELIB_PATH")))
10189 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10190 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10191 `("PYTHONPATH" ":" prefix
10192 (,(getenv "PYTHONPATH")))))
10193 #t)))))
10194 (native-inputs
10195 `(("intltool" ,intltool)
10196 ("itstool" ,itstool)
10197 ("pkg-config" ,pkg-config)
10198 ("xmllint" ,libxml2)))
10199 (inputs
10200 `(("at-spi2-atk" ,at-spi2-atk)
10201 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10202 ("gstreamer" ,gstreamer)
10203 ("gst-plugins-base" ,gst-plugins-base)
10204 ("gst-plugins-good" ,gst-plugins-good)
10205 ("gtk+" ,gtk+)
10206 ("python" ,python)
10207 ("python-pygobject" ,python-pygobject)
10208 ("python-pyatspi" ,python-pyatspi)
10209 ("python-speechd" ,speech-dispatcher)
10210 ("xkbcomp" ,xkbcomp)))
10211 (synopsis
10212 "Screen reader for individuals who are blind or visually impaired")
10213 (home-page "https://wiki.gnome.org/Projects/Orca")
10214 (description
10215 "Orca is a screen reader that provides access to the graphical desktop
10216 via speech and refreshable braille. Orca works with applications and toolkits
10217 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10218 (license license:lgpl2.1+)))
10219
10220 (define-public gspell
10221 (package
10222 (name "gspell")
10223 (version "1.8.2")
10224 (source (origin
10225 (method url-fetch)
10226 (uri (string-append "mirror://gnome/sources/" name "/"
10227 (version-major+minor version) "/"
10228 name "-" version ".tar.xz"))
10229 (sha256
10230 (base32
10231 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10232 (patches (search-patches "gspell-dash-test.patch"))))
10233 (build-system glib-or-gtk-build-system)
10234 (arguments
10235 '(#:configure-flags (list "--enable-vala")
10236 #:phases
10237 (modify-phases %standard-phases
10238 (add-before 'check 'pre-check
10239 (lambda* (#:key inputs #:allow-other-keys)
10240 ;; Tests require a running X server.
10241 (system "Xvfb :1 &")
10242 (setenv "DISPLAY" ":1")
10243
10244 ;; For the missing /etc/machine-id.
10245 (setenv "DBUS_FATAL_WARNINGS" "0")
10246
10247 ;; Allow Enchant and its Aspell backend to find the en_US
10248 ;; dictionary.
10249 (setenv "ASPELL_DICT_DIR"
10250 (string-append (assoc-ref inputs "aspell-dict-en")
10251 "/lib/aspell"))
10252 #t)))))
10253 (inputs
10254 `(("gtk+" ,gtk+)
10255 ("glib" ,glib)
10256 ("iso-codes" ,iso-codes)))
10257 (native-inputs
10258 `(("glib" ,glib "bin")
10259 ("gobject-introspection" ,gobject-introspection)
10260 ("pkg-config" ,pkg-config)
10261 ("vala" ,vala) ;for VAPI, needed by Geary
10262 ("xmllint" ,libxml2)
10263
10264 ;; For tests.
10265 ("aspell-dict-en" ,aspell-dict-en)
10266 ("xorg-server" ,xorg-server-for-tests)))
10267 (propagated-inputs
10268 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10269 (home-page "https://wiki.gnome.org/Projects/gspell")
10270 (synopsis "GNOME's alternative spell checker")
10271 (description
10272 "gspell provides a flexible API to add spell-checking to a GTK+
10273 application. It provides a GObject API, spell-checking to text entries and
10274 text views, and buttons to choose the language.")
10275 (license license:gpl2+)))
10276
10277 (define-public gnome-planner
10278 (package
10279 (name "gnome-planner")
10280 (version "0.14.6")
10281 (source (origin
10282 (method url-fetch)
10283 (uri (string-append "mirror://gnome/sources/planner/"
10284 (version-major+minor version) "/planner-"
10285 version ".tar.xz"))
10286 (sha256
10287 (base32
10288 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10289 (build-system glib-or-gtk-build-system)
10290 (arguments
10291 ;; Disable the Python bindings because the Planner program functions
10292 ;; without them, and (as of 2017-06-13) we have not packaged all of
10293 ;; packages that are necessary for building the Python bindings.
10294 `(#:configure-flags
10295 (list "--disable-python"
10296 ,@(if (string=? "aarch64-linux" (%current-system))
10297 '("--build=aarch64-unknown-linux-gnu")
10298 '()))))
10299 (inputs
10300 `(("libgnomecanvas" ,libgnomecanvas)
10301 ("libgnomeui" ,libgnomeui)
10302 ("libglade" ,libglade)
10303 ("gnome-vfs" ,gnome-vfs)
10304 ("gconf" ,gconf)
10305 ("libxml2" ,libxml2)
10306 ("libxslt" ,libxslt)
10307 ("gtk+" ,gtk+)
10308 ("glib" ,glib)))
10309 (native-inputs
10310 `(("intltool" ,intltool)
10311 ("scrollkeeper" ,scrollkeeper)
10312 ("pkg-config" ,pkg-config)))
10313 (home-page "https://wiki.gnome.org/Apps/Planner")
10314 (synopsis "Project management software for the GNOME desktop")
10315 (description
10316 "GNOME Planner is a project management tool based on the Work Breakdown
10317 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10318 the resources, tasks, and constraints that you define, Planner generates
10319 various views into a project. For example, Planner can show a Gantt chart of
10320 the project. It can show a detailed summary of tasks including their
10321 duration, cost, and current progress. It can also show a report of resource
10322 utilization that highlights under-utilized and over-utilized resources. These
10323 views can be printed as PDF or PostScript files, or exported to HTML.")
10324 (license license:gpl2+)))
10325
10326 (define-public lollypop
10327 (package
10328 (name "lollypop")
10329 (version "1.4.6")
10330 (source
10331 (origin
10332 (method url-fetch)
10333 (uri (string-append "https://adishatz.org/lollypop/"
10334 "lollypop-" version ".tar.xz"))
10335 (sha256
10336 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10337 (build-system meson-build-system)
10338 (arguments
10339 `(#:imported-modules
10340 (,@%meson-build-system-modules
10341 (guix build python-build-system))
10342 #:modules
10343 ((guix build meson-build-system)
10344 ((guix build python-build-system) #:prefix python:)
10345 (guix build utils))
10346 #:glib-or-gtk? #t
10347 #:tests? #f ; no test suite
10348 #:phases
10349 (modify-phases %standard-phases
10350 (add-after 'install 'wrap-program
10351 (lambda* (#:key outputs #:allow-other-keys)
10352 (let ((out (assoc-ref outputs "out"))
10353 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10354 (wrap-program (string-append out "/bin/lollypop")
10355 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10356 #t))
10357 (add-after 'install 'wrap-python
10358 (assoc-ref python:%standard-phases 'wrap)))))
10359 (native-inputs
10360 `(("intltool" ,intltool)
10361 ("itstool" ,itstool)
10362 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10363 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10364 ("pkg-config" ,pkg-config)))
10365 (inputs
10366 `(("glib-networking" ,glib-networking)
10367 ("gobject-introspection" ,gobject-introspection)
10368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10369 ("gst-plugins-base" ,gst-plugins-base)
10370 ("libnotify" ,libnotify)
10371 ("libsecret" ,libsecret)
10372 ("libhandy" ,libhandy)
10373 ("libsoup" ,libsoup)
10374 ("python" ,python)
10375 ("python-beautifulsoup4" ,python-beautifulsoup4)
10376 ("python-gst" ,python-gst)
10377 ("python-pil" ,python-pillow)
10378 ("python-pycairo" ,python-pycairo)
10379 ("python-pygobject" ,python-pygobject)
10380 ("python-pylast" ,python-pylast)
10381 ("totem-pl-parser" ,totem-pl-parser)
10382 ("webkitgtk" ,webkitgtk)))
10383 (propagated-inputs
10384 `(;; gst-plugins-base is required to start Lollypop,
10385 ;; the others are required to play streaming.
10386 ("gst-plugins-good" ,gst-plugins-good)
10387 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10388 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10389 (synopsis "GNOME music playing application")
10390 (description
10391 "Lollypop is a music player designed to play well with GNOME desktop.
10392 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10393 from artists and tracks from the web. It also fetches cover artworks
10394 automatically and it can stream songs from online music services and charts.")
10395 (license license:gpl3+)))
10396
10397 (define-public gnome-video-effects
10398 (package
10399 (name "gnome-video-effects")
10400 (version "0.5.0")
10401 (source (origin
10402 (method url-fetch)
10403 (uri (string-append "mirror://gnome/sources/" name "/"
10404 (version-major+minor version) "/" name "-"
10405 version ".tar.xz"))
10406 (sha256
10407 (base32
10408 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10409 (build-system meson-build-system)
10410 (native-inputs
10411 `(("gettext" ,gettext-minimal)
10412 ("pkg-config" ,pkg-config)))
10413 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10414 (synopsis "Video effects for Cheese and other GNOME applications")
10415 (description
10416 "A collection of GStreamer video filters and effects to be used in
10417 photo-booth-like software, such as Cheese.")
10418 (license license:gpl2+)))
10419
10420 (define-public cheese
10421 (package
10422 (name "cheese")
10423 (version "3.38.0")
10424 (source (origin
10425 (method url-fetch)
10426 (uri (string-append "mirror://gnome/sources/" name "/"
10427 (version-major+minor version) "/" name "-"
10428 version ".tar.xz"))
10429 (sha256
10430 (base32
10431 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10432 (arguments
10433 `(#:glib-or-gtk? #t
10434 ;; Tests require GDK.
10435 #:tests? #f
10436 #:phases
10437 (modify-phases %standard-phases
10438 (add-after 'unpack 'skip-gtk-update-icon-cache
10439 (lambda _
10440 ;; Don't create 'icon-theme.cache'
10441 (substitute* "meson_post_install.py"
10442 (("gtk-update-icon-cache") (which "true")))
10443 #t))
10444 (add-after 'unpack 'patch-docbook-xml
10445 (lambda* (#:key inputs #:allow-other-keys)
10446 ;; Avoid a network connection attempt during the build.
10447 (substitute* '("docs/reference/cheese.xml"
10448 "docs/reference/cheese-docs.xml")
10449 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10450 (string-append (assoc-ref inputs "docbook-xml")
10451 "/xml/dtd/docbook/docbookx.dtd")))
10452 #t))
10453 (add-after 'install 'wrap-cheese
10454 (lambda* (#:key inputs outputs #:allow-other-keys)
10455 (let ((out (assoc-ref outputs "out"))
10456 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10457 (wrap-program (string-append out "/bin/cheese")
10458 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10459 #t)))))
10460 (build-system meson-build-system)
10461 (native-inputs
10462 `(("docbook-xsl" ,docbook-xsl)
10463 ("docbook-xml" ,docbook-xml-4.3)
10464 ("gettext" ,gettext-minimal)
10465 ("glib:bin" ,glib "bin")
10466 ("gtk-doc" ,gtk-doc/stable)
10467 ("itstool" ,itstool)
10468 ("libxml2" ,libxml2)
10469 ("libxslt" ,libxslt)
10470 ("pkg-config" ,pkg-config)
10471 ("vala" ,vala)))
10472 (propagated-inputs
10473 `(("gnome-video-effects" ,gnome-video-effects)
10474 ("clutter" ,clutter)
10475 ("clutter-gst" ,clutter-gst)
10476 ("clutter-gtk" ,clutter-gtk)
10477 ("libcanberra" ,libcanberra)
10478 ("gdk-pixbuf" ,gdk-pixbuf)
10479 ("glib" ,glib)
10480 ("gstreamer" ,gstreamer)))
10481 (inputs
10482 `(("gnome-desktop" ,gnome-desktop)
10483 ("gobject-introspection" ,gobject-introspection)
10484 ("gst-plugins-base" ,gst-plugins-base)
10485 ("gst-plugins-good" ,gst-plugins-good)
10486 ("gst-plugins-bad" ,gst-plugins-bad)
10487 ("gtk+" ,gtk+)
10488 ("libx11" ,libx11)
10489 ("libxtst" ,libxtst)))
10490 (home-page "https://wiki.gnome.org/Apps/Cheese")
10491 (synopsis "Webcam photo booth software for GNOME")
10492 (description
10493 "Cheese uses your webcam to take photos and videos. Cheese can also
10494 apply fancy special effects and lets you share the fun with others.")
10495 (license license:gpl2+)))
10496
10497 (define-public passwordsafe
10498 (package
10499 (name "passwordsafe")
10500 (version "3.99.2")
10501 (source
10502 (origin
10503 (method git-fetch)
10504 (uri (git-reference
10505 (url "https://gitlab.gnome.org/World/PasswordSafe")
10506 (commit version)))
10507 (file-name (git-file-name name version))
10508 (sha256
10509 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10510 (build-system meson-build-system)
10511 (arguments
10512 `(#:glib-or-gtk? #t
10513 #:phases
10514 (modify-phases %standard-phases
10515 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10516 (lambda* (#:key outputs #:allow-other-keys)
10517 (let ((prog (string-append (assoc-ref outputs "out")
10518 "/bin/gnome-passwordsafe"))
10519 (pylib (string-append (assoc-ref outputs "out")
10520 "/lib/python"
10521 ,(version-major+minor
10522 (package-version python))
10523 "/site-packages")))
10524 (wrap-program prog
10525 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10526 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10527 #t))))))
10528 (native-inputs
10529 `(("desktop-file-utils" ,desktop-file-utils)
10530 ("gettext" ,gettext-minimal)
10531 ("glib:bin" ,glib "bin")
10532 ("gobject-introspection" ,gobject-introspection)
10533 ("gtk+:bin" ,gtk+ "bin")
10534 ("pkg-config" ,pkg-config)))
10535 (inputs
10536 `(("glib" ,glib)
10537 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10538 ("gtk+" ,gtk+)
10539 ("libhandy" ,libhandy-0.0)
10540 ("libpwquality" ,libpwquality)
10541 ("python-pygobject" ,python-pygobject)
10542 ("python-pykeepass" ,python-pykeepass)))
10543 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10544 (synopsis "Password manager for the GNOME desktop")
10545 (description
10546 "Password Safe is a password manager which makes use of the KeePass v4
10547 format. It integrates perfectly with the GNOME desktop and provides an easy
10548 and uncluttered interface for the management of password databases.")
10549 (license license:gpl3+)))
10550
10551 (define-public sound-juicer
10552 (package
10553 (name "sound-juicer")
10554 (version "3.24.0")
10555 (source
10556 (origin
10557 (method url-fetch)
10558 (uri (string-append "mirror://gnome/sources/" name "/"
10559 (version-major+minor version) "/"
10560 name "-" version ".tar.xz"))
10561 (sha256
10562 (base32
10563 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10564 (build-system glib-or-gtk-build-system)
10565 (native-inputs
10566 `(("desktop-file-utils" ,desktop-file-utils)
10567 ("intltool" ,intltool)
10568 ("itstool" ,itstool)
10569 ("pkg-config" ,pkg-config)
10570 ("xmllint" ,libxml2)))
10571 (inputs
10572 `(("gtk+" ,gtk+)
10573 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10574 ("gstreamer" ,gstreamer)
10575 ("gst-plugins-base" ,gst-plugins-base)
10576 ("gst-plugins-good" ,gst-plugins-good)
10577 ("iso-codes" ,iso-codes)
10578 ("libbrasero-media3" ,brasero)
10579 ("libcanberra" ,libcanberra)
10580 ("libdiscid" ,libdiscid)
10581 ("libmusicbrainz" ,libmusicbrainz)
10582 ("neon" ,neon)))
10583 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10584 (synopsis "Audio music cd ripper")
10585 (description "Sound Juicer extracts audio from compact discs and convert it
10586 into audio files that a personal computer or digital audio player can play.
10587 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10588 mp3, Ogg Vorbis and FLAC")
10589 (license license:gpl2+)))
10590
10591 (define-public soundconverter
10592 (package
10593 (name "soundconverter")
10594 (version "3.0.2")
10595 (source
10596 (origin
10597 (method url-fetch)
10598 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10599 version "/+download/"
10600 "soundconverter-" version ".tar.xz"))
10601
10602 (sha256
10603 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10604 (build-system glib-or-gtk-build-system)
10605 (arguments
10606 `(#:imported-modules ((guix build python-build-system)
10607 (guix build glib-or-gtk-build-system)
10608 ,@%gnu-build-system-modules)
10609
10610 #:modules ((guix build glib-or-gtk-build-system)
10611 (guix build utils)
10612 ((guix build gnu-build-system) #:prefix gnu:)
10613 ((guix build python-build-system) #:prefix python:))
10614
10615 #:phases
10616 (modify-phases %standard-phases
10617 (add-after 'install 'wrap-soundconverter-for-python
10618 (assoc-ref python:%standard-phases 'wrap))
10619 (add-after 'install 'wrap-soundconverter
10620 (lambda* (#:key inputs outputs #:allow-other-keys)
10621 (let ((out (assoc-ref outputs "out"))
10622 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10623 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10624 (wrap-program (string-append out "/bin/soundconverter")
10625 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10626 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10627 #t)))))
10628 (native-inputs
10629 `(("intltool" ,intltool)
10630 ("pkg-config" ,pkg-config)
10631 ("glib:bin" ,glib "bin")))
10632 (inputs
10633 `(("gtk+" ,gtk+)
10634 ("python" ,python)
10635 ("python-pygobject" ,python-pygobject)
10636 ("gstreamer" ,gstreamer)
10637 ("gst-plugins-base" ,gst-plugins-base)))
10638 (home-page "https://soundconverter.org/")
10639 (synopsis "Convert between audio formats with a graphical interface")
10640 (description
10641 "SoundConverter supports converting between many audio formats including
10642 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10643 configurable file renaming. ")
10644 (license license:gpl3)))
10645
10646 (define-public workrave
10647 (package
10648 (name "workrave")
10649 (version "1.10.42")
10650 (source
10651 (origin
10652 (method git-fetch)
10653 (uri (git-reference
10654 (url "https://github.com/rcaelers/workrave")
10655 (commit (string-append "v" (string-map
10656 (match-lambda (#\. #\_) (chr chr))
10657 version)))))
10658 (file-name (git-file-name name version))
10659 (sha256
10660 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10661 (build-system glib-or-gtk-build-system)
10662 (arguments
10663 ;; The only tests are maintainer tests (in po/), which fail.
10664 `(#:tests? #f))
10665 (inputs `(("glib" ,glib)
10666 ("gtk+" ,gtk+)
10667 ("gdk-pixbuf" ,gdk-pixbuf)
10668 ("gtkmm" ,gtkmm)
10669 ("glibmm" ,glibmm)
10670 ("libx11" ,libx11)
10671 ("libxtst" ,libxtst)
10672 ("dconf" ,dconf)
10673 ("libice" ,libice)
10674 ("libsm" ,libsm)
10675 ("libxscrnsaver" ,libxscrnsaver)))
10676 (native-inputs `(("boost" ,boost)
10677 ("pkg-config" ,pkg-config)
10678 ("gettext" ,gettext-minimal)
10679 ("autoconf" ,autoconf)
10680 ("autoconf-archive" , autoconf-archive)
10681 ("automake" ,automake)
10682 ("libtool" ,libtool)
10683 ("intltool" ,intltool)
10684 ("gobject-introspection" ,gobject-introspection)
10685 ("python3" ,python-3)
10686 ("python-jinja2" ,python-jinja2)))
10687 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10688 (description
10689 "Workrave is a program that assists in the recovery and prevention of
10690 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10691 micro-pauses and rest breaks, and restricts you to your daily limit.")
10692 (home-page "http://www.workrave.org")
10693 (license license:gpl3+)))
10694
10695 (define-public ghex
10696 (package
10697 (name "ghex")
10698 (version "3.18.4")
10699 (source (origin
10700 (method url-fetch)
10701 (uri (string-append "mirror://gnome/sources/ghex/"
10702 (version-major+minor version) "/"
10703 "ghex-" version ".tar.xz"))
10704 (sha256
10705 (base32
10706 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10707 (build-system meson-build-system)
10708 (arguments
10709 '(#:glib-or-gtk? #t
10710 #:phases
10711 (modify-phases %standard-phases
10712 (add-after 'unpack 'skip-gtk-update-icon-cache
10713 ;; Don't create 'icon-theme.cache'.
10714 (lambda _
10715 (substitute* "meson_post_install.py"
10716 (("gtk-update-icon-cache") (which "true")))
10717 #t)))))
10718 (native-inputs
10719 `(("pkg-config" ,pkg-config)
10720 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10721 ("gnome-common" ,gnome-common)
10722 ("which" ,which)
10723 ("intltool" ,intltool)
10724 ("yelp-tools" ,yelp-tools)
10725 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10726 (inputs
10727 `(("atk" ,atk)
10728 ("gtk" ,gtk+)))
10729 (synopsis "GNOME hexadecimal editor")
10730 (description "The GHex program can view and edit files in two ways:
10731 hexadecimal or ASCII. It is useful for editing binary files in general.")
10732 (home-page "https://wiki.gnome.org/Apps/Ghex")
10733 (license license:gpl2)))
10734
10735 (define-public libdazzle
10736 (package
10737 (name "libdazzle")
10738 (version "3.37.1")
10739 (source (origin
10740 (method url-fetch)
10741 (uri (string-append "mirror://gnome/sources/libdazzle/"
10742 (version-major+minor version) "/"
10743 "libdazzle-" version ".tar.xz"))
10744 (sha256
10745 (base32
10746 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10747 (build-system meson-build-system)
10748 (arguments
10749 `(#:phases
10750 (modify-phases %standard-phases
10751 (add-before 'check 'pre-check
10752 (lambda _
10753 ;; Tests require a running X server.
10754 (system "Xvfb :1 &")
10755 (setenv "DISPLAY" ":1")
10756 #t)))))
10757 (native-inputs
10758 `(("glib" ,glib "bin") ; glib-compile-resources
10759 ("pkg-config" ,pkg-config)
10760 ;; For tests.
10761 ("xorg-server" ,xorg-server-for-tests)))
10762 (inputs
10763 `(("glib" ,glib)
10764 ("gobject-introspection" ,gobject-introspection)
10765 ("gtk+" ,gtk+)
10766 ("vala" ,vala)))
10767 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10768 (synopsis "Companion library to GObject and Gtk+")
10769 (description "The libdazzle library is a companion library to GObject and
10770 Gtk+. It provides various features that the authors wish were in the
10771 underlying library but cannot for various reasons. In most cases, they are
10772 wildly out of scope for those libraries. In other cases, they are not quite
10773 generic enough to work for everyone.")
10774 (license license:gpl3+)))
10775
10776 (define-public evolution
10777 (package
10778 (name "evolution")
10779 (version "3.34.2")
10780 (source (origin
10781 (method url-fetch)
10782 (uri (string-append "mirror://gnome/sources/evolution/"
10783 (version-major+minor version) "/"
10784 "evolution-" version ".tar.xz"))
10785 (sha256
10786 (base32
10787 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10788 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10789 (build-system cmake-build-system)
10790 (arguments
10791 `(#:imported-modules (,@%cmake-build-system-modules
10792 (guix build glib-or-gtk-build-system))
10793 #:modules ((guix build cmake-build-system)
10794 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10795 (guix build utils))
10796 #:configure-flags
10797 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10798 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10799 ; in four years and cannot be built.
10800 #:phases
10801 (modify-phases %standard-phases
10802 ;; The build system attempts to install user interface modules to the
10803 ;; output directory of the "evolution-data-server" package. This
10804 ;; change redirects that change.
10805 (add-after 'unpack 'patch-ui-module-dir
10806 (lambda* (#:key outputs #:allow-other-keys)
10807 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10808 (("\\$\\{edsuimoduledir\\}")
10809 (string-append (assoc-ref outputs "out")
10810 "/lib/evolution-data-server/ui-modules")))
10811 #t))
10812 (add-after 'install 'glib-or-gtk-compile-schemas
10813 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10814 (add-after 'install 'glib-or-gtk-wrap
10815 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10816 (native-inputs
10817 `(("glib" ,glib "bin") ; glib-mkenums
10818 ("pkg-config" ,pkg-config)
10819 ("intltool" ,intltool)
10820 ("itstool" ,itstool)))
10821 (inputs
10822 `(("enchant" ,enchant)
10823 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10824 ("gcr" ,gcr)
10825 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10826 ("gnome-autoar" ,gnome-autoar)
10827 ("gnome-desktop" ,gnome-desktop)
10828 ("gspell" ,gspell)
10829 ("highlight" ,highlight)
10830 ("libcanberra" ,libcanberra)
10831 ("libgweather" ,libgweather)
10832 ("libnotify" ,libnotify)
10833 ("libsoup" ,libsoup)
10834 ("nss" ,nss)
10835 ("openldap" ,openldap)
10836 ("webkitgtk" ,webkitgtk)
10837 ("ytnef" ,ytnef)))
10838 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10839 (synopsis "Manage your email, contacts and schedule")
10840 (description "Evolution is a personal information management application
10841 that provides integrated mail, calendaring and address book
10842 functionality.")
10843 ;; See COPYING for details.
10844 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10845 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10846 license:lgpl2.1+)))) ; smime/lib/*
10847
10848 (define-public gthumb
10849 (package
10850 (name "gthumb")
10851 (version "3.10.2")
10852 (source (origin
10853 (method url-fetch)
10854 (uri (string-append "mirror://gnome/sources/gthumb/"
10855 (version-major+minor version) "/"
10856 "gthumb-" version ".tar.xz"))
10857 (sha256
10858 (base32
10859 "14sw8d37g1lkp44dwsgyxjjsgh5pnpp4wq00mcy9p3rp30lf9spx"))))
10860 (build-system meson-build-system)
10861 (arguments
10862 `(#:glib-or-gtk? #t
10863 #:configure-flags
10864 ;; Ensure the RUNPATH contains all installed library locations.
10865 (list (string-append "-Dc_link_args=-Wl,-rpath="
10866 (assoc-ref %outputs "out")
10867 "/lib/gthumb/extensions")
10868 (string-append "-Dcpp_link_args=-Wl,-rpath="
10869 (assoc-ref %outputs "out")
10870 "/lib/gthumb/extensions"))))
10871 (native-inputs
10872 `(("pkg-config" ,pkg-config)
10873 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10874 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10875 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10876 ("intltool" ,intltool)
10877 ("itstool" ,itstool)))
10878 (inputs
10879 `(("exiv2" ,exiv2)
10880 ("gtk" ,gtk+)
10881 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10882 ("gstreamer" ,gstreamer)
10883 ("clutter" ,clutter)
10884 ("clutter-gst" ,clutter-gst)
10885 ("clutter-gtk" ,clutter-gtk)
10886 ("libjpeg" ,libjpeg-turbo)
10887 ("libtiff" ,libtiff)
10888 ("libraw" ,libraw)))
10889 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10890 (synopsis "GNOME image viewer and browser")
10891 (description "GThumb is an image viewer, browser, organizer, editor and
10892 advanced image management tool")
10893 (license license:gpl2+)))
10894
10895 (define-public terminator
10896 (package
10897 (name "terminator")
10898 (version "2.1.1")
10899 (source
10900 (origin
10901 (method url-fetch)
10902 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10903 "releases/download/v" version "/"
10904 name "-" version ".tar.gz"))
10905 (sha256
10906 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10907 (build-system python-build-system)
10908 (native-inputs
10909 `(("gettext" ,gettext-minimal)
10910 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10911 ("gobject-introspection" ,gobject-introspection)
10912 ("intltool" ,intltool)
10913 ("pkg-config" ,pkg-config)
10914 ("python-psutil" ,python-psutil)
10915 ("python-pytest-runner" ,python-pytest-runner)
10916 ("python-pytest" ,python-pytest)))
10917 (inputs
10918 `(("cairo" ,cairo)
10919 ("dbus-glib" ,dbus-glib)
10920 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10921 ("gtk+" ,gtk+)
10922 ("python" ,python-wrapper)
10923 ("python-dbus" ,python-dbus)
10924 ("python-notify2" ,python-notify2)
10925 ("python-pycairo" ,python-pycairo)
10926 ("python-pygobject" ,python-pygobject)
10927 ("vte" ,vte)))
10928 (propagated-inputs
10929 `(("python-configobj" ,python-configobj)))
10930 (arguments
10931 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10932 ;; tests.
10933 `(#:tests? #f
10934 #:imported-modules ((guix build glib-or-gtk-build-system)
10935 ,@%python-build-system-modules)
10936 #:modules ((guix build python-build-system)
10937 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10938 (guix build utils))
10939 #:phases
10940 (modify-phases %standard-phases
10941 (add-after 'unpack 'handle-dbus-python
10942 (lambda _
10943 ;; python-dbus cannot be found but it's really there. See
10944 ;; https://github.com/SpotlightKid/jack-select/issues/2
10945 (substitute* "setup.py"
10946 (("'dbus-python',") ""))
10947 #t))
10948 (add-after 'install 'wrap-program
10949 (lambda* (#:key outputs #:allow-other-keys)
10950 (let ((prog (string-append (assoc-ref outputs "out")
10951 "/bin/terminator"))
10952 (pylib (string-append (assoc-ref outputs "out")
10953 "/lib/python"
10954 ,(version-major+minor
10955 (package-version python))
10956 "/site-packages")))
10957 (wrap-program prog
10958 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10959 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10960 #t)))
10961 (add-after 'wrap-program 'glib-or-gtk-wrap
10962 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10963 (home-page "https://gnome-terminator.org/")
10964 (synopsis "Store and run multiple GNOME terminals in one window")
10965 (description
10966 "Terminator allows you to run multiple GNOME terminals in a grid and
10967 tabs, and it supports drag and drop re-ordering of terminals.")
10968 (license license:gpl2)))
10969
10970 (define-public libhandy
10971 (package
10972 (name "libhandy")
10973 (version "1.2.0")
10974 (source
10975 (origin
10976 (method git-fetch)
10977 (uri (git-reference
10978 (url "https://gitlab.gnome.org/GNOME/libhandy")
10979 (commit version)))
10980 (file-name (git-file-name name version))
10981 (sha256
10982 (base32 "1a8wfgm2jd3gcbk1nzhq6f2xq7vkxdc9qky8p9k0za9gqi7xfg4v"))))
10983 (build-system meson-build-system)
10984 (arguments
10985 `(#:configure-flags
10986 '("-Dglade_catalog=enabled"
10987 "-Dgtk_doc=true")
10988 #:phases
10989 (modify-phases %standard-phases
10990 (add-before 'check 'pre-check
10991 (lambda _
10992 ;; Tests require a running X server.
10993 (system "Xvfb :1 &")
10994 (setenv "DISPLAY" ":1")
10995 #t)))))
10996 (inputs
10997 `(("gtk+" ,gtk+)
10998 ("glade" ,glade3)
10999 ("libxml2" ,libxml2)))
11000 (native-inputs
11001 `(("glib:bin" ,glib "bin")
11002 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
11003 ("vala" ,vala)
11004 ("gtk-doc" ,gtk-doc/stable)
11005 ("pkg-config" ,pkg-config)
11006 ("gettext" ,gettext-minimal)
11007
11008 ;; Test suite dependencies.
11009 ("xorg-server" ,xorg-server-for-tests)
11010 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11011 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11012 (synopsis "Library full of GTK+ widgets for mobile phones")
11013 (description "The aim of the handy library is to help with developing user
11014 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11015 for usage on small and big screens.")
11016 (license license:lgpl2.1+)))
11017
11018 (define-public libhandy-0.0
11019 (package
11020 (inherit libhandy)
11021 (version "0.0.13")
11022 (source
11023 (origin
11024 (method git-fetch)
11025 (uri (git-reference
11026 (url "https://gitlab.gnome.org/GNOME/libhandy")
11027 (commit (string-append "v" version))))
11028 (file-name (git-file-name "libhandy" version))
11029 (sha256
11030 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11031 (arguments
11032 (substitute-keyword-arguments (package-arguments libhandy)
11033 ((#:configure-flags flags)
11034 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11035
11036 (define-public libgit2-glib
11037 (package
11038 (name "libgit2-glib")
11039 (version "0.99.0.1")
11040 (source (origin
11041 (method url-fetch)
11042 (uri (string-append "mirror://gnome/sources/" name "/"
11043 (version-major+minor version) "/"
11044 name "-" version ".tar.xz"))
11045 (sha256
11046 (base32
11047 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11048 (build-system meson-build-system)
11049 (native-inputs
11050 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11051 ("gobject-introspection" ,gobject-introspection)
11052 ("pkg-config" ,pkg-config)
11053 ("python-pygobject" ,python-pygobject)
11054 ("python-wrapper" ,python-wrapper)
11055 ("vala" ,vala)))
11056 (inputs
11057 `(("glib" ,glib)
11058 ("libssh2" ,libssh2)))
11059 (propagated-inputs
11060 `(;; In Requires of libgit2-glib.pc.
11061 ("libgit2" ,libgit2)))
11062 (synopsis "GLib wrapper around the libgit2 Git access library")
11063 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11064 access library. It only implements the core plumbing functions, not really the
11065 higher level porcelain stuff.")
11066 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11067 (license license:gpl2+)))
11068
11069 (define-public gitg
11070 (package
11071 (name "gitg")
11072 (version "3.32.1")
11073 (source (origin
11074 (method url-fetch)
11075 (uri (string-append "mirror://gnome/sources/" name "/"
11076 (version-major+minor version) "/"
11077 name "-" version ".tar.xz"))
11078 (sha256
11079 (base32
11080 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11081 (build-system meson-build-system)
11082 (arguments
11083 `(#:glib-or-gtk? #t
11084 #:phases
11085 (modify-phases %standard-phases
11086 (add-after 'unpack 'disable-post-install-partially
11087 (lambda _
11088 (substitute* "meson_post_install.py"
11089 (("'python'") ; there are no python sources to compile
11090 (string-append "'" (which "true") "'"))
11091 (("gtk-update-icon-cache") (which "true")))
11092 #t))
11093 (add-after 'unpack 'fix-test-sources
11094 (lambda _
11095 (substitute* "tests/libgitg/test-commit.vala"
11096 (("/bin/bash") (which "bash")))
11097 #t))
11098 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11099 (lambda* (#:key outputs #:allow-other-keys)
11100 (let ((prog (string-append (assoc-ref outputs "out")
11101 "/bin/gitg")))
11102 (wrap-program prog
11103 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11104 #t))))))
11105 (inputs
11106 `(("glib" ,glib)
11107 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11108 ("gtk+" ,gtk+)
11109 ("gtkspell3" ,gtkspell3)
11110 ("gtksourceview" ,gtksourceview-3)
11111 ("json-glib" ,json-glib)
11112 ("libdazzle" ,libdazzle)
11113 ("libgee" ,libgee)
11114 ("libgit2-glib" ,libgit2-glib)
11115 ("libpeas" ,libpeas)
11116 ("libsecret" ,libsecret)
11117 ("libsoup" ,libsoup)
11118 ("libxml2" ,libxml2)))
11119 (native-inputs
11120 `(("glib:bin" ,glib "bin")
11121 ("gtk+:bin" ,gtk+ "bin")
11122 ("gobject-introspection" ,gobject-introspection)
11123 ("intltool" ,intltool)
11124 ("pkg-config" ,pkg-config)
11125 ("vala" ,vala)))
11126 (synopsis "Graphical user interface for git")
11127 (description
11128 "gitg is a graphical user interface for git. It aims at being a small,
11129 fast and convenient tool to visualize the history of git repositories.
11130 Besides visualization, gitg also provides several utilities to manage your
11131 repository and commit your work.")
11132 (home-page "https://wiki.gnome.org/Apps/Gitg")
11133 (license license:gpl2+)))
11134
11135 (define-public gamin
11136 (package
11137 (name "gamin")
11138 (version "0.1.10")
11139 (source (origin
11140 (method url-fetch)
11141 (uri (string-append "mirror://gnome/sources/" name "/"
11142 (version-major+minor version) "/"
11143 name "-" version ".tar.bz2"))
11144 (sha256
11145 (base32
11146 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11147 (build-system gnu-build-system)
11148 (arguments
11149 `(#:phases
11150 (modify-phases %standard-phases
11151 (add-after 'unpack 'remove-deprecated-macro
11152 (lambda _
11153 (substitute* '("server/gam_node.c"
11154 "server/gam_subscription.h"
11155 "server/gam_node.h"
11156 "server/gam_subscription.c")
11157 (("G_CONST_RETURN") "const"))
11158 #t)))))
11159 (inputs
11160 `(("glib" ,glib)))
11161 (native-inputs
11162 `(("intltool" ,intltool)
11163 ("pkg-config" ,pkg-config)))
11164 (home-page "https://people.gnome.org/~veillard/gamin/")
11165 (synopsis "File alteration monitor")
11166 (description
11167 "Gamin is a file and directory monitoring system defined to be a subset
11168 of the FAM (File Alteration Monitor) system. This is a service provided by a
11169 library which detects when a file or a directory has been modified.")
11170 (license license:gpl2+)))
11171
11172 (define-public gnome-mahjongg
11173 (package
11174 (name "gnome-mahjongg")
11175 (version "3.35.1")
11176 (source (origin
11177 (method git-fetch)
11178 (uri (git-reference
11179 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11180 (commit version)))
11181 (file-name (git-file-name name version))
11182 (sha256
11183 (base32
11184 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11185 (build-system meson-build-system)
11186 (arguments
11187 `(#:glib-or-gtk? #t))
11188 (native-inputs
11189 `(("appstream-glib" ,appstream-glib)
11190 ("gettext" ,gettext-minimal)
11191 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11192 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11193 ("itstool" ,itstool)
11194 ("pkg-config" ,pkg-config)
11195 ("vala" ,vala)))
11196 (propagated-inputs
11197 `(("dconf" ,dconf)))
11198 (inputs
11199 `(("glib" ,glib)
11200 ("gtk+" ,gtk+)
11201 ("librsvg" ,librsvg)))
11202 (synopsis "Mahjongg tile-matching game")
11203 (description "GNOME Mahjongg is a game based on the classic Chinese
11204 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11205 and a high score table.")
11206 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11207 (license license:gpl2+)))
11208
11209 (define-public gnome-themes-extra
11210 (package
11211 (name "gnome-themes-extra")
11212 (version "3.28")
11213 (source
11214 (origin
11215 (method url-fetch)
11216 (uri (string-append "mirror://gnome/sources/" name "/"
11217 (version-major+minor version) "/" name "-"
11218 version ".tar.xz"))
11219 (sha256
11220 (base32
11221 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11222 (build-system gnu-build-system)
11223 (arguments
11224 '(#:configure-flags
11225 ;; Don't create 'icon-theme.cache'.
11226 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11227 (true (string-append coreutils "/bin/true")))
11228 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11229 (native-inputs
11230 `(("glib:bin" ,glib "bin")
11231 ("intltool" ,intltool)
11232 ("pkg-config" ,pkg-config)))
11233 (inputs
11234 `(("glib" ,glib)
11235 ("gtk+" ,gtk+)
11236 ("gtk+-2" ,gtk+-2)
11237 ("librsvg" ,librsvg)
11238 ("libxml2" ,libxml2)))
11239 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11240 (synopsis "GNOME Extra Themes")
11241 (description "This package provides themes and related elements that don't
11242 really fit in other upstream packages. It offers legacy support for GTK+ 2
11243 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11244 index files needed for Adwaita to be used outside of GNOME.")
11245 (license license:lgpl2.1+)))
11246
11247 (define-public gnote
11248 (package
11249 (name "gnote")
11250 (version "3.38.1")
11251 (source
11252 (origin
11253 (method url-fetch)
11254 (uri (string-append "mirror://gnome/sources/" name "/"
11255 (version-major+minor version) "/"
11256 "gnote-" version ".tar.xz"))
11257 (sha256
11258 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11259 (build-system glib-or-gtk-build-system)
11260 (native-inputs
11261 `(("desktop-file-utils" ,desktop-file-utils)
11262 ("glib:bin" ,glib "bin")
11263 ("gobject-introspection" ,gobject-introspection)
11264 ("intltool" ,intltool)
11265 ("itstool" ,itstool)
11266 ("pkg-config" ,pkg-config)
11267 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11268 (inputs
11269 `(("glibmm" ,glibmm)
11270 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11271 ("gspell" ,gspell)
11272 ("gtk+" ,gtk+)
11273 ("gtkmm" ,gtkmm)
11274 ("libsecret" ,libsecret)
11275 ("libuuid" ,util-linux "lib")
11276 ("libxml2" ,libxml2)
11277 ("libxslt" ,libxslt)))
11278 (synopsis "Note-taking application for the GNOME desktop")
11279 (description
11280 "Gnote is a note-taking application written for the GNOME desktop
11281 environment.")
11282 (home-page "https://wiki.gnome.org/Apps/Gnote")
11283 (license license:gpl3+)))
11284
11285 (define-public polari
11286 (package
11287 (name "polari")
11288 (version "3.36.3")
11289 (source (origin
11290 (method url-fetch)
11291 (uri (string-append "mirror://gnome/sources/polari/"
11292 (version-major+minor version)
11293 "/polari-" version ".tar.xz"))
11294 (sha256
11295 (base32
11296 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11297 (build-system meson-build-system)
11298 (arguments
11299 `(#:glib-or-gtk? #t
11300 #:phases
11301 (modify-phases %standard-phases
11302 (add-after 'unpack 'skip-gtk-update-icon-cache
11303 (lambda _
11304 (substitute* "meson/meson-postinstall.sh"
11305 (("gtk-update-icon-cache") (which "true")))
11306 #t))
11307 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11308 (lambda* (#:key outputs #:allow-other-keys)
11309 (let ((prog (string-append (assoc-ref outputs "out")
11310 "/bin/polari")))
11311 (wrap-program prog
11312 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11313 #t))))))
11314 (inputs
11315 `(("glib" ,glib)
11316 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11317 ("gspell" ,gspell)
11318 ("gtk+" ,gtk+)
11319 ("gjs" ,gjs)
11320 ("libsecret" ,libsecret)
11321 ("libsoup" ,libsoup)
11322 ("telepathy-glib" ,telepathy-glib)
11323 ("telepathy-logger" ,telepathy-logger)))
11324 (native-inputs
11325 `(("glib:bin" ,glib "bin")
11326 ("gobject-introspection" ,gobject-introspection)
11327 ("intltool" ,intltool)
11328 ("pkg-config" ,pkg-config)
11329 ("yelp-tools" ,yelp-tools)))
11330 (propagated-inputs
11331 `(("telepathy-idle" ,telepathy-idle)
11332 ("telepathy-mission-control" ,telepathy-mission-control)))
11333 (synopsis "Simple IRC Client")
11334 (description
11335 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11336 integrate seamlessly with the GNOME desktop.")
11337 (home-page "https://wiki.gnome.org/Apps/Polari")
11338 (license license:gpl2+)))
11339
11340 (define-public gnome-boxes
11341 (package
11342 (name "gnome-boxes")
11343 (version "3.36.6")
11344 (source
11345 (origin
11346 (method url-fetch)
11347 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11348 (version-major+minor version) "/"
11349 "gnome-boxes-" version ".tar.xz"))
11350 (sha256
11351 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11352 (build-system meson-build-system)
11353 (arguments
11354 '(#:glib-or-gtk? #t
11355 #:configure-flags (list "-Drdp=false"
11356 (string-append "-Dc_link_args=-Wl,-rpath="
11357 (assoc-ref %outputs "out")
11358 "/lib/gnome-boxes"))))
11359 (native-inputs
11360 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11361 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11362 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11363 ("itstool" ,itstool)
11364 ("intltool" ,intltool)
11365 ("vala" ,vala)
11366 ("pkg-config" ,pkg-config)))
11367 (inputs
11368 `(("libarchive" ,libarchive)
11369 ("glib-networking" ,glib-networking) ;for TLS support
11370 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11371 ("gtk" ,gtk+)
11372 ("gtk-vnc" ,gtk-vnc)
11373 ("libosinfo" ,libosinfo)
11374 ("libsecret" ,libsecret)
11375 ("libsoup" ,libsoup)
11376 ("libusb" ,libusb)
11377 ("libvirt" ,libvirt)
11378 ("libvirt-glib" ,libvirt-glib)
11379 ("libxml" ,libxml2)
11380 ("spice-gtk" ,spice-gtk)
11381 ("sparql-query" ,sparql-query)
11382 ("vte" ,vte)
11383 ("webkitgtk" ,webkitgtk)
11384 ("tracker" ,tracker)
11385 ("libgudev" ,libgudev)))
11386 (home-page "https://wiki.gnome.org/Apps/Boxes")
11387 (synopsis "View, access, and manage remote and virtual systems")
11388 (description "GNOME Boxes is a simple application to view, access, and
11389 manage remote and virtual systems. Note that this application requires the
11390 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11391 @command{info '(guix) Virtualization Services'} to learn how to configure
11392 these services on the Guix System.")
11393 (license (list
11394 ;; For data/icons/empty-boxes.png.
11395 license:cc-by2.0
11396 ;; For all others.
11397 license:lgpl2.0+))))
11398
11399 (define-public geary
11400 (package
11401 (name "geary")
11402 (version "3.34.1")
11403 (source (origin
11404 (method git-fetch)
11405 (uri (git-reference
11406 (url "https://gitlab.gnome.org/GNOME/geary")
11407 (commit version)))
11408 (file-name (git-file-name name version))
11409 (sha256
11410 (base32
11411 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11412 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11413 (build-system meson-build-system)
11414 (arguments
11415 `(#:glib-or-gtk? #t
11416 #:phases (modify-phases %standard-phases
11417 (add-after 'unpack 'disable-failing-tests
11418 (lambda _
11419 (substitute* "test/meson.build"
11420 (("test\\('client-tests', geary_test_client_bin\\)")
11421 ""))
11422 #t))
11423 (add-after 'unpack 'disable-postinstall-script
11424 (lambda _
11425 (substitute* "meson.build"
11426 (("meson.add_install_script\\(\
11427 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11428 ""))
11429 #t))
11430 (add-before 'check 'setup-xvfb
11431 (lambda _
11432 (system "Xvfb :1 &")
11433 (setenv "DISPLAY" ":1")
11434 #t)))))
11435 (inputs
11436 `(("enchant" ,enchant)
11437 ("folks" ,folks)
11438 ("gcr" ,gcr)
11439 ("glib" ,glib)
11440 ("gmime" ,gmime-2.6)
11441 ("gnome-online-accounts:lib"
11442 ,gnome-online-accounts "lib")
11443 ("gspell" ,gspell)
11444 ("gtk+" ,gtk+)
11445 ("iso-codes" ,iso-codes)
11446 ("json-glib" ,json-glib)
11447 ("libcanberra" ,libcanberra)
11448 ("libgee" ,libgee)
11449 ("libhandy" ,libhandy-0.0)
11450 ("libpeas" ,libpeas)
11451 ("libsecret" ,libsecret)
11452 ("libunwind" ,libunwind)
11453 ("sqlite" ,sqlite)
11454 ("webkitgtk" ,webkitgtk)
11455 ("ytnef" ,ytnef)))
11456 (native-inputs
11457 `(("appstream-glib" ,appstream-glib)
11458 ("cmake-minimal" ,cmake-minimal)
11459 ("desktop-file-utils" ,desktop-file-utils)
11460 ("gettext" ,gettext-minimal)
11461 ("glib:bin" ,glib "bin")
11462 ("gobject-introspection" ,gobject-introspection)
11463 ("itstool" ,itstool)
11464 ("libarchive" ,libarchive)
11465 ("libxml2" ,libxml2)
11466 ("pkg-config" ,pkg-config)
11467 ("vala" ,vala)
11468 ("xvfb" ,xorg-server-for-tests)))
11469 (synopsis "GNOME email application built around conversations")
11470 (description
11471 "Geary collects related messages together into conversations,
11472 making it easy to find and follow your discussions. Full-text and keyword
11473 search makes it easy to find the email you are looking for. Geary's
11474 full-featured composer lets you send rich, styled text with images, links, and
11475 lists, but also send lightweight, easy to read text messages. Geary
11476 automatically picks up your existing GNOME Online Accounts, and adding more is
11477 easy. Geary has a clean, fast, modern interface that works like you want it
11478 to.")
11479 (home-page "https://wiki.gnome.org/Apps/Geary")
11480 (license (list
11481 ;; geary
11482 license:lgpl2.1+
11483 ;; icons
11484 license:cc-by3.0
11485 license:cc-by-sa3.0
11486 license:public-domain
11487 ;; snowball
11488 license:bsd-2))))
11489
11490 (define-public glabels
11491 (package
11492 (name "glabels")
11493 (version "3.4.1")
11494 (source
11495 (origin
11496 (method url-fetch)
11497 (uri (string-append "mirror://gnome/sources/" name "/"
11498 (version-major+minor version) "/"
11499 "glabels-" version ".tar.xz"))
11500 (sha256
11501 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11502 (build-system glib-or-gtk-build-system)
11503 (native-inputs
11504 `(("gettext" ,gettext-minimal)
11505 ("glib:bin" ,glib "bin")
11506 ("intltool" ,intltool)
11507 ("itstool" ,itstool)
11508 ("pkg-config" ,pkg-config)))
11509 (inputs
11510 `(("gtk+" ,gtk+)
11511 ("librsvg" ,librsvg)
11512 ("libxml2" ,libxml2)))
11513 (home-page "https://glabels.org/")
11514 (synopsis "Program for creating labels and business cards")
11515 (description
11516 "gLabels is a program for creating labels and business cards. It is
11517 designed to work with various laser/ink-jet peel-off label and business
11518 card sheets that you’ll find at most office supply stores.")
11519 (license license:gpl3+)))
11520
11521 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11522 (define-public gnome-latex
11523 (package
11524 (name "gnome-latex")
11525 (version "3.36.0")
11526 (source
11527 (origin
11528 (method url-fetch)
11529 (uri (string-append "mirror://gnome/sources/" name "/"
11530 (version-major+minor version) "/"
11531 "gnome-latex-" version ".tar.xz"))
11532 (sha256
11533 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11534 (build-system glib-or-gtk-build-system)
11535 (native-inputs
11536 `(("gettext" ,gettext-minimal)
11537 ("glib:bin" ,glib "bin")
11538 ("gobject-introspection" ,gobject-introspection)
11539 ("gtk-doc" ,gtk-doc/stable)
11540 ("intltool" ,intltool)
11541 ("itstool" ,itstool)
11542 ("pkg-config" ,pkg-config)
11543 ("vala" ,vala)))
11544 (inputs
11545 `(("amtk" ,amtk)
11546 ("dconf" ,dconf)
11547 ("glib" ,glib)
11548 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11549 ("gspell" ,gspell)
11550 ("gtk+" ,gtk+)
11551 ("gtksourceview" ,gtksourceview)
11552 ("libgee" ,libgee)
11553 ("tepl" ,tepl)
11554 ("uchardet" ,uchardet)))
11555 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11556 (synopsis "LaTeX editor for the GNOME desktop")
11557 (description
11558 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11559 such as build tools, completion of LaTeX commands, structure navigation,
11560 symbol tables, document templates, project management, spell-checking, menus
11561 and toolbars.")
11562 (license license:gpl3+)))
11563
11564 (define-public setzer
11565 (package
11566 (name "setzer")
11567 (version "0.4.1")
11568 (source
11569 (origin
11570 (method git-fetch)
11571 (uri (git-reference
11572 (url "https://github.com/cvfosammmm/Setzer")
11573 (commit (string-append "v" version))))
11574 (file-name (git-file-name name version))
11575 (sha256
11576 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11577 (build-system meson-build-system)
11578 (arguments
11579 `(#:glib-or-gtk? #t
11580 #:phases
11581 (modify-phases %standard-phases
11582 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11583 (lambda* (#:key outputs #:allow-other-keys)
11584 (let ((prog (string-append (assoc-ref outputs "out")
11585 "/bin/setzer"))
11586 (pylib (string-append (assoc-ref outputs "out")
11587 "/lib/python"
11588 ,(version-major+minor
11589 (package-version python))
11590 "/site-packages")))
11591 (wrap-program prog
11592 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11593 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11594 #t))))))
11595 (native-inputs
11596 `(("desktop-file-utils" ,desktop-file-utils)
11597 ("gettext" ,gettext-minimal)
11598 ("glib:bin" ,glib "bin")
11599 ("gobject-introspection" ,gobject-introspection)
11600 ("gtk+:bin" ,gtk+ "bin")))
11601 (inputs
11602 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11603 ("gspell" ,gspell)
11604 ("gtk+" ,gtk+)
11605 ("gtksourceview" ,gtksourceview)
11606 ("pango" ,pango)
11607 ("poppler" ,poppler)
11608 ("python-pdfminer" ,python-pdfminer-six)
11609 ("python-pycairo" ,python-pycairo)
11610 ("python-pygobject" ,python-pygobject)
11611 ("python-pyxdg" ,python-pyxdg)
11612 ("webkitgtk" ,webkitgtk)
11613 ("xdg-utils" ,xdg-utils)))
11614 (home-page "https://www.cvfosammmm.org/setzer/")
11615 (synopsis "LaTeX editor written in Python with GTK+")
11616 (description
11617 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11618 GTK+. It integrates well with the GNOME desktop environment.")
11619 (license license:gpl3+)))
11620
11621 (define-public libratbag
11622 (package
11623 (name "libratbag")
11624 (version "0.14")
11625 (source
11626 (origin
11627 (method git-fetch)
11628 (uri (git-reference
11629 (url "https://github.com/libratbag/libratbag")
11630 (commit (string-append "v" version))))
11631 (file-name (git-file-name name version))
11632 (sha256
11633 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11634 (build-system meson-build-system)
11635 (arguments
11636 `(#:configure-flags
11637 (list "-Dsystemd=false"
11638 "-Dlogind-provider=elogind")
11639 #:phases
11640 (modify-phases %standard-phases
11641 (add-after 'install 'wrap
11642 (lambda* (#:key inputs outputs #:allow-other-keys)
11643 (let* ((out (assoc-ref outputs "out"))
11644 (site (string-append
11645 "/lib/python"
11646 ,(version-major+minor (package-version python))
11647 "/site-packages"))
11648 (evdev (string-append
11649 (assoc-ref inputs "python-evdev") site))
11650 (pygo (string-append
11651 (assoc-ref inputs "python-pygobject") site))
11652 (python-wrap
11653 `("PYTHONPATH" = (,evdev ,pygo))))
11654 (wrap-program (string-append out "/bin/" "ratbagctl")
11655 python-wrap)
11656 #t))))))
11657 (native-inputs
11658 `(("check" ,check)
11659 ("pkg-config" ,pkg-config)
11660 ("swig" ,swig)
11661 ("valgrind" ,valgrind)))
11662 (inputs
11663 `(("glib" ,glib)
11664 ("json-glib" ,json-glib)
11665 ("libevdev" ,libevdev)
11666 ("libsystemd" ,elogind)
11667 ("libunistring" ,libunistring)
11668 ("python-evdev" ,python-evdev)
11669 ("python-pygobject" ,python-pygobject)
11670 ("udev" ,eudev)))
11671 (home-page "https://github.com/libratbag/libratbag")
11672 (synopsis "DBus daemon and utility for configuring gaming mice")
11673 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11674 configure input devices, mainly gaming mice. The daemon provides a generic
11675 way to access the various features exposed by these mice and abstracts away
11676 hardware-specific and kernel-specific quirks. There is also the
11677 @command{ratbagctl} command line interface for configuring devices.
11678
11679 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11680 Steelseries.
11681
11682 The ratbagd DBus service can be enabled by adding the following service to
11683 your operating-system definition:
11684
11685 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11686 (license license:expat)))
11687
11688 (define-public piper
11689 (package
11690 (name "piper")
11691 (version "0.5.1")
11692 (source
11693 (origin
11694 (method git-fetch)
11695 (uri (git-reference
11696 (url "https://github.com/libratbag/piper")
11697 (commit version)))
11698 (sha256
11699 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11700 (file-name (git-file-name name version))))
11701 (build-system meson-build-system)
11702 (native-inputs
11703 `(("gettext" ,gettext-minimal)
11704 ("glib:bin" ,glib "bin")
11705 ("gobject-introspection" ,gobject-introspection)
11706 ("pkg-config" ,pkg-config)
11707 ("python-flake8" ,python-flake8)))
11708 (inputs
11709 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11710 ("gtk" ,gtk+)
11711 ("gtk:bin" ,gtk+ "bin")
11712 ("librsvg" ,librsvg)
11713 ("python-evdev" ,python-evdev)
11714 ("python-lxml" ,python-lxml)
11715 ("python-pycairo" ,python-pycairo)
11716 ("python-pygobject" ,python-pygobject)))
11717 (arguments
11718 `(#:imported-modules ((guix build python-build-system)
11719 ,@%meson-build-system-modules)
11720 #:modules (((guix build python-build-system) #:prefix python:)
11721 (guix build meson-build-system)
11722 (guix build utils))
11723 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11724 #:phases
11725 (modify-phases %standard-phases
11726 (add-after 'unpack 'dont-update-gtk-icon-cache
11727 (lambda _
11728 (substitute* "meson.build"
11729 (("meson.add_install_script('meson_install.sh')") ""))
11730 #t))
11731 ;; TODO: Switch to wrap-script when it is fixed.
11732 (add-after 'install 'wrap-python
11733 (assoc-ref python:%standard-phases 'wrap))
11734 (add-after 'wrap-python 'wrap
11735 (lambda* (#:key outputs #:allow-other-keys)
11736 (wrap-program
11737 (string-append (assoc-ref outputs "out" )"/bin/piper")
11738 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11739 #t)))))
11740 (home-page "https://github.com/libratbag/piper/")
11741 (synopsis "Configure bindings and LEDs on gaming mice")
11742 (description "Piper is a GTK+ application for configuring gaming mice with
11743 onboard configuration for key bindings via libratbag. Piper requires
11744 a @command{ratbagd} daemon running with root privileges. It can be run
11745 manually as root, but is preferably configured as a DBus service that can
11746 launch on demand. This can be configured by enabling the following service,
11747 provided there is a DBus service present:
11748
11749 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11750 (license license:gpl2)))
11751
11752 (define-public parlatype
11753 (package
11754 (name "parlatype")
11755 (version "2.1")
11756 (source
11757 (origin
11758 (method git-fetch)
11759 (uri (git-reference
11760 (url "https://github.com/gkarsay/parlatype")
11761 (commit (string-append "v" version))))
11762 (file-name (git-file-name name version))
11763 (sha256
11764 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11765 (build-system meson-build-system)
11766 (arguments
11767 `(#:glib-or-gtk? #t
11768 #:tests? #f ;require internet access
11769 #:phases
11770 (modify-phases %standard-phases
11771 (add-after 'install 'wrap-parlatype
11772 ;; Add gstreamer plugin provided in this package to system's
11773 ;; plugins.
11774 (lambda* (#:key outputs #:allow-other-keys)
11775 (let* ((out (assoc-ref outputs "out"))
11776 (gst-plugin-path (string-append
11777 out "/lib/gstreamer-1.0/"
11778 ":"
11779 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11780 (wrap-program (string-append out "/bin/parlatype")
11781 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11782 #t)))))
11783 (native-inputs
11784 `(("appstream-glib" ,appstream-glib)
11785 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11786 ("gettext" ,gettext-minimal)
11787 ("glib" ,glib "bin") ;for glib-compile-resources
11788 ("pkg-config" ,pkg-config)
11789 ("yelp-tools" ,yelp-tools)))
11790 (inputs
11791 `(("gst-plugins-base" ,gst-plugins-base)
11792 ("gst-plugins-good" ,gst-plugins-good)
11793 ("gstreamer" ,gstreamer)
11794 ("gtk+" ,gtk+)
11795 ("pocketsphinx" ,pocketsphinx)
11796 ("pulseaudio" ,pulseaudio)
11797 ("sphinxbase" ,sphinxbase)))
11798 (home-page "http://gkarsay.github.io/parlatype/")
11799 (synopsis "GNOME audio player for transcription")
11800 (description "Parlatype is an audio player for the GNOME desktop
11801 environment. Its main purpose is the manual transcription of spoken
11802 audio files.")
11803 (license license:gpl3+)))
11804
11805 (define-public jsonrpc-glib
11806 (package
11807 (name "jsonrpc-glib")
11808 (version "3.34.0")
11809 (source (origin
11810 (method url-fetch)
11811 (uri (string-append "mirror://gnome/sources/" name "/"
11812 (version-major+minor version) "/"
11813 name "-" version ".tar.xz"))
11814 (sha256
11815 (base32
11816 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11817 (build-system meson-build-system)
11818 (inputs
11819 `(("json-glib" ,json-glib)
11820 ("glib" ,glib)))
11821 (native-inputs
11822 `(("pkg-config" ,pkg-config)
11823 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11824 ("gobject-introspection" ,gobject-introspection)
11825 ("vala" ,vala)))
11826 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11827 (synopsis "JSON-RPC library for GLib")
11828 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11829 peers in either a synchronous or asynchronous fashion. It also allows
11830 communicating using the GVariant serialization format instead of JSON when
11831 both peers support it. You might want that when communicating on a single
11832 host to avoid parser overhead and memory-allocator fragmentation.")
11833 (license license:lgpl2.1+)))
11834
11835 (define-public feedbackd
11836 (package
11837 (name "feedbackd")
11838 (version "0.0.0+git20200527")
11839 (source (origin
11840 (method git-fetch)
11841 (uri (git-reference
11842 (url "https://source.puri.sm/Librem5/feedbackd.git")
11843 (commit (string-append "v" version))))
11844 (file-name (git-file-name name version))
11845 (sha256
11846 (base32
11847 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11848 (build-system meson-build-system)
11849 (native-inputs
11850 `(("glib:bin" ,glib "bin")
11851 ("gobject-introspection" ,gobject-introspection)
11852 ("pkg-config" ,pkg-config)
11853 ("vala" ,vala)))
11854 (inputs
11855 `(("dbus" ,dbus)
11856 ("gsound" ,gsound)
11857 ("json-glib" ,json-glib)
11858 ("libgudev" ,libgudev)))
11859 (propagated-inputs
11860 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11861 (synopsis "Haptic/visual/audio feedback via DBus")
11862 (description "Feedbackd provides a DBus daemon to act on events to provide
11863 haptic, visual and audio feedback. It offers the libfeedbackd library and
11864 GObject introspection bindings.")
11865 (home-page "https://source.puri.sm/Librem5/feedbackd")
11866 (license (list license:lgpl2.1+ ; libfeedbackd
11867 license:lgpl3+)))) ; the rest
11868
11869 (define-public sysprof
11870 (package
11871 (name "sysprof")
11872 (version "3.36.0")
11873 (source
11874 (origin
11875 (method url-fetch)
11876 (uri (string-append "mirror://gnome/sources/sysprof/"
11877 (version-major+minor version) "/"
11878 "sysprof-" version ".tar.xz"))
11879 (sha256
11880 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11881 (build-system meson-build-system)
11882 (arguments
11883 `(#:configure-flags
11884 (list (string-append "-Dsystemdunitdir="
11885 %output
11886 "/share/systemd"))
11887 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11888 #:phases
11889 (modify-phases %standard-phases
11890 (add-after 'unpack 'patch-install-script
11891 (lambda _
11892 (substitute* "build-aux/meson/post_install.sh"
11893 (("gtk-update-icon-cache") "true")
11894 (("update-desktop-database") "true"))
11895 #t)))))
11896 (inputs
11897 `(("glib" ,glib)
11898 ("gtk+" ,gtk+)
11899 ("libdazzle" ,libdazzle)
11900 ("polkit" ,polkit)))
11901 (native-inputs
11902 `(("gettext" ,gettext-minimal)
11903 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11904 ("itstool" ,itstool)
11905 ("pkg-config" ,pkg-config)
11906 ("xmllint" ,libxml2)))
11907 ;; This home page is so woefully out of date as to be essentially useless.
11908 ;; (home-page "http://www.sysprof.com")
11909 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11910 (synopsis "System-wide performance profiler for GNU/Linux")
11911 (description
11912 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11913 GNU/Linux system including the kernel and all user-space applications. This
11914 helps find the function(s) in which a program spends most of its time.
11915
11916 It uses the kernel's built-in @code{ptrace} feature and handles shared
11917 libraries. Applications do not need to be recompiled--or even restarted.")
11918 (license license:gpl3+)))
11919
11920 (define-public gnome-builder
11921 (package
11922 (name "gnome-builder")
11923 (version "3.36.1")
11924 (source (origin
11925 (method url-fetch)
11926 (uri (string-append "mirror://gnome/sources/" name "/"
11927 (version-major+minor version) "/"
11928 name "-" version ".tar.xz"))
11929 (sha256
11930 (base32
11931 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11932 (build-system meson-build-system)
11933 (arguments
11934 `(#:configure-flags (list "-Dnetwork_tests=false"
11935 ;; TODO: Enable all plugins...
11936 "-Dplugin_clang=false"
11937 "-Dplugin_flatpak=false"
11938 "-Dplugin_glade=false"
11939 ;; XXX: This one has been shown not to work in
11940 ;; <https://issues.guix.gnu.org/45272>
11941 "-Dplugin_jedi=false"
11942 ;; ... except this one.
11943 "-Dplugin_update_manager=false")
11944 #:phases
11945 (modify-phases %standard-phases
11946 (add-after 'unpack 'patch-meson
11947 (lambda* (#:key inputs #:allow-other-keys)
11948 (substitute* "build-aux/meson/post_install.py"
11949 (("gtk-update-icon-cache") "true")
11950 (("update-desktop-database") "true"))
11951 (substitute* "src/libide/meson.build"
11952 (("/usr/lib")
11953 (string-append (assoc-ref inputs "python-pygobject")
11954 "/lib")))
11955 #t))
11956 (add-after 'configure 'fix-ninja
11957 (lambda _
11958 ;; #43296: meson(?) incorrectly assumes we want to link
11959 ;; this PIE against a static libselinux.
11960 (substitute* "build.ninja"
11961 (("libselinux\\.a") "libselinux.so"))
11962 #t))
11963 (add-before 'check 'pre-check
11964 (lambda _
11965 (system "Xvfb :1 &")
11966 (setenv "DISPLAY" ":1")
11967 #t)))))
11968 (inputs
11969 `(("devhelp" ,devhelp)
11970 ("gspell" ,gspell)
11971 ("gtk+" ,gtk+)
11972 ("json-glib" ,json-glib)
11973 ("jsonrpc-glib" ,jsonrpc-glib)
11974 ("libdazzle" ,libdazzle)
11975 ("libgit2-glib" ,libgit2-glib)
11976 ("libpeas" ,libpeas)
11977 ("python-pygobject" ,python-pygobject)
11978 ("sysprof" ,sysprof)
11979 ("template-glib" ,template-glib)
11980 ("vte" ,vte)
11981 ("webkitgtk" ,webkitgtk)))
11982 (propagated-inputs
11983 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11984 (native-inputs
11985 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11986 ("glib:bin" ,glib "bin")
11987 ("gettext" ,gettext-minimal)
11988 ("pkg-config" ,pkg-config)
11989 ("vala" ,vala)
11990 ("xorg-server" ,xorg-server-for-tests)))
11991 (home-page "https://wiki.gnome.org/Apps/Builder")
11992 (synopsis "Toolsmith for GNOME-based applications")
11993 (description "Builder aims to be an integrated development
11994 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11995 auto-completion, a mini code map, documentation browsing, Git integration, an
11996 integrated profiler via Sysprof, debugging support, and more.")
11997 (license license:gpl3+)))
11998
11999 (define-public komikku
12000 (package
12001 (name "komikku")
12002 (version "0.27.0")
12003 (source
12004 (origin
12005 (method git-fetch)
12006 (uri (git-reference
12007 (url "https://gitlab.com/valos/Komikku/")
12008 (commit (string-append "v" version))))
12009 (file-name (git-file-name name version))
12010 (sha256
12011 (base32
12012 "0mj4bsy7jp9wjj1dqz9zdq5aj0ib813wkz5k1481k80jp9dnlqnv"))))
12013 (build-system meson-build-system)
12014 (arguments
12015 `(#:glib-or-gtk? #t
12016 #:phases
12017 (modify-phases %standard-phases
12018 (add-after 'unpack 'patch-sources
12019 (lambda _
12020 (substitute* "komikku/utils.py"
12021 (("from komikku\\.servers import get_servers_list")
12022 ;; code following that line should migrate old databases
12023 ;; but the line itself results in an import error
12024 "return data_dir_path"))))
12025 (add-after 'unpack 'skip-gtk-update-icon-cache
12026 (lambda _
12027 (substitute* "meson_post_install.py"
12028 (("gtk-update-icon-cache") (which "true")))
12029 #t))
12030 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12031 (lambda* (#:key outputs #:allow-other-keys)
12032 (let ((prog (string-append (assoc-ref outputs "out")
12033 "/bin/komikku")))
12034 (wrap-program prog
12035 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12036 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12037 #t))))))
12038 (inputs
12039 `(("gtk+" ,gtk+)
12040 ("libhandy" ,libhandy)
12041 ("libnotify" ,libnotify)
12042 ("libsecret" ,libsecret)
12043 ("python-beautifulsoup4" ,python-beautifulsoup4)
12044 ("python-brotli" ,python-brotli)
12045 ("python-dateparser" ,python-dateparser)
12046 ("python-keyring" ,python-keyring)
12047 ("python-lxml" ,python-lxml)
12048 ("python-magic" ,python-magic)
12049 ("python-pillow" ,python-pillow)
12050 ("python-pure-protobuf" ,python-pure-protobuf)
12051 ("python-pycairo" ,python-pycairo)
12052 ("python-pygobject" ,python-pygobject)
12053 ("python-requests" ,python-requests)
12054 ("python-unidecode" ,python-unidecode)
12055 ("webkitgtk" ,webkitgtk)))
12056 (native-inputs
12057 `(("desktop-file-utils" ,desktop-file-utils)
12058 ("gettext" ,gettext-minimal)
12059 ("glib:bin" ,glib "bin")
12060 ("gobject-introspection" ,gobject-introspection)
12061 ("pkg-config" ,pkg-config)))
12062 (home-page "https://gitlab.com/valos/Komikku")
12063 (synopsis "Manga reader for GNOME")
12064 (description "Komikku is an online/offline manga reader for GNOME,
12065 developed with the aim of being used with the Librem 5 phone.")
12066 (license license:gpl3+)))
12067
12068 (define-public libgda
12069 (package
12070 (name "libgda")
12071 (version "5.2.10")
12072 (source
12073 (origin
12074 (method git-fetch)
12075 (uri (git-reference
12076 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12077 (commit (string-append "LIBGDA_" (string-replace-substring
12078 version "." "_")))))
12079 (file-name (git-file-name name version))
12080 (sha256
12081 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12082 (build-system gnu-build-system)
12083 (arguments
12084 `(#:configure-flags '("--enable-vala")
12085 ;; There's a race between check_cnc_lock and check_threaded_cnc
12086 ;; in tests/multi-threading.
12087 #:parallel-tests? #f
12088 #:phases
12089 (modify-phases %standard-phases
12090 (add-after 'unpack 'fix-glade-install
12091 (lambda _
12092 (substitute* "configure.ac"
12093 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12094 "${datadir}/glade/catalogs")
12095 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12096 "${datadir}/glade/pixmaps"))
12097 #t))
12098 (add-before 'check 'pre-check
12099 (lambda* (#:key inputs #:allow-other-keys)
12100 ;; Tests require a running X server.
12101 (system "Xvfb :1 &")
12102 (setenv "DISPLAY" ":1")
12103 #t))
12104 (add-after 'install 'symlink-glade-module
12105 (lambda* (#:key outputs #:allow-other-keys)
12106 (let* ((shlib "libgda-ui-5.0.so")
12107 (out (assoc-ref outputs "out"))
12108 (out/lib (string-append out "/lib"))
12109 (moduledir (string-append out/lib "/glade/modules")))
12110 (mkdir-p moduledir)
12111 (symlink (string-append out/lib "/" shlib)
12112 (string-append moduledir "/" shlib))
12113 #t))))))
12114 (propagated-inputs
12115 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12116 (inputs
12117 `(("glib" ,glib)
12118 ("glade" ,glade3)
12119 ("gtk+" ,gtk+)
12120 ("libsecret" ,libsecret)
12121 ("libxslt" ,libxslt)
12122 ("openssl" ,openssl)
12123 ("vala" ,vala)))
12124 (native-inputs
12125 `(("autoconf" ,autoconf)
12126 ("autoconf-archive" ,autoconf-archive)
12127 ("automake" ,automake)
12128 ("glib:bin" ,glib "bin")
12129 ("gnome-common" ,gnome-common)
12130 ("gobject-introspection" ,gobject-introspection)
12131 ("gtk-doc" ,gtk-doc/stable)
12132 ("intltool" ,intltool)
12133 ("libtool" ,libtool)
12134 ("pkg-config" ,pkg-config)
12135 ("vala" ,vala)
12136 ("which" ,which)
12137 ("xorg-server" ,xorg-server-for-tests)
12138 ("yelp-tools" ,yelp-tools)))
12139 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12140 (synopsis "Uniform data access")
12141 (description
12142 "GNU Data Access (GDA) is an attempt to provide uniform access to
12143 different kinds of data sources (databases, information servers, mail spools,
12144 etc). It is a complete architecture that provides all you need to access
12145 your data.")
12146 (license license:lgpl2.1+)))
12147
12148 (define-public gtranslator
12149 (package
12150 (name "gtranslator")
12151 (version "3.36.0")
12152 (source (origin
12153 (method url-fetch)
12154 (uri (string-append "mirror://gnome/sources/" name "/"
12155 (version-major+minor version) "/"
12156 name "-" version ".tar.xz"))
12157 (sha256
12158 (base32
12159 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12160 (build-system meson-build-system)
12161 (inputs
12162 `(("json-glib" ,json-glib)
12163 ("jsonrpc-glib" ,jsonrpc-glib)
12164 ("gettext" ,gettext-minimal)
12165 ("glib" ,glib)
12166 ("gtk+" ,gtk+)
12167 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12168 ("gspell" ,gspell)
12169 ("libdazzle" ,libdazzle)
12170 ("libgda" ,libgda)
12171 ("libsoup" ,libsoup)))
12172 (native-inputs
12173 `(("glib:bin" ,glib "bin")
12174 ("itstool" ,itstool)
12175 ("pkg-config" ,pkg-config)))
12176 (propagated-inputs
12177 `(("gtksourceview" ,gtksourceview))) ; required for source view
12178 (arguments
12179 `(#:build-type "release"
12180 #:glib-or-gtk? #t
12181 #:phases
12182 (modify-phases %standard-phases
12183 (add-after 'unpack 'skip-gtk-update-icon-cache
12184 (lambda _
12185 (substitute* "build-aux/meson/meson_post_install.py"
12186 (("gtk-update-icon-cache") (which "true")))
12187 #t)))))
12188 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12189 (synopsis "Translation making program")
12190 (description
12191 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12192 for the GNOME 3.x platform with many features. It aims to be a very complete
12193 editing environment for translation issues within the GNU gettext/GNOME desktop
12194 world.")
12195 (license license:gpl3+)))
12196
12197
12198 (define-public ocrfeeder
12199 (package
12200 (name "ocrfeeder")
12201 (version "0.8.3")
12202 (source (origin
12203 (method url-fetch)
12204 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12205 (version-major+minor version) "/"
12206 "ocrfeeder-" version ".tar.xz"))
12207 (sha256
12208 (base32
12209 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12210 (build-system gnu-build-system)
12211 (arguments
12212 `(#:phases
12213 (modify-phases %standard-phases
12214 (add-after
12215 'install 'wrap-program
12216 (lambda* (#:key outputs #:allow-other-keys)
12217 (let ((prog (string-append (assoc-ref outputs "out")
12218 "/bin/" "ocrfeeder"))
12219 (pylib (string-append (assoc-ref outputs "out")
12220 "/lib/python"
12221 ,(version-major+minor
12222 (package-version python))
12223 "/site-packages")))
12224 (wrap-program prog
12225 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12226 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12227 #t))))))
12228 (native-inputs
12229 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12230 ("gobject-introspection" ,gobject-introspection)
12231 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12232 ("intltool" ,intltool)
12233 ("itstool" ,itstool)
12234 ("pkg-config" ,pkg-config)
12235 ("xmllint" ,libxml2)))
12236 (inputs
12237 `(("enchant" ,enchant)
12238 ("glib" ,glib)
12239 ("goocanvas" ,goocanvas)
12240 ("gtk" ,gtk+)
12241 ("gtkspell3" ,gtkspell3)
12242 ("libjpeg" ,libjpeg-turbo)
12243 ("libtiff" ,libtiff)
12244 ("libraw" ,libraw)
12245 ("ocrad" ,ocrad)
12246 ("python" ,python-wrapper)
12247 ("python-pygobject" ,python-pygobject)
12248 ("python-odfpy" ,python-odfpy)
12249 ("python-pillow" ,python-pillow)
12250 ("python-pyenchant" ,python-pyenchant)
12251 ("python-reportlab" ,python-reportlab)
12252 ("python-sane" ,python-sane)
12253 ("sane-backends" ,sane-backends)
12254 ("tesseract-ocr" ,tesseract-ocr)))
12255 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12256 (synopsis "Complete OCR Suite")
12257 (description "OCRFeeder is a complete Optical Character Recognition and
12258 Document Analysis and Recognition program.")
12259 (license license:gpl3+)))