gnu: libmediaart: Update to 1.9.5.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;;
63 ;;; This file is part of GNU Guix.
64 ;;;
65 ;;; GNU Guix is free software; you can redistribute it and/or modify it
66 ;;; under the terms of the GNU General Public License as published by
67 ;;; the Free Software Foundation; either version 3 of the License, or (at
68 ;;; your option) any later version.
69 ;;;
70 ;;; GNU Guix is distributed in the hope that it will be useful, but
71 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
72 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73 ;;; GNU General Public License for more details.
74 ;;;
75 ;;; You should have received a copy of the GNU General Public License
76 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
77
78 (define-module (gnu packages gnome)
79 #:use-module (gnu packages)
80 #:use-module (gnu packages admin)
81 #:use-module (gnu packages aidc)
82 #:use-module (gnu packages aspell)
83 #:use-module (gnu packages autotools)
84 #:use-module (gnu packages avahi)
85 #:use-module (gnu packages backup)
86 #:use-module (gnu packages base)
87 #:use-module (gnu packages bash)
88 #:use-module (gnu packages bison)
89 #:use-module (gnu packages boost)
90 #:use-module (gnu packages build-tools)
91 #:use-module (gnu packages calendar)
92 #:use-module (gnu packages cdrom)
93 #:use-module (gnu packages check)
94 #:use-module (gnu packages cmake)
95 #:use-module (gnu packages compression)
96 #:use-module (gnu packages crates-io)
97 #:use-module (gnu packages crates-graphics)
98 #:use-module (gnu packages crates-gtk)
99 #:use-module (gnu packages cups)
100 #:use-module (gnu packages curl)
101 #:use-module (gnu packages cyrus-sasl)
102 #:use-module (gnu packages databases)
103 #:use-module (gnu packages dbm)
104 #:use-module (gnu packages djvu)
105 #:use-module (gnu packages dns)
106 #:use-module (gnu packages docbook)
107 #:use-module (gnu packages documentation)
108 #:use-module (gnu packages enchant)
109 #:use-module (gnu packages flex)
110 #:use-module (gnu packages fonts)
111 #:use-module (gnu packages file-systems)
112 #:use-module (gnu packages fontutils)
113 #:use-module (gnu packages freedesktop)
114 #:use-module (gnu packages game-development)
115 #:use-module (gnu packages gcc)
116 #:use-module (gnu packages gettext)
117 #:use-module (gnu packages ghostscript)
118 #:use-module (gnu packages gimp)
119 #:use-module (gnu packages gl)
120 #:use-module (gnu packages glib)
121 #:use-module (gnu packages gnupg)
122 #:use-module (gnu packages gnuzilla)
123 #:use-module (gnu packages geo)
124 #:use-module (gnu packages gperf)
125 #:use-module (gnu packages graphviz)
126 #:use-module (gnu packages gstreamer)
127 #:use-module (gnu packages gtk)
128 #:use-module (gnu packages guile)
129 #:use-module (gnu packages ibus)
130 #:use-module (gnu packages icu4c)
131 #:use-module (gnu packages image)
132 #:use-module (gnu packages imagemagick)
133 #:use-module (gnu packages inkscape)
134 #:use-module (gnu packages iso-codes)
135 #:use-module (gnu packages kerberos)
136 #:use-module (gnu packages libcanberra)
137 #:use-module (gnu packages libffi)
138 #:use-module (gnu packages libunistring)
139 #:use-module (gnu packages libunwind)
140 #:use-module (gnu packages libusb)
141 #:use-module (gnu packages linux)
142 #:use-module (gnu packages lirc)
143 #:use-module (gnu packages lua)
144 #:use-module (gnu packages mail)
145 #:use-module (gnu packages mp3)
146 #:use-module (gnu packages multiprecision)
147 #:use-module (gnu packages music)
148 #:use-module (gnu packages ncurses)
149 #:use-module (gnu packages nettle)
150 #:use-module (gnu packages networking)
151 #:use-module (gnu packages ninja)
152 #:use-module (gnu packages node)
153 #:use-module (gnu packages nss)
154 #:use-module (gnu packages ocr)
155 #:use-module (gnu packages openldap)
156 #:use-module (gnu packages package-management)
157 #:use-module (gnu packages password-utils)
158 #:use-module (gnu packages pcre)
159 #:use-module (gnu packages pdf)
160 #:use-module (gnu packages perl)
161 #:use-module (gnu packages photo)
162 #:use-module (gnu packages php)
163 #:use-module (gnu packages pkg-config)
164 #:use-module (gnu packages polkit)
165 #:use-module (gnu packages popt)
166 #:use-module (gnu packages pretty-print)
167 #:use-module (gnu packages protobuf)
168 #:use-module (gnu packages pulseaudio)
169 #:use-module (gnu packages python)
170 #:use-module (gnu packages python-compression)
171 #:use-module (gnu packages python-crypto)
172 #:use-module (gnu packages python-web)
173 #:use-module (gnu packages python-xyz)
174 #:use-module (gnu packages rdesktop)
175 #:use-module (gnu packages rdf)
176 #:use-module (gnu packages readline)
177 #:use-module (gnu packages ruby)
178 #:use-module (gnu packages rust)
179 #:use-module (gnu packages samba)
180 #:use-module (gnu packages scanner)
181 #:use-module (gnu packages sdl)
182 #:use-module (gnu packages search)
183 #:use-module (gnu packages selinux)
184 #:use-module (gnu packages slang)
185 #:use-module (gnu packages speech)
186 #:use-module (gnu packages spice)
187 #:use-module (gnu packages sqlite)
188 #:use-module (gnu packages ssh)
189 #:use-module (gnu packages swig)
190 #:use-module (gnu packages tex)
191 #:use-module (gnu packages time)
192 #:use-module (gnu packages tls)
193 #:use-module (gnu packages valgrind)
194 #:use-module (gnu packages version-control)
195 #:use-module (gnu packages video)
196 #:use-module (gnu packages virtualization)
197 #:use-module (gnu packages vpn)
198 #:use-module (gnu packages web)
199 #:use-module (gnu packages webkit)
200 #:use-module (gnu packages xdisorg)
201 #:use-module (gnu packages xiph)
202 #:use-module (gnu packages xml)
203 #:use-module (gnu packages xorg)
204 #:use-module (gnu artwork)
205 #:use-module (guix build-system cargo)
206 #:use-module (guix build-system cmake)
207 #:use-module (guix build-system glib-or-gtk)
208 #:use-module (guix build-system gnu)
209 #:use-module (guix build-system meson)
210 #:use-module (guix build-system python)
211 #:use-module (guix build-system trivial)
212 #:use-module (guix download)
213 #:use-module (guix git-download)
214 #:use-module ((guix licenses) #:prefix license:)
215 #:use-module (guix packages)
216 #:use-module (guix utils)
217 #:use-module (guix gexp)
218 #:use-module (ice-9 match)
219 #:use-module (srfi srfi-1))
220
221 (define-public gupnp-igd
222 (package
223 (name "gupnp-igd")
224 (version "1.2.0")
225 (source
226 (origin
227 (method url-fetch)
228 (uri
229 (string-append "mirror://gnome/sources/" name "/"
230 (version-major+minor version) "/"
231 name "-" version ".tar.xz"))
232 (sha256
233 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
234 (build-system meson-build-system)
235 (outputs '("out" "doc"))
236 (arguments
237 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
238 #:configure-flags (list "-Dgtk_doc=true")
239 #:phases
240 (modify-phases %standard-phases
241 (add-after 'unpack 'patch-docbook-xml
242 (lambda* (#:key inputs #:allow-other-keys)
243 (with-directory-excursion "doc"
244 (substitute* "gupnp-igd-docs.xml"
245 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
246 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
247 "/xml/dtd/docbook/"))))
248 #t))
249 (add-after 'install 'move-doc
250 (lambda* (#:key outputs #:allow-other-keys)
251 (let* ((out (assoc-ref outputs "out"))
252 (doc (assoc-ref outputs "doc")))
253 (mkdir-p (string-append doc "/share"))
254 (rename-file
255 (string-append out "/share/gtk-doc")
256 (string-append doc "/share/gtk-doc"))
257 #t))))))
258 (native-inputs
259 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
260 ("docbook-xsl" ,docbook-xsl)
261 ("glib:bin" ,glib "bin")
262 ("gobject-introspection" ,gobject-introspection)
263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
264 ("gtk-doc" ,gtk-doc/stable)
265 ("pkg-config" ,pkg-config)))
266 (propagated-inputs
267 `(("glib" ,glib)
268 ("glib-networking" ,glib-networking)
269 ("gssdp" ,gssdp)
270 ("gupnp" ,gupnp)
271 ("libsoup" ,libsoup)))
272 (synopsis "UPnP IGD for GNOME")
273 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
274 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
275 (license license:lgpl2.1+)))
276
277 (define-public brasero
278 (package
279 (name "brasero")
280 (version "3.12.2")
281 (source (origin
282 (method url-fetch)
283 (uri (string-append "mirror://gnome/sources/brasero/"
284 (version-major+minor version) "/"
285 "brasero-" version ".tar.xz"))
286 (sha256
287 (base32
288 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
289 (build-system glib-or-gtk-build-system)
290 (arguments
291 `(#:configure-flags (list
292 (string-append "--with-girdir="
293 (assoc-ref %outputs "out")
294 "/share/gir-1.0")
295 (string-append "--with-typelibdir="
296 (assoc-ref %outputs "out")
297 "/lib/girepository-1.0"))
298 #:phases
299 (modify-phases %standard-phases
300 (add-before 'configure 'embed-growisofs
301 (lambda* (#:key inputs #:allow-other-keys)
302 (substitute* "plugins/growisofs/burn-growisofs.c"
303 (("\"growisofs") (string-append "\"" (which "growisofs"))))
304 #t)))))
305 (propagated-inputs
306 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
307 (native-inputs
308 `(("intltool" ,intltool)
309 ("itstool" ,itstool)
310 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
311 ("gobject-introspection" ,gobject-introspection)
312 ("pkg-config" ,pkg-config)))
313 (inputs
314 `(("dvd+rw-tools" ,dvd+rw-tools)
315 ("glib" ,glib)
316 ("gnome-doc-utils" ,gnome-doc-utils)
317 ("gstreamer" ,gstreamer)
318 ("gst-plugins-base" ,gst-plugins-base)
319 ("gtk+" ,gtk+)
320 ("libcanberra" ,libcanberra)
321 ("libice" ,libice)
322 ("libnotify" ,libnotify)
323 ("libsm" ,libsm)
324 ("libxml2" ,libxml2)
325 ("totem-pl-parser" ,totem-pl-parser)))
326 (home-page "https://wiki.gnome.org/Apps/Brasero")
327 (synopsis "CD/DVD burning tool for Gnome")
328 (description "Brasero is an application to burn CD/DVD for the Gnome
329 Desktop. It is designed to be as simple as possible and has some unique
330 features to enable users to create their discs easily and quickly.")
331 (license license:gpl2+)))
332
333 (define-public libcloudproviders
334 (package
335 (name "libcloudproviders")
336 (version "0.3.1")
337 (source
338 (origin
339 (method url-fetch)
340 (uri
341 (string-append "mirror://gnome/sources/" name "/"
342 (version-major+minor version) "/"
343 name "-" version ".tar.xz"))
344 (sha256
345 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
346 (build-system meson-build-system)
347 (outputs '("out" "doc"))
348 (arguments
349 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
350 #:configure-flags
351 (list
352 "-Denable-gtk-doc=true")
353 #:phases
354 (modify-phases %standard-phases
355 (add-after 'install 'move-doc
356 (lambda* (#:key outputs #:allow-other-keys)
357 (let* ((out (assoc-ref outputs "out"))
358 (doc (assoc-ref outputs "doc")))
359 (mkdir-p (string-append doc "/share"))
360 (rename-file
361 (string-append out "/share/gtk-doc")
362 (string-append doc "/share/gtk-doc"))
363 #t))))))
364 (native-inputs
365 `(("glib:bin" ,glib "bin")
366 ("gobject-introspection" ,gobject-introspection)
367 ("gtk-doc" ,gtk-doc/stable)
368 ("pkg-config" ,pkg-config)
369 ("vala" ,vala)))
370 (inputs
371 `(("glib" ,glib)
372 ("glib-networking" ,glib-networking)))
373 (synopsis "Cloudproviders Integration API")
374 (description "Libcloudproviders is a DBus API that allows cloud storage sync
375 clients to expose their services. Clients such as file managers and desktop
376 environments can then provide integrated access to the cloud providers
377 services.")
378 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
379 (license license:lgpl3+)))
380
381 (define-public libgrss
382 (package
383 (name "libgrss")
384 (version "0.7.0")
385 (source
386 (origin
387 (method url-fetch)
388 (uri
389 (string-append "mirror://gnome/sources/" name "/"
390 (version-major+minor version) "/"
391 name "-" version ".tar.xz"))
392 (sha256
393 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
394 (build-system glib-or-gtk-build-system)
395 (outputs '("out" "doc"))
396 (arguments
397 `(#:configure-flags
398 (list
399 "--enable-gtk-doc"
400 (string-append "--with-html-dir="
401 (assoc-ref %outputs "doc")
402 "/share/gtk-doc/html"))
403 #:phases
404 (modify-phases %standard-phases
405 (add-after 'unpack 'patch-docbook-xml
406 (lambda* (#:key inputs #:allow-other-keys)
407 (with-directory-excursion "doc/reference"
408 (substitute* "libgrss-docs.sgml"
409 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
410 (string-append (assoc-ref inputs "docbook-xml")
411 "/xml/dtd/docbook/"))))
412 #t)))))
413 (native-inputs
414 `(("docbook-xml" ,docbook-xml-4.1.2)
415 ("gobject-introspection" ,gobject-introspection)
416 ("gtk-doc" ,gtk-doc/stable)
417 ("pkg-config" ,pkg-config)))
418 (propagated-inputs
419 `(("glib" ,glib)
420 ("libsoup" ,libsoup)
421 ("libxml2" ,libxml2)))
422 (synopsis "Glib library for feeds")
423 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
424 and other formats.")
425 (home-page "https://wiki.gnome.org/Projects/Libgrss")
426 (license license:lgpl3+)))
427
428 (define-public gnome-js-common
429 (package
430 (name "gnome-js-common")
431 (version "0.1.2")
432 (source
433 (origin
434 (method url-fetch)
435 (uri
436 (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.gz"))
439 (sha256
440 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
441 (build-system glib-or-gtk-build-system)
442 (arguments
443 `(#:configure-flags
444 (list
445 "--disable-static")))
446 (native-inputs
447 `(("gettext" ,gettext-minimal)
448 ("intltool" ,intltool)
449 ("pkg-config" ,pkg-config)))
450 (synopsis "Common JS Modules")
451 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
452 bindings.")
453 (home-page "https://wiki.gnome.org/Projects/Seed")
454 (license license:gpl3+)))
455
456 (define-public seed
457 (package
458 (name "seed")
459 (version "3.8.1")
460 (source
461 (origin
462 (method url-fetch)
463 (uri
464 (string-append "mirror://gnome/sources/" name "/"
465 (version-major+minor version) "/"
466 name "-" version ".tar.xz"))
467 (sha256
468 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
469 (patches
470 (search-patches "seed-webkit.patch"))))
471 (build-system glib-or-gtk-build-system)
472 (outputs '("out" "doc"))
473 (arguments
474 `(#:configure-flags
475 (list
476 "--disable-static"
477 "--enable-xorg-module"
478 (string-append "--with-html-dir="
479 (assoc-ref %outputs "doc")
480 "/share/gtk-doc/html")
481 "--with-webkit=4.0")
482 #:phases
483 (modify-phases %standard-phases
484 ;; The seed-webkit.patch patches configure.ac.
485 ;; So the source files need to be re-bootstrapped.
486 (add-after 'unpack 'trigger-bootstrap
487 (lambda _
488 (for-each delete-file
489 (list
490 "configure"
491 "Makefile.in"))
492 #t))
493 (add-after 'unpack 'patch-tests
494 (lambda* (#:key outputs #:allow-other-keys)
495 (substitute* (find-files "." "\\.js$")
496 (("#!/usr/bin/env seed")
497 (string-append "#!" (getcwd) "/src/seed")))
498 #t))
499 (add-before 'build 'patch-docbook-xml
500 (lambda* (#:key inputs #:allow-other-keys)
501 (with-directory-excursion "doc"
502 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
503 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
504 (string-append (assoc-ref inputs "docbook-xml")
505 "/xml/dtd/docbook/"))))
506 #t)))))
507 (native-inputs
508 `(("autoconf" ,autoconf)
509 ("automake" ,automake)
510 ("docbook-xml" ,docbook-xml-4.1.2)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk-doc" ,gtk-doc/stable)
514 ("intltool" ,intltool)
515 ("libtool" ,libtool)
516 ("pkg-config" ,pkg-config)))
517 (inputs
518 `(("cairo" ,cairo)
519 ("dbus" ,dbus)
520 ("dbus-glib" ,dbus-glib)
521 ("gnome-js-common" ,gnome-js-common)
522 ("gtk+" ,gtk+)
523 ("gtk+-2" ,gtk+-2)
524 ("libffi" ,libffi)
525 ("libxml2" ,libxml2)
526 ("mpfr" ,mpfr)
527 ("readline" ,readline)
528 ("sqlite" ,sqlite)
529 ("xscrnsaver" ,libxscrnsaver)))
530 (propagated-inputs
531 `(("glib" ,glib)
532 ("webkit" ,webkitgtk)))
533 (synopsis "GObject JavaScriptCore bridge")
534 (description "Seed is a library and interpreter, dynamically bridging
535 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
536 GNOME platform. It serves as something which enables you to write standalone
537 applications in JavaScript, or easily enable your application to be extensible
538 in JavaScript.")
539 (home-page "https://wiki.gnome.org/Projects/Seed")
540 (license license:lgpl2.0+)))
541
542 (define-public libdmapsharing
543 (package
544 (name "libdmapsharing")
545 (version "3.9.10")
546 (source
547 (origin
548 (method url-fetch)
549 (uri
550 (string-append "https://www.flyn.org/projects/"
551 name "/" name "-" version ".tar.gz"))
552 (sha256
553 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
554 (build-system glib-or-gtk-build-system)
555 (outputs '("out" "doc"))
556 (arguments
557 `(#:tests? #f ; Tests require networking.
558 #:configure-flags
559 (list
560 "--disable-static"
561 (string-append "--with-html-dir="
562 (assoc-ref %outputs "doc")
563 "/share/gtk-doc/html"))
564 #:phases
565 (modify-phases %standard-phases
566 (add-after 'unpack 'patch-docbook-xml
567 (lambda* (#:key inputs #:allow-other-keys)
568 (with-directory-excursion "doc"
569 (substitute* "libdmapsharing-4.0-docs.xml"
570 (("http://www.oasis-open.org/docbook/xml/4.3/")
571 (string-append (assoc-ref inputs "docbook-xml")
572 "/xml/dtd/docbook/"))))
573 #t)))))
574 (native-inputs
575 `(("check" ,check)
576 ("docbook-xml" ,docbook-xml-4.3)
577 ("gobject-introspection" ,gobject-introspection)
578 ("pedansee" ,pedansee)
579 ("pkg-config" ,pkg-config)
580 ("vala" ,vala)))
581 (inputs
582 `(("avahi" ,avahi)
583 ("gdk-pixbuf" ,gdk-pixbuf+svg)
584 ("gee" ,libgee)
585 ("gst-plugins-base" ,gst-plugins-base)
586 ("gtk+" ,gtk+)))
587 (propagated-inputs
588 `(("glib" ,glib)
589 ("glib-networking" ,glib-networking)
590 ("gstreamer" ,gstreamer)
591 ("libsoup" ,libsoup)))
592 (synopsis "Media management library")
593 (description "Libdmapsharing is a library which allows programs to access,
594 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
595 It is written in C using GObject and libsoup.")
596 (home-page "https://launchpad.net/gtx")
597 (license license:lgpl2.1+)))
598
599 (define-public gtx
600 (package
601 (name "gtx")
602 (version "0.2.2")
603 (source
604 (origin
605 (method url-fetch)
606 (uri
607 (string-append "https://launchpad.net/gtx/trunk/"
608 version "/+download/gtx-" version ".tar.gz"))
609 (sha256
610 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
611 (build-system glib-or-gtk-build-system)
612 (outputs '("out" "doc"))
613 (arguments
614 `(#:configure-flags
615 (list
616 "--disable-static"
617 "--enable-gtk-doc"
618 (string-append "--with-html-dir="
619 (assoc-ref %outputs "doc")
620 "/share/gtk-doc/html"))))
621 (native-inputs
622 `(("gobject-introspection" ,gobject-introspection)
623 ("gtk-doc" ,gtk-doc/stable)
624 ("pkg-config" ,pkg-config)))
625 (propagated-inputs
626 `(("glib" ,glib)))
627 (synopsis "GLib Testing Framework")
628 (description "GTX is a small collection of convenience functions intended to
629 enhance the GLib testing framework. With specific emphasis on easing the pain
630 of writing test cases for asynchronous interactions.")
631 (home-page "https://launchpad.net/gtx")
632 (license license:lgpl2.1+)))
633
634 (define-public dee
635 (package
636 (name "dee")
637 (version "1.2.7")
638 (source
639 (origin
640 (method url-fetch)
641 (uri
642 (string-append "https://launchpad.net/dee/1.0/"
643 version "/+download/dee-" version ".tar.gz"))
644 (sha256
645 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
646 (patches
647 (search-patches "dee-vapi.patch"))))
648 (build-system glib-or-gtk-build-system)
649 (outputs '("out" "doc"))
650 (arguments
651 `(#:configure-flags
652 (list
653 "--disable-maintainer-flags"
654 (string-append "--with-pygi-overrides-dir="
655 (assoc-ref %outputs "out")
656 "/lib/python"
657 ,(version-major+minor
658 (package-version python))
659 "/site-packages/gi/overrides")
660 (string-append "--with-html-dir="
661 (assoc-ref %outputs "doc")
662 "/share/gtk-doc/html"))
663 #:phases
664 (modify-phases %standard-phases
665 (add-after 'unpack 'patch-docbook-xml
666 (lambda* (#:key inputs #:allow-other-keys)
667 (with-directory-excursion "doc/reference/dee-1.0"
668 (substitute* "dee-1.0-docs.sgml"
669 (("http://www.oasis-open.org/docbook/xml/4.3/")
670 (string-append (assoc-ref inputs "docbook-xml")
671 "/xml/dtd/docbook/"))))
672 #t))
673 (add-after 'patch-docbook-xml 'disable-failing-tests
674 (lambda _
675 (substitute* "tests/test-icu.c"
676 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
677 "")
678 (("setup, test_ascii_folder, teardown\\);")
679 ""))
680 #t))
681 (add-before 'check 'pre-check
682 (lambda _
683 ;; Tests require a running dbus-daemon.
684 (system "dbus-daemon &")
685 ;; For missing '/etc/machine-id'.
686 (setenv "DBUS_FATAL_WARNINGS" "0")
687 #t)))))
688 (native-inputs
689 `(("dbus" ,dbus)
690 ("dbus-test-runner" ,dbus-test-runner)
691 ("docbook-xml" ,docbook-xml-4.3)
692 ("gobject-introspection" ,gobject-introspection)
693 ("gtk-doc" ,gtk-doc/stable)
694 ;; Would only be required by configure flag "--enable-extended-tests".
695 ;("gtx" ,gtx)
696 ("pkg-config" ,pkg-config)
697 ("pygobject" ,python-pygobject)
698 ("python" ,python-wrapper)
699 ("vala" ,vala)))
700 (inputs
701 `(("icu" ,icu4c)))
702 (propagated-inputs
703 `(("glib" ,glib)))
704 (synopsis "Model to synchronize multiple instances over DBus")
705 (description "Dee is a library that uses DBus to provide objects allowing
706 you to create Model-View-Controller type programs across DBus. It also consists
707 of utility objects which extend DBus allowing for peer-to-peer discoverability
708 of known objects without needing a central registrar.")
709 (home-page "https://launchpad.net/dee")
710 (license
711 ;; Dual-licensed
712 (list
713 license:lgpl3+
714 license:gpl3+))))
715
716 (define-public zeitgeist
717 (package
718 (name "zeitgeist")
719 (version "1.0.3")
720 (source
721 (origin
722 (method git-fetch)
723 (uri
724 (git-reference
725 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
726 (commit
727 (string-append "v" version))))
728 (file-name
729 (git-file-name name version))
730 (sha256
731 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
732 (build-system glib-or-gtk-build-system)
733 (arguments
734 `(#:configure-flags
735 (list
736 "--enable-explain-queries"
737 "--enable-fts"
738 "--enable-docs")
739 #:phases
740 (modify-phases %standard-phases
741 (add-after 'unpack 'patch-docbook-xml
742 (lambda* (#:key inputs #:allow-other-keys)
743 (with-directory-excursion "doc/libzeitgeist"
744 (substitute* "zeitgeist-gtkdoc-index.sgml"
745 (("http://www.oasis-open.org/docbook/xml/4.3/")
746 (string-append (assoc-ref inputs "docbook-xml")
747 "/xml/dtd/docbook/"))))
748 #t))
749 (add-after 'patch-docbook-xml 'disable-failing-tests
750 (lambda _
751 (substitute* "test/direct/Makefile.am"
752 ((" log-test ")
753 ""))
754 (substitute* "test/c/Makefile.am"
755 ((" test-log ")
756 ""))
757 #t))
758 (add-before 'bootstrap 'remove-autogen-script
759 (lambda _
760 ;; To honor `autoreconf -vif` by build-system.
761 (delete-file "autogen.sh")
762 #t)))))
763 (native-inputs
764 `(("autoconf" ,autoconf)
765 ("automake" ,automake)
766 ("docbook-xml" ,docbook-xml-4.3)
767 ("gettext" ,gettext-minimal)
768 ("gobject-introspection" ,gobject-introspection)
769 ("gtk-doc" ,gtk-doc/stable)
770 ("libtool" ,libtool)
771 ("pkg-config" ,pkg-config)
772 ("vala" ,vala)
773 ("xorg-server-for-tests" ,xorg-server-for-tests)))
774 (inputs
775 `(("dee-icu" ,dee)
776 ("gtk+" ,gtk+)
777 ("json-glib" ,json-glib)
778 ("sqlite" ,sqlite)
779 ("telepathy-glib" ,telepathy-glib)
780 ("python" ,python-wrapper)
781 ("python-rdflib" ,python-rdflib)
782 ("xapian-config" ,xapian)))
783 (propagated-inputs
784 `(("glib" ,glib)))
785 (synopsis "Desktop Activity Logging")
786 (description "Zeitgeist is a service which logs the users’s activities and
787 events, anywhere from files opened to websites visited and conversations. It
788 makes this information readily available for other applications to use. It is
789 able to establish relationships between items based on similarity and usage
790 patterns.")
791 (home-page "https://zeitgeist.freedesktop.org/")
792 (license
793 ;; Dual-licensed
794 (list
795 license:lgpl2.1+
796 license:gpl2+))))
797
798 (define-public gnome-recipes
799 (package
800 (name "gnome-recipes")
801 (version "2.0.4")
802 (source (origin
803 (method git-fetch)
804 (uri (git-reference
805 (url "https://gitlab.gnome.org/GNOME/recipes")
806 (commit version)))
807 (file-name (git-file-name name version))
808 (sha256
809 (base32
810 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
811 (build-system meson-build-system)
812 (arguments
813 `(#:glib-or-gtk? #t
814 #:phases
815 (modify-phases %standard-phases
816 (add-after 'unpack 'skip-gtk-update-icon-cache
817 (lambda _
818 (substitute* "meson_post_install.py"
819 (("gtk-update-icon-cache") (which "true")))
820 #t))
821 (add-after 'unpack 'unpack-libgd
822 (lambda* (#:key inputs #:allow-other-keys)
823 (let ((libgd (assoc-ref inputs "libgd")))
824 (copy-recursively libgd "subprojects/libgd")
825 #t))))))
826 (inputs
827 `(("glib" ,glib)
828 ("gnome-autoar" ,gnome-autoar)
829 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
830 ("gspell" ,gspell)
831 ("gtk+" ,gtk+)
832 ("json-glib" ,json-glib)
833 ("libcanberra" ,libcanberra)
834 ("libsoup" ,libsoup)
835 ("rest" ,rest)))
836 (native-inputs
837 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
838 ("gettext" ,gettext-minimal)
839 ("glib:bin" ,glib "bin")
840 ("itstool" ,itstool)
841 ("libgd"
842 ,(origin
843 (method git-fetch)
844 (uri (git-reference
845 (url "https://gitlab.gnome.org/GNOME/libgd")
846 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
847 (file-name (git-file-name "libgd" version))
848 (sha256
849 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
850 ("pkg-config" ,pkg-config)))
851 (home-page "https://wiki.gnome.org/Apps/Recipes")
852 (synopsis "Discover recipes for preparing food")
853 (description "GNOME Recipes helps you discover what to cook today,
854 tomorrow, the rest of the week and for special occasions.")
855 (license license:gpl3+)))
856
857 (define-public gnome-photos
858 (package
859 (name "gnome-photos")
860 (version "3.34.2")
861 (source
862 (origin
863 (method url-fetch)
864 (uri
865 (string-append "mirror://gnome/sources/" name "/"
866 (version-major+minor version) "/"
867 name "-" version ".tar.xz"))
868 (sha256
869 (base32
870 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
871 (build-system meson-build-system)
872 (arguments
873 `(#:glib-or-gtk? #t
874 #:configure-flags
875 (list "-Ddogtail=false" ; Not available
876 ;; Required for RUNPATH validation.
877 (string-append "-Dc_link_args=-Wl,-rpath="
878 (assoc-ref %outputs "out") "/lib/gnome-photos"))
879 #:phases
880 (modify-phases %standard-phases
881 (add-after 'install 'wrap-gnome-photos
882 (lambda* (#:key inputs outputs #:allow-other-keys)
883 (let*
884 ((out (assoc-ref outputs "out")))
885 (wrap-program (string-append out "/bin/gnome-photos")
886 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
887 #t)))))
888 (native-inputs
889 `(("dbus" ,dbus)
890 ("desktop-file-utils" ,desktop-file-utils)
891 ("gettext" ,gettext-minimal)
892 ("git" ,git-minimal)
893 ("glib:bin" ,glib "bin")
894 ("gobject-introspection" ,gobject-introspection)
895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
896 ("gtk+:bin" ,gtk+ "bin")
897 ("itstool" ,itstool)
898 ("pkg-config" ,pkg-config)))
899 (inputs
900 `(("babl" ,babl)
901 ("cairo" ,cairo)
902 ("gdk-pixbuf" ,gdk-pixbuf+svg)
903 ("gegl" ,gegl)
904 ("geocode-glib" ,geocode-glib)
905 ("gexiv2" ,gexiv2)
906 ("gnome-online-accounts" ,gnome-online-accounts)
907 ("gnome-online-miners" ,gnome-online-miners)
908 ("grilo" ,grilo)
909 ("grilo-plugins" ,grilo-plugins)
910 ("gtk+" ,gtk+)
911 ("libdazzle" ,libdazzle)
912 ("libgdata" ,libgdata)
913 ("libgfbgraph" ,gfbgraph)
914 ("libjpeg" ,libjpeg-turbo)
915 ("libpng" ,libpng)
916 ("librest" ,rest)
917 ("pygobject" ,python-pygobject)
918 ("tracker" ,tracker)
919 ("tracker-miners" ,tracker-miners)))
920 (synopsis "Access, organize and share your photos on GNOME desktop")
921 (description "GNOME Photos is a simple and elegant replacement for using a
922 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
923 cloud integration is offered through GNOME Online Accounts.")
924 (home-page "https://wiki.gnome.org/Apps/Photos")
925 (license license:gpl3+)))
926
927 (define-public gnome-music
928 (package
929 (name "gnome-music")
930 (version "3.34.5")
931 (source
932 (origin
933 (method url-fetch)
934 (uri
935 (string-append "mirror://gnome/sources/" name "/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
938 (sha256
939 (base32
940 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
941 (build-system meson-build-system)
942 (arguments
943 `(#:glib-or-gtk? #t
944 #:phases
945 (modify-phases %standard-phases
946 (add-after 'install 'wrap-gnome-music
947 (lambda* (#:key inputs outputs #:allow-other-keys)
948 (let*
949 ((out (assoc-ref outputs "out"))
950 (pylib (string-append out "/lib/python"
951 ,(version-major+minor
952 (package-version python))
953 "/site-packages")))
954 (wrap-program (string-append out "/bin/gnome-music")
955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
956 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
957 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
958 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
959 #t)))))
960 (native-inputs
961 `(("desktop-file-utils" ,desktop-file-utils)
962 ("gettext" ,gettext-minimal)
963 ("glib:bin" ,glib "bin")
964 ("gobject-introspection" ,gobject-introspection)
965 ("gtk+:bin" ,gtk+ "bin")
966 ("itstools" ,itstool)
967 ("pkg-config" ,pkg-config)))
968 (inputs
969 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
970 ("grilo" ,grilo)
971 ("grilo-plugins" ,grilo-plugins)
972 ("gst-plugins-base" ,gst-plugins-base)
973 ("gstreamer" ,gstreamer)
974 ("gvfs" ,gvfs)
975 ("libdazzle" ,libdazzle)
976 ("libmediaart" ,libmediaart)
977 ("libsoup" ,libsoup)
978 ("pycairo" ,python-pycairo)
979 ("pygobject" ,python-pygobject)
980 ("tracker" ,tracker)
981 ("tracker-miners" ,tracker-miners)))
982 (synopsis "Simple music player for GNOME desktop")
983 (description "GNOME Music is the new GNOME music playing application that
984 aims to combine an elegant and immersive browsing experience with simple
985 and straightforward controls.")
986 (home-page "https://wiki.gnome.org/Apps/Music")
987 (license license:gpl2+)))
988
989 (define-public portablexdr
990 (package
991 (name "portablexdr")
992 (version "4.9.1")
993 (source
994 (origin
995 (method url-fetch)
996 (uri
997 (string-append "https://people.redhat.com/~rjones/" name "/files/"
998 name "-" version ".tar.gz"))
999 (sha256
1000 (base32
1001 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1002 (build-system gnu-build-system)
1003 (synopsis "External Data Representation Library")
1004 (description "PortableXDR is an implementation of External Data
1005 Representation (XDR) Library. It is a standard data serialization format, for
1006 uses such as computer network protocols. It allows data to be transferred
1007 between different kinds of computer systems.")
1008 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1009 (license
1010 (list
1011 license:gpl2+
1012 license:lgpl2.1+))))
1013
1014 (define-public tepl
1015 (package
1016 (name "tepl")
1017 (version "4.4.0")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri
1022 (string-append "mirror://gnome/sources/" name "/"
1023 (version-major+minor version) "/"
1024 name "-" version ".tar.xz"))
1025 (sha256
1026 (base32
1027 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1028 (build-system glib-or-gtk-build-system)
1029 (arguments
1030 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1031 (native-inputs
1032 `(("gobject-introspection" ,gobject-introspection)
1033 ("pkg-config" ,pkg-config)))
1034 (inputs
1035 `(("amtk" ,amtk)
1036 ("glib" ,glib)
1037 ("gtk+" ,gtk+)
1038 ("gtksourceview" ,gtksourceview)
1039 ("libxml2" ,libxml2)
1040 ("uchardet" ,uchardet)))
1041 (synopsis "Text editor product line")
1042 (description "Tepl is a library that eases the development of
1043 GtkSourceView-based text editors and IDEs.")
1044 (home-page "https://wiki.gnome.org/Projects/Tepl")
1045 (license license:lgpl2.1+)))
1046
1047 (define-public krb5-auth-dialog
1048 (package
1049 (name "krb5-auth-dialog")
1050 (version "3.26.1")
1051 (source
1052 (origin
1053 (method url-fetch)
1054 (uri
1055 (string-append "mirror://gnome/sources/" name "/"
1056 (version-major+minor version) "/"
1057 name "-" version ".tar.xz"))
1058 (sha256
1059 (base32
1060 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1061 (build-system glib-or-gtk-build-system)
1062 (native-inputs
1063 `(("intltool" ,intltool)
1064 ("itstool" ,itstool)
1065 ("libxml2" ,libxml2)
1066 ("pkg-config" ,pkg-config)
1067 ("python-wrapper" ,python-wrapper)))
1068 (inputs
1069 `(("glib" ,glib)
1070 ("gtk+" ,gtk+)
1071 ("libnotify" ,libnotify)
1072 ("mit-krb5" ,mit-krb5)
1073 ("network-manager" ,network-manager)))
1074 (synopsis "Popup dialogs for Kerberos 5")
1075 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1076 tickets, and pops up a dialog when they are about to expire.")
1077 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1078 (license license:gpl2+)))
1079
1080 (define-public notification-daemon
1081 (package
1082 (name "notification-daemon")
1083 (version "3.20.0")
1084 (source
1085 (origin
1086 (method url-fetch)
1087 (uri
1088 (string-append "mirror://gnome/sources/" name "/"
1089 (version-major+minor version) "/"
1090 name "-" version ".tar.xz"))
1091 (sha256
1092 (base32
1093 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1094 (build-system glib-or-gtk-build-system)
1095 (native-inputs
1096 `(("intltool" ,intltool)
1097 ("pkg-config" ,pkg-config)))
1098 (inputs
1099 `(("glib" ,glib)
1100 ("gtk+" ,gtk+)
1101 ("x11" ,libx11)))
1102 (synopsis "Notification Daemon for GNOME Desktop")
1103 (description "Notification-Daemon is the server implementation of the
1104 freedesktop.org desktop notification specification.")
1105 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1106 (license license:gpl2+)))
1107
1108 (define-public mm-common
1109 (package
1110 (name "mm-common")
1111 (version "1.0.2")
1112 (source (origin
1113 (method url-fetch)
1114 (uri (string-append "mirror://gnome/sources/mm-common/"
1115 (version-major+minor version) "/"
1116 "mm-common-" version ".tar.xz"))
1117 (sha256
1118 (base32
1119 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1120 (build-system meson-build-system)
1121 (arguments
1122 `(#:phases
1123 (modify-phases %standard-phases
1124 (add-after 'unpack 'patch
1125 (lambda* (#:key inputs #:allow-other-keys)
1126 (substitute* "util/mm-common-prepare.in"
1127 (("ln") (string-append (assoc-ref inputs "coreutils")
1128 "/bin/ln"))
1129 (("cp") (string-append (assoc-ref inputs "coreutils")
1130 "/bin/cp"))
1131 (("sed") (string-append (assoc-ref inputs "sed")
1132 "/bin/sed"))
1133 (("cat") (string-append (assoc-ref inputs "coreutils")
1134 "/bin/cat")))
1135 #t)))))
1136 (native-inputs
1137 `(("coreutils" ,coreutils)
1138 ("gettext" ,gettext-minimal)
1139 ("pkg-config" ,pkg-config)
1140 ("sed" ,sed)))
1141 (inputs
1142 `(("python" ,python)))
1143 (synopsis "Module of GNOME C++ bindings")
1144 (description "The mm-common module provides the build infrastructure
1145 and utilities shared among the GNOME C++ binding libraries. Release
1146 archives of mm-common include the Doxygen tag file for the GNU C++
1147 Library reference documentation.")
1148 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1149 (license license:gpl2+)))
1150
1151 (define-public phodav
1152 (package
1153 (name "phodav")
1154 (version "2.5")
1155 (source (origin
1156 (method url-fetch)
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1160 (sha256
1161 (base32
1162 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1163 (build-system meson-build-system)
1164 (arguments
1165 `(#:phases
1166 (modify-phases %standard-phases
1167 (add-before 'check 'start-virtual-dir-server
1168 ;; The same server when started by tests/virtual-dir returns an
1169 ;; unexpected status (4 instead of 200) and fails a test. It is
1170 ;; unclear why starting it manually here makes it pass.
1171 (lambda _
1172 (system "tests/virtual-dir-server &")
1173 #t)))))
1174 (native-inputs
1175 `(("docbook-xml" ,docbook-xml-4.3)
1176 ("gettext" ,gettext-minimal)
1177 ("glib:bin" ,glib "bin")
1178 ("gtk-doc" ,gtk-doc/stable)
1179 ("pkg-config" ,pkg-config)))
1180 (inputs
1181 `(("avahi" ,avahi)
1182 ("libgudev" ,libgudev)
1183 ("libsoup" ,libsoup)))
1184 (synopsis "WebDav server implementation using libsoup")
1185 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1186 but it is generic enough to be reused in other projects,
1187 in particular in the GNOME desktop.")
1188 (home-page "https://wiki.gnome.org/phodav")
1189 (license license:lgpl2.1+)))
1190
1191 (define-public gnome-color-manager
1192 (package
1193 (name "gnome-color-manager")
1194 (version "3.32.0")
1195 (source (origin
1196 (method url-fetch)
1197 (uri (string-append "mirror://gnome/sources/" name "/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1200 (sha256
1201 (base32
1202 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1203 (build-system meson-build-system)
1204 (arguments
1205 `(#:glib-or-gtk? #t
1206 #:phases
1207 (modify-phases %standard-phases
1208 (add-before
1209 'check 'pre-check
1210 (lambda _
1211 ;; Tests require a running X server.
1212 (system "Xvfb :1 &")
1213 (setenv "DISPLAY" ":1")
1214 #t)))))
1215 (native-inputs
1216 `(("desktop-file-utils" ,desktop-file-utils)
1217 ("gettext" ,gettext-minimal)
1218 ("glib:bin" ,glib "bin")
1219 ("gtk+:bin" ,gtk+ "bin")
1220 ("itstool" ,itstool)
1221 ("pkg-config" ,pkg-config)
1222 ("xorg-server" ,xorg-server-for-tests)))
1223 (inputs
1224 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1225 ("appstream-glib" ,appstream-glib)
1226 ("colord-gtk" ,colord-gtk)
1227 ("exiv2" ,exiv2)
1228 ("gnome-desktop" ,gnome-desktop)
1229 ("libcanberra" ,libcanberra)
1230 ("libexif" ,libexif)
1231 ("libtiff" ,libtiff)
1232 ("libxrandr" ,libxrandr)
1233 ("libxtst" ,libxtst)
1234 ("libxxf86vm" ,libxxf86vm)
1235 ("vte" ,vte)
1236 ("xorgproto" ,xorgproto)))
1237 (synopsis "Color profile manager for the GNOME desktop")
1238 (description "GNOME Color Manager is a session framework that makes
1239 it easy to manage, install and generate color profiles
1240 in the GNOME desktop.")
1241 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1242 (license license:gpl2+)))
1243
1244 (define-public gnome-online-miners
1245 (package
1246 (name "gnome-online-miners")
1247 (version "3.34.0")
1248 (source (origin
1249 (method url-fetch)
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1253 (sha256
1254 (base32
1255 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1256 (build-system glib-or-gtk-build-system)
1257 (native-inputs
1258 `(("gettext" ,gettext-minimal)
1259 ("glib:bin" ,glib "bin")
1260 ("gobject-introspection" ,gobject-introspection)
1261 ("gtk+:bin" ,gtk+ "bin")
1262 ("pkg-config" ,pkg-config)))
1263 (inputs
1264 `(("gnome-online-accounts" ,gnome-online-accounts)
1265 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1266 ("grilo" ,grilo)
1267 ("libgdata" ,libgdata)
1268 ("libgfbgraph" ,gfbgraph)
1269 ("libzapojit" ,libzapojit)
1270 ("rest" ,rest)
1271 ("tracker" ,tracker)))
1272 (synopsis "Web Crawlers for GNOME")
1273 (description "GNOME Online Miners provides a set of crawlers that
1274 go through your online content and index them locally in Tracker.
1275 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1276 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1277 (license license:gpl2+)))
1278
1279 (define-public gssdp
1280 (package
1281 (name "gssdp")
1282 (version "1.2.3")
1283 (source (origin
1284 (method url-fetch)
1285 (uri (string-append "mirror://gnome/sources/" name "/"
1286 (version-major+minor version) "/"
1287 name "-" version ".tar.xz"))
1288 (sha256
1289 (base32
1290 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1291 (build-system meson-build-system)
1292 (native-inputs
1293 `(("gettext" ,gettext-minimal)
1294 ("glib:bin" ,glib "bin")
1295 ("gobject-introspection" ,gobject-introspection)
1296 ("gtk-doc" ,gtk-doc/stable)
1297 ("pkg-config" ,pkg-config)
1298 ("vala" ,vala)))
1299 (inputs
1300 `(("gtk+" ,gtk+)
1301 ("libsoup" ,libsoup)))
1302 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1303 Protocol} for GNOME")
1304 (description "This package provides a library to handle resource discovery
1305 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1306 a debugging tool, @command{gssdp-device-sniffer}.")
1307 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1308 (license license:lgpl2.0+)))
1309
1310 (define-public gupnp
1311 (package
1312 (name "gupnp")
1313 (version "1.2.4")
1314 (source (origin
1315 (method url-fetch)
1316 (uri (string-append "mirror://gnome/sources/" name "/"
1317 (version-major+minor version) "/"
1318 name "-" version ".tar.xz"))
1319 (sha256
1320 (base32
1321 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1322 (build-system meson-build-system)
1323 (native-inputs
1324 `(("gettext" ,gettext-minimal)
1325 ("glib:bin" ,glib "bin")
1326 ("gobject-introspection" ,gobject-introspection)
1327 ("gtk-doc" ,gtk-doc/stable)
1328 ("pkg-config" ,pkg-config)
1329 ("vala" ,vala)))
1330 (inputs
1331 `(("gssdp" ,gssdp)
1332 ("gtk+" ,gtk+)
1333 ("libsoup" ,libsoup)))
1334 (propagated-inputs
1335 `(;; For ‘org.gnome.system.proxy’.
1336 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1337 (synopsis "PnP API for GNOME")
1338 (description "This package provides GUPnP, an object-oriented framework
1339 for creating UPnP devices and control points, written in C using
1340 @code{GObject} and @code{libsoup}.")
1341 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1342 (license license:lgpl2.0+)))
1343
1344 (define-public gupnp-dlna
1345 (package
1346 (name "gupnp-dlna")
1347 (version "0.10.5")
1348 (source (origin
1349 (method url-fetch)
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.xz"))
1353 (sha256
1354 (base32
1355 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1356 (build-system gnu-build-system)
1357 (native-inputs
1358 `(("gettext" ,gettext-minimal)
1359 ("glib:bin" ,glib "bin")
1360 ("gobject-introspection" ,gobject-introspection)
1361 ("gtk-doc" ,gtk-doc/stable)
1362 ("libxml" ,libxml2)
1363 ("pkg-config" ,pkg-config)
1364 ("vala" ,vala)))
1365 (inputs
1366 `(("gstreamer" ,gstreamer)
1367 ("gupnp" ,gupnp)))
1368 (propagated-inputs
1369 `(("gst-plugins-base" ,gst-plugins-base)
1370 ("gst-plugins-good" ,gst-plugins-good)))
1371 (synopsis "GUPnP DLNA for GNOME")
1372 (description "This package provides a small utility library to
1373 support DLNA-related tasks such as media profile guessing, transcoding to a
1374 given profile, etc. DLNA is a subset of UPnP A/V.")
1375 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1376 (license license:lgpl2.0+)))
1377
1378 (define-public gupnp-av
1379 (package
1380 (name "gupnp-av")
1381 (version "0.12.11")
1382 (source (origin
1383 (method url-fetch)
1384 (uri (string-append "mirror://gnome/sources/" name "/"
1385 (version-major+minor version) "/"
1386 name "-" version ".tar.xz"))
1387 (sha256
1388 (base32
1389 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1390 (build-system gnu-build-system)
1391 (native-inputs
1392 `(("gettext" ,gettext-minimal)
1393 ("glib:bin" ,glib "bin")
1394 ("gobject-introspection" ,gobject-introspection)
1395 ("gtk-doc" ,gtk-doc/stable)
1396 ("libxml" ,libxml2)
1397 ("pkg-config" ,pkg-config)))
1398 (inputs
1399 `(("gtk+" ,gtk+)
1400 ("gupnp" ,gupnp)))
1401 (synopsis "GUPnP A/V for GNOME")
1402 (description "This package provides a small library for handling
1403 and implementation of UPnP A/V profiles.")
1404 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1405 (license license:lgpl2.0+)))
1406
1407 (define-public libmediaart
1408 (package
1409 (name "libmediaart")
1410 (version "1.9.5")
1411 (source (origin
1412 (method url-fetch)
1413 (uri (string-append "mirror://gnome/sources/" name "/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1416 (sha256
1417 (base32
1418 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1419 (build-system meson-build-system)
1420 (arguments
1421 `(#:meson ,meson-next))
1422 (native-inputs
1423 `(("glib:bin" ,glib "bin")
1424 ("pkg-config" ,pkg-config)))
1425 (inputs
1426 `(("gdk-pixbuf" ,gdk-pixbuf)
1427 ("gettext" ,gettext-minimal)
1428 ("gobject-introspection" ,gobject-introspection)
1429 ("gtk+:doc" ,gtk+ "doc")
1430 ("vala" ,vala)))
1431 (synopsis "Media art library for the GNOME desktop")
1432 (description
1433 "The libmediaart library is the foundation for media art caching,
1434 extraction, and lookup for applications on the desktop.")
1435 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1436 (license license:lgpl2.1+)))
1437
1438 (define-public gnome-initial-setup
1439 (package
1440 (name "gnome-initial-setup")
1441 (version "3.32.1")
1442 (source (origin
1443 (method url-fetch)
1444 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1445 (version-major+minor version)
1446 "/gnome-initial-setup-" version ".tar.xz"))
1447 (sha256
1448 (base32
1449 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1450 (build-system meson-build-system)
1451 (arguments
1452 '(#:configure-flags '(;; Enable camera support for user selfie.
1453 "-Dcheese=auto"
1454 "-Dsystemd=false")
1455 #:phases (modify-phases %standard-phases
1456 (add-after 'unpack 'set-gkbd-file-name
1457 (lambda* (#:key inputs #:allow-other-keys)
1458 ;; Allow the "Preview" button in the keyboard layout
1459 ;; selection dialog to display the layout.
1460 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1461 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1462 (("\"gkbd-keyboard-display")
1463 (string-append "\"" libgnomekbd
1464 "/bin/gkbd-keyboard-display")))
1465 #t))))))
1466 (native-inputs
1467 `(("gettext" ,gettext-minimal)
1468 ("glib:bin" ,glib "bin")
1469 ("gobject-introspection" ,gobject-introspection)
1470 ("gtk+:bin" ,gtk+ "bin")
1471 ("pkg-config" ,pkg-config)))
1472 (inputs
1473 `(("accountsservice" ,accountsservice)
1474 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1475 ("gdm" ,gdm)
1476 ("geoclue" ,geoclue)
1477 ("gnome-desktop" ,gnome-desktop)
1478 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1479 ("gnome-online-accounts" ,gnome-online-accounts)
1480 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1481 ("gstreamer" ,gstreamer)
1482 ("ibus" ,ibus)
1483 ("json-glib" ,json-glib)
1484 ("krb5" ,mit-krb5)
1485 ("libgweather" ,libgweather)
1486 ("libnma" ,libnma)
1487 ("libsecret" ,libsecret)
1488 ("network-manager" ,network-manager)
1489 ("packagekit" ,packagekit)
1490 ("polkit" ,polkit)
1491 ("pwquality" ,libpwquality)
1492 ("rest" ,rest)
1493 ("upower" ,upower)
1494 ("webkitgtk" ,webkitgtk)
1495 ("libgnomekbd" ,libgnomekbd)))
1496 (synopsis "Initial setup wizard for GNOME desktop")
1497 (description "This package provides a set-up wizard when a
1498 user logs into GNOME for the first time. It typically provides a
1499 tour of all gnome components and allows the user to set them up.")
1500 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1501 (license license:gpl2)))
1502
1503 (define-public gnome-user-share
1504 (package
1505 (name "gnome-user-share")
1506 (version "3.33.1")
1507 (source (origin
1508 (method url-fetch)
1509 (uri (string-append "mirror://gnome/sources/" name "/"
1510 (version-major+minor version) "/"
1511 name "-" version ".tar.xz"))
1512 (sha256
1513 (base32
1514 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1515 (build-system meson-build-system)
1516 (arguments
1517 `(#:glib-or-gtk? #t
1518 #:configure-flags
1519 `("-Dsystemd=false"
1520 ;; Enable nautilus extension for file sharing.
1521 "-Dnautilus_extension=true")))
1522 (native-inputs
1523 `(("gettext" ,gettext-minimal)
1524 ("glib:bin" ,glib "bin")
1525 ("gobject-introspection" ,gobject-introspection)
1526 ("gtk+:bin" ,gtk+ "bin")
1527 ("pkg-config" ,pkg-config)
1528 ("yelp-tools" ,yelp-tools)))
1529 (inputs
1530 `(("glib" ,glib)
1531 ("gnome-bluetooth" ,gnome-bluetooth)
1532 ("gtk+" ,gtk+)
1533 ("libcanberra" ,libcanberra)
1534 ("libnotify" ,libnotify)
1535 ("nautilus" ,nautilus))) ; For nautilus extension.
1536 (synopsis "File sharing for GNOME desktop")
1537 (description "GNOME User Share is a small package that binds together
1538 various free software projects to bring easy to use user-level file
1539 sharing to the masses.")
1540 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1541 (license license:gpl2+)))
1542
1543 (define-public sushi
1544 (package
1545 (name "sushi")
1546 (version "3.32.1")
1547 (source (origin
1548 (method url-fetch)
1549 (uri (string-append "mirror://gnome/sources/" name "/"
1550 (version-major+minor version) "/"
1551 name "-" version ".tar.xz"))
1552 (sha256
1553 (base32
1554 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1555 (build-system meson-build-system)
1556 (arguments
1557 `(#:glib-or-gtk? #t
1558 #:phases
1559 (modify-phases %standard-phases
1560 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1561 (lambda* (#:key outputs #:allow-other-keys)
1562 (let ((prog (string-append (assoc-ref outputs "out")
1563 "/bin/sushi")))
1564 ;; Put existing typelibs before sushi's deps, so as to correctly
1565 ;; infer gdk-pixbuf
1566 (wrap-program prog
1567 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1568 #t))))))
1569 (native-inputs
1570 `(("glib:bin" ,glib "bin")
1571 ("gettext" ,gettext-minimal)
1572 ("gobject-introspection" ,gobject-introspection)
1573 ("pkg-config" ,pkg-config)))
1574 (inputs
1575 `(("clutter" ,clutter)
1576 ("clutter-gst" ,clutter-gst)
1577 ("clutter-gtk" ,clutter-gtk)
1578 ("evince" ,evince) ; For file previewing.
1579 ("freetype" ,freetype)
1580 ("gdk-pixbuf" ,gdk-pixbuf)
1581 ("gjs" ,gjs)
1582 ("gst-plugins-base" ,gst-plugins-base)
1583 ("gstreamer" ,gstreamer)
1584 ("gtksourceview" ,gtksourceview-3)
1585 ("harfbuzz" ,harfbuzz)
1586 ("libepoxy" ,libepoxy)
1587 ("libmusicbrainz" ,libmusicbrainz)
1588 ("libxml2" ,libxml2)
1589 ("neon" ,neon)
1590 ("webkitgtk" ,webkitgtk)))
1591 (synopsis "File previewer for the GNOME desktop")
1592 (description "Sushi is a DBus-activated service that allows applications to
1593 preview files on the GNOME desktop.")
1594 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1595 (license license:gpl2+)))
1596
1597 (define-public rygel
1598 (package
1599 (name "rygel")
1600 (version "0.38.3")
1601 (source (origin
1602 (method url-fetch)
1603 (uri (string-append "mirror://gnome/sources/" name "/"
1604 (version-major+minor version) "/"
1605 name "-" version ".tar.xz"))
1606 (sha256
1607 (base32
1608 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1609 (build-system gnu-build-system)
1610 (native-inputs
1611 `(("gettext" ,gettext-minimal)
1612 ("gobject-introspection" ,gobject-introspection)
1613 ("gtk-doc" ,gtk-doc/stable)
1614 ("pkg-config" ,pkg-config)
1615 ("vala" ,vala)))
1616 (inputs
1617 `(("gdk-pixbuf" ,gdk-pixbuf)
1618 ("gssdp" ,gssdp)
1619 ("gstreamer" ,gstreamer)
1620 ("gst-plugins-base" ,gst-plugins-base)
1621 ("gtk+" ,gtk+)
1622 ("gupnp" ,gupnp)
1623 ("gupnp-av" ,gupnp-av)
1624 ("gupnp-dlna" ,gupnp-dlna)
1625 ("libgee" ,libgee)
1626 ("libmediaart" ,libmediaart)
1627 ("libsoup" ,libsoup)
1628 ("libxslt" ,libxslt)
1629 ("libunistring" ,libunistring)
1630 ("tracker" ,tracker)))
1631 (synopsis "Share audio, video, and pictures with other devices")
1632 (description
1633 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1634 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1635 pictures, and to control a media player on your home network.
1636
1637 Rygel achieves interoperability with other devices by trying to conform to the
1638 strict requirements of DLNA and by converting media on-the-fly to formats that
1639 client devices can handle.")
1640 (home-page "https://wiki.gnome.org/Projects/Rygel")
1641 (license (list
1642 ;; For logo (data/icons/*).
1643 license:cc-by-sa3.0
1644 ;; For all others.
1645 license:lgpl2.1+))))
1646
1647 (define-public libnma
1648 (package
1649 (name "libnma")
1650 (version "1.8.28")
1651 (source (origin
1652 (method url-fetch)
1653 (uri (string-append "mirror://gnome/sources/" name "/"
1654 (version-major+minor version) "/"
1655 name "-" version ".tar.xz"))
1656 (sha256
1657 (base32
1658 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1659 (build-system meson-build-system)
1660 (arguments
1661 `(#:phases
1662 (modify-phases %standard-phases
1663 (add-after 'unpack 'patch-docbook-xml
1664 (lambda* (#:key inputs #:allow-other-keys)
1665 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1666 "/xml/dtd/docbook")))
1667 (substitute* "libnma-docs.xml"
1668 (("http://.*/docbookx\\.dtd")
1669 (string-append xmldoc "/docbookx.dtd")))
1670 #t))))))
1671 (native-inputs
1672 `(("docbook-xml" ,docbook-xml-4.3)
1673 ("gettext" ,gettext-minimal)
1674 ("glib:bin" ,glib "bin")
1675 ("gtk-doc" ,gtk-doc/stable)
1676 ("gobject-introspection" ,gobject-introspection)
1677 ("pkg-config" ,pkg-config)
1678 ("vala" ,vala)))
1679 (inputs
1680 `(("gcr" ,gcr)
1681 ("gtk+" ,gtk+)
1682 ("iso-codes" ,iso-codes)
1683 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1684 ("network-manager" ,network-manager)))
1685 (synopsis "Network Manager's applet library")
1686 (description "Libnma is an applet library for Network Manager. It was
1687 initially part of network-manager-applet and has now become a separate
1688 project.")
1689 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1690 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1691 ;; "LGPL-2.1+".
1692 (license license:gpl2+)))
1693
1694 (define-public gnome-menus
1695 (package
1696 (name "gnome-menus")
1697 (version "3.32.0")
1698 (source (origin
1699 (method url-fetch)
1700 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1701 (version-major+minor version) "/"
1702 name "-" version ".tar.xz"))
1703 (sha256
1704 (base32
1705 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1706 (build-system gnu-build-system)
1707 (native-inputs
1708 `(("gettext" ,gettext-minimal)
1709 ("glib" ,glib)
1710 ("pkg-config" ,pkg-config)))
1711 (synopsis "Menu support for GNOME desktop")
1712 (description "GNOME Menus contains the libgnome-menu library, the layout
1713 configuration files for the GNOME menu, as well as a simple menu editor.")
1714 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1715 (license license:lgpl2.0+)))
1716
1717 (define-public deja-dup
1718 (package
1719 (name "deja-dup")
1720 (version "40.6")
1721 (source (origin
1722 (method url-fetch)
1723 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1724 version "/deja-dup-" version ".tar.bz2"))
1725 (sha256
1726 (base32
1727 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1728 (build-system meson-build-system)
1729 (arguments
1730 `(#:glib-or-gtk? #t
1731 #:configure-flags
1732 (list
1733 ;; Otherwise, the RUNPATH will lack the final path component.
1734 (string-append "-Dc_link_args=-Wl,-rpath="
1735 (assoc-ref %outputs "out") "/lib/deja-dup"))
1736 #:phases
1737 (modify-phases %standard-phases
1738 (add-after 'unpack 'patch-paths
1739 (lambda* (#:key inputs #:allow-other-keys)
1740 (let ((python (assoc-ref inputs "python")))
1741 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1742 "libdeja/tests/scripts/instance-error.test")
1743 (("/bin/rm")
1744 (which "rm")))
1745 (substitute* "libdeja/tests/runner.vala"
1746 (("/bin/sh")
1747 (which "sh")))
1748 (substitute* "libdeja/tests/scripts/instance-error.test"
1749 (("`which python3`")
1750 (string-append python "/bin/python3"))))))
1751 (add-after 'unpack 'patch-libgpg-error
1752 (lambda* (#:key inputs #:allow-other-keys)
1753 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1754 (substitute* "meson.build"
1755 (("(gpgerror_libs = ).*" _ var)
1756 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1757 #t))
1758 (add-after 'unpack 'skip-gtk-update-icon-cache
1759 ;; Don't create 'icon-theme.cache'.
1760 (lambda _
1761 (substitute* "data/post-install.sh"
1762 (("gtk-update-icon-cache") "true"))
1763 #t)))))
1764 (inputs
1765 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1766 ("duplicity" ,duplicity)
1767 ("python" ,python)
1768 ("python-pygobject" ,python-pygobject)
1769 ("gtk+" ,gtk+)
1770 ("json-glib" ,json-glib)
1771 ("libnotify" ,libnotify)
1772 ("libgpg-error" ,libgpg-error)
1773 ("libsecret" ,libsecret)
1774 ("libsoup" ,libsoup)
1775 ("packagekit" ,packagekit)))
1776 (native-inputs
1777 `(("appstream-glib" ,appstream-glib)
1778 ("desktop-file-utils" ,desktop-file-utils)
1779 ("gettext" ,gettext-minimal)
1780 ("glib" ,glib "bin") ; for glib-compile-schemas.
1781 ("gobject-introspection" ,gobject-introspection)
1782 ("itstool" ,itstool)
1783 ("pkg-config" ,pkg-config)
1784 ("vala" ,vala)))
1785 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1786 (synopsis "Simple backup tool, for regular encrypted backups")
1787 (description
1788 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1789 uses duplicity as the backend, which supports incremental backups and storage
1790 either on a local, or remote machine via a number of methods.")
1791 (license license:gpl3+)))
1792
1793 (define-public gnome-commander
1794 (package
1795 (name "gnome-commander")
1796 (version "1.10.3")
1797 (source
1798 (origin
1799 (method url-fetch)
1800 (uri (string-append "mirror://gnome/sources/" name "/"
1801 (version-major+minor version) "/"
1802 "gnome-commander-" version ".tar.xz"))
1803 (sha256
1804 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1805 (build-system glib-or-gtk-build-system)
1806 (native-inputs
1807 `(("desktop-file-utils" ,desktop-file-utils)
1808 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1809 ("gettext" ,gettext-minimal)
1810 ("glib:bin" ,glib "bin")
1811 ("gobject-introspection" ,gobject-introspection)
1812 ("googletest" ,googletest)
1813 ("intltool" ,intltool)
1814 ("itstool" ,itstool)
1815 ("libtool" ,libtool)
1816 ("pkg-config" ,pkg-config)))
1817 (inputs
1818 `(("gconf" ,gconf)
1819 ("gnome-vfs" ,gnome-vfs)
1820 ("gtk+" ,gtk+-2)
1821 ("libxml2" ,libxml2)))
1822 (home-page "https://gcmd.github.io/")
1823 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1824 (description
1825 "GNOME Commander is a two-pane graphical file manager using GNOME
1826 libraries. It aims to fulfill the demands of more advanced users who
1827 like to focus on file management, their work through special applications
1828 and running smart commands.")
1829 (license license:gpl2+)))
1830
1831 (define-public gnome-user-docs
1832 (package
1833 (name "gnome-user-docs")
1834 (version "3.32.3")
1835 (source
1836 (origin
1837 (method url-fetch)
1838 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1839 (version-major+minor version)
1840 "/gnome-user-docs-" version ".tar.xz"))
1841 (sha256
1842 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1843 (build-system gnu-build-system)
1844 (native-inputs
1845 `(("gettext" ,gettext-minimal)
1846 ("itstool" ,itstool)
1847 ("pkg-config" ,pkg-config)
1848 ("xmllint" ,libxml2)))
1849 (synopsis "User documentation for the GNOME desktop")
1850 (description
1851 "The GNOME User Documentation explains how to use the GNOME desktop and its
1852 components. It covers usage and setup of the core GNOME programs by end-users
1853 and system administrators.")
1854 (home-page "https://live.gnome.org/DocumentationProject")
1855 (license license:cc-by3.0)))
1856
1857 (define-public gnome-getting-started-docs
1858 (package
1859 (name "gnome-getting-started-docs")
1860 (version "3.32.2")
1861 (source
1862 (origin
1863 (method url-fetch)
1864 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1865 (version-major+minor version)
1866 "/gnome-getting-started-docs-" version ".tar.xz"))
1867 (sha256
1868 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1869 (build-system gnu-build-system)
1870 (native-inputs
1871 `(("gettext" ,gettext-minimal)
1872 ("itstool" ,itstool)
1873 ("pkg-config" ,pkg-config)
1874 ("xmllint" ,libxml2)))
1875 (synopsis "Help to get new users started with the GNOME desktop")
1876 (description
1877 "The GNOME Getting Started Documentation contains GNOME's intuitive
1878 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1879
1880 It is normally used together with @command{gnome-initial-setup}, but is also
1881 useful as a tutorial and users' guide for new or less experienced users.")
1882 (home-page "https://live.gnome.org/DocumentationProject")
1883 (license license:cc-by-sa3.0)))
1884
1885 (define-public dia
1886 ;; This version from GNOME's repository includes fixes for compiling with
1887 ;; recent versions of the build tools. The latest activity on the
1888 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1889 ;; fixes since.
1890 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1891 (revision "2"))
1892 (package
1893 (name "dia")
1894 (version (git-version "0.97.3" revision commit))
1895 (source (origin
1896 (method git-fetch)
1897 (uri (git-reference
1898 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1899 (commit commit)))
1900 (file-name (git-file-name name version))
1901 (sha256
1902 (base32
1903 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1904 (build-system meson-build-system)
1905 (inputs
1906 `(("graphene" ,graphene)
1907 ("gtk+" ,gtk+-2)
1908 ("libxml2" ,libxml2)
1909 ("libxslt" ,libxslt)
1910 ("poppler" ,poppler)
1911 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1912 ;; ERROR: Unknown method "dependency" in object.
1913 ("python-2" ,python-2)))
1914 (native-inputs
1915 `(("appstream-glib" ,appstream-glib)
1916 ("docbook-xsl" ,docbook-xsl)
1917 ("glib" ,glib "bin")
1918 ("intltool" ,intltool)
1919 ("pkg-config" ,pkg-config)))
1920 (home-page "https://wiki.gnome.org/Apps/Dia")
1921 (synopsis "Diagram creation for GNOME")
1922 (description "Dia can be used to draw different types of diagrams, and
1923 includes support for UML static structure diagrams (class diagrams), entity
1924 relationship modeling, and network diagrams. The program supports various file
1925 formats like PNG, SVG, PDF and EPS.")
1926 (license license:gpl2+))))
1927
1928 ;; This is the unstable release, but it is required for the current stable
1929 ;; release of gvfs (1.38.1).
1930 (define-public libgdata
1931 (package
1932 (name "libgdata")
1933 (version "0.17.9")
1934 (source (origin
1935 (method url-fetch)
1936 (uri (string-append "mirror://gnome/sources/" name "/"
1937 (version-major+minor version) "/"
1938 name "-" version ".tar.xz"))
1939 (sha256
1940 (base32
1941 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1942 (build-system gnu-build-system)
1943 (arguments
1944 '(#:phases
1945 (modify-phases %standard-phases
1946 (add-before 'check 'disable-failing-tests
1947 (lambda _
1948 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1949 ;; They have been removed in libgdata 0.17.6, so just do the same.
1950 (substitute* "gdata/tests/Makefile"
1951 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1952 #t)))))
1953 (native-inputs
1954 `(("glib:bin" ,glib "bin")
1955 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1956 ("intltool" ,intltool)
1957 ("pkg-config" ,pkg-config)
1958 ("uhttpmock" ,uhttpmock)))
1959 (inputs
1960 `(("cyrus-sasl" ,cyrus-sasl)
1961 ("glib-networking" ,glib-networking)))
1962 (propagated-inputs
1963 `(("gcr" ,gcr)
1964 ("glib" ,glib)
1965 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1966 ("json-glib" ,json-glib)
1967 ("liboauth" ,liboauth)
1968 ("libsoup" ,libsoup)
1969 ("libxml2" ,libxml2)))
1970 (home-page "https://wiki.gnome.org/Projects/libgdata")
1971 (synopsis "Library for accessing online service APIs")
1972 (description
1973 "libgdata is a GLib-based library for accessing online service APIs using
1974 the GData protocol — most notably, Google's services. It provides APIs to
1975 access the common Google services, and has full asynchronous support.")
1976 (license license:lgpl2.1+)))
1977
1978 (define-public libgxps
1979 (package
1980 (name "libgxps")
1981 (version "0.3.2")
1982 (source (origin
1983 (method url-fetch)
1984 (uri (string-append "mirror://gnome/sources/" name "/"
1985 (version-major+minor version) "/"
1986 name "-" version ".tar.xz"))
1987 (sha256
1988 (base32
1989 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1990 (build-system meson-build-system)
1991 (native-inputs
1992 `(("gobject-introspection" ,gobject-introspection)
1993 ("pkg-config" ,pkg-config)))
1994 (inputs
1995 `(("gtk+" ,gtk+)
1996 ("libjpeg" ,libjpeg-turbo)
1997 ("lcms" ,lcms)
1998 ("libtiff" ,libtiff)))
1999 (propagated-inputs
2000 ;; In Requires of libgxps.pc.
2001 `(("cairo" ,cairo)
2002 ("glib" ,glib)
2003 ("libarchive" ,libarchive)))
2004 (home-page "https://wiki.gnome.org/Projects/libgxps")
2005 (synopsis "GObject-based library for handling and rendering XPS documents")
2006 (description
2007 "libgxps is a GObject-based library for handling and rendering XPS
2008 documents. This package also contains binaries that can convert XPS documents
2009 to other formats.")
2010 (license license:lgpl2.1+)))
2011
2012 (define-public gnome-characters
2013 (package
2014 (name "gnome-characters")
2015 (version "3.30.0")
2016 (source
2017 (origin
2018 (method url-fetch)
2019 (uri (string-append "mirror://gnome/sources/"
2020 "gnome-characters/" (version-major+minor version)
2021 "/gnome-characters-" version ".tar.xz"))
2022 (sha256
2023 (base32
2024 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2025 (build-system meson-build-system)
2026 (arguments
2027 `(#:glib-or-gtk? #t
2028 #:phases (modify-phases %standard-phases
2029 (add-after 'install 'wrap
2030 (lambda* (#:key outputs #:allow-other-keys)
2031 ;; GNOME Characters needs Typelib files from GTK and
2032 ;; gnome-desktop.
2033 (wrap-program (string-append (assoc-ref outputs "out")
2034 "/bin/gnome-characters")
2035 `("GI_TYPELIB_PATH" ":" prefix
2036 (,(getenv "GI_TYPELIB_PATH"))))
2037 #t)))))
2038 (native-inputs
2039 `(("gettext" ,gettext-minimal)
2040 ("glib:bin" ,glib "bin")
2041 ("gtk+:bin" ,gtk+ "bin")
2042 ("pkg-config" ,pkg-config)
2043 ("python" ,python-minimal)))
2044 (inputs
2045 `(("gjs" ,gjs)
2046 ("gtk+" ,gtk+)
2047 ("libunistring" ,libunistring)
2048 ("gnome-desktop" ,gnome-desktop)))
2049 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2050 (synopsis "Find and insert unusual characters")
2051 (description "Characters is a simple utility application to find
2052 and insert unusual characters. It allows you to quickly find the
2053 character you are looking for by searching for keywords.")
2054 (license license:bsd-3)))
2055
2056 (define-public gnome-common
2057 (package
2058 (name "gnome-common")
2059 (version "3.18.0")
2060 (source
2061 (origin
2062 (method url-fetch)
2063 (uri (string-append "mirror://gnome/sources/" name "/"
2064 (version-major+minor version) "/"
2065 name "-" version ".tar.xz"))
2066 (sha256
2067 (base32
2068 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2069 (build-system gnu-build-system)
2070 (home-page "https://www.gnome.org/")
2071 (synopsis "Bootstrap GNOME modules built from Git")
2072 (description "gnome-common contains various files needed to bootstrap
2073 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2074 can be used to configure a source directory checked out from Git and some
2075 commonly used macros.")
2076 (license license:gpl2+)))
2077
2078 (define-public gnome-contacts
2079 (package
2080 (name "gnome-contacts")
2081 (version "3.34")
2082 (source (origin
2083 (method url-fetch)
2084 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2085 (version-major+minor version) "/"
2086 name "-" version ".tar.xz"))
2087 (sha256
2088 (base32
2089 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2090 (build-system meson-build-system)
2091 (arguments
2092 `(#:configure-flags '("-Dcheese=false")
2093 #:phases
2094 (modify-phases %standard-phases
2095 (add-after 'unpack 'generate-vapis
2096 (lambda* (#:key inputs #:allow-other-keys)
2097 ;; To generate goa's missing .vapi file
2098 (define goa
2099 (assoc-ref inputs "gnome-online-accounts:lib"))
2100
2101 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2102 "--library=goa-1.0"
2103 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2104 #t))
2105 (add-after 'unpack 'skip-gtk-update-icon-cache
2106 ;; Don't create 'icon-theme.cache'.
2107 (lambda _
2108 (substitute* "build-aux/meson_post_install.py"
2109 (("gtk-update-icon-cache") "true"))
2110 #t)))))
2111 (native-inputs
2112 `(("glib:bin" ,glib "bin")
2113 ("pkg-config" ,pkg-config)))
2114 (inputs
2115 `(("docbook-xml" ,docbook-xml)
2116 ("dockbook-xsl" ,docbook-xsl)
2117 ("evolution-data-server" ,evolution-data-server)
2118 ("gettext" ,gettext-minimal)
2119 ("gnome-desktop" ,gnome-desktop)
2120 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2121 ("gobject-introspection" ,gobject-introspection)
2122 ("gst-plugins-base" ,gst-plugins-base)
2123 ("gtk+" ,gtk+)
2124 ("libgee" ,libgee)
2125 ("libxslt" ,libxslt)
2126 ("telepathy-glib" ,telepathy-glib)
2127 ("vala" ,vala)))
2128 (propagated-inputs
2129 `(("folks" ,folks)
2130 ("telepathy-mission-control" ,telepathy-mission-control)))
2131 (synopsis "GNOME's integrated address book")
2132 (description
2133 "GNOME Contacts organizes your contact information from online and
2134 offline sources, providing a centralized place for managing your contacts.")
2135 (home-page "https://wiki.gnome.org/Apps/Contacts")
2136 (license license:gpl2+)))
2137
2138 (define-public gnome-desktop
2139 (package
2140 (name "gnome-desktop")
2141 (version "3.34.2")
2142 (source
2143 (origin
2144 (method url-fetch)
2145 (uri (string-append "mirror://gnome/sources/" name "/"
2146 (version-major+minor version) "/"
2147 name "-" version ".tar.xz"))
2148 (sha256
2149 (base32
2150 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2151 (build-system meson-build-system)
2152 (arguments
2153 '(#:phases
2154 (modify-phases %standard-phases
2155 (add-before 'configure 'patch-path
2156 (lambda* (#:key inputs #:allow-other-keys)
2157 (let ((libc (assoc-ref inputs "libc")))
2158 (substitute* "libgnome-desktop/gnome-languages.c"
2159 (("\"locale\"")
2160 (string-append "\"" libc "/bin/locale\"")))
2161 #t)))
2162 (add-before 'configure 'patch-bubblewrap
2163 (lambda* (#:key inputs #:allow-other-keys)
2164 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2165 (("\"bwrap\",")
2166 (string-append "\"" (which "bwrap") "\","))
2167 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2168 (string-append "\"--ro-bind\", \""
2169 (%store-directory)
2170 "\", \""
2171 (%store-directory)
2172 "\","))
2173 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2174 #t))
2175 (add-before 'check 'pre-check
2176 (lambda* (#:key inputs #:allow-other-keys)
2177 ;; Tests require a running X server and locales.
2178 (system "Xvfb :1 &")
2179 (setenv "DISPLAY" ":1")
2180 (setenv "GUIX_LOCPATH"
2181 (string-append (assoc-ref inputs "glibc-locales")
2182 "/lib/locale"))
2183 #t)))))
2184 (native-inputs
2185 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2186 ("glibc-locales" ,glibc-locales) ; for tests
2187 ("gobject-introspection" ,gobject-introspection)
2188 ("itstool" ,itstool)
2189 ("intltool" ,intltool)
2190 ("pkg-config" ,pkg-config)
2191 ("xmllint" ,libxml2)
2192 ("xorg-server" ,xorg-server-for-tests)))
2193 (propagated-inputs
2194 ;; Required by gnome-desktop-3.0.pc.
2195 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2196 ("gtk+" ,gtk+)
2197 ("iso-codes" ,iso-codes)
2198 ("libseccomp" ,libseccomp)
2199 ("libx11" ,libx11)
2200 ("xkeyboard-config" ,xkeyboard-config)))
2201 (inputs
2202 `(("gdk-pixbuf" ,gdk-pixbuf)
2203 ("glib" ,glib)
2204 ("bubblewrap" ,bubblewrap)
2205 ("libxext" ,libxext)
2206 ("libxkbfile" ,libxkbfile)
2207 ("libxrandr" ,libxrandr)))
2208 (home-page "https://www.gnome.org/")
2209 (synopsis
2210 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2211 (description
2212 "The libgnome-desktop library provides API shared by several applications
2213 on the desktop, but that cannot live in the platform for various reasons.
2214 There is no API or ABI guarantee, although we are doing our best to provide
2215 stability. Documentation for the API is available with gtk-doc.
2216
2217 The gnome-about program helps find which version of GNOME is installed.")
2218 ; Some bits under the LGPL.
2219 (license license:gpl2+)))
2220
2221 (define-public gnome-doc-utils
2222 (package
2223 (name "gnome-doc-utils")
2224 (version "0.20.10")
2225 (source
2226 (origin
2227 (method url-fetch)
2228 (uri (string-append "mirror://gnome/sources/" name "/"
2229 (version-major+minor version) "/"
2230 name "-" version ".tar.xz"))
2231 (sha256
2232 (base32
2233 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2234 (build-system gnu-build-system)
2235 (native-inputs
2236 `(("intltool" ,intltool)
2237 ("docbook-xml" ,docbook-xml-4.4)
2238 ("python2-libxml2" ,python2-libxml2)
2239 ("libxml2" ,libxml2)
2240 ("libxslt" ,libxslt)
2241 ("pkg-config" ,pkg-config)
2242 ("python-2" ,python-2)))
2243 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2244 (synopsis
2245 "Documentation utilities for the Gnome project")
2246 (description
2247 "Gnome-doc-utils is a collection of documentation utilities for the
2248 Gnome project. It includes xml2po tool which makes it easier to translate
2249 and keep up to date translations of documentation.")
2250 (license license:gpl2+))) ; xslt under lgpl
2251
2252 (define-public gnome-disk-utility
2253 (package
2254 (name "gnome-disk-utility")
2255 (version "3.34.0")
2256 (source (origin
2257 (method url-fetch)
2258 (uri (string-append "mirror://gnome/sources/" name "/"
2259 (version-major+minor version) "/"
2260 name "-" version ".tar.xz"))
2261 (sha256
2262 (base32
2263 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2264 (build-system meson-build-system)
2265 (arguments
2266 '(#:configure-flags '("-Dlogind=libelogind")
2267 #:phases
2268 (modify-phases %standard-phases
2269 (add-after 'unpack 'skip-gtk-update-icon-cache
2270 ;; Don't create 'icon-theme.cache'.
2271 (lambda _
2272 (substitute* "meson_post_install.py"
2273 (("gtk-update-icon-cache") "true"))
2274 #t)))))
2275 (native-inputs
2276 `(("glib:bin" ,glib "bin")
2277 ("intltool" ,intltool)
2278 ("pkg-config" ,pkg-config)
2279 ("docbook-xml" ,docbook-xml)
2280 ("docbook-xsl" ,docbook-xsl)
2281 ("libxml2" ,libxml2)
2282 ("libxslt" ,libxslt)))
2283 (inputs
2284 `(("elogind" ,elogind)
2285 ("glib" ,glib)
2286 ("appstream-glib" ,appstream-glib)
2287 ("gnome-settings-daemon" ,gnome-settings-daemon)
2288 ("gtk+" ,gtk+)
2289 ("libcanberra" ,libcanberra)
2290 ("libdvdread" ,libdvdread)
2291 ("libnotify" ,libnotify)
2292 ("libpwquality" ,libpwquality)
2293 ("libsecret" ,libsecret)
2294 ("udisks" ,udisks)))
2295 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2296 (synopsis "Disk management utility for GNOME")
2297 (description "Disk management utility for GNOME.")
2298 (license license:gpl2+)))
2299
2300 (define-public gnome-font-viewer
2301 (package
2302 (name "gnome-font-viewer")
2303 (version "3.30.0")
2304 (source (origin
2305 (method url-fetch)
2306 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2307 (version-major+minor version)
2308 "/gnome-font-viewer-" version ".tar.xz"))
2309 (sha256
2310 (base32
2311 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2312 (build-system meson-build-system)
2313 (arguments
2314 '(#:phases
2315 (modify-phases %standard-phases
2316 (add-after 'unpack 'patch-post-install-script
2317 (lambda _
2318 (substitute* "meson-postinstall.sh"
2319 (("update-desktop-database") (which "true")))
2320 #t))
2321 (add-after 'install 'patch-thumbnailer
2322 (lambda* (#:key outputs #:allow-other-keys)
2323 (let ((out (assoc-ref outputs "out")))
2324 (substitute*
2325 (string-append
2326 out
2327 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2328 (("gnome-thumbnail-font")
2329 (string-append out "/bin/gnome-thumbnail-font"))))
2330 #t)))))
2331 (native-inputs
2332 `(("gettext" ,gettext-minimal)
2333 ("glib:bin" ,glib "bin")
2334 ("pkg-config" ,pkg-config)))
2335 (inputs
2336 `(("glib" ,glib)
2337 ("gnome-desktop" ,gnome-desktop)
2338 ("gtk+" ,gtk+)))
2339 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2340 (synopsis "GNOME Fonts")
2341 (description "Application to show you the fonts installed on your computer
2342 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2343 the font would look under various sizes.")
2344 (license license:gpl2+)))
2345
2346 (define-public gcr
2347 (package
2348 (name "gcr")
2349 (version "3.34.0")
2350 (source (origin
2351 (method url-fetch)
2352 (uri (string-append "mirror://gnome/sources/" name "/"
2353 (version-major+minor version) "/"
2354 name "-" version ".tar.xz"))
2355 (sha256
2356 (base32
2357 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2358 (build-system gnu-build-system)
2359 (arguments
2360 '(#:phases
2361 (modify-phases %standard-phases
2362 ;; These fail because /var/lib/dbus/machine-id is not present in the
2363 ;; build environment.
2364 (add-after 'unpack 'disable-failing-tests
2365 (lambda _
2366 (substitute* "Makefile.in"
2367 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2368 ""))
2369 #t))
2370 (add-before 'check 'pre-check
2371 (lambda _
2372 ;; Some tests expect to write to $HOME.
2373 (setenv "HOME" "/tmp")
2374 #t)))))
2375 (inputs
2376 `(("dbus" ,dbus)
2377 ("gnupg" ,gnupg) ;called as a child process during tests
2378 ("libgcrypt" ,libgcrypt)))
2379 (native-inputs
2380 `(("python" ,python-wrapper) ;for tests
2381 ("pkg-config" ,pkg-config)
2382 ("gettext" ,gettext-minimal)
2383 ("glib" ,glib "bin")
2384 ("gobject-introspection" ,gobject-introspection)
2385 ("libxml2" ,libxml2)
2386 ("vala" ,vala)
2387 ("xsltproc" ,libxslt)))
2388 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2389 (propagated-inputs
2390 `(("p11-kit" ,p11-kit)
2391 ("glib" ,glib)
2392 ("gtk+" ,gtk+)))
2393 (home-page "https://www.gnome.org")
2394 (synopsis "Libraries for displaying certificates and accessing key stores")
2395 (description
2396 "The GCR package contains libraries used for displaying certificates and
2397 accessing key stores. It also provides the viewer for crypto files on the
2398 GNOME Desktop.")
2399 (license license:lgpl2.1+)))
2400
2401 (define-public gdl
2402 (package
2403 (name "gdl")
2404 (version "3.34.0")
2405 (source (origin
2406 (method git-fetch)
2407 (uri (git-reference
2408 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2409 (commit (string-append "GDL_" (string-map (match-lambda
2410 (#\. #\_)
2411 (c c))
2412 version)))))
2413 (file-name (git-file-name name version))
2414 (sha256
2415 (base32
2416 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2417 (build-system gnu-build-system)
2418 (native-inputs
2419 `(("autoconf" ,autoconf)
2420 ("automake" ,automake)
2421 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2422 ("gnome-common" ,gnome-common)
2423 ("gtk-doc" ,gtk-doc/stable)
2424 ("intltool" ,intltool)
2425 ("pkg-config" ,pkg-config)
2426 ("libtool" ,libtool)
2427 ("which" ,which)))
2428 (inputs
2429 `(("libxml2" ,libxml2)))
2430 (propagated-inputs
2431 ;; The gdl-3.0.pc file 'Requires' GTK+.
2432 `(("gtk+" ,gtk+)))
2433 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2434 (synopsis "GNOME docking library")
2435 (description "This library provides docking features for gtk+.")
2436 (license license:lgpl2.1+)))
2437
2438 ;;; A minimal variant used to break a cycle with Inkscape.
2439 (define-public gdl-minimal
2440 (package/inherit gdl
2441 (name "gdl-minimal")
2442 (arguments
2443 '(#:phases
2444 (modify-phases %standard-phases
2445 (add-after 'unpack 'disable-doc-generation
2446 ;; XXX: There is no easy way to disable generating the
2447 ;; documentation.
2448 (lambda _
2449 (substitute* "configure.in"
2450 (("GTK_DOC_CHECK.*") "")
2451 (("docs/.*") ""))
2452 (substitute* "Makefile.am"
2453 (("gdl docs po") "gdl po"))
2454 #t)))))
2455 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2456
2457 (define-public libgnome-keyring
2458 (package
2459 (name "libgnome-keyring")
2460 (version "3.12.0")
2461 (source (origin
2462 (method url-fetch)
2463 (uri (string-append "mirror://gnome/sources/" name "/"
2464 (version-major+minor version) "/"
2465 name "-" version ".tar.xz"))
2466 (sha256
2467 (base32
2468 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2469 (build-system gnu-build-system)
2470 (inputs
2471 `(("libgcrypt" ,libgcrypt)
2472 ("dbus" ,dbus)))
2473 (native-inputs
2474 `(("pkg-config" ,pkg-config)
2475 ("glib" ,glib "bin")
2476 ("intltool" ,intltool)))
2477 (propagated-inputs
2478 ;; Referred to in .h files and .pc.
2479 `(("glib" ,glib)))
2480 (home-page "https://www.gnome.org")
2481 (synopsis "Accessing passwords from the GNOME keyring")
2482 (description
2483 "Client library to access passwords from the GNOME keyring.")
2484
2485 ;; Though a couple of files are LGPLv2.1+.
2486 (license license:lgpl2.0+)))
2487
2488 (define-public gnome-keyring
2489 (package
2490 (name "gnome-keyring")
2491 (version "3.34.0")
2492 (source (origin
2493 (method url-fetch)
2494 (uri (string-append "mirror://gnome/sources/" name "/"
2495 (version-major+minor version) "/"
2496 name "-" version ".tar.xz"))
2497 (sha256
2498 (base32
2499 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2500 (build-system gnu-build-system)
2501 (arguments
2502 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2503 ;not exist
2504 #:configure-flags
2505 (list
2506 (string-append "--with-pkcs11-config="
2507 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2508 (string-append "--with-pkcs11-modules="
2509 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2510 #:phases
2511 (modify-phases %standard-phases
2512 (add-after 'unpack 'fix-/bin/sh-reference
2513 (lambda _
2514 (substitute* "po/Makefile.in.in"
2515 (("/bin/sh") (which "sh")))
2516 #t))
2517 (add-after 'unpack 'fix-docbook
2518 (lambda* (#:key inputs #:allow-other-keys)
2519 (substitute* "docs/Makefile.am"
2520 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2521 (string-append (assoc-ref inputs "docbook-xsl")
2522 "/xml/xsl/docbook-xsl-"
2523 ,(package-version docbook-xsl)
2524 "/manpages/docbook.xsl")))
2525 (setenv "XML_CATALOG_FILES"
2526 (string-append (assoc-ref inputs "docbook-xml")
2527 "/xml/dtd/docbook/catalog.xml"))
2528 ;; Rerun the whole thing to avoid version mismatch ("This is
2529 ;; Automake 1.15.1, but the definition used by this
2530 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2531 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2532 (invoke "autoconf")
2533 (invoke "aclocal")
2534 (invoke "automake" "-ac"))))))
2535 (inputs
2536 `(("libgcrypt" ,libgcrypt)
2537 ("linux-pam" ,linux-pam)
2538 ("openssh" ,openssh)
2539 ("dbus" ,dbus)
2540 ("gcr" ,gcr)))
2541 (native-inputs
2542 `(("pkg-config" ,pkg-config)
2543 ("glib" ,glib "bin")
2544 ("glib" ,glib) ; for m4 macros
2545 ("python" ,python-2) ;for tests
2546 ("intltool" ,intltool)
2547 ("autoconf" ,autoconf)
2548 ("automake" ,automake)
2549 ("libxslt" ,libxslt) ;for documentation
2550 ("docbook-xml" ,docbook-xml-4.2)
2551 ("docbook-xsl" ,docbook-xsl)))
2552 (propagated-inputs
2553 `(("gcr" ,gcr)))
2554 (home-page "https://www.gnome.org")
2555 (synopsis "Daemon to store passwords and encryption keys")
2556 (description
2557 "gnome-keyring is a program that keeps passwords and other secrets for
2558 users. It is run as a daemon in the session, similar to ssh-agent, and other
2559 applications locate it via an environment variable or D-Bus.
2560
2561 The program can manage several keyrings, each with its own master password,
2562 and there is also a session keyring which is never stored to disk, but
2563 forgotten when the session ends.")
2564 (license license:lgpl2.1+)))
2565
2566 (define-public evince
2567 (package
2568 (name "evince")
2569 (version "3.36.5")
2570 (source (origin
2571 (method url-fetch)
2572 (uri (string-append "mirror://gnome/sources/evince/"
2573 (version-major+minor version) "/"
2574 "evince-" version ".tar.xz"))
2575 (sha256
2576 (base32
2577 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2578 (build-system glib-or-gtk-build-system)
2579 (arguments
2580 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2581 #:phases
2582 (modify-phases %standard-phases
2583 (add-before 'install 'skip-gtk-update-icon-cache
2584 ;; Don't create 'icon-theme.cache'.
2585 (lambda _
2586 (substitute* "data/Makefile"
2587 (("gtk-update-icon-cache") "true"))
2588 #t)))))
2589 (inputs
2590 `(("libarchive" ,libarchive)
2591 ("libgxps" ,libgxps)
2592 ("libspectre" ,libspectre)
2593 ("djvulibre" ,djvulibre)
2594 ("ghostscript" ,ghostscript)
2595 ("poppler" ,poppler)
2596 ("libtiff" ,libtiff)
2597 ;; TODO:
2598 ;; Build libkpathsea as a shared library for DVI support.
2599 ;; ("libkpathsea" ,texlive-bin)
2600 ("gnome-desktop" ,gnome-desktop)
2601 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2602 ("gspell" ,gspell)
2603 ("libgnome-keyring" ,libgnome-keyring)
2604 ("adwaita-icon-theme" ,adwaita-icon-theme)
2605 ("gdk-pixbuf" ,gdk-pixbuf)
2606 ("atk" ,atk)
2607 ("pango" ,pango)
2608 ("gtk+" ,gtk+)
2609 ("glib" ,glib)
2610 ("libxml2" ,libxml2)
2611 ("libsm" ,libsm)
2612 ("libice" ,libice)
2613 ("shared-mime-info" ,shared-mime-info)
2614 ("dconf" ,dconf)
2615 ("libcanberra" ,libcanberra)
2616 ("libsecret" ,libsecret)
2617
2618 ;; For tests.
2619 ("dogtail" ,python2-dogtail)))
2620 (native-inputs
2621 `(("itstool" ,itstool)
2622 ("intltool" ,intltool)
2623 ("glib" ,glib "bin")
2624 ("gobject-introspection" ,gobject-introspection)
2625 ("pkg-config" ,pkg-config)
2626 ("xmllint" ,libxml2)))
2627 (home-page "https://www.gnome.org/projects/evince/")
2628 (synopsis "GNOME's document viewer")
2629 (description
2630 "Evince is a document viewer for multiple document formats. It
2631 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2632 of Evince is to replace the multiple document viewers that exist
2633 on the GNOME Desktop with a single simple application.")
2634 (license license:gpl2+)))
2635
2636 (define-public gsettings-desktop-schemas
2637 (package
2638 (name "gsettings-desktop-schemas")
2639 (version "3.34.0")
2640 (source
2641 (origin
2642 (method url-fetch)
2643 (uri (string-append "mirror://gnome/sources/" name "/"
2644 (version-major+minor version) "/"
2645 name "-" version ".tar.xz"))
2646 (sha256
2647 (base32
2648 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2649 (build-system meson-build-system)
2650 (arguments
2651 '(#:phases (modify-phases %standard-phases
2652 (add-after 'unpack 'patch-schemas
2653 (lambda* (#:key inputs #:allow-other-keys)
2654 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2655 (substitute* (find-files "schemas"
2656 "\\.gschema\\.xml\\.in$")
2657 ;; Provide the correct file name of the default GNOME
2658 ;; background, 'adwaita-timed.xml'.
2659 (("@datadir@/backgrounds/gnome")
2660 (string-append theme "/share/backgrounds/gnome"))
2661 ;; Do not reference fonts, that may not exist.
2662 (("'Source Code Pro 10'") "'Monospace 11'"))
2663 #t))))))
2664 (inputs
2665 `(("glib" ,glib)
2666 ("gnome-backgrounds" ,gnome-backgrounds)))
2667 (native-inputs
2668 `(("intltool" ,intltool)
2669 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2670 ("gobject-introspection" ,gobject-introspection)
2671 ("pkg-config" ,pkg-config)))
2672 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2673 (synopsis
2674 "GNOME settings for various desktop components")
2675 (description
2676 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2677 for settings shared by various components of the GNOME desktop.")
2678 (license license:lgpl2.1+)))
2679
2680 (define-public python-liblarch
2681 (package
2682 (name "python-liblarch")
2683 (version "3.0.1")
2684 (source
2685 (origin
2686 (method git-fetch)
2687 (uri (git-reference
2688 (url "https://github.com/getting-things-gnome/liblarch")
2689 (commit (string-append "v" version))))
2690 (file-name (git-file-name name version))
2691 (sha256
2692 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2693 (build-system python-build-system)
2694 (arguments
2695 `(#:phases
2696 (modify-phases %standard-phases
2697 (add-before 'check 'start-xserver
2698 (lambda* (#:key inputs #:allow-other-keys)
2699 (system (format #f "~a/bin/Xvfb :1 &"
2700 (assoc-ref inputs "xorg-server")))
2701 (setenv "DISPLAY" ":1")
2702 #t)))))
2703 (native-inputs
2704 `(("xorg-server" ,xorg-server-for-tests)))
2705 (inputs
2706 `(("gtk+" ,gtk+)))
2707 (propagated-inputs
2708 `(("python-pygobject" ,python-pygobject)))
2709 (home-page "https://wiki.gnome.org/Projects/liblarch")
2710 (synopsis "Library to easily handle complex data structures")
2711 (description
2712 "Liblarch is a Python library built to easily handle data structures such
2713 as lists, trees and acyclic graphs. There's also a GTK binding that will
2714 allow you to use your data structure in a @code{Gtk.Treeview}.
2715
2716 Liblarch support multiple views of one data structure and complex filtering.
2717 That way, you have a clear separation between your data themselves (Model)
2718 and how they are displayed (View).")
2719 (license license:lgpl3+)))
2720
2721 (define-public gtg
2722 (package
2723 (name "gtg")
2724 (version "0.4")
2725 (source
2726 (origin
2727 (method git-fetch)
2728 (uri (git-reference
2729 (url "https://github.com/getting-things-gnome/gtg")
2730 (commit (string-append "v" version))))
2731 (file-name (git-file-name name version))
2732 (sha256
2733 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2734 (build-system meson-build-system)
2735 (arguments
2736 `(#:glib-or-gtk? #t
2737 #:phases
2738 (modify-phases %standard-phases
2739 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2740 (lambda* (#:key outputs #:allow-other-keys)
2741 (let ((prog (string-append (assoc-ref outputs "out")
2742 "/bin/gtg"))
2743 (pylib (string-append (assoc-ref outputs "out")
2744 "/lib/python"
2745 ,(version-major+minor
2746 (package-version python))
2747 "/site-packages")))
2748 (wrap-program prog
2749 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2750 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2751 #t))))))
2752 (native-inputs
2753 `(("desktop-file-utils" ,desktop-file-utils)
2754 ("gettext" ,gettext-minimal)
2755 ("glib:bin" ,glib "bin")
2756 ("gobject-introspection" ,gobject-introspection)
2757 ("gtk+:bin" ,gtk+ "bin")
2758 ("pkg-config" ,pkg-config)))
2759 (inputs
2760 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2761 ("gtk+" ,gtk+)
2762 ("python-dbus" ,python-dbus)
2763 ("python-liblarch" ,python-liblarch)
2764 ("python-pycairo" ,python-pycairo)
2765 ("python-pygobject" ,python-pygobject)
2766 ("python-pyxdg" ,python-pyxdg)))
2767 (home-page "https://wiki.gnome.org/Apps/GTG")
2768 (synopsis "Personal organizer for the GNOME desktop")
2769 (description
2770 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2771 organizer for the GNOME desktop environment inspired by the Getting Things
2772 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2773 and ease of use in mind so it can be used as more than just GTD software.
2774 GTG is intended to help you track everything you need to do and need to
2775 know, from small tasks to large projects.")
2776 (license license:gpl3+)))
2777
2778 (define-public icon-naming-utils
2779 (package
2780 (name "icon-naming-utils")
2781 (version "0.8.90")
2782 (source
2783 (origin
2784 (method url-fetch)
2785 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2786 version ".tar.bz2"))
2787 (sha256
2788 (base32
2789 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2790 (build-system gnu-build-system)
2791 (inputs
2792 `(("perl" ,perl)
2793 ("perl-xml-simple" ,perl-xml-simple)))
2794 (arguments
2795 '(#:phases
2796 (modify-phases %standard-phases
2797 (add-after 'install 'set-load-paths
2798 ;; Tell 'icon-name-mapping' where XML::Simple is.
2799 (lambda* (#:key outputs #:allow-other-keys)
2800 (let* ((out (assoc-ref outputs "out"))
2801 (prog (string-append out "/libexec/icon-name-mapping")))
2802 (wrap-program
2803 prog
2804 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2805 #t)))))
2806 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2807 (synopsis
2808 "Utility to implement the Freedesktop Icon Naming Specification")
2809 (description
2810 "To help with the transition to the Freedesktop Icon Naming
2811 Specification, the icon naming utility maps the icon names used by the
2812 GNOME and KDE desktops to the icon names proposed in the specification.")
2813 (license license:lgpl2.1+)))
2814
2815 (define-public gnome-icon-theme
2816 (package
2817 (name "gnome-icon-theme")
2818 (version "3.12.0")
2819 (source
2820 (origin
2821 (method url-fetch)
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.xz"))
2825 (sha256
2826 (base32
2827 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2828 (build-system gnu-build-system)
2829 (arguments
2830 '(#:configure-flags
2831 ;; Don't create 'icon-theme.cache'.
2832 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2833 (true (string-append coreutils "/bin/true")))
2834 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2835 (native-inputs
2836 `(("icon-naming-utils" ,icon-naming-utils)
2837 ("intltool" ,intltool)
2838 ("pkg-config" ,pkg-config)))
2839 (home-page "https://wiki.gnome.org/Personalization")
2840 (synopsis "GNOME icon theme")
2841 (description "Icons for the GNOME desktop.")
2842 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2843
2844 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2845 (define-public adwaita-icon-theme
2846 (package (inherit gnome-icon-theme)
2847 (name "adwaita-icon-theme")
2848 (version "3.34.3")
2849 (source (origin
2850 (method url-fetch)
2851 (uri (string-append "mirror://gnome/sources/" name "/"
2852 (version-major+minor version) "/"
2853 name "-" version ".tar.xz"))
2854 (sha256
2855 (base32
2856 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2857 (native-inputs
2858 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2859
2860 (define-public tango-icon-theme
2861 (package
2862 (name "tango-icon-theme")
2863 (version "0.8.90")
2864 (source (origin
2865 (method url-fetch)
2866 (uri (string-append "http://tango.freedesktop.org/releases/"
2867 "tango-icon-theme-" version ".tar.bz2"))
2868 (sha256
2869 (base32
2870 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2871 (build-system gnu-build-system)
2872 (native-inputs
2873 `(("icon-naming-utils" ,icon-naming-utils)
2874 ("intltool" ,intltool)
2875 ("imagemagick" ,imagemagick)
2876 ("pkg-config" ,pkg-config)))
2877 (home-page "http://tango-project.org/")
2878 (synopsis "Tango icon theme")
2879 (description "This is an icon theme that follows the Tango visual
2880 guidelines.")
2881 (license license:public-domain)))
2882
2883 (define-public shared-mime-info
2884 (package
2885 (name "shared-mime-info")
2886 (version "1.15")
2887 (source (origin
2888 (method url-fetch)
2889 (uri (string-append
2890 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2891 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2892 ".tar.xz"))
2893 (sha256
2894 (base32
2895 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2896 (build-system gnu-build-system)
2897 (arguments
2898 ;; The build system appears not to be parallel-safe.
2899 '(#:parallel-build? #f))
2900 (inputs
2901 `(("glib" ,glib)
2902 ("libxml2" ,libxml2)))
2903 (native-inputs
2904 `(("gettext" ,gettext-minimal)
2905 ("itstool" ,itstool)
2906 ("pkg-config" ,pkg-config)))
2907 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2908 (synopsis "Database of common MIME types")
2909 (description
2910 "The shared-mime-info package contains the core database of common types
2911 and the update-mime-database command used to extend it. It requires glib2 to
2912 be installed for building the update command. Additionally, it uses intltool
2913 for translations, though this is only a dependency for the maintainers. This
2914 database is translated at Transifex.")
2915 (license license:gpl2+)))
2916
2917 (define-public system-config-printer
2918 (package
2919 (name "system-config-printer")
2920 (version "1.5.15")
2921 (source
2922 (origin
2923 (method url-fetch)
2924 (uri (string-append
2925 "https://github.com/OpenPrinting/system-config-printer/releases/"
2926 "download/v" version
2927 "/system-config-printer-" version ".tar.xz"))
2928 (sha256
2929 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2930 (build-system glib-or-gtk-build-system)
2931 (arguments
2932 `(#:imported-modules ((guix build python-build-system)
2933 ,@%glib-or-gtk-build-system-modules)
2934 #:phases
2935 (modify-phases %standard-phases
2936 (add-after 'unpack 'patch-Makefile.am
2937 (lambda _
2938 ;; The Makefile generates some scripts, so set a valid shebang
2939 (substitute* "Makefile.am"
2940 (("/bin/bash") (which "bash")))
2941 (delete-file "configure")
2942 #t))
2943 (add-after 'unpack 'patch-docbook-xml
2944 (lambda* (#:key inputs #:allow-other-keys)
2945 ;; Modify the man XML otherwise xmlto tries to access the network
2946 (substitute* "man/system-config-printer.xml"
2947 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2948 (string-append (assoc-ref inputs "docbook-xml")
2949 "/xml/dtd/docbook/")))
2950 #t))
2951 (add-after 'install 'wrap-for-python
2952 (@@ (guix build python-build-system) wrap))
2953 (add-after 'install 'wrap
2954 (lambda* (#:key outputs #:allow-other-keys)
2955 (let ((out (assoc-ref outputs "out"))
2956 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2957 (for-each
2958 (lambda (program)
2959 (wrap-program program
2960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2961 (map (lambda (name)
2962 (string-append out "/bin/" name))
2963 '("system-config-printer"
2964 "system-config-printer-applet"
2965 "install-printerdriver"
2966 "scp-dbus-service"))))
2967 #t)))))
2968 (inputs
2969 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2970 ("gobject-introspection" ,gobject-introspection)
2971 ("python" ,python)
2972 ("cups" ,cups)
2973 ("gtk+" ,gtk+)
2974 ("python-dbus" ,python-dbus)
2975 ("python-pygobject" ,python-pygobject)
2976 ("python-pycups" ,python-pycups)
2977 ("python-requests" ,python-requests)
2978 ("python-pycairo" ,python-pycairo)
2979 ("libnotify" ,libnotify)
2980 ("packagekit" ,packagekit)))
2981 (native-inputs
2982 `(("pkg-config" ,pkg-config)
2983 ("desktop-file-utils" ,desktop-file-utils)
2984 ("glib" ,glib)
2985 ("autoconf" ,autoconf)
2986 ("automake" ,automake)
2987 ("intltool" ,intltool)
2988 ("xmlto" ,xmlto)
2989 ("docbook-xml" ,docbook-xml-4.1.2)
2990 ("docbook-xsl" ,docbook-xsl)
2991 ("libxml2" ,libxml2)))
2992 (home-page "https://github.com/zdohnal/system-config-printer")
2993 (synopsis "CUPS administration tool")
2994 (description
2995 "system-config-printer is a CUPS administration tool. It's written in
2996 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2997 configuring CUPS.")
2998 (license license:gpl2+)))
2999
3000 (define-public hicolor-icon-theme
3001 (package
3002 (name "hicolor-icon-theme")
3003 (version "0.17")
3004 (source
3005 (origin
3006 (method url-fetch)
3007 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3008 "hicolor-icon-theme-" version ".tar.xz"))
3009 (sha256
3010 (base32
3011 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3012 (build-system gnu-build-system)
3013 (arguments
3014 `(#:tests? #f)) ; no check target
3015 (home-page "https://icon-theme.freedesktop.org/releases/")
3016 (synopsis
3017 "Freedesktop icon theme")
3018 (description
3019 "Freedesktop icon theme.")
3020 (license license:gpl2)))
3021
3022 (define-public libnotify
3023 (package
3024 (name "libnotify")
3025 (version "0.7.9")
3026 (source
3027 (origin
3028 (method url-fetch)
3029 (uri (string-append "mirror://gnome/sources/" name "/"
3030 (version-major+minor version) "/"
3031 name "-" version ".tar.xz"))
3032 (sha256
3033 (base32
3034 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3035 (build-system meson-build-system)
3036 (arguments
3037 `(#:phases
3038 (modify-phases %standard-phases
3039 (add-after 'unpack 'fix-docbook
3040 (lambda* (#:key inputs #:allow-other-keys)
3041 ;; Don't attempt to download XSL schema.
3042 (substitute* "meson.build"
3043 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3044 /manpages/docbook.xsl")
3045 (string-append (assoc-ref inputs "docbook-xsl")
3046 "/xml/xsl/docbook-xsl-"
3047 ,(package-version docbook-xsl)
3048 "/manpages/docbook.xsl")))
3049 #t)))))
3050 (propagated-inputs
3051 `(;; In Requires of libnotify.pc.
3052 ("gdk-pixbuf" ,gdk-pixbuf)
3053 ("glib" ,glib)))
3054 (inputs
3055 `(("gtk+" ,gtk+)
3056 ("libpng" ,libpng)))
3057 (native-inputs
3058 `(("pkg-config" ,pkg-config)
3059 ("glib" ,glib "bin")
3060 ("gobject-introspection" ,gobject-introspection)
3061
3062 ;; For the documentation.
3063 ("gtk-doc" ,gtk-doc/stable)
3064 ("xsltproc" ,libxslt)
3065 ("docbook-xsl" ,docbook-xsl)))
3066 (home-page "https://developer-next.gnome.org/libnotify/")
3067 (synopsis
3068 "GNOME desktop notification library")
3069 (description
3070 "Libnotify is a library that sends desktop notifications to a
3071 notification daemon, as defined in the Desktop Notifications spec. These
3072 notifications can be used to inform the user about an event or display
3073 some form of information without getting in the user's way.")
3074 (license license:lgpl2.1+)))
3075
3076 (define-public libpeas
3077 (package
3078 (name "libpeas")
3079 (version "1.28.0")
3080 (source
3081 (origin
3082 (method url-fetch)
3083 (uri (string-append "mirror://gnome/sources/" name "/"
3084 (version-major+minor version) "/"
3085 name "-" version ".tar.xz"))
3086 (sha256
3087 (base32
3088 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3089 (build-system meson-build-system)
3090 (arguments
3091 '(#:phases
3092 (modify-phases %standard-phases
3093 (add-before 'check 'start-xserver
3094 (lambda* (#:key inputs #:allow-other-keys)
3095 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3096 (disp ":1"))
3097 (setenv "DISPLAY" disp)
3098 ;; Tests require a running X server.
3099 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3100 #t))))))
3101 (inputs
3102 `(("gtk+" ,gtk+)
3103 ("glade" ,glade3)
3104 ("python" ,python)
3105 ("python-pygobject" ,python-pygobject)))
3106 (native-inputs
3107 `(("pkg-config" ,pkg-config)
3108 ("gettext" ,gettext-minimal)
3109 ("glib:bin" ,glib "bin")
3110 ("gobject-introspection" ,gobject-introspection)
3111 ("xorg-server" ,xorg-server-for-tests)))
3112 (propagated-inputs
3113 ;; The .pc file "Requires" gobject-introspection.
3114 `(("gobject-introspection" ,gobject-introspection)))
3115 (home-page "https://wiki.gnome.org/Libpeas")
3116 (synopsis "GObject plugin system")
3117 (description
3118 "Libpeas is a gobject-based plugin engine, targeted at giving every
3119 application the chance to assume its own extensibility. It also has a set of
3120 features including, but not limited to: multiple extension points; on-demand
3121 (lazy) programming language support for C, Python and JS; simplicity of the
3122 API.")
3123 (license license:lgpl2.0+)))
3124
3125 (define-public gtkglext
3126 (package
3127 (name "gtkglext")
3128 (version "1.2.0")
3129 (source (origin
3130 (method url-fetch)
3131 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3132 version "/gtkglext-" version ".tar.gz"))
3133 (sha256
3134 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3135 (patches (search-patches
3136 "gtkglext-disable-disable-deprecated.patch"))))
3137 (build-system gnu-build-system)
3138 (arguments
3139 `(#:phases
3140 (modify-phases %standard-phases
3141 ;; Fix a collision between a local variable and a definition from
3142 ;; glibc's string.h.
3143 (add-after 'unpack 'fix-collision
3144 (lambda _
3145 (substitute* "gdk/gdkglshapes.c"
3146 ((" index") " triangle_index"))
3147 #t)))))
3148 (inputs `(("gtk+" ,gtk+-2)
3149 ("mesa" ,mesa)
3150 ("glu" ,glu)
3151 ("libx11" ,libx11)
3152 ("libxt" ,libxt)))
3153 (native-inputs `(("pkg-config" ,pkg-config)
3154 ("glib" ,glib "bin")))
3155 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3156 (home-page "https://projects.gnome.org/gtkglext")
3157 (synopsis "OpenGL extension to GTK+")
3158 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3159 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3160 API add-ons to make GTK+ widgets OpenGL-capable.")
3161 (license license:lgpl2.1+)))
3162
3163 (define-public glade3
3164 (package
3165 (name "glade")
3166 (version "3.36.0")
3167 (source (origin
3168 (method url-fetch)
3169 (uri (string-append "mirror://gnome/sources/" name "/"
3170 (version-major+minor version) "/"
3171 name "-" version ".tar.xz"))
3172 (sha256
3173 (base32
3174 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3175 (build-system glib-or-gtk-build-system)
3176 (arguments
3177 `(#:phases
3178 (modify-phases %standard-phases
3179 (add-before 'configure 'fix-docbook
3180 (lambda* (#:key inputs #:allow-other-keys)
3181 (substitute* "man/Makefile.in"
3182 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3183 (string-append (assoc-ref inputs "docbook-xsl")
3184 "/xml/xsl/docbook-xsl-"
3185 ,(package-version docbook-xsl)
3186 "/manpages/docbook.xsl")))
3187 #t))
3188 (add-before 'check 'pre-check
3189 (lambda _
3190 (setenv "HOME" "/tmp")
3191 ;; Tests require a running X server.
3192 (system "Xvfb :1 &")
3193 (setenv "DISPLAY" ":1")
3194 #t)))))
3195 (inputs
3196 `(("gtk+" ,gtk+)
3197 ("libxml2" ,libxml2)))
3198 (native-inputs
3199 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3200 ("intltool" ,intltool)
3201 ("itstool" ,itstool)
3202 ("libxslt" ,libxslt) ;for xsltproc
3203 ("docbook-xml" ,docbook-xml-4.2)
3204 ("docbook-xsl" ,docbook-xsl)
3205 ("python" ,python-2)
3206 ("pkg-config" ,pkg-config)
3207 ("xorg-server" ,xorg-server-for-tests)))
3208 (home-page "https://glade.gnome.org")
3209 (synopsis "GTK+ rapid application development tool")
3210 (description "Glade is a rapid application development (RAD) tool to
3211 enable quick & easy development of user interfaces for the GTK+ toolkit and
3212 the GNOME desktop environment.")
3213 (license license:lgpl2.0+)
3214 (native-search-paths (list (search-path-specification
3215 (variable "GLADE_CATALOG_SEARCH_PATH")
3216 (files '("share/glade/catalogs")))
3217 (search-path-specification
3218 (variable "GLADE_MODULE_SEARCH_PATH")
3219 (files '("lib/glade/modules")))))))
3220
3221 (define-public libcroco
3222 (package
3223 (name "libcroco")
3224 (version "0.6.13")
3225 (source (origin
3226 (method url-fetch)
3227 (uri (string-append "mirror://gnome/sources/" name "/"
3228 (version-major+minor version) "/"
3229 name "-" version ".tar.xz"))
3230 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3231 (sha256
3232 (base32
3233 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3234 (build-system gnu-build-system)
3235 (native-inputs
3236 `(("pkg-config" ,pkg-config)))
3237 (inputs
3238 `(("glib" ,glib)
3239 ("libxml2" ,libxml2)
3240 ("zlib" ,zlib)))
3241 (home-page "https://github.com/GNOME/libcroco")
3242 (synopsis "CSS2 parsing and manipulation library")
3243 (description
3244 "Libcroco is a standalone CSS2 parsing and manipulation library.
3245 The parser provides a low level event driven SAC-like API and a CSS object
3246 model like API. Libcroco provides a CSS2 selection engine and an experimental
3247 XML/CSS rendering engine.")
3248
3249 ;; LGPLv2.1-only.
3250 (license license:lgpl2.1)))
3251
3252 (define-public libgsf
3253 (package
3254 (name "libgsf")
3255 (version "1.14.47")
3256 (source (origin
3257 (method url-fetch)
3258 (uri (string-append "mirror://gnome/sources/" name "/"
3259 (version-major+minor version) "/"
3260 name "-" version ".tar.xz"))
3261 (sha256
3262 (base32
3263 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3264 (build-system gnu-build-system)
3265 (arguments
3266 '(#:configure-flags '("--disable-static")))
3267 (native-inputs
3268 `(("pkg-config" ,pkg-config)
3269 ("gettext" ,gettext-minimal)
3270
3271 ;; For tests.
3272 ("perl" ,perl)
3273 ("perl-xml-parser" ,perl-xml-parser)))
3274 (inputs
3275 `(("zlib" ,zlib)
3276 ("bzip2" ,bzip2)))
3277 (propagated-inputs
3278 `(("gdk-pixbuf" ,gdk-pixbuf)
3279 ("glib" ,glib)
3280 ("libxml2" ,libxml2)))
3281 (home-page "https://www.gnome.org/projects/libgsf")
3282 (synopsis "GNOME's Structured File Library")
3283 (description
3284 "Libgsf aims to provide an efficient extensible I/O abstraction for
3285 dealing with different structured file formats.")
3286
3287 ;; LGPLv2.1-only.
3288 (license license:lgpl2.1)))
3289
3290 (define-public librsvg
3291 (package
3292 (name "librsvg")
3293 (version "2.40.21")
3294 (source (origin
3295 (method url-fetch)
3296 (uri (string-append "mirror://gnome/sources/" name "/"
3297 (version-major+minor version) "/"
3298 name "-" version ".tar.xz"))
3299 (sha256
3300 (base32
3301 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3302 (build-system gnu-build-system)
3303 (arguments
3304 `(#:configure-flags
3305 (list "--disable-static"
3306 "--enable-vala") ; needed for e.g. gnome-mines
3307 #:phases
3308 (modify-phases %standard-phases
3309 (add-before 'configure 'pre-configure
3310 (lambda* (#:key inputs #:allow-other-keys)
3311 (substitute* "gdk-pixbuf-loader/Makefile.in"
3312 ;; By default the gdk-pixbuf loader is installed under
3313 ;; gdk-pixbuf's prefix. Work around that.
3314 (("gdk_pixbuf_moduledir = .*$")
3315 (string-append "gdk_pixbuf_moduledir = "
3316 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3317 "loaders\n"))
3318 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3319 (("gdk_pixbuf_cache_file = .*$")
3320 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3321 #t))
3322 (add-before 'check 'remove-failing-tests
3323 (lambda _
3324 (with-directory-excursion "tests/fixtures/reftests"
3325 (for-each delete-file
3326 '(;; This test fails on i686:
3327 "svg1.1/masking-path-04-b.svg"
3328 ;; This test fails on armhf:
3329 "svg1.1/masking-mask-01-b.svg"
3330 ;; This test fails on aarch64:
3331 "bugs/777834-empty-text-children.svg")))
3332 #t)))))
3333 (native-inputs
3334 `(("pkg-config" ,pkg-config)
3335 ("vala" ,vala)
3336 ("glib" ,glib "bin") ; glib-mkenums, etc.
3337 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3338 (inputs
3339 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3340 ;; this ancient version of librsvg.
3341 ("pango" ,pango-1.42)
3342 ("libcroco" ,libcroco)
3343 ("bzip2" ,bzip2)
3344 ("libgsf" ,libgsf)
3345 ("libxml2" ,libxml2)))
3346 (propagated-inputs
3347 ;; librsvg-2.0.pc refers to all of that.
3348 `(("cairo" ,cairo)
3349 ("gdk-pixbuf" ,gdk-pixbuf)
3350 ("glib" ,glib)))
3351 (home-page "https://wiki.gnome.org/LibRsvg")
3352 (synopsis "Render SVG files using Cairo")
3353 (description
3354 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3355 library.")
3356 (license license:lgpl2.0+)))
3357
3358 (define-public librsvg-next
3359 (package
3360 (name "librsvg")
3361 (version "2.50.3")
3362 (source (origin
3363 (method url-fetch)
3364 (uri (string-append "mirror://gnome/sources/librsvg/"
3365 (version-major+minor version) "/"
3366 "librsvg-" version ".tar.xz"))
3367 (sha256
3368 (base32
3369 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3370 (modules '((guix build utils)))
3371 (snippet
3372 '(begin (delete-file-recursively "vendor")
3373 #t))))
3374 (build-system cargo-build-system)
3375 (outputs '("out" "doc"))
3376 (arguments
3377 `(#:install-source? #f
3378 #:modules
3379 ((guix build cargo-build-system)
3380 (guix build utils)
3381 ((guix build gnu-build-system) #:prefix gnu:))
3382 #:cargo-inputs
3383 (("rust-bitflags" ,rust-bitflags-1)
3384 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3385 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3386 ("rust-cast" ,rust-cast-0.2)
3387 ("rust-cssparser" ,rust-cssparser-0.27)
3388 ("rust-data-url" ,rust-data-url-0.1)
3389 ("rust-encoding" ,rust-encoding-0.2)
3390 ("rust-float-cmp" ,rust-float-cmp-0.8)
3391 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3392 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3393 ("rust-gio" ,rust-gio-0.8)
3394 ("rust-gio-sys" ,rust-gio-sys-0.9)
3395 ("rust-glib" ,rust-glib-0.9)
3396 ("rust-glib-sys" ,rust-glib-sys-0.9)
3397 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3398 ("rust-itertools" ,rust-itertools-0.9)
3399 ("rust-language-tags" ,rust-language-tags-0.2)
3400 ("rust-libc" ,rust-libc-0.2)
3401 ("rust-locale-config" ,rust-locale-config-0.3)
3402 ("rust-markup5ever" ,rust-markup5ever-0.10)
3403 ("rust-nalgebra" ,rust-nalgebra-0.21)
3404 ("rust-num-traits" ,rust-num-traits-0.2)
3405 ("rust-once-cell" ,rust-once-cell-1)
3406 ("rust-pkg-config" ,rust-pkg-config-0.3)
3407 ("rust-pango" ,rust-pango-0.8)
3408 ("rust-pango-sys" ,rust-pango-sys-0.9)
3409 ("rust-pangocairo" ,rust-pangocairo-0.9)
3410 ("rust-rayon" ,rust-rayon-1)
3411 ("rust-rctree" ,rust-rctree-0.3)
3412 ("rust-rgb" ,rust-rgb-0.8)
3413 ("rust-regex" ,rust-regex-1)
3414 ("rust-selectors" ,rust-selectors-0.22)
3415 ("rust-string-cache" ,rust-string-cache-0.8)
3416 ("rust-tinyvec" ,rust-tinyvec-0.3)
3417 ("rust-url" ,rust-url-2)
3418 ("rust-xml5ever" ,rust-xml5ever-0.16))
3419 #:cargo-development-inputs
3420 (("rust-assert-cmd" ,rust-assert-cmd-1)
3421 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3422 ("rust-chrono" ,rust-chrono-0.4)
3423 ("rust-criterion" ,rust-criterion-0.3)
3424 ("rust-float-cmp" ,rust-float-cmp-0.8)
3425 ("rust-lopdf" ,rust-lopdf-0.26)
3426 ("rust-png" ,rust-png-0.16)
3427 ("rust-predicates" ,rust-predicates-1)
3428 ("rust-tempfile" ,rust-tempfile-3))
3429 #:phases
3430 (modify-phases %standard-phases
3431 (add-after 'unpack 'patch-docbook-xml
3432 (lambda* (#:key inputs #:allow-other-keys)
3433 (with-directory-excursion "doc"
3434 (substitute* "rsvg-docs.xml"
3435 (("http://www.oasis-open.org/docbook/xml/4.3/")
3436 (string-append (assoc-ref inputs "docbook-xml")
3437 "/xml/dtd/docbook/"))))
3438 #t))
3439 (add-after 'unpack 'prepare-for-build
3440 (lambda _
3441 ;; In lieu of #:make-flags
3442 (setenv "CC" ,(cc-for-target))
3443 ;; Something about the build environment resists building
3444 ;; successfully with the '--locked' flag.
3445 (substitute* '("Makefile.am" "Makefile.in")
3446 (("--locked") ""))
3447 #t))
3448 (add-before 'configure 'pre-configure
3449 (lambda _
3450 (substitute* "gdk-pixbuf-loader/Makefile.in"
3451 ;; By default the gdk-pixbuf loader is installed under
3452 ;; gdk-pixbuf's prefix. Work around that.
3453 (("gdk_pixbuf_moduledir = .*$")
3454 (string-append "gdk_pixbuf_moduledir = "
3455 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3456 "loaders\n"))
3457 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3458 (("gdk_pixbuf_cache_file = .*$")
3459 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3460 #t))
3461 (add-after 'configure 'gnu-configure
3462 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3463 ((assoc-ref gnu:%standard-phases 'configure)
3464 #:native-inputs native-inputs
3465 #:inputs inputs
3466 #:outputs outputs
3467 #:configure-flags
3468 (list "--disable-static"
3469 "--enable-vala"
3470 (string-append "--with-html-dir="
3471 (assoc-ref %outputs "doc")
3472 "/share/gtk-doc/html")))))
3473 (add-after 'configure 'dont-vendor-self
3474 (lambda* (#:key vendor-dir #:allow-other-keys)
3475 ;; Don't keep the whole tarball in the vendor directory
3476 (delete-file-recursively
3477 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3478 #t))
3479 (replace 'build
3480 (assoc-ref gnu:%standard-phases 'build))
3481 (add-before 'check 'ignore-failing-tests
3482 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3483 (lambda _
3484 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3485 (("fn background_color_option_invalid_color_yields_error" all)
3486 (string-append "#[ignore] " all))
3487 (("fn empty_input_yields_error" all)
3488 (string-append "#[ignore] " all))
3489 (("fn empty_svg_yields_error" all)
3490 (string-append "#[ignore] " all))
3491 (("fn env_source_data_epoch_empty" all)
3492 (string-append "#[ignore] " all))
3493 (("fn env_source_data_epoch_no_digits" all)
3494 (string-append "#[ignore] " all))
3495 (("fn env_source_data_epoch_trailing_garbage" all)
3496 (string-append "#[ignore] " all))
3497 (("fn export_id_option_error" all)
3498 (string-append "#[ignore] " all))
3499 (("fn huge_zoom_factor_yields_error" all)
3500 (string-append "#[ignore] " all))
3501 (("fn multiple_input_files_not_allowed_for_png_output" all)
3502 (string-append "#[ignore] " all))
3503 (("fn stylesheet_option_error" all)
3504 (string-append "#[ignore] " all)))
3505 #t))
3506 (replace 'check
3507 (lambda* args
3508 ((assoc-ref gnu:%standard-phases 'check)
3509 #:test-target "check")))
3510 (replace 'install
3511 (assoc-ref gnu:%standard-phases 'install)))))
3512 (native-inputs
3513 `(("docbook-xml" ,docbook-xml-4.3)
3514 ("glib" ,glib "bin")
3515 ("gobject-introspection" ,gobject-introspection)
3516 ("pkg-config" ,pkg-config)
3517 ("python" ,python-wrapper)
3518 ("ruby" ,ruby)
3519 ("vala" ,vala)))
3520 (inputs
3521 `(("bzip2" ,bzip2)
3522 ("fontconfig" ,fontconfig)
3523 ("freetype" ,freetype)
3524 ("harfbuzz" ,harfbuzz)
3525 ("libcroco" ,libcroco)
3526 ("libgsf" ,libgsf)
3527 ("libxml2" ,libxml2)
3528 ("pango" ,pango)))
3529 (propagated-inputs
3530 `(("cairo" ,cairo)
3531 ("gdk-pixbuf" ,gdk-pixbuf)
3532 ("glib" ,glib)))
3533 (synopsis "SVG rendering library")
3534 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3535 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3536 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3537 diagrams.")
3538 (home-page "https://wiki.gnome.org/LibRsvg")
3539 (license license:lgpl2.1+)))
3540
3541 (define-public libidl
3542 (package
3543 (name "libidl")
3544 (version "0.8.14")
3545 (source (origin
3546 (method url-fetch)
3547 (uri (string-append "mirror://gnome/sources/libIDL/"
3548 (version-major+minor version) "/"
3549 "libIDL-" version ".tar.bz2"))
3550 (sha256
3551 (base32
3552 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3553 (build-system gnu-build-system)
3554 (inputs `(("glib" ,glib)))
3555 (native-inputs
3556 `(("pkg-config" ,pkg-config)
3557 ("flex" ,flex)
3558 ("bison" ,bison)))
3559 (home-page "http://freecode.com/projects/libidl")
3560 (synopsis "Create trees of CORBA Interface Definition Language files")
3561 (description "Libidl is a library for creating trees of CORBA Interface
3562 Definition Language (idl) files, which is a specification for defining
3563 portable interfaces. libidl was initially written for orbit (the orb from the
3564 GNOME project, and the primary means of libidl distribution). However, the
3565 functionality was designed to be as reusable and portable as possible.")
3566 (properties `((upstream-name . "libIDL")))
3567 (license license:lgpl2.0+)))
3568
3569
3570 (define-public orbit2
3571 (package
3572 (name "orbit2")
3573 (version "2.14.19")
3574 (source (origin
3575 (method url-fetch)
3576 (uri (let ((upstream-name "ORBit2"))
3577 (string-append "mirror://gnome/sources/" upstream-name "/"
3578 (version-major+minor version) "/"
3579 upstream-name "-" version ".tar.bz2")))
3580 (sha256
3581 (base32
3582 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3583 (build-system gnu-build-system)
3584 (arguments
3585 `(;; The "timeout-server" test hangs when run in parallel.
3586 #:parallel-tests? #f
3587 #:configure-flags
3588 '(;; We don't need static libraries, plus they don't build reproducibly
3589 ;; (non-deterministic ordering of .o files in the archive.)
3590 "--disable-static"
3591
3592 ;; The programmer kindly gives us a hook to turn off deprecation
3593 ;; warnings ...
3594 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3595 ;; ... which they then completly ignore !!
3596 #:phases
3597 (modify-phases %standard-phases
3598 (add-before 'configure 'ignore-deprecations
3599 (lambda _
3600 (substitute* "linc2/src/Makefile.in"
3601 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3602 #t)))))
3603 (inputs `(("glib" ,glib)
3604 ("libidl" ,libidl)))
3605 (native-inputs
3606 `(("pkg-config" ,pkg-config)))
3607 (home-page "https://projects.gnome.org/orbit2/")
3608 (synopsis "CORBA 2.4-compliant Object Request Broker")
3609 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3610 featuring mature C, C++ and Python bindings.")
3611 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3612 ;; a version. SOME of the code files have licence notices for GPLv2+.
3613 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3614 (license license:gpl2+)
3615 (properties `((upstream-name . "ORBit2")))))
3616
3617
3618 (define-public libbonobo
3619 (package
3620 (name "libbonobo")
3621 (version "2.32.1")
3622 (source (origin
3623 (method url-fetch)
3624 (uri (string-append "mirror://gnome/sources/" name "/"
3625 (version-major+minor version)
3626 "/" name "-" version ".tar.bz2"))
3627 (sha256
3628 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3629 (patches (search-patches
3630 "libbonobo-activation-test-race.patch"))))
3631 (build-system gnu-build-system)
3632 (arguments
3633 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3634 `(#:configure-flags
3635 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3636 ;; ... which they then completly ignore !!
3637 #:phases
3638 (modify-phases %standard-phases
3639 (add-before 'configure 'ignore-deprecations
3640 (lambda _
3641 (substitute* "activation-server/Makefile.in"
3642 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3643 #t)))
3644
3645 ;; There's apparently a race condition between the server stub
3646 ;; generation and linking of the example under 'samples/echo' that can
3647 ;; lead do undefined references when building in parallel, as reported
3648 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3649 ;; Thus, disable parallel builds.
3650 #:parallel-build? #f))
3651 (inputs `(("popt" ,popt)
3652 ("libxml2" ,libxml2)))
3653 ;; The following are Required by the .pc file
3654 (propagated-inputs
3655 `(("glib" ,glib)
3656 ("orbit2" ,orbit2)))
3657 (native-inputs
3658 `(("intltool" ,intltool)
3659 ("pkg-config" ,pkg-config)
3660 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3661 ("flex" ,flex)
3662 ("bison" ,bison)))
3663 (home-page "https://developer.gnome.org/libbonobo/")
3664 (synopsis "Framework for creating reusable components for use in GNOME applications")
3665 (description "Bonobo is a framework for creating reusable components for
3666 use in GNOME applications, built on top of CORBA.")
3667 ;; Licence not explicitly stated. Source files contain no licence notices.
3668 ;; Tarball contains text of both GPLv2 and LGPLv2
3669 ;; GPLv2 covers both conditions
3670 (license license:gpl2+)))
3671
3672
3673 (define-public gconf
3674 (package
3675 (name "gconf")
3676 (version "3.2.6")
3677 (source (origin
3678 (method url-fetch)
3679 (uri
3680 (let ((upstream-name "GConf"))
3681 (string-append "mirror://gnome/sources/" upstream-name "/"
3682 (version-major+minor version) "/"
3683 upstream-name "-" version ".tar.xz")))
3684 (sha256
3685 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3686 (build-system gnu-build-system)
3687 (inputs `(("dbus-glib" ,dbus-glib)
3688 ("libxml2" ,libxml2)))
3689 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3690 ("orbit2" ,orbit2)))
3691 (native-inputs
3692 `(("intltool" ,intltool)
3693 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3694 ("pkg-config" ,pkg-config)))
3695 (home-page "https://projects.gnome.org/gconf/")
3696 (synopsis "Store application preferences")
3697 (description "Gconf is a system for storing application preferences. It
3698 is intended for user preferences; not arbitrary data storage.")
3699 (license license:lgpl2.0+)
3700 (properties '((upstream-name . "GConf")))))
3701
3702
3703 (define-public gnome-mime-data
3704 (package
3705 (name "gnome-mime-data")
3706 (version "2.18.0")
3707 (source (origin
3708 (method url-fetch)
3709 (uri (string-append "mirror://gnome/sources/" name "/"
3710 (version-major+minor version) "/"
3711 name "-" version ".tar.bz2"))
3712 (sha256
3713 (base32
3714 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3715 (build-system gnu-build-system)
3716 (native-inputs
3717 `(("perl" ,perl)
3718 ("intltool" ,intltool)))
3719 (arguments
3720 '(#:phases (modify-phases %standard-phases
3721 (add-after 'configure 'use-our-intltool
3722 (lambda _
3723 ;; Do not use the bundled intltool commands, which lack
3724 ;; the "dotless @INC" fixes of our 'intltool' package.
3725 (substitute* (find-files "." "^Makefile$")
3726 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3727 (string-append "INTLTOOL_" tool " = intltool-"
3728 (string-downcase tool) "\n")))
3729 #t)))))
3730 (home-page "https://www.gnome.org")
3731 (synopsis "Base MIME and Application database for GNOME")
3732 (description "GNOME Mime Data is a module which contains the base MIME
3733 and Application database for GNOME. The data stored by this module is
3734 designed to be accessed through the MIME functions in GnomeVFS.")
3735 (license license:gpl2+)))
3736
3737
3738 (define-public gnome-vfs
3739 (package
3740 (name "gnome-vfs")
3741 (version "2.24.4")
3742 (source (origin
3743 (method url-fetch)
3744 (uri (string-append "mirror://gnome/sources/" name "/"
3745 (version-major+minor version) "/"
3746 name "-" version ".tar.bz2"))
3747 (sha256
3748 (base32
3749 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3750 (build-system gnu-build-system)
3751 (arguments
3752 `(#:phases
3753 (modify-phases %standard-phases
3754 (add-before 'configure 'ignore-deprecations
3755 (lambda _
3756 (substitute* '("libgnomevfs/Makefile.in"
3757 "daemon/Makefile.in")
3758 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3759 #t))
3760 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3761 (lambda _
3762 (substitute* "test/test-async-cancel.c"
3763 (("EXIT_FAILURE") "77"))
3764 #t)))))
3765 (inputs `(("libxml2" ,libxml2)
3766 ("dbus-glib" ,dbus-glib)
3767 ("gconf" ,gconf)
3768 ("gnome-mime-data" ,gnome-mime-data)
3769 ("zlib" ,zlib)))
3770 (native-inputs
3771 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3772 ("intltool" ,intltool)
3773 ("pkg-config" ,pkg-config)))
3774 (home-page "https://developer.gnome.org/gnome-vfs/")
3775 (synopsis "Access files and folders in GNOME applications")
3776 (description
3777 "GnomeVFS is the core library used to access files and folders in GNOME
3778 applications. It provides a file system abstraction which allows applications
3779 to access local and remote files with a single consistent API.")
3780 (license license:lgpl2.0+)))
3781
3782
3783
3784 (define-public libgnome
3785 (package
3786 (name "libgnome")
3787 (version "2.32.1")
3788 (source (origin
3789 (method url-fetch)
3790 (uri (string-append "mirror://gnome/sources/" name "/"
3791 (version-major+minor version) "/"
3792 name "-" version ".tar.bz2"))
3793 (sha256
3794 (base32
3795 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3796 (patches (search-patches "libgnome-encoding.patch"))))
3797 (build-system gnu-build-system)
3798 (arguments
3799 `(#:phases
3800 (modify-phases %standard-phases
3801 (add-before 'configure 'enable-deprecated
3802 (lambda _
3803 (substitute* "libgnome/Makefile.in"
3804 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3805 #t)))))
3806 (inputs `(("libxml2" ,libxml2)))
3807 (native-inputs
3808 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3809 ("intltool" ,intltool)
3810 ("pkg-config" ,pkg-config)))
3811 ;; The following are listed as Required in the .pc file
3812 ;; (except for libcanberra -- which seems to be oversight on the part
3813 ;; of the upstream developers -- anything that links against libgnome,
3814 ;; must also link against libcanberra
3815 (propagated-inputs
3816 `(("libcanberra" ,libcanberra)
3817 ("libbonobo" ,libbonobo)
3818 ("gconf" ,gconf)
3819 ("gnome-vfs" ,gnome-vfs)
3820 ("popt" ,popt))) ;gnome-program.h includes popt.h
3821 (home-page "https://developer.gnome.org/libgnome/")
3822 (synopsis "Useful routines for building applications")
3823 (description "The libgnome library provides a number of useful routines
3824 for building modern applications, including session management, activation of
3825 files and URIs, and displaying help.")
3826 (license license:lgpl2.0+)))
3827
3828
3829 (define-public libart-lgpl
3830 (package
3831 (name "libart-lgpl")
3832 (version "2.3.21")
3833 (source (origin
3834 (method url-fetch)
3835 (uri (let ((upstream-name "libart_lgpl"))
3836 (string-append "mirror://gnome/sources/" upstream-name "/"
3837 (version-major+minor version) "/"
3838 upstream-name "-" version ".tar.bz2")))
3839 (sha256
3840 (base32
3841 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3842 (build-system gnu-build-system)
3843 (native-inputs
3844 `(("pkg-config" ,pkg-config)))
3845 (home-page "https://people.gnome.org/~mathieu/libart")
3846 (synopsis "2D drawing library")
3847 (description "Libart is a 2D drawing library intended as a
3848 high-quality vector-based 2D library with antialiasing and alpha composition.")
3849 (license license:lgpl2.0+)))
3850
3851
3852
3853 (define-public libgnomecanvas
3854 (package
3855 (name "libgnomecanvas")
3856 (version "2.30.3")
3857 (source (origin
3858 (method url-fetch)
3859 (uri (string-append "mirror://gnome/sources/" name "/"
3860 (version-major+minor version) "/"
3861 name "-" version ".tar.gz"))
3862 (sha256
3863 (base32
3864 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3865 (build-system gnu-build-system)
3866 ;; Mentioned as Required in the .pc file
3867 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3868 ("gtk+" ,gtk+-2)))
3869 (native-inputs
3870 `(("intltool" ,intltool)
3871 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3872 ("pkg-config" ,pkg-config)))
3873 (home-page "https://developer.gnome.org/libgnomecanvas/")
3874 (synopsis "Flexible widget for creating interactive structured graphics")
3875 (description "The GnomeCanvas widget provides a flexible widget for
3876 creating interactive structured graphics.")
3877 (license license:lgpl2.0+)))
3878
3879 (define-public libgnomecanvasmm
3880 (package
3881 (name "libgnomecanvasmm")
3882 (version "2.26.0")
3883 (source (origin
3884 (method url-fetch)
3885 (uri (string-append "mirror://gnome/sources/" name "/"
3886 (version-major+minor version) "/"
3887 name "-" version ".tar.bz2"))
3888 (sha256
3889 (base32
3890 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3891 (build-system gnu-build-system)
3892 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3893 (native-inputs
3894 `(("gtkmm-2" ,gtkmm-2)
3895 ("pkg-config" ,pkg-config)))
3896 (home-page "https://gtkmm.org")
3897 (synopsis "C++ bindings to the GNOME Canvas library")
3898 (description "C++ bindings to the GNOME Canvas library.")
3899 (license license:lgpl2.0+)))
3900
3901 (define-public libgnomeui
3902 (package
3903 (name "libgnomeui")
3904 (version "2.24.5")
3905 (source (origin
3906 (method url-fetch)
3907 (uri (string-append "mirror://gnome/sources/" name "/"
3908 (version-major+minor version) "/"
3909 name "-" version ".tar.bz2"))
3910 (patches (search-patches "libgnomeui-utf8.patch"))
3911 (sha256
3912 (base32
3913 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3914 (build-system gnu-build-system)
3915 ;; Mentioned as Required in the .pc file
3916 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3917 ("libgnome" ,libgnome)
3918 ("libgnomecanvas" ,libgnomecanvas)
3919 ("libgnome-keyring" ,libgnome-keyring)))
3920 (inputs `(("libjpeg" ,libjpeg-turbo)
3921 ("popt" ,popt)
3922 ("libbonobo" ,libbonobo)
3923 ("libxml2" ,libxml2)
3924 ("libglade" ,libglade)))
3925 (native-inputs
3926 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3927 ("intltool" ,intltool)
3928 ("pkg-config" ,pkg-config)))
3929 (home-page "https://developer.gnome.org/libgnomeui/")
3930 (synopsis "Additional widgets for applications")
3931 (description "The libgnomeui library provides additional widgets for
3932 applications. Many of the widgets from libgnomeui have already been
3933 ported to GTK+.")
3934 (license license:lgpl2.0+)))
3935
3936 (define-public libglade
3937 (package
3938 (name "libglade")
3939 (version "2.6.4")
3940 (source (origin
3941 (method url-fetch)
3942 (uri (string-append "mirror://gnome/sources/" name "/"
3943 (version-major+minor version) "/"
3944 name "-" version ".tar.bz2"))
3945 (sha256
3946 (base32
3947 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3948 (build-system gnu-build-system)
3949 (inputs
3950 `(("python" ,python))) ;; needed for the optional libglade-convert program
3951 (propagated-inputs
3952 `(("gtk+-2" ,gtk+-2)
3953 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3954 (native-inputs
3955 `(("pkg-config" ,pkg-config)))
3956 (home-page "https://developer.gnome.org/libglade")
3957 (synopsis "Load glade interfaces and access the glade built widgets")
3958 (description "Libglade is a library that provides interfaces for loading
3959 graphical interfaces described in glade files and for accessing the
3960 widgets built in the loading process.")
3961 (license license:gpl2+))) ; This is correct. GPL not LGPL
3962
3963 (define-public libgnomeprint
3964 ;; This library has been deprecated since 2006; see
3965 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3966 (package
3967 (name "libgnomeprint")
3968 (version "2.18.8")
3969 (source (origin
3970 (method url-fetch)
3971 (uri (string-append "mirror://gnome/sources/" name "/"
3972 (version-major+minor version) "/"
3973 name "-" version ".tar.bz2"))
3974 (sha256
3975 (base32
3976 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3977 (build-system gnu-build-system)
3978 (inputs
3979 `(("popt" ,popt)
3980 ("libart-lgpl" ,libart-lgpl)
3981 ("gtk+" ,gtk+-2)
3982 ("libxml2" ,libxml2)))
3983 (native-inputs
3984 `(("intltool" ,intltool)
3985 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3986 ("pkg-config" ,pkg-config)))
3987 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3988 (synopsis "Printing framework for GNOME")
3989 (description
3990 "GNOME-print was a printing framework for GNOME. It has been deprecated
3991 since ca. 2006, when GTK+ itself incorporated printing support.")
3992 (license license:lgpl2.0+)))
3993
3994
3995 (define-public libgnomeprintui
3996 ;; Deprecated; see libgnomeprint.
3997 (package
3998 (name "libgnomeprintui")
3999 (version "2.18.6")
4000 (source (origin
4001 (method url-fetch)
4002 (uri (string-append "mirror://gnome/sources/" name "/"
4003 (version-major+minor version) "/"
4004 name "-" version ".tar.bz2"))
4005 (sha256
4006 (base32
4007 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4008 (build-system gnu-build-system)
4009 ;; Mentioned as Required in the .pc file
4010 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4011 (inputs `(("gtk+" ,gtk+-2)
4012 ("glib" ,glib)
4013 ("gnome-icon-theme" ,gnome-icon-theme)
4014 ("libgnomecanvas" ,libgnomecanvas)
4015 ("libxml2" ,libxml2)))
4016 (native-inputs
4017 `(("intltool" ,intltool)
4018 ("pkg-config" ,pkg-config)))
4019 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4020 (synopsis "Printing framework for GNOME")
4021 (description (package-description libgnomeprint))
4022 (license license:lgpl2.0+)))
4023
4024 (define-public libbonoboui
4025 (package
4026 (name "libbonoboui")
4027 (version "2.24.5")
4028 (source (origin
4029 (method url-fetch)
4030 (uri (string-append "mirror://gnome/sources/" name "/"
4031 (version-major+minor version) "/"
4032 name "-" version ".tar.bz2"))
4033 (sha256
4034 (base32
4035 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4036 (build-system gnu-build-system)
4037 (arguments
4038 `(#:phases
4039 (modify-phases %standard-phases
4040 (add-before 'check 'start-xserver
4041 (lambda* (#:key inputs #:allow-other-keys)
4042 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4043 (disp ":1"))
4044
4045 (setenv "HOME" (getcwd))
4046 (setenv "DISPLAY" disp)
4047 ;; There must be a running X server and make check doesn't start one.
4048 ;; Therefore we must do it.
4049 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4050 ;; Mentioned as Required by the .pc file
4051 (propagated-inputs `(("libxml2" ,libxml2)))
4052 (inputs
4053 `(("popt" ,popt)
4054 ("pangox-compat" ,pangox-compat)
4055 ("libgnome" ,libgnome)
4056 ("libgnomecanvas" ,libgnomecanvas)
4057 ("libglade" ,libglade)))
4058 (native-inputs
4059 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4060 ("intltool" ,intltool)
4061 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4062 ("pkg-config" ,pkg-config)))
4063 (home-page "https://developer.gnome.org/libbonoboui/")
4064 (synopsis "Some user interface controls using Bonobo")
4065 (description "The Bonobo UI library provides a number of user interface
4066 controls using the Bonobo component framework.")
4067 (license license:lgpl2.0+)))
4068
4069 (define-public libwnck
4070 (package
4071 (name "libwnck")
4072 (version "3.32.0")
4073 (source (origin
4074 (method url-fetch)
4075 (uri (string-append "mirror://gnome/sources/" name "/"
4076 (version-major+minor version) "/"
4077 name "-" version ".tar.xz"))
4078 (sha256
4079 (base32
4080 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4081 (build-system meson-build-system)
4082 (native-inputs
4083 `(("pkg-config" ,pkg-config)
4084 ("glib" ,glib "bin") ; for glib-mkenums
4085 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4086 ("intltool" ,intltool)))
4087 (propagated-inputs
4088 `(("gtk+" ,gtk+)
4089 ("libxres" ,libxres)
4090 ("startup-notification" ,startup-notification)))
4091 (home-page "https://developer.gnome.org/libwnck/")
4092 (synopsis "Window Navigator Construction Kit")
4093 (description
4094 "Libwnck is the Window Navigator Construction Kit, a library for use in
4095 writing pagers, tasklists, and more generally applications that are dealing
4096 with window management. It tries hard to respect the Extended Window Manager
4097 Hints specification (EWMH).")
4098 (license license:lgpl2.0+)))
4099
4100 ;; stable version for gtk2, required by xfwm4.
4101 (define-public libwnck-2
4102 (package (inherit libwnck)
4103 (name "libwnck")
4104 (version "2.30.7")
4105 (source (origin
4106 (method url-fetch)
4107 (uri (string-append "mirror://gnome/sources/" name "/"
4108 (version-major+minor version) "/"
4109 name "-" version ".tar.xz"))
4110 (sha256
4111 (base32
4112 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4113 (build-system gnu-build-system)
4114 (native-inputs
4115 `(("pkg-config" ,pkg-config)
4116 ("intltool" ,intltool)))
4117 (propagated-inputs
4118 `(("gtk+" ,gtk+-2)
4119 ("libxres" ,libxres)
4120 ("startup-notification" ,startup-notification)))))
4121
4122 (define-public goffice
4123 (package
4124 (name "goffice")
4125 (version "0.10.49")
4126 (source (origin
4127 (method url-fetch)
4128 (uri (string-append "mirror://gnome/sources/goffice/"
4129 (version-major+minor version) "/"
4130 "goffice-" version ".tar.xz"))
4131 (sha256
4132 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4133 (build-system gnu-build-system)
4134 (outputs '("out"
4135 "doc")) ; 4.0 MiB of gtk-doc
4136 (arguments
4137 '(#:configure-flags (list (string-append "--with-html-dir="
4138 (assoc-ref %outputs "doc")
4139 "/share/gtk-doc/html"))))
4140 (inputs
4141 `(("gtk+" ,gtk+)
4142 ("libgsf" ,libgsf)
4143 ("librsvg" ,librsvg)
4144 ("libxslt" ,libxslt)
4145 ("libxml2" ,libxml2)))
4146 (native-inputs
4147 `(("intltool" ,intltool)
4148 ("glib" ,glib "bin")
4149 ("pkg-config" ,pkg-config)))
4150 (home-page "https://developer.gnome.org/goffice/")
4151 (synopsis "Document-centric objects and utilities")
4152 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4153 (license
4154 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4155 ;; Note: NOT LGPL
4156 (list license:gpl2 license:gpl3))))
4157
4158 (define-public goffice-0.8
4159 (package (inherit goffice)
4160 (version "0.8.17")
4161 (source (origin
4162 (method url-fetch)
4163 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4164 (version-major+minor version) "/"
4165 (package-name goffice) "-" version ".tar.xz"))
4166 (sha256
4167 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4168 (arguments
4169 `(#:phases
4170 (modify-phases %standard-phases
4171 (add-after 'unpack 'fix-pcre-check
4172 (lambda _
4173 ;; Only glib.h can be included directly. See
4174 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4175 (substitute* "configure"
4176 (("glib/gregex\\.h") "glib.h")) #t)))
4177
4178 ,@(package-arguments goffice)))
4179 (propagated-inputs
4180 ;; libgoffice-0.8.pc mentions libgsf-1
4181 `(("libgsf" ,libgsf)))
4182 (inputs
4183 `(("gtk" ,gtk+-2)
4184 ,@(alist-delete "gtk" (package-inputs goffice))))))
4185
4186 (define-public gnumeric
4187 (package
4188 (name "gnumeric")
4189 (version "1.12.49")
4190 (source (origin
4191 (method url-fetch)
4192 (uri (string-append "mirror://gnome/sources/gnumeric/"
4193 (version-major+minor version) "/"
4194 "gnumeric-" version ".tar.xz"))
4195 (sha256
4196 (base32
4197 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4198 (build-system glib-or-gtk-build-system)
4199 (arguments
4200 `(;; The gnumeric developers don't worry much about failing tests.
4201 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4202 #:tests? #f
4203 #:phases
4204 (modify-phases %standard-phases
4205 (add-before
4206 'configure 'pre-conf
4207 (lambda* (#:key outputs #:allow-other-keys)
4208 ;; Make install tries to write into the directory of goffice
4209 ;; I am informed that this only affects the possibility to embed a
4210 ;; spreadsheet inside an Abiword document. So presumably when we
4211 ;; package Abiword we'll have to refer it to this directory.
4212 (substitute* "configure"
4213 (("^GOFFICE_PLUGINS_DIR=.*")
4214 (string-append "GOFFICE_PLUGINS_DIR="
4215 (assoc-ref outputs "out")
4216 "/goffice/plugins"))))))))
4217 (inputs
4218 `(("glib" ,glib)
4219 ("gtk+" ,gtk+)
4220 ("goffice" ,goffice)
4221 ("libgsf" ,libgsf)
4222 ("librsvg" ,librsvg)
4223 ("libxml2" ,libxml2)
4224 ("libxslt" ,libxslt)
4225 ("python" ,python)
4226 ("python-pygobject" ,python-pygobject)
4227 ("zlib" ,zlib)))
4228 (native-inputs
4229 `(("bison" ,bison)
4230 ("docbook-xml" ,docbook-xml)
4231 ("intltool" ,intltool)
4232 ("itstool" ,itstool)
4233 ("glib:bin" ,glib "bin")
4234 ("pkg-config" ,pkg-config)))
4235 (home-page "http://www.gnumeric.org")
4236 (synopsis "Spreadsheet application")
4237 (description
4238 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4239 interoperable with other spreadsheet applications. It has a vast array of
4240 features beyond typical spreadsheet functionality, such as support for linear
4241 and non-linear solvers, statistical analysis, and telecommunication
4242 engineering.")
4243 (license
4244 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4245 (list license:gpl2 license:gpl3))))
4246
4247 (define-public drawing
4248 (package
4249 (name "drawing")
4250 (version "0.6.5")
4251 (source
4252 (origin
4253 (method git-fetch)
4254 (uri (git-reference
4255 (url "https://github.com/maoschanz/drawing")
4256 (commit version)))
4257 (file-name (git-file-name name version))
4258 (sha256
4259 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4260 (build-system meson-build-system)
4261 (arguments
4262 `(#:glib-or-gtk? #t
4263 #:phases
4264 (modify-phases %standard-phases
4265 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4266 (lambda* (#:key outputs #:allow-other-keys)
4267 (let ((prog (string-append (assoc-ref outputs "out")
4268 "/bin/drawing"))
4269 (pylib (string-append (assoc-ref outputs "out")
4270 "/lib/python"
4271 ,(version-major+minor
4272 (package-version python))
4273 "/site-packages")))
4274 (wrap-program prog
4275 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4276 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4277 #t))))))
4278 (native-inputs
4279 `(("desktop-file-utils" ,desktop-file-utils)
4280 ("gettext" ,gettext-minimal)
4281 ("glib:bin" ,glib "bin")
4282 ("gobject-introspection" ,gobject-introspection)
4283 ("gtk+:bin" ,gtk+ "bin")
4284 ("pkg-config" ,pkg-config)))
4285 (inputs
4286 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4287 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4288 ("gtk+" ,gtk+)
4289 ("pango" ,pango)
4290 ("python-pycairo" ,python-pycairo)
4291 ("python-pygobject" ,python-pygobject)))
4292 (home-page "https://maoschanz.github.io/drawing/")
4293 (synopsis "Basic image editor for GNOME")
4294 (description
4295 "Drawing is a basic image editor aiming at the GNOME desktop.")
4296 (license license:gpl3+)))
4297
4298 (define-public gnome-themes-standard
4299 (package
4300 (name "gnome-themes-standard")
4301 (version "3.22.3")
4302 (source
4303 (origin
4304 (method url-fetch)
4305 (uri (string-append "mirror://gnome/sources/" name "/"
4306 (version-major+minor version) "/" name "-"
4307 version ".tar.xz"))
4308 (sha256
4309 (base32
4310 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4311 (build-system gnu-build-system)
4312 (arguments
4313 '(#:configure-flags
4314 ;; Don't create 'icon-theme.cache'.
4315 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4316 (true (string-append coreutils "/bin/true")))
4317 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4318 (inputs
4319 `(("gtk+" ,gtk+)
4320 ("gtk+-2" ,gtk+-2)
4321 ("librsvg" ,librsvg)
4322 ("libxml2" ,libxml2)
4323 ("glib" ,glib)))
4324 (native-inputs
4325 `(("intltool" ,intltool)
4326 ("glib:bin" ,glib "bin")
4327 ("pkg-config" ,pkg-config)))
4328 (home-page "https://launchpad.net/gnome-themes-standard")
4329 (synopsis "Default GNOME 3 themes")
4330 (description
4331 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4332 (license license:lgpl2.1+)))
4333
4334 (define-public seahorse
4335 (package
4336 (name "seahorse")
4337 (version "3.36.2")
4338 (source
4339 (origin
4340 (method url-fetch)
4341 (uri (string-append "mirror://gnome/sources/" name "/"
4342 (version-major+minor version) "/" name "-"
4343 version ".tar.xz"))
4344 (sha256
4345 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4346 (build-system meson-build-system)
4347 (arguments
4348 '(#:glib-or-gtk? #t
4349 #:phases
4350 (modify-phases %standard-phases
4351 (add-after 'unpack 'skip-gtk-update-icon-cache
4352 ;; Don't create 'icon-theme.cache'.
4353 (lambda _
4354 (substitute* "build-aux/meson_post_install.py"
4355 (("gtk-update-icon-cache") "true"))
4356 #t)))))
4357 (inputs
4358 `(("gtk+" ,gtk+)
4359 ("gcr" ,gcr)
4360 ("gnupg" ,gnupg)
4361 ("gpgme" ,gpgme)
4362 ("openldap" ,openldap)
4363 ("openssh" ,openssh)
4364 ("avahi" ,avahi)
4365 ("libhandy" ,libhandy-0.0)
4366 ("libpwquality" ,libpwquality)
4367 ("libsecret" ,libsecret)
4368 ("libsoup" ,libsoup)))
4369 (native-inputs
4370 `(("gettext" ,gettext-minimal)
4371 ("glib:bin" ,glib "bin")
4372 ("itstool" ,itstool)
4373 ("pkg-config" ,pkg-config)
4374 ("vala" ,vala)
4375 ("xmllint" ,libxml2)))
4376 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4377 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4378 (description
4379 "Seahorse is a GNOME application for managing encryption keys and
4380 passwords in the GNOME keyring.")
4381 (license license:gpl2+)))
4382
4383 (define-public vala
4384 (package
4385 (name "vala")
4386 (version "0.46.5")
4387 (source (origin
4388 (method url-fetch)
4389 (uri (string-append "mirror://gnome/sources/" name "/"
4390 (version-major+minor version) "/"
4391 name "-" version ".tar.xz"))
4392 (sha256
4393 (base32
4394 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4395 (build-system gnu-build-system)
4396 (arguments
4397 '(#:phases
4398 (modify-phases %standard-phases
4399 (add-before 'check 'pre-check
4400 (lambda _
4401 (setenv "CC" "gcc")
4402 (substitute* "valadoc/tests/testrunner.sh"
4403 (("export PKG_CONFIG_PATH=" m)
4404 (string-append m "$PKG_CONFIG_PATH:")))
4405 ;; For missing '/etc/machine-id'.
4406 (setenv "DBUS_FATAL_WARNINGS" "0")
4407 #t)))))
4408 (native-inputs
4409 `(("pkg-config" ,pkg-config)
4410 ("flex" ,flex)
4411 ("bison" ,bison)
4412 ("xsltproc" ,libxslt)
4413 ("dbus" ,dbus) ; for dbus tests
4414 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4415 (inputs
4416 `(("graphviz" ,graphviz)))
4417 (propagated-inputs
4418 `(("glib" ,glib))) ; required by libvala-0.40.pc
4419 (home-page "https://wiki.gnome.org/Projects/Vala/")
4420 (synopsis "Compiler for the GObject type system")
4421 (description
4422 "Vala is a programming language that aims to bring modern programming
4423 language features to GNOME developers without imposing any additional runtime
4424 requirements and without using a different ABI compared to applications and
4425 libraries written in C.")
4426 (license license:lgpl2.1+)))
4427
4428 (define-public vala-0.50
4429 (package
4430 (inherit vala)
4431 (version "0.50.2")
4432 (source (origin
4433 (method url-fetch)
4434 (uri (string-append "mirror://gnome/sources/vala/"
4435 (version-major+minor version) "/"
4436 "vala-" version ".tar.xz"))
4437 (sha256
4438 (base32
4439 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4440
4441 (define-public vte
4442 (package
4443 (name "vte")
4444 (version "0.60.3")
4445 (source (origin
4446 (method url-fetch)
4447 (uri (string-append "mirror://gnome/sources/vte/"
4448 (version-major+minor version) "/"
4449 "vte-" version ".tar.xz"))
4450 (sha256
4451 (base32
4452 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4453 (build-system meson-build-system)
4454 (arguments
4455 `(#:configure-flags
4456 '("-Dvapi=true"
4457 "-D_systemd=false")))
4458 (native-inputs
4459 `(("pkg-config" ,pkg-config)
4460 ("gettext" ,gettext-minimal)
4461 ("vala" ,vala)
4462 ("gobject-introspection" ,gobject-introspection)
4463 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4464 ("gperf" ,gperf)
4465 ("xmllint" ,libxml2)))
4466 (propagated-inputs
4467 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4468 ("gnutls" ,gnutls) ; ditto
4469 ("pcre2" ,pcre2))) ; ditto
4470 (home-page "https://www.gnome.org/")
4471 (synopsis "Virtual Terminal Emulator")
4472 (description
4473 "VTE is a library (libvte) implementing a terminal emulator widget for
4474 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4475 gnome-terminal, but can also be used to embed a console/terminal in games,
4476 editors, IDEs, etc.")
4477 (license license:lgpl2.1+)))
4478
4479 (define-public vte-ng
4480 (package
4481 (inherit vte)
4482 (name "vte-ng")
4483 (version "0.58.2.a")
4484 (home-page "https://github.com/thestinger/vte-ng")
4485 (source (origin
4486 (method git-fetch)
4487 (uri (git-reference (url home-page) (commit version)))
4488 (file-name (git-file-name name version))
4489 (sha256
4490 (base32
4491 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4492 (build-system meson-build-system)
4493 (native-inputs
4494 `(("gtk-doc" ,gtk-doc/stable)
4495 ,@(package-native-inputs vte)))
4496 (arguments
4497 `(#:configure-flags '("-Ddocs=true")))
4498 (synopsis "Enhanced VTE terminal widget")
4499 (description
4500 "VTE is a library (libvte) implementing a terminal emulator widget for
4501 GTK+, this fork provides additional functions exposed for keyboard text
4502 selection and URL hints.")))
4503
4504 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4505 (define-public vte/gtk+-2
4506 (package (inherit vte)
4507 (name "vte")
4508 (version "0.28.2")
4509 (source (origin
4510 (method url-fetch)
4511 (uri (string-append "mirror://gnome/sources/" name "/"
4512 (version-major+minor version) "/"
4513 name "-" version ".tar.xz"))
4514 (sha256
4515 (base32
4516 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4517 (patches (search-patches
4518 "vte-CVE-2012-2738-pt1.patch"
4519 "vte-CVE-2012-2738-pt2.patch"))))
4520 (build-system gnu-build-system)
4521 (arguments
4522 '(#:configure-flags '("--disable-python")))
4523 (native-inputs
4524 `(("pkg-config" ,pkg-config)
4525 ("intltool" ,intltool)
4526 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4527 (propagated-inputs
4528 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4529 ("ncurses" ,ncurses))))) ; required by libvte.la
4530
4531 (define-public vinagre
4532 (package
4533 (name "vinagre")
4534 (version "3.22.0")
4535 (source (origin
4536 (method url-fetch)
4537 (uri (string-append "mirror://gnome/sources/" name "/"
4538 (version-major+minor version) "/"
4539 name "-" version ".tar.xz"))
4540 (patches (search-patches "vinagre-newer-freerdp.patch"
4541 "vinagre-newer-rdp-parameters.patch"))
4542 (sha256
4543 (base32
4544 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4545 (build-system glib-or-gtk-build-system)
4546 (arguments
4547 ;; Disable -Werror and such, to avoid build failures on compilation
4548 ;; warnings.
4549 '(#:configure-flags '("--enable-compile-warnings=minimum")
4550 #:phases
4551 (modify-phases %standard-phases
4552 (add-before 'install 'skip-gtk-update-icon-cache
4553 (lambda _
4554 ;; Don't create 'icon-theme.cache'
4555 (substitute* (find-files "." "^Makefile$")
4556 (("gtk-update-icon-cache") (which "true")))
4557 #t))
4558 (add-after 'unpack 'patch-configure
4559 (lambda _
4560 (substitute* "configure"
4561 (("freerdp") "freerdp2"))
4562 #t)))))
4563 (native-inputs
4564 `(("pkg-config" ,pkg-config)
4565 ("intltool" ,intltool)
4566 ("itstool" ,itstool)
4567 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4568 (inputs
4569 `(("libxml2" ,libxml2)
4570 ("gtk-vnc" ,gtk-vnc)
4571 ("gnome-keyring" ,gnome-keyring)
4572 ("libsecret" ,libsecret)
4573 ("freerdp" ,freerdp)
4574 ("spice" ,spice)
4575 ("spice-gtk" ,spice-gtk)
4576 ("telepathy-glib" ,telepathy-glib)
4577 ("vte" ,vte)))
4578 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4579 (synopsis "Remote desktop viewer for GNOME")
4580 (description "Vinagre is a remote display client supporting the VNC, SPICE
4581 and RDP protocols.")
4582 (license license:gpl3+)))
4583
4584 (define-public dconf
4585 (package
4586 (name "dconf")
4587 (version "0.36.0")
4588 (source (origin
4589 (method url-fetch)
4590 (uri (string-append
4591 "mirror://gnome/sources/" name "/"
4592 (version-major+minor version) "/"
4593 name "-" version ".tar.xz"))
4594 (sha256
4595 (base32
4596 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4597 (build-system meson-build-system)
4598 (propagated-inputs
4599 ;; In Requires of dconf.pc.
4600 `(("glib" ,glib)))
4601 (inputs
4602 `(("gtk+" ,gtk+)
4603 ("dbus" ,dbus)))
4604 (native-inputs
4605 `(("bash-completion" ,bash-completion)
4606 ("libxslt" ,libxslt) ;for xsltproc
4607 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4608 ("docbook-xml" ,docbook-xml-4.2)
4609 ("docbook-xsl" ,docbook-xsl)
4610 ("glib:bin" ,glib "bin")
4611 ("gtk-doc" ,gtk-doc/stable)
4612 ("pkg-config" ,pkg-config)
4613 ("vala" ,vala)))
4614 (arguments
4615 `(#:glib-or-gtk? #t
4616 #:configure-flags '("-Denable-gtk-doc=true")
4617 #:phases (modify-phases %standard-phases
4618 (add-after 'unpack 'increase-test-timeout
4619 (lambda _
4620 ;; On big-memory systems, the engine test may take
4621 ;; much longer than the default of 30 seconds.
4622 (substitute* "tests/meson.build"
4623 (("test\\(unit_test\\[0\\], exe" all)
4624 (string-append all ", timeout : 90")))
4625 #t)))))
4626 (home-page "https://developer.gnome.org/dconf/")
4627 (synopsis "Low-level GNOME configuration system")
4628 (description "Dconf is a low-level configuration system. Its main purpose
4629 is to provide a backend to GSettings on platforms that don't already have
4630 configuration storage systems.")
4631 (license license:lgpl2.1+)))
4632
4633 (define-public json-glib
4634 (package
4635 (name "json-glib")
4636 (version "1.4.4")
4637 (source (origin
4638 (method url-fetch)
4639 (uri (string-append "mirror://gnome/sources/" name "/"
4640 (version-major+minor version) "/"
4641 name "-" version ".tar.xz"))
4642 (sha256
4643 (base32
4644 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4645 (build-system meson-build-system)
4646 (native-inputs
4647 `(("gettext" ,gettext-minimal)
4648 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4649 ("gobject-introspection" ,gobject-introspection)
4650 ("pkg-config" ,pkg-config)))
4651 (propagated-inputs
4652 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4653 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4654 (synopsis "Compiler for the GObject type system")
4655 (description
4656 "JSON-GLib is a C library based on GLib providing serialization and
4657 deserialization support for the JavaScript Object Notation (JSON) format
4658 described by RFC 4627. It provides parser and generator GObject classes and
4659 various wrappers for the complex data types employed by JSON, such as arrays
4660 and objects.")
4661 (license license:lgpl2.1+)))
4662
4663 (define-public libxklavier
4664 (package
4665 (name "libxklavier")
4666 (version "5.4")
4667 (source (origin
4668 ;; Note: There's no tarball at ftp.gnome.org for this version.
4669 (method git-fetch)
4670 (uri (git-reference
4671 (url "https://anongit.freedesktop.org/git/libxklavier")
4672 (commit (string-append "libxklavier-" version))))
4673 (sha256
4674 (base32
4675 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4676 (file-name (git-file-name name version))))
4677 (build-system gnu-build-system)
4678 (arguments
4679 '(#:configure-flags
4680 (list (string-append "--with-xkb-base="
4681 (assoc-ref %build-inputs "xkeyboard-config")
4682 "/share/X11/xkb")
4683 "--disable-xmodmap-support")))
4684 (native-inputs
4685 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4686 ("gobject-introspection" ,gobject-introspection)
4687 ("pkg-config" ,pkg-config)
4688 ("gtk-doc" ,gtk-doc/stable)
4689 ("intltool" ,intltool)
4690 ("which" ,which)
4691 ("autoconf" ,autoconf)
4692 ("automake" ,automake)
4693 ("libtool" ,libtool)))
4694 (propagated-inputs
4695 ;; Required by libxklavier.pc.
4696 `(("glib" ,glib)
4697 ("libxml2" ,libxml2)))
4698 (inputs
4699 `(("iso-codes" ,iso-codes)
4700 ("libxi" ,libxi)
4701 ("libxkbfile" ,libxkbfile)
4702 ("xkbcomp" ,xkbcomp)
4703 ("xkeyboard-config" ,xkeyboard-config)))
4704 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4705 (synopsis "High-level API for X Keyboard Extension")
4706 (description
4707 "LibXklavier is a library providing high-level API for X Keyboard
4708 Extension known as XKB. This library is intended to support XFree86 and other
4709 commercial X servers. It is useful for creating XKB-related software (layout
4710 indicators etc).")
4711 (license license:lgpl2.0+)))
4712
4713 (define-public python2-rsvg
4714 ;; XXX: This is actually a subset of gnome-python-desktop.
4715 (package
4716 (name "python2-rsvg")
4717 (version "2.32.0")
4718 (source
4719 (origin
4720 (method url-fetch)
4721 (uri (string-append
4722 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4723 version ".tar.bz2"))
4724 (sha256
4725 (base32
4726 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4727 (build-system gnu-build-system)
4728 (native-inputs
4729 `(("pkg-config" ,pkg-config)))
4730 (inputs
4731 `(("python" ,python-2)
4732 ("python2-pygtk" ,python2-pygtk)
4733 ("librsvg" ,librsvg)))
4734 (home-page "https://www.gnome.org")
4735 (synopsis "Python bindings to librsvg")
4736 (description
4737 "This package provides Python bindings to librsvg, the SVG rendering
4738 library.")
4739
4740 ;; This is the license of the rsvg bindings. The license of each module
4741 ;; of gnome-python-desktop is given in 'COPYING'.
4742 (license license:lgpl2.1+)))
4743
4744 (define-public glib-networking
4745 (package
4746 (name "glib-networking")
4747 (version "2.62.2")
4748 (source (origin
4749 (method url-fetch)
4750 (uri (string-append "mirror://gnome/sources/glib-networking/"
4751 (version-major+minor version) "/"
4752 "glib-networking-" version ".tar.xz"))
4753 (sha256
4754 (base32
4755 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4756 (build-system meson-build-system)
4757 (arguments
4758 `(#:configure-flags '("-Dlibproxy_support=false")))
4759 (native-inputs
4760 `(("pkg-config" ,pkg-config)
4761 ("intltool" ,intltool)))
4762 (inputs
4763 `(("glib" ,glib)
4764 ("gnutls" ,gnutls)
4765 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4766 (home-page "https://www.gnome.org")
4767 (synopsis "Network-related GIO modules")
4768 (description
4769 "This package contains various network related extensions for the GIO
4770 library.")
4771 (license license:lgpl2.0+)))
4772
4773 (define-public rest
4774 (package
4775 (name "rest")
4776 (version "0.8.1")
4777 (source (origin
4778 (method url-fetch)
4779 (uri (string-append "mirror://gnome/sources/rest/"
4780 (version-major+minor version) "/"
4781 name "-" version ".tar.xz"))
4782 (sha256
4783 (base32
4784 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4785 (build-system gnu-build-system)
4786 (arguments
4787 '(#:tests? #f ; tests require internet connection
4788 #:configure-flags
4789 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4790 (native-inputs
4791 `(("glib-mkenums" ,glib "bin")
4792 ("gobject-introspection" ,gobject-introspection)
4793 ("pkg-config" ,pkg-config)))
4794 (propagated-inputs
4795 ;; rest-0.7.pc refers to all these.
4796 `(("glib" ,glib)
4797 ("libsoup" ,libsoup)
4798 ("libxml2" ,libxml2)))
4799 (home-page "https://www.gtk.org/")
4800 (synopsis "RESTful web api query library")
4801 (description
4802 "This library was designed to make it easier to access web services that
4803 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4804 libxml to ease remote use of the RESTful API.")
4805 (license license:lgpl2.1+)))
4806
4807 (define-public libsoup
4808 (package
4809 (name "libsoup")
4810 (version "2.72.0")
4811 (source (origin
4812 (method url-fetch)
4813 (uri (string-append "mirror://gnome/sources/libsoup/"
4814 (version-major+minor version) "/"
4815 "libsoup-" version ".tar.xz"))
4816 (sha256
4817 (base32
4818 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4819 (build-system meson-build-system)
4820 (outputs '("out" "doc"))
4821 (arguments
4822 `(#:modules ((guix build utils)
4823 (guix build meson-build-system)
4824 (ice-9 popen))
4825
4826 #:configure-flags '("-Dgtk_doc=true")
4827 #:phases
4828 (modify-phases %standard-phases
4829 (add-after 'unpack 'patch-docbook-xml
4830 (lambda* (#:key inputs #:allow-other-keys)
4831 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4832 "/xml/dtd/docbook")))
4833 (substitute* (find-files "docs/reference")
4834 (("http://.*/docbookx\\.dtd")
4835 (string-append xmldoc "/docbookx.dtd")))
4836 #t)))
4837 (add-after 'unpack 'adjust-tests
4838 (lambda _
4839 ;; This test fails due to missing /etc/nsswitch.conf
4840 ;; in the build environment.
4841 (substitute* "tests/socket-test.c"
4842 ((".*/sockets/unconnected.*") ""))
4843
4844 ;; These fail because "subdomain.localhost" does not resolve in
4845 ;; the build environment.
4846 (substitute* "tests/hsts-test.c"
4847 ((".*/hsts/basic.*") "")
4848 ((".*/hsts/subdomains.*") "")
4849 ((".*/hsts/superdomain.*") "")
4850 ((".*/hsts/utf8-address.*") ""))
4851 (substitute* "tests/hsts-db-test.c"
4852 ((".*/hsts-db/subdomains.*") ""))
4853
4854 ;; Generate a self-signed certificate that has "localhost" as its
4855 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4856 ;; 3.5.12, tests such as "ssl-tests" fail:
4857 ;;
4858 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4859 ;;
4860 ;; 'certtool' is interactive so we have to pipe it the answers.
4861 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4862 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4863 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4864 (for-each (lambda (line)
4865 (display line pipe)
4866 (newline pipe))
4867 '("" ;Common name
4868 "" ;UID
4869 "Guix" ;Organizational unit name
4870 "GNU" ;Organization name
4871 "" ;Locality name
4872 "" ;State or province
4873 "" ;Country
4874 "" ;subject's domain component (DC)
4875 "" ;E-mail
4876 "" ;serial number
4877 "-1" ;expiration time
4878 "N" ;belong to authority?
4879 "N" ;web client certificate?
4880 "N" ;IPsec IKE?
4881 "Y" ;web server certificate?
4882 "localhost" ;dnsName of subject
4883 "" ;dnsName of subject (end)
4884 "" ;URI of subject
4885 "127.0.0.1" ;IP address of subject
4886 "" ;signing?
4887 "" ;encryption (RSA)?
4888 "" ;data encryption?
4889 "" ;sign OCSP requests?
4890 "" ;sign code?
4891 "" ;time stamping?
4892 "" ;email protection?
4893 "" ;URI of the CRL distribution point
4894 "y" ;above info OK?
4895 ))
4896 (close-pipe pipe))
4897 #t))
4898 (add-after 'install 'move-doc
4899 (lambda* (#:key outputs #:allow-other-keys)
4900 (let ((out (assoc-ref outputs "out"))
4901 (doc (assoc-ref outputs "doc")))
4902 (mkdir-p (string-append doc "/share"))
4903 (copy-recursively (string-append out "/share/gtk-doc")
4904 (string-append doc "/share/gtk-doc"))
4905 (delete-file-recursively (string-append out "/share/gtk-doc"))
4906 #t))))))
4907 (native-inputs
4908 `(("docbook-xml" ,docbook-xml-4.1.2)
4909 ("glib:bin" ,glib "bin") ; for glib-mkenums
4910 ("gobject-introspection" ,gobject-introspection)
4911 ("gtk-doc" ,gtk-doc/stable)
4912 ("intltool" ,intltool)
4913 ("pkg-config" ,pkg-config)
4914 ("python" ,python-wrapper)
4915 ("vala" ,vala)
4916 ("php" ,php)
4917 ("curl" ,curl)
4918 ("gnutls" ,gnutls) ;for 'certtool'
4919 ("httpd" ,httpd)))
4920 (propagated-inputs
4921 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4922 `(("brotli" ,google-brotli)
4923 ("glib" ,glib)
4924 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4925 ("libpsl" ,libpsl)
4926 ("libxml2" ,libxml2)
4927 ("sqlite" ,sqlite)
4928 ("zlib" ,zlib)))
4929 (inputs
4930 `(("mit-krb5" ,mit-krb5)
4931 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4932 (home-page "https://wiki.gnome.org/Projects/libsoup")
4933 (synopsis "GLib-based HTTP Library")
4934 (description
4935 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4936 and the GLib main loop, to integrate well with GNOME applications.")
4937 (license license:lgpl2.0+)))
4938
4939
4940 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4941 (define-public libsoup-minimal
4942 (package/inherit libsoup
4943 (name "libsoup-minimal")
4944 (outputs (delete "doc" (package-outputs libsoup)))
4945 (arguments
4946 (substitute-keyword-arguments (package-arguments libsoup)
4947 ((#:configure-flags configure-flags)
4948 `(delete "-Dgtk_doc=true" ,configure-flags))
4949 ((#:phases phases)
4950 `(modify-phases ,phases
4951 (delete 'move-doc)))))
4952 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4953
4954 (define-public libsecret
4955 (package
4956 (name "libsecret")
4957 (version "0.20.4")
4958 (source (origin
4959 (method url-fetch)
4960 (uri (string-append
4961 "mirror://gnome/sources/libsecret/"
4962 (version-major+minor version) "/"
4963 "libsecret-" version ".tar.xz"))
4964 (sha256
4965 (base32
4966 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4967 (build-system gnu-build-system)
4968 (outputs '("out" "doc"))
4969 (arguments
4970 `(#:tests? #f ; FIXME: Testing hangs.
4971 #:configure-flags
4972 (list (string-append "--with-html-dir="
4973 (assoc-ref %outputs "doc")
4974 "/share/gtk-doc/html"))))
4975 (native-inputs
4976 `(("gettext" ,gettext-minimal)
4977 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4978 ("gobject-introspection" ,gobject-introspection)
4979 ("pkg-config" ,pkg-config)
4980 ("vala" ,vala)
4981 ("xsltproc" ,libxslt)))
4982 ;; These are needed for the tests.
4983 ;; FIXME: Add gjs once available.
4984 ;("dbus" ,dbus)
4985 ;("python2" ,python-2)
4986 ;("python2-dbus" ,python2-dbus)
4987 ;("python2-pygobject" ,python2-pygobject)
4988 ;("python2-pygobject-2" ,python2-pygobject-2)))
4989 (propagated-inputs
4990 `(("glib" ,glib))) ; required by libsecret-1.pc
4991 (inputs
4992 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4993 ;; doesn't seem to affect the build result.
4994 `(("docbook-xsl" ,docbook-xsl)
4995 ("libgcrypt" ,libgcrypt)
4996 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4997 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4998 (synopsis "GObject bindings for \"Secret Service\" API")
4999 (description
5000 "Libsecret is a GObject based library for storing and retrieving passwords
5001 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5002 (license license:lgpl2.1+)))
5003
5004 (define-public five-or-more
5005 (package
5006 (name "five-or-more")
5007 (version "3.32.2")
5008 (source
5009 (origin
5010 (method url-fetch)
5011 (uri (string-append "mirror://gnome/sources/five-or-more/"
5012 (version-major+minor version) "/"
5013 "five-or-more-" version ".tar.xz"))
5014 (sha256
5015 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5016 (build-system meson-build-system)
5017 (arguments
5018 '(#:glib-or-gtk? #t
5019 #:phases
5020 (modify-phases %standard-phases
5021 (add-after 'unpack 'skip-gtk-update-icon-cache
5022 (lambda _
5023 (substitute* "meson_post_install.py"
5024 (("gtk-update-icon-cache") (which "true")))
5025 #t)))))
5026 (native-inputs
5027 `(("pkg-config" ,pkg-config)
5028 ("appstream-glib" ,appstream-glib)
5029 ("desktop-file-utils" ,desktop-file-utils)
5030 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5031 ("intltool" ,intltool)
5032 ("itstool" ,itstool)
5033 ("vala" ,vala)
5034 ("xmllint" ,libxml2)))
5035 (inputs
5036 `(("gtk+" ,gtk+)
5037 ("libgnome-games-support" ,libgnome-games-support)
5038 ("librsvg" ,librsvg)))
5039 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5040 (synopsis "Logic puzzle game")
5041 (description "Five or More is a game where you try to align
5042 five or more objects of the same color and shape causing them to disappear.
5043 On every turn more objects will appear, until the board is full.
5044 Try to last as long as possible.")
5045 (license license:gpl2+)))
5046
5047 (define-public gnome-mines
5048 (package
5049 (name "gnome-mines")
5050 (version "3.36.1")
5051 (source
5052 (origin
5053 (method url-fetch)
5054 (uri (string-append "mirror://gnome/sources/" name "/"
5055 (version-major+minor version) "/"
5056 name "-" version ".tar.xz"))
5057 (sha256
5058 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5059 (build-system meson-build-system)
5060 (arguments
5061 '(#:glib-or-gtk? #t
5062 #:phases
5063 (modify-phases %standard-phases
5064 (add-after 'unpack 'skip-gtk-update-icon-cache
5065 (lambda _
5066 (substitute* "build-aux/meson_post_install.py"
5067 (("gtk-update-icon-cache") (which "true")))
5068 #t)))))
5069 (native-inputs
5070 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5071 ("pkg-config" ,pkg-config)
5072 ("desktop-file-utils" ,desktop-file-utils)
5073 ("intltool" ,intltool)
5074 ("itstool" ,itstool)
5075 ("vala" ,vala)
5076 ("yelp" ,yelp)
5077 ("appstream-glib" ,appstream-glib)))
5078 (inputs
5079 `(("gtk+" ,gtk+)
5080 ("libgnome-games-support" ,libgnome-games-support)
5081 ("librsvg" ,librsvg)))
5082 (home-page "https://wiki.gnome.org/Apps/Mines")
5083 (synopsis "Minesweeper game")
5084 (description
5085 "Mines (previously gnomine) is a puzzle game where you locate mines
5086 floating in an ocean using only your brain and a little bit of luck.")
5087 (license license:gpl2+)))
5088
5089 (define-public gnome-multi-writer
5090 (package
5091 (name "gnome-multi-writer")
5092 (version "3.35.90")
5093 (source
5094 (origin
5095 (method url-fetch)
5096 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5097 (version-major+minor version) "/"
5098 "gnome-multi-writer-" version ".tar.xz"))
5099 (sha256
5100 (base32
5101 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5102 (build-system meson-build-system)
5103 (arguments
5104 '(#:glib-or-gtk? #t
5105 #:phases
5106 (modify-phases %standard-phases
5107 (add-after 'unpack 'skip-post-install
5108 (lambda _
5109 (substitute* "meson.build"
5110 (("meson.add_install_script" &) (string-append "# " &)))
5111 #t)))))
5112 (native-inputs
5113 `(("glib:bin" ,glib "bin")
5114 ("pkg-config" ,pkg-config)))
5115 (inputs
5116 `(("gtk+" ,gtk+)
5117 ("glib" ,glib) ; for gio
5118 ("gusb" ,gusb)
5119 ("udisks" ,udisks)
5120 ("libgudev" ,libgudev)
5121 ("libcanberra" ,libcanberra)
5122 ("polkit" ,polkit)))
5123 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5124 (synopsis "Write to multiple USB devices at once")
5125 (description
5126 "MultiWriter can be used to write an ISO file to multiple USB devices at
5127 once.")
5128 (license license:gpl2+)))
5129
5130 (define-public gnome-sudoku
5131 (package
5132 (name "gnome-sudoku")
5133 (version "3.34.1")
5134 (source
5135 (origin
5136 (method url-fetch)
5137 (uri (string-append "mirror://gnome/sources/" name "/"
5138 (version-major+minor version) "/"
5139 name "-" version ".tar.xz"))
5140 (sha256
5141 (base32
5142 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5143 (build-system meson-build-system)
5144 (arguments
5145 '(#:glib-or-gtk? #t
5146 #:phases
5147 (modify-phases %standard-phases
5148 (add-after 'unpack 'skip-gtk-update-icon-cache
5149 (lambda _
5150 (substitute* "build-aux/post_install.py"
5151 (("gtk-update-icon-cache") (which "true")))
5152 #t)))))
5153 (native-inputs
5154 `(("pkg-config" ,pkg-config)
5155 ("desktop-file-utils" ,desktop-file-utils)
5156 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5157 ("intltool" ,intltool)
5158 ("itstool" ,itstool)
5159 ("vala" ,vala)
5160 ("xmllint" ,libxml2)))
5161 (inputs
5162 `(("gtk+" ,gtk+)
5163 ("json-glib" ,json-glib)
5164 ("libgee" ,libgee)
5165 ("librsvg" ,librsvg)
5166 ("qqwing" ,qqwing)))
5167 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5168 (synopsis "Japanese logic game")
5169 (description
5170 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5171 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5172 possible while still providing features that make playing difficult Sudoku
5173 more fun.")
5174 (license license:gpl2+)))
5175
5176 (define-public gnome-terminal
5177 (package
5178 (name "gnome-terminal")
5179 (version "3.34.2")
5180 (source
5181 (origin
5182 (method url-fetch)
5183 (uri (string-append "mirror://gnome/sources/" name "/"
5184 (version-major+minor version) "/"
5185 name "-" version ".tar.xz"))
5186 (sha256
5187 (base32
5188 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5189 (build-system glib-or-gtk-build-system)
5190 (arguments
5191 '(#:configure-flags
5192 (list "--disable-migration" "--disable-search-provider"
5193 "--without-nautilus-extension")
5194 #:phases
5195 (modify-phases %standard-phases
5196 (add-before 'configure 'patch-/bin/true
5197 (lambda _
5198 (substitute* "configure"
5199 (("/bin/true") (which "true"))))))))
5200 (native-inputs
5201 `(("pkg-config" ,pkg-config)
5202 ("desktop-file-utils" ,desktop-file-utils)
5203 ("intltool" ,intltool)
5204 ("itstool" ,itstool)
5205 ("xmllint" ,libxml2)))
5206 (propagated-inputs
5207 `(("dconf" ,dconf)))
5208 (inputs
5209 `(("gtk+" ,gtk+)
5210 ("vte" ,vte)
5211 ("gnutls" ,gnutls)
5212 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5213 ("util-linux" ,util-linux "lib")
5214 ("vala" ,vala)))
5215 (home-page "https://wiki.gnome.org/Apps/Terminal")
5216 (synopsis "Terminal emulator")
5217 (description
5218 "GNOME Terminal is a terminal emulator application for accessing a
5219 UNIX shell environment which can be used to run programs available on
5220 your system.
5221
5222 It supports several profiles, multiple tabs and implements several
5223 keyboard shortcuts.")
5224 (license license:gpl3+)))
5225
5226 (define-public colord
5227 (package
5228 (name "colord")
5229 (version "1.4.5")
5230 (source
5231 (origin
5232 (method url-fetch)
5233 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5234 "colord-" version ".tar.xz"))
5235 (sha256
5236 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5237 (build-system meson-build-system)
5238 (arguments
5239 '(;; FIXME: One test fails:
5240 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5241 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5242 ;; application/x-zerosize
5243 #:tests? #f
5244 #:glib-or-gtk? #t
5245 #:configure-flags (list "-Dlocalstatedir=/var"
5246 ;; No dep on systemd.
5247 "-Dsystemd=false"
5248 ;; Wants to install to global completion dir;
5249 ;; punt.
5250 "-Dbash_completion=false"
5251 "-Ddaemon_user=colord"
5252 "-Dsane=true"
5253 "-Dvapi=true"
5254 ;; Requires spotread.
5255 "-Dargyllcms_sensor=false"
5256 ;; TODO: Requires docbook2x.
5257 "-Dman=false")
5258 #:phases
5259 (modify-phases %standard-phases
5260 (add-before 'configure 'patch-build-system
5261 (lambda* (#:key outputs #:allow-other-keys)
5262 (substitute* "rules/meson.build"
5263 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5264 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5265 #t))
5266 (add-before 'configure 'set-sqlite3-file-name
5267 (lambda* (#:key inputs #:allow-other-keys)
5268 ;; "colormgr dump" works by invoking the "sqlite3" command.
5269 ;; Record its absolute file name.
5270 (let ((sqlite (assoc-ref inputs "sqlite")))
5271 (substitute* "client/cd-util.c"
5272 (("\"sqlite3\"")
5273 (string-append "\"" sqlite "/bin/sqlite3\"")))
5274 #t))))))
5275 (native-inputs
5276 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5277 ("gettext" ,gettext-minimal)
5278 ("gobject-introspection" ,gobject-introspection)
5279 ("gtk-doc" ,gtk-doc/stable)
5280 ("pkg-config" ,pkg-config)
5281 ("vala" ,vala)))
5282 (propagated-inputs
5283 ;; colord.pc refers to all these.
5284 `(("glib" ,glib)
5285 ("lcms" ,lcms)
5286 ("udev" ,eudev)))
5287 (inputs
5288 `(("dbus-glib" ,dbus-glib)
5289 ("gusb" ,gusb)
5290 ("libgudev" ,libgudev)
5291 ("libusb" ,libusb)
5292 ("polkit" ,polkit)
5293 ("python" ,python-wrapper)
5294 ("sqlite" ,sqlite)
5295 ("sane-backends" ,sane-backends)))
5296 (home-page "https://www.freedesktop.org/software/colord/")
5297 (synopsis "Color management service")
5298 (description "Colord is a system service that makes it easy to manage,
5299 install and generate color profiles to accurately color manage input and
5300 output devices.")
5301 (license license:gpl2+)))
5302
5303 (define-public geoclue
5304 (package
5305 (name "geoclue")
5306 (version "2.5.7")
5307 (source
5308 (origin
5309 (method url-fetch)
5310 (uri
5311 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5312 version "/geoclue-" version ".tar.bz2"))
5313 (sha256
5314 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5315 (patches (search-patches "geoclue-config.patch"))))
5316 (build-system meson-build-system)
5317 (arguments
5318 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5319 (native-inputs
5320 `(("pkg-config" ,pkg-config)
5321 ("gobject-introspection" ,gobject-introspection)
5322 ("modem-manager" ,modem-manager)
5323 ("libnotify" ,libnotify)
5324 ("gtk-doc" ,gtk-doc/stable)
5325 ("intltool" ,intltool)))
5326 (inputs
5327 `(("avahi" ,avahi)
5328 ("glib:bin" ,glib "bin")
5329 ("glib-networking" ,glib-networking)
5330 ("json-glib" ,json-glib)
5331 ("libsoup" ,libsoup)))
5332 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5333 (synopsis "Geolocation service")
5334 (description "Geoclue is a D-Bus service that provides location
5335 information. The primary goal of the Geoclue project is to make creating
5336 location-aware applications as simple as possible, while the secondary goal is
5337 to ensure that no application can access location information without explicit
5338 permission from user.")
5339 (license license:gpl2+)))
5340
5341 (define-public geocode-glib
5342 (package
5343 (name "geocode-glib")
5344 (version "3.26.2")
5345 (source (origin
5346 (method url-fetch)
5347 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5348 (version-major+minor version) "/"
5349 "geocode-glib-" version ".tar.xz"))
5350 (sha256
5351 (base32
5352 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5353 (build-system meson-build-system)
5354 (arguments
5355 `(#:phases
5356 (modify-phases %standard-phases
5357 ;; The tests require a bunch of locales.
5358 (add-before 'check 'set-locales
5359 (lambda* (#:key inputs #:allow-other-keys)
5360 (setenv "GUIX_LOCPATH"
5361 (string-append (assoc-ref inputs "glibc-locales")
5362 "/lib/locale"))
5363 #t)))))
5364 (native-inputs
5365 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5366 ("glibc-locales" ,glibc-locales) ; for tests
5367 ("gettext" ,gettext-minimal)
5368 ("gobject-introspection" ,gobject-introspection)
5369 ("gtk-doc" ,gtk-doc/stable)
5370 ("pkg-config" ,pkg-config)
5371 ("json-glib" ,json-glib)))
5372 (propagated-inputs
5373 ;; geocode-glib-1.0.pc refers to GIO.
5374 `(("glib" ,glib)))
5375 (inputs
5376 `(("libsoup" ,libsoup)))
5377 (home-page "https://github.com/GNOME/geocode-glib/")
5378 (synopsis "Geocoding and reverse-geocoding library")
5379 (description
5380 "geocode-glib is a convenience library for geocoding (finding longitude,
5381 and latitude from an address) and reverse geocoding (finding an address from
5382 coordinates) using the Nominatim service. geocode-glib caches requests for
5383 faster results and to avoid unnecessary server load.")
5384 (license license:lgpl2.0+)))
5385
5386 (define-public upower
5387 (package
5388 (name "upower")
5389 (version "0.99.11")
5390 (source (origin
5391 (method url-fetch)
5392 (uri (string-append "https://upower.freedesktop.org/releases/"
5393 "upower-" version ".tar.xz"))
5394 (sha256
5395 (base32
5396 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5397 (patches (search-patches "upower-builddir.patch"))
5398 (modules '((guix build utils)))
5399 (snippet
5400 '(begin
5401 ;; Upstream commit
5402 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5403 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5404 ;; 'dbus-configuration-directory' in (gnu services dbus)
5405 ;; expects it in etc/. Thus, move it back to its previous
5406 ;; location.
5407 (substitute* "src/Makefile.in"
5408 (("^dbusconfdir =.*$")
5409 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5410 #t))))
5411 (build-system glib-or-gtk-build-system)
5412 (arguments
5413 '(#:phases
5414 (modify-phases %standard-phases
5415 (add-before 'check 'pre-check
5416 (lambda* (#:key inputs #:allow-other-keys)
5417 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5418 "/lib")))
5419 (setenv "LD_LIBRARY_PATH" umockdev))
5420 #t)))
5421 #:configure-flags (list "--localstatedir=/var"
5422 (string-append "--with-udevrulesdir="
5423 (assoc-ref %outputs "out")
5424 "/lib/udev/rules.d"))))
5425 (native-inputs
5426 `(("gobject-introspection" ,gobject-introspection)
5427 ("pkg-config" ,pkg-config)
5428 ("intltool" ,intltool)
5429 ("python" ,python)
5430
5431 ;; For tests.
5432 ("python-dbus" ,python-dbus)
5433 ("python-dbusmock" ,python-dbusmock)
5434 ("python-pygobject" ,python-pygobject)
5435 ("umockdev" ,umockdev)
5436
5437 ;; For man pages.
5438 ("libxslt" ,libxslt) ;for 'xsltproc'
5439 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5440 ("docbook-xsl" ,docbook-xsl)))
5441 (inputs
5442 `(("dbus-glib" ,dbus-glib)
5443 ("libgudev" ,libgudev)
5444 ("libusb" ,libusb)))
5445 (propagated-inputs
5446 ;; In Requires of upower-glib.pc.
5447 `(("glib" ,glib)))
5448 (home-page "https://upower.freedesktop.org/")
5449 (synopsis "System daemon for managing power devices")
5450 (description
5451 "UPower is an abstraction for enumerating power devices,
5452 listening to device events and querying history and statistics. Any
5453 application or service on the system can access the org.freedesktop.UPower
5454 service via the system message bus.")
5455 (license license:gpl2+)))
5456
5457 (define-public libgweather
5458 (package
5459 (name "libgweather")
5460 (version "3.34.0")
5461 (source (origin
5462 (method url-fetch)
5463 (uri (string-append "mirror://gnome/sources/" name "/"
5464 (version-major+minor version) "/"
5465 name "-" version ".tar.xz"))
5466 (sha256
5467 (base32
5468 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5469 (build-system meson-build-system)
5470 (arguments
5471 `(#:tests? #f ; one of two tests requires network access
5472 #:configure-flags
5473 `(,(string-append "-Dzoneinfo_dir="
5474 (assoc-ref %build-inputs "tzdata")
5475 "/share/zoneinfo"))))
5476 (native-inputs
5477 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5478 ("gobject-introspection" ,gobject-introspection)
5479 ("pkg-config" ,pkg-config)
5480 ("vala" ,vala)
5481 ("intltool" ,intltool)))
5482 (propagated-inputs
5483 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5484 ;; libsoup.
5485 `(("gtk+" ,gtk+)
5486 ("gdk-pixbuf" ,gdk-pixbuf)
5487 ("libxml2" ,libxml2)
5488 ("libsoup" ,libsoup)
5489 ("geocode-glib" ,geocode-glib)))
5490 (inputs
5491 `(("tzdata" ,tzdata)))
5492 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5493 (synopsis "Location, time zone, and weather library for GNOME")
5494 (description
5495 "libgweather is a library to access weather information from online
5496 services for numerous locations.")
5497 (license license:gpl2+)))
5498
5499 (define-public gnome-settings-daemon
5500 (package
5501 (name "gnome-settings-daemon")
5502 (version "3.34.1")
5503 (source
5504 (origin
5505 (method url-fetch)
5506 (uri (string-append "mirror://gnome/sources/" name "/"
5507 (version-major+minor version) "/"
5508 name "-" version ".tar.xz"))
5509 (sha256
5510 (base32
5511 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5512 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5513 (build-system meson-build-system)
5514 (arguments
5515 `(#:glib-or-gtk? #t
5516 #:configure-flags
5517 (list (string-append "-Dudev_dir="
5518 (assoc-ref %outputs "out")
5519 "/lib/udev/rules.d/")
5520 "-Dsystemd=false"
5521 ;; Otherwise, the RUNPATH will lack the final path component.
5522 (string-append "-Dc_link_args=-Wl,-rpath="
5523 (assoc-ref %outputs "out")
5524 "/lib/gnome-settings-daemon-3.0"))
5525
5526 #:phases (modify-phases %standard-phases
5527 (add-before 'configure 'set-baobab-file-name
5528 (lambda* (#:key inputs #:allow-other-keys)
5529 ;; Hard-code the file name of Baobab instead of looking
5530 ;; it up in $PATH. This ensures users get the "Examine"
5531 ;; button in the low disk space notification of GDM even
5532 ;; if they don't have GNOME in their main profile.
5533 (let ((baobab (assoc-ref inputs "baobab")))
5534 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5535 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5536 (string-append "g_strdup (\"" baobab
5537 "/bin/baobab\")")))
5538 #t))))
5539
5540 ;; Color management test can't reach the colord system service.
5541 #:tests? #f))
5542 (native-inputs
5543 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5544 ("pkg-config" ,pkg-config)
5545 ("intltool" ,intltool)
5546 ("xsltproc" ,libxslt)
5547 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5548 ("docbook-xml" ,docbook-xml-4.2)
5549 ("docbook-xsl" ,docbook-xsl)))
5550 (inputs
5551 `(("alsa-lib" ,alsa-lib)
5552 ("baobab" ,baobab)
5553 ("colord" ,colord)
5554 ("libgudev" ,libgudev)
5555 ("upower" ,upower)
5556 ("polkit" ,polkit)
5557 ("pulseaudio" ,pulseaudio)
5558 ("libcanberra" ,libcanberra)
5559 ("libx11" ,libx11)
5560 ("libxtst" ,libxtst)
5561 ("lcms" ,lcms)
5562 ("libnotify" ,libnotify)
5563 ("geoclue" ,geoclue)
5564 ("geocode-glib" ,geocode-glib)
5565 ("libgweather" ,libgweather)
5566 ("gnome-desktop" ,gnome-desktop)
5567 ("nss" ,nss)
5568 ("cups" ,cups)
5569 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5570 ("libwacom" ,libwacom)
5571 ("librsvg" ,librsvg)
5572 ("xf86-input-wacom" ,xf86-input-wacom)
5573 ("wayland" ,wayland)
5574 ("network-manager" ,network-manager)
5575 ("gcr" ,gcr)
5576 ("modem-manager" ,modem-manager)))
5577 (home-page "https://www.gnome.org")
5578 (synopsis "GNOME settings daemon")
5579 (description
5580 "This package contains the daemon responsible for setting the various
5581 parameters of a GNOME session and the applications that run under it. It
5582 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5583 settings, themes, mouse settings, and startup of other daemons.")
5584 (license license:gpl2+)))
5585
5586 (define-public totem-pl-parser
5587 (package
5588 (name "totem-pl-parser")
5589 (version "3.26.5")
5590 (source (origin
5591 (method url-fetch)
5592 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5593 (version-major+minor version) "/"
5594 "totem-pl-parser-" version ".tar.xz"))
5595 (sha256
5596 (base32
5597 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5598 (build-system meson-build-system)
5599 (arguments
5600 ;; FIXME: Tests require gvfs.
5601 `(#:tests? #f))
5602 (native-inputs
5603 `(("intltool" ,intltool)
5604 ("glib" ,glib "bin")
5605 ("gobject-introspection" ,gobject-introspection)
5606 ("pkg-config" ,pkg-config)))
5607 (propagated-inputs
5608 `(("glib" ,glib)
5609 ("gmime" ,gmime)
5610 ("libarchive" ,libarchive)
5611 ("libgcrypt" ,libgcrypt)
5612 ("libxml2" ,libxml2)))
5613 (inputs
5614 `(("libsoup" ,libsoup)))
5615 (home-page "https://projects.gnome.org/totem")
5616 (synopsis "Library to parse and save media playlists for GNOME")
5617 (description "Totem-pl-parser is a GObjects-based library to parse and save
5618 playlists in a variety of formats.")
5619 (license license:lgpl2.0+)))
5620
5621 (define-public aisleriot
5622 (package
5623 (name "aisleriot")
5624 (version "3.22.9")
5625 (source (origin
5626 (method url-fetch)
5627 (uri (string-append "mirror://gnome/sources/aisleriot/"
5628 (version-major+minor version) "/"
5629 "aisleriot-" version ".tar.xz"))
5630 (sha256
5631 (base32
5632 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5633 (build-system glib-or-gtk-build-system)
5634 (arguments
5635 '(#:configure-flags
5636 '("--with-platform=gtk-only"
5637 "--with-card-theme-formats=svg")))
5638 (native-inputs
5639 `(("desktop-file-utils" ,desktop-file-utils)
5640 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5641 ("intltool" ,intltool)
5642 ("itstool" ,itstool)
5643 ("pkg-config" ,pkg-config)
5644 ("xmllint" ,libxml2)))
5645 (inputs
5646 `(("gtk+" ,gtk+)
5647 ("guile" ,guile-2.2)
5648 ("libcanberra" ,libcanberra)
5649 ("librsvg" ,librsvg)))
5650 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5651 (synopsis "Solitaire card games")
5652 (description
5653 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5654 which are easy to play with the aid of a mouse.")
5655 (license license:gpl3+)))
5656
5657 (define-public amtk
5658 (package
5659 (name "amtk")
5660 (version "5.0.2")
5661 (source (origin
5662 (method url-fetch)
5663 (uri (string-append "mirror://gnome/sources/amtk/"
5664 (version-major+minor version) "/"
5665 "amtk-" version ".tar.xz"))
5666 (sha256
5667 (base32
5668 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5669 (build-system gnu-build-system)
5670 (arguments
5671 '(#:configure-flags '("--enable-gtk-doc")))
5672 (native-inputs
5673 `(("gobject-introspection" ,gobject-introspection)
5674 ("glib:bin" ,glib "bin") ; for glib-mkenums
5675 ("gtk-doc" ,gtk-doc/stable)
5676 ("pkg-config" ,pkg-config)))
5677 (inputs
5678 `(("glib" ,glib)
5679 ("gtk+" ,gtk+)))
5680 (home-page "https://wiki.gnome.org/Projects/Amtk")
5681 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5682 (description
5683 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5684 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5685 both a traditional UI or a modern UI with a GtkHeaderBar.")
5686 (license license:lgpl2.1+)))
5687
5688 (define-public devhelp
5689 (package
5690 (name "devhelp")
5691 (version "3.34.0")
5692 (source (origin
5693 (method url-fetch)
5694 (uri (string-append "mirror://gnome/sources/" name "/"
5695 (version-major+minor version) "/"
5696 name "-" version ".tar.xz"))
5697 (sha256
5698 (base32
5699 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5700 (build-system meson-build-system)
5701 (arguments
5702 '(#:glib-or-gtk? #t
5703 #:phases
5704 (modify-phases %standard-phases
5705 (add-after 'unpack 'skip-gtk-update-icon-cache
5706 ;; Don't create 'icon-theme.cache'.
5707 (lambda _
5708 (substitute* "meson_post_install.py"
5709 (("gtk-update-icon-cache") "true"))
5710 #t)))))
5711 (native-inputs
5712 `(("intltool" ,intltool)
5713 ("itstool" ,itstool)
5714 ("gobject-introspection" ,gobject-introspection)
5715 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5716 ("pkg-config" ,pkg-config)))
5717 (inputs
5718 `(("amtk" ,amtk)
5719 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5720 ("webkitgtk" ,webkitgtk)))
5721 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5722 (synopsis "API documentation browser for GNOME")
5723 (description
5724 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5725 natively with GTK-Doc (the API reference system developed for GTK+ and used
5726 throughout GNOME for API documentation).")
5727 (license license:gpl2+)))
5728
5729 (define-public cogl
5730 (package
5731 (name "cogl")
5732 (version "1.22.8")
5733 (source
5734 (origin
5735 (method url-fetch)
5736 (uri (string-append "mirror://gnome/sources/cogl/"
5737 (version-major+minor version) "/"
5738 "cogl-" version ".tar.xz"))
5739 (sha256
5740 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5741 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5742 ;; cogl, corresponding changes may be appropriate in mutter as well.
5743 (build-system gnu-build-system)
5744 (native-inputs
5745 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5746 ("gobject-introspection" ,gobject-introspection)
5747 ("xorg-server" ,xorg-server-for-tests)
5748 ("pkg-config" ,pkg-config)))
5749 (propagated-inputs
5750 `(("glib" ,glib)
5751 ("gdk-pixbuf" ,gdk-pixbuf)
5752 ("libx11" ,libx11)
5753 ("libxext" ,libxext)
5754 ("libxfixes" ,libxfixes)
5755 ("libxdamage" ,libxdamage)
5756 ("libxcomposite" ,libxcomposite)
5757 ("libxrandr" ,libxrandr)))
5758 (inputs
5759 `(("mesa" ,mesa)
5760 ("cairo" ,cairo)
5761 ("pango" ,pango)
5762 ("gstreamer" ,gstreamer)
5763 ("gst-plugins-base" ,gst-plugins-base)
5764 ("wayland" ,wayland)))
5765 (arguments
5766 `(#:disallowed-references (,xorg-server-for-tests)
5767 #:configure-flags (list "--enable-cogl-gst"
5768 "--enable-wayland-egl-platform"
5769 "--enable-wayland-egl-server"
5770
5771 ;; Arrange to pass an absolute file name to
5772 ;; dlopen for libGL.so.
5773 (string-append "--with-gl-libname="
5774 (assoc-ref %build-inputs "mesa")
5775 "/lib/libGL.so"))
5776 #:phases
5777 (modify-phases %standard-phases
5778 (add-after 'unpack 'fix-build-with-mesa-20
5779 (lambda _
5780 ;; Work around a problem with Mesa 20 where some macros used by
5781 ;; Cogl went missing from eglext.h. This can likely be removed
5782 ;; for newer versions of Cogl or Mesa.
5783 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5784 (substitute* '("configure"
5785 "cogl/winsys/cogl-winsys-egl-kms.c")
5786 (("#include <EGL/eglext.h>" all)
5787 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5788 #t))
5789 (add-before 'check 'start-xorg-server
5790 (lambda* (#:key tests? inputs #:allow-other-keys)
5791 (if tests?
5792 (begin
5793 ;; The test suite requires a running X server.
5794 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5795 (assoc-ref inputs "xorg-server")))
5796 (setenv "DISPLAY" ":1")
5797 #t)
5798 (format #t "test suite not run~%"))
5799 #t)))))
5800 (home-page "https://www.cogl3d.org")
5801 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5802 (description
5803 "Cogl is a small library for using 3D graphics hardware to draw pretty
5804 pictures. The API departs from the flat state machine style of OpenGL and is
5805 designed to make it easy to write orthogonal components that can render
5806 without stepping on each others toes.")
5807 (license (list license:expat ; most of the code
5808 license:bsd-3 ; cogl/cogl-point-in-poly.c
5809 license:sgifreeb2.0 ; cogl-path/tesselator/
5810 license:asl2.0)))) ; examples/android/
5811
5812 (define-public clutter
5813 (package
5814 (name "clutter")
5815 (version "1.26.2")
5816 (source
5817 (origin
5818 (method url-fetch)
5819 (uri (string-append "mirror://gnome/sources/" name "/"
5820 (version-major+minor version) "/"
5821 name "-" version ".tar.xz"))
5822 (sha256
5823 (base32
5824 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5825 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5826 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5827 (build-system gnu-build-system)
5828 (outputs '("out"
5829 "doc")) ;9 MiB of gtk-doc HTML pages
5830 (native-inputs
5831 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5832 ("gobject-introspection" ,gobject-introspection)
5833 ("pkg-config" ,pkg-config)
5834 ("xsltproc" ,libxslt)))
5835 (propagated-inputs
5836 `(("cogl" ,cogl)
5837 ("cairo" ,cairo)
5838 ("atk" ,atk)
5839 ("gtk+" ,gtk+)
5840 ("json-glib" ,json-glib)
5841 ("glib" ,glib)
5842 ("libxcomposite" ,libxcomposite)
5843 ("libxdamage" ,libxdamage)
5844 ("libxext" ,libxext)
5845 ("xinput" ,xinput)))
5846 (inputs
5847 `(("libxkbcommon" ,libxkbcommon)
5848 ("udev" ,eudev)))
5849 (arguments
5850 `(#:configure-flags (list "--enable-x11-backend=yes"
5851
5852 ;; This produces share/doc/{clutter,cally}.
5853 (string-append "--with-html-dir="
5854 (assoc-ref %outputs "doc")
5855 "/share/doc"))
5856 ;; XXX FIXME: Get test suite working. It would probably fail in the
5857 ;; same way the cogl tests fail, since clutter is based on cogl.
5858 #:tests? #f))
5859 (home-page "http://www.clutter-project.org")
5860 (synopsis "OpenGL-based interactive canvas library")
5861 (description
5862 "Clutter is an OpenGL-based interactive canvas library, designed for
5863 creating fast, mainly 2D single window applications such as media box UIs,
5864 presentations, kiosk style applications and so on.")
5865 (license license:lgpl2.0+)))
5866
5867 (define-public clutter-gtk
5868 (package
5869 (name "clutter-gtk")
5870 (version "1.8.4")
5871 (source
5872 (origin
5873 (method url-fetch)
5874 (uri (string-append "mirror://gnome/sources/" name "/"
5875 (version-major+minor version) "/"
5876 name "-" version ".tar.xz"))
5877 (sha256
5878 (base32
5879 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5880 (build-system gnu-build-system)
5881 (native-inputs
5882 `(("pkg-config" ,pkg-config)
5883 ("gobject-introspection" ,gobject-introspection)))
5884 (propagated-inputs
5885 ;; clutter-gtk.pc refers to all these.
5886 `(("clutter" ,clutter)
5887 ("gtk+" ,gtk+)))
5888 (home-page "http://www.clutter-project.org")
5889 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5890 (description
5891 "Clutter is an OpenGL-based interactive canvas library, designed for
5892 creating fast, mainly 2D single window applications such as media box UIs,
5893 presentations, kiosk style applications and so on.")
5894 (license license:lgpl2.0+)))
5895
5896 (define-public clutter-gst
5897 (package
5898 (name "clutter-gst")
5899 (version "3.0.27")
5900 (source
5901 (origin
5902 (method url-fetch)
5903 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5904 (version-major+minor version) "/"
5905 "clutter-gst-" version ".tar.xz"))
5906 (sha256
5907 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5908 (build-system gnu-build-system)
5909 (native-inputs
5910 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5911 ("pkg-config" ,pkg-config)
5912 ("gobject-introspection" ,gobject-introspection)))
5913 (inputs
5914 `(("clutter" ,clutter)
5915 ("gstreamer" ,gstreamer)
5916 ("gst-plugins-base" ,gst-plugins-base)))
5917 (home-page "http://www.clutter-project.org")
5918 (synopsis "Integration library for using GStreamer with Clutter")
5919 (description
5920 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5921 It provides a GStreamer sink to upload frames to GL and an actor that
5922 implements the ClutterGstPlayer interface using playbin. Clutter is an
5923 OpenGL-based interactive canvas library.")
5924 (license license:lgpl2.0+)))
5925
5926 (define-public libchamplain
5927 (package
5928 (name "libchamplain")
5929 (version "0.12.16")
5930 (source (origin
5931 (method url-fetch)
5932 (uri (string-append
5933 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5934 version ".tar.xz"))
5935 (sha256
5936 (base32
5937 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5938 (build-system gnu-build-system)
5939 (arguments '(#:configure-flags '("--enable-vala")))
5940 (native-inputs
5941 `(("gobject-introspection" ,gobject-introspection)
5942 ("pkg-config" ,pkg-config)
5943 ("vala" ,vala)))
5944 (propagated-inputs
5945 `(("libsoup" ,libsoup)
5946 ("sqlite" ,sqlite)
5947 ("clutter" ,clutter)
5948 ("clutter-gtk" ,clutter-gtk)
5949 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5950 ("cairo" ,cairo)
5951 ("gtk+3" ,gtk+)
5952 ("glib" ,glib)))
5953 (home-page "https://projects.gnome.org/libchamplain/")
5954 (synopsis "C library providing a ClutterActor to display maps")
5955 (description
5956 "libchamplain is a C library providing a ClutterActor to display maps.
5957 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5958 and Perl bindings are also available. It supports numerous free map sources
5959 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5960 (license license:lgpl2.1+)))
5961
5962 (define-public gom
5963 (package
5964 (name "gom")
5965 (version "0.3.2")
5966 (source
5967 (origin
5968 (method url-fetch)
5969 (uri (string-append "mirror://gnome/sources/gom/"
5970 (version-major+minor version) "/"
5971 "gom-" version ".tar.xz"))
5972 (sha256
5973 (base32
5974 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5975 (build-system gnu-build-system)
5976 (native-inputs
5977 `(("intltool" ,intltool)
5978 ("pkg-config" ,pkg-config)
5979 ("gobject-introspection" ,gobject-introspection)))
5980 (inputs
5981 `(("glib" ,glib)
5982 ("gdk-pixbuf" ,gdk-pixbuf)
5983 ("sqlite" ,sqlite)))
5984 ;; XXX TODO: Figure out how to run the test suite.
5985 (arguments `(#:tests? #f))
5986 (home-page "https://wiki.gnome.org/Projects/Gom")
5987 (synopsis "Object mapper from GObjects to SQLite")
5988 (description
5989 "Gom provides an object mapper from GObjects to SQLite. It helps you
5990 write applications that need to store structured data as well as make complex
5991 queries upon that data.")
5992 (license license:lgpl2.1+)))
5993
5994 (define-public libgnome-games-support
5995 (package
5996 (name "libgnome-games-support")
5997 (version "1.7.1")
5998 (source (origin
5999 (method url-fetch)
6000 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6001 (version-major+minor version) "/"
6002 "libgnome-games-support-" version ".tar.xz"))
6003 (sha256
6004 (base32
6005 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6006 (build-system meson-build-system)
6007 (arguments
6008 '(#:glib-or-gtk? #t
6009 #:phases
6010 (modify-phases %standard-phases
6011 (add-before 'check 'pre-check
6012 (lambda _
6013 ;; Tests require a writable HOME.
6014 (setenv "HOME" (getcwd))
6015 #t)))))
6016 (native-inputs
6017 `(("intltool" ,intltool)
6018 ("pkg-config" ,pkg-config)
6019 ("vala" ,vala)))
6020 (propagated-inputs
6021 ;; Required by libgnome-games-support-1.0.pc
6022 `(("gtk+" ,gtk+)
6023 ("libgee" ,libgee)))
6024 (home-page "https://www.gnome.org/")
6025 (synopsis "Useful functionality shared among GNOME games")
6026 (description
6027 "libgnome-games-support is a small library intended for internal use by
6028 GNOME Games, but it may be used by others.")
6029 (license license:lgpl3+)))
6030
6031 (define-public gnome-klotski
6032 (package
6033 (name "gnome-klotski")
6034 (version "3.34.0")
6035 (source (origin
6036 (method url-fetch)
6037 (uri (string-append "mirror://gnome/sources/" name "/"
6038 (version-major+minor version) "/"
6039 name "-" version ".tar.xz"))
6040 (sha256
6041 (base32
6042 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6043 (build-system meson-build-system)
6044 (arguments
6045 '(#:glib-or-gtk? #t
6046 #:phases
6047 (modify-phases %standard-phases
6048 (add-after 'unpack 'skip-gtk-update-icon-cache
6049 ;; Don't create 'icon-theme.cache'.
6050 (lambda _
6051 (substitute* "build-aux/meson_post_install.py"
6052 (("gtk-update-icon-cache") (which "true")))
6053 #t)))))
6054 (native-inputs
6055 `(("desktop-file-utils" ,desktop-file-utils)
6056 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6057 ("intltool" ,intltool)
6058 ("itstool" ,itstool)
6059 ("pkg-config" ,pkg-config)
6060 ("vala" ,vala)
6061 ("xmllint" ,libxml2)))
6062 (inputs
6063 `(("gtk+" ,gtk+)
6064 ("libgnome-games-support" ,libgnome-games-support)
6065 ("librsvg" ,librsvg)))
6066 (home-page "https://wiki.gnome.org/Apps/Klotski")
6067 (synopsis "Sliding block puzzles")
6068 (description
6069 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6070 the patterned block to the area bordered by green markers. To do so, you will
6071 need to slide other blocks out of the way. Complete each puzzle in as few moves
6072 as possible!")
6073 (license license:gpl2+)))
6074
6075 (define-public grilo
6076 (package
6077 (name "grilo")
6078 (version "0.3.12")
6079 (source
6080 (origin
6081 (method url-fetch)
6082 (uri (string-append "mirror://gnome/sources/grilo/"
6083 (version-major+minor version) "/"
6084 "grilo-" version ".tar.xz"))
6085 (sha256
6086 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6087 (build-system meson-build-system)
6088 (native-inputs
6089 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6090 ("intltool" ,intltool)
6091 ("pkg-config" ,pkg-config)
6092 ("gobject-introspection" ,gobject-introspection)
6093 ("gtk-doc" ,gtk-doc/stable)
6094 ("vala" ,vala)))
6095 (inputs
6096 `(("cyrus-sasl" ,cyrus-sasl)
6097 ("glib" ,glib)
6098 ("gtk+" ,gtk+)
6099 ("libxml2" ,libxml2)
6100 ("liboauth" ,liboauth)
6101 ("libsoup" ,libsoup)
6102 ("totem-pl-parser" ,totem-pl-parser)))
6103 (native-search-paths
6104 (list (search-path-specification
6105 (variable "GRL_PLUGIN_PATH")
6106 (files (list (string-append "lib/grilo-"
6107 (version-major+minor version)))))))
6108 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6109 (synopsis "Framework for discovering and browsing media")
6110 (description
6111 "Grilo is a framework focused on making media discovery and browsing easy
6112 for application developers.")
6113 (license license:lgpl2.1+)))
6114
6115 (define-public grilo-plugins
6116 (package
6117 (name "grilo-plugins")
6118 (version "0.3.11")
6119 (source
6120 (origin
6121 (method url-fetch)
6122 (uri (string-append "mirror://gnome/sources/" name "/"
6123 (version-major+minor version) "/"
6124 name "-" version ".tar.xz"))
6125 (sha256
6126 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6127 (build-system meson-build-system)
6128 (native-inputs
6129 `(("gettext" ,gettext-minimal)
6130 ("glib:bin" ,glib "bin")
6131 ("gtk+:bin" ,gtk+ "bin")
6132 ("itstool" ,itstool)
6133 ("pkg-config" ,pkg-config)))
6134 ;; TODO: ahavi, gstreamer
6135 (inputs
6136 `(("grilo" ,grilo)
6137 ;("gmime" ,gmime) ; unused
6138 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6139 ("gom" ,gom)
6140 ;("gssdp" ,gssdp) ; unused
6141 ;("gupnp" ,gupnp) ; unused
6142 ;("gupnp-av" ,gupnp-av) ; unused
6143 ("json-glib" ,json-glib)
6144 ("avahi" ,avahi)
6145 ("libgdata" ,libgdata)
6146 ("libmediaart" ,libmediaart)
6147 ;("librest" ,rest) ; unused
6148 ("libsoup" ,libsoup)
6149 ("totam-pl-parser" ,totem-pl-parser)
6150 ("tracker" ,tracker))) ; unused because it's too old
6151 (arguments
6152 `(#:glib-or-gtk? #t
6153 ;;Disable lua-factory as it needs missing dependencies
6154 #:configure-flags '("-Denable-lua-factory=no")))
6155 (home-page "https://live.gnome.org/Grilo")
6156 (synopsis "Plugins for the Grilo media discovery library")
6157 (description
6158 "Grilo is a framework focused on making media discovery and browsing easy
6159 for application developers. This package provides plugins for common media
6160 discovery protocols.")
6161 (license license:lgpl2.1+)))
6162
6163 (define-public totem
6164 (package
6165 (name "totem")
6166 (version "3.38.0")
6167 (source
6168 (origin
6169 (method url-fetch)
6170 (uri (string-append "mirror://gnome/sources/totem/"
6171 (version-major+minor version) "/"
6172 "totem-" version ".tar.xz"))
6173 (sha256
6174 (base32
6175 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6176 (build-system meson-build-system)
6177 (native-inputs
6178 `(("pkg-config" ,pkg-config)
6179 ("desktop-file-utils" ,desktop-file-utils)
6180 ("gettext" ,gettext-minimal)
6181 ("gobject-introspection" ,gobject-introspection)
6182 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6183 ("itstool" ,itstool)
6184 ("xmllint" ,libxml2)
6185 ("xorg-server" ,xorg-server-for-tests)))
6186 (propagated-inputs
6187 `(("dconf" ,dconf)))
6188 (inputs
6189 `(("gtk+" ,gtk+)
6190 ("gdk-pixbuf" ,gdk-pixbuf)
6191 ("atk" ,atk)
6192 ("cairo" ,cairo)
6193 ("dbus-glib" ,dbus-glib)
6194 ("clutter" ,clutter)
6195 ("clutter-gtk" ,clutter-gtk)
6196 ("clutter-gst" ,clutter-gst)
6197 ("xorgproto" ,xorgproto)
6198 ("libxxf86vm" ,libxxf86vm)
6199 ("libxtst" ,libxtst)
6200 ("libxrandr" ,libxrandr)
6201 ("libxml2" ,libxml2)
6202 ("libsoup" ,libsoup)
6203 ("libpeas" ,libpeas)
6204 ("librsvg" ,librsvg)
6205 ("lirc" ,lirc)
6206 ("gnome-desktop" ,gnome-desktop)
6207 ("gstreamer" ,gstreamer)
6208 ("gst-plugins-base" ,gst-plugins-base)
6209 ("gst-plugins-good" ,gst-plugins-good)
6210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6211 ("adwaita-icon-theme" ,adwaita-icon-theme)
6212 ("python" ,python)
6213 ("python-pygobject" ,python-pygobject)
6214 ("totem-pl-parser" ,totem-pl-parser)
6215 ("grilo" ,grilo)
6216 ("grilo-plugins" ,grilo-plugins)
6217 ("vala" ,vala)))
6218 (arguments
6219 `(#:glib-or-gtk? #t
6220
6221 ;; Disable automatic GStreamer plugin installation via PackageKit and
6222 ;; all that.
6223 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6224
6225 ;; Do not build .a files for the plugins, it's
6226 ;; completely useless. This saves 2 MiB.
6227 "--default-library" "shared")
6228 #:phases
6229 (modify-phases %standard-phases
6230 (add-after 'unpack 'skip-gtk-update-icon-cache
6231 ;; Don't create 'icon-theme.cache'.
6232 (lambda _
6233 (substitute* "meson_post_install.py"
6234 (("gtk-update-icon-cache") "true"))
6235 #t))
6236 (add-after 'unpack 'patch-failing-test
6237 (lambda _
6238 ;; Work around test failure with GStreamer 1.18, because the test
6239 ;; relies on "und" not being mapped to a particular language:
6240 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6241 (substitute* "src/test-totem.c"
6242 (("und") "nosuchlang"))
6243 #t))
6244 (add-before
6245 'install 'disable-cache-generation
6246 (lambda _
6247 (setenv "DESTDIR" "/")
6248 #t))
6249 (add-before
6250 'check 'pre-check
6251 (lambda _
6252 ;; Tests require a running X server.
6253 (system "Xvfb :1 &")
6254 (setenv "DISPLAY" ":1")
6255 #t))
6256 (add-after
6257 'install 'wrap-totem
6258 (lambda* (#:key inputs outputs #:allow-other-keys)
6259 (let ((out (assoc-ref outputs "out"))
6260 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6261 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6262 (wrap-program (string-append out "/bin/totem")
6263 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6264 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6265 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6266 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6267 #t)))))
6268 (home-page "https://wiki.gnome.org/Apps/Videos")
6269 (synopsis "Simple media player for GNOME based on GStreamer")
6270 (description "Totem is a simple yet featureful media player for GNOME
6271 which can read a large number of file formats.")
6272 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6273 ;; to be used and distributed together with GStreamer and Totem. See
6274 ;; file://COPYING in the source distribution for details.
6275 (license license:gpl2+)))
6276
6277 (define-public rhythmbox
6278 (package
6279 (name "rhythmbox")
6280 (version "3.4.4")
6281 (source (origin
6282 (method url-fetch)
6283 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6284 (version-major+minor version) "/"
6285 "rhythmbox-" version ".tar.xz"))
6286 (sha256
6287 (base32
6288 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6289 (build-system glib-or-gtk-build-system)
6290 (arguments
6291 `(#:configure-flags
6292 (list "--enable-lirc"
6293 "--enable-python"
6294 "--enable-vala"
6295 "--with-brasero"
6296 "--with-gudev"
6297 "--with-libsecret")
6298 #:phases
6299 (modify-phases %standard-phases
6300 (add-after
6301 'install 'wrap-rhythmbox
6302 (lambda* (#:key inputs outputs #:allow-other-keys)
6303 (let ((out (assoc-ref outputs "out"))
6304 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6305 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6306 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6307 (python-path (getenv "PYTHONPATH")))
6308 (wrap-program (string-append out "/bin/rhythmbox")
6309 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6310 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6311 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6312 `("PYTHONPATH" ":" prefix (,python-path))))
6313 #t)))))
6314 (propagated-inputs
6315 `(("dconf" ,dconf)))
6316 (native-inputs
6317 `(("itstool" ,itstool)
6318 ("intltool" ,intltool)
6319 ("glib" ,glib "bin")
6320 ("gobject-introspection" ,gobject-introspection)
6321 ("desktop-file-utils" ,desktop-file-utils)
6322 ("pkg-config" ,pkg-config)
6323 ("xmllint" ,libxml2)))
6324 (inputs
6325 `(("json-glib" ,json-glib)
6326 ("tdb" ,tdb)
6327 ("gnome-desktop" ,gnome-desktop)
6328 ("python" ,python)
6329 ("python-pygobject" ,python2-pygobject)
6330 ("vala" ,vala)
6331 ("gmime" ,gmime)
6332 ("adwaita-icon-theme" ,adwaita-icon-theme)
6333 ("grilo" ,grilo)
6334 ("grilo-plugins" ,grilo-plugins)
6335 ("gstreamer" ,gstreamer)
6336 ("gst-plugins-base" ,gst-plugins-base)
6337 ("gst-plugins-good" ,gst-plugins-good)
6338 ("totem-pl-parser" ,totem-pl-parser)
6339 ("libgudev" ,libgudev)
6340 ;;("libmtp" ,libmtp) FIXME: Not detected
6341 ("libsecret" ,libsecret)
6342 ("libsoup" ,libsoup)
6343 ("libnotify" ,libnotify)
6344 ("libpeas" ,libpeas)
6345 ("lirc" ,lirc)
6346 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6347 ;;("clutter" ,clutter)
6348 ;;("clutter-gtk" ,clutter-gtk)
6349 ;;("clutter-gst" ,clutter-gst)
6350 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6351 ("atk" ,atk)
6352 ("pango" ,pango)
6353 ("gtk+" ,gtk+)
6354 ;; TODO:
6355 ;; * libgpod
6356 ;; * mx
6357 ("brasero" ,brasero)))
6358 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6359 (synopsis "Music player for GNOME")
6360 (description "Rhythmbox is a music playing application for GNOME. It
6361 supports playlists, song ratings, and any codecs installed through gstreamer.")
6362 (license license:gpl2+)))
6363
6364 (define-public eog
6365 (package
6366 (name "eog")
6367 (version "3.34.1")
6368 (source (origin
6369 (method url-fetch)
6370 (uri (string-append "mirror://gnome/sources/" name "/"
6371 (version-major+minor version) "/"
6372 name "-" version ".tar.xz"))
6373 (sha256
6374 (base32
6375 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6376 (build-system meson-build-system)
6377 (arguments
6378 `(#:configure-flags
6379 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6380 (list (string-append "-Dc_link_args=-Wl,-rpath="
6381 (assoc-ref %outputs "out") "/lib/eog"))
6382 #:phases
6383 (modify-phases %standard-phases
6384 (add-after 'unpack 'skip-gtk-update-icon-cache
6385 ;; Don't create 'icon-theme.cache'.
6386 (lambda _
6387 (substitute* "meson_post_install.py"
6388 (("gtk-update-icon-cache") "true"))
6389 #t))
6390 (add-after 'install 'wrap-eog
6391 (lambda* (#:key outputs #:allow-other-keys)
6392 (let ((out (assoc-ref outputs "out"))
6393 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6394 (wrap-program (string-append out "/bin/eog")
6395 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6396 #t)))))
6397 (propagated-inputs
6398 `(("dconf" ,dconf)))
6399 (native-inputs
6400 `(("intltool" ,intltool)
6401 ("itstool" ,itstool)
6402 ("glib" ,glib "bin")
6403 ("gobject-introspection" ,gobject-introspection)
6404 ("pkg-config" ,pkg-config)
6405 ("xmllint" ,libxml2)))
6406 (inputs
6407 `(("gnome-desktop" ,gnome-desktop)
6408 ("shared-mime-info" ,shared-mime-info)
6409 ("adwaita-icon-theme" ,adwaita-icon-theme)
6410 ("exempi" ,exempi)
6411 ("lcms" ,lcms)
6412 ("libexif" ,libexif)
6413 ("libpeas" ,libpeas)
6414 ("libjpeg" ,libjpeg-turbo)
6415 ("librsvg" ,librsvg-next)
6416 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6417 ("gtk+" ,gtk+)))
6418 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6419 (synopsis "GNOME image viewer")
6420 (description "Eye of GNOME is the GNOME image viewer. It
6421 supports image conversion, rotation, and slideshows.")
6422 (license license:gpl2+)))
6423
6424 (define-public eog-plugins
6425 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6426 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6427 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6428 ;; 'XDG_DATA_DIRS' appropriately set.
6429 (package
6430 (name "eog-plugins")
6431 (version "3.26.4")
6432 (source (origin
6433 (method url-fetch)
6434 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6435 (version-major+minor version) "/"
6436 "eog-plugins-" version ".tar.xz"))
6437 (sha256
6438 (base32
6439 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6440 (build-system gnu-build-system)
6441 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6442 (synopsis "Extensions for the Eye of GNOME image viewer")
6443 (native-inputs
6444 `(("pkg-config" ,pkg-config)
6445 ("gettext" ,gettext-minimal)))
6446 (inputs
6447 `(("eog" ,eog)
6448 ("glib" ,glib)
6449 ("gtk+" ,gtk+)
6450 ("libpeas" ,libpeas)
6451 ("libexif" ,libexif)
6452 ("libchamplain" ,libchamplain)))
6453 (description
6454 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6455 notably:
6456
6457 @itemize
6458 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6459 @item @dfn{Map}, which displays a map of where the picture was taken on the
6460 side panel;
6461 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6462 @end itemize\n")
6463
6464 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6465 ;; long suspicious byte stream that goes to a
6466 ;; ".gresource.eog_postasa_plugin" ELF section.
6467 (license license:gpl2+)))
6468
6469 (define-public libgudev
6470 (package
6471 (name "libgudev")
6472 (version "232")
6473 (source (origin
6474 (method url-fetch)
6475 (uri (string-append "mirror://gnome/sources/" name "/"
6476 version "/" name "-" version ".tar.xz"))
6477 (sha256
6478 (base32
6479 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6480 (build-system gnu-build-system)
6481 (arguments
6482 '(#:configure-flags
6483 ;; umockdev depends on libgudev.
6484 (list "--disable-umockdev")))
6485 (native-inputs
6486 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6487 ("gobject-introspection" ,gobject-introspection)
6488 ("pkg-config" ,pkg-config)))
6489 (propagated-inputs
6490 `(("glib" ,glib))) ; required by gudev-1.0.pc
6491 (inputs
6492 `(("udev" ,eudev)))
6493 (home-page "https://wiki.gnome.org/Projects/libgudev")
6494 (synopsis "GObject bindings for libudev")
6495 (description
6496 "This library provides GObject bindings for libudev. It was originally
6497 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6498 (license license:lgpl2.1+)))
6499
6500 (define-public gvfs
6501 (package
6502 (name "gvfs")
6503 (version "1.40.2")
6504 (source (origin
6505 (method url-fetch)
6506 (uri (string-append "mirror://gnome/sources/gvfs/"
6507 (version-major+minor version) "/"
6508 "gvfs-" version ".tar.xz"))
6509 (sha256
6510 (base32
6511 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6512 ;; This patch may be removed when upgrading to version 1.46.x.
6513 (patches
6514 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6515 (build-system meson-build-system)
6516 (arguments
6517 '(#:glib-or-gtk? #t
6518 #:configure-flags
6519 (list "-Dsystemduserunitdir=no"
6520 "-Dtmpfilesdir=no"
6521 ;; Otherwise, the RUNPATH will lack the final path component.
6522 (string-append "-Dc_link_args=-Wl,-rpath="
6523 (assoc-ref %outputs "out") "/lib/gvfs"))))
6524 (native-inputs
6525 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6526 ("gettext" ,gettext-minimal)
6527 ("gtk-doc" ,gtk-doc/stable)
6528 ("pkg-config" ,pkg-config)
6529 ("xsltproc" ,libxslt)))
6530 (inputs
6531 `(("avahi" ,avahi)
6532 ("docbook-xml" ,docbook-xml-4.2)
6533 ("docbook-xsl" ,docbook-xsl)
6534 ("dbus" ,dbus)
6535 ("elogind" ,elogind)
6536 ("fuse" ,fuse)
6537 ("gcr" ,gcr)
6538 ("glib" ,glib)
6539 ("gnome-online-accounts" ,gnome-online-accounts)
6540 ("libarchive" ,libarchive)
6541 ("libbluray" ,libbluray)
6542 ("libcap" ,libcap)
6543 ("libcdio-paranoia" ,libcdio-paranoia)
6544 ("libgcrypt" ,libgcrypt)
6545 ("libgdata" ,libgdata)
6546 ("libgphoto2" ,libgphoto2)
6547 ("libgudev" ,libgudev)
6548 ("libimobiledevice" ,libimobiledevice)
6549 ("libmtp" ,libmtp)
6550 ("libnfs" ,libnfs)
6551 ("libsecret" ,libsecret)
6552 ("libsmbclient" ,samba)
6553 ("libsoup" ,libsoup)
6554 ("libxml2" ,libxml2)
6555 ("openssh" ,openssh)
6556 ("polkit" ,polkit)
6557 ("udisks" ,udisks)))
6558 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6559 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6560 "CVE-2019-12448"
6561 "CVE-2019-12449"))))
6562 (home-page "https://wiki.gnome.org/gvfs/")
6563 (synopsis "Userspace virtual file system for GIO")
6564 (description
6565 "GVFS is a userspace virtual file system designed to work with the I/O
6566 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6567 to all applications using the GIO API. It also supports exposing the GVFS
6568 mounts to non-GIO applications using FUSE.
6569
6570 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6571 DAV, and others.")
6572 (license license:lgpl2.0+)))
6573
6574 (define-public gusb
6575 (package
6576 (name "gusb")
6577 (version "0.3.5")
6578 (source (origin
6579 (method git-fetch)
6580 (uri (git-reference
6581 (url "https://github.com/hughsie/libgusb")
6582 (commit version)))
6583 (file-name (git-file-name name version))
6584 (sha256
6585 (base32
6586 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6587 (build-system meson-build-system)
6588 (native-inputs
6589 `(("gobject-introspection" ,gobject-introspection)
6590 ("pkg-config" ,pkg-config)
6591 ("vala" ,vala)
6592 ("gtk-doc" ,gtk-doc/stable)))
6593 (propagated-inputs
6594 ;; Both of these are required by gusb.pc.
6595 `(("glib" ,glib)
6596 ("libusb" ,libusb)))
6597 (arguments
6598 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6599 (home-page "https://github.com/hughsie/libgusb")
6600 (synopsis "GLib binding for libusb1")
6601 (description
6602 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6603 asynchronous control, bulk and interrupt transfers with proper cancellation
6604 and integration into a mainloop. This makes it easy to integrate low level
6605 USB transfers with your high-level application or system daemon.")
6606 (license license:lgpl2.1+)))
6607
6608 (define-public simple-scan
6609 (package
6610 (name "simple-scan")
6611 (version "3.38.2")
6612 (source
6613 (origin
6614 (method url-fetch)
6615 (uri (string-append "mirror://gnome/sources/simple-scan/"
6616 (version-major+minor version) "/"
6617 "simple-scan-" version ".tar.xz"))
6618 (sha256
6619 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6620 (build-system meson-build-system)
6621 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6622 (arguments
6623 '(#:glib-or-gtk? #t))
6624 (inputs
6625 `(("gtk" ,gtk+)
6626 ("zlib" ,zlib)
6627 ("cairo" ,cairo)
6628 ("colord" ,colord)
6629 ("gdk-pixbuf" ,gdk-pixbuf)
6630 ("gusb" ,gusb)
6631 ("libsane" ,sane-backends)))
6632 (native-inputs
6633 `(("gettext" ,gettext-minimal)
6634 ("itstool" ,itstool)
6635 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6636 ("pkg-config" ,pkg-config)
6637 ("vala" ,vala)
6638 ("xmllint" ,libxml2)))
6639 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6640 (synopsis "Document and image scanner")
6641 (description
6642 "Document Scanner is an easy-to-use application that lets you connect your
6643 scanner and quickly capture images and documents in an appropriate format. It
6644 supports any scanner for which a suitable SANE driver is available, which is
6645 almost all of them.")
6646 (license license:gpl3+)))
6647
6648 (define-public eolie
6649 (package
6650 (name "eolie")
6651 (version "0.9.101")
6652 (source (origin
6653 (method url-fetch)
6654 (uri (string-append "https://adishatz.org/eolie/eolie-"
6655 version ".tar.xz"))
6656 (sha256
6657 (base32
6658 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6659 (build-system meson-build-system)
6660 (arguments
6661 `(#:glib-or-gtk? #t
6662 #:phases
6663 (modify-phases %standard-phases
6664 (add-after 'unpack 'skip-gtk-update-icon-cache
6665 ;; Don't create 'icon-theme.cache'.
6666 (lambda _
6667 (substitute* "meson_post_install.py"
6668 (("gtk-update-icon-cache") "true"))
6669 #t))
6670 (add-after 'wrap 'wrap-more
6671 (lambda* (#:key inputs outputs #:allow-other-keys)
6672 (let* ((out (assoc-ref outputs "out"))
6673 ;; These libraries must be on LD_LIBRARY_PATH.
6674 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6675 "atk" "gtk+" "gsettings-desktop-schemas"
6676 "gobject-introspection"))
6677 (path (string-join
6678 (map (lambda (lib)
6679 (string-append (assoc-ref inputs lib) "/lib"))
6680 libs)
6681 ":")))
6682 (wrap-program (string-append out "/bin/eolie")
6683 `("LD_LIBRARY_PATH" ":" prefix (,path))
6684 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6685 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6686 #t)))))
6687 (native-inputs
6688 `(("intltool" ,intltool)
6689 ("itstool" ,itstool)
6690 ("pkg-config" ,pkg-config)
6691 ("python" ,python)
6692 ("glib:bin" ,glib "bin")))
6693 (inputs
6694 `(("gobject-introspection" ,gobject-introspection)
6695 ("glib-networking" ,glib-networking)
6696 ("cairo" ,cairo)
6697 ("gtk+" ,gtk+)
6698 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6699 ("python" ,python-wrapper)
6700 ("python-dateutil" ,python-dateutil)
6701 ("python-pyfxa" ,python-pyfxa)
6702 ("python-pygobject" ,python-pygobject)
6703 ("python-pycairo" ,python-pycairo)
6704 ("python-pycrypto" ,python-pycrypto)
6705 ("libhandy" ,libhandy)
6706 ("libsecret" ,libsecret)
6707 ("gtkspell3" ,gtkspell3)
6708 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6709 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6710 ("webkitgtk" ,webkitgtk)))
6711 (home-page "https://wiki.gnome.org/Apps/Eolie")
6712 (synopsis "Web browser for GNOME")
6713 (description
6714 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6715 a secret password store, an adblocker, and a modern UI.")
6716 (license license:gpl3+)))
6717
6718 (define-public epiphany
6719 (package
6720 (name "epiphany")
6721 (version "3.34.4")
6722 (source (origin
6723 (method url-fetch)
6724 (uri (string-append "mirror://gnome/sources/epiphany/"
6725 (version-major+minor version) "/"
6726 "epiphany-" version ".tar.xz"))
6727 (sha256
6728 (base32
6729 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6730
6731 (build-system meson-build-system)
6732 (arguments
6733 '(#:glib-or-gtk? #t
6734 #:phases
6735 (modify-phases %standard-phases
6736 (add-after 'unpack 'skip-gtk-update-icon-cache
6737 ;; Don't create 'icon-theme.cache'.
6738 (lambda _
6739 (substitute* "post_install.py"
6740 (("gtk-update-icon-cache") "true"))
6741 #t))
6742 (add-after 'unpack 'disable-failing-tests
6743 (lambda _
6744 (substitute* "tests/meson.build"
6745 ;; embed_shell fails, because webkitgtk apparently no longer supports
6746 ;; overriding the ftp schema
6747 ;; web_app_utils fails due to missing network access
6748 (("(embed_shell|web_app_utils)_test,")
6749 "find_program('sh'), args: ['-c', 'exit 77'],"))
6750 #t))
6751 (add-before 'check 'pre-check
6752 (lambda _
6753 ;; Tests require a running X server.
6754 (system "Xvfb :1 &")
6755 (setenv "DISPLAY" ":1")
6756 #t)))
6757 #:configure-flags
6758 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6759 (list (string-append "-Dc_link_args=-Wl,-rpath="
6760 (assoc-ref %outputs "out") "/lib/epiphany"))))
6761 (propagated-inputs
6762 `(("dconf" ,dconf)))
6763 (native-inputs
6764 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6765 ("glib:bin" ,glib "bin") ; for glib-mkenums
6766 ("intltool" ,intltool)
6767 ("itstool" ,itstool)
6768 ("pkg-config" ,pkg-config)
6769 ("xmllint" ,libxml2)
6770 ("xorg-server" ,xorg-server-for-tests)))
6771 (inputs
6772 `(("avahi" ,avahi)
6773 ("gcr" ,gcr)
6774 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6775 ("glib-networking" ,glib-networking)
6776 ("gnome-desktop" ,gnome-desktop)
6777 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6778 ("json-glib" ,json-glib)
6779 ("iso-codes" ,iso-codes)
6780 ("libdazzle" ,libdazzle)
6781 ("libnotify" ,libnotify)
6782 ("libsecret" ,libsecret)
6783 ("libxslt" ,libxslt)
6784 ("nettle" ,nettle) ; for hogweed
6785 ("sqlite" ,sqlite)
6786 ("webkitgtk" ,webkitgtk)))
6787 (home-page "https://wiki.gnome.org/Apps/Web")
6788 (synopsis "GNOME web browser")
6789 (description
6790 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6791 principles are simplicity and standards compliance.")
6792 (license license:gpl2+)))
6793
6794 (define-public d-feet
6795 (package
6796 (name "d-feet")
6797 (version "0.3.14")
6798 (source (origin
6799 (method url-fetch)
6800 (uri (string-append "mirror://gnome/sources/" name "/"
6801 (version-major+minor version) "/"
6802 name "-" version ".tar.xz"))
6803 (sha256
6804 (base32
6805 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6806 (build-system glib-or-gtk-build-system)
6807 (arguments
6808 '(#:out-of-source? #f ; tests need to run in the source directory.
6809 #:phases
6810 (modify-phases %standard-phases
6811 (add-before
6812 'check 'pre-check
6813 (lambda _
6814 ;; The test suite requires a running X server.
6815 (system "Xvfb :1 &")
6816 (setenv "DISPLAY" ":1")
6817 ;; Don't fail on missing '/etc/machine-id'.
6818 (setenv "DBUS_FATAL_WARNINGS" "0")
6819 ;; tests.py and window.py don't meet E402:
6820 ;; E402 module level import not at top of file
6821 (substitute* "src/tests/Makefile"
6822 (("--ignore=E123") "--ignore=E123,E402"))
6823 #t))
6824 (add-after
6825 'install 'wrap-program
6826 (lambda* (#:key outputs #:allow-other-keys)
6827 (let ((prog (string-append (assoc-ref outputs "out")
6828 "/bin/d-feet")))
6829 (wrap-program prog
6830 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6831 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6832 #t))))))
6833 (native-inputs
6834 `(("intltool" ,intltool)
6835 ("itstool" ,itstool)
6836 ("pkg-config" ,pkg-config)
6837 ("python-pep8" ,python-pep8)
6838 ("xmllint" ,libxml2)
6839 ("xorg-server" ,xorg-server-for-tests)))
6840 (inputs
6841 `(("gobject-introspection" ,gobject-introspection)
6842 ("gtk+" ,gtk+)
6843 ("python" ,python-wrapper)
6844 ("hicolor-icon-theme" ,hicolor-icon-theme)
6845 ("python-pygobject" ,python-pygobject)))
6846 (home-page "https://wiki.gnome.org/Apps/DFeet")
6847 (synopsis "D-Bus debugger")
6848 (description
6849 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6850 of running programs and invoke methods on those interfaces.")
6851 (license license:gpl2+)))
6852
6853 (define-public yelp-xsl
6854 (package
6855 (name "yelp-xsl")
6856 (version "3.34.2")
6857 (source
6858 (origin
6859 (method url-fetch)
6860 (uri
6861 (string-append "mirror://gnome/sources/" name "/"
6862 (version-major+minor version) "/"
6863 name "-" version ".tar.xz"))
6864 (sha256
6865 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6866 (build-system gnu-build-system)
6867 (native-inputs
6868 `(("gettext-minimal" ,gettext-minimal)
6869 ("itstool" ,itstool)
6870 ("xmllint" ,libxml2)))
6871 (synopsis "XSL stylesheets for Yelp")
6872 (description "Yelp-XSL is a collection of programs and data files to help
6873 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6874 that can be built upon for help viewers and publishing systems. These
6875 stylesheets output JavaScript and CSS content, and reference images
6876 provided by yelp-xsl. It also redistributes copies of the jQuery and
6877 jQuery.Syntax JavaScript libraries.")
6878 (home-page "https://wiki.gnome.org/Apps/Yelp")
6879 (license
6880 (list
6881 ;; XSLT
6882 license:gpl2+
6883 ;; Images
6884 license:lgpl2.1+
6885 ;; JavaScript
6886 license:expat))))
6887
6888 (define-public yelp
6889 (package
6890 (name "yelp")
6891 (version "3.32.2")
6892 (source (origin
6893 (method url-fetch)
6894 (uri (string-append "mirror://gnome/sources/" name "/"
6895 (version-major+minor version) "/"
6896 name "-" version ".tar.xz"))
6897 (sha256
6898 (base32
6899 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6900 (build-system glib-or-gtk-build-system)
6901 (native-inputs
6902 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6903 ("intltool" ,intltool)
6904 ("itstool" ,itstool)
6905 ("pkg-config" ,pkg-config)))
6906 (propagated-inputs
6907 `(("dconf" ,dconf)))
6908 (inputs
6909 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6910 ("libxslt" ,libxslt)
6911 ("sqlite" ,sqlite)
6912 ("webkitgtk" ,webkitgtk)
6913 ("yelp-xsl" ,yelp-xsl)))
6914 (home-page "https://wiki.gnome.org/Apps/Yelp")
6915 (synopsis "GNOME help browser")
6916 (description
6917 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6918 man, info, and HTML documents. It can locate documents according to the
6919 freedesktop.org help system specification.")
6920 (license license:gpl2+)))
6921
6922 (define-public yelp-tools
6923 (package
6924 (name "yelp-tools")
6925 (version "3.32.2")
6926 (source
6927 (origin
6928 (method url-fetch)
6929 (uri
6930 (string-append "mirror://gnome/sources/" name "/"
6931 (version-major+minor version) "/"
6932 name "-" version ".tar.xz"))
6933 (sha256
6934 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6935 (build-system gnu-build-system)
6936 (native-inputs
6937 `(("pkg-config" ,pkg-config)))
6938 (inputs
6939 `(("yelp-xsl" ,yelp-xsl)))
6940 (propagated-inputs
6941 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6942 `(("itstool" ,itstool)
6943 ("xmllint" ,libxml2)
6944 ("xsltproc" ,libxslt)))
6945 (synopsis "Yelp documentation tools")
6946 (description
6947 "Yelp-tools is a collection of scripts and build utilities to help create,
6948 manage, and publish documentation for Yelp and the web. Most of the heavy
6949 lifting is done by packages like yelp-xsl and itstool. This package just
6950 wraps things up in a developer-friendly way.")
6951 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6952 (license license:gpl2+)))
6953
6954 (define-public libgee
6955 (package
6956 (name "libgee")
6957 (version "0.20.3")
6958 (source (origin
6959 (method url-fetch)
6960 (uri (string-append "mirror://gnome/sources/libgee/"
6961 (version-major+minor version) "/"
6962 "libgee-" version ".tar.xz"))
6963 (sha256
6964 (base32
6965 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6966 (build-system gnu-build-system)
6967 (arguments
6968 `(#:phases
6969 (modify-phases %standard-phases
6970 (add-after 'unpack 'fix-introspection-install-dir
6971 (lambda* (#:key outputs #:allow-other-keys)
6972 (let ((out (assoc-ref outputs "out")))
6973 (substitute* "gee/Makefile.in"
6974 (("@INTROSPECTION_GIRDIR@")
6975 (string-append out "/share/gir-1.0/"))
6976 (("@INTROSPECTION_TYPELIBDIR@")
6977 (string-append out "/lib/girepository-1.0/")))))))))
6978 (native-inputs
6979 `(("glib" ,glib "bin")
6980 ("pkg-config" ,pkg-config)))
6981 (inputs
6982 `(("glib" ,glib)
6983 ("gobject-introspection" ,gobject-introspection)))
6984 (home-page "https://wiki.gnome.org/Projects/Libgee")
6985 (synopsis "GObject collection library")
6986 (description
6987 "Libgee is a utility library providing GObject-based interfaces and
6988 classes for commonly used data structures.")
6989 (license license:lgpl2.1+)))
6990
6991 (define-public gexiv2
6992 (package
6993 (name "gexiv2")
6994 (version "0.12.2")
6995 (source (origin
6996 (method url-fetch)
6997 (uri (string-append "mirror://gnome/sources/" name "/"
6998 (version-major+minor version) "/"
6999 name "-" version ".tar.xz"))
7000 (sha256
7001 (base32
7002 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7003 (build-system meson-build-system)
7004 (native-inputs
7005 `(("gcr" ,gcr)
7006 ("glib" ,glib "bin")
7007 ("pkg-config" ,pkg-config)
7008 ("vala" ,vala)))
7009 (propagated-inputs
7010 ;; Listed in "Requires" section of gexiv2.pc
7011 `(("exiv2" ,exiv2)))
7012 (inputs
7013 `(("glib" ,glib)
7014 ("gobject-introspection" ,gobject-introspection)))
7015 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7016 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7017 (description
7018 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7019 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7020 metadata in photo and video files of various formats.")
7021 (license license:gpl2+)))
7022
7023 (define-public shotwell
7024 (package
7025 (name "shotwell")
7026 (version "0.30.11")
7027 (source (origin
7028 (method url-fetch)
7029 (uri (string-append "mirror://gnome/sources/shotwell/"
7030 (version-major+minor version) "/"
7031 "shotwell-" version ".tar.xz"))
7032 (sha256
7033 (base32
7034 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7035 (build-system meson-build-system)
7036 (arguments
7037 '(#:glib-or-gtk? #t
7038 #:phases
7039 (modify-phases %standard-phases
7040 (add-after 'unpack 'skip-gtk-update-icon-cache
7041 (lambda _
7042 (substitute* "build-aux/meson/postinstall.py"
7043 (("gtk-update-icon-cache") (which "true"))
7044 (("update-desktop-database") (which "true")))
7045 #t)))))
7046 (propagated-inputs
7047 `(("dconf" ,dconf)))
7048 (native-inputs
7049 `(("gettext" ,gettext-minimal)
7050 ("glib:bin" ,glib "bin")
7051 ("itstool" ,itstool)
7052 ("pkg-config" ,pkg-config)
7053 ("vala" ,vala)))
7054 (inputs
7055 `(("gcr" ,gcr)
7056 ("gexiv2" ,gexiv2)
7057 ("gst-plugins-base" ,gst-plugins-base)
7058 ("gstreamer" ,gstreamer)
7059 ("json-glib" ,json-glib)
7060 ("libgdata" ,libgdata)
7061 ("libgee" ,libgee)
7062 ("libgphoto2" ,libgphoto2)
7063 ("libgudev" ,libgudev)
7064 ("libraw" ,libraw)
7065 ("libsoup" ,libsoup)
7066 ("libxml2" ,libxml2)
7067 ("sqlite" ,sqlite)
7068 ("webkitgtk" ,webkitgtk)))
7069 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7070 (synopsis "Photo manager for GNOME 3")
7071 (description
7072 "Shotwell is a digital photo manager designed for the GNOME desktop
7073 environment. It allows you to import photos from disk or camera, organize
7074 them by keywords and events, view them in full-window or fullscreen mode, and
7075 share them with others via social networking and more.")
7076 (license license:lgpl2.1+)))
7077
7078 (define-public file-roller
7079 (package
7080 (name "file-roller")
7081 (version "3.38.0")
7082 (source (origin
7083 (method url-fetch)
7084 (uri (string-append "mirror://gnome/sources/file-roller/"
7085 (version-major+minor version) "/"
7086 "file-roller-" version ".tar.xz"))
7087 (sha256
7088 (base32
7089 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7090 (build-system meson-build-system)
7091 (native-inputs
7092 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7093 ("intltool" ,intltool)
7094 ("itstool" ,itstool)
7095 ("pkg-config" ,pkg-config)
7096 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7097 ("glib:bin" ,glib "bin")))
7098 ;; TODO: Add libnautilus.
7099 (inputs
7100 `(("gtk+" ,gtk+)
7101 ("gdk-pixbuf" ,gdk-pixbuf)
7102 ("json-glib" ,json-glib)
7103 ("libarchive" ,libarchive)
7104 ("libnotify" ,libnotify)
7105 ("nettle" ,nettle)
7106 ("libxml2" ,libxml2)))
7107 (synopsis "Graphical archive manager for GNOME")
7108 (description "File Roller is an archive manager for the GNOME desktop
7109 environment that allows users to view, unpack, and create compressed archives
7110 such as gzip tarballs.")
7111 (home-page "http://fileroller.sourceforge.net/")
7112 (license license:gpl2+)))
7113
7114 (define-public gnome-session
7115 (package
7116 (name "gnome-session")
7117 (version "3.34.2")
7118 (source (origin
7119 (method url-fetch)
7120 (uri (string-append "mirror://gnome/sources/" name "/"
7121 (version-major+minor version) "/"
7122 name "-" version ".tar.xz"))
7123 (sha256
7124 (base32
7125 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7126 (arguments
7127 '(#:glib-or-gtk? #t
7128 #:phases
7129 (modify-phases %standard-phases
7130 (add-before 'configure 'pre-configure
7131 (lambda* (#:key outputs #:allow-other-keys)
7132 ;; Use elogind instead of systemd.
7133 (substitute* "meson.build"
7134 (("libsystemd-login") "libelogind")
7135 (("and libsystemd_daemon_dep.found.*") ","))
7136 (substitute* "gnome-session/gsm-systemd.c"
7137 (("#include <systemd/sd-login.h>")
7138 "#include <elogind/sd-login.h>"))
7139 ;; Remove uses of the systemd daemon.
7140 (substitute* "gnome-session/gsm-autostart-app.c"
7141 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7142 #t))
7143 (add-after 'install 'wrap-gnome-session
7144 (lambda* (#:key inputs outputs #:allow-other-keys)
7145 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7146 (let ((glib (assoc-ref inputs "glib:bin"))
7147 (out (assoc-ref outputs "out")))
7148 (wrap-program (string-append out "/bin/gnome-session")
7149 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7150 #t))))
7151
7152 #:configure-flags
7153 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7154 "-Dman=false" ; FIXME: disabled because of docbook validation error
7155 "-Dsystemd_journal=false")))
7156 (build-system meson-build-system)
7157 (native-inputs
7158 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7159 ("pkg-config" ,pkg-config)
7160 ("intltool" ,intltool)
7161 ("xsltproc" ,libxslt)
7162 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7163 ("docbook-xsl" ,docbook-xsl)
7164 ("docbook-xml" ,docbook-xml)
7165 ("xmlto" ,xmlto)))
7166 (inputs
7167 `(("elogind" ,elogind)
7168 ("gnome-desktop" ,gnome-desktop)
7169 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7170 ("gtk+" ,gtk+)
7171 ("json-glib" ,json-glib)
7172 ("libsm" ,libsm)
7173 ("libxcomposite" ,libxcomposite)
7174 ("libxtst" ,libxtst)
7175 ("mesa" ,mesa)
7176 ("upower" ,upower)
7177 ("xtrans" ,xtrans)))
7178 (synopsis "Session manager for GNOME")
7179 (description
7180 "This package contains the GNOME session manager, as well as a
7181 configuration program to choose applications starting on login.")
7182 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7183 (license license:gpl2+)))
7184
7185 (define-public gjs
7186 (package
7187 (name "gjs")
7188 (version "1.58.3")
7189 (source (origin
7190 (method url-fetch)
7191 (uri (string-append "mirror://gnome/sources/" name "/"
7192 (version-major+minor version) "/"
7193 name "-" version ".tar.xz"))
7194 (sha256
7195 (base32
7196 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7197 (build-system gnu-build-system)
7198 (arguments
7199 '(#:phases
7200 (modify-phases %standard-phases
7201 (add-before
7202 'check 'pre-check
7203 (lambda _
7204 ;; The test suite requires a running X server.
7205 (system "Xvfb :1 &")
7206 (setenv "DISPLAY" ":1")
7207
7208 ;; For the missing /etc/machine-id.
7209 (setenv "DBUS_FATAL_WARNINGS" "0")
7210
7211 ;; Our mozjs-38 package does not compile the required Intl API
7212 ;; support for these failing tests.
7213 (substitute* "installed-tests/js/testLocale.js"
7214 ((".*toBeDefined.*") "")
7215 ((".*expect\\(datestr\\).*") ""))
7216 (substitute* "installed-tests/scripts/testCommandLine.sh"
7217 (("Valentín") "")
7218 (("☭") ""))
7219 #t)))))
7220 (native-inputs
7221 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7222 ("pkg-config" ,pkg-config)
7223 ("xmllint" ,libxml2)
7224 ;; For testing
7225 ("dbus-launch" ,dbus)
7226 ("dconf" ,dconf) ; required to properly store settings
7227 ("uuidgen" ,util-linux)
7228 ("xvfb" ,xorg-server-for-tests)))
7229 (propagated-inputs
7230 ;; These are all in the Requires.private field of gjs-1.0.pc.
7231 `(("cairo" ,cairo)
7232 ("gobject-introspection" ,gobject-introspection)
7233 ("mozjs" ,mozjs-60)))
7234 (inputs
7235 `(("gtk+" ,gtk+)
7236 ("readline" ,readline)))
7237 (synopsis "Javascript bindings for GNOME")
7238 (home-page "https://live.gnome.org/Gjs")
7239 (description
7240 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7241 javascript engine and the GObject introspection framework.")
7242 (license license:gpl2+)))
7243
7244 (define-public gedit
7245 (package
7246 (name "gedit")
7247 (version "3.34.1")
7248 (source (origin
7249 (method url-fetch)
7250 (uri (string-append "mirror://gnome/sources/" name "/"
7251 (version-major+minor version) "/"
7252 name "-" version ".tar.xz"))
7253 (sha256
7254 (base32
7255 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7256 (build-system meson-build-system)
7257 (arguments
7258 `(#:glib-or-gtk? #t
7259 #:configure-flags
7260 ;; Otherwise, the RUNPATH will lack the final path component.
7261 (list (string-append "-Dc_link_args=-Wl,-rpath="
7262 (assoc-ref %outputs "out") "/lib/gedit"))
7263
7264 ;; XXX: Generated .h files are sometimes used before being built.
7265 #:parallel-build? #f
7266
7267 #:phases
7268 (modify-phases %standard-phases
7269 (add-after 'unpack 'skip-gtk-update-icon-cache
7270 ;; Don't create 'icon-theme.cache'.
7271 (lambda _
7272 (substitute* "build-aux/meson/post_install.py"
7273 (("gtk-update-icon-cache") (which "true")))
7274 #t))
7275 (add-after 'unpack 'patch-libgd-fetch
7276 (lambda* (#:key inputs #:allow-other-keys)
7277 (let ((libgd (assoc-ref inputs "libgd")))
7278 ;; Calling git is unnecessary because libgd is fetched as a
7279 ;; native input to this package.
7280 (substitute* "meson.build"
7281 ((".*git.*") ""))
7282 (copy-recursively libgd "subprojects/libgd")
7283 #t)))
7284 (add-after 'install 'wrap-gedit
7285 (lambda* (#:key inputs outputs #:allow-other-keys)
7286 (let ((out (assoc-ref outputs "out"))
7287 (gtksourceview (assoc-ref inputs "gtksourceview"))
7288 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7289 (python-path (getenv "PYTHONPATH")))
7290 (wrap-program (string-append out "/bin/gedit")
7291 ;; For plugins.
7292 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7293 `("PYTHONPATH" ":" prefix (,python-path))
7294 ;; For language-specs.
7295 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7296 "/share")))))
7297 #t)))))
7298 (propagated-inputs
7299 `(("dconf" ,dconf)))
7300 (native-inputs
7301 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7302 ("intltool" ,intltool)
7303 ("itstool" ,itstool)
7304 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7305 ("gobject-introspection" ,gobject-introspection)
7306 ("libgd"
7307 ,(origin
7308 (method git-fetch)
7309 (uri (git-reference
7310 (url "https://gitlab.gnome.org/GNOME/libgd")
7311 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7312 (file-name (git-file-name "libgd" version))
7313 (sha256
7314 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7315 ("pkg-config" ,pkg-config)))
7316 (inputs
7317 `(("glib" ,glib)
7318 ("gspell" ,gspell)
7319 ("gtk+" ,gtk+)
7320 ("gtksourceview" ,gtksourceview)
7321 ("libpeas" ,libpeas)
7322 ("libxml2" ,libxml2)
7323 ("iso-codes" ,iso-codes)
7324 ("python-pygobject" ,python-pygobject)
7325 ("python" ,python)
7326 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7327 ("libx11" ,libx11)
7328 ("vala" ,vala)
7329 ("adwaita-icon-theme" ,adwaita-icon-theme)
7330 ("libsoup" ,libsoup)
7331 ("gnome-desktop" ,gnome-desktop)))
7332 (home-page "https://wiki.gnome.org/Apps/Gedit")
7333 (synopsis "GNOME text editor")
7334 (description "While aiming at simplicity and ease of use, gedit is a
7335 powerful general purpose text editor.")
7336 (license license:gpl2+)))
7337
7338 (define-public zenity
7339 (package
7340 (name "zenity")
7341 (version "3.32.0")
7342 (source (origin
7343 (method url-fetch)
7344 (uri (string-append "mirror://gnome/sources/zenity/"
7345 (version-major+minor version) "/"
7346 "zenity-" version ".tar.xz"))
7347 (sha256
7348 (base32
7349 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7350 (build-system gnu-build-system)
7351 (native-inputs
7352 `(("gettext" ,gettext-minimal)
7353 ("itstool" ,itstool)
7354 ("pkg-config" ,pkg-config)))
7355 (inputs
7356 `(("libnotify" ,libnotify)
7357 ("webkitgtk" ,webkitgtk)))
7358 (synopsis "Display graphical dialog boxes from shell scripts")
7359 (home-page "https://www.gnome.org")
7360 (description
7361 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7362 to display dialog boxes from the commandline and shell scripts.")
7363 (license license:lgpl2.0+)))
7364
7365 (define-public mutter
7366 (package
7367 (name "mutter")
7368 (version "3.34.2")
7369 (source (origin
7370 (method url-fetch)
7371 (uri (string-append "mirror://gnome/sources/" name "/"
7372 (version-major+minor version) "/"
7373 name "-" version ".tar.xz"))
7374 (sha256
7375 (base32
7376 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7377 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7378 ;; versions of cogl and clutter. As a result, many of the inputs,
7379 ;; propagated-inputs, and configure flags used in cogl and clutter are
7380 ;; needed here as well.
7381 (build-system meson-build-system)
7382 (arguments
7383 '(;; XXX: All mutter tests fail with the following error:
7384 ;; Settings schema 'org.gnome.mutter' is not installed
7385 #:tests? #f
7386 #:glib-or-gtk? #t
7387 #:configure-flags
7388 ;; TODO: Enable profiler when Sysprof is packaged.
7389 (list "-Dprofiler=false"
7390 ;; Otherwise, the RUNPATH will lack the final path component.
7391 (string-append "-Dc_link_args=-Wl,-rpath="
7392 (assoc-ref %outputs "out") "/lib:"
7393 (assoc-ref %outputs "out") "/lib/mutter-5")
7394
7395 ;; The following flags are needed for the bundled clutter
7396 (string-append "-Dxwayland_path="
7397 (assoc-ref %build-inputs "xorg-server-xwayland")
7398 "/bin/Xwayland")
7399
7400 ;; the remaining flags are needed for the bundled cogl
7401 (string-append "-Dopengl_libname="
7402 (assoc-ref %build-inputs "mesa")
7403 "/lib/libGL.so"))
7404 #:phases (modify-phases %standard-phases
7405 (add-after 'unpack 'fix-build-with-mesa-20
7406 (lambda _
7407 ;; Mimic upstream commit a444a4c5f58ea516ad for
7408 ;; compatibility with Mesa 20. Remove for 3.36.
7409 (substitute* '("src/backends/meta-egl-ext.h"
7410 "src/backends/meta-egl.c"
7411 "src/backends/meta-egl.h")
7412 (("#include <EGL/eglext\\.h>" all)
7413 (string-append all "\n#include <EGL/eglmesaext.h>")))
7414 (substitute* "cogl/cogl/meson.build"
7415 (("#include <EGL/eglext\\.h>" all)
7416 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7417 #t)))))
7418 (native-inputs
7419 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7420 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7421 ("gobject-introspection" ,gobject-introspection)
7422 ("intltool" ,intltool)
7423 ("pkg-config" ,pkg-config)
7424 ("xorg-server" ,xorg-server-for-tests)
7425 ;; For git build
7426 ("autoconf" ,autoconf)
7427 ("automake" ,automake)
7428 ("libtool" ,libtool)))
7429 (propagated-inputs
7430 `(;; libmutter.pc refers to these:
7431 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7432 ("gtk+" ,gtk+)
7433 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7434 ("atk" ,atk)
7435 ("cairo" ,cairo)
7436 ("gdk-pixbuf" ,gdk-pixbuf)
7437 ("glib" ,glib)
7438 ("json-glib" ,json-glib)
7439 ("libinput" ,libinput)
7440 ("libx11" ,libx11)
7441 ("libxcomposite" ,libxcomposite)
7442 ("libxdamage" ,libxdamage)
7443 ("libxext" ,libxext)
7444 ("libxfixes" ,libxfixes)
7445 ("libxkbcommon" ,libxkbcommon)
7446 ("libxrandr" ,libxrandr)
7447 ("mesa" ,mesa)
7448 ("pango" ,pango)
7449 ("udev" ,eudev)
7450 ("xinput" ,xinput)))
7451 (inputs
7452 `(("elogind" ,elogind)
7453 ("gnome-desktop" ,gnome-desktop)
7454 ("gnome-settings-daemon" ,gnome-settings-daemon)
7455 ("libcanberra-gtk" ,libcanberra)
7456 ("libgudev" ,libgudev)
7457 ("libice" ,libice)
7458 ("libsm" ,libsm)
7459 ("libwacom" ,libwacom)
7460 ("libxkbfile" ,libxkbfile)
7461 ("libxrandr" ,libxrandr)
7462 ("libxtst" ,libxtst)
7463 ("pipewire" ,pipewire)
7464 ("startup-notification" ,startup-notification)
7465 ("upower-glib" ,upower)
7466 ("xkeyboard-config" ,xkeyboard-config)
7467 ("xorg-server-xwayland" ,xorg-server-xwayland)
7468 ("zenity" ,zenity)))
7469 (synopsis "Window and compositing manager")
7470 (home-page "https://www.gnome.org")
7471 (description
7472 "Mutter is a window and compositing manager that displays and manages your
7473 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7474 Clutter toolkit with solid window-management logic inherited from the Metacity
7475 window manager.")
7476 (license license:gpl2+)))
7477
7478 (define-public gnome-online-accounts
7479 (package
7480 (name "gnome-online-accounts")
7481 (version "3.36.0")
7482 (source (origin
7483 (method url-fetch)
7484 (uri (string-append "mirror://gnome/sources/" name "/"
7485 (version-major+minor version) "/"
7486 name "-" version ".tar.xz"))
7487 (sha256
7488 (base32
7489 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7490 (outputs '("out" "lib"))
7491 (build-system glib-or-gtk-build-system)
7492 (arguments
7493 `(#:configure-flags
7494 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7495 #:phases
7496 (modify-phases %standard-phases
7497 (add-before 'configure 'patch-libgoa-output
7498 (lambda* (#:key outputs #:allow-other-keys)
7499 (let ((lib (assoc-ref outputs "lib")))
7500 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7501 (("@prefix@") lib)
7502 (("@exec_prefix@") lib)
7503 (("@libdir@") (string-append lib "/lib"))
7504 (("@includedir@") (string-append lib "/include"))
7505 (("@datadir@") (string-append lib "/share")))
7506 ;; Make sure gobject-introspection knows about the output
7507 ;; too (see <https://bugs.gnu.org/36535>).
7508 (setenv "outputs" "out lib")
7509 #t))))))
7510 (native-inputs
7511 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7512 ("gobject-introspection" ,gobject-introspection)
7513 ("intltool" ,intltool)
7514 ("pkg-config" ,pkg-config)
7515 ("vala" ,vala)
7516 ("xsltproc" ,libxslt)))
7517 (propagated-inputs
7518 `(("glib" ,glib) ; required by goa-1.0.pc
7519 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7520 (inputs
7521 `(("docbook-xsl" ,docbook-xsl)
7522 ("json-glib" ,json-glib)
7523 ("libsecret" ,libsecret)
7524 ("rest" ,rest)
7525 ("webkitgtk" ,webkitgtk)))
7526 (synopsis "Single sign-on framework for GNOME")
7527 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7528 (description
7529 "GNOME Online Accounts provides interfaces so that applications and
7530 libraries in GNOME can access the user's online accounts. It has providers for
7531 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7532 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7533 (license license:lgpl2.0+)))
7534
7535 (define-public evolution-data-server
7536 (package
7537 (name "evolution-data-server")
7538 (version "3.34.2")
7539 (source (origin
7540 (method url-fetch)
7541 (uri (string-append "mirror://gnome/sources/" name "/"
7542 (version-major+minor version) "/"
7543 name "-" version ".tar.xz"))
7544 (patches (search-patches "evolution-data-server-locales.patch"
7545 "evolution-data-server-libical-compat.patch"
7546 "evolution-data-server-CVE-2020-14928.patch"
7547 "evolution-data-server-CVE-2020-16117.patch"))
7548 (sha256
7549 (base32
7550 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7551 (build-system cmake-build-system)
7552 (arguments
7553 '(#:configure-flags
7554 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7555 (runpaths (map (lambda (s)
7556 (string-append lib "/evolution-data-server/" s))
7557 '("addressbook-backends" "calendar-backends"
7558 "camel-providers" "credential-modules"
7559 "registry-modules"))))
7560 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7561 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7562 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7563 "-DENABLE_VALA_BINDINGS=ON"
7564 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7565 (string-append lib "/evolution-data-server;")
7566 (string-join runpaths ";"))
7567 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7568 #:phases
7569 (modify-phases %standard-phases
7570 (add-after 'unpack 'disable-failing-tests
7571 (lambda _
7572 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7573 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7574 (delete-file-recursively "tests/book-migration")
7575 (substitute* "tests/CMakeLists.txt"
7576 (("add_subdirectory\\(book-migration\\)") ""))
7577 #t))
7578 (add-after 'unpack 'patch-paths
7579 (lambda _
7580 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7581 "tests/libedata-book/data-test-utils.c"
7582 "tests/libedata-book/test-book-cache-utils.c"
7583 "tests/libedata-cal/test-cal-cache-utils.c")
7584 (("/bin/rm") (which "rm")))
7585 #t))
7586 (add-before 'configure 'dont-override-rpath
7587 (lambda _
7588 (substitute* "CMakeLists.txt"
7589 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7590 ;; Remove it so the configure flag is respected.
7591 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7592 #t)))))
7593 (native-inputs
7594 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7595 ("gobject-introspection" ,gobject-introspection)
7596 ("gperf" ,gperf)
7597 ("intltool" ,intltool)
7598 ("pkg-config" ,pkg-config)
7599 ("vala" ,vala)
7600 ("python" ,python-wrapper)))
7601 (propagated-inputs
7602 ;; These are all in the Requires field of .pc files.
7603 `(("gtk+" ,gtk+)
7604 ("libical" ,libical)
7605 ("libsecret" ,libsecret)
7606 ("libsoup" ,libsoup)
7607 ("nss" ,nss)
7608 ("sqlite" ,sqlite)))
7609 (inputs
7610 `(("bdb" ,bdb)
7611 ("gcr" ,gcr)
7612 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7613 ("json-glib" ,json-glib)
7614 ("libcanberra" ,libcanberra)
7615 ("libgweather" ,libgweather)
7616 ("mit-krb5" ,mit-krb5)
7617 ("openldap" ,openldap)
7618 ("webkitgtk" ,webkitgtk)))
7619 (synopsis "Store address books and calendars")
7620 (home-page "https://wiki.gnome.org/Apps/Evolution")
7621 (description
7622 "This package provides a unified backend for programs that work with
7623 contacts, tasks, and calendar information. It was originally developed for
7624 Evolution (hence the name), but is now used by other packages as well.")
7625 (license license:lgpl2.0)))
7626
7627 (define-public caribou
7628 (package
7629 (name "caribou")
7630 (version "0.4.21")
7631 (source (origin
7632 (method url-fetch)
7633 (uri (string-append "mirror://gnome/sources/" name "/"
7634 (version-major+minor version) "/"
7635 name "-" version ".tar.xz"))
7636 (sha256
7637 (base32
7638 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7639 (build-system glib-or-gtk-build-system)
7640 (arguments
7641 '(#:phases
7642 (modify-phases %standard-phases
7643 (add-before
7644 'build 'pre-build
7645 (lambda* (#:key outputs #:allow-other-keys)
7646 (let ((out (assoc-ref outputs "out")))
7647 ;; Use absolute shared library path in Caribou-1.0.typelib.
7648 (substitute* "libcaribou/Makefile"
7649 (("--shared-library=libcaribou.so")
7650 (string-append "--shared-library="
7651 out "/lib/libcaribou.so")))
7652 #t)))
7653 (add-after 'install 'wrap-programs
7654 (lambda* (#:key outputs #:allow-other-keys)
7655 (let* ((out (assoc-ref outputs "out"))
7656 (python-path (getenv "PYTHONPATH"))
7657 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7658 (for-each
7659 (lambda (prog)
7660 (wrap-program prog
7661 `("PYTHONPATH" ":" prefix (,python-path))
7662 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7663 (list (string-append out "/bin/caribou-preferences")
7664 (string-append out "/libexec/antler-keyboard"))))
7665 #t)))))
7666 (native-inputs
7667 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7668 ("gobject-introspection" ,gobject-introspection)
7669 ("intltool" ,intltool)
7670 ("pkg-config" ,pkg-config)
7671 ("python" ,python)
7672 ("vala" ,vala)
7673 ("xsltproc" ,libxslt)))
7674 (propagated-inputs
7675 ;; caribou-1.0.pc refers to all these.
7676 `(("libgee" ,libgee)
7677 ("libxklavier" ,libxklavier)
7678 ("libxtst" ,libxtst)
7679 ("gtk+" ,gtk+)))
7680 (inputs
7681 `(("clutter" ,clutter)
7682 ("dconf" ,dconf)
7683 ("gtk+-2" ,gtk+-2)
7684 ("python-pygobject" ,python-pygobject)))
7685 (synopsis "Text entry and UI navigation application")
7686 (home-page "https://wiki.gnome.org/Projects/Caribou")
7687 (description
7688 "Caribou is an input assistive technology intended for switch and pointer
7689 users.")
7690 (license license:lgpl2.1)))
7691
7692 (define-public network-manager
7693 (package
7694 (name "network-manager")
7695 (version "1.24.0")
7696 (source (origin
7697 (method url-fetch)
7698 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7699 (version-major+minor version) "/"
7700 "NetworkManager-" version ".tar.xz"))
7701 (patches (search-patches "network-manager-plugin-path.patch"))
7702 (sha256
7703 (base32
7704 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7705 (modules '((guix build utils)))
7706 (snippet
7707 '(begin
7708 (substitute* "src/devices/wwan/nm-modem-manager.c"
7709 (("systemd") "elogind"))
7710 #t))))
7711 (build-system meson-build-system)
7712 (outputs '("out"
7713 "doc")) ; 8 MiB of gtk-doc HTML
7714 (arguments
7715 `(#:configure-flags
7716 (let ((out (assoc-ref %outputs "out"))
7717 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7718 "/sbin/dhclient")))
7719 (list
7720 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7721 ;; component.
7722 (string-append "-Dc_link_args=-Wl,-rpath="
7723 out "/lib:"
7724 out "/lib/NetworkManager/" ,version)
7725 "-Dsystemd_journal=false"
7726 "-Dsession_tracking=elogind"
7727 "-Dsuspend_resume=elogind"
7728 "-Dsystemdsystemunitdir=no"
7729 "-Dsession_tracking_consolekit=false"
7730 "-Ddhcpcd=no"
7731 "-Ddhcpcanon=no"
7732 "-Dcrypto=gnutls"
7733 "-Diwd=true"
7734 "-Dlibaudit=yes"
7735 "-Dqt=false"
7736 "-Ddocs=true"
7737 "--sysconfdir=/etc"
7738 "--localstatedir=/var"
7739 (string-append "-Dudev_dir="
7740 out "/lib/udev")
7741 (string-append "-Ddbus_conf_dir="
7742 out "/etc/dbus-1/system.d")
7743
7744 (string-append "-Ddhclient=" dhclient)))
7745 #:phases
7746 (modify-phases %standard-phases
7747 (add-before 'configure 'pre-configure
7748 (lambda _
7749 ;; These tests try to test aspects of network-manager's
7750 ;; functionality within restricted containers, but they don't
7751 ;; cope with being already in the Guix build jail as that jail
7752 ;; lacks some features that they would like to proxy over (like
7753 ;; a /sys mount).
7754 (substitute* "src/platform/tests/meson.build"
7755 ((".*test-address-linux.*") "")
7756 ((".*test-cleanup-linux.*") "")
7757 ((".*test-link-linux.*") "")
7758 ((".*test-route-linux.*") ""))
7759 (substitute* "src/devices/tests/meson.build"
7760 ((".*test-acd.*") "")
7761 ((".*test-lldp.*") ""))
7762 #t))
7763 (add-after 'unpack 'patch-docbook-xml
7764 (lambda* (#:key inputs #:allow-other-keys)
7765 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7766 "/xml/dtd/docbook")))
7767 (substitute* (find-files "." ".*\\.(xsl|xml)")
7768 (("http://.*/docbookx\\.dtd")
7769 (string-append xmldoc "/docbookx.dtd")))
7770 #t)))
7771 (add-before 'check 'pre-check
7772 (lambda _
7773 ;; For the missing /etc/machine-id.
7774 (setenv "DBUS_FATAL_WARNINGS" "0")
7775 #t))
7776 (add-before 'install 'no-polkit-magic
7777 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7778 (lambda _
7779 (setenv "PKEXEC_UID" "something")
7780 #t))
7781 (add-after 'install 'move-doc
7782 (lambda* (#:key outputs #:allow-other-keys)
7783 (let ((out (assoc-ref outputs "out"))
7784 (doc (assoc-ref outputs "doc")))
7785 (mkdir-p (string-append doc "/share"))
7786 (for-each (lambda (directory)
7787 (copy-recursively (string-append out directory)
7788 (string-append doc directory))
7789 (delete-file-recursively
7790 (string-append out directory)))
7791 '("/share/doc" "/share/gtk-doc"))
7792 #t))))))
7793 (propagated-inputs
7794 `(("glib" ,glib)))
7795 (native-inputs
7796 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7797 ("gtk-doc" ,gtk-doc/stable)
7798 ("gobject-introspection" ,gobject-introspection)
7799 ("docbook-xml" ,docbook-xml)
7800 ("docbook-xsl" ,docbook-xsl)
7801 ("intltool" ,intltool)
7802 ("libxslt" ,libxslt)
7803 ("libxml2" ,libxml2)
7804 ("pkg-config" ,pkg-config)
7805 ("vala" ,vala)
7806 ;; For testing.
7807 ("python" ,python-wrapper)
7808 ("python-dbus" ,python-dbus)
7809 ("python-pygobject" ,python-pygobject)))
7810 (inputs
7811 `(("curl" ,curl)
7812 ("cyrus-sasl" ,cyrus-sasl)
7813 ("dbus-glib" ,dbus-glib)
7814 ("dnsmasq" ,dnsmasq)
7815 ("eudev" ,eudev)
7816 ("gnutls" ,gnutls)
7817 ("iptables" ,iptables)
7818 ("isc-dhcp" ,isc-dhcp)
7819 ("iwd" ,iwd) ; wpa_supplicant alternative
7820 ("jansson" ,jansson)
7821 ("libaudit" ,audit)
7822 ("libgcrypt" ,libgcrypt)
7823 ("libgudev" ,libgudev)
7824 ("libndp" ,libndp)
7825 ("libnl" ,libnl)
7826 ("libsoup" ,libsoup)
7827 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7828 ("modem-manager" ,modem-manager)
7829 ("newt" ,newt) ;for the 'nmtui' console interface
7830 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7831 ("polkit" ,polkit)
7832 ("ppp" ,ppp)
7833 ("readline" ,readline)
7834 ("util-linux" ,util-linux)
7835 ("elogind" ,elogind)))
7836 (synopsis "Network connection manager")
7837 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7838 (description
7839 "NetworkManager is a system network service that manages your network
7840 devices and connections, attempting to keep active network connectivity when
7841 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7842 devices, and provides VPN integration with a variety of different VPN
7843 services.")
7844 ;; “This NetworkManager project consists of the daemon, client tools, and
7845 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7846 ;; GPL-2.0+.”
7847 (license (list license:gpl2+
7848 license:lgpl2.1+))
7849 (properties '((upstream-name . "NetworkManager")))))
7850
7851 (define-public network-manager-openvpn
7852 (package
7853 (name "network-manager-openvpn")
7854 (version "1.8.12")
7855 (source (origin
7856 (method url-fetch)
7857 (uri (string-append
7858 "mirror://gnome/sources/NetworkManager-openvpn/"
7859 (version-major+minor version)
7860 "/NetworkManager-openvpn-" version ".tar.xz"))
7861 (sha256
7862 (base32
7863 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7864 (build-system gnu-build-system)
7865 (arguments
7866 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7867 #:phases
7868 (modify-phases %standard-phases
7869 (add-after 'configure 'patch-path
7870 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7871 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7872 "/sbin/openvpn"))
7873 (modprobe (string-append (assoc-ref inputs "kmod")
7874 "/bin/modprobe"))
7875 (pretty-ovpn (string-append "\"" ovpn "\"")))
7876 (for-each
7877 (lambda (file)
7878 (substitute* file
7879 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7880 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7881 (("\"/sbin/openvpn\"") pretty-ovpn)
7882 (("/sbin/modprobe") modprobe)))
7883 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7884 #t)))))
7885 (native-inputs
7886 `(("pkg-config" ,pkg-config)
7887 ("intltool" ,intltool)))
7888 (inputs
7889 `(("gtk+" ,gtk+)
7890 ("kmod" ,kmod)
7891 ("openvpn" ,openvpn)
7892 ("network-manager" ,network-manager)
7893 ("libnma" ,libnma)
7894 ("libsecret" ,libsecret)))
7895 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7896 (synopsis "OpenVPN plug-in for NetworkManager")
7897 (description
7898 "This extension of NetworkManager allows it to take care of connections
7899 to virtual private networks (VPNs) via OpenVPN.")
7900 (license license:gpl2+)
7901 (properties `((upstream-name . "NetworkManager-openvpn")))))
7902
7903 (define-public network-manager-vpnc
7904 (package
7905 (name "network-manager-vpnc")
7906 (version "1.2.6")
7907 (source (origin
7908 (method url-fetch)
7909 (uri (string-append
7910 "mirror://gnome/sources/NetworkManager-vpnc/"
7911 (version-major+minor version)
7912 "/NetworkManager-vpnc-" version ".tar.xz"))
7913 (sha256
7914 (base32
7915 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7916 (build-system gnu-build-system)
7917 (arguments
7918 `(#:configure-flags '("--enable-absolute-paths"
7919 "--localstatedir=/var"
7920 ;; libnm-glib has been removed from network-manager
7921 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7922 "--with-libnm-glib=no")
7923 #:phases
7924 (modify-phases %standard-phases
7925 (add-after 'configure 'patch-path
7926 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7927 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7928 "/sbin/vpnc"))
7929 (modprobe (string-append (assoc-ref inputs "kmod")
7930 "/bin/modprobe"))
7931 (pretty-ovpn (string-append "\"" vpnc "\"")))
7932 (substitute* "src/nm-vpnc-service.c"
7933 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7934 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7935 (("\"/sbin/vpnc\"") pretty-ovpn)
7936 (("/sbin/modprobe") modprobe)))
7937 #t)))))
7938 (native-inputs
7939 `(("pkg-config" ,pkg-config)
7940 ("intltool" ,intltool)))
7941 (inputs
7942 `(("gtk+" ,gtk+)
7943 ("kmod" ,kmod)
7944 ("vpnc" ,vpnc)
7945 ("network-manager" ,network-manager)
7946 ("libnma" ,libnma)
7947 ("libsecret" ,libsecret)))
7948 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7949 (synopsis "VPNC plug-in for NetworkManager")
7950 (description
7951 "Support for configuring virtual private networks based on VPNC.
7952 Compatible with Cisco VPN concentrators configured to use IPsec.")
7953 (license license:gpl2+)
7954 (properties `((upstream-name . "NetworkManager-vpnc")))))
7955
7956 (define-public network-manager-openconnect
7957 (package
7958 (name "network-manager-openconnect")
7959 (version "1.2.6")
7960 (source (origin
7961 (method url-fetch)
7962 (uri (string-append
7963 "mirror://gnome/sources/NetworkManager-openconnect/"
7964 (version-major+minor version)
7965 "/NetworkManager-openconnect-" version ".tar.xz"))
7966 (sha256
7967 (base32
7968 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7969 (build-system gnu-build-system)
7970 (arguments
7971 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7972 #:phases
7973 (modify-phases %standard-phases
7974 (add-after 'configure 'patch-path
7975 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7976 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7977 "/sbin/openconnect"))
7978 (modprobe (string-append (assoc-ref inputs "kmod")
7979 "/bin/modprobe"))
7980 (pretty-ovpn (string-append "\"" openconnect "\"")))
7981 (substitute* "src/nm-openconnect-service.c"
7982 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7983 (("/sbin/modprobe") modprobe)))
7984 #t)))))
7985 (native-inputs
7986 `(("intltool" ,intltool)
7987 ("libnma" ,libnma)
7988 ("pkg-config" ,pkg-config)))
7989 (inputs
7990 `(("gcr" ,gcr)
7991 ("gtk+" ,gtk+)
7992 ("kmod" ,kmod)
7993 ("libsecret" ,libsecret)
7994 ("libxml2" ,libxml2)
7995 ("lz4" ,lz4)
7996 ("network-manager" ,network-manager)
7997 ("openconnect" ,openconnect)))
7998 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7999 (synopsis "OpenConnect plug-in for NetworkManager")
8000 (description
8001 "This extension of NetworkManager allows it to take care of connections
8002 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8003 Cisco's AnyConnect SSL VPN.")
8004 (license license:gpl2+)
8005 (properties `((upstream-name . "NetworkManager-openconnect")
8006
8007 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8008 ;; file refers to account "nm-openconnect". Specify it here
8009 ;; so that 'network-manager-service-type' creates it.
8010 (user-accounts . ("nm-openconnect"))))))
8011
8012 (define-public mobile-broadband-provider-info
8013 (package
8014 (name "mobile-broadband-provider-info")
8015 (version "20190116")
8016 (source (origin
8017 (method url-fetch)
8018 (uri (string-append
8019 "mirror://gnome/sources/"
8020 "mobile-broadband-provider-info/" version "/"
8021 "mobile-broadband-provider-info-" version ".tar.xz"))
8022 (sha256
8023 (base32
8024 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8025 (build-system gnu-build-system)
8026 (arguments
8027 `(#:tests? #f)) ; no tests
8028 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8029 (synopsis "Database of broadband connection configuration")
8030 (description "Database of broadband connection configuration.")
8031 (license license:public-domain)))
8032
8033 (define-public network-manager-applet
8034 (package
8035 (name "network-manager-applet")
8036 (version "1.20.0")
8037 (source (origin
8038 (method url-fetch)
8039 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8040 (version-major+minor version) "/"
8041 "network-manager-applet-" version ".tar.xz"))
8042 (sha256
8043 (base32
8044 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8045 (build-system meson-build-system)
8046 (arguments
8047 '(#:glib-or-gtk? #t
8048 #:configure-flags
8049 '("-Dappindicator=yes")))
8050 (native-inputs
8051 `(("intltool" ,intltool)
8052 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8053 ("gobject-introspection" ,gobject-introspection)
8054 ("gtk-doc" ,gtk-doc/stable)
8055 ("pkg-config" ,pkg-config)))
8056 (propagated-inputs
8057 ;; libnm-gtk.pc refers to all these.
8058 `(("dbus-glib" ,dbus-glib)
8059 ("gtk+" ,gtk+)
8060 ("network-manager" ,network-manager)
8061 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8062 ("libnma" ,libnma)))
8063 (inputs
8064 `(("gcr" ,gcr)
8065 ("libappindicator" ,libappindicator)
8066 ("libgudev" ,libgudev)
8067 ("libnotify" ,libnotify)
8068 ("libsecret" ,libsecret)
8069 ("libselinux" ,libselinux)
8070 ("jansson" ,jansson) ; for team support
8071 ("modem-manager" ,modem-manager)))
8072 (synopsis "Applet for managing network connections")
8073 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8074 (description
8075 "This package contains a systray applet for NetworkManager. It displays
8076 the available networks and allows users to easily switch between them.")
8077 (license license:gpl2+)))
8078
8079 (define-public libxml++
8080 (package
8081 (name "libxml++")
8082 (version "3.0.1")
8083 (source (origin
8084 (method url-fetch)
8085 (uri (string-append "mirror://gnome/sources/" name "/"
8086 (version-major+minor version) "/"
8087 name "-" version ".tar.xz"))
8088 (sha256
8089 (base32
8090 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8091 (build-system gnu-build-system)
8092 ;; libxml++-3.0.pc refers to all these.
8093 (propagated-inputs
8094 `(("libxml2" ,libxml2)
8095 ("glibmm" ,glibmm)))
8096 (native-inputs
8097 `(("perl" ,perl)
8098 ("pkg-config" ,pkg-config)))
8099 (home-page "http://libxmlplusplus.sourceforge.net/")
8100 (synopsis "C++ wrapper for XML parser library libxml2")
8101 (description
8102 "This package provides a C++ wrapper for the XML parser library
8103 libxml2.")
8104 (license license:lgpl2.1+)))
8105
8106 (define-public libxml++-2
8107 (package
8108 (inherit libxml++)
8109 (name "libxml++")
8110 (version "2.40.1")
8111 (source (origin
8112 (method url-fetch)
8113 (uri (string-append "mirror://gnome/sources/" name "/"
8114 (version-major+minor version) "/"
8115 name "-" version ".tar.xz"))
8116 (sha256
8117 (base32
8118 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8119
8120 (define-public gdm
8121 (package
8122 (name "gdm")
8123 (version "3.34.1")
8124 (source (origin
8125 (method url-fetch)
8126 (uri (string-append "mirror://gnome/sources/" name "/"
8127 (version-major+minor version) "/"
8128 name "-" version ".tar.xz"))
8129 (sha256
8130 (base32
8131 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8132 (patches (search-patches "gdm-default-session.patch"))))
8133 (build-system glib-or-gtk-build-system)
8134 (arguments
8135 '(#:configure-flags
8136 `("--without-plymouth"
8137 "--disable-systemd-journal"
8138
8139 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8140 ;; instead of having to replace it (i.e., stopping the mingetty
8141 ;; service for TTY 1 before starting GDM).
8142 "--with-initial-vt=7"
8143
8144 ;; Use '/etc/environment' for locale settings instead of the
8145 ;; systemd-specific '/etc/locale.conf'.
8146 "--with-lang-file=/etc/environment"
8147
8148 ,(string-append "--with-udevdir="
8149 (assoc-ref %outputs "out") "/lib/udev")
8150
8151 "--localstatedir=/var"
8152 ,(string-append "--with-default-path="
8153 (string-join '("/run/setuid-programs"
8154 "/run/current-system/profile/bin"
8155 "/run/current-system/profile/sbin")
8156 ":"))
8157 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8158 ;; XDG_DATA_DIRS so that it finds its schemas.
8159 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8160 #:phases
8161 (modify-phases %standard-phases
8162 (add-before
8163 'configure 'pre-configure
8164 (lambda* (#:key inputs outputs #:allow-other-keys)
8165 ;; We don't have <systemd/sd-daemon.h>.
8166 (substitute* '("common/gdm-log.c"
8167 "daemon/gdm-server.c"
8168 "daemon/gdm-session-worker.c"
8169 "daemon/gdm-session-worker-job.c")
8170 (("#include <systemd/sd-daemon\\.h>") ""))
8171 ;; Use elogind for sd-login.
8172 (substitute* '("common/gdm-common.c"
8173 "daemon/gdm-local-display-factory.c"
8174 "daemon/gdm-manager.c"
8175 "libgdm/gdm-user-switching.c")
8176 (("#include <systemd/sd-login\\.h>")
8177 "#include <elogind/sd-login.h>"))
8178 ;; Check for elogind.
8179 (substitute* '("configure")
8180 (("libsystemd")
8181 "libelogind"))
8182 ;; Look for system-installed sessions in
8183 ;; /run/current-system/profile/share.
8184 (substitute* '("libgdm/gdm-sessions.c"
8185 "daemon/gdm-session.c"
8186 "daemon/gdm-display.c"
8187 "daemon/gdm-launch-environment.c")
8188 (("DATADIR \"/x")
8189 "\"/run/current-system/profile/share/x")
8190 (("DATADIR \"/wayland")
8191 "\"/run/current-system/profile/share/wayland")
8192 (("DATADIR \"/gnome")
8193 "\"/run/current-system/profile/share/gnome"))
8194 (let ((propagate '("GDM_CUSTOM_CONF"
8195 "GDM_DBUS_DAEMON"
8196 "GDM_X_SERVER"
8197 "GDM_X_SESSION"
8198 ;; XXX: Remove this once GNOME Shell is
8199 ;; a dependency of GDM.
8200 "XDG_DATA_DIRS")))
8201 (substitute* "daemon/gdm-session.c"
8202 (("set_up_session_environment \\(self\\);")
8203 (apply string-append
8204 "set_up_session_environment (self);\n"
8205 (map (lambda (name)
8206 (string-append
8207 "gdm_session_set_environment_variable "
8208 "(self, \"" name "\","
8209 "g_getenv (\"" name "\"));\n"))
8210 propagate)))))
8211 ;; Find the configuration file using an environment variable.
8212 (substitute* '("common/gdm-settings.c")
8213 (("GDM_CUSTOM_CONF")
8214 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8215 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8216 " : GDM_CUSTOM_CONF)")))
8217 ;; Use service-supplied path to X.
8218 (substitute* '("daemon/gdm-server.c")
8219 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8220 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8221 (substitute* '("daemon/gdm-wayland-session.c"
8222 "daemon/gdm-x-session.c")
8223 (("\"dbus-daemon\"")
8224 "g_getenv (\"GDM_DBUS_DAEMON\")")
8225 (("X_SERVER")
8226 "g_getenv (\"GDM_X_SERVER\")")
8227 (("GDMCONFDIR \"/Xsession\"")
8228 "g_getenv (\"GDM_X_SESSION\")"))
8229 ;; Use an absolute path for GNOME Session.
8230 (substitute* "daemon/gdm-launch-environment.c"
8231 (("\"gnome-session\"")
8232 (string-append "\"" (assoc-ref inputs "gnome-session")
8233 "/bin/gnome-session\"")))
8234 ;; Do not automatically select the placeholder session.
8235 (substitute* "daemon/gdm-session.c"
8236 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8237 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8238 "(g_strcmp0(search_dirs[i], \""
8239 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8240 "\") == 0 && "
8241 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8242 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8243 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8244 #t))
8245 ;; GDM requires that there be at least one desktop entry
8246 ;; file. This phase installs a hidden one that simply
8247 ;; fails. This enables users to use GDM with a
8248 ;; '~/.xsession' script with no other desktop entry files.
8249 ;; See <https://bugs.gnu.org/35068>.
8250 (add-after 'install 'install-placeholder-desktop-entry
8251 (lambda* (#:key inputs outputs #:allow-other-keys)
8252 (let* ((out (assoc-ref outputs "out"))
8253 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8254 (fail (string-append sessions "/fail.desktop")))
8255 (mkdir-p sessions)
8256 (with-output-to-file fail
8257 (lambda ()
8258 (for-each
8259 display
8260 '("[Desktop Entry]\n"
8261 "Encoding=UTF-8\n"
8262 "Type=Application\n"
8263 "Name=Fail\n"
8264 "Comment=This session fails immediately.\n"
8265 "NoDisplay=true\n"
8266 "Exec=false\n"))))
8267 #t)))
8268 ;; GDM needs GNOME Session to run these applications. We link
8269 ;; their autostart files in `share/gdm/greeter/autostart'
8270 ;; because GDM explicitly tells GNOME Session to look there.
8271 ;;
8272 ;; XXX: GNOME Shell should be linked here too, but currently
8273 ;; GNOME Shell depends on GDM.
8274 (add-after 'install 'link-autostart-files
8275 (lambda* (#:key inputs outputs #:allow-other-keys)
8276 (let* ((out (assoc-ref outputs "out"))
8277 (autostart (string-append out "/share/gdm/"
8278 "greeter/autostart"))
8279 (settings (assoc-ref inputs "gnome-settings-daemon")))
8280 (mkdir-p autostart)
8281 (with-directory-excursion autostart
8282 (for-each (lambda (desktop)
8283 (symlink desktop (basename desktop)))
8284 (find-files (string-append settings "/etc/xdg"))))
8285 #t))))))
8286 (native-inputs
8287 `(("dconf" ,dconf)
8288 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8289 ("gobject-introspection" ,gobject-introspection)
8290 ("intltool" ,intltool)
8291 ("itstool" ,itstool)
8292 ("pkg-config" ,pkg-config)
8293 ("xmllint" ,libxml2)))
8294 (inputs
8295 `(("accountsservice" ,accountsservice)
8296 ("check" ,check-0.14) ;for testing
8297 ("elogind" ,elogind)
8298 ("gnome-session" ,gnome-session)
8299 ("gnome-settings-daemon" ,gnome-settings-daemon)
8300 ("gtk+" ,gtk+)
8301 ("iso-codes" ,iso-codes)
8302 ("libcanberra" ,libcanberra)
8303 ("linux-pam" ,linux-pam)))
8304 (synopsis "Display manager for GNOME")
8305 (home-page "https://wiki.gnome.org/Projects/GDM/")
8306 (description
8307 "GNOME Display Manager is a system service that is responsible for
8308 providing graphical log-ins and managing local and remote displays.")
8309 (license license:gpl2+)))
8310
8311 (define-public libgtop
8312 (package
8313 (name "libgtop")
8314 (version "2.40.0")
8315 (source (origin
8316 (method url-fetch)
8317 (uri (string-append "mirror://gnome/sources/libgtop/"
8318 (version-major+minor version) "/"
8319 "libgtop-" version ".tar.xz"))
8320 (sha256
8321 (base32
8322 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8323 (build-system gnu-build-system)
8324 (native-inputs
8325 `(("gobject-introspection" ,gobject-introspection)
8326 ("intltool" ,intltool)
8327 ("perl" ,perl)
8328 ("pkg-config" ,pkg-config)))
8329 (propagated-inputs
8330 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8331 (synopsis "Portable system access library")
8332 (home-page "https://www.gnome.org/")
8333 (description
8334 "LibGTop is a library to get system specific data such as CPU and memory
8335 usage and information about running processes.")
8336 (license license:gpl2+)))
8337
8338 (define-public gnome-bluetooth
8339 (package
8340 (name "gnome-bluetooth")
8341 (version "3.34.2")
8342 (source (origin
8343 (method url-fetch)
8344 (uri (string-append "mirror://gnome/sources/" name "/"
8345 (version-major+minor version) "/"
8346 name "-" version ".tar.xz"))
8347 (sha256
8348 (base32
8349 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8350 (build-system meson-build-system)
8351 (native-inputs
8352 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8353 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8354 ("gobject-introspection" ,gobject-introspection)
8355 ("intltool" ,intltool)
8356 ("pkg-config" ,pkg-config)
8357 ("xmllint" ,libxml2)))
8358 (propagated-inputs
8359 ;; gnome-bluetooth-1.0.pc refers to all these.
8360 `(("glib" ,glib)
8361 ("gtk+" ,gtk+)))
8362 (inputs
8363 `(("eudev" ,eudev)
8364 ("libcanberra" ,libcanberra)
8365 ("libnotify" ,libnotify)))
8366 (synopsis "GNOME Bluetooth subsystem")
8367 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8368 (description
8369 "This package contains tools for managing and manipulating Bluetooth
8370 devices using the GNOME desktop.")
8371 (license license:lgpl2.1+)))
8372
8373 (define-public gnome-control-center
8374 (package
8375 (name "gnome-control-center")
8376 (version "3.34.2")
8377 (source (origin
8378 (method url-fetch)
8379 (uri (string-append "mirror://gnome/sources/" name "/"
8380 (version-major+minor version) "/"
8381 name "-" version ".tar.xz"))
8382 (sha256
8383 (base32
8384 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8385 (build-system meson-build-system)
8386 (arguments
8387 '(#:glib-or-gtk? #t
8388 #:configure-flags
8389 (list "-Dcheese=false"
8390 (string-append "-Dgnome_session_libexecdir="
8391 (assoc-ref %build-inputs "gnome-session")
8392 "/libexec"))
8393 #:phases
8394 (modify-phases %standard-phases
8395 (add-before 'configure 'patch-paths
8396 (lambda* (#:key inputs #:allow-other-keys)
8397 (let ((libc (assoc-ref inputs "libc"))
8398 (tzdata (assoc-ref inputs "tzdata"))
8399 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8400 (nm-applet (assoc-ref inputs "network-manager-applet"))
8401 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8402 (substitute* "panels/datetime/tz.h"
8403 (("/usr/share/zoneinfo/zone.tab")
8404 (string-append tzdata "/share/zoneinfo/zone.tab")))
8405 (substitute* "tests/datetime/test-endianess.c"
8406 (("/usr/share/locale")
8407 (string-append libc "/share/locale")))
8408 (substitute* "panels/region/cc-region-panel.c"
8409 (("\"gkbd-keyboard-display")
8410 (string-append "\"" libgnomekbd
8411 "/bin/gkbd-keyboard-display")))
8412 (substitute* '("panels/network/net-device-wifi.c"
8413 "panels/network/net-device.c"
8414 "panels/network/connection-editor/net-connection-editor.c")
8415 (("\"nm-connection-editor")
8416 (string-append "\"" nm-applet
8417 "/bin/nm-connection-editor")))
8418 (substitute* '("panels/user-accounts/run-passwd.c")
8419 (("/usr/bin/passwd")
8420 "/run/setuid-programs/passwd"))
8421 (substitute* "panels/info/cc-info-overview-panel.c"
8422 (("DATADIR \"/gnome/gnome-version.xml\"")
8423 (string-append "\"" gnome-desktop
8424 "/share/gnome/gnome-version.xml\"")))
8425 #t)))
8426 (add-after 'unpack 'skip-gtk-update-icon-cache
8427 ;; Don't create 'icon-theme.cache'.
8428 (lambda _
8429 (substitute* "build-aux/meson/meson_post_install.py"
8430 (("gtk-update-icon-cache") (which "true")))
8431 #t)))))
8432 (native-inputs
8433 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8434 ("intltool" ,intltool)
8435 ("pkg-config" ,pkg-config)
8436 ("xsltproc" ,libxslt)
8437 ;; For tests
8438 ("hicolor-icon-theme" ,hicolor-icon-theme)
8439 ("python-dbusmock" ,python-dbusmock)
8440 ("xorg-server" ,xorg-server-for-tests)))
8441 (inputs
8442 `(("accountsservice" ,accountsservice)
8443 ("clutter-gtk" ,clutter-gtk)
8444 ("colord-gtk" ,colord-gtk)
8445 ("cups" ,cups)
8446 ("dconf" ,dconf)
8447 ("docbook-xsl" ,docbook-xsl)
8448 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8449 ("gnome-bluetooth" ,gnome-bluetooth)
8450 ("gnome-desktop" ,gnome-desktop)
8451 ("gnome-online-accounts" ,gnome-online-accounts)
8452 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8453 ("gnome-session" ,gnome-session)
8454 ("gnome-settings-daemon" ,gnome-settings-daemon)
8455 ("grilo" ,grilo)
8456 ("gsound" ,gsound)
8457 ("ibus" ,ibus)
8458 ("libcanberra" ,libcanberra)
8459 ("libgnomekbd" ,libgnomekbd)
8460 ("libgudev" ,libgudev)
8461 ("libgtop" ,libgtop)
8462 ("libnma" ,libnma)
8463 ("libpwquality" ,libpwquality)
8464 ("libsecret" ,libsecret)
8465 ("libsoup" ,libsoup)
8466 ("libxml2" ,libxml2)
8467 ("libwacom" ,libwacom)
8468 ("mesa" ,mesa)
8469 ("mit-krb5" ,mit-krb5)
8470 ("modem-manager" ,modem-manager)
8471 ("network-manager-applet" ,network-manager-applet)
8472 ("polkit" ,polkit)
8473 ("pulseaudio" ,pulseaudio)
8474 ("smbclient" ,samba)
8475 ("tzdata" ,tzdata)
8476 ("udisks" ,udisks)
8477 ("upower" ,upower)))
8478 (synopsis "Utilities to configure the GNOME desktop")
8479 (home-page "https://www.gnome.org/")
8480 (description
8481 "This package contains configuration applets for the GNOME desktop,
8482 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8483 properties, sound setup, desktop theme and background, user interface
8484 properties, screen resolution, and other GNOME parameters.")
8485 (license license:gpl2+)))
8486
8487 (define-public gnome-shell
8488 (package
8489 (name "gnome-shell")
8490 (version "3.34.5")
8491 (source (origin
8492 (method url-fetch)
8493 (uri (string-append "mirror://gnome/sources/" name "/"
8494 (version-major+minor version) "/"
8495 name "-" version ".tar.xz"))
8496 (sha256
8497 (base32
8498 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8499 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8500 "gnome-shell-theme.patch"
8501 "gnome-shell-disable-test.patch"))
8502 (modules '((guix build utils)))
8503 (snippet
8504 #~(begin
8505 ;; Copy images for use on the GDM log-in screen.
8506 (copy-file #$(file-append %artwork-repository
8507 "/slim/0.x/background.png")
8508 "data/theme/guix-background.png")
8509 (copy-file #$(file-append %artwork-repository
8510 "/logo/Guix-horizontal-white.svg")
8511 "data/theme/guix-logo.svg")
8512 #t))))
8513 (build-system meson-build-system)
8514 (arguments
8515 `(#:glib-or-gtk? #t
8516 #:disallowed-references ((,glib "bin")
8517 ,inkscape ,libxslt
8518 ,ruby-sass)
8519 #:configure-flags
8520 (list "-Dsystemd=false"
8521 ;; Otherwise, the RUNPATH will lack the final path component.
8522 (string-append "-Dc_link_args=-Wl,-rpath="
8523 (assoc-ref %outputs "out")
8524 "/lib/gnome-shell"))
8525
8526 #:modules ((guix build meson-build-system)
8527 (guix build utils)
8528 (srfi srfi-1))
8529
8530 #:phases
8531 (modify-phases %standard-phases
8532 (add-after 'unpack 'fix-keysdir
8533 (lambda* (#:key outputs #:allow-other-keys)
8534 (let* ((out (assoc-ref outputs "out"))
8535 (keysdir (string-append
8536 out "/share/gnome-control-center/keybindings")))
8537 (substitute* "meson.build"
8538 (("keysdir =.*")
8539 (string-append "keysdir = '" keysdir "'\n")))
8540 #t)))
8541 (add-before 'configure 'convert-logo-to-png
8542 (lambda* (#:key inputs #:allow-other-keys)
8543 ;; Convert the logo from SVG to PNG.
8544 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8545 "data/theme/guix-logo.svg")))
8546 (add-before 'configure 'record-absolute-file-names
8547 (lambda* (#:key inputs #:allow-other-keys)
8548 (substitute* "js/misc/ibusManager.js"
8549 (("'ibus-daemon'")
8550 (string-append "'" (assoc-ref inputs "ibus")
8551 "/bin/ibus-daemon'")))
8552 (substitute* "js/ui/status/keyboard.js"
8553 (("'gkbd-keyboard-display'")
8554 (string-append "'" (assoc-ref inputs "libgnomekbd")
8555 "/bin/gkbd-keyboard-display'")))
8556 #t))
8557 (add-before 'check 'pre-check
8558 (lambda* (#:key inputs #:allow-other-keys)
8559 ;; Tests require a running X server.
8560 (system "Xvfb :1 &")
8561 (setenv "DISPLAY" ":1")
8562 #t))
8563 (add-after 'install 'wrap-programs
8564 (lambda* (#:key inputs outputs #:allow-other-keys)
8565 (let ((out (assoc-ref outputs "out"))
8566 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8567 (python-path (getenv "PYTHONPATH")))
8568 (wrap-program (string-append out "/bin/gnome-shell")
8569 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8570 ;; FIXME: gnome-shell loads these libraries with unqualified
8571 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8572 ;; alternative might be to patch gnome-shell.
8573 `("LD_LIBRARY_PATH" ":" prefix
8574 ,(map (lambda (pkg)
8575 (string-append (assoc-ref inputs pkg) "/lib"))
8576 '("gdk-pixbuf"
8577 "gnome-bluetooth" "librsvg" "libgweather"))))
8578 (for-each
8579 (lambda (prog)
8580 (wrap-program (string-append out "/bin/" prog)
8581 `("PYTHONPATH" ":" prefix (,python-path))
8582 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8583 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8584 #t)))
8585 (replace 'glib-or-gtk-wrap
8586 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8587 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8588 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8589 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8590 ;; phase. Fix that since we don't need these.
8591 (wrap #:inputs (fold alist-delete inputs
8592 '("inkscape" "intltool" "glib:bin"))
8593 #:outputs outputs)))))))
8594 (native-inputs
8595 `(("asciidoc" ,asciidoc)
8596 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8597 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8598 ("gobject-introspection" ,gobject-introspection)
8599 ("inkscape" ,inkscape)
8600 ("intltool" ,intltool)
8601 ("pkg-config" ,pkg-config)
8602 ("python" ,python)
8603 ("ruby-sass" ,ruby-sass)
8604 ("sassc" ,sassc)
8605 ("xsltproc" ,libxslt)
8606 ;; For tests
8607 ("xorg-server" ,xorg-server-for-tests)))
8608 (inputs
8609 `(("accountsservice" ,accountsservice)
8610 ("caribou" ,caribou)
8611 ("docbook-xsl" ,docbook-xsl)
8612 ("evolution-data-server" ,evolution-data-server)
8613 ("gcr" ,gcr)
8614 ("gdm" ,gdm)
8615 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8616 ("gjs" ,gjs)
8617 ("gnome-autoar" ,gnome-autoar)
8618 ("gnome-bluetooth" ,gnome-bluetooth)
8619 ("gnome-desktop" ,gnome-desktop)
8620 ("gnome-settings-daemon" ,gnome-settings-daemon)
8621 ("gst-plugins-base" ,gst-plugins-base)
8622 ("ibus" ,ibus)
8623 ("libcanberra" ,libcanberra)
8624 ("libcroco" ,libcroco)
8625 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8626 ("libgweather" ,libgweather)
8627 ("libnma" ,libnma)
8628 ("libsoup" ,libsoup)
8629 ("mesa-headers" ,mesa-headers)
8630 ("mutter" ,mutter)
8631 ("network-manager-applet" ,network-manager-applet)
8632 ("polkit" ,polkit)
8633 ("pulseaudio" ,pulseaudio)
8634 ("python-pygobject" ,python-pygobject)
8635 ("startup-notification" ,startup-notification)
8636 ("telepathy-logger" ,telepathy-logger)
8637 ("upower" ,upower)
8638 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8639 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8640 ("librsvg" ,librsvg)
8641 ("geoclue" ,geoclue)))
8642 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8643 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8644 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8645 (synopsis "Desktop shell for GNOME")
8646 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8647 (description
8648 "GNOME Shell provides core user interface functions for the GNOME desktop,
8649 like switching to windows and launching applications.")
8650 (license license:gpl2+)))
8651
8652 (define-public gtk-vnc
8653 (package
8654 (name "gtk-vnc")
8655 (version "1.0.0")
8656 (source
8657 (origin
8658 (method url-fetch)
8659 (uri
8660 (string-append "mirror://gnome/sources/" name "/"
8661 (version-major+minor version) "/"
8662 name "-" version ".tar.xz"))
8663 (sha256
8664 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8665 (build-system meson-build-system)
8666 (arguments
8667 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8668 (native-inputs
8669 `(("gjs" ,gjs)
8670 ("glib:bin" ,glib "bin")
8671 ("gobject-introspection" ,gobject-introspection)
8672 ("intltool" ,intltool)
8673 ("node" ,node)
8674 ("perl" ,perl)
8675 ("pkg-config" ,pkg-config)
8676 ("python" ,python-wrapper)
8677 ("vala" ,vala)))
8678 (inputs
8679 `(("cairo" ,cairo)
8680 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8681 ("glib" ,glib)
8682 ("gnutls" ,gnutls)
8683 ("libgcrypt" ,libgcrypt)
8684 ("libsasl" ,cyrus-sasl)
8685 ("pulseaudio" ,pulseaudio)
8686 ("x11" ,libx11)
8687 ("zlib" ,zlib)))
8688 (propagated-inputs
8689 `(("gtk+" ,gtk+)))
8690 (synopsis "VNC client viewer widget for GTK+")
8691 (description "GTK-VNC is a project providing client side APIs for the RFB
8692 protocol / VNC remote desktop technology. It is built using coroutines allowing
8693 it to be completely asynchronous while remaining single threaded. It provides a
8694 core C library, and bindings for Python (PyGTK).")
8695 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8696 (license license:lgpl2.1+)))
8697
8698 (define-public gnome-autoar
8699 (package
8700 (name "gnome-autoar")
8701 (version "0.3.2")
8702 (source (origin
8703 (method url-fetch)
8704 (uri (string-append "mirror://gnome/sources/" name "/"
8705 (version-major+minor version) "/"
8706 name "-" version ".tar.xz"))
8707 (sha256
8708 (base32
8709 "0wkwix44yg126xn1v4f2j60bv9yiyadfpzf8ifx0bvd9x5f4v354"))))
8710 (build-system glib-or-gtk-build-system)
8711 (native-inputs
8712 `(("gobject-introspection" ,gobject-introspection)
8713 ("pkg-config" ,pkg-config)))
8714 (propagated-inputs
8715 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8716 (inputs
8717 `(("gtk+" ,gtk+)))
8718 (synopsis "Archives integration support for GNOME")
8719 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8720 (description
8721 "GNOME Autoar is a library which makes creating and extracting archives
8722 easy, safe, and automatic.")
8723 (license license:lgpl2.1+)))
8724
8725 (define-public tracker
8726 (package
8727 (name "tracker")
8728 (version "2.3.5")
8729 (source (origin
8730 (method url-fetch)
8731 (uri (string-append "mirror://gnome/sources/tracker/"
8732 (version-major+minor version) "/"
8733 "tracker-" version ".tar.xz"))
8734 (sha256
8735 (base32
8736 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8737 (build-system meson-build-system)
8738 (arguments
8739 `(#:glib-or-gtk? #t
8740 #:configure-flags
8741 ;; Otherwise, the RUNPATH will lack the final path component.
8742 (list (string-append "-Dc_link_args=-Wl,-rpath="
8743 (assoc-ref %outputs "out") "/lib:"
8744 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8745 #:phases
8746 (modify-phases %standard-phases
8747 (add-before 'check 'pre-check
8748 (lambda _
8749 ;; Some tests expect to write to $HOME.
8750 (setenv "HOME" "/tmp")
8751 #t)))))
8752 (native-inputs
8753 `(("glib:bin" ,glib "bin")
8754 ("gobject-introspection" ,gobject-introspection)
8755 ("python-pygobject" ,python-pygobject)
8756 ("intltool" ,intltool)
8757 ("pkg-config" ,pkg-config)
8758 ("vala" ,vala)))
8759 (inputs
8760 `(("dbus" ,dbus)
8761 ("sqlite" ,sqlite)
8762 ("libxml2" ,libxml2)
8763 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8764 ("json-glib" ,json-glib)
8765 ("libsoup" ,libsoup)))
8766 (synopsis "Metadata database, indexer and search tool")
8767 (home-page "https://wiki.gnome.org/Projects/Tracker")
8768 (description
8769 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8770
8771 It is a middleware component aimed at desktop application developers who want
8772 their apps to browse and search user content. It's not designed to be used
8773 directly by desktop users, but it provides a commandline tool named
8774 @command{tracker} for the adventurous.
8775
8776 Tracker allows your application to instantly perform full-text searches across
8777 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8778 example. This is achieved by indexing the user's home directory in the
8779 background.
8780
8781 Tracker also allows your application to query and list content that the user
8782 has stored. For example, GNOME Music displays all the music files that are
8783 found by Tracker. This means that GNOME Music doesn't need to maintain a
8784 database of its own.
8785
8786 If you need to go beyond simple searches, Tracker is also a linked data
8787 endpoint and it understands SPARQL. ")
8788 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8789 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8790 ;; libstemmer is bsd-3 and the rest is gpl2+.
8791 (license (list license:gpl2+
8792 license:bsd-3
8793 license:lgpl2.1+))))
8794
8795 (define-public tracker-miners
8796 (package
8797 (name "tracker-miners")
8798 (version "2.3.4")
8799 (source (origin
8800 (method url-fetch)
8801 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8802 (version-major+minor version)
8803 "/tracker-miners-" version ".tar.xz"))
8804 (sha256
8805 (base32
8806 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8807 (build-system meson-build-system)
8808 (arguments
8809 `(#:glib-or-gtk? #t
8810 #:configure-flags
8811 (list "-Dminer_rss=false" ; libgrss is required.
8812 ;; Ensure the RUNPATH contains all installed library locations.
8813 (string-append "-Dc_link_args=-Wl,-rpath="
8814 (assoc-ref %outputs "out")
8815 "/lib/tracker-miners-2.0")
8816 ;; TODO: Enable functional tests. Currently, the following error
8817 ;; appears:
8818 ;; Exception: The functional tests require DConf to be the default
8819 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8820 "-Dfunctional_tests=false")))
8821 (native-inputs
8822 `(("dbus" ,dbus)
8823 ("intltool" ,intltool)
8824 ("glib:bin" ,glib "bin")
8825 ("gobject-introspection" ,gobject-introspection)
8826 ("pkg-config" ,pkg-config)
8827 ("python-pygobject" ,python-pygobject)))
8828 (inputs
8829 `(("exempi" ,exempi)
8830 ("ffmpeg" ,ffmpeg)
8831 ("flac" ,flac)
8832 ("giflib" ,giflib)
8833 ("glib" ,glib)
8834 ("gstreamer" ,gstreamer)
8835 ("icu4c" ,icu4c)
8836 ("libcue" ,libcue)
8837 ("libexif" ,libexif)
8838 ("libgsf" ,libgsf)
8839 ("libgxps" ,libgxps)
8840 ("libiptcdata" ,libiptcdata)
8841 ("libjpeg" ,libjpeg-turbo)
8842 ("libosinfo" ,libosinfo)
8843 ("libpng" ,libpng)
8844 ("libseccomp" ,libseccomp)
8845 ("libtiff" ,libtiff)
8846 ("libvorbis" ,libvorbis)
8847 ("libxml2" ,libxml2)
8848 ("poppler" ,poppler)
8849 ("taglib" ,taglib)
8850 ("totem-pl-parser" ,totem-pl-parser)
8851 ("tracker" ,tracker)
8852 ("upower" ,upower)
8853 ("zlib" ,zlib)))
8854 (synopsis "Metadata database, indexer and search tool")
8855 (home-page "https://wiki.gnome.org/Projects/Tracker")
8856 (description
8857 "Tracker is an advanced framework for first class objects with associated
8858 metadata and tags. It provides a one stop solution for all metadata, tags,
8859 shared object databases, search tools and indexing.")
8860 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8861 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8862 (license (list license:gpl2+
8863 license:lgpl2.1+
8864 license:lgpl2.0+))))
8865
8866 (define-public nautilus
8867 (package
8868 (name "nautilus")
8869 (version "3.34.2")
8870 (source (origin
8871 (method url-fetch)
8872 (uri (string-append "mirror://gnome/sources/" name "/"
8873 (version-major+minor version) "/"
8874 name "-" version ".tar.xz"))
8875 (sha256
8876 (base32
8877 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8878 (build-system meson-build-system)
8879 (arguments
8880 '(#:glib-or-gtk? #t
8881 #:phases
8882 (modify-phases %standard-phases
8883 (add-after 'unpack 'skip-gtk-update-icon-cache
8884 ;; Don't create 'icon-theme.cache'.
8885 (lambda _
8886 (substitute* "build-aux/meson/postinstall.py"
8887 (("gtk-update-icon-cache") "true"))
8888 #t)))
8889 ;; XXX: FAIL: check-nautilus
8890 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8891 #:tests? #f))
8892 (native-inputs
8893 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8894 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8895 ("gobject-introspection" ,gobject-introspection)
8896 ("intltool" ,intltool)
8897 ("pkg-config" ,pkg-config)))
8898 (inputs
8899 `(("dconf" ,dconf)
8900 ("gexiv2" ,gexiv2)
8901 ("gvfs" ,gvfs)
8902 ("exempi" ,exempi)
8903 ("gnome-desktop" ,gnome-desktop)
8904 ("gnome-autoar" ,gnome-autoar)
8905 ("gst-plugins-base" ,gst-plugins-base)
8906 ("libseccomp" ,libseccomp)
8907 ("libselinux" ,libselinux)
8908 ("tracker" ,tracker)
8909 ("tracker-miners" ,tracker-miners)
8910 ;; XXX: gtk+ is required by libnautilus-extension.pc
8911 ;;
8912 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8913 ;; package. See:
8914 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8915 ("gtk+" ,gtk+)
8916 ("libexif" ,libexif)
8917 ("libxml2" ,libxml2)))
8918 (synopsis "File manager for GNOME")
8919 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8920 (description
8921 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8922 design and behaviour, giving the user a simple way to navigate and manage its
8923 files.")
8924 (license license:gpl2+)))
8925
8926 (define-public baobab
8927 (package
8928 (name "baobab")
8929 (version "3.38.0")
8930 (source (origin
8931 (method url-fetch)
8932 (uri (string-append
8933 "mirror://gnome/sources/" name "/"
8934 (version-major+minor version) "/"
8935 name "-" version ".tar.xz"))
8936 (sha256
8937 (base32
8938 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8939 (build-system meson-build-system)
8940 (arguments
8941 '(#:glib-or-gtk? #t))
8942 (native-inputs
8943 `(("intltool" ,intltool)
8944 ("pkg-config" ,pkg-config)
8945 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8946 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8947 ("itstool" ,itstool)
8948 ("xmllint" ,libxml2)
8949 ("glib" ,glib "bin")
8950 ("vala" ,vala)))
8951 (inputs
8952 `(("gtk+" ,gtk+)))
8953 (synopsis "Disk usage analyzer for GNOME")
8954 (description
8955 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8956 usage in the GNOME desktop environment. It can easily scan device volumes or
8957 a specific user-requested directory branch (local or remote). Once the scan
8958 is complete it provides a graphical representation of each selected folder.")
8959 (home-page "https://wiki.gnome.org/Apps/Baobab")
8960 (license license:gpl2+)))
8961
8962 (define-public gnome-backgrounds
8963 (package
8964 (name "gnome-backgrounds")
8965 (version "3.34.0")
8966 (source
8967 (origin
8968 (method url-fetch)
8969 (uri (string-append "mirror://gnome/sources/" name "/"
8970 (version-major+minor version) "/"
8971 name "-" version ".tar.xz"))
8972 (sha256
8973 (base32
8974 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8975 (build-system meson-build-system)
8976 (native-inputs
8977 `(("intltool" ,intltool)))
8978 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8979 (synopsis "Background images for the GNOME desktop")
8980 (description
8981 "GNOME backgrounds package contains a collection of graphics files which
8982 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8983 the package creates the proper framework and directory structure so that you
8984 can add your own files to the collection.")
8985 (license (list license:gpl2+
8986 license:cc-by2.0
8987 license:cc-by-sa2.0
8988 license:cc-by-sa3.0))))
8989
8990 (define-public gnome-screenshot
8991 (package
8992 (name "gnome-screenshot")
8993 (version "3.34.0")
8994 (source
8995 (origin
8996 (method url-fetch)
8997 (uri (string-append "mirror://gnome/sources/" name "/"
8998 (version-major+minor version) "/"
8999 name "-" version ".tar.xz"))
9000 (sha256
9001 (base32
9002 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9003 (build-system meson-build-system)
9004 (arguments
9005 '(#:phases
9006 (modify-phases %standard-phases
9007 (add-after 'unpack 'skip-gtk-update-icon-cache
9008 ;; Don't create 'icon-theme.cache'.
9009 (lambda _
9010 (substitute* "build-aux/postinstall.py"
9011 (("gtk-update-icon-cache") "true"))
9012 #t)))))
9013 (native-inputs
9014 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9015 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9016 ("intltool" ,intltool)
9017 ("appstream-glib" ,appstream-glib)
9018 ("pkg-config" ,pkg-config)))
9019 (inputs
9020 `(("gtk+" ,gtk+)
9021 ("libcanberra" ,libcanberra)
9022 ("libx11" ,libx11)
9023 ("libxext" ,libxext)))
9024 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9025 (synopsis "Take pictures of your screen")
9026 (description
9027 "GNOME Screenshot is a utility used for taking screenshots of the entire
9028 screen, a window or a user defined area of the screen, with optional
9029 beautifying border effects.")
9030 (license license:gpl2+)))
9031
9032 (define-public dconf-editor
9033 (package
9034 (name "dconf-editor")
9035 (version "3.34.2")
9036 (source
9037 (origin
9038 (method url-fetch)
9039 (uri (string-append "mirror://gnome/sources/" name "/"
9040 (version-major+minor version) "/"
9041 name "-" version ".tar.xz"))
9042 (sha256
9043 (base32
9044 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9045 (build-system meson-build-system)
9046 (native-inputs
9047 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9048 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9049 ("intltool" ,intltool)
9050 ("pkg-config" ,pkg-config)
9051 ("vala" ,vala)))
9052 (inputs
9053 `(("dconf" ,dconf)
9054 ("gtk+" ,gtk+)
9055 ("libxml2" ,libxml2)))
9056 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9057 (synopsis "Graphical editor for GNOME's dconf configuration system")
9058 (description
9059 "Dconf-editor is a graphical tool for browsing and editing the dconf
9060 configuration system for GNOME. It allows users to configure desktop
9061 software that do not provide their own configuration interface.")
9062 (license license:lgpl2.1+)))
9063
9064 (define-public gnome-default-applications
9065 (package
9066 (name "gnome-default-applications")
9067 (version "0")
9068 (build-system trivial-build-system)
9069 (source #f)
9070 (propagated-inputs
9071 `(("nautilus" ,nautilus)
9072 ("evince" ,evince)))
9073 (arguments
9074 `(#:modules ((guix build utils))
9075 #:builder
9076 (begin
9077 (use-modules (guix build utils))
9078 (let* ((out (assoc-ref %outputs "out"))
9079 (apps (string-append out "/share/applications")))
9080 (mkdir-p apps)
9081 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9082 (lambda (port)
9083 (format port "[Default Applications]\n")
9084 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9085 (format port "application/pdf=evince.desktop\n")
9086 (format port "application/postscript=evince.desktop\n")))
9087 #t))))
9088 (synopsis "Default MIME type associations for the GNOME desktop")
9089 (description
9090 "Given many installed packages which might handle a given MIME type, a
9091 user running the GNOME desktop probably has some preferences: for example,
9092 that folders be opened by default by the Nautilus file manager, not the Baobab
9093 disk usage analyzer. This package establishes that set of default MIME type
9094 associations for GNOME.")
9095 (license license:gpl3+)
9096 (home-page #f)))
9097
9098 (define-public libgovirt
9099 (package
9100 (name "libgovirt")
9101 (version "0.3.8")
9102 (source (origin
9103 (method url-fetch)
9104 (uri (string-append "mirror://gnome/sources/" name "/"
9105 (version-major+minor version) "/"
9106 name "-" version ".tar.xz"))
9107 (sha256
9108 (base32
9109 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9110 (build-system glib-or-gtk-build-system)
9111 (native-inputs
9112 `(("gettext" ,gettext-minimal)
9113 ("glib:bin" ,glib "bin")
9114 ("gobject-introspection" ,gobject-introspection)
9115 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9116 ("gtk+:bin" ,gtk+ "bin")
9117 ("pkg-config" ,pkg-config)))
9118 (inputs
9119 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9120 ("librest" ,rest)))
9121 (synopsis "GoVirt Library")
9122 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9123 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9124 (license license:gpl2+)))
9125
9126 (define-public gnome-weather
9127 (package
9128 (name "gnome-weather")
9129 (version "3.34.0")
9130 (source (origin
9131 (method url-fetch)
9132 (uri (string-append "mirror://gnome/sources/" name "/"
9133 (version-major+minor version) "/"
9134 name "-" version ".tar.xz"))
9135 (sha256
9136 (base32
9137 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9138 (build-system meson-build-system)
9139 (native-inputs
9140 `(("gettext" ,gettext-minimal)
9141 ("glib:bin" ,glib "bin")
9142 ("gobject-introspection" ,gobject-introspection)
9143 ("gtk+:bin" ,gtk+ "bin")
9144 ("pkg-config" ,pkg-config)))
9145 (inputs
9146 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9147 ("appstream-glib" ,appstream-glib)
9148 ("geoclue" ,geoclue)
9149 ("gdk-pixbuf" ,gdk-pixbuf)
9150 ("gjs" ,gjs)
9151 ("gnome-desktop" ,gnome-desktop)
9152 ("libgweather" ,libgweather)))
9153 (arguments
9154 `(#:glib-or-gtk? #t
9155 #:phases
9156 (modify-phases %standard-phases
9157 (add-after 'install 'fix-desktop-file
9158 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9159 ;; See https://issues.guix.gnu.org/issue/39324.
9160 (lambda* (#:key outputs #:allow-other-keys)
9161 (let* ((out (assoc-ref outputs "out"))
9162 (applications (string-append out "/share/applications")))
9163 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9164 (("Exec=.*") "Exec=gnome-weather\n"))
9165 #t)))
9166 (add-after 'install 'wrap
9167 (lambda* (#:key inputs outputs #:allow-other-keys)
9168 (let ((out (assoc-ref outputs "out"))
9169 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9170 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9171 (wrap-program (string-append out "/bin/gnome-weather")
9172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9173 #t))))))
9174 (synopsis "Weather monitoring for GNOME desktop")
9175 (description "GNOME Weather is a small application that allows you to
9176 monitor the current weather conditions for your city, or anywhere in the
9177 world.")
9178 (home-page "https://wiki.gnome.org/Apps/Weather")
9179 (license license:gpl2+)))
9180
9181 (define-public gnome
9182 (package
9183 (name "gnome")
9184 (version (package-version gnome-shell))
9185 (source #f)
9186 (build-system trivial-build-system)
9187 (arguments '(#:builder (begin (mkdir %output) #t)))
9188 (propagated-inputs
9189 ;; TODO: Add or remove packages according to:
9190 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9191 `(
9192 ;; GNOME-Core-OS-Services
9193 ("accountsservice" ,accountsservice)
9194 ("network-manager" ,network-manager)
9195 ("packagekit" ,packagekit)
9196 ("upower" ,upower)
9197 ;; GNOME-Core-Shell
9198 ("adwaita-icon-theme" ,adwaita-icon-theme)
9199 ("gdm" ,gdm)
9200 ("glib-networking" ,glib-networking)
9201 ("gnome-backgrounds" ,gnome-backgrounds)
9202 ("gnome-bluetooth" ,gnome-bluetooth)
9203 ("gnome-color-manager" ,gnome-color-manager)
9204 ("gnome-control-center" ,gnome-control-center)
9205 ("gnome-desktop" ,gnome-desktop)
9206 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9207 ("gnome-initial-setup" ,gnome-initial-setup)
9208 ("gnome-keyring" ,gnome-keyring)
9209 ("gnome-menus" ,gnome-menus)
9210 ("gnome-session" ,gnome-session)
9211 ("gnome-settings-daemon" ,gnome-settings-daemon)
9212 ("gnome-shell-extensions" ,gnome-shell-extensions)
9213 ("gnome-shell" ,gnome-shell)
9214 ("gnome-themes-extra" ,gnome-themes-extra)
9215 ("gnome-user-docs" ,gnome-user-docs)
9216 ("gnome-user-share" ,gnome-user-share)
9217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9218 ("gvfs" ,gvfs)
9219 ("mutter" ,mutter)
9220 ("orca" ,orca)
9221 ("rygel" ,rygel)
9222 ("sushi" ,sushi)
9223 ;; GNOME-Core-Utilities
9224 ("baobab" ,baobab)
9225 ("cheese" ,cheese)
9226 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9227 ;; only works on x86_64, so exclude it on other architectures.
9228 ,@(if (string-prefix? "x86_64" (%current-system))
9229 `(("eog" ,eog))
9230 '())
9231 ("epiphany" ,epiphany)
9232 ("evince" ,evince)
9233 ("file-roller" ,file-roller)
9234 ("gedit" ,gedit)
9235 ("gnome-boxes" ,gnome-boxes)
9236 ("gnome-calculator" ,gnome-calculator)
9237 ("gnome-calendar" ,gnome-calendar)
9238 ("gnome-characters" ,gnome-characters)
9239 ("gnome-clocks" ,gnome-clocks)
9240 ("gnome-contacts" ,gnome-contacts)
9241 ("gnome-disk-utility" ,gnome-disk-utility)
9242 ("gnome-font-viewer" ,gnome-font-viewer)
9243 ("gnome-maps" ,gnome-maps)
9244 ; TODO: ("gnome-music" ,gnome-music)
9245 ; TODO: ("gnome-photos" ,gnome-photos)
9246 ("gnome-screenshot" ,gnome-screenshot)
9247 ("gnome-system-monitor" ,gnome-system-monitor)
9248 ("gnome-terminal" ,gnome-terminal)
9249 ("gnome-weather" ,gnome-weather)
9250 ("nautilus" ,nautilus)
9251 ("simple-scan" ,simple-scan)
9252 ("totem" ,totem)
9253 ("yelp" ,yelp)
9254 ;; Others
9255 ("hicolor-icon-theme" ,hicolor-icon-theme)
9256 ("gnome-online-accounts" ,gnome-online-accounts)
9257
9258 ;; Packages not part of GNOME proper but that are needed for a good
9259 ;; experience. See <https://bugs.gnu.org/39646>.
9260 ;; XXX: Find out exactly which ones are needed and why.
9261 ("font-cantarell" ,font-cantarell)
9262 ("font-dejavu" ,font-dejavu)
9263 ("at-spi2-core" ,at-spi2-core)
9264 ("dbus" ,dbus)
9265 ("dconf" ,dconf)
9266 ("desktop-file-utils" ,desktop-file-utils)
9267 ("gnome-default-applications" ,gnome-default-applications)
9268 ("gnome-themes-standard" ,gnome-themes-standard)
9269 ("gst-plugins-base" ,gst-plugins-base)
9270 ("gst-plugins-good" ,gst-plugins-good)
9271 ("gucharmap" ,gucharmap)
9272 ("pinentry-gnome3" ,pinentry-gnome3)
9273 ("pulseaudio" ,pulseaudio)
9274 ("shared-mime-info" ,shared-mime-info)
9275 ("system-config-printer" ,system-config-printer)
9276 ("xdg-user-dirs" ,xdg-user-dirs)
9277 ("yelp" ,yelp)
9278 ("zenity" ,zenity)))
9279 (synopsis "The GNU desktop environment")
9280 (home-page "https://www.gnome.org/")
9281 (description
9282 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9283 applications for browsing the web, editing text and images, creating
9284 documents and diagrams, playing media, scanning, and much more.")
9285 (license license:gpl2+)))
9286
9287 (define-public byzanz
9288 ;; The last stable release of Byzanz was in 2011, but there have been many
9289 ;; useful commits made to the Byzanz repository since then that it would be
9290 ;; silly to use such an old release.
9291 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9292 (package
9293 (name "byzanz")
9294 (version (string-append "0.2-1." (string-take commit 7)))
9295 (source (origin
9296 (method git-fetch)
9297 (uri (git-reference
9298 (url "https://git.gnome.org/browse/byzanz")
9299 (commit commit)))
9300 (file-name (string-append name "-" version "-checkout"))
9301 (sha256
9302 (base32
9303 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9304 (build-system glib-or-gtk-build-system)
9305 (arguments
9306 '(#:phases
9307 (modify-phases %standard-phases
9308 (add-before 'bootstrap 'build-without-Werror
9309 (lambda _
9310 ;; The build system cleverly detects that we're not building from
9311 ;; a release tarball and turns on -Werror for GCC.
9312 ;; Unsurprisingly, there is a warning during compilation that
9313 ;; causes the build to fail unnecessarily, so we remove the flag.
9314 (substitute* '("configure.ac")
9315 (("-Werror") ""))
9316 #t)))))
9317 (native-inputs
9318 `(("autoconf" ,autoconf)
9319 ("automake" ,automake)
9320 ("gnome-common" ,gnome-common)
9321 ("intltool" ,intltool)
9322 ("libtool" ,libtool)
9323 ("pkg-config" ,pkg-config)
9324 ("which" ,which)))
9325 (inputs
9326 `(("glib" ,glib)
9327 ("gstreamer" ,gstreamer)
9328 ("gst-plugins-base" ,gst-plugins-base)
9329 ("gtk+" ,gtk+)))
9330 (synopsis "Desktop recording program")
9331 (description "Byzanz is a simple desktop recording program with a
9332 command-line interface. It can record part or all of an X display for a
9333 specified duration and save it as a GIF encoded animated image file.")
9334 (home-page "https://git.gnome.org/browse/byzanz")
9335 (license license:gpl2+))))
9336
9337 (define-public authenticator
9338 (package
9339 (name "authenticator")
9340 (version "3.32.2")
9341 (source
9342 (origin
9343 (method git-fetch)
9344 (uri (git-reference
9345 (url "https://gitlab.gnome.org/World/Authenticator")
9346 (commit version)))
9347 (file-name (git-file-name name version))
9348 (sha256
9349 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9350 (build-system meson-build-system)
9351 (arguments
9352 `(#:glib-or-gtk? #t
9353 #:phases
9354 (modify-phases %standard-phases
9355 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9356 (lambda* (#:key inputs outputs #:allow-other-keys)
9357 (let ((prog (string-append (assoc-ref outputs "out")
9358 "/bin/authenticator"))
9359 (pylib (string-append (assoc-ref outputs "out")
9360 "/lib/python"
9361 ,(version-major+minor
9362 (package-version python))
9363 "/site-packages")))
9364 (wrap-program prog
9365 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9366 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9367 #t))))))
9368 (native-inputs
9369 `(("desktop-file-utils" ,desktop-file-utils)
9370 ("gettext" ,gettext-minimal)
9371 ("glib:bin" ,glib "bin")
9372 ("gobject-introspection" ,gobject-introspection)
9373 ("gtk+:bin" ,gtk+ "bin")
9374 ("pkg-config" ,pkg-config)))
9375 (inputs
9376 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9377 ("gtk+" ,gtk+)
9378 ("libhandy" ,libhandy-0.0)
9379 ("libsecret" ,libsecret)
9380 ("python-beautifulsoup4" ,python-beautifulsoup4)
9381 ("python-pillow" ,python-pillow)
9382 ("python-pyfavicon" ,python-pyfavicon)
9383 ("python-pygobject" ,python-pygobject)
9384 ("python-pyotp" ,python-pyotp)
9385 ("python-pyzbar" ,python-pyzbar)
9386 ("yoyo-migrations" ,yoyo-migrations)
9387 ("zbar" ,zbar)))
9388 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9389 (synopsis "Two-factor authentication application built for GNOME")
9390 (description
9391 "Authenticator is a two-factor authentication (2FA) application built for
9392 the GNOME desktop environment.
9393
9394 Features:
9395
9396 @itemize
9397 @item QR code scanner
9398 @item Beautiful UI
9399 @item Huge database of more than 560 supported services
9400 @item Keep your PIN tokens secure by locking the application with a password
9401 @item Automatically fetch an image for services using their favicon
9402 @item The possibility to add new services
9403 @end itemize")
9404 (license license:gpl3+)))
9405
9406 (define-public gsound
9407 (package
9408 (name "gsound")
9409 (version "1.0.2")
9410 (source (origin
9411 (method url-fetch)
9412 (uri (string-append "mirror://gnome/sources/" name "/"
9413 (version-major+minor version) "/"
9414 name "-" version ".tar.xz"))
9415 (sha256
9416 (base32
9417 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9418 (build-system glib-or-gtk-build-system)
9419 (native-inputs
9420 `(("pkg-config" ,pkg-config)
9421 ("gobject-introspection" ,gobject-introspection)
9422 ("vala" ,vala)))
9423 (inputs
9424 `(("glib" ,glib)
9425 ("libcanberra" ,libcanberra)))
9426 (home-page "https://wiki.gnome.org/Projects/GSound")
9427 (synopsis "GObject wrapper for libcanberra")
9428 (description
9429 "GSound is a small library for playing system sounds. It's designed to be
9430 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9431 library.")
9432 (license license:lgpl2.1+)))
9433
9434 (define-public libzapojit
9435 (package
9436 (name "libzapojit")
9437 (version "0.0.3")
9438 (source (origin
9439 (method url-fetch)
9440 (uri (string-append "mirror://gnome/sources/" name "/"
9441 (version-major+minor version) "/"
9442 name "-" version ".tar.xz"))
9443 (sha256
9444 (base32
9445 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9446 (build-system gnu-build-system)
9447 (native-inputs
9448 `(("gobject-introspection" ,gobject-introspection)
9449 ("intltool" ,intltool)
9450 ("pkg-config" ,pkg-config)))
9451 (inputs
9452 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9453 ("json-glib" ,json-glib)
9454 ("rest" ,rest)))
9455 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9456 (synopsis "Library for accessing SkyDrive and Hotmail")
9457 (description
9458 "Libzapojit is a GLib-based library for accessing online service APIs of
9459 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9460 (license license:lgpl2.1+)))
9461
9462 (define-public gnome-clocks
9463 (package
9464 (name "gnome-clocks")
9465 (version "3.34.0")
9466 (source (origin
9467 (method url-fetch)
9468 (uri (string-append "mirror://gnome/sources/" name "/"
9469 (version-major+minor version) "/"
9470 name "-" version ".tar.xz"))
9471 (sha256
9472 (base32
9473 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9474 (build-system meson-build-system)
9475 (arguments
9476 '(#:glib-or-gtk? #t
9477 #:phases
9478 (modify-phases %standard-phases
9479 (add-after 'unpack 'skip-gtk-update-icon-cache
9480 ;; Don't create 'icon-theme.cache'.
9481 (lambda _
9482 (substitute* "build-aux/post-install.py"
9483 (("gtk-update-icon-cache") "true"))
9484 #t)))))
9485 (native-inputs
9486 `(("vala" ,vala)
9487 ("pkg-config" ,pkg-config)
9488 ("glib" ,glib "bin") ; for glib-compile-resources
9489 ("desktop-file-utils" ,desktop-file-utils)
9490 ("gettext" ,gettext-minimal)
9491 ("itstool" ,itstool)))
9492 (inputs
9493 `(("glib" ,glib)
9494 ("gtk+" ,gtk+)
9495 ("gsound" ,gsound)
9496 ("geoclue" ,geoclue)
9497 ("geocode-glib" ,geocode-glib)
9498 ("libgweather" ,libgweather)
9499 ("gnome-desktop" ,gnome-desktop)))
9500 (home-page "https://wiki.gnome.org/Apps/Clocks")
9501 (synopsis "GNOME's clock application")
9502 (description
9503 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9504 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9505 (license license:gpl3+)))
9506
9507 (define-public gnome-calendar
9508 (package
9509 (name "gnome-calendar")
9510 (version "3.34.2")
9511 (source (origin
9512 (method url-fetch)
9513 (uri (string-append "mirror://gnome/sources/" name "/"
9514 (version-major+minor version) "/"
9515 name "-" version ".tar.xz"))
9516 (sha256
9517 (base32
9518 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9519 (build-system meson-build-system)
9520 (arguments
9521 '(#:glib-or-gtk? #t
9522 ;; gnome-calendar has to be installed before the tests can be run
9523 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9524 #:tests? #f
9525 #:phases
9526 (modify-phases %standard-phases
9527 (add-after 'unpack 'skip-gtk-update-icon-cache
9528 ;; Don't create 'icon-theme.cache'.
9529 (lambda _
9530 (substitute* "build-aux/meson/meson_post_install.py"
9531 (("gtk-update-icon-cache") "true"))
9532 #t)))))
9533 (native-inputs
9534 `(("gettext" ,gettext-minimal)
9535 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9536 ("pkg-config" ,pkg-config)))
9537 (inputs
9538 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9539 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9540 ("libdazzle" ,libdazzle)
9541 ("libedataserverui" ,evolution-data-server)
9542 ("libgweather" ,libgweather)
9543 ("geoclue" ,geoclue)))
9544 (propagated-inputs
9545 `(("evolution-data-server" ,evolution-data-server)))
9546 (home-page "https://wiki.gnome.org/Apps/Calendar")
9547 (synopsis "GNOME's calendar application")
9548 (description
9549 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9550 desktop. It supports multiple calendars, month, week and year view.")
9551 (license license:gpl3+)))
9552
9553 (define-public gnome-todo
9554 (package
9555 (name "gnome-todo")
9556 (version "3.28.1")
9557 (source (origin
9558 (method url-fetch)
9559 (uri (string-append "mirror://gnome/sources/" name "/"
9560 (version-major+minor version) "/"
9561 name "-" version ".tar.xz"))
9562 (sha256
9563 (base32
9564 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9565 (patches
9566 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9567 (build-system meson-build-system)
9568 (arguments
9569 '(#:glib-or-gtk? #t
9570 #:phases (modify-phases %standard-phases
9571 (add-after
9572 'install 'wrap-gnome-todo
9573 (lambda* (#:key inputs outputs #:allow-other-keys)
9574 (let ((out (assoc-ref outputs "out"))
9575 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9576 (python-path (getenv "PYTHONPATH")))
9577 (wrap-program (string-append out "/bin/gnome-todo")
9578 ;; XXX: gi plugins are broken.
9579 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9580 ;; For plugins.
9581 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9582 `("PYTHONPATH" ":" prefix (,python-path))))
9583 #t)))))
9584 (native-inputs
9585 `(("gettext" ,gettext-minimal)
9586 ("gobject-introspection" ,gobject-introspection)
9587 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9588 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9589 ("pkg-config" ,pkg-config)))
9590 (inputs
9591 `(("rest" ,rest) ; For Todoist plugin
9592 ("json-glib" ,json-glib) ; For Todoist plugin
9593 ("libedataserverui" ,evolution-data-server)
9594 ("libical" ,libical)
9595 ("libpeas" ,libpeas)
9596 ("python-pygobject" ,python-pygobject)
9597 ("evolution-data-server" ,evolution-data-server)
9598 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9599 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9600 (home-page "https://wiki.gnome.org/Apps/Todo")
9601 (synopsis "GNOME's ToDo Application")
9602 (description
9603 "GNOME To Do is a simplistic personal task manager designed to perfectly
9604 fit the GNOME desktop.")
9605 (license license:gpl3+)))
9606
9607 (define-public gnome-dictionary
9608 (package
9609 (name "gnome-dictionary")
9610 (version "3.26.1")
9611 (source (origin
9612 (method url-fetch)
9613 (uri (string-append "mirror://gnome/sources/" name "/"
9614 (version-major+minor version) "/"
9615 name "-" version ".tar.xz"))
9616 (sha256
9617 (base32
9618 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9619 (build-system meson-build-system)
9620 (arguments '(#:glib-or-gtk? #t
9621 #:phases (modify-phases %standard-phases
9622 (add-after 'unpack 'patch-install-script
9623 (lambda _
9624 ;; This script attempts to compile glib schemas
9625 ;; and create an empty MIME database. We do
9626 ;; that elsewhere, so prevent it from running.
9627 (substitute* "build-aux/post-install.sh"
9628 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9629 #t)))))
9630 (native-inputs
9631 `(("glib:bin" ,glib "bin")
9632 ("gobject-introspection" ,gobject-introspection)
9633 ("intltool" ,intltool)
9634 ("itstool" ,itstool)
9635 ("pkg-config" ,pkg-config)
9636 ("xmllint" ,libxml2)))
9637 (inputs
9638 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9639 ("gtk+" ,gtk+)))
9640 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9641 (synopsis "Look up words in dictionary sources")
9642 (description
9643 "GNOME Dictionary can look for the definition or translation of a word in
9644 existing databases over the internet.")
9645 (license license:gpl3+)))
9646
9647 (define-public gnome-tweaks
9648 (package
9649 (name "gnome-tweaks")
9650 (version "3.34.1")
9651 (source (origin
9652 (method url-fetch)
9653 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9654 (version-major+minor version) "/"
9655 "gnome-tweaks-" version ".tar.xz"))
9656 (patches
9657 (list (search-patch "gnome-tweaks-search-paths.patch")))
9658 (sha256
9659 (base32
9660 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9661 (build-system meson-build-system)
9662 (arguments
9663 `(#:glib-or-gtk? #t
9664 #:configure-flags '("-Dlocalstatedir=/tmp"
9665 "-Dsysconfdir=/tmp")
9666 #:imported-modules ((guix build python-build-system)
9667 ,@%meson-build-system-modules)
9668 #:phases
9669 (modify-phases %standard-phases
9670 (add-after 'unpack 'skip-gtk-update-icon-cache
9671 ;; Don't create 'icon-theme.cache'.
9672 (lambda _
9673 (substitute* "meson-postinstall.py"
9674 (("gtk-update-icon-cache") "true"))
9675 #t))
9676 (add-after 'install 'wrap
9677 (@@ (guix build python-build-system) wrap))
9678 (add-after 'wrap 'wrap-gi-typelib
9679 (lambda* (#:key inputs outputs #:allow-other-keys)
9680 (let ((out (assoc-ref outputs "out"))
9681 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9682 (wrap-program (string-append out "/bin/gnome-tweaks")
9683 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9684 #t)))))
9685 (native-inputs
9686 `(("intltool" ,intltool)
9687 ("pkg-config" ,pkg-config)))
9688 (inputs
9689 `(("gnome-desktop" ,gnome-desktop)
9690 ("gtk+" ,gtk+)
9691 ("gobject-introspection" ,gobject-introspection)
9692 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9693 ("libhandy" ,libhandy-0.0)
9694 ("libnotify" ,libnotify)
9695 ("libsoup" ,libsoup)
9696 ("nautilus" ,nautilus)
9697 ("python" ,python)
9698 ("python-pygobject" ,python-pygobject)))
9699 (synopsis "Customize advanced GNOME 3 options")
9700 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9701 (description
9702 "GNOME Tweaks allows adjusting advanced configuration settings in
9703 GNOME 3. This includes things like the fonts used in user interface elements,
9704 alternative user interface themes, changes in window management behavior,
9705 GNOME Shell appearance and extension, etc.")
9706 (license license:gpl3+)))
9707
9708 (define-public gnome-shell-extensions
9709 (package
9710 (name "gnome-shell-extensions")
9711 (version "3.34.2")
9712 (source (origin
9713 (method url-fetch)
9714 (uri (string-append "mirror://gnome/sources/" name "/"
9715 (version-major+minor version) "/"
9716 name "-" version ".tar.xz"))
9717 (sha256
9718 (base32
9719 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9720 (build-system meson-build-system)
9721 (arguments
9722 '(#:configure-flags '("-Dextension_set=all")))
9723 (native-inputs
9724 `(("glib:bin" ,glib "bin")
9725 ("intltool" ,intltool)
9726 ("pkg-config" ,pkg-config)))
9727 (propagated-inputs
9728 `(("glib" ,glib)))
9729 (synopsis "Extensions for GNOME Shell")
9730 (description "GNOME Shell extensions modify and extend GNOME Shell
9731 functionality and behavior.")
9732 (home-page "https://extensions.gnome.org/")
9733 (license license:gpl3+)))
9734
9735 (define-public folks
9736 (package
9737 (name "folks")
9738 (version "0.13.1")
9739 (source (origin
9740 (method url-fetch)
9741 (uri (string-append
9742 "mirror://gnome/sources/folks/"
9743 (version-major+minor version) "/"
9744 "folks-" version ".tar.xz"))
9745 (sha256
9746 (base32
9747 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9748 (build-system meson-build-system)
9749 (arguments
9750 '(#:phases
9751 (modify-phases %standard-phases
9752 (add-after 'unpack 'skip-gtk-update-icon-cache
9753 ;; Don't create 'icon-theme.cache'.
9754 (lambda _
9755 (substitute* "meson_post_install.py"
9756 (("gtk-update-icon-cache") "true"))
9757 #t)))))
9758 (inputs
9759 `(("bdb" ,bdb)
9760 ("dbus-glib" ,dbus-glib)
9761 ("evolution-data-server" ,evolution-data-server)
9762 ("glib" ,glib)
9763 ("libgee" ,libgee)
9764 ("readline" ,readline)
9765 ("telepathy-glib" ,telepathy-glib)))
9766 (native-inputs
9767 `(("glib:bin" ,glib "bin")
9768 ("gobject-introspection" ,gobject-introspection)
9769 ("intltool" ,intltool)
9770 ("pkg-config" ,pkg-config)
9771 ("vala" ,vala)))
9772 (synopsis "Library to aggregate data about people")
9773 (description "Libfolks is a library that aggregates information about people
9774 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9775 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9776 etc.) to create metacontacts. It's written in Vala, which generates C code when
9777 compiled.")
9778 (home-page "https://wiki.gnome.org/Projects/Folks")
9779 (license license:lgpl2.1+)))
9780
9781 (define-public gfbgraph
9782 (package
9783 (name "gfbgraph")
9784 (version "0.2.4")
9785 (source (origin
9786 (method url-fetch)
9787 (uri (string-append
9788 "mirror://gnome/sources/gfbgraph/"
9789 (version-major+minor version) "/"
9790 "gfbgraph-" version ".tar.xz"))
9791 (sha256
9792 (base32
9793 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9794 (build-system glib-or-gtk-build-system)
9795 (arguments
9796 `(#:tests? #f ; tests appear to require the network
9797 #:configure-flags '("--disable-static"
9798 "--enable-gtk-doc"
9799 "--enable-introspection")))
9800 (native-inputs
9801 `(("gobject-introspection" ,gobject-introspection)
9802 ("gtk-doc" ,gtk-doc/stable)
9803 ("pkg-config" ,pkg-config)
9804
9805 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9806 ("autoconf" ,autoconf)
9807 ("automake" ,automake)
9808 ("libtool" ,libtool)
9809 ("which" ,which)))
9810 (inputs
9811 `(("json-glib" ,json-glib)
9812 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9813 ("rest" ,rest)))
9814 (synopsis "GLib/GObject wrapper for the Facebook API")
9815 (description "This library allows you to use the Facebook API from
9816 GLib/GObject code.")
9817 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9818 (license license:lgpl2.1+)))
9819
9820 (define-public libgnomekbd
9821 (package
9822 (name "libgnomekbd")
9823 (version "3.26.1")
9824 (source (origin
9825 (method url-fetch)
9826 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9827 (version-major+minor version) "/"
9828 "libgnomekbd-" version ".tar.xz"))
9829 (sha256
9830 (base32
9831 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9832 (build-system gnu-build-system)
9833 (native-inputs
9834 `(("pkg-config" ,pkg-config)
9835 ("glib" ,glib "bin")
9836 ("intltool" ,intltool)))
9837 (propagated-inputs
9838 ;; Referred to in .h files and .pc.
9839 `(("glib" ,glib)
9840 ("gtk+" ,gtk+)
9841 ("libxklavier" ,libxklavier)))
9842 (home-page "https://www.gnome.org")
9843 (synopsis "GNOME keyboard configuration library")
9844 (description
9845 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9846 environment, which can notably display keyboard layouts.")
9847 (license license:lgpl2.0+)))
9848
9849 ;;; This package is no longer maintained:
9850 ;;; https://wiki.gnome.org/Attic/LibUnique
9851 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9852 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9853 (define-public libunique
9854 (package
9855 (name "libunique")
9856 (version "3.0.2")
9857 (source (origin
9858 (method url-fetch)
9859 (uri (string-append "mirror://gnome/sources/" name "/"
9860 (version-major+minor version) "/"
9861 name "-" version ".tar.xz"))
9862 (sha256
9863 (base32
9864 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9865 (build-system glib-or-gtk-build-system)
9866 (arguments
9867 `(#:configure-flags '("--disable-static"
9868 "--disable-dbus" ; use gdbus
9869 "--enable-introspection")))
9870 (native-inputs
9871 `(("pkg-config" ,pkg-config)
9872 ("gobject-introspection" ,gobject-introspection)
9873 ("glib:bin" ,glib "bin")
9874 ("gtk-doc" ,gtk-doc/stable)))
9875 (propagated-inputs
9876 ;; Referred to in .h files and .pc.
9877 `(("gtk+" ,gtk+)))
9878 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9879 (synopsis "Library for writing single instance applications")
9880 (description
9881 "Libunique is a library for writing single instance applications. If you
9882 launch a single instance application twice, the second instance will either just
9883 quit or will send a message to the running instance. Libunique makes it easy to
9884 write this kind of application, by providing a base class, taking care of all
9885 the IPC machinery needed to send messages to a running instance, and also
9886 handling the startup notification side.")
9887 (license license:lgpl2.1+)))
9888
9889 (define-public gnome-calculator
9890 (package
9891 (name "gnome-calculator")
9892 (version "3.34.1")
9893 (source
9894 (origin
9895 (method url-fetch)
9896 (uri (string-append "mirror://gnome/sources/" name "/"
9897 (version-major+minor version) "/"
9898 name "-" version ".tar.xz"))
9899 (sha256
9900 (base32
9901 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9902 (build-system meson-build-system)
9903 (arguments '(#:glib-or-gtk? #t))
9904 (native-inputs
9905 `(("gettext" ,gettext-minimal)
9906 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9907 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9908 ("itstool" ,itstool)
9909 ("vala" ,vala)
9910 ("pkg-config" ,pkg-config)))
9911 (inputs
9912 `(("glib" ,glib)
9913 ("gtksourceview" ,gtksourceview)
9914 ("libgee" ,libgee)
9915 ("libsoup" ,libsoup)
9916 ("libxml2" ,libxml2)
9917 ("mpc" ,mpc)
9918 ("mpfr" ,mpfr)))
9919 (home-page "https://wiki.gnome.org/Apps/Calculator")
9920 (synopsis "Desktop calculator")
9921 (description
9922 "Calculator is an application that solves mathematical equations and
9923 is suitable as a default application in a Desktop environment.")
9924 (license license:gpl3)))
9925
9926 (define-public xpad
9927 (package
9928 (name "xpad")
9929 (version "5.1.0")
9930 (source
9931 (origin
9932 (method url-fetch)
9933 (uri (string-append "https://launchpad.net/xpad/trunk/"
9934 version "/+download/"
9935 name "-" version ".tar.bz2"))
9936 (sha256
9937 (base32
9938 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9939 (build-system gnu-build-system)
9940 (native-inputs
9941 `(("autoconf" ,autoconf)
9942 ("automake" ,automake)
9943 ("gtk+:bin" ,gtk+ "bin")
9944 ("intltool" ,intltool)
9945 ("pkg-config" ,pkg-config)))
9946 (inputs
9947 `(("gtksourceview" ,gtksourceview-3)
9948 ("libsm" ,libsm)))
9949 (home-page "https://wiki.gnome.org/Apps/Xpad")
9950 (synopsis "Virtual sticky note")
9951 (description
9952 "Xpad is a sticky note that strives to be simple, fault tolerant,
9953 and customizable. Xpad consists of independent pad windows, each is
9954 basically a text box in which notes can be written.")
9955 (license license:gpl3+)))
9956
9957 (define-public gucharmap
9958 (let ((unicode-files
9959 '(("Blocks.txt"
9960 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9961 ("DerivedAge.txt"
9962 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9963 ("NamesList.txt"
9964 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9965 ("Scripts.txt"
9966 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9967 ("UnicodeData.txt"
9968 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9969 ("Unihan.zip"
9970 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9971 (package
9972 (name "gucharmap")
9973 (version "12.0.1")
9974 (source
9975 (origin
9976 (method url-fetch)
9977 (uri (string-append "mirror://gnome/sources/" name "/"
9978 (version-major+minor version) "/"
9979 name "-" version ".tar.xz"))
9980 (sha256
9981 (base32
9982 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9983 (build-system glib-or-gtk-build-system)
9984 (arguments
9985 `(#:modules ((ice-9 match)
9986 (guix build glib-or-gtk-build-system)
9987 (guix build utils))
9988 #:configure-flags
9989 (list "--with-unicode-data=../unicode-data")
9990 #:phases
9991 (modify-phases %standard-phases
9992 (add-after 'unpack 'prepare-unicode-data
9993 (lambda* (#:key inputs #:allow-other-keys)
9994 (mkdir-p "../unicode-data")
9995 (with-directory-excursion "../unicode-data"
9996 (for-each (match-lambda
9997 ((file _)
9998 (install-file (assoc-ref inputs file) ".")))
9999 ',unicode-files))
10000 #t)))))
10001 (native-inputs
10002 `(("desktop-file-utils" ,desktop-file-utils)
10003 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10004 ("gobject-introspection" ,gobject-introspection)
10005 ("intltool" ,intltool)
10006 ("itstool" ,itstool)
10007 ("pkg-config" ,pkg-config)
10008 ,@(map (match-lambda
10009 ((file hash)
10010 `(,file
10011 ,(origin
10012 (method url-fetch)
10013 (uri (string-append
10014 "http://www.unicode.org/Public/12.0.0/ucd/"
10015 file))
10016 (sha256 (base32 hash))))))
10017 unicode-files)
10018 ("unzip" ,unzip)))
10019 (inputs
10020 `(("gtk+" ,gtk+)
10021 ("xmllint" ,libxml2)))
10022 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10023 (synopsis "Unicode character picker and font browser")
10024 (description
10025 "This program allows you to browse through all the available Unicode
10026 characters and categories for the installed fonts, and to examine their
10027 detailed properties. It is an easy way to find the character you might
10028 only know by its Unicode name or code point.")
10029 (license license:gpl3+))))
10030
10031 (define-public bluefish
10032 (package
10033 (name "bluefish")
10034 (version "2.2.12")
10035 (source
10036 (origin
10037 (method url-fetch)
10038 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10039 "bluefish-" version ".tar.gz"))
10040 (sha256
10041 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10042 (build-system gnu-build-system)
10043 (native-inputs
10044 `(("desktop-file-utils" ,desktop-file-utils)
10045 ("intltool" ,intltool)
10046 ("pkg-config" ,pkg-config)))
10047 (inputs
10048 `(("enchant" ,enchant)
10049 ("gtk+" ,gtk+)
10050 ("python" ,python-wrapper)
10051 ("xmllint" ,libxml2)
10052 ("gucharmap" ,gucharmap)))
10053 (home-page "http://bluefish.openoffice.nl")
10054 (synopsis "Web development studio")
10055 (description
10056 "Bluefish is an editor aimed at programmers and web developers,
10057 with many options to write web sites, scripts and other code.
10058 Bluefish supports many programming and markup languages.")
10059 (license license:gpl3+)))
10060
10061 (define-public gnome-system-monitor
10062 (package
10063 (name "gnome-system-monitor")
10064 (version "3.32.1")
10065 (source
10066 (origin
10067 (method url-fetch)
10068 (uri (string-append "mirror://gnome/sources/" name "/"
10069 (version-major+minor version) "/"
10070 name "-" version ".tar.xz"))
10071 (sha256
10072 (base32
10073 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10074 (build-system meson-build-system)
10075 (arguments
10076 '(#:glib-or-gtk? #t
10077 #:configure-flags '("-Dsystemd=false")))
10078 (native-inputs
10079 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10080 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10081 ("intltool" ,intltool)
10082 ("itstool" ,itstool)
10083 ("libgtop" ,libgtop)
10084 ("polkit" ,polkit)
10085 ("pkg-config" ,pkg-config)))
10086 (inputs
10087 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10088 ("gtk+" ,gtk+)
10089 ("gtkmm" ,gtkmm)
10090 ("librsvg" ,librsvg)
10091 ("libxml2" ,libxml2)
10092 ("libwnck" ,libwnck)))
10093 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10094 (synopsis "Process viewer and system resource monitor for GNOME")
10095 (description
10096 "GNOME System Monitor is a GNOME process viewer and system monitor with
10097 an attractive, easy-to-use interface. It has features, such as a tree view
10098 for process dependencies, icons for processes, the ability to hide processes,
10099 graphical time histories of CPU/memory/swap usage and the ability to
10100 kill/reinice processes.")
10101 (license license:gpl2+)))
10102
10103 (define-public python-pyatspi
10104 (package
10105 (name "python-pyatspi")
10106 (version "2.34.0")
10107 (source (origin
10108 (method url-fetch)
10109 (uri (string-append
10110 "mirror://gnome/sources/pyatspi/"
10111 (version-major+minor version)
10112 "/pyatspi-" version ".tar.xz"))
10113 (sha256
10114 (base32
10115 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10116 (build-system gnu-build-system)
10117 (arguments
10118 `(#:phases
10119 (modify-phases %standard-phases
10120 (add-before 'build 'fix-atk-load
10121 (lambda _
10122 (substitute* "pyatspi/__init__.py"
10123 (("from gi.repository import Atspi")
10124 "gi.require_version('Gtk', '3.0')
10125 from gi.repository import Gtk
10126 from gi.repository import Atspi"))
10127 #t)))))
10128 (native-inputs
10129 `(("pkg-config" ,pkg-config)))
10130 (inputs
10131 `(("python" ,python)))
10132 (propagated-inputs
10133 `(("python-pygobject" ,python-pygobject)))
10134 (synopsis "Python client bindings for D-Bus AT-SPI")
10135 (home-page "https://wiki.linuxfoundation.org/accessibility\
10136 /atk/at-spi/at-spi_on_d-bus")
10137 (description
10138 "This package includes a python client library for the AT-SPI D-Bus
10139 accessibility infrastructure.")
10140 (license license:lgpl2.0)
10141 (properties '((upstream-name . "pyatspi")))))
10142
10143 (define-public python2-pyatspi
10144 (package/inherit python-pyatspi
10145 (name "python2-pyatspi")
10146 (inputs
10147 `(("python" ,python-2)))
10148 (propagated-inputs
10149 `(("python-pygobject" ,python2-pygobject)))))
10150
10151 (define-public orca
10152 (package
10153 (name "orca")
10154 (version "3.34.1")
10155 (source (origin
10156 (method url-fetch)
10157 (uri (string-append
10158 "mirror://gnome/sources/" name "/"
10159 (version-major+minor version) "/"
10160 name "-" version ".tar.xz"))
10161 (sha256
10162 (base32
10163 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10164 (build-system glib-or-gtk-build-system)
10165 (arguments
10166 '(#:phases
10167 (modify-phases %standard-phases
10168 (add-before 'configure 'qualify-xkbcomp
10169 (lambda* (#:key inputs #:allow-other-keys)
10170 (let ((xkbcomp (string-append
10171 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10172 (substitute* "src/orca/orca.py"
10173 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10174 #t))
10175 (add-after 'install 'wrap-orca
10176 (lambda* (#:key outputs #:allow-other-keys)
10177 (let* ((out (assoc-ref outputs "out"))
10178 (prog (string-append out "/bin/orca")))
10179 (wrap-program prog
10180 `("GI_TYPELIB_PATH" ":" prefix
10181 (,(getenv "GI_TYPELIB_PATH")))
10182 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10183 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10184 `("PYTHONPATH" ":" prefix
10185 (,(getenv "PYTHONPATH")))))
10186 #t)))))
10187 (native-inputs
10188 `(("intltool" ,intltool)
10189 ("itstool" ,itstool)
10190 ("pkg-config" ,pkg-config)
10191 ("xmllint" ,libxml2)))
10192 (inputs
10193 `(("at-spi2-atk" ,at-spi2-atk)
10194 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10195 ("gstreamer" ,gstreamer)
10196 ("gst-plugins-base" ,gst-plugins-base)
10197 ("gst-plugins-good" ,gst-plugins-good)
10198 ("gtk+" ,gtk+)
10199 ("python" ,python)
10200 ("python-pygobject" ,python-pygobject)
10201 ("python-pyatspi" ,python-pyatspi)
10202 ("python-speechd" ,speech-dispatcher)
10203 ("xkbcomp" ,xkbcomp)))
10204 (synopsis
10205 "Screen reader for individuals who are blind or visually impaired")
10206 (home-page "https://wiki.gnome.org/Projects/Orca")
10207 (description
10208 "Orca is a screen reader that provides access to the graphical desktop
10209 via speech and refreshable braille. Orca works with applications and toolkits
10210 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10211 (license license:lgpl2.1+)))
10212
10213 (define-public gspell
10214 (package
10215 (name "gspell")
10216 (version "1.8.2")
10217 (source (origin
10218 (method url-fetch)
10219 (uri (string-append "mirror://gnome/sources/" name "/"
10220 (version-major+minor version) "/"
10221 name "-" version ".tar.xz"))
10222 (sha256
10223 (base32
10224 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10225 (patches (search-patches "gspell-dash-test.patch"))))
10226 (build-system glib-or-gtk-build-system)
10227 (arguments
10228 '(#:configure-flags (list "--enable-vala")
10229 #:phases
10230 (modify-phases %standard-phases
10231 (add-before 'check 'pre-check
10232 (lambda* (#:key inputs #:allow-other-keys)
10233 ;; Tests require a running X server.
10234 (system "Xvfb :1 &")
10235 (setenv "DISPLAY" ":1")
10236
10237 ;; For the missing /etc/machine-id.
10238 (setenv "DBUS_FATAL_WARNINGS" "0")
10239
10240 ;; Allow Enchant and its Aspell backend to find the en_US
10241 ;; dictionary.
10242 (setenv "ASPELL_DICT_DIR"
10243 (string-append (assoc-ref inputs "aspell-dict-en")
10244 "/lib/aspell"))
10245 #t)))))
10246 (inputs
10247 `(("gtk+" ,gtk+)
10248 ("glib" ,glib)
10249 ("iso-codes" ,iso-codes)))
10250 (native-inputs
10251 `(("glib" ,glib "bin")
10252 ("gobject-introspection" ,gobject-introspection)
10253 ("pkg-config" ,pkg-config)
10254 ("vala" ,vala) ;for VAPI, needed by Geary
10255 ("xmllint" ,libxml2)
10256
10257 ;; For tests.
10258 ("aspell-dict-en" ,aspell-dict-en)
10259 ("xorg-server" ,xorg-server-for-tests)))
10260 (propagated-inputs
10261 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10262 (home-page "https://wiki.gnome.org/Projects/gspell")
10263 (synopsis "GNOME's alternative spell checker")
10264 (description
10265 "gspell provides a flexible API to add spell-checking to a GTK+
10266 application. It provides a GObject API, spell-checking to text entries and
10267 text views, and buttons to choose the language.")
10268 (license license:gpl2+)))
10269
10270 (define-public gnome-planner
10271 (package
10272 (name "gnome-planner")
10273 (version "0.14.6")
10274 (source (origin
10275 (method url-fetch)
10276 (uri (string-append "mirror://gnome/sources/planner/"
10277 (version-major+minor version) "/planner-"
10278 version ".tar.xz"))
10279 (sha256
10280 (base32
10281 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10282 (build-system glib-or-gtk-build-system)
10283 (arguments
10284 ;; Disable the Python bindings because the Planner program functions
10285 ;; without them, and (as of 2017-06-13) we have not packaged all of
10286 ;; packages that are necessary for building the Python bindings.
10287 `(#:configure-flags
10288 (list "--disable-python"
10289 ,@(if (string=? "aarch64-linux" (%current-system))
10290 '("--build=aarch64-unknown-linux-gnu")
10291 '()))))
10292 (inputs
10293 `(("libgnomecanvas" ,libgnomecanvas)
10294 ("libgnomeui" ,libgnomeui)
10295 ("libglade" ,libglade)
10296 ("gnome-vfs" ,gnome-vfs)
10297 ("gconf" ,gconf)
10298 ("libxml2" ,libxml2)
10299 ("libxslt" ,libxslt)
10300 ("gtk+" ,gtk+)
10301 ("glib" ,glib)))
10302 (native-inputs
10303 `(("intltool" ,intltool)
10304 ("scrollkeeper" ,scrollkeeper)
10305 ("pkg-config" ,pkg-config)))
10306 (home-page "https://wiki.gnome.org/Apps/Planner")
10307 (synopsis "Project management software for the GNOME desktop")
10308 (description
10309 "GNOME Planner is a project management tool based on the Work Breakdown
10310 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10311 the resources, tasks, and constraints that you define, Planner generates
10312 various views into a project. For example, Planner can show a Gantt chart of
10313 the project. It can show a detailed summary of tasks including their
10314 duration, cost, and current progress. It can also show a report of resource
10315 utilization that highlights under-utilized and over-utilized resources. These
10316 views can be printed as PDF or PostScript files, or exported to HTML.")
10317 (license license:gpl2+)))
10318
10319 (define-public lollypop
10320 (package
10321 (name "lollypop")
10322 (version "1.4.6")
10323 (source
10324 (origin
10325 (method url-fetch)
10326 (uri (string-append "https://adishatz.org/lollypop/"
10327 "lollypop-" version ".tar.xz"))
10328 (sha256
10329 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10330 (build-system meson-build-system)
10331 (arguments
10332 `(#:imported-modules
10333 (,@%meson-build-system-modules
10334 (guix build python-build-system))
10335 #:modules
10336 ((guix build meson-build-system)
10337 ((guix build python-build-system) #:prefix python:)
10338 (guix build utils))
10339 #:glib-or-gtk? #t
10340 #:tests? #f ; no test suite
10341 #:phases
10342 (modify-phases %standard-phases
10343 (add-after 'install 'wrap-program
10344 (lambda* (#:key outputs #:allow-other-keys)
10345 (let ((out (assoc-ref outputs "out"))
10346 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10347 (wrap-program (string-append out "/bin/lollypop")
10348 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10349 #t))
10350 (add-after 'install 'wrap-python
10351 (assoc-ref python:%standard-phases 'wrap)))))
10352 (native-inputs
10353 `(("intltool" ,intltool)
10354 ("itstool" ,itstool)
10355 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10356 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10357 ("pkg-config" ,pkg-config)))
10358 (inputs
10359 `(("glib-networking" ,glib-networking)
10360 ("gobject-introspection" ,gobject-introspection)
10361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10362 ("gst-plugins-base" ,gst-plugins-base)
10363 ("libnotify" ,libnotify)
10364 ("libsecret" ,libsecret)
10365 ("libhandy" ,libhandy)
10366 ("libsoup" ,libsoup)
10367 ("python" ,python)
10368 ("python-beautifulsoup4" ,python-beautifulsoup4)
10369 ("python-gst" ,python-gst)
10370 ("python-pil" ,python-pillow)
10371 ("python-pycairo" ,python-pycairo)
10372 ("python-pygobject" ,python-pygobject)
10373 ("python-pylast" ,python-pylast)
10374 ("totem-pl-parser" ,totem-pl-parser)
10375 ("webkitgtk" ,webkitgtk)))
10376 (propagated-inputs
10377 `(;; gst-plugins-base is required to start Lollypop,
10378 ;; the others are required to play streaming.
10379 ("gst-plugins-good" ,gst-plugins-good)
10380 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10381 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10382 (synopsis "GNOME music playing application")
10383 (description
10384 "Lollypop is a music player designed to play well with GNOME desktop.
10385 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10386 from artists and tracks from the web. It also fetches cover artworks
10387 automatically and it can stream songs from online music services and charts.")
10388 (license license:gpl3+)))
10389
10390 (define-public gnome-video-effects
10391 (package
10392 (name "gnome-video-effects")
10393 (version "0.5.0")
10394 (source (origin
10395 (method url-fetch)
10396 (uri (string-append "mirror://gnome/sources/" name "/"
10397 (version-major+minor version) "/" name "-"
10398 version ".tar.xz"))
10399 (sha256
10400 (base32
10401 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10402 (build-system meson-build-system)
10403 (native-inputs
10404 `(("gettext" ,gettext-minimal)
10405 ("pkg-config" ,pkg-config)))
10406 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10407 (synopsis "Video effects for Cheese and other GNOME applications")
10408 (description
10409 "A collection of GStreamer video filters and effects to be used in
10410 photo-booth-like software, such as Cheese.")
10411 (license license:gpl2+)))
10412
10413 (define-public cheese
10414 (package
10415 (name "cheese")
10416 (version "3.38.0")
10417 (source (origin
10418 (method url-fetch)
10419 (uri (string-append "mirror://gnome/sources/" name "/"
10420 (version-major+minor version) "/" name "-"
10421 version ".tar.xz"))
10422 (sha256
10423 (base32
10424 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10425 (arguments
10426 `(#:glib-or-gtk? #t
10427 ;; Tests require GDK.
10428 #:tests? #f
10429 #:phases
10430 (modify-phases %standard-phases
10431 (add-after 'unpack 'skip-gtk-update-icon-cache
10432 (lambda _
10433 ;; Don't create 'icon-theme.cache'
10434 (substitute* "meson_post_install.py"
10435 (("gtk-update-icon-cache") (which "true")))
10436 #t))
10437 (add-after 'unpack 'patch-docbook-xml
10438 (lambda* (#:key inputs #:allow-other-keys)
10439 ;; Avoid a network connection attempt during the build.
10440 (substitute* '("docs/reference/cheese.xml"
10441 "docs/reference/cheese-docs.xml")
10442 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10443 (string-append (assoc-ref inputs "docbook-xml")
10444 "/xml/dtd/docbook/docbookx.dtd")))
10445 #t))
10446 (add-after 'install 'wrap-cheese
10447 (lambda* (#:key inputs outputs #:allow-other-keys)
10448 (let ((out (assoc-ref outputs "out"))
10449 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10450 (wrap-program (string-append out "/bin/cheese")
10451 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10452 #t)))))
10453 (build-system meson-build-system)
10454 (native-inputs
10455 `(("docbook-xsl" ,docbook-xsl)
10456 ("docbook-xml" ,docbook-xml-4.3)
10457 ("gettext" ,gettext-minimal)
10458 ("glib:bin" ,glib "bin")
10459 ("gtk-doc" ,gtk-doc/stable)
10460 ("itstool" ,itstool)
10461 ("libxml2" ,libxml2)
10462 ("libxslt" ,libxslt)
10463 ("pkg-config" ,pkg-config)
10464 ("vala" ,vala)))
10465 (propagated-inputs
10466 `(("gnome-video-effects" ,gnome-video-effects)
10467 ("clutter" ,clutter)
10468 ("clutter-gst" ,clutter-gst)
10469 ("clutter-gtk" ,clutter-gtk)
10470 ("libcanberra" ,libcanberra)
10471 ("gdk-pixbuf" ,gdk-pixbuf)
10472 ("glib" ,glib)
10473 ("gstreamer" ,gstreamer)))
10474 (inputs
10475 `(("gnome-desktop" ,gnome-desktop)
10476 ("gobject-introspection" ,gobject-introspection)
10477 ("gst-plugins-base" ,gst-plugins-base)
10478 ("gst-plugins-good" ,gst-plugins-good)
10479 ("gst-plugins-bad" ,gst-plugins-bad)
10480 ("gtk+" ,gtk+)
10481 ("libx11" ,libx11)
10482 ("libxtst" ,libxtst)))
10483 (home-page "https://wiki.gnome.org/Apps/Cheese")
10484 (synopsis "Webcam photo booth software for GNOME")
10485 (description
10486 "Cheese uses your webcam to take photos and videos. Cheese can also
10487 apply fancy special effects and lets you share the fun with others.")
10488 (license license:gpl2+)))
10489
10490 (define-public passwordsafe
10491 (package
10492 (name "passwordsafe")
10493 (version "5.0")
10494 (source
10495 (origin
10496 (method git-fetch)
10497 (uri (git-reference
10498 (url "https://gitlab.gnome.org/World/PasswordSafe")
10499 (commit version)))
10500 (file-name (git-file-name name version))
10501 (sha256
10502 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10503 (build-system meson-build-system)
10504 (arguments
10505 `(#:glib-or-gtk? #t
10506 #:phases
10507 (modify-phases %standard-phases
10508 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10509 (lambda* (#:key outputs #:allow-other-keys)
10510 (let ((prog (string-append (assoc-ref outputs "out")
10511 "/bin/gnome-passwordsafe"))
10512 (pylib (string-append (assoc-ref outputs "out")
10513 "/lib/python"
10514 ,(version-major+minor
10515 (package-version python))
10516 "/site-packages")))
10517 (wrap-program prog
10518 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10519 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10520 #t))))))
10521 (native-inputs
10522 `(("desktop-file-utils" ,desktop-file-utils)
10523 ("gettext" ,gettext-minimal)
10524 ("glib:bin" ,glib "bin")
10525 ("gobject-introspection" ,gobject-introspection)
10526 ("gtk+:bin" ,gtk+ "bin")
10527 ("pkg-config" ,pkg-config)))
10528 (inputs
10529 `(("glib" ,glib)
10530 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10531 ("gtk+" ,gtk+)
10532 ("libhandy" ,libhandy)
10533 ("libpwquality" ,libpwquality)
10534 ("python-pygobject" ,python-pygobject)
10535 ("python-pykeepass" ,python-pykeepass)))
10536 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10537 (synopsis "Password manager for the GNOME desktop")
10538 (description
10539 "Password Safe is a password manager which makes use of the KeePass v4
10540 format. It integrates perfectly with the GNOME desktop and provides an easy
10541 and uncluttered interface for the management of password databases.")
10542 (license license:gpl3+)))
10543
10544 (define-public sound-juicer
10545 (package
10546 (name "sound-juicer")
10547 (version "3.24.0")
10548 (source
10549 (origin
10550 (method url-fetch)
10551 (uri (string-append "mirror://gnome/sources/" name "/"
10552 (version-major+minor version) "/"
10553 name "-" version ".tar.xz"))
10554 (sha256
10555 (base32
10556 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10557 (build-system glib-or-gtk-build-system)
10558 (native-inputs
10559 `(("desktop-file-utils" ,desktop-file-utils)
10560 ("intltool" ,intltool)
10561 ("itstool" ,itstool)
10562 ("pkg-config" ,pkg-config)
10563 ("xmllint" ,libxml2)))
10564 (inputs
10565 `(("gtk+" ,gtk+)
10566 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10567 ("gstreamer" ,gstreamer)
10568 ("gst-plugins-base" ,gst-plugins-base)
10569 ("gst-plugins-good" ,gst-plugins-good)
10570 ("iso-codes" ,iso-codes)
10571 ("libbrasero-media3" ,brasero)
10572 ("libcanberra" ,libcanberra)
10573 ("libdiscid" ,libdiscid)
10574 ("libmusicbrainz" ,libmusicbrainz)
10575 ("neon" ,neon)))
10576 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10577 (synopsis "Audio music cd ripper")
10578 (description "Sound Juicer extracts audio from compact discs and convert it
10579 into audio files that a personal computer or digital audio player can play.
10580 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10581 mp3, Ogg Vorbis and FLAC")
10582 (license license:gpl2+)))
10583
10584 (define-public soundconverter
10585 (package
10586 (name "soundconverter")
10587 (version "3.0.2")
10588 (source
10589 (origin
10590 (method url-fetch)
10591 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10592 version "/+download/"
10593 "soundconverter-" version ".tar.xz"))
10594
10595 (sha256
10596 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10597 (build-system glib-or-gtk-build-system)
10598 (arguments
10599 `(#:imported-modules ((guix build python-build-system)
10600 (guix build glib-or-gtk-build-system)
10601 ,@%gnu-build-system-modules)
10602
10603 #:modules ((guix build glib-or-gtk-build-system)
10604 (guix build utils)
10605 ((guix build gnu-build-system) #:prefix gnu:)
10606 ((guix build python-build-system) #:prefix python:))
10607
10608 #:phases
10609 (modify-phases %standard-phases
10610 (add-after 'install 'wrap-soundconverter-for-python
10611 (assoc-ref python:%standard-phases 'wrap))
10612 (add-after 'install 'wrap-soundconverter
10613 (lambda* (#:key inputs outputs #:allow-other-keys)
10614 (let ((out (assoc-ref outputs "out"))
10615 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10616 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10617 (wrap-program (string-append out "/bin/soundconverter")
10618 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10619 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10620 #t)))))
10621 (native-inputs
10622 `(("intltool" ,intltool)
10623 ("pkg-config" ,pkg-config)
10624 ("glib:bin" ,glib "bin")))
10625 (inputs
10626 `(("gtk+" ,gtk+)
10627 ("python" ,python)
10628 ("python-pygobject" ,python-pygobject)
10629 ("gstreamer" ,gstreamer)
10630 ("gst-plugins-base" ,gst-plugins-base)))
10631 (home-page "https://soundconverter.org/")
10632 (synopsis "Convert between audio formats with a graphical interface")
10633 (description
10634 "SoundConverter supports converting between many audio formats including
10635 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10636 configurable file renaming. ")
10637 (license license:gpl3)))
10638
10639 (define-public workrave
10640 (package
10641 (name "workrave")
10642 (version "1.10.43")
10643 (source
10644 (origin
10645 (method git-fetch)
10646 (uri (git-reference
10647 (url "https://github.com/rcaelers/workrave")
10648 (commit (string-append "v" (string-map
10649 (match-lambda (#\. #\_) (chr chr))
10650 version)))))
10651 (file-name (git-file-name name version))
10652 (sha256
10653 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10654 (build-system glib-or-gtk-build-system)
10655 (arguments
10656 ;; The only tests are maintainer tests (in po/), which fail.
10657 `(#:tests? #f))
10658 (inputs `(("glib" ,glib)
10659 ("gtk+" ,gtk+)
10660 ("gdk-pixbuf" ,gdk-pixbuf)
10661 ("gtkmm" ,gtkmm)
10662 ("glibmm" ,glibmm)
10663 ("libx11" ,libx11)
10664 ("libxtst" ,libxtst)
10665 ("dconf" ,dconf)
10666 ("libice" ,libice)
10667 ("libsm" ,libsm)
10668 ("libxscrnsaver" ,libxscrnsaver)))
10669 (native-inputs `(("boost" ,boost)
10670 ("pkg-config" ,pkg-config)
10671 ("gettext" ,gettext-minimal)
10672 ("autoconf" ,autoconf)
10673 ("autoconf-archive" , autoconf-archive)
10674 ("automake" ,automake)
10675 ("libtool" ,libtool)
10676 ("intltool" ,intltool)
10677 ("gobject-introspection" ,gobject-introspection)
10678 ("python3" ,python-3)
10679 ("python-jinja2" ,python-jinja2)))
10680 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10681 (description
10682 "Workrave is a program that assists in the recovery and prevention of
10683 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10684 micro-pauses and rest breaks, and restricts you to your daily limit.")
10685 (home-page "http://www.workrave.org")
10686 (license license:gpl3+)))
10687
10688 (define-public ghex
10689 (package
10690 (name "ghex")
10691 (version "3.18.4")
10692 (source (origin
10693 (method url-fetch)
10694 (uri (string-append "mirror://gnome/sources/ghex/"
10695 (version-major+minor version) "/"
10696 "ghex-" version ".tar.xz"))
10697 (sha256
10698 (base32
10699 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10700 (build-system meson-build-system)
10701 (arguments
10702 '(#:glib-or-gtk? #t
10703 #:phases
10704 (modify-phases %standard-phases
10705 (add-after 'unpack 'skip-gtk-update-icon-cache
10706 ;; Don't create 'icon-theme.cache'.
10707 (lambda _
10708 (substitute* "meson_post_install.py"
10709 (("gtk-update-icon-cache") (which "true")))
10710 #t)))))
10711 (native-inputs
10712 `(("pkg-config" ,pkg-config)
10713 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10714 ("gnome-common" ,gnome-common)
10715 ("which" ,which)
10716 ("intltool" ,intltool)
10717 ("yelp-tools" ,yelp-tools)
10718 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10719 (inputs
10720 `(("atk" ,atk)
10721 ("gtk" ,gtk+)))
10722 (synopsis "GNOME hexadecimal editor")
10723 (description "The GHex program can view and edit files in two ways:
10724 hexadecimal or ASCII. It is useful for editing binary files in general.")
10725 (home-page "https://wiki.gnome.org/Apps/Ghex")
10726 (license license:gpl2)))
10727
10728 (define-public libdazzle
10729 (package
10730 (name "libdazzle")
10731 (version "3.37.1")
10732 (source (origin
10733 (method url-fetch)
10734 (uri (string-append "mirror://gnome/sources/libdazzle/"
10735 (version-major+minor version) "/"
10736 "libdazzle-" version ".tar.xz"))
10737 (sha256
10738 (base32
10739 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10740 (build-system meson-build-system)
10741 (arguments
10742 `(#:phases
10743 (modify-phases %standard-phases
10744 (add-before 'check 'pre-check
10745 (lambda _
10746 ;; Tests require a running X server.
10747 (system "Xvfb :1 &")
10748 (setenv "DISPLAY" ":1")
10749 #t)))))
10750 (native-inputs
10751 `(("glib" ,glib "bin") ; glib-compile-resources
10752 ("pkg-config" ,pkg-config)
10753 ;; For tests.
10754 ("xorg-server" ,xorg-server-for-tests)))
10755 (inputs
10756 `(("glib" ,glib)
10757 ("gobject-introspection" ,gobject-introspection)
10758 ("gtk+" ,gtk+)
10759 ("vala" ,vala)))
10760 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10761 (synopsis "Companion library to GObject and Gtk+")
10762 (description "The libdazzle library is a companion library to GObject and
10763 Gtk+. It provides various features that the authors wish were in the
10764 underlying library but cannot for various reasons. In most cases, they are
10765 wildly out of scope for those libraries. In other cases, they are not quite
10766 generic enough to work for everyone.")
10767 (license license:gpl3+)))
10768
10769 (define-public evolution
10770 (package
10771 (name "evolution")
10772 (version "3.34.2")
10773 (source (origin
10774 (method url-fetch)
10775 (uri (string-append "mirror://gnome/sources/evolution/"
10776 (version-major+minor version) "/"
10777 "evolution-" version ".tar.xz"))
10778 (sha256
10779 (base32
10780 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10781 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10782 (build-system cmake-build-system)
10783 (arguments
10784 `(#:imported-modules (,@%cmake-build-system-modules
10785 (guix build glib-or-gtk-build-system))
10786 #:modules ((guix build cmake-build-system)
10787 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10788 (guix build utils))
10789 #:configure-flags
10790 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10791 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10792 ; in four years and cannot be built.
10793 #:phases
10794 (modify-phases %standard-phases
10795 ;; The build system attempts to install user interface modules to the
10796 ;; output directory of the "evolution-data-server" package. This
10797 ;; change redirects that change.
10798 (add-after 'unpack 'patch-ui-module-dir
10799 (lambda* (#:key outputs #:allow-other-keys)
10800 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10801 (("\\$\\{edsuimoduledir\\}")
10802 (string-append (assoc-ref outputs "out")
10803 "/lib/evolution-data-server/ui-modules")))
10804 #t))
10805 (add-after 'install 'glib-or-gtk-compile-schemas
10806 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10807 (add-after 'install 'glib-or-gtk-wrap
10808 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10809 (native-inputs
10810 `(("glib" ,glib "bin") ; glib-mkenums
10811 ("pkg-config" ,pkg-config)
10812 ("intltool" ,intltool)
10813 ("itstool" ,itstool)))
10814 (inputs
10815 `(("enchant" ,enchant)
10816 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10817 ("gcr" ,gcr)
10818 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10819 ("gnome-autoar" ,gnome-autoar)
10820 ("gnome-desktop" ,gnome-desktop)
10821 ("gspell" ,gspell)
10822 ("highlight" ,highlight)
10823 ("libcanberra" ,libcanberra)
10824 ("libgweather" ,libgweather)
10825 ("libnotify" ,libnotify)
10826 ("libsoup" ,libsoup)
10827 ("nss" ,nss)
10828 ("openldap" ,openldap)
10829 ("webkitgtk" ,webkitgtk)
10830 ("ytnef" ,ytnef)))
10831 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10832 (synopsis "Manage your email, contacts and schedule")
10833 (description "Evolution is a personal information management application
10834 that provides integrated mail, calendaring and address book
10835 functionality.")
10836 ;; See COPYING for details.
10837 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10838 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10839 license:lgpl2.1+)))) ; smime/lib/*
10840
10841 (define-public gthumb
10842 (package
10843 (name "gthumb")
10844 (version "3.10.3")
10845 (source (origin
10846 (method url-fetch)
10847 (uri (string-append "mirror://gnome/sources/gthumb/"
10848 (version-major+minor version) "/"
10849 "gthumb-" version ".tar.xz"))
10850 (sha256
10851 (base32
10852 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10853 (build-system meson-build-system)
10854 (arguments
10855 `(#:glib-or-gtk? #t
10856 #:configure-flags
10857 ;; Ensure the RUNPATH contains all installed library locations.
10858 (list (string-append "-Dc_link_args=-Wl,-rpath="
10859 (assoc-ref %outputs "out")
10860 "/lib/gthumb/extensions")
10861 (string-append "-Dcpp_link_args=-Wl,-rpath="
10862 (assoc-ref %outputs "out")
10863 "/lib/gthumb/extensions"))))
10864 (native-inputs
10865 `(("pkg-config" ,pkg-config)
10866 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10867 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10868 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10869 ("intltool" ,intltool)
10870 ("itstool" ,itstool)))
10871 (inputs
10872 `(("exiv2" ,exiv2)
10873 ("gtk" ,gtk+)
10874 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10875 ("gstreamer" ,gstreamer)
10876 ("clutter" ,clutter)
10877 ("clutter-gst" ,clutter-gst)
10878 ("clutter-gtk" ,clutter-gtk)
10879 ("libjpeg" ,libjpeg-turbo)
10880 ("libtiff" ,libtiff)
10881 ("libraw" ,libraw)))
10882 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10883 (synopsis "GNOME image viewer and browser")
10884 (description "GThumb is an image viewer, browser, organizer, editor and
10885 advanced image management tool")
10886 (license license:gpl2+)))
10887
10888 (define-public terminator
10889 (package
10890 (name "terminator")
10891 (version "2.1.1")
10892 (source
10893 (origin
10894 (method url-fetch)
10895 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10896 "releases/download/v" version "/"
10897 name "-" version ".tar.gz"))
10898 (sha256
10899 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10900 (build-system python-build-system)
10901 (native-inputs
10902 `(("gettext" ,gettext-minimal)
10903 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10904 ("gobject-introspection" ,gobject-introspection)
10905 ("intltool" ,intltool)
10906 ("pkg-config" ,pkg-config)
10907 ("python-psutil" ,python-psutil)
10908 ("python-pytest-runner" ,python-pytest-runner)
10909 ("python-pytest" ,python-pytest)))
10910 (inputs
10911 `(("cairo" ,cairo)
10912 ("dbus-glib" ,dbus-glib)
10913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10914 ("gtk+" ,gtk+)
10915 ("python" ,python-wrapper)
10916 ("python-dbus" ,python-dbus)
10917 ("python-notify2" ,python-notify2)
10918 ("python-pycairo" ,python-pycairo)
10919 ("python-pygobject" ,python-pygobject)
10920 ("vte" ,vte)))
10921 (propagated-inputs
10922 `(("python-configobj" ,python-configobj)))
10923 (arguments
10924 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10925 ;; tests.
10926 `(#:tests? #f
10927 #:imported-modules ((guix build glib-or-gtk-build-system)
10928 ,@%python-build-system-modules)
10929 #:modules ((guix build python-build-system)
10930 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10931 (guix build utils))
10932 #:phases
10933 (modify-phases %standard-phases
10934 (add-after 'unpack 'handle-dbus-python
10935 (lambda _
10936 ;; python-dbus cannot be found but it's really there. See
10937 ;; https://github.com/SpotlightKid/jack-select/issues/2
10938 (substitute* "setup.py"
10939 (("'dbus-python',") ""))
10940 #t))
10941 (add-after 'install 'wrap-program
10942 (lambda* (#:key outputs #:allow-other-keys)
10943 (let ((prog (string-append (assoc-ref outputs "out")
10944 "/bin/terminator"))
10945 (pylib (string-append (assoc-ref outputs "out")
10946 "/lib/python"
10947 ,(version-major+minor
10948 (package-version python))
10949 "/site-packages")))
10950 (wrap-program prog
10951 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10952 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10953 #t)))
10954 (add-after 'wrap-program 'glib-or-gtk-wrap
10955 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10956 (home-page "https://gnome-terminator.org/")
10957 (synopsis "Store and run multiple GNOME terminals in one window")
10958 (description
10959 "Terminator allows you to run multiple GNOME terminals in a grid and
10960 tabs, and it supports drag and drop re-ordering of terminals.")
10961 (license license:gpl2)))
10962
10963 (define-public libhandy
10964 (package
10965 (name "libhandy")
10966 (version "1.2.2")
10967 (source
10968 (origin
10969 (method git-fetch)
10970 (uri (git-reference
10971 (url "https://gitlab.gnome.org/GNOME/libhandy")
10972 (commit version)))
10973 (file-name (git-file-name name version))
10974 (sha256
10975 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10976 (build-system meson-build-system)
10977 (arguments
10978 `(#:configure-flags
10979 '("-Dglade_catalog=enabled"
10980 "-Dgtk_doc=true")
10981 #:phases
10982 (modify-phases %standard-phases
10983 (add-before 'check 'pre-check
10984 (lambda _
10985 ;; Tests require a running X server.
10986 (system "Xvfb :1 &")
10987 (setenv "DISPLAY" ":1")
10988 #t)))))
10989 (inputs
10990 `(("gtk+" ,gtk+)
10991 ("glade" ,glade3)
10992 ("libxml2" ,libxml2)))
10993 (native-inputs
10994 `(("glib:bin" ,glib "bin")
10995 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10996 ("vala" ,vala)
10997 ("gtk-doc" ,gtk-doc/stable)
10998 ("pkg-config" ,pkg-config)
10999 ("gettext" ,gettext-minimal)
11000
11001 ;; Test suite dependencies.
11002 ("xorg-server" ,xorg-server-for-tests)
11003 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11004 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11005 (synopsis "Library full of GTK+ widgets for mobile phones")
11006 (description "The aim of the handy library is to help with developing user
11007 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11008 for usage on small and big screens.")
11009 (license license:lgpl2.1+)))
11010
11011 (define-public libhandy-0.0
11012 (package
11013 (inherit libhandy)
11014 (version "0.0.13")
11015 (source
11016 (origin
11017 (method git-fetch)
11018 (uri (git-reference
11019 (url "https://gitlab.gnome.org/GNOME/libhandy")
11020 (commit (string-append "v" version))))
11021 (file-name (git-file-name "libhandy" version))
11022 (sha256
11023 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11024 (arguments
11025 (substitute-keyword-arguments (package-arguments libhandy)
11026 ((#:configure-flags flags)
11027 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11028
11029 (define-public libgit2-glib
11030 (package
11031 (name "libgit2-glib")
11032 (version "0.99.0.1")
11033 (source (origin
11034 (method url-fetch)
11035 (uri (string-append "mirror://gnome/sources/" name "/"
11036 (version-major+minor version) "/"
11037 name "-" version ".tar.xz"))
11038 (sha256
11039 (base32
11040 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11041 (build-system meson-build-system)
11042 (native-inputs
11043 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11044 ("gobject-introspection" ,gobject-introspection)
11045 ("pkg-config" ,pkg-config)
11046 ("python-pygobject" ,python-pygobject)
11047 ("python-wrapper" ,python-wrapper)
11048 ("vala" ,vala)))
11049 (inputs
11050 `(("glib" ,glib)
11051 ("libssh2" ,libssh2)))
11052 (propagated-inputs
11053 `(;; In Requires of libgit2-glib.pc.
11054 ("libgit2" ,libgit2)))
11055 (synopsis "GLib wrapper around the libgit2 Git access library")
11056 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11057 access library. It only implements the core plumbing functions, not really the
11058 higher level porcelain stuff.")
11059 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11060 (license license:gpl2+)))
11061
11062 (define-public gitg
11063 (package
11064 (name "gitg")
11065 (version "3.32.1")
11066 (source (origin
11067 (method url-fetch)
11068 (uri (string-append "mirror://gnome/sources/" name "/"
11069 (version-major+minor version) "/"
11070 name "-" version ".tar.xz"))
11071 (sha256
11072 (base32
11073 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11074 (build-system meson-build-system)
11075 (arguments
11076 `(#:glib-or-gtk? #t
11077 #:phases
11078 (modify-phases %standard-phases
11079 (add-after 'unpack 'disable-post-install-partially
11080 (lambda _
11081 (substitute* "meson_post_install.py"
11082 (("'python'") ; there are no python sources to compile
11083 (string-append "'" (which "true") "'"))
11084 (("gtk-update-icon-cache") (which "true")))
11085 #t))
11086 (add-after 'unpack 'fix-test-sources
11087 (lambda _
11088 (substitute* "tests/libgitg/test-commit.vala"
11089 (("/bin/bash") (which "bash")))
11090 #t))
11091 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11092 (lambda* (#:key outputs #:allow-other-keys)
11093 (let ((prog (string-append (assoc-ref outputs "out")
11094 "/bin/gitg")))
11095 (wrap-program prog
11096 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11097 #t))))))
11098 (inputs
11099 `(("glib" ,glib)
11100 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11101 ("gtk+" ,gtk+)
11102 ("gtkspell3" ,gtkspell3)
11103 ("gtksourceview" ,gtksourceview-3)
11104 ("json-glib" ,json-glib)
11105 ("libdazzle" ,libdazzle)
11106 ("libgee" ,libgee)
11107 ("libgit2-glib" ,libgit2-glib)
11108 ("libpeas" ,libpeas)
11109 ("libsecret" ,libsecret)
11110 ("libsoup" ,libsoup)
11111 ("libxml2" ,libxml2)))
11112 (native-inputs
11113 `(("glib:bin" ,glib "bin")
11114 ("gtk+:bin" ,gtk+ "bin")
11115 ("gobject-introspection" ,gobject-introspection)
11116 ("intltool" ,intltool)
11117 ("pkg-config" ,pkg-config)
11118 ("vala" ,vala)))
11119 (synopsis "Graphical user interface for git")
11120 (description
11121 "gitg is a graphical user interface for git. It aims at being a small,
11122 fast and convenient tool to visualize the history of git repositories.
11123 Besides visualization, gitg also provides several utilities to manage your
11124 repository and commit your work.")
11125 (home-page "https://wiki.gnome.org/Apps/Gitg")
11126 (license license:gpl2+)))
11127
11128 (define-public gamin
11129 (package
11130 (name "gamin")
11131 (version "0.1.10")
11132 (source (origin
11133 (method url-fetch)
11134 (uri (string-append "mirror://gnome/sources/" name "/"
11135 (version-major+minor version) "/"
11136 name "-" version ".tar.bz2"))
11137 (sha256
11138 (base32
11139 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11140 (build-system gnu-build-system)
11141 (arguments
11142 `(#:phases
11143 (modify-phases %standard-phases
11144 (add-after 'unpack 'remove-deprecated-macro
11145 (lambda _
11146 (substitute* '("server/gam_node.c"
11147 "server/gam_subscription.h"
11148 "server/gam_node.h"
11149 "server/gam_subscription.c")
11150 (("G_CONST_RETURN") "const"))
11151 #t)))))
11152 (inputs
11153 `(("glib" ,glib)))
11154 (native-inputs
11155 `(("intltool" ,intltool)
11156 ("pkg-config" ,pkg-config)))
11157 (home-page "https://people.gnome.org/~veillard/gamin/")
11158 (synopsis "File alteration monitor")
11159 (description
11160 "Gamin is a file and directory monitoring system defined to be a subset
11161 of the FAM (File Alteration Monitor) system. This is a service provided by a
11162 library which detects when a file or a directory has been modified.")
11163 (license license:gpl2+)))
11164
11165 (define-public gnome-mahjongg
11166 (package
11167 (name "gnome-mahjongg")
11168 (version "3.35.1")
11169 (source (origin
11170 (method git-fetch)
11171 (uri (git-reference
11172 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11173 (commit version)))
11174 (file-name (git-file-name name version))
11175 (sha256
11176 (base32
11177 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11178 (build-system meson-build-system)
11179 (arguments
11180 `(#:glib-or-gtk? #t))
11181 (native-inputs
11182 `(("appstream-glib" ,appstream-glib)
11183 ("gettext" ,gettext-minimal)
11184 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11185 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11186 ("itstool" ,itstool)
11187 ("pkg-config" ,pkg-config)
11188 ("vala" ,vala)))
11189 (propagated-inputs
11190 `(("dconf" ,dconf)))
11191 (inputs
11192 `(("glib" ,glib)
11193 ("gtk+" ,gtk+)
11194 ("librsvg" ,librsvg)))
11195 (synopsis "Mahjongg tile-matching game")
11196 (description "GNOME Mahjongg is a game based on the classic Chinese
11197 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11198 and a high score table.")
11199 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11200 (license license:gpl2+)))
11201
11202 (define-public gnome-themes-extra
11203 (package
11204 (name "gnome-themes-extra")
11205 (version "3.28")
11206 (source
11207 (origin
11208 (method url-fetch)
11209 (uri (string-append "mirror://gnome/sources/" name "/"
11210 (version-major+minor version) "/" name "-"
11211 version ".tar.xz"))
11212 (sha256
11213 (base32
11214 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11215 (build-system gnu-build-system)
11216 (arguments
11217 '(#:configure-flags
11218 ;; Don't create 'icon-theme.cache'.
11219 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11220 (true (string-append coreutils "/bin/true")))
11221 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11222 (native-inputs
11223 `(("glib:bin" ,glib "bin")
11224 ("intltool" ,intltool)
11225 ("pkg-config" ,pkg-config)))
11226 (inputs
11227 `(("glib" ,glib)
11228 ("gtk+" ,gtk+)
11229 ("gtk+-2" ,gtk+-2)
11230 ("librsvg" ,librsvg)
11231 ("libxml2" ,libxml2)))
11232 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11233 (synopsis "GNOME Extra Themes")
11234 (description "This package provides themes and related elements that don't
11235 really fit in other upstream packages. It offers legacy support for GTK+ 2
11236 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11237 index files needed for Adwaita to be used outside of GNOME.")
11238 (license license:lgpl2.1+)))
11239
11240 (define-public gnote
11241 (package
11242 (name "gnote")
11243 (version "3.38.1")
11244 (source
11245 (origin
11246 (method url-fetch)
11247 (uri (string-append "mirror://gnome/sources/" name "/"
11248 (version-major+minor version) "/"
11249 "gnote-" version ".tar.xz"))
11250 (sha256
11251 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11252 (build-system glib-or-gtk-build-system)
11253 (native-inputs
11254 `(("desktop-file-utils" ,desktop-file-utils)
11255 ("glib:bin" ,glib "bin")
11256 ("gobject-introspection" ,gobject-introspection)
11257 ("intltool" ,intltool)
11258 ("itstool" ,itstool)
11259 ("pkg-config" ,pkg-config)
11260 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11261 (inputs
11262 `(("glibmm" ,glibmm)
11263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11264 ("gspell" ,gspell)
11265 ("gtk+" ,gtk+)
11266 ("gtkmm" ,gtkmm)
11267 ("libsecret" ,libsecret)
11268 ("libuuid" ,util-linux "lib")
11269 ("libxml2" ,libxml2)
11270 ("libxslt" ,libxslt)))
11271 (synopsis "Note-taking application for the GNOME desktop")
11272 (description
11273 "Gnote is a note-taking application written for the GNOME desktop
11274 environment.")
11275 (home-page "https://wiki.gnome.org/Apps/Gnote")
11276 (license license:gpl3+)))
11277
11278 (define-public polari
11279 (package
11280 (name "polari")
11281 (version "3.36.3")
11282 (source (origin
11283 (method url-fetch)
11284 (uri (string-append "mirror://gnome/sources/polari/"
11285 (version-major+minor version)
11286 "/polari-" version ".tar.xz"))
11287 (sha256
11288 (base32
11289 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11290 (build-system meson-build-system)
11291 (arguments
11292 `(#:glib-or-gtk? #t
11293 #:phases
11294 (modify-phases %standard-phases
11295 (add-after 'unpack 'skip-gtk-update-icon-cache
11296 (lambda _
11297 (substitute* "meson/meson-postinstall.sh"
11298 (("gtk-update-icon-cache") (which "true")))
11299 #t))
11300 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11301 (lambda* (#:key outputs #:allow-other-keys)
11302 (let ((prog (string-append (assoc-ref outputs "out")
11303 "/bin/polari")))
11304 (wrap-program prog
11305 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11306 #t))))))
11307 (inputs
11308 `(("glib" ,glib)
11309 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11310 ("gspell" ,gspell)
11311 ("gtk+" ,gtk+)
11312 ("gjs" ,gjs)
11313 ("libsecret" ,libsecret)
11314 ("libsoup" ,libsoup)
11315 ("telepathy-glib" ,telepathy-glib)
11316 ("telepathy-logger" ,telepathy-logger)))
11317 (native-inputs
11318 `(("glib:bin" ,glib "bin")
11319 ("gobject-introspection" ,gobject-introspection)
11320 ("intltool" ,intltool)
11321 ("pkg-config" ,pkg-config)
11322 ("yelp-tools" ,yelp-tools)))
11323 (propagated-inputs
11324 `(("telepathy-idle" ,telepathy-idle)
11325 ("telepathy-mission-control" ,telepathy-mission-control)))
11326 (synopsis "Simple IRC Client")
11327 (description
11328 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11329 integrate seamlessly with the GNOME desktop.")
11330 (home-page "https://wiki.gnome.org/Apps/Polari")
11331 (license license:gpl2+)))
11332
11333 (define-public gnome-boxes
11334 (package
11335 (name "gnome-boxes")
11336 (version "3.36.6")
11337 (source
11338 (origin
11339 (method url-fetch)
11340 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11341 (version-major+minor version) "/"
11342 "gnome-boxes-" version ".tar.xz"))
11343 (sha256
11344 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11345 (build-system meson-build-system)
11346 (arguments
11347 '(#:glib-or-gtk? #t
11348 #:configure-flags (list "-Drdp=false"
11349 (string-append "-Dc_link_args=-Wl,-rpath="
11350 (assoc-ref %outputs "out")
11351 "/lib/gnome-boxes"))))
11352 (native-inputs
11353 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11354 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11355 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11356 ("itstool" ,itstool)
11357 ("intltool" ,intltool)
11358 ("vala" ,vala)
11359 ("pkg-config" ,pkg-config)))
11360 (inputs
11361 `(("libarchive" ,libarchive)
11362 ("glib-networking" ,glib-networking) ;for TLS support
11363 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11364 ("gtk" ,gtk+)
11365 ("gtk-vnc" ,gtk-vnc)
11366 ("libosinfo" ,libosinfo)
11367 ("libsecret" ,libsecret)
11368 ("libsoup" ,libsoup)
11369 ("libusb" ,libusb)
11370 ("libvirt" ,libvirt)
11371 ("libvirt-glib" ,libvirt-glib)
11372 ("libxml" ,libxml2)
11373 ("spice-gtk" ,spice-gtk)
11374 ("sparql-query" ,sparql-query)
11375 ("vte" ,vte)
11376 ("webkitgtk" ,webkitgtk)
11377 ("tracker" ,tracker)
11378 ("libgudev" ,libgudev)))
11379 (home-page "https://wiki.gnome.org/Apps/Boxes")
11380 (synopsis "View, access, and manage remote and virtual systems")
11381 (description "GNOME Boxes is a simple application to view, access, and
11382 manage remote and virtual systems. Note that this application requires the
11383 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11384 @command{info '(guix) Virtualization Services'} to learn how to configure
11385 these services on the Guix System.")
11386 (license (list
11387 ;; For data/icons/empty-boxes.png.
11388 license:cc-by2.0
11389 ;; For all others.
11390 license:lgpl2.0+))))
11391
11392 (define-public geary
11393 (package
11394 (name "geary")
11395 (version "3.34.1")
11396 (source (origin
11397 (method git-fetch)
11398 (uri (git-reference
11399 (url "https://gitlab.gnome.org/GNOME/geary")
11400 (commit version)))
11401 (file-name (git-file-name name version))
11402 (sha256
11403 (base32
11404 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11405 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11406 (build-system meson-build-system)
11407 (arguments
11408 `(#:glib-or-gtk? #t
11409 #:phases (modify-phases %standard-phases
11410 (add-after 'unpack 'disable-failing-tests
11411 (lambda _
11412 (substitute* "test/meson.build"
11413 (("test\\('client-tests', geary_test_client_bin\\)")
11414 ""))
11415 #t))
11416 (add-after 'unpack 'disable-postinstall-script
11417 (lambda _
11418 (substitute* "meson.build"
11419 (("meson.add_install_script\\(\
11420 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11421 ""))
11422 #t))
11423 (add-before 'check 'setup-xvfb
11424 (lambda _
11425 (system "Xvfb :1 &")
11426 (setenv "DISPLAY" ":1")
11427 #t)))))
11428 (inputs
11429 `(("enchant" ,enchant)
11430 ("folks" ,folks)
11431 ("gcr" ,gcr)
11432 ("glib" ,glib)
11433 ("gmime" ,gmime-2.6)
11434 ("gnome-online-accounts:lib"
11435 ,gnome-online-accounts "lib")
11436 ("gspell" ,gspell)
11437 ("gtk+" ,gtk+)
11438 ("iso-codes" ,iso-codes)
11439 ("json-glib" ,json-glib)
11440 ("libcanberra" ,libcanberra)
11441 ("libgee" ,libgee)
11442 ("libhandy" ,libhandy-0.0)
11443 ("libpeas" ,libpeas)
11444 ("libsecret" ,libsecret)
11445 ("libunwind" ,libunwind)
11446 ("sqlite" ,sqlite)
11447 ("webkitgtk" ,webkitgtk)
11448 ("ytnef" ,ytnef)))
11449 (native-inputs
11450 `(("appstream-glib" ,appstream-glib)
11451 ("cmake-minimal" ,cmake-minimal)
11452 ("desktop-file-utils" ,desktop-file-utils)
11453 ("gettext" ,gettext-minimal)
11454 ("glib:bin" ,glib "bin")
11455 ("gobject-introspection" ,gobject-introspection)
11456 ("itstool" ,itstool)
11457 ("libarchive" ,libarchive)
11458 ("libxml2" ,libxml2)
11459 ("pkg-config" ,pkg-config)
11460 ("vala" ,vala)
11461 ("xvfb" ,xorg-server-for-tests)))
11462 (synopsis "GNOME email application built around conversations")
11463 (description
11464 "Geary collects related messages together into conversations,
11465 making it easy to find and follow your discussions. Full-text and keyword
11466 search makes it easy to find the email you are looking for. Geary's
11467 full-featured composer lets you send rich, styled text with images, links, and
11468 lists, but also send lightweight, easy to read text messages. Geary
11469 automatically picks up your existing GNOME Online Accounts, and adding more is
11470 easy. Geary has a clean, fast, modern interface that works like you want it
11471 to.")
11472 (home-page "https://wiki.gnome.org/Apps/Geary")
11473 (license (list
11474 ;; geary
11475 license:lgpl2.1+
11476 ;; icons
11477 license:cc-by3.0
11478 license:cc-by-sa3.0
11479 license:public-domain
11480 ;; snowball
11481 license:bsd-2))))
11482
11483 (define-public glabels
11484 (package
11485 (name "glabels")
11486 (version "3.4.1")
11487 (source
11488 (origin
11489 (method url-fetch)
11490 (uri (string-append "mirror://gnome/sources/" name "/"
11491 (version-major+minor version) "/"
11492 "glabels-" version ".tar.xz"))
11493 (sha256
11494 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11495 (build-system glib-or-gtk-build-system)
11496 (native-inputs
11497 `(("gettext" ,gettext-minimal)
11498 ("glib:bin" ,glib "bin")
11499 ("intltool" ,intltool)
11500 ("itstool" ,itstool)
11501 ("pkg-config" ,pkg-config)))
11502 (inputs
11503 `(("gtk+" ,gtk+)
11504 ("librsvg" ,librsvg)
11505 ("libxml2" ,libxml2)))
11506 (home-page "https://glabels.org/")
11507 (synopsis "Program for creating labels and business cards")
11508 (description
11509 "gLabels is a program for creating labels and business cards. It is
11510 designed to work with various laser/ink-jet peel-off label and business
11511 card sheets that you’ll find at most office supply stores.")
11512 (license license:gpl3+)))
11513
11514 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11515 (define-public gnome-latex
11516 (package
11517 (name "gnome-latex")
11518 (version "3.36.0")
11519 (source
11520 (origin
11521 (method url-fetch)
11522 (uri (string-append "mirror://gnome/sources/" name "/"
11523 (version-major+minor version) "/"
11524 "gnome-latex-" version ".tar.xz"))
11525 (sha256
11526 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11527 (build-system glib-or-gtk-build-system)
11528 (native-inputs
11529 `(("gettext" ,gettext-minimal)
11530 ("glib:bin" ,glib "bin")
11531 ("gobject-introspection" ,gobject-introspection)
11532 ("gtk-doc" ,gtk-doc/stable)
11533 ("intltool" ,intltool)
11534 ("itstool" ,itstool)
11535 ("pkg-config" ,pkg-config)
11536 ("vala" ,vala)))
11537 (inputs
11538 `(("amtk" ,amtk)
11539 ("dconf" ,dconf)
11540 ("glib" ,glib)
11541 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11542 ("gspell" ,gspell)
11543 ("gtk+" ,gtk+)
11544 ("gtksourceview" ,gtksourceview)
11545 ("libgee" ,libgee)
11546 ("tepl" ,tepl)
11547 ("uchardet" ,uchardet)))
11548 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11549 (synopsis "LaTeX editor for the GNOME desktop")
11550 (description
11551 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11552 such as build tools, completion of LaTeX commands, structure navigation,
11553 symbol tables, document templates, project management, spell-checking, menus
11554 and toolbars.")
11555 (license license:gpl3+)))
11556
11557 (define-public setzer
11558 (package
11559 (name "setzer")
11560 (version "0.4.1")
11561 (source
11562 (origin
11563 (method git-fetch)
11564 (uri (git-reference
11565 (url "https://github.com/cvfosammmm/Setzer")
11566 (commit (string-append "v" version))))
11567 (file-name (git-file-name name version))
11568 (sha256
11569 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11570 (build-system meson-build-system)
11571 (arguments
11572 `(#:glib-or-gtk? #t
11573 #:phases
11574 (modify-phases %standard-phases
11575 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11576 (lambda* (#:key outputs #:allow-other-keys)
11577 (let ((prog (string-append (assoc-ref outputs "out")
11578 "/bin/setzer"))
11579 (pylib (string-append (assoc-ref outputs "out")
11580 "/lib/python"
11581 ,(version-major+minor
11582 (package-version python))
11583 "/site-packages")))
11584 (wrap-program prog
11585 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11587 #t))))))
11588 (native-inputs
11589 `(("desktop-file-utils" ,desktop-file-utils)
11590 ("gettext" ,gettext-minimal)
11591 ("glib:bin" ,glib "bin")
11592 ("gobject-introspection" ,gobject-introspection)
11593 ("gtk+:bin" ,gtk+ "bin")))
11594 (inputs
11595 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11596 ("gspell" ,gspell)
11597 ("gtk+" ,gtk+)
11598 ("gtksourceview" ,gtksourceview)
11599 ("pango" ,pango)
11600 ("poppler" ,poppler)
11601 ("python-pdfminer" ,python-pdfminer-six)
11602 ("python-pycairo" ,python-pycairo)
11603 ("python-pygobject" ,python-pygobject)
11604 ("python-pyxdg" ,python-pyxdg)
11605 ("webkitgtk" ,webkitgtk)
11606 ("xdg-utils" ,xdg-utils)))
11607 (home-page "https://www.cvfosammmm.org/setzer/")
11608 (synopsis "LaTeX editor written in Python with GTK+")
11609 (description
11610 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11611 GTK+. It integrates well with the GNOME desktop environment.")
11612 (license license:gpl3+)))
11613
11614 (define-public libratbag
11615 (package
11616 (name "libratbag")
11617 (version "0.14")
11618 (source
11619 (origin
11620 (method git-fetch)
11621 (uri (git-reference
11622 (url "https://github.com/libratbag/libratbag")
11623 (commit (string-append "v" version))))
11624 (file-name (git-file-name name version))
11625 (sha256
11626 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11627 (build-system meson-build-system)
11628 (arguments
11629 `(#:configure-flags
11630 (list "-Dsystemd=false"
11631 "-Dlogind-provider=elogind")
11632 #:phases
11633 (modify-phases %standard-phases
11634 (add-after 'install 'wrap
11635 (lambda* (#:key inputs outputs #:allow-other-keys)
11636 (let* ((out (assoc-ref outputs "out"))
11637 (site (string-append
11638 "/lib/python"
11639 ,(version-major+minor (package-version python))
11640 "/site-packages"))
11641 (evdev (string-append
11642 (assoc-ref inputs "python-evdev") site))
11643 (pygo (string-append
11644 (assoc-ref inputs "python-pygobject") site))
11645 (python-wrap
11646 `("PYTHONPATH" = (,evdev ,pygo))))
11647 (wrap-program (string-append out "/bin/" "ratbagctl")
11648 python-wrap)
11649 #t))))))
11650 (native-inputs
11651 `(("check" ,check)
11652 ("pkg-config" ,pkg-config)
11653 ("swig" ,swig)
11654 ("valgrind" ,valgrind)))
11655 (inputs
11656 `(("glib" ,glib)
11657 ("json-glib" ,json-glib)
11658 ("libevdev" ,libevdev)
11659 ("libsystemd" ,elogind)
11660 ("libunistring" ,libunistring)
11661 ("python-evdev" ,python-evdev)
11662 ("python-pygobject" ,python-pygobject)
11663 ("udev" ,eudev)))
11664 (home-page "https://github.com/libratbag/libratbag")
11665 (synopsis "DBus daemon and utility for configuring gaming mice")
11666 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11667 configure input devices, mainly gaming mice. The daemon provides a generic
11668 way to access the various features exposed by these mice and abstracts away
11669 hardware-specific and kernel-specific quirks. There is also the
11670 @command{ratbagctl} command line interface for configuring devices.
11671
11672 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11673 Steelseries.
11674
11675 The ratbagd DBus service can be enabled by adding the following service to
11676 your operating-system definition:
11677
11678 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11679 (license license:expat)))
11680
11681 (define-public piper
11682 (package
11683 (name "piper")
11684 (version "0.5.1")
11685 (source
11686 (origin
11687 (method git-fetch)
11688 (uri (git-reference
11689 (url "https://github.com/libratbag/piper")
11690 (commit version)))
11691 (sha256
11692 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11693 (file-name (git-file-name name version))))
11694 (build-system meson-build-system)
11695 (native-inputs
11696 `(("gettext" ,gettext-minimal)
11697 ("glib:bin" ,glib "bin")
11698 ("gobject-introspection" ,gobject-introspection)
11699 ("pkg-config" ,pkg-config)
11700 ("python-flake8" ,python-flake8)))
11701 (inputs
11702 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11703 ("gtk" ,gtk+)
11704 ("gtk:bin" ,gtk+ "bin")
11705 ("librsvg" ,librsvg)
11706 ("python-evdev" ,python-evdev)
11707 ("python-lxml" ,python-lxml)
11708 ("python-pycairo" ,python-pycairo)
11709 ("python-pygobject" ,python-pygobject)))
11710 (arguments
11711 `(#:imported-modules ((guix build python-build-system)
11712 ,@%meson-build-system-modules)
11713 #:modules (((guix build python-build-system) #:prefix python:)
11714 (guix build meson-build-system)
11715 (guix build utils))
11716 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11717 #:phases
11718 (modify-phases %standard-phases
11719 (add-after 'unpack 'dont-update-gtk-icon-cache
11720 (lambda _
11721 (substitute* "meson.build"
11722 (("meson.add_install_script('meson_install.sh')") ""))
11723 #t))
11724 ;; TODO: Switch to wrap-script when it is fixed.
11725 (add-after 'install 'wrap-python
11726 (assoc-ref python:%standard-phases 'wrap))
11727 (add-after 'wrap-python 'wrap
11728 (lambda* (#:key outputs #:allow-other-keys)
11729 (wrap-program
11730 (string-append (assoc-ref outputs "out" )"/bin/piper")
11731 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11732 #t)))))
11733 (home-page "https://github.com/libratbag/piper/")
11734 (synopsis "Configure bindings and LEDs on gaming mice")
11735 (description "Piper is a GTK+ application for configuring gaming mice with
11736 onboard configuration for key bindings via libratbag. Piper requires
11737 a @command{ratbagd} daemon running with root privileges. It can be run
11738 manually as root, but is preferably configured as a DBus service that can
11739 launch on demand. This can be configured by enabling the following service,
11740 provided there is a DBus service present:
11741
11742 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11743 (license license:gpl2)))
11744
11745 (define-public parlatype
11746 (package
11747 (name "parlatype")
11748 (version "2.1")
11749 (source
11750 (origin
11751 (method git-fetch)
11752 (uri (git-reference
11753 (url "https://github.com/gkarsay/parlatype")
11754 (commit (string-append "v" version))))
11755 (file-name (git-file-name name version))
11756 (sha256
11757 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11758 (build-system meson-build-system)
11759 (arguments
11760 `(#:glib-or-gtk? #t
11761 #:tests? #f ;require internet access
11762 #:phases
11763 (modify-phases %standard-phases
11764 (add-after 'install 'wrap-parlatype
11765 ;; Add gstreamer plugin provided in this package to system's
11766 ;; plugins.
11767 (lambda* (#:key outputs #:allow-other-keys)
11768 (let* ((out (assoc-ref outputs "out"))
11769 (gst-plugin-path (string-append
11770 out "/lib/gstreamer-1.0/"
11771 ":"
11772 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11773 (wrap-program (string-append out "/bin/parlatype")
11774 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11775 #t)))))
11776 (native-inputs
11777 `(("appstream-glib" ,appstream-glib)
11778 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11779 ("gettext" ,gettext-minimal)
11780 ("glib" ,glib "bin") ;for glib-compile-resources
11781 ("pkg-config" ,pkg-config)
11782 ("yelp-tools" ,yelp-tools)))
11783 (inputs
11784 `(("gst-plugins-base" ,gst-plugins-base)
11785 ("gst-plugins-good" ,gst-plugins-good)
11786 ("gstreamer" ,gstreamer)
11787 ("gtk+" ,gtk+)
11788 ("pocketsphinx" ,pocketsphinx)
11789 ("pulseaudio" ,pulseaudio)
11790 ("sphinxbase" ,sphinxbase)))
11791 (home-page "http://gkarsay.github.io/parlatype/")
11792 (synopsis "GNOME audio player for transcription")
11793 (description "Parlatype is an audio player for the GNOME desktop
11794 environment. Its main purpose is the manual transcription of spoken
11795 audio files.")
11796 (license license:gpl3+)))
11797
11798 (define-public jsonrpc-glib
11799 (package
11800 (name "jsonrpc-glib")
11801 (version "3.34.0")
11802 (source (origin
11803 (method url-fetch)
11804 (uri (string-append "mirror://gnome/sources/" name "/"
11805 (version-major+minor version) "/"
11806 name "-" version ".tar.xz"))
11807 (sha256
11808 (base32
11809 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11810 (build-system meson-build-system)
11811 (inputs
11812 `(("json-glib" ,json-glib)
11813 ("glib" ,glib)))
11814 (native-inputs
11815 `(("pkg-config" ,pkg-config)
11816 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11817 ("gobject-introspection" ,gobject-introspection)
11818 ("vala" ,vala)))
11819 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11820 (synopsis "JSON-RPC library for GLib")
11821 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11822 peers in either a synchronous or asynchronous fashion. It also allows
11823 communicating using the GVariant serialization format instead of JSON when
11824 both peers support it. You might want that when communicating on a single
11825 host to avoid parser overhead and memory-allocator fragmentation.")
11826 (license license:lgpl2.1+)))
11827
11828 (define-public feedbackd
11829 (package
11830 (name "feedbackd")
11831 (version "0.0.0+git20200527")
11832 (source (origin
11833 (method git-fetch)
11834 (uri (git-reference
11835 (url "https://source.puri.sm/Librem5/feedbackd.git")
11836 (commit (string-append "v" version))))
11837 (file-name (git-file-name name version))
11838 (sha256
11839 (base32
11840 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11841 (build-system meson-build-system)
11842 (native-inputs
11843 `(("glib:bin" ,glib "bin")
11844 ("gobject-introspection" ,gobject-introspection)
11845 ("pkg-config" ,pkg-config)
11846 ("vala" ,vala)))
11847 (inputs
11848 `(("dbus" ,dbus)
11849 ("gsound" ,gsound)
11850 ("json-glib" ,json-glib)
11851 ("libgudev" ,libgudev)))
11852 (propagated-inputs
11853 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11854 (synopsis "Haptic/visual/audio feedback via DBus")
11855 (description "Feedbackd provides a DBus daemon to act on events to provide
11856 haptic, visual and audio feedback. It offers the libfeedbackd library and
11857 GObject introspection bindings.")
11858 (home-page "https://source.puri.sm/Librem5/feedbackd")
11859 (license (list license:lgpl2.1+ ; libfeedbackd
11860 license:lgpl3+)))) ; the rest
11861
11862 (define-public sysprof
11863 (package
11864 (name "sysprof")
11865 (version "3.36.0")
11866 (source
11867 (origin
11868 (method url-fetch)
11869 (uri (string-append "mirror://gnome/sources/sysprof/"
11870 (version-major+minor version) "/"
11871 "sysprof-" version ".tar.xz"))
11872 (sha256
11873 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11874 (build-system meson-build-system)
11875 (arguments
11876 `(#:configure-flags
11877 (list (string-append "-Dsystemdunitdir="
11878 %output
11879 "/share/systemd"))
11880 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11881 #:phases
11882 (modify-phases %standard-phases
11883 (add-after 'unpack 'patch-install-script
11884 (lambda _
11885 (substitute* "build-aux/meson/post_install.sh"
11886 (("gtk-update-icon-cache") "true")
11887 (("update-desktop-database") "true"))
11888 #t)))))
11889 (inputs
11890 `(("glib" ,glib)
11891 ("gtk+" ,gtk+)
11892 ("libdazzle" ,libdazzle)
11893 ("polkit" ,polkit)))
11894 (native-inputs
11895 `(("gettext" ,gettext-minimal)
11896 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11897 ("itstool" ,itstool)
11898 ("pkg-config" ,pkg-config)
11899 ("xmllint" ,libxml2)))
11900 ;; This home page is so woefully out of date as to be essentially useless.
11901 ;; (home-page "http://www.sysprof.com")
11902 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11903 (synopsis "System-wide performance profiler for GNU/Linux")
11904 (description
11905 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11906 GNU/Linux system including the kernel and all user-space applications. This
11907 helps find the function(s) in which a program spends most of its time.
11908
11909 It uses the kernel's built-in @code{ptrace} feature and handles shared
11910 libraries. Applications do not need to be recompiled--or even restarted.")
11911 (license license:gpl3+)))
11912
11913 (define-public gnome-builder
11914 (package
11915 (name "gnome-builder")
11916 (version "3.36.1")
11917 (source (origin
11918 (method url-fetch)
11919 (uri (string-append "mirror://gnome/sources/" name "/"
11920 (version-major+minor version) "/"
11921 name "-" version ".tar.xz"))
11922 (sha256
11923 (base32
11924 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11925 (build-system meson-build-system)
11926 (arguments
11927 `(#:configure-flags (list "-Dnetwork_tests=false"
11928 ;; TODO: Enable all plugins...
11929 "-Dplugin_clang=false"
11930 "-Dplugin_flatpak=false"
11931 "-Dplugin_glade=false"
11932 ;; XXX: This one has been shown not to work in
11933 ;; <https://issues.guix.gnu.org/45272>
11934 "-Dplugin_jedi=false"
11935 ;; ... except this one.
11936 "-Dplugin_update_manager=false")
11937 #:phases
11938 (modify-phases %standard-phases
11939 (add-after 'unpack 'patch-meson
11940 (lambda* (#:key inputs #:allow-other-keys)
11941 (substitute* "build-aux/meson/post_install.py"
11942 (("gtk-update-icon-cache") "true")
11943 (("update-desktop-database") "true"))
11944 (substitute* "src/libide/meson.build"
11945 (("/usr/lib")
11946 (string-append (assoc-ref inputs "python-pygobject")
11947 "/lib")))
11948 #t))
11949 (add-after 'configure 'fix-ninja
11950 (lambda _
11951 ;; #43296: meson(?) incorrectly assumes we want to link
11952 ;; this PIE against a static libselinux.
11953 (substitute* "build.ninja"
11954 (("libselinux\\.a") "libselinux.so"))
11955 #t))
11956 (add-before 'check 'pre-check
11957 (lambda _
11958 (system "Xvfb :1 &")
11959 (setenv "DISPLAY" ":1")
11960 #t)))))
11961 (inputs
11962 `(("devhelp" ,devhelp)
11963 ("gspell" ,gspell)
11964 ("gtk+" ,gtk+)
11965 ("json-glib" ,json-glib)
11966 ("jsonrpc-glib" ,jsonrpc-glib)
11967 ("libdazzle" ,libdazzle)
11968 ("libgit2-glib" ,libgit2-glib)
11969 ("libpeas" ,libpeas)
11970 ("python-pygobject" ,python-pygobject)
11971 ("sysprof" ,sysprof)
11972 ("template-glib" ,template-glib)
11973 ("vte" ,vte)
11974 ("webkitgtk" ,webkitgtk)))
11975 (propagated-inputs
11976 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11977 (native-inputs
11978 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11979 ("glib:bin" ,glib "bin")
11980 ("gettext" ,gettext-minimal)
11981 ("pkg-config" ,pkg-config)
11982 ("vala" ,vala)
11983 ("xorg-server" ,xorg-server-for-tests)))
11984 (home-page "https://wiki.gnome.org/Apps/Builder")
11985 (synopsis "Toolsmith for GNOME-based applications")
11986 (description "Builder aims to be an integrated development
11987 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11988 auto-completion, a mini code map, documentation browsing, Git integration, an
11989 integrated profiler via Sysprof, debugging support, and more.")
11990 (license license:gpl3+)))
11991
11992 (define-public komikku
11993 (package
11994 (name "komikku")
11995 (version "0.28.1")
11996 (source
11997 (origin
11998 (method git-fetch)
11999 (uri (git-reference
12000 (url "https://gitlab.com/valos/Komikku/")
12001 (commit (string-append "v" version))))
12002 (file-name (git-file-name name version))
12003 (sha256
12004 (base32
12005 "0ifcwp5fw74yypxkq7i0yc3002bsvj3p5c1icspr8s2kyjyllm6i"))))
12006 (build-system meson-build-system)
12007 (arguments
12008 `(#:glib-or-gtk? #t
12009 #:phases
12010 (modify-phases %standard-phases
12011 (add-after 'unpack 'patch-sources
12012 (lambda _
12013 (substitute* "komikku/utils.py"
12014 (("from komikku\\.servers import get_servers_list")
12015 ;; code following that line should migrate old databases
12016 ;; but the line itself results in an import error
12017 "return data_dir_path"))))
12018 (add-after 'unpack 'skip-gtk-update-icon-cache
12019 (lambda _
12020 (substitute* "meson_post_install.py"
12021 (("gtk-update-icon-cache") (which "true")))
12022 #t))
12023 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12024 (lambda* (#:key outputs #:allow-other-keys)
12025 (let ((prog (string-append (assoc-ref outputs "out")
12026 "/bin/komikku")))
12027 (wrap-program prog
12028 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12029 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12030 #t))))))
12031 (inputs
12032 `(("gtk+" ,gtk+)
12033 ("libhandy" ,libhandy)
12034 ("libnotify" ,libnotify)
12035 ("libsecret" ,libsecret)
12036 ("python-beautifulsoup4" ,python-beautifulsoup4)
12037 ("python-brotli" ,python-brotli)
12038 ("python-dateparser" ,python-dateparser)
12039 ("python-keyring" ,python-keyring)
12040 ("python-lxml" ,python-lxml)
12041 ("python-magic" ,python-magic)
12042 ("python-pillow" ,python-pillow)
12043 ("python-pure-protobuf" ,python-pure-protobuf)
12044 ("python-pycairo" ,python-pycairo)
12045 ("python-pygobject" ,python-pygobject)
12046 ("python-requests" ,python-requests)
12047 ("python-unidecode" ,python-unidecode)
12048 ("webkitgtk" ,webkitgtk)))
12049 (native-inputs
12050 `(("desktop-file-utils" ,desktop-file-utils)
12051 ("gettext" ,gettext-minimal)
12052 ("glib:bin" ,glib "bin")
12053 ("gobject-introspection" ,gobject-introspection)
12054 ("pkg-config" ,pkg-config)))
12055 (home-page "https://gitlab.com/valos/Komikku")
12056 (synopsis "Manga reader for GNOME")
12057 (description "Komikku is an online/offline manga reader for GNOME,
12058 developed with the aim of being used with the Librem 5 phone.")
12059 (license license:gpl3+)))
12060
12061 (define-public libgda
12062 (package
12063 (name "libgda")
12064 (version "5.2.10")
12065 (source
12066 (origin
12067 (method git-fetch)
12068 (uri (git-reference
12069 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12070 (commit (string-append "LIBGDA_" (string-replace-substring
12071 version "." "_")))))
12072 (file-name (git-file-name name version))
12073 (sha256
12074 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12075 (build-system gnu-build-system)
12076 (arguments
12077 `(#:configure-flags '("--enable-vala")
12078 ;; There's a race between check_cnc_lock and check_threaded_cnc
12079 ;; in tests/multi-threading.
12080 #:parallel-tests? #f
12081 #:phases
12082 (modify-phases %standard-phases
12083 (add-after 'unpack 'fix-glade-install
12084 (lambda _
12085 (substitute* "configure.ac"
12086 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12087 "${datadir}/glade/catalogs")
12088 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12089 "${datadir}/glade/pixmaps"))
12090 #t))
12091 (add-before 'check 'pre-check
12092 (lambda* (#:key inputs #:allow-other-keys)
12093 ;; Tests require a running X server.
12094 (system "Xvfb :1 &")
12095 (setenv "DISPLAY" ":1")
12096 #t))
12097 (add-after 'install 'symlink-glade-module
12098 (lambda* (#:key outputs #:allow-other-keys)
12099 (let* ((shlib "libgda-ui-5.0.so")
12100 (out (assoc-ref outputs "out"))
12101 (out/lib (string-append out "/lib"))
12102 (moduledir (string-append out/lib "/glade/modules")))
12103 (mkdir-p moduledir)
12104 (symlink (string-append out/lib "/" shlib)
12105 (string-append moduledir "/" shlib))
12106 #t))))))
12107 (propagated-inputs
12108 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12109 (inputs
12110 `(("glib" ,glib)
12111 ("glade" ,glade3)
12112 ("gtk+" ,gtk+)
12113 ("libsecret" ,libsecret)
12114 ("libxslt" ,libxslt)
12115 ("openssl" ,openssl)
12116 ("vala" ,vala)))
12117 (native-inputs
12118 `(("autoconf" ,autoconf)
12119 ("autoconf-archive" ,autoconf-archive)
12120 ("automake" ,automake)
12121 ("glib:bin" ,glib "bin")
12122 ("gnome-common" ,gnome-common)
12123 ("gobject-introspection" ,gobject-introspection)
12124 ("gtk-doc" ,gtk-doc/stable)
12125 ("intltool" ,intltool)
12126 ("libtool" ,libtool)
12127 ("pkg-config" ,pkg-config)
12128 ("vala" ,vala)
12129 ("which" ,which)
12130 ("xorg-server" ,xorg-server-for-tests)
12131 ("yelp-tools" ,yelp-tools)))
12132 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12133 (synopsis "Uniform data access")
12134 (description
12135 "GNU Data Access (GDA) is an attempt to provide uniform access to
12136 different kinds of data sources (databases, information servers, mail spools,
12137 etc). It is a complete architecture that provides all you need to access
12138 your data.")
12139 (license license:lgpl2.1+)))
12140
12141 (define-public gtranslator
12142 (package
12143 (name "gtranslator")
12144 (version "3.36.0")
12145 (source (origin
12146 (method url-fetch)
12147 (uri (string-append "mirror://gnome/sources/" name "/"
12148 (version-major+minor version) "/"
12149 name "-" version ".tar.xz"))
12150 (sha256
12151 (base32
12152 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12153 (build-system meson-build-system)
12154 (inputs
12155 `(("json-glib" ,json-glib)
12156 ("jsonrpc-glib" ,jsonrpc-glib)
12157 ("gettext" ,gettext-minimal)
12158 ("glib" ,glib)
12159 ("gtk+" ,gtk+)
12160 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12161 ("gspell" ,gspell)
12162 ("libdazzle" ,libdazzle)
12163 ("libgda" ,libgda)
12164 ("libsoup" ,libsoup)))
12165 (native-inputs
12166 `(("glib:bin" ,glib "bin")
12167 ("itstool" ,itstool)
12168 ("pkg-config" ,pkg-config)))
12169 (propagated-inputs
12170 `(("gtksourceview" ,gtksourceview))) ; required for source view
12171 (arguments
12172 `(#:build-type "release"
12173 #:glib-or-gtk? #t
12174 #:phases
12175 (modify-phases %standard-phases
12176 (add-after 'unpack 'skip-gtk-update-icon-cache
12177 (lambda _
12178 (substitute* "build-aux/meson/meson_post_install.py"
12179 (("gtk-update-icon-cache") (which "true")))
12180 #t)))))
12181 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12182 (synopsis "Translation making program")
12183 (description
12184 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12185 for the GNOME 3.x platform with many features. It aims to be a very complete
12186 editing environment for translation issues within the GNU gettext/GNOME desktop
12187 world.")
12188 (license license:gpl3+)))
12189
12190
12191 (define-public ocrfeeder
12192 (package
12193 (name "ocrfeeder")
12194 (version "0.8.3")
12195 (source (origin
12196 (method url-fetch)
12197 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12198 (version-major+minor version) "/"
12199 "ocrfeeder-" version ".tar.xz"))
12200 (sha256
12201 (base32
12202 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12203 (build-system gnu-build-system)
12204 (arguments
12205 `(#:phases
12206 (modify-phases %standard-phases
12207 (add-after
12208 'install 'wrap-program
12209 (lambda* (#:key outputs #:allow-other-keys)
12210 (let ((prog (string-append (assoc-ref outputs "out")
12211 "/bin/" "ocrfeeder"))
12212 (pylib (string-append (assoc-ref outputs "out")
12213 "/lib/python"
12214 ,(version-major+minor
12215 (package-version python))
12216 "/site-packages")))
12217 (wrap-program prog
12218 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12219 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12220 #t))))))
12221 (native-inputs
12222 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12223 ("gobject-introspection" ,gobject-introspection)
12224 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12225 ("intltool" ,intltool)
12226 ("itstool" ,itstool)
12227 ("pkg-config" ,pkg-config)
12228 ("xmllint" ,libxml2)))
12229 (inputs
12230 `(("enchant" ,enchant)
12231 ("glib" ,glib)
12232 ("goocanvas" ,goocanvas)
12233 ("gtk" ,gtk+)
12234 ("gtkspell3" ,gtkspell3)
12235 ("libjpeg" ,libjpeg-turbo)
12236 ("libtiff" ,libtiff)
12237 ("libraw" ,libraw)
12238 ("ocrad" ,ocrad)
12239 ("python" ,python-wrapper)
12240 ("python-pygobject" ,python-pygobject)
12241 ("python-odfpy" ,python-odfpy)
12242 ("python-pillow" ,python-pillow)
12243 ("python-pyenchant" ,python-pyenchant)
12244 ("python-reportlab" ,python-reportlab)
12245 ("python-sane" ,python-sane)
12246 ("sane-backends" ,sane-backends)
12247 ("tesseract-ocr" ,tesseract-ocr)))
12248 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12249 (synopsis "Complete OCR Suite")
12250 (description "OCRFeeder is a complete Optical Character Recognition and
12251 Document Analysis and Recognition program.")
12252 (license license:gpl3+)))