gnu: totem-pl-parser: Update to 3.26.6.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 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 ;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
63 ;;;
64 ;;; This file is part of GNU Guix.
65 ;;;
66 ;;; GNU Guix is free software; you can redistribute it and/or modify it
67 ;;; under the terms of the GNU General Public License as published by
68 ;;; the Free Software Foundation; either version 3 of the License, or (at
69 ;;; your option) any later version.
70 ;;;
71 ;;; GNU Guix is distributed in the hope that it will be useful, but
72 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
73 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 ;;; GNU General Public License for more details.
75 ;;;
76 ;;; You should have received a copy of the GNU General Public License
77 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
78
79 (define-module (gnu packages gnome)
80 #:use-module (gnu packages)
81 #:use-module (gnu packages admin)
82 #:use-module (gnu packages aidc)
83 #:use-module (gnu packages aspell)
84 #:use-module (gnu packages autotools)
85 #:use-module (gnu packages avahi)
86 #:use-module (gnu packages backup)
87 #:use-module (gnu packages base)
88 #:use-module (gnu packages bash)
89 #:use-module (gnu packages bison)
90 #:use-module (gnu packages boost)
91 #:use-module (gnu packages build-tools)
92 #:use-module (gnu packages calendar)
93 #:use-module (gnu packages cdrom)
94 #:use-module (gnu packages check)
95 #:use-module (gnu packages cmake)
96 #:use-module (gnu packages compression)
97 #:use-module (gnu packages crates-io)
98 #:use-module (gnu packages crates-graphics)
99 #:use-module (gnu packages crates-gtk)
100 #:use-module (gnu packages cups)
101 #:use-module (gnu packages curl)
102 #:use-module (gnu packages cyrus-sasl)
103 #:use-module (gnu packages databases)
104 #:use-module (gnu packages dbm)
105 #:use-module (gnu packages djvu)
106 #:use-module (gnu packages dns)
107 #:use-module (gnu packages docbook)
108 #:use-module (gnu packages documentation)
109 #:use-module (gnu packages enchant)
110 #:use-module (gnu packages flex)
111 #:use-module (gnu packages fonts)
112 #:use-module (gnu packages file-systems)
113 #:use-module (gnu packages fontutils)
114 #:use-module (gnu packages freedesktop)
115 #:use-module (gnu packages game-development)
116 #:use-module (gnu packages gcc)
117 #:use-module (gnu packages gettext)
118 #:use-module (gnu packages ghostscript)
119 #:use-module (gnu packages gimp)
120 #:use-module (gnu packages gl)
121 #:use-module (gnu packages glib)
122 #:use-module (gnu packages gnupg)
123 #:use-module (gnu packages gnuzilla)
124 #:use-module (gnu packages geo)
125 #:use-module (gnu packages gperf)
126 #:use-module (gnu packages graphviz)
127 #:use-module (gnu packages gstreamer)
128 #:use-module (gnu packages gtk)
129 #:use-module (gnu packages guile)
130 #:use-module (gnu packages haskell-xyz)
131 #:use-module (gnu packages ibus)
132 #:use-module (gnu packages icu4c)
133 #:use-module (gnu packages image)
134 #:use-module (gnu packages imagemagick)
135 #:use-module (gnu packages inkscape)
136 #:use-module (gnu packages iso-codes)
137 #:use-module (gnu packages kerberos)
138 #:use-module (gnu packages libcanberra)
139 #:use-module (gnu packages libffi)
140 #:use-module (gnu packages libunistring)
141 #:use-module (gnu packages libunwind)
142 #:use-module (gnu packages libusb)
143 #:use-module (gnu packages linux)
144 #:use-module (gnu packages lirc)
145 #:use-module (gnu packages lua)
146 #:use-module (gnu packages mail)
147 #:use-module (gnu packages mp3)
148 #:use-module (gnu packages multiprecision)
149 #:use-module (gnu packages music)
150 #:use-module (gnu packages ncurses)
151 #:use-module (gnu packages nettle)
152 #:use-module (gnu packages networking)
153 #:use-module (gnu packages ninja)
154 #:use-module (gnu packages node)
155 #:use-module (gnu packages nss)
156 #:use-module (gnu packages ocr)
157 #:use-module (gnu packages openldap)
158 #:use-module (gnu packages package-management)
159 #:use-module (gnu packages password-utils)
160 #:use-module (gnu packages pcre)
161 #:use-module (gnu packages pdf)
162 #:use-module (gnu packages perl)
163 #:use-module (gnu packages photo)
164 #:use-module (gnu packages php)
165 #:use-module (gnu packages pkg-config)
166 #:use-module (gnu packages polkit)
167 #:use-module (gnu packages popt)
168 #:use-module (gnu packages pretty-print)
169 #:use-module (gnu packages protobuf)
170 #:use-module (gnu packages pulseaudio)
171 #:use-module (gnu packages python)
172 #:use-module (gnu packages python-compression)
173 #:use-module (gnu packages python-crypto)
174 #:use-module (gnu packages python-web)
175 #:use-module (gnu packages python-xyz)
176 #:use-module (gnu packages rdesktop)
177 #:use-module (gnu packages rdf)
178 #:use-module (gnu packages readline)
179 #:use-module (gnu packages ruby)
180 #:use-module (gnu packages rust)
181 #:use-module (gnu packages samba)
182 #:use-module (gnu packages scanner)
183 #:use-module (gnu packages sdl)
184 #:use-module (gnu packages search)
185 #:use-module (gnu packages selinux)
186 #:use-module (gnu packages slang)
187 #:use-module (gnu packages speech)
188 #:use-module (gnu packages spice)
189 #:use-module (gnu packages sqlite)
190 #:use-module (gnu packages ssh)
191 #:use-module (gnu packages swig)
192 #:use-module (gnu packages tex)
193 #:use-module (gnu packages time)
194 #:use-module (gnu packages tls)
195 #:use-module (gnu packages valgrind)
196 #:use-module (gnu packages version-control)
197 #:use-module (gnu packages video)
198 #:use-module (gnu packages virtualization)
199 #:use-module (gnu packages vpn)
200 #:use-module (gnu packages web)
201 #:use-module (gnu packages webkit)
202 #:use-module (gnu packages xdisorg)
203 #:use-module (gnu packages xiph)
204 #:use-module (gnu packages xml)
205 #:use-module (gnu packages xorg)
206 #:use-module (gnu artwork)
207 #:use-module (guix build-system cargo)
208 #:use-module (guix build-system cmake)
209 #:use-module (guix build-system glib-or-gtk)
210 #:use-module (guix build-system gnu)
211 #:use-module (guix build-system meson)
212 #:use-module (guix build-system python)
213 #:use-module (guix build-system trivial)
214 #:use-module (guix download)
215 #:use-module (guix git-download)
216 #:use-module ((guix licenses) #:prefix license:)
217 #:use-module (guix packages)
218 #:use-module (guix utils)
219 #:use-module (guix gexp)
220 #:use-module (ice-9 match)
221 #:use-module (srfi srfi-1))
222
223 (define-public gupnp-igd
224 (package
225 (name "gupnp-igd")
226 (version "1.2.0")
227 (source
228 (origin
229 (method url-fetch)
230 (uri
231 (string-append "mirror://gnome/sources/" name "/"
232 (version-major+minor version) "/"
233 name "-" version ".tar.xz"))
234 (sha256
235 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
236 (build-system meson-build-system)
237 (outputs '("out" "doc"))
238 (arguments
239 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
240 #:configure-flags (list "-Dgtk_doc=true")
241 #:phases
242 (modify-phases %standard-phases
243 (add-after 'unpack 'patch-docbook-xml
244 (lambda* (#:key inputs #:allow-other-keys)
245 (with-directory-excursion "doc"
246 (substitute* "gupnp-igd-docs.xml"
247 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
248 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
249 "/xml/dtd/docbook/"))))
250 #t))
251 (add-after 'install 'move-doc
252 (lambda* (#:key outputs #:allow-other-keys)
253 (let* ((out (assoc-ref outputs "out"))
254 (doc (assoc-ref outputs "doc")))
255 (mkdir-p (string-append doc "/share"))
256 (rename-file
257 (string-append out "/share/gtk-doc")
258 (string-append doc "/share/gtk-doc"))
259 #t))))))
260 (native-inputs
261 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
262 ("docbook-xsl" ,docbook-xsl)
263 ("glib:bin" ,glib "bin")
264 ("gobject-introspection" ,gobject-introspection)
265 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
266 ("gtk-doc" ,gtk-doc/stable)
267 ("pkg-config" ,pkg-config)))
268 (propagated-inputs
269 `(("glib" ,glib)
270 ("glib-networking" ,glib-networking)
271 ("gssdp" ,gssdp)
272 ("gupnp" ,gupnp)
273 ("libsoup" ,libsoup)))
274 (synopsis "UPnP IGD for GNOME")
275 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
276 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
277 (license license:lgpl2.1+)))
278
279 (define-public brasero
280 (package
281 (name "brasero")
282 (version "3.12.2")
283 (source (origin
284 (method url-fetch)
285 (uri (string-append "mirror://gnome/sources/brasero/"
286 (version-major+minor version) "/"
287 "brasero-" version ".tar.xz"))
288 (sha256
289 (base32
290 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
291 (build-system glib-or-gtk-build-system)
292 (arguments
293 `(#:configure-flags (list
294 (string-append "--with-girdir="
295 (assoc-ref %outputs "out")
296 "/share/gir-1.0")
297 (string-append "--with-typelibdir="
298 (assoc-ref %outputs "out")
299 "/lib/girepository-1.0"))
300 #:phases
301 (modify-phases %standard-phases
302 (add-before 'configure 'embed-growisofs
303 (lambda* (#:key inputs #:allow-other-keys)
304 (substitute* "plugins/growisofs/burn-growisofs.c"
305 (("\"growisofs") (string-append "\"" (which "growisofs"))))
306 #t)))))
307 (propagated-inputs
308 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
309 (native-inputs
310 `(("intltool" ,intltool)
311 ("itstool" ,itstool)
312 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
313 ("gobject-introspection" ,gobject-introspection)
314 ("pkg-config" ,pkg-config)))
315 (inputs
316 `(("dvd+rw-tools" ,dvd+rw-tools)
317 ("glib" ,glib)
318 ("gnome-doc-utils" ,gnome-doc-utils)
319 ("gstreamer" ,gstreamer)
320 ("gst-plugins-base" ,gst-plugins-base)
321 ("gtk+" ,gtk+)
322 ("libcanberra" ,libcanberra)
323 ("libice" ,libice)
324 ("libnotify" ,libnotify)
325 ("libsm" ,libsm)
326 ("libxml2" ,libxml2)
327 ("totem-pl-parser" ,totem-pl-parser)))
328 (home-page "https://wiki.gnome.org/Apps/Brasero")
329 (synopsis "CD/DVD burning tool for Gnome")
330 (description "Brasero is an application to burn CD/DVD for the Gnome
331 Desktop. It is designed to be as simple as possible and has some unique
332 features to enable users to create their discs easily and quickly.")
333 (license license:gpl2+)))
334
335 (define-public libcloudproviders
336 (package
337 (name "libcloudproviders")
338 (version "0.3.1")
339 (source
340 (origin
341 (method url-fetch)
342 (uri
343 (string-append "mirror://gnome/sources/" name "/"
344 (version-major+minor version) "/"
345 name "-" version ".tar.xz"))
346 (sha256
347 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
348 (build-system meson-build-system)
349 (outputs '("out" "doc"))
350 (arguments
351 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
352 #:configure-flags
353 (list
354 "-Denable-gtk-doc=true")
355 #:phases
356 (modify-phases %standard-phases
357 (add-after 'install 'move-doc
358 (lambda* (#:key outputs #:allow-other-keys)
359 (let* ((out (assoc-ref outputs "out"))
360 (doc (assoc-ref outputs "doc")))
361 (mkdir-p (string-append doc "/share"))
362 (rename-file
363 (string-append out "/share/gtk-doc")
364 (string-append doc "/share/gtk-doc"))
365 #t))))))
366 (native-inputs
367 `(("glib:bin" ,glib "bin")
368 ("gobject-introspection" ,gobject-introspection)
369 ("gtk-doc" ,gtk-doc/stable)
370 ("pkg-config" ,pkg-config)
371 ("vala" ,vala)))
372 (inputs
373 `(("glib" ,glib)
374 ("glib-networking" ,glib-networking)))
375 (synopsis "Cloudproviders Integration API")
376 (description "Libcloudproviders is a DBus API that allows cloud storage sync
377 clients to expose their services. Clients such as file managers and desktop
378 environments can then provide integrated access to the cloud providers
379 services.")
380 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
381 (license license:lgpl3+)))
382
383 (define-public libgrss
384 (package
385 (name "libgrss")
386 (version "0.7.0")
387 (source
388 (origin
389 (method url-fetch)
390 (uri
391 (string-append "mirror://gnome/sources/" name "/"
392 (version-major+minor version) "/"
393 name "-" version ".tar.xz"))
394 (sha256
395 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
396 (build-system glib-or-gtk-build-system)
397 (outputs '("out" "doc"))
398 (arguments
399 `(#:configure-flags
400 (list
401 "--enable-gtk-doc"
402 (string-append "--with-html-dir="
403 (assoc-ref %outputs "doc")
404 "/share/gtk-doc/html"))
405 #:phases
406 (modify-phases %standard-phases
407 (add-after 'unpack 'patch-docbook-xml
408 (lambda* (#:key inputs #:allow-other-keys)
409 (with-directory-excursion "doc/reference"
410 (substitute* "libgrss-docs.sgml"
411 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
412 (string-append (assoc-ref inputs "docbook-xml")
413 "/xml/dtd/docbook/"))))
414 #t)))))
415 (native-inputs
416 `(("docbook-xml" ,docbook-xml-4.1.2)
417 ("gobject-introspection" ,gobject-introspection)
418 ("gtk-doc" ,gtk-doc/stable)
419 ("pkg-config" ,pkg-config)))
420 (propagated-inputs
421 `(("glib" ,glib)
422 ("libsoup" ,libsoup)
423 ("libxml2" ,libxml2)))
424 (synopsis "Glib library for feeds")
425 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
426 and other formats.")
427 (home-page "https://wiki.gnome.org/Projects/Libgrss")
428 (license license:lgpl3+)))
429
430 (define-public gnome-js-common
431 (package
432 (name "gnome-js-common")
433 (version "0.1.2")
434 (source
435 (origin
436 (method url-fetch)
437 (uri
438 (string-append "mirror://gnome/sources/" name "/"
439 (version-major+minor version) "/"
440 name "-" version ".tar.gz"))
441 (sha256
442 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
443 (build-system glib-or-gtk-build-system)
444 (arguments
445 `(#:configure-flags
446 (list
447 "--disable-static")))
448 (native-inputs
449 `(("gettext" ,gettext-minimal)
450 ("intltool" ,intltool)
451 ("pkg-config" ,pkg-config)))
452 (synopsis "Common JS Modules")
453 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
454 bindings.")
455 (home-page "https://wiki.gnome.org/Projects/Seed")
456 (license license:gpl3+)))
457
458 (define-public seed
459 (package
460 (name "seed")
461 (version "3.8.1")
462 (source
463 (origin
464 (method url-fetch)
465 (uri
466 (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.xz"))
469 (sha256
470 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
471 (patches
472 (search-patches "seed-webkit.patch"))))
473 (build-system glib-or-gtk-build-system)
474 (outputs '("out" "doc"))
475 (arguments
476 `(#:configure-flags
477 (list
478 "--disable-static"
479 "--enable-xorg-module"
480 (string-append "--with-html-dir="
481 (assoc-ref %outputs "doc")
482 "/share/gtk-doc/html")
483 "--with-webkit=4.0")
484 #:phases
485 (modify-phases %standard-phases
486 ;; The seed-webkit.patch patches configure.ac.
487 ;; So the source files need to be re-bootstrapped.
488 (add-after 'unpack 'trigger-bootstrap
489 (lambda _
490 (for-each delete-file
491 (list
492 "configure"
493 "Makefile.in"))
494 #t))
495 (add-after 'unpack 'patch-tests
496 (lambda* (#:key outputs #:allow-other-keys)
497 (substitute* (find-files "." "\\.js$")
498 (("#!/usr/bin/env seed")
499 (string-append "#!" (getcwd) "/src/seed")))
500 #t))
501 (add-before 'build 'patch-docbook-xml
502 (lambda* (#:key inputs #:allow-other-keys)
503 (with-directory-excursion "doc"
504 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
505 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
506 (string-append (assoc-ref inputs "docbook-xml")
507 "/xml/dtd/docbook/"))))
508 #t)))))
509 (native-inputs
510 `(("autoconf" ,autoconf)
511 ("automake" ,automake)
512 ("docbook-xml" ,docbook-xml-4.1.2)
513 ("gettext" ,gettext-minimal)
514 ("gobject-introspection" ,gobject-introspection)
515 ("gtk-doc" ,gtk-doc/stable)
516 ("intltool" ,intltool)
517 ("libtool" ,libtool)
518 ("pkg-config" ,pkg-config)))
519 (inputs
520 `(("cairo" ,cairo)
521 ("dbus" ,dbus)
522 ("dbus-glib" ,dbus-glib)
523 ("gnome-js-common" ,gnome-js-common)
524 ("gtk+" ,gtk+)
525 ("gtk+-2" ,gtk+-2)
526 ("libffi" ,libffi)
527 ("libxml2" ,libxml2)
528 ("mpfr" ,mpfr)
529 ("readline" ,readline)
530 ("sqlite" ,sqlite)
531 ("xscrnsaver" ,libxscrnsaver)))
532 (propagated-inputs
533 `(("glib" ,glib)
534 ("webkit" ,webkitgtk)))
535 (synopsis "GObject JavaScriptCore bridge")
536 (description "Seed is a library and interpreter, dynamically bridging
537 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
538 GNOME platform. It serves as something which enables you to write standalone
539 applications in JavaScript, or easily enable your application to be extensible
540 in JavaScript.")
541 (home-page "https://wiki.gnome.org/Projects/Seed")
542 (license license:lgpl2.0+)))
543
544 (define-public libdmapsharing
545 (package
546 (name "libdmapsharing")
547 (version "3.9.10")
548 (source
549 (origin
550 (method url-fetch)
551 (uri
552 (string-append "https://www.flyn.org/projects/"
553 name "/" name "-" version ".tar.gz"))
554 (sha256
555 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
556 (build-system glib-or-gtk-build-system)
557 (outputs '("out" "doc"))
558 (arguments
559 `(#:tests? #f ; Tests require networking.
560 #:configure-flags
561 (list
562 "--disable-static"
563 (string-append "--with-html-dir="
564 (assoc-ref %outputs "doc")
565 "/share/gtk-doc/html"))
566 #:phases
567 (modify-phases %standard-phases
568 (add-after 'unpack 'patch-docbook-xml
569 (lambda* (#:key inputs #:allow-other-keys)
570 (with-directory-excursion "doc"
571 (substitute* "libdmapsharing-4.0-docs.xml"
572 (("http://www.oasis-open.org/docbook/xml/4.3/")
573 (string-append (assoc-ref inputs "docbook-xml")
574 "/xml/dtd/docbook/"))))
575 #t)))))
576 (native-inputs
577 `(("check" ,check)
578 ("docbook-xml" ,docbook-xml-4.3)
579 ("gobject-introspection" ,gobject-introspection)
580 ("pedansee" ,pedansee)
581 ("pkg-config" ,pkg-config)
582 ("vala" ,vala)))
583 (inputs
584 `(("avahi" ,avahi)
585 ("gdk-pixbuf" ,gdk-pixbuf+svg)
586 ("gee" ,libgee)
587 ("gst-plugins-base" ,gst-plugins-base)
588 ("gtk+" ,gtk+)))
589 (propagated-inputs
590 `(("glib" ,glib)
591 ("glib-networking" ,glib-networking)
592 ("gstreamer" ,gstreamer)
593 ("libsoup" ,libsoup)))
594 (synopsis "Media management library")
595 (description "Libdmapsharing is a library which allows programs to access,
596 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
597 It is written in C using GObject and libsoup.")
598 (home-page "https://launchpad.net/gtx")
599 (license license:lgpl2.1+)))
600
601 (define-public gtx
602 (package
603 (name "gtx")
604 (version "0.2.2")
605 (source
606 (origin
607 (method url-fetch)
608 (uri
609 (string-append "https://launchpad.net/gtx/trunk/"
610 version "/+download/gtx-" version ".tar.gz"))
611 (sha256
612 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
613 (build-system glib-or-gtk-build-system)
614 (outputs '("out" "doc"))
615 (arguments
616 `(#:configure-flags
617 (list
618 "--disable-static"
619 "--enable-gtk-doc"
620 (string-append "--with-html-dir="
621 (assoc-ref %outputs "doc")
622 "/share/gtk-doc/html"))))
623 (native-inputs
624 `(("gobject-introspection" ,gobject-introspection)
625 ("gtk-doc" ,gtk-doc/stable)
626 ("pkg-config" ,pkg-config)))
627 (propagated-inputs
628 `(("glib" ,glib)))
629 (synopsis "GLib Testing Framework")
630 (description "GTX is a small collection of convenience functions intended to
631 enhance the GLib testing framework. With specific emphasis on easing the pain
632 of writing test cases for asynchronous interactions.")
633 (home-page "https://launchpad.net/gtx")
634 (license license:lgpl2.1+)))
635
636 (define-public dee
637 (package
638 (name "dee")
639 (version "1.2.7")
640 (source
641 (origin
642 (method url-fetch)
643 (uri
644 (string-append "https://launchpad.net/dee/1.0/"
645 version "/+download/dee-" version ".tar.gz"))
646 (sha256
647 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
648 (patches
649 (search-patches "dee-vapi.patch"))))
650 (build-system glib-or-gtk-build-system)
651 (outputs '("out" "doc"))
652 (arguments
653 `(#:configure-flags
654 (list
655 "--disable-maintainer-flags"
656 (string-append "--with-pygi-overrides-dir="
657 (assoc-ref %outputs "out")
658 "/lib/python"
659 ,(version-major+minor
660 (package-version python))
661 "/site-packages/gi/overrides")
662 (string-append "--with-html-dir="
663 (assoc-ref %outputs "doc")
664 "/share/gtk-doc/html"))
665 #:phases
666 (modify-phases %standard-phases
667 (add-after 'unpack 'patch-docbook-xml
668 (lambda* (#:key inputs #:allow-other-keys)
669 (with-directory-excursion "doc/reference/dee-1.0"
670 (substitute* "dee-1.0-docs.sgml"
671 (("http://www.oasis-open.org/docbook/xml/4.3/")
672 (string-append (assoc-ref inputs "docbook-xml")
673 "/xml/dtd/docbook/"))))
674 #t))
675 (add-after 'patch-docbook-xml 'disable-failing-tests
676 (lambda _
677 (substitute* "tests/test-icu.c"
678 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
679 "")
680 (("setup, test_ascii_folder, teardown\\);")
681 ""))
682 #t))
683 (add-before 'check 'pre-check
684 (lambda _
685 ;; Tests require a running dbus-daemon.
686 (system "dbus-daemon &")
687 ;; For missing '/etc/machine-id'.
688 (setenv "DBUS_FATAL_WARNINGS" "0")
689 #t)))))
690 (native-inputs
691 `(("dbus" ,dbus)
692 ("dbus-test-runner" ,dbus-test-runner)
693 ("docbook-xml" ,docbook-xml-4.3)
694 ("gobject-introspection" ,gobject-introspection)
695 ("gtk-doc" ,gtk-doc/stable)
696 ;; Would only be required by configure flag "--enable-extended-tests".
697 ;("gtx" ,gtx)
698 ("pkg-config" ,pkg-config)
699 ("pygobject" ,python-pygobject)
700 ("python" ,python-wrapper)
701 ("vala" ,vala)))
702 (inputs
703 `(("icu" ,icu4c)))
704 (propagated-inputs
705 `(("glib" ,glib)))
706 (synopsis "Model to synchronize multiple instances over DBus")
707 (description "Dee is a library that uses DBus to provide objects allowing
708 you to create Model-View-Controller type programs across DBus. It also consists
709 of utility objects which extend DBus allowing for peer-to-peer discoverability
710 of known objects without needing a central registrar.")
711 (home-page "https://launchpad.net/dee")
712 (license
713 ;; Dual-licensed
714 (list
715 license:lgpl3+
716 license:gpl3+))))
717
718 (define-public zeitgeist
719 (package
720 (name "zeitgeist")
721 (version "1.0.3")
722 (source
723 (origin
724 (method git-fetch)
725 (uri
726 (git-reference
727 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
728 (commit
729 (string-append "v" version))))
730 (file-name
731 (git-file-name name version))
732 (sha256
733 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
734 (build-system glib-or-gtk-build-system)
735 (arguments
736 `(#:configure-flags
737 (list
738 "--enable-explain-queries"
739 "--enable-fts"
740 "--enable-docs")
741 #:phases
742 (modify-phases %standard-phases
743 (add-after 'unpack 'patch-docbook-xml
744 (lambda* (#:key inputs #:allow-other-keys)
745 (with-directory-excursion "doc/libzeitgeist"
746 (substitute* "zeitgeist-gtkdoc-index.sgml"
747 (("http://www.oasis-open.org/docbook/xml/4.3/")
748 (string-append (assoc-ref inputs "docbook-xml")
749 "/xml/dtd/docbook/"))))
750 #t))
751 (add-after 'patch-docbook-xml 'disable-failing-tests
752 (lambda _
753 (substitute* "test/direct/Makefile.am"
754 ((" log-test ")
755 ""))
756 (substitute* "test/c/Makefile.am"
757 ((" test-log ")
758 ""))
759 #t))
760 (add-before 'bootstrap 'remove-autogen-script
761 (lambda _
762 ;; To honor `autoreconf -vif` by build-system.
763 (delete-file "autogen.sh")
764 #t)))))
765 (native-inputs
766 `(("autoconf" ,autoconf)
767 ("automake" ,automake)
768 ("docbook-xml" ,docbook-xml-4.3)
769 ("gettext" ,gettext-minimal)
770 ("gobject-introspection" ,gobject-introspection)
771 ("gtk-doc" ,gtk-doc/stable)
772 ("libtool" ,libtool)
773 ("pkg-config" ,pkg-config)
774 ("vala" ,vala)
775 ("xorg-server-for-tests" ,xorg-server-for-tests)))
776 (inputs
777 `(("dee-icu" ,dee)
778 ("gtk+" ,gtk+)
779 ("json-glib" ,json-glib)
780 ("sqlite" ,sqlite)
781 ("telepathy-glib" ,telepathy-glib)
782 ("python" ,python-wrapper)
783 ("python-rdflib" ,python-rdflib)
784 ("xapian-config" ,xapian)))
785 (propagated-inputs
786 `(("glib" ,glib)))
787 (synopsis "Desktop Activity Logging")
788 (description "Zeitgeist is a service which logs the users’s activities and
789 events, anywhere from files opened to websites visited and conversations. It
790 makes this information readily available for other applications to use. It is
791 able to establish relationships between items based on similarity and usage
792 patterns.")
793 (home-page "https://zeitgeist.freedesktop.org/")
794 (license
795 ;; Dual-licensed
796 (list
797 license:lgpl2.1+
798 license:gpl2+))))
799
800 (define-public gnome-recipes
801 (package
802 (name "gnome-recipes")
803 (version "2.0.4")
804 (source (origin
805 (method git-fetch)
806 (uri (git-reference
807 (url "https://gitlab.gnome.org/GNOME/recipes")
808 (commit version)))
809 (file-name (git-file-name name version))
810 (sha256
811 (base32
812 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
813 (build-system meson-build-system)
814 (arguments
815 `(#:glib-or-gtk? #t
816 #:phases
817 (modify-phases %standard-phases
818 (add-after 'unpack 'skip-gtk-update-icon-cache
819 (lambda _
820 (substitute* "meson_post_install.py"
821 (("gtk-update-icon-cache") (which "true")))
822 #t))
823 (add-after 'unpack 'unpack-libgd
824 (lambda* (#:key inputs #:allow-other-keys)
825 (let ((libgd (assoc-ref inputs "libgd")))
826 (copy-recursively libgd "subprojects/libgd")
827 #t))))))
828 (inputs
829 `(("glib" ,glib)
830 ("gnome-autoar" ,gnome-autoar)
831 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
832 ("gspell" ,gspell)
833 ("gtk+" ,gtk+)
834 ("json-glib" ,json-glib)
835 ("libcanberra" ,libcanberra)
836 ("libsoup" ,libsoup)
837 ("rest" ,rest)))
838 (native-inputs
839 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
840 ("gettext" ,gettext-minimal)
841 ("glib:bin" ,glib "bin")
842 ("itstool" ,itstool)
843 ("libgd"
844 ,(origin
845 (method git-fetch)
846 (uri (git-reference
847 (url "https://gitlab.gnome.org/GNOME/libgd")
848 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
849 (file-name (git-file-name "libgd" version))
850 (sha256
851 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
852 ("pkg-config" ,pkg-config)))
853 (home-page "https://wiki.gnome.org/Apps/Recipes")
854 (synopsis "Discover recipes for preparing food")
855 (description "GNOME Recipes helps you discover what to cook today,
856 tomorrow, the rest of the week and for special occasions.")
857 (license license:gpl3+)))
858
859 (define-public gnome-photos
860 (package
861 (name "gnome-photos")
862 (version "3.34.2")
863 (source
864 (origin
865 (method url-fetch)
866 (uri
867 (string-append "mirror://gnome/sources/" name "/"
868 (version-major+minor version) "/"
869 name "-" version ".tar.xz"))
870 (sha256
871 (base32
872 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
873 (build-system meson-build-system)
874 (arguments
875 `(#:glib-or-gtk? #t
876 #:configure-flags
877 (list "-Ddogtail=false" ; Not available
878 ;; Required for RUNPATH validation.
879 (string-append "-Dc_link_args=-Wl,-rpath="
880 (assoc-ref %outputs "out") "/lib/gnome-photos"))
881 #:phases
882 (modify-phases %standard-phases
883 (add-after 'install 'wrap-gnome-photos
884 (lambda* (#:key inputs outputs #:allow-other-keys)
885 (let*
886 ((out (assoc-ref outputs "out")))
887 (wrap-program (string-append out "/bin/gnome-photos")
888 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
889 #t)))))
890 (native-inputs
891 `(("dbus" ,dbus)
892 ("desktop-file-utils" ,desktop-file-utils)
893 ("gettext" ,gettext-minimal)
894 ("git" ,git-minimal)
895 ("glib:bin" ,glib "bin")
896 ("gobject-introspection" ,gobject-introspection)
897 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
898 ("gtk+:bin" ,gtk+ "bin")
899 ("itstool" ,itstool)
900 ("pkg-config" ,pkg-config)))
901 (inputs
902 `(("babl" ,babl)
903 ("cairo" ,cairo)
904 ("gdk-pixbuf" ,gdk-pixbuf+svg)
905 ("gegl" ,gegl)
906 ("geocode-glib" ,geocode-glib)
907 ("gexiv2" ,gexiv2)
908 ("gnome-online-accounts" ,gnome-online-accounts)
909 ("gnome-online-miners" ,gnome-online-miners)
910 ("grilo" ,grilo)
911 ("grilo-plugins" ,grilo-plugins)
912 ("gtk+" ,gtk+)
913 ("libdazzle" ,libdazzle)
914 ("libgdata" ,libgdata)
915 ("libgfbgraph" ,gfbgraph)
916 ("libjpeg" ,libjpeg-turbo)
917 ("libpng" ,libpng)
918 ("librest" ,rest)
919 ("pygobject" ,python-pygobject)
920 ("tracker" ,tracker)
921 ("tracker-miners" ,tracker-miners)))
922 (synopsis "Access, organize and share your photos on GNOME desktop")
923 (description "GNOME Photos is a simple and elegant replacement for using a
924 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
925 cloud integration is offered through GNOME Online Accounts.")
926 (home-page "https://wiki.gnome.org/Apps/Photos")
927 (license license:gpl3+)))
928
929 (define-public gnome-music
930 (package
931 (name "gnome-music")
932 (version "3.34.5")
933 (source
934 (origin
935 (method url-fetch)
936 (uri
937 (string-append "mirror://gnome/sources/" name "/"
938 (version-major+minor version) "/"
939 name "-" version ".tar.xz"))
940 (sha256
941 (base32
942 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
943 (build-system meson-build-system)
944 (arguments
945 `(#:glib-or-gtk? #t
946 #:phases
947 (modify-phases %standard-phases
948 (add-after 'install 'wrap-gnome-music
949 (lambda* (#:key inputs outputs #:allow-other-keys)
950 (let*
951 ((out (assoc-ref outputs "out"))
952 (pylib (string-append out "/lib/python"
953 ,(version-major+minor
954 (package-version python))
955 "/site-packages")))
956 (wrap-program (string-append out "/bin/gnome-music")
957 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
958 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
959 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
960 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
961 #t)))))
962 (native-inputs
963 `(("desktop-file-utils" ,desktop-file-utils)
964 ("gettext" ,gettext-minimal)
965 ("glib:bin" ,glib "bin")
966 ("gobject-introspection" ,gobject-introspection)
967 ("gtk+:bin" ,gtk+ "bin")
968 ("itstools" ,itstool)
969 ("pkg-config" ,pkg-config)))
970 (inputs
971 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
972 ("grilo" ,grilo)
973 ("grilo-plugins" ,grilo-plugins)
974 ("gst-plugins-base" ,gst-plugins-base)
975 ("gstreamer" ,gstreamer)
976 ("gvfs" ,gvfs)
977 ("libdazzle" ,libdazzle)
978 ("libmediaart" ,libmediaart)
979 ("libsoup" ,libsoup)
980 ("pycairo" ,python-pycairo)
981 ("pygobject" ,python-pygobject)
982 ("tracker" ,tracker)
983 ("tracker-miners" ,tracker-miners)))
984 (synopsis "Simple music player for GNOME desktop")
985 (description "GNOME Music is the new GNOME music playing application that
986 aims to combine an elegant and immersive browsing experience with simple
987 and straightforward controls.")
988 (home-page "https://wiki.gnome.org/Apps/Music")
989 (license license:gpl2+)))
990
991 (define-public portablexdr
992 (package
993 (name "portablexdr")
994 (version "4.9.1")
995 (source
996 (origin
997 (method url-fetch)
998 (uri
999 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1000 name "-" version ".tar.gz"))
1001 (sha256
1002 (base32
1003 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1004 (build-system gnu-build-system)
1005 (synopsis "External Data Representation Library")
1006 (description "PortableXDR is an implementation of External Data
1007 Representation (XDR) Library. It is a standard data serialization format, for
1008 uses such as computer network protocols. It allows data to be transferred
1009 between different kinds of computer systems.")
1010 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1011 (license
1012 (list
1013 license:gpl2+
1014 license:lgpl2.1+))))
1015
1016 (define-public tepl
1017 (package
1018 (name "tepl")
1019 (version "4.4.0")
1020 (source
1021 (origin
1022 (method url-fetch)
1023 (uri
1024 (string-append "mirror://gnome/sources/" name "/"
1025 (version-major+minor version) "/"
1026 name "-" version ".tar.xz"))
1027 (sha256
1028 (base32
1029 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1030 (build-system glib-or-gtk-build-system)
1031 (arguments
1032 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1033 (native-inputs
1034 `(("gobject-introspection" ,gobject-introspection)
1035 ("pkg-config" ,pkg-config)))
1036 (inputs
1037 `(("amtk" ,amtk)
1038 ("glib" ,glib)
1039 ("gtk+" ,gtk+)
1040 ("gtksourceview" ,gtksourceview)
1041 ("libxml2" ,libxml2)
1042 ("uchardet" ,uchardet)))
1043 (synopsis "Text editor product line")
1044 (description "Tepl is a library that eases the development of
1045 GtkSourceView-based text editors and IDEs.")
1046 (home-page "https://wiki.gnome.org/Projects/Tepl")
1047 (license license:lgpl2.1+)))
1048
1049 (define-public krb5-auth-dialog
1050 (package
1051 (name "krb5-auth-dialog")
1052 (version "3.26.1")
1053 (source
1054 (origin
1055 (method url-fetch)
1056 (uri
1057 (string-append "mirror://gnome/sources/" name "/"
1058 (version-major+minor version) "/"
1059 name "-" version ".tar.xz"))
1060 (sha256
1061 (base32
1062 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1063 (build-system glib-or-gtk-build-system)
1064 (native-inputs
1065 `(("intltool" ,intltool)
1066 ("itstool" ,itstool)
1067 ("libxml2" ,libxml2)
1068 ("pkg-config" ,pkg-config)
1069 ("python-wrapper" ,python-wrapper)))
1070 (inputs
1071 `(("glib" ,glib)
1072 ("gtk+" ,gtk+)
1073 ("libnotify" ,libnotify)
1074 ("mit-krb5" ,mit-krb5)
1075 ("network-manager" ,network-manager)))
1076 (synopsis "Popup dialogs for Kerberos 5")
1077 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1078 tickets, and pops up a dialog when they are about to expire.")
1079 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1080 (license license:gpl2+)))
1081
1082 (define-public notification-daemon
1083 (package
1084 (name "notification-daemon")
1085 (version "3.20.0")
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri
1090 (string-append "mirror://gnome/sources/" name "/"
1091 (version-major+minor version) "/"
1092 name "-" version ".tar.xz"))
1093 (sha256
1094 (base32
1095 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1096 (build-system glib-or-gtk-build-system)
1097 (native-inputs
1098 `(("intltool" ,intltool)
1099 ("pkg-config" ,pkg-config)))
1100 (inputs
1101 `(("glib" ,glib)
1102 ("gtk+" ,gtk+)
1103 ("x11" ,libx11)))
1104 (synopsis "Notification Daemon for GNOME Desktop")
1105 (description "Notification-Daemon is the server implementation of the
1106 freedesktop.org desktop notification specification.")
1107 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1108 (license license:gpl2+)))
1109
1110 (define-public mm-common
1111 (package
1112 (name "mm-common")
1113 (version "1.0.3")
1114 (source (origin
1115 (method url-fetch)
1116 (uri (string-append "mirror://gnome/sources/mm-common/"
1117 (version-major+minor version) "/"
1118 "mm-common-" version ".tar.xz"))
1119 (sha256
1120 (base32
1121 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1122 (build-system meson-build-system)
1123 (arguments
1124 `(#:meson ,meson-0.55
1125 #:phases
1126 (modify-phases %standard-phases
1127 (add-after 'unpack 'patch
1128 (lambda* (#:key inputs #:allow-other-keys)
1129 (substitute* "util/mm-common-prepare.in"
1130 (("ln") (string-append (assoc-ref inputs "coreutils")
1131 "/bin/ln"))
1132 (("cp") (string-append (assoc-ref inputs "coreutils")
1133 "/bin/cp"))
1134 (("sed") (string-append (assoc-ref inputs "sed")
1135 "/bin/sed"))
1136 (("cat") (string-append (assoc-ref inputs "coreutils")
1137 "/bin/cat")))
1138 #t)))))
1139 (native-inputs
1140 `(("coreutils" ,coreutils)
1141 ("gettext" ,gettext-minimal)
1142 ("pkg-config" ,pkg-config)
1143 ("sed" ,sed)))
1144 (inputs
1145 `(("python" ,python)))
1146 (synopsis "Module of GNOME C++ bindings")
1147 (description "The mm-common module provides the build infrastructure
1148 and utilities shared among the GNOME C++ binding libraries. Release
1149 archives of mm-common include the Doxygen tag file for the GNU C++
1150 Library reference documentation.")
1151 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1152 (license license:gpl2+)))
1153
1154 (define-public phodav
1155 (package
1156 (name "phodav")
1157 (version "2.5")
1158 (source (origin
1159 (method url-fetch)
1160 (uri (string-append "mirror://gnome/sources/" name "/"
1161 (version-major+minor version) "/"
1162 name "-" version ".tar.xz"))
1163 (sha256
1164 (base32
1165 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1166 (build-system meson-build-system)
1167 (arguments
1168 `(#:phases
1169 (modify-phases %standard-phases
1170 (add-before 'check 'start-virtual-dir-server
1171 ;; The same server when started by tests/virtual-dir returns an
1172 ;; unexpected status (4 instead of 200) and fails a test. It is
1173 ;; unclear why starting it manually here makes it pass.
1174 (lambda _
1175 (system "tests/virtual-dir-server &")
1176 #t)))))
1177 (native-inputs
1178 `(("docbook-xml" ,docbook-xml-4.3)
1179 ("gettext" ,gettext-minimal)
1180 ("glib:bin" ,glib "bin")
1181 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1182 ("gtk-doc" ,gtk-doc/stable)
1183 ("pkg-config" ,pkg-config)))
1184 (inputs
1185 `(("avahi" ,avahi)
1186 ("libgudev" ,libgudev)
1187 ("libsoup" ,libsoup)))
1188 (synopsis "WebDav server implementation using libsoup")
1189 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1190 but it is generic enough to be reused in other projects,
1191 in particular in the GNOME desktop.")
1192 (home-page "https://wiki.gnome.org/phodav")
1193 (license license:lgpl2.1+)))
1194
1195 (define-public gnome-color-manager
1196 (package
1197 (name "gnome-color-manager")
1198 (version "3.32.0")
1199 (source (origin
1200 (method url-fetch)
1201 (uri (string-append "mirror://gnome/sources/" name "/"
1202 (version-major+minor version) "/"
1203 name "-" version ".tar.xz"))
1204 (sha256
1205 (base32
1206 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1207 (build-system meson-build-system)
1208 (arguments
1209 `(#:glib-or-gtk? #t
1210 #:phases
1211 (modify-phases %standard-phases
1212 (add-before
1213 'check 'pre-check
1214 (lambda _
1215 ;; Tests require a running X server.
1216 (system "Xvfb :1 &")
1217 (setenv "DISPLAY" ":1")
1218 #t)))))
1219 (native-inputs
1220 `(("desktop-file-utils" ,desktop-file-utils)
1221 ("gettext" ,gettext-minimal)
1222 ("glib:bin" ,glib "bin")
1223 ("gtk+:bin" ,gtk+ "bin")
1224 ("itstool" ,itstool)
1225 ("pkg-config" ,pkg-config)
1226 ("xorg-server" ,xorg-server-for-tests)))
1227 (inputs
1228 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1229 ("appstream-glib" ,appstream-glib)
1230 ("colord-gtk" ,colord-gtk)
1231 ("exiv2" ,exiv2)
1232 ("gnome-desktop" ,gnome-desktop)
1233 ("libcanberra" ,libcanberra)
1234 ("libexif" ,libexif)
1235 ("libtiff" ,libtiff)
1236 ("libxrandr" ,libxrandr)
1237 ("libxtst" ,libxtst)
1238 ("libxxf86vm" ,libxxf86vm)
1239 ("vte" ,vte)
1240 ("xorgproto" ,xorgproto)))
1241 (synopsis "Color profile manager for the GNOME desktop")
1242 (description "GNOME Color Manager is a session framework that makes
1243 it easy to manage, install and generate color profiles
1244 in the GNOME desktop.")
1245 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1246 (license license:gpl2+)))
1247
1248 (define-public gnome-online-miners
1249 (package
1250 (name "gnome-online-miners")
1251 (version "3.34.0")
1252 (source (origin
1253 (method url-fetch)
1254 (uri (string-append "mirror://gnome/sources/" name "/"
1255 (version-major+minor version) "/"
1256 name "-" version ".tar.xz"))
1257 (sha256
1258 (base32
1259 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1260 (build-system glib-or-gtk-build-system)
1261 (native-inputs
1262 `(("gettext" ,gettext-minimal)
1263 ("glib:bin" ,glib "bin")
1264 ("gobject-introspection" ,gobject-introspection)
1265 ("gtk+:bin" ,gtk+ "bin")
1266 ("pkg-config" ,pkg-config)))
1267 (inputs
1268 `(("gnome-online-accounts" ,gnome-online-accounts)
1269 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1270 ("grilo" ,grilo)
1271 ("libgdata" ,libgdata)
1272 ("libgfbgraph" ,gfbgraph)
1273 ("libzapojit" ,libzapojit)
1274 ("rest" ,rest)
1275 ("tracker" ,tracker)))
1276 (synopsis "Web Crawlers for GNOME")
1277 (description "GNOME Online Miners provides a set of crawlers that
1278 go through your online content and index them locally in Tracker.
1279 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1280 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1281 (license license:gpl2+)))
1282
1283 (define-public gssdp
1284 (package
1285 (name "gssdp")
1286 (version "1.2.3")
1287 (source (origin
1288 (method url-fetch)
1289 (uri (string-append "mirror://gnome/sources/" name "/"
1290 (version-major+minor version) "/"
1291 name "-" version ".tar.xz"))
1292 (sha256
1293 (base32
1294 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1295 (build-system meson-build-system)
1296 (native-inputs
1297 `(("gettext" ,gettext-minimal)
1298 ("glib:bin" ,glib "bin")
1299 ("gobject-introspection" ,gobject-introspection)
1300 ("gtk-doc" ,gtk-doc/stable)
1301 ("pkg-config" ,pkg-config)
1302 ("vala" ,vala)))
1303 (inputs
1304 `(("gtk+" ,gtk+)
1305 ("libsoup" ,libsoup)))
1306 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1307 Protocol} for GNOME")
1308 (description "This package provides a library to handle resource discovery
1309 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1310 a debugging tool, @command{gssdp-device-sniffer}.")
1311 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1312 (license license:lgpl2.0+)))
1313
1314 (define-public gupnp
1315 (package
1316 (name "gupnp")
1317 (version "1.2.4")
1318 (source (origin
1319 (method url-fetch)
1320 (uri (string-append "mirror://gnome/sources/" name "/"
1321 (version-major+minor version) "/"
1322 name "-" version ".tar.xz"))
1323 (sha256
1324 (base32
1325 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1326 (build-system meson-build-system)
1327 (native-inputs
1328 `(("gettext" ,gettext-minimal)
1329 ("glib:bin" ,glib "bin")
1330 ("gobject-introspection" ,gobject-introspection)
1331 ("gtk-doc" ,gtk-doc/stable)
1332 ("pkg-config" ,pkg-config)
1333 ("vala" ,vala)))
1334 (inputs
1335 `(("gssdp" ,gssdp)
1336 ("gtk+" ,gtk+)
1337 ("libsoup" ,libsoup)))
1338 (propagated-inputs
1339 `(;; For ‘org.gnome.system.proxy’.
1340 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1341 (synopsis "PnP API for GNOME")
1342 (description "This package provides GUPnP, an object-oriented framework
1343 for creating UPnP devices and control points, written in C using
1344 @code{GObject} and @code{libsoup}.")
1345 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1346 (license license:lgpl2.0+)))
1347
1348 (define-public gupnp-dlna
1349 (package
1350 (name "gupnp-dlna")
1351 (version "0.10.5")
1352 (source (origin
1353 (method url-fetch)
1354 (uri (string-append "mirror://gnome/sources/" name "/"
1355 (version-major+minor version) "/"
1356 name "-" version ".tar.xz"))
1357 (sha256
1358 (base32
1359 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1360 (build-system gnu-build-system)
1361 (native-inputs
1362 `(("gettext" ,gettext-minimal)
1363 ("glib:bin" ,glib "bin")
1364 ("gobject-introspection" ,gobject-introspection)
1365 ("gtk-doc" ,gtk-doc/stable)
1366 ("libxml" ,libxml2)
1367 ("pkg-config" ,pkg-config)
1368 ("vala" ,vala)))
1369 (inputs
1370 `(("gstreamer" ,gstreamer)
1371 ("gupnp" ,gupnp)))
1372 (propagated-inputs
1373 `(("gst-plugins-base" ,gst-plugins-base)
1374 ("gst-plugins-good" ,gst-plugins-good)))
1375 (synopsis "GUPnP DLNA for GNOME")
1376 (description "This package provides a small utility library to
1377 support DLNA-related tasks such as media profile guessing, transcoding to a
1378 given profile, etc. DLNA is a subset of UPnP A/V.")
1379 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1380 (license license:lgpl2.0+)))
1381
1382 (define-public gupnp-av
1383 (package
1384 (name "gupnp-av")
1385 (version "0.12.11")
1386 (source (origin
1387 (method url-fetch)
1388 (uri (string-append "mirror://gnome/sources/" name "/"
1389 (version-major+minor version) "/"
1390 name "-" version ".tar.xz"))
1391 (sha256
1392 (base32
1393 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1394 (build-system gnu-build-system)
1395 (native-inputs
1396 `(("gettext" ,gettext-minimal)
1397 ("glib:bin" ,glib "bin")
1398 ("gobject-introspection" ,gobject-introspection)
1399 ("gtk-doc" ,gtk-doc/stable)
1400 ("libxml" ,libxml2)
1401 ("pkg-config" ,pkg-config)))
1402 (inputs
1403 `(("gtk+" ,gtk+)
1404 ("gupnp" ,gupnp)))
1405 (synopsis "GUPnP A/V for GNOME")
1406 (description "This package provides a small library for handling
1407 and implementation of UPnP A/V profiles.")
1408 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1409 (license license:lgpl2.0+)))
1410
1411 (define-public libmediaart
1412 (package
1413 (name "libmediaart")
1414 (version "1.9.5")
1415 (source (origin
1416 (method url-fetch)
1417 (uri (string-append "mirror://gnome/sources/" name "/"
1418 (version-major+minor version) "/"
1419 name "-" version ".tar.xz"))
1420 (sha256
1421 (base32
1422 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1423 (build-system meson-build-system)
1424 (arguments
1425 `(#:meson ,meson-next))
1426 (native-inputs
1427 `(("glib:bin" ,glib "bin")
1428 ("pkg-config" ,pkg-config)))
1429 (inputs
1430 `(("gdk-pixbuf" ,gdk-pixbuf)
1431 ("gettext" ,gettext-minimal)
1432 ("gobject-introspection" ,gobject-introspection)
1433 ("gtk+:doc" ,gtk+ "doc")
1434 ("vala" ,vala)))
1435 (synopsis "Media art library for the GNOME desktop")
1436 (description
1437 "The libmediaart library is the foundation for media art caching,
1438 extraction, and lookup for applications on the desktop.")
1439 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1440 (license license:lgpl2.1+)))
1441
1442 (define-public gnome-initial-setup
1443 (package
1444 (name "gnome-initial-setup")
1445 (version "3.32.1")
1446 (source (origin
1447 (method url-fetch)
1448 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1449 (version-major+minor version)
1450 "/gnome-initial-setup-" version ".tar.xz"))
1451 (sha256
1452 (base32
1453 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1454 (build-system meson-build-system)
1455 (arguments
1456 '(#:configure-flags '(;; Enable camera support for user selfie.
1457 "-Dcheese=auto"
1458 "-Dsystemd=false")
1459 #:phases (modify-phases %standard-phases
1460 (add-after 'unpack 'set-gkbd-file-name
1461 (lambda* (#:key inputs #:allow-other-keys)
1462 ;; Allow the "Preview" button in the keyboard layout
1463 ;; selection dialog to display the layout.
1464 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1465 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1466 (("\"gkbd-keyboard-display")
1467 (string-append "\"" libgnomekbd
1468 "/bin/gkbd-keyboard-display")))
1469 #t))))))
1470 (native-inputs
1471 `(("gettext" ,gettext-minimal)
1472 ("glib:bin" ,glib "bin")
1473 ("gobject-introspection" ,gobject-introspection)
1474 ("gtk+:bin" ,gtk+ "bin")
1475 ("pkg-config" ,pkg-config)))
1476 (inputs
1477 `(("accountsservice" ,accountsservice)
1478 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1479 ("gdm" ,gdm)
1480 ("geoclue" ,geoclue)
1481 ("gnome-desktop" ,gnome-desktop)
1482 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1483 ("gnome-online-accounts" ,gnome-online-accounts)
1484 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1485 ("gstreamer" ,gstreamer)
1486 ("ibus" ,ibus)
1487 ("json-glib" ,json-glib)
1488 ("krb5" ,mit-krb5)
1489 ("libgweather" ,libgweather)
1490 ("libnma" ,libnma)
1491 ("libsecret" ,libsecret)
1492 ("network-manager" ,network-manager)
1493 ("packagekit" ,packagekit)
1494 ("polkit" ,polkit)
1495 ("pwquality" ,libpwquality)
1496 ("rest" ,rest)
1497 ("upower" ,upower)
1498 ("webkitgtk" ,webkitgtk)
1499 ("libgnomekbd" ,libgnomekbd)))
1500 (synopsis "Initial setup wizard for GNOME desktop")
1501 (description "This package provides a set-up wizard when a
1502 user logs into GNOME for the first time. It typically provides a
1503 tour of all gnome components and allows the user to set them up.")
1504 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1505 (license license:gpl2)))
1506
1507 (define-public gnome-user-share
1508 (package
1509 (name "gnome-user-share")
1510 (version "3.33.1")
1511 (source (origin
1512 (method url-fetch)
1513 (uri (string-append "mirror://gnome/sources/" name "/"
1514 (version-major+minor version) "/"
1515 name "-" version ".tar.xz"))
1516 (sha256
1517 (base32
1518 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1519 (build-system meson-build-system)
1520 (arguments
1521 `(#:glib-or-gtk? #t
1522 #:configure-flags
1523 `("-Dsystemd=false"
1524 ;; Enable nautilus extension for file sharing.
1525 "-Dnautilus_extension=true")))
1526 (native-inputs
1527 `(("gettext" ,gettext-minimal)
1528 ("glib:bin" ,glib "bin")
1529 ("gobject-introspection" ,gobject-introspection)
1530 ("gtk+:bin" ,gtk+ "bin")
1531 ("pkg-config" ,pkg-config)
1532 ("yelp-tools" ,yelp-tools)))
1533 (inputs
1534 `(("glib" ,glib)
1535 ("gnome-bluetooth" ,gnome-bluetooth)
1536 ("gtk+" ,gtk+)
1537 ("libcanberra" ,libcanberra)
1538 ("libnotify" ,libnotify)
1539 ("nautilus" ,nautilus))) ; For nautilus extension.
1540 (synopsis "File sharing for GNOME desktop")
1541 (description "GNOME User Share is a small package that binds together
1542 various free software projects to bring easy to use user-level file
1543 sharing to the masses.")
1544 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1545 (license license:gpl2+)))
1546
1547 (define-public sushi
1548 (package
1549 (name "sushi")
1550 (version "3.32.1")
1551 (source (origin
1552 (method url-fetch)
1553 (uri (string-append "mirror://gnome/sources/" name "/"
1554 (version-major+minor version) "/"
1555 name "-" version ".tar.xz"))
1556 (sha256
1557 (base32
1558 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1559 (build-system meson-build-system)
1560 (arguments
1561 `(#:glib-or-gtk? #t
1562 #:phases
1563 (modify-phases %standard-phases
1564 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1565 (lambda* (#:key outputs #:allow-other-keys)
1566 (let ((prog (string-append (assoc-ref outputs "out")
1567 "/bin/sushi")))
1568 ;; Put existing typelibs before sushi's deps, so as to correctly
1569 ;; infer gdk-pixbuf
1570 (wrap-program prog
1571 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1572 #t))))))
1573 (native-inputs
1574 `(("glib:bin" ,glib "bin")
1575 ("gettext" ,gettext-minimal)
1576 ("gobject-introspection" ,gobject-introspection)
1577 ("pkg-config" ,pkg-config)))
1578 (inputs
1579 `(("clutter" ,clutter)
1580 ("clutter-gst" ,clutter-gst)
1581 ("clutter-gtk" ,clutter-gtk)
1582 ("evince" ,evince) ; For file previewing.
1583 ("freetype" ,freetype)
1584 ("gdk-pixbuf" ,gdk-pixbuf)
1585 ("gjs" ,gjs)
1586 ("gst-plugins-base" ,gst-plugins-base)
1587 ("gstreamer" ,gstreamer)
1588 ("gtksourceview" ,gtksourceview-3)
1589 ("harfbuzz" ,harfbuzz)
1590 ("libepoxy" ,libepoxy)
1591 ("libmusicbrainz" ,libmusicbrainz)
1592 ("libxml2" ,libxml2)
1593 ("neon" ,neon)
1594 ("webkitgtk" ,webkitgtk)))
1595 (synopsis "File previewer for the GNOME desktop")
1596 (description "Sushi is a DBus-activated service that allows applications to
1597 preview files on the GNOME desktop.")
1598 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1599 (license license:gpl2+)))
1600
1601 (define-public rygel
1602 (package
1603 (name "rygel")
1604 (version "0.38.3")
1605 (source (origin
1606 (method url-fetch)
1607 (uri (string-append "mirror://gnome/sources/" name "/"
1608 (version-major+minor version) "/"
1609 name "-" version ".tar.xz"))
1610 (sha256
1611 (base32
1612 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1613 (build-system gnu-build-system)
1614 (native-inputs
1615 `(("gettext" ,gettext-minimal)
1616 ("gobject-introspection" ,gobject-introspection)
1617 ("gtk-doc" ,gtk-doc/stable)
1618 ("pkg-config" ,pkg-config)
1619 ("vala" ,vala)))
1620 (inputs
1621 `(("gdk-pixbuf" ,gdk-pixbuf)
1622 ("gssdp" ,gssdp)
1623 ("gstreamer" ,gstreamer)
1624 ("gst-plugins-base" ,gst-plugins-base)
1625 ("gtk+" ,gtk+)
1626 ("gupnp" ,gupnp)
1627 ("gupnp-av" ,gupnp-av)
1628 ("gupnp-dlna" ,gupnp-dlna)
1629 ("libgee" ,libgee)
1630 ("libmediaart" ,libmediaart)
1631 ("libsoup" ,libsoup)
1632 ("libxslt" ,libxslt)
1633 ("libunistring" ,libunistring)
1634 ("tracker" ,tracker)))
1635 (synopsis "Share audio, video, and pictures with other devices")
1636 (description
1637 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1638 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1639 pictures, and to control a media player on your home network.
1640
1641 Rygel achieves interoperability with other devices by trying to conform to the
1642 strict requirements of DLNA and by converting media on-the-fly to formats that
1643 client devices can handle.")
1644 (home-page "https://wiki.gnome.org/Projects/Rygel")
1645 (license (list
1646 ;; For logo (data/icons/*).
1647 license:cc-by-sa3.0
1648 ;; For all others.
1649 license:lgpl2.1+))))
1650
1651 (define-public libnma
1652 (package
1653 (name "libnma")
1654 (version "1.8.28")
1655 (source (origin
1656 (method url-fetch)
1657 (uri (string-append "mirror://gnome/sources/" name "/"
1658 (version-major+minor version) "/"
1659 name "-" version ".tar.xz"))
1660 (sha256
1661 (base32
1662 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1663 (build-system meson-build-system)
1664 (arguments
1665 `(#:phases
1666 (modify-phases %standard-phases
1667 (add-after 'unpack 'patch-docbook-xml
1668 (lambda* (#:key inputs #:allow-other-keys)
1669 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1670 "/xml/dtd/docbook")))
1671 (substitute* "libnma-docs.xml"
1672 (("http://.*/docbookx\\.dtd")
1673 (string-append xmldoc "/docbookx.dtd")))
1674 #t))))))
1675 (native-inputs
1676 `(("docbook-xml" ,docbook-xml-4.3)
1677 ("gettext" ,gettext-minimal)
1678 ("glib:bin" ,glib "bin")
1679 ("gtk-doc" ,gtk-doc/stable)
1680 ("gobject-introspection" ,gobject-introspection)
1681 ("pkg-config" ,pkg-config)
1682 ("vala" ,vala)))
1683 (inputs
1684 `(("gcr" ,gcr)
1685 ("gtk+" ,gtk+)
1686 ("iso-codes" ,iso-codes)
1687 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1688 ("network-manager" ,network-manager)))
1689 (synopsis "Network Manager's applet library")
1690 (description "Libnma is an applet library for Network Manager. It was
1691 initially part of network-manager-applet and has now become a separate
1692 project.")
1693 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1694 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1695 ;; "LGPL-2.1+".
1696 (license license:gpl2+)))
1697
1698 (define-public gnome-menus
1699 (package
1700 (name "gnome-menus")
1701 (version "3.32.0")
1702 (source (origin
1703 (method url-fetch)
1704 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1705 (version-major+minor version) "/"
1706 name "-" version ".tar.xz"))
1707 (sha256
1708 (base32
1709 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1710 (build-system gnu-build-system)
1711 (native-inputs
1712 `(("gettext" ,gettext-minimal)
1713 ("glib" ,glib)
1714 ("pkg-config" ,pkg-config)))
1715 (synopsis "Menu support for GNOME desktop")
1716 (description "GNOME Menus contains the libgnome-menu library, the layout
1717 configuration files for the GNOME menu, as well as a simple menu editor.")
1718 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1719 (license license:lgpl2.0+)))
1720
1721 (define-public deja-dup
1722 (package
1723 (name "deja-dup")
1724 (version "40.6")
1725 (source (origin
1726 (method url-fetch)
1727 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1728 version "/deja-dup-" version ".tar.bz2"))
1729 (sha256
1730 (base32
1731 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1732 (build-system meson-build-system)
1733 (arguments
1734 `(#:glib-or-gtk? #t
1735 #:configure-flags
1736 (list
1737 ;; Otherwise, the RUNPATH will lack the final path component.
1738 (string-append "-Dc_link_args=-Wl,-rpath="
1739 (assoc-ref %outputs "out") "/lib/deja-dup"))
1740 #:phases
1741 (modify-phases %standard-phases
1742 (add-after 'unpack 'patch-paths
1743 (lambda* (#:key inputs #:allow-other-keys)
1744 (let ((python (assoc-ref inputs "python")))
1745 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1746 "libdeja/tests/scripts/instance-error.test")
1747 (("/bin/rm")
1748 (which "rm")))
1749 (substitute* "libdeja/tests/runner.vala"
1750 (("/bin/sh")
1751 (which "sh")))
1752 (substitute* "libdeja/tests/scripts/instance-error.test"
1753 (("`which python3`")
1754 (string-append python "/bin/python3"))))))
1755 (add-after 'unpack 'patch-libgpg-error
1756 (lambda* (#:key inputs #:allow-other-keys)
1757 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1758 (substitute* "meson.build"
1759 (("(gpgerror_libs = ).*" _ var)
1760 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1761 #t))
1762 (add-after 'unpack 'skip-gtk-update-icon-cache
1763 ;; Don't create 'icon-theme.cache'.
1764 (lambda _
1765 (substitute* "data/post-install.sh"
1766 (("gtk-update-icon-cache") "true"))
1767 #t)))))
1768 (inputs
1769 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1770 ("duplicity" ,duplicity)
1771 ("python" ,python)
1772 ("python-pygobject" ,python-pygobject)
1773 ("gtk+" ,gtk+)
1774 ("json-glib" ,json-glib)
1775 ("libnotify" ,libnotify)
1776 ("libgpg-error" ,libgpg-error)
1777 ("libsecret" ,libsecret)
1778 ("libsoup" ,libsoup)
1779 ("packagekit" ,packagekit)))
1780 (native-inputs
1781 `(("appstream-glib" ,appstream-glib)
1782 ("desktop-file-utils" ,desktop-file-utils)
1783 ("gettext" ,gettext-minimal)
1784 ("glib" ,glib "bin") ; for glib-compile-schemas.
1785 ("gobject-introspection" ,gobject-introspection)
1786 ("itstool" ,itstool)
1787 ("pkg-config" ,pkg-config)
1788 ("vala" ,vala)))
1789 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1790 (synopsis "Simple backup tool, for regular encrypted backups")
1791 (description
1792 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1793 uses duplicity as the backend, which supports incremental backups and storage
1794 either on a local, or remote machine via a number of methods.")
1795 (license license:gpl3+)))
1796
1797 (define-public gnome-commander
1798 (package
1799 (name "gnome-commander")
1800 (version "1.10.3")
1801 (source
1802 (origin
1803 (method url-fetch)
1804 (uri (string-append "mirror://gnome/sources/" name "/"
1805 (version-major+minor version) "/"
1806 "gnome-commander-" version ".tar.xz"))
1807 (sha256
1808 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1809 (build-system glib-or-gtk-build-system)
1810 (native-inputs
1811 `(("desktop-file-utils" ,desktop-file-utils)
1812 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1813 ("gettext" ,gettext-minimal)
1814 ("glib:bin" ,glib "bin")
1815 ("gobject-introspection" ,gobject-introspection)
1816 ("googletest" ,googletest)
1817 ("intltool" ,intltool)
1818 ("itstool" ,itstool)
1819 ("libtool" ,libtool)
1820 ("pkg-config" ,pkg-config)))
1821 (inputs
1822 `(("gconf" ,gconf)
1823 ("gnome-vfs" ,gnome-vfs)
1824 ("gtk+" ,gtk+-2)
1825 ("libxml2" ,libxml2)))
1826 (home-page "https://gcmd.github.io/")
1827 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1828 (description
1829 "GNOME Commander is a two-pane graphical file manager using GNOME
1830 libraries. It aims to fulfill the demands of more advanced users who
1831 like to focus on file management, their work through special applications
1832 and running smart commands.")
1833 (license license:gpl2+)))
1834
1835 (define-public gnome-user-docs
1836 (package
1837 (name "gnome-user-docs")
1838 (version "3.32.3")
1839 (source
1840 (origin
1841 (method url-fetch)
1842 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1843 (version-major+minor version)
1844 "/gnome-user-docs-" version ".tar.xz"))
1845 (sha256
1846 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1847 (build-system gnu-build-system)
1848 (native-inputs
1849 `(("gettext" ,gettext-minimal)
1850 ("itstool" ,itstool)
1851 ("pkg-config" ,pkg-config)
1852 ("xmllint" ,libxml2)))
1853 (synopsis "User documentation for the GNOME desktop")
1854 (description
1855 "The GNOME User Documentation explains how to use the GNOME desktop and its
1856 components. It covers usage and setup of the core GNOME programs by end-users
1857 and system administrators.")
1858 (home-page "https://live.gnome.org/DocumentationProject")
1859 (license license:cc-by3.0)))
1860
1861 (define-public gnome-getting-started-docs
1862 (package
1863 (name "gnome-getting-started-docs")
1864 (version "3.32.2")
1865 (source
1866 (origin
1867 (method url-fetch)
1868 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1869 (version-major+minor version)
1870 "/gnome-getting-started-docs-" version ".tar.xz"))
1871 (sha256
1872 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1873 (build-system gnu-build-system)
1874 (native-inputs
1875 `(("gettext" ,gettext-minimal)
1876 ("itstool" ,itstool)
1877 ("pkg-config" ,pkg-config)
1878 ("xmllint" ,libxml2)))
1879 (synopsis "Help to get new users started with the GNOME desktop")
1880 (description
1881 "The GNOME Getting Started Documentation contains GNOME's intuitive
1882 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1883
1884 It is normally used together with @command{gnome-initial-setup}, but is also
1885 useful as a tutorial and users' guide for new or less experienced users.")
1886 (home-page "https://live.gnome.org/DocumentationProject")
1887 (license license:cc-by-sa3.0)))
1888
1889 (define-public dia
1890 ;; This version from GNOME's repository includes fixes for compiling with
1891 ;; recent versions of the build tools. The latest activity on the
1892 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1893 ;; fixes since.
1894 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1895 (revision "2"))
1896 (package
1897 (name "dia")
1898 (version (git-version "0.97.3" revision commit))
1899 (source (origin
1900 (method git-fetch)
1901 (uri (git-reference
1902 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1903 (commit commit)))
1904 (file-name (git-file-name name version))
1905 (sha256
1906 (base32
1907 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1908 (build-system meson-build-system)
1909 (inputs
1910 `(("graphene" ,graphene)
1911 ("gtk+" ,gtk+-2)
1912 ("libxml2" ,libxml2)
1913 ("libxslt" ,libxslt)
1914 ("poppler" ,poppler)
1915 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1916 ;; ERROR: Unknown method "dependency" in object.
1917 ("python-2" ,python-2)))
1918 (native-inputs
1919 `(("appstream-glib" ,appstream-glib)
1920 ("docbook-xsl" ,docbook-xsl)
1921 ("glib" ,glib "bin")
1922 ("intltool" ,intltool)
1923 ("pkg-config" ,pkg-config)))
1924 (home-page "https://wiki.gnome.org/Apps/Dia")
1925 (synopsis "Diagram creation for GNOME")
1926 (description "Dia can be used to draw different types of diagrams, and
1927 includes support for UML static structure diagrams (class diagrams), entity
1928 relationship modeling, and network diagrams. The program supports various file
1929 formats like PNG, SVG, PDF and EPS.")
1930 (license license:gpl2+))))
1931
1932 ;; This is the unstable release, but it is required for the current stable
1933 ;; release of gvfs (1.38.1).
1934 (define-public libgdata
1935 (package
1936 (name "libgdata")
1937 (version "0.17.9")
1938 (source (origin
1939 (method url-fetch)
1940 (uri (string-append "mirror://gnome/sources/" name "/"
1941 (version-major+minor version) "/"
1942 name "-" version ".tar.xz"))
1943 (sha256
1944 (base32
1945 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1946 (build-system gnu-build-system)
1947 (arguments
1948 '(#:phases
1949 (modify-phases %standard-phases
1950 (add-before 'check 'disable-failing-tests
1951 (lambda _
1952 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1953 ;; They have been removed in libgdata 0.17.6, so just do the same.
1954 (substitute* "gdata/tests/Makefile"
1955 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1956 #t)))))
1957 (native-inputs
1958 `(("glib:bin" ,glib "bin")
1959 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1960 ("intltool" ,intltool)
1961 ("pkg-config" ,pkg-config)
1962 ("uhttpmock" ,uhttpmock)))
1963 (inputs
1964 `(("cyrus-sasl" ,cyrus-sasl)
1965 ("glib-networking" ,glib-networking)))
1966 (propagated-inputs
1967 `(("gcr" ,gcr)
1968 ("glib" ,glib)
1969 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1970 ("json-glib" ,json-glib)
1971 ("liboauth" ,liboauth)
1972 ("libsoup" ,libsoup)
1973 ("libxml2" ,libxml2)))
1974 (home-page "https://wiki.gnome.org/Projects/libgdata")
1975 (synopsis "Library for accessing online service APIs")
1976 (description
1977 "libgdata is a GLib-based library for accessing online service APIs using
1978 the GData protocol — most notably, Google's services. It provides APIs to
1979 access the common Google services, and has full asynchronous support.")
1980 (license license:lgpl2.1+)))
1981
1982 (define-public libgxps
1983 (package
1984 (name "libgxps")
1985 (version "0.3.2")
1986 (source (origin
1987 (method url-fetch)
1988 (uri (string-append "mirror://gnome/sources/" name "/"
1989 (version-major+minor version) "/"
1990 name "-" version ".tar.xz"))
1991 (sha256
1992 (base32
1993 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1994 (build-system meson-build-system)
1995 (native-inputs
1996 `(("gobject-introspection" ,gobject-introspection)
1997 ("pkg-config" ,pkg-config)))
1998 (inputs
1999 `(("gtk+" ,gtk+)
2000 ("libjpeg" ,libjpeg-turbo)
2001 ("lcms" ,lcms)
2002 ("libtiff" ,libtiff)))
2003 (propagated-inputs
2004 ;; In Requires of libgxps.pc.
2005 `(("cairo" ,cairo)
2006 ("glib" ,glib)
2007 ("libarchive" ,libarchive)))
2008 (home-page "https://wiki.gnome.org/Projects/libgxps")
2009 (synopsis "GObject-based library for handling and rendering XPS documents")
2010 (description
2011 "libgxps is a GObject-based library for handling and rendering XPS
2012 documents. This package also contains binaries that can convert XPS documents
2013 to other formats.")
2014 (license license:lgpl2.1+)))
2015
2016 (define-public gnome-characters
2017 (package
2018 (name "gnome-characters")
2019 (version "3.30.0")
2020 (source
2021 (origin
2022 (method url-fetch)
2023 (uri (string-append "mirror://gnome/sources/"
2024 "gnome-characters/" (version-major+minor version)
2025 "/gnome-characters-" version ".tar.xz"))
2026 (sha256
2027 (base32
2028 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2029 (build-system meson-build-system)
2030 (arguments
2031 `(#:glib-or-gtk? #t
2032 #:phases (modify-phases %standard-phases
2033 (add-after 'install 'wrap
2034 (lambda* (#:key outputs #:allow-other-keys)
2035 ;; GNOME Characters needs Typelib files from GTK and
2036 ;; gnome-desktop.
2037 (wrap-program (string-append (assoc-ref outputs "out")
2038 "/bin/gnome-characters")
2039 `("GI_TYPELIB_PATH" ":" prefix
2040 (,(getenv "GI_TYPELIB_PATH"))))
2041 #t)))))
2042 (native-inputs
2043 `(("gettext" ,gettext-minimal)
2044 ("glib:bin" ,glib "bin")
2045 ("gtk+:bin" ,gtk+ "bin")
2046 ("pkg-config" ,pkg-config)
2047 ("python" ,python-minimal)))
2048 (inputs
2049 `(("gjs" ,gjs)
2050 ("gtk+" ,gtk+)
2051 ("libunistring" ,libunistring)
2052 ("gnome-desktop" ,gnome-desktop)))
2053 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2054 (synopsis "Find and insert unusual characters")
2055 (description "Characters is a simple utility application to find
2056 and insert unusual characters. It allows you to quickly find the
2057 character you are looking for by searching for keywords.")
2058 (license license:bsd-3)))
2059
2060 (define-public gnome-common
2061 (package
2062 (name "gnome-common")
2063 (version "3.18.0")
2064 (source
2065 (origin
2066 (method url-fetch)
2067 (uri (string-append "mirror://gnome/sources/" name "/"
2068 (version-major+minor version) "/"
2069 name "-" version ".tar.xz"))
2070 (sha256
2071 (base32
2072 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2073 (build-system gnu-build-system)
2074 (home-page "https://www.gnome.org/")
2075 (synopsis "Bootstrap GNOME modules built from Git")
2076 (description "gnome-common contains various files needed to bootstrap
2077 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2078 can be used to configure a source directory checked out from Git and some
2079 commonly used macros.")
2080 (license license:gpl2+)))
2081
2082 (define-public gnome-contacts
2083 (package
2084 (name "gnome-contacts")
2085 (version "3.34")
2086 (source (origin
2087 (method url-fetch)
2088 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2089 (version-major+minor version) "/"
2090 name "-" version ".tar.xz"))
2091 (sha256
2092 (base32
2093 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2094 (build-system meson-build-system)
2095 (arguments
2096 `(#:configure-flags '("-Dcheese=false")
2097 #:phases
2098 (modify-phases %standard-phases
2099 (add-after 'unpack 'generate-vapis
2100 (lambda* (#:key inputs #:allow-other-keys)
2101 ;; To generate goa's missing .vapi file
2102 (define goa
2103 (assoc-ref inputs "gnome-online-accounts:lib"))
2104
2105 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2106 "--library=goa-1.0"
2107 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2108 #t))
2109 (add-after 'unpack 'skip-gtk-update-icon-cache
2110 ;; Don't create 'icon-theme.cache'.
2111 (lambda _
2112 (substitute* "build-aux/meson_post_install.py"
2113 (("gtk-update-icon-cache") "true"))
2114 #t)))))
2115 (native-inputs
2116 `(("glib:bin" ,glib "bin")
2117 ("pkg-config" ,pkg-config)))
2118 (inputs
2119 `(("docbook-xml" ,docbook-xml)
2120 ("dockbook-xsl" ,docbook-xsl)
2121 ("evolution-data-server" ,evolution-data-server)
2122 ("gettext" ,gettext-minimal)
2123 ("gnome-desktop" ,gnome-desktop)
2124 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2125 ("gobject-introspection" ,gobject-introspection)
2126 ("gst-plugins-base" ,gst-plugins-base)
2127 ("gtk+" ,gtk+)
2128 ("libgee" ,libgee)
2129 ("libxslt" ,libxslt)
2130 ("telepathy-glib" ,telepathy-glib)
2131 ("vala" ,vala)))
2132 (propagated-inputs
2133 `(("folks" ,folks)
2134 ("telepathy-mission-control" ,telepathy-mission-control)))
2135 (synopsis "GNOME's integrated address book")
2136 (description
2137 "GNOME Contacts organizes your contact information from online and
2138 offline sources, providing a centralized place for managing your contacts.")
2139 (home-page "https://wiki.gnome.org/Apps/Contacts")
2140 (license license:gpl2+)))
2141
2142 (define-public gnome-desktop
2143 (package
2144 (name "gnome-desktop")
2145 (version "3.34.2")
2146 (source
2147 (origin
2148 (method url-fetch)
2149 (uri (string-append "mirror://gnome/sources/" name "/"
2150 (version-major+minor version) "/"
2151 name "-" version ".tar.xz"))
2152 (sha256
2153 (base32
2154 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2155 (build-system meson-build-system)
2156 (arguments
2157 '(#:phases
2158 (modify-phases %standard-phases
2159 (add-before 'configure 'patch-path
2160 (lambda* (#:key inputs #:allow-other-keys)
2161 (let ((libc (assoc-ref inputs "libc")))
2162 (substitute* "libgnome-desktop/gnome-languages.c"
2163 (("\"locale\"")
2164 (string-append "\"" libc "/bin/locale\"")))
2165 #t)))
2166 (add-before 'configure 'patch-bubblewrap
2167 (lambda* (#:key inputs #:allow-other-keys)
2168 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2169 (("\"bwrap\",")
2170 (string-append "\"" (which "bwrap") "\","))
2171 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2172 (string-append "\"--ro-bind\", \""
2173 (%store-directory)
2174 "\", \""
2175 (%store-directory)
2176 "\","))
2177 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2178 #t))
2179 (add-before 'check 'pre-check
2180 (lambda* (#:key inputs #:allow-other-keys)
2181 ;; Tests require a running X server and locales.
2182 (system "Xvfb :1 &")
2183 (setenv "DISPLAY" ":1")
2184 (setenv "GUIX_LOCPATH"
2185 (string-append (assoc-ref inputs "glibc-locales")
2186 "/lib/locale"))
2187 #t)))))
2188 (native-inputs
2189 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2190 ("glibc-locales" ,glibc-locales) ; for tests
2191 ("gobject-introspection" ,gobject-introspection)
2192 ("itstool" ,itstool)
2193 ("intltool" ,intltool)
2194 ("pkg-config" ,pkg-config)
2195 ("xmllint" ,libxml2)
2196 ("xorg-server" ,xorg-server-for-tests)))
2197 (propagated-inputs
2198 ;; Required by gnome-desktop-3.0.pc.
2199 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2200 ("gtk+" ,gtk+)
2201 ("iso-codes" ,iso-codes)
2202 ("libseccomp" ,libseccomp)
2203 ("libx11" ,libx11)
2204 ("xkeyboard-config" ,xkeyboard-config)))
2205 (inputs
2206 `(("gdk-pixbuf" ,gdk-pixbuf)
2207 ("glib" ,glib)
2208 ("bubblewrap" ,bubblewrap)
2209 ("libxext" ,libxext)
2210 ("libxkbfile" ,libxkbfile)
2211 ("libxrandr" ,libxrandr)))
2212 (home-page "https://www.gnome.org/")
2213 (synopsis
2214 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2215 (description
2216 "The libgnome-desktop library provides API shared by several applications
2217 on the desktop, but that cannot live in the platform for various reasons.
2218 There is no API or ABI guarantee, although we are doing our best to provide
2219 stability. Documentation for the API is available with gtk-doc.
2220
2221 The gnome-about program helps find which version of GNOME is installed.")
2222 ; Some bits under the LGPL.
2223 (license license:gpl2+)))
2224
2225 (define-public gnome-doc-utils
2226 (package
2227 (name "gnome-doc-utils")
2228 (version "0.20.10")
2229 (source
2230 (origin
2231 (method url-fetch)
2232 (uri (string-append "mirror://gnome/sources/" name "/"
2233 (version-major+minor version) "/"
2234 name "-" version ".tar.xz"))
2235 (sha256
2236 (base32
2237 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2238 (build-system gnu-build-system)
2239 (native-inputs
2240 `(("intltool" ,intltool)
2241 ("docbook-xml" ,docbook-xml-4.4)
2242 ("python2-libxml2" ,python2-libxml2)
2243 ("libxml2" ,libxml2)
2244 ("libxslt" ,libxslt)
2245 ("pkg-config" ,pkg-config)
2246 ("python-2" ,python-2)))
2247 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2248 (synopsis
2249 "Documentation utilities for the Gnome project")
2250 (description
2251 "Gnome-doc-utils is a collection of documentation utilities for the
2252 Gnome project. It includes xml2po tool which makes it easier to translate
2253 and keep up to date translations of documentation.")
2254 (license license:gpl2+))) ; xslt under lgpl
2255
2256 (define-public gnome-disk-utility
2257 (package
2258 (name "gnome-disk-utility")
2259 (version "3.34.0")
2260 (source (origin
2261 (method url-fetch)
2262 (uri (string-append "mirror://gnome/sources/" name "/"
2263 (version-major+minor version) "/"
2264 name "-" version ".tar.xz"))
2265 (sha256
2266 (base32
2267 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2268 (build-system meson-build-system)
2269 (arguments
2270 '(#:configure-flags '("-Dlogind=libelogind")
2271 #:phases
2272 (modify-phases %standard-phases
2273 (add-after 'unpack 'skip-gtk-update-icon-cache
2274 ;; Don't create 'icon-theme.cache'.
2275 (lambda _
2276 (substitute* "meson_post_install.py"
2277 (("gtk-update-icon-cache") "true"))
2278 #t)))))
2279 (native-inputs
2280 `(("glib:bin" ,glib "bin")
2281 ("intltool" ,intltool)
2282 ("pkg-config" ,pkg-config)
2283 ("docbook-xml" ,docbook-xml)
2284 ("docbook-xsl" ,docbook-xsl)
2285 ("libxml2" ,libxml2)
2286 ("libxslt" ,libxslt)))
2287 (inputs
2288 `(("elogind" ,elogind)
2289 ("glib" ,glib)
2290 ("appstream-glib" ,appstream-glib)
2291 ("gnome-settings-daemon" ,gnome-settings-daemon)
2292 ("gtk+" ,gtk+)
2293 ("libcanberra" ,libcanberra)
2294 ("libdvdread" ,libdvdread)
2295 ("libnotify" ,libnotify)
2296 ("libpwquality" ,libpwquality)
2297 ("libsecret" ,libsecret)
2298 ("udisks" ,udisks)))
2299 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2300 (synopsis "Disk management utility for GNOME")
2301 (description "Disk management utility for GNOME.")
2302 (license license:gpl2+)))
2303
2304 (define-public gnome-font-viewer
2305 (package
2306 (name "gnome-font-viewer")
2307 (version "3.30.0")
2308 (source (origin
2309 (method url-fetch)
2310 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2311 (version-major+minor version)
2312 "/gnome-font-viewer-" version ".tar.xz"))
2313 (sha256
2314 (base32
2315 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2316 (build-system meson-build-system)
2317 (arguments
2318 '(#:phases
2319 (modify-phases %standard-phases
2320 (add-after 'unpack 'patch-post-install-script
2321 (lambda _
2322 (substitute* "meson-postinstall.sh"
2323 (("update-desktop-database") (which "true")))
2324 #t))
2325 (add-after 'install 'patch-thumbnailer
2326 (lambda* (#:key outputs #:allow-other-keys)
2327 (let ((out (assoc-ref outputs "out")))
2328 (substitute*
2329 (string-append
2330 out
2331 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2332 (("gnome-thumbnail-font")
2333 (string-append out "/bin/gnome-thumbnail-font"))))
2334 #t)))))
2335 (native-inputs
2336 `(("gettext" ,gettext-minimal)
2337 ("glib:bin" ,glib "bin")
2338 ("pkg-config" ,pkg-config)))
2339 (inputs
2340 `(("glib" ,glib)
2341 ("gnome-desktop" ,gnome-desktop)
2342 ("gtk+" ,gtk+)))
2343 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2344 (synopsis "GNOME Fonts")
2345 (description "Application to show you the fonts installed on your computer
2346 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2347 the font would look under various sizes.")
2348 (license license:gpl2+)))
2349
2350 (define-public gcr
2351 (package
2352 (name "gcr")
2353 (version "3.34.0")
2354 (source (origin
2355 (method url-fetch)
2356 (uri (string-append "mirror://gnome/sources/" name "/"
2357 (version-major+minor version) "/"
2358 name "-" version ".tar.xz"))
2359 (sha256
2360 (base32
2361 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2362 (build-system gnu-build-system)
2363 (arguments
2364 '(#:phases
2365 (modify-phases %standard-phases
2366 ;; These fail because /var/lib/dbus/machine-id is not present in the
2367 ;; build environment.
2368 (add-after 'unpack 'disable-failing-tests
2369 (lambda _
2370 (substitute* "Makefile.in"
2371 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2372 ""))
2373 #t))
2374 (add-before 'check 'pre-check
2375 (lambda _
2376 ;; Some tests expect to write to $HOME.
2377 (setenv "HOME" "/tmp")
2378 #t)))))
2379 (inputs
2380 `(("dbus" ,dbus)
2381 ("gnupg" ,gnupg) ;called as a child process during tests
2382 ("libgcrypt" ,libgcrypt)))
2383 (native-inputs
2384 `(("python" ,python-wrapper) ;for tests
2385 ("pkg-config" ,pkg-config)
2386 ("gettext" ,gettext-minimal)
2387 ("glib" ,glib "bin")
2388 ("gobject-introspection" ,gobject-introspection)
2389 ("libxml2" ,libxml2)
2390 ("vala" ,vala)
2391 ("xsltproc" ,libxslt)))
2392 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2393 (propagated-inputs
2394 `(("p11-kit" ,p11-kit)
2395 ("glib" ,glib)
2396 ("gtk+" ,gtk+)))
2397 (home-page "https://www.gnome.org")
2398 (synopsis "Libraries for displaying certificates and accessing key stores")
2399 (description
2400 "The GCR package contains libraries used for displaying certificates and
2401 accessing key stores. It also provides the viewer for crypto files on the
2402 GNOME Desktop.")
2403 (license license:lgpl2.1+)))
2404
2405 (define-public gdl
2406 (package
2407 (name "gdl")
2408 (version "3.34.0")
2409 (source (origin
2410 (method git-fetch)
2411 (uri (git-reference
2412 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2413 (commit (string-append "GDL_" (string-map (match-lambda
2414 (#\. #\_)
2415 (c c))
2416 version)))))
2417 (file-name (git-file-name name version))
2418 (sha256
2419 (base32
2420 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2421 (build-system gnu-build-system)
2422 (native-inputs
2423 `(("autoconf" ,autoconf)
2424 ("automake" ,automake)
2425 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2426 ("gnome-common" ,gnome-common)
2427 ("gtk-doc" ,gtk-doc/stable)
2428 ("intltool" ,intltool)
2429 ("pkg-config" ,pkg-config)
2430 ("libtool" ,libtool)
2431 ("which" ,which)))
2432 (inputs
2433 `(("libxml2" ,libxml2)))
2434 (propagated-inputs
2435 ;; The gdl-3.0.pc file 'Requires' GTK+.
2436 `(("gtk+" ,gtk+)))
2437 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2438 (synopsis "GNOME docking library")
2439 (description "This library provides docking features for gtk+.")
2440 (license license:lgpl2.1+)))
2441
2442 ;;; A minimal variant used to break a cycle with Inkscape.
2443 (define-public gdl-minimal
2444 (package/inherit gdl
2445 (name "gdl-minimal")
2446 (arguments
2447 '(#:phases
2448 (modify-phases %standard-phases
2449 (add-after 'unpack 'disable-doc-generation
2450 ;; XXX: There is no easy way to disable generating the
2451 ;; documentation.
2452 (lambda _
2453 (substitute* "configure.in"
2454 (("GTK_DOC_CHECK.*") "")
2455 (("docs/.*") ""))
2456 (substitute* "Makefile.am"
2457 (("gdl docs po") "gdl po"))
2458 #t)))))
2459 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2460
2461 (define-public libgnome-keyring
2462 (package
2463 (name "libgnome-keyring")
2464 (version "3.12.0")
2465 (source (origin
2466 (method url-fetch)
2467 (uri (string-append "mirror://gnome/sources/" name "/"
2468 (version-major+minor version) "/"
2469 name "-" version ".tar.xz"))
2470 (sha256
2471 (base32
2472 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2473 (build-system gnu-build-system)
2474 (inputs
2475 `(("libgcrypt" ,libgcrypt)
2476 ("dbus" ,dbus)))
2477 (native-inputs
2478 `(("pkg-config" ,pkg-config)
2479 ("glib" ,glib "bin")
2480 ("intltool" ,intltool)))
2481 (propagated-inputs
2482 ;; Referred to in .h files and .pc.
2483 `(("glib" ,glib)))
2484 (home-page "https://www.gnome.org")
2485 (synopsis "Accessing passwords from the GNOME keyring")
2486 (description
2487 "Client library to access passwords from the GNOME keyring.")
2488
2489 ;; Though a couple of files are LGPLv2.1+.
2490 (license license:lgpl2.0+)))
2491
2492 (define-public gnome-keyring
2493 (package
2494 (name "gnome-keyring")
2495 (version "3.34.0")
2496 (source (origin
2497 (method url-fetch)
2498 (uri (string-append "mirror://gnome/sources/" name "/"
2499 (version-major+minor version) "/"
2500 name "-" version ".tar.xz"))
2501 (sha256
2502 (base32
2503 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2504 (build-system gnu-build-system)
2505 (arguments
2506 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2507 ;not exist
2508 #:configure-flags
2509 (list
2510 (string-append "--with-pkcs11-config="
2511 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2512 (string-append "--with-pkcs11-modules="
2513 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2514 #:phases
2515 (modify-phases %standard-phases
2516 (add-after 'unpack 'fix-/bin/sh-reference
2517 (lambda _
2518 (substitute* "po/Makefile.in.in"
2519 (("/bin/sh") (which "sh")))
2520 #t))
2521 (add-after 'unpack 'fix-docbook
2522 (lambda* (#:key inputs #:allow-other-keys)
2523 (substitute* "docs/Makefile.am"
2524 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2525 (string-append (assoc-ref inputs "docbook-xsl")
2526 "/xml/xsl/docbook-xsl-"
2527 ,(package-version docbook-xsl)
2528 "/manpages/docbook.xsl")))
2529 (setenv "XML_CATALOG_FILES"
2530 (string-append (assoc-ref inputs "docbook-xml")
2531 "/xml/dtd/docbook/catalog.xml"))
2532 ;; Rerun the whole thing to avoid version mismatch ("This is
2533 ;; Automake 1.15.1, but the definition used by this
2534 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2535 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2536 (invoke "autoconf")
2537 (invoke "aclocal")
2538 (invoke "automake" "-ac"))))))
2539 (inputs
2540 `(("libgcrypt" ,libgcrypt)
2541 ("linux-pam" ,linux-pam)
2542 ("openssh" ,openssh)
2543 ("dbus" ,dbus)
2544 ("gcr" ,gcr)))
2545 (native-inputs
2546 `(("pkg-config" ,pkg-config)
2547 ("glib" ,glib "bin")
2548 ("glib" ,glib) ; for m4 macros
2549 ("python" ,python-2) ;for tests
2550 ("intltool" ,intltool)
2551 ("autoconf" ,autoconf)
2552 ("automake" ,automake)
2553 ("libxslt" ,libxslt) ;for documentation
2554 ("docbook-xml" ,docbook-xml-4.2)
2555 ("docbook-xsl" ,docbook-xsl)))
2556 (propagated-inputs
2557 `(("gcr" ,gcr)))
2558 (home-page "https://www.gnome.org")
2559 (synopsis "Daemon to store passwords and encryption keys")
2560 (description
2561 "gnome-keyring is a program that keeps passwords and other secrets for
2562 users. It is run as a daemon in the session, similar to ssh-agent, and other
2563 applications locate it via an environment variable or D-Bus.
2564
2565 The program can manage several keyrings, each with its own master password,
2566 and there is also a session keyring which is never stored to disk, but
2567 forgotten when the session ends.")
2568 (license license:lgpl2.1+)))
2569
2570 (define-public evince
2571 (package
2572 (name "evince")
2573 (version "3.36.5")
2574 (source (origin
2575 (method url-fetch)
2576 (uri (string-append "mirror://gnome/sources/evince/"
2577 (version-major+minor version) "/"
2578 "evince-" version ".tar.xz"))
2579 (sha256
2580 (base32
2581 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2582 (build-system glib-or-gtk-build-system)
2583 (arguments
2584 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2585 #:phases
2586 (modify-phases %standard-phases
2587 (add-before 'install 'skip-gtk-update-icon-cache
2588 ;; Don't create 'icon-theme.cache'.
2589 (lambda _
2590 (substitute* "data/Makefile"
2591 (("gtk-update-icon-cache") "true"))
2592 #t)))))
2593 (inputs
2594 `(("libarchive" ,libarchive)
2595 ("libgxps" ,libgxps)
2596 ("libspectre" ,libspectre)
2597 ("djvulibre" ,djvulibre)
2598 ("ghostscript" ,ghostscript)
2599 ("poppler" ,poppler)
2600 ("libtiff" ,libtiff)
2601 ;; TODO:
2602 ;; Build libkpathsea as a shared library for DVI support.
2603 ;; ("libkpathsea" ,texlive-bin)
2604 ("gnome-desktop" ,gnome-desktop)
2605 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2606 ("gspell" ,gspell)
2607 ("libgnome-keyring" ,libgnome-keyring)
2608 ("adwaita-icon-theme" ,adwaita-icon-theme)
2609 ("gdk-pixbuf" ,gdk-pixbuf)
2610 ("atk" ,atk)
2611 ("pango" ,pango)
2612 ("gtk+" ,gtk+)
2613 ("glib" ,glib)
2614 ("libxml2" ,libxml2)
2615 ("libsm" ,libsm)
2616 ("libice" ,libice)
2617 ("shared-mime-info" ,shared-mime-info)
2618 ("dconf" ,dconf)
2619 ("libcanberra" ,libcanberra)
2620 ("libsecret" ,libsecret)
2621
2622 ;; For tests.
2623 ("dogtail" ,python2-dogtail)))
2624 (native-inputs
2625 `(("itstool" ,itstool)
2626 ("intltool" ,intltool)
2627 ("glib" ,glib "bin")
2628 ("gobject-introspection" ,gobject-introspection)
2629 ("pkg-config" ,pkg-config)
2630 ("xmllint" ,libxml2)))
2631 (home-page "https://www.gnome.org/projects/evince/")
2632 (synopsis "GNOME's document viewer")
2633 (description
2634 "Evince is a document viewer for multiple document formats. It
2635 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2636 of Evince is to replace the multiple document viewers that exist
2637 on the GNOME Desktop with a single simple application.")
2638 (license license:gpl2+)))
2639
2640 (define-public gsettings-desktop-schemas
2641 (package
2642 (name "gsettings-desktop-schemas")
2643 (version "3.34.0")
2644 (source
2645 (origin
2646 (method url-fetch)
2647 (uri (string-append "mirror://gnome/sources/" name "/"
2648 (version-major+minor version) "/"
2649 name "-" version ".tar.xz"))
2650 (sha256
2651 (base32
2652 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2653 (build-system meson-build-system)
2654 (arguments
2655 '(#:phases (modify-phases %standard-phases
2656 (add-after 'unpack 'patch-schemas
2657 (lambda* (#:key inputs #:allow-other-keys)
2658 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2659 (substitute* (find-files "schemas"
2660 "\\.gschema\\.xml\\.in$")
2661 ;; Provide the correct file name of the default GNOME
2662 ;; background, 'adwaita-timed.xml'.
2663 (("@datadir@/backgrounds/gnome")
2664 (string-append theme "/share/backgrounds/gnome"))
2665 ;; Do not reference fonts, that may not exist.
2666 (("'Source Code Pro 10'") "'Monospace 11'"))
2667 #t))))))
2668 (inputs
2669 `(("glib" ,glib)
2670 ("gnome-backgrounds" ,gnome-backgrounds)))
2671 (native-inputs
2672 `(("intltool" ,intltool)
2673 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2674 ("gobject-introspection" ,gobject-introspection)
2675 ("pkg-config" ,pkg-config)))
2676 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2677 (synopsis
2678 "GNOME settings for various desktop components")
2679 (description
2680 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2681 for settings shared by various components of the GNOME desktop.")
2682 (license license:lgpl2.1+)))
2683
2684 (define-public python-liblarch
2685 (package
2686 (name "python-liblarch")
2687 (version "3.0.1")
2688 (source
2689 (origin
2690 (method git-fetch)
2691 (uri (git-reference
2692 (url "https://github.com/getting-things-gnome/liblarch")
2693 (commit (string-append "v" version))))
2694 (file-name (git-file-name name version))
2695 (sha256
2696 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2697 (build-system python-build-system)
2698 (arguments
2699 `(#:phases
2700 (modify-phases %standard-phases
2701 (add-before 'check 'start-xserver
2702 (lambda* (#:key inputs #:allow-other-keys)
2703 (system (format #f "~a/bin/Xvfb :1 &"
2704 (assoc-ref inputs "xorg-server")))
2705 (setenv "DISPLAY" ":1")
2706 #t)))))
2707 (native-inputs
2708 `(("xorg-server" ,xorg-server-for-tests)))
2709 (inputs
2710 `(("gtk+" ,gtk+)))
2711 (propagated-inputs
2712 `(("python-pygobject" ,python-pygobject)))
2713 (home-page "https://wiki.gnome.org/Projects/liblarch")
2714 (synopsis "Library to easily handle complex data structures")
2715 (description
2716 "Liblarch is a Python library built to easily handle data structures such
2717 as lists, trees and acyclic graphs. There's also a GTK binding that will
2718 allow you to use your data structure in a @code{Gtk.Treeview}.
2719
2720 Liblarch support multiple views of one data structure and complex filtering.
2721 That way, you have a clear separation between your data themselves (Model)
2722 and how they are displayed (View).")
2723 (license license:lgpl3+)))
2724
2725 (define-public gtg
2726 (package
2727 (name "gtg")
2728 (version "0.5")
2729 (source
2730 (origin
2731 (method git-fetch)
2732 (uri (git-reference
2733 (url "https://github.com/getting-things-gnome/gtg")
2734 (commit (string-append "v" version))))
2735 (file-name (git-file-name name version))
2736 (sha256
2737 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2738 (build-system meson-build-system)
2739 (arguments
2740 `(#:glib-or-gtk? #t
2741 #:phases
2742 (modify-phases %standard-phases
2743 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2744 (lambda* (#:key outputs #:allow-other-keys)
2745 (let ((prog (string-append (assoc-ref outputs "out")
2746 "/bin/gtg"))
2747 (pylib (string-append (assoc-ref outputs "out")
2748 "/lib/python"
2749 ,(version-major+minor
2750 (package-version python))
2751 "/site-packages")))
2752 (wrap-program prog
2753 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2754 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2755 #t))))))
2756 (native-inputs
2757 `(("desktop-file-utils" ,desktop-file-utils)
2758 ("gettext" ,gettext-minimal)
2759 ("glib:bin" ,glib "bin")
2760 ("gobject-introspection" ,gobject-introspection)
2761 ("gtk+:bin" ,gtk+ "bin")
2762 ("pkg-config" ,pkg-config)))
2763 (inputs
2764 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
2765 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2766 ("gtk+" ,gtk+)
2767 ("pango" ,pango)
2768 ("python-dbus" ,python-dbus)
2769 ("python-liblarch" ,python-liblarch)
2770 ("python-lxml" ,python-lxml)
2771 ("python-pycairo" ,python-pycairo)
2772 ("python-pygobject" ,python-pygobject)
2773 ("python-pyxdg" ,python-pyxdg)))
2774 (home-page "https://wiki.gnome.org/Apps/GTG")
2775 (synopsis "Personal organizer for the GNOME desktop")
2776 (description
2777 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2778 organizer for the GNOME desktop environment inspired by the Getting Things
2779 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2780 and ease of use in mind so it can be used as more than just GTD software.
2781 GTG is intended to help you track everything you need to do and need to
2782 know, from small tasks to large projects.")
2783 (license license:gpl3+)))
2784
2785 (define-public icon-naming-utils
2786 (package
2787 (name "icon-naming-utils")
2788 (version "0.8.90")
2789 (source
2790 (origin
2791 (method url-fetch)
2792 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2793 version ".tar.bz2"))
2794 (sha256
2795 (base32
2796 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2797 (build-system gnu-build-system)
2798 (inputs
2799 `(("perl" ,perl)
2800 ("perl-xml-simple" ,perl-xml-simple)))
2801 (arguments
2802 '(#:phases
2803 (modify-phases %standard-phases
2804 (add-after 'install 'set-load-paths
2805 ;; Tell 'icon-name-mapping' where XML::Simple is.
2806 (lambda* (#:key outputs #:allow-other-keys)
2807 (let* ((out (assoc-ref outputs "out"))
2808 (prog (string-append out "/libexec/icon-name-mapping")))
2809 (wrap-program
2810 prog
2811 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2812 #t)))))
2813 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2814 (synopsis
2815 "Utility to implement the Freedesktop Icon Naming Specification")
2816 (description
2817 "To help with the transition to the Freedesktop Icon Naming
2818 Specification, the icon naming utility maps the icon names used by the
2819 GNOME and KDE desktops to the icon names proposed in the specification.")
2820 (license license:lgpl2.1+)))
2821
2822 (define-public gnome-icon-theme
2823 (package
2824 (name "gnome-icon-theme")
2825 (version "3.12.0")
2826 (source
2827 (origin
2828 (method url-fetch)
2829 (uri (string-append "mirror://gnome/sources/" name "/"
2830 (version-major+minor version) "/"
2831 name "-" version ".tar.xz"))
2832 (sha256
2833 (base32
2834 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2835 (build-system gnu-build-system)
2836 (arguments
2837 '(#:configure-flags
2838 ;; Don't create 'icon-theme.cache'.
2839 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2840 (true (string-append coreutils "/bin/true")))
2841 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2842 (native-inputs
2843 `(("icon-naming-utils" ,icon-naming-utils)
2844 ("intltool" ,intltool)
2845 ("pkg-config" ,pkg-config)))
2846 (home-page "https://wiki.gnome.org/Personalization")
2847 (synopsis "GNOME icon theme")
2848 (description "Icons for the GNOME desktop.")
2849 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2850
2851 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2852 (define-public adwaita-icon-theme
2853 (package (inherit gnome-icon-theme)
2854 (name "adwaita-icon-theme")
2855 (version "3.34.3")
2856 (source (origin
2857 (method url-fetch)
2858 (uri (string-append "mirror://gnome/sources/" name "/"
2859 (version-major+minor version) "/"
2860 name "-" version ".tar.xz"))
2861 (sha256
2862 (base32
2863 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2864 (native-inputs
2865 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2866
2867 (define-public tango-icon-theme
2868 (package
2869 (name "tango-icon-theme")
2870 (version "0.8.90")
2871 (source (origin
2872 (method url-fetch)
2873 (uri (string-append "http://tango.freedesktop.org/releases/"
2874 "tango-icon-theme-" version ".tar.bz2"))
2875 (sha256
2876 (base32
2877 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2878 (build-system gnu-build-system)
2879 (native-inputs
2880 `(("icon-naming-utils" ,icon-naming-utils)
2881 ("intltool" ,intltool)
2882 ("imagemagick" ,imagemagick)
2883 ("pkg-config" ,pkg-config)))
2884 (home-page "http://tango-project.org/")
2885 (synopsis "Tango icon theme")
2886 (description "This is an icon theme that follows the Tango visual
2887 guidelines.")
2888 (license license:public-domain)))
2889
2890 (define-public shared-mime-info
2891 (package
2892 (name "shared-mime-info")
2893 (version "1.15")
2894 (source (origin
2895 (method url-fetch)
2896 (uri (string-append
2897 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2898 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2899 ".tar.xz"))
2900 (sha256
2901 (base32
2902 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2903 (build-system gnu-build-system)
2904 (arguments
2905 ;; The build system appears not to be parallel-safe.
2906 '(#:parallel-build? #f))
2907 (inputs
2908 `(("glib" ,glib)
2909 ("libxml2" ,libxml2)))
2910 (native-inputs
2911 `(("gettext" ,gettext-minimal)
2912 ("itstool" ,itstool)
2913 ("pkg-config" ,pkg-config)))
2914 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2915 (synopsis "Database of common MIME types")
2916 (description
2917 "The shared-mime-info package contains the core database of common types
2918 and the update-mime-database command used to extend it. It requires glib2 to
2919 be installed for building the update command. Additionally, it uses intltool
2920 for translations, though this is only a dependency for the maintainers. This
2921 database is translated at Transifex.")
2922 (license license:gpl2+)))
2923
2924 (define-public system-config-printer
2925 (package
2926 (name "system-config-printer")
2927 (version "1.5.15")
2928 (source
2929 (origin
2930 (method url-fetch)
2931 (uri (string-append
2932 "https://github.com/OpenPrinting/system-config-printer/releases/"
2933 "download/v" version
2934 "/system-config-printer-" version ".tar.xz"))
2935 (sha256
2936 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2937 (build-system glib-or-gtk-build-system)
2938 (arguments
2939 `(#:imported-modules ((guix build python-build-system)
2940 ,@%glib-or-gtk-build-system-modules)
2941 #:phases
2942 (modify-phases %standard-phases
2943 (add-after 'unpack 'patch-Makefile.am
2944 (lambda _
2945 ;; The Makefile generates some scripts, so set a valid shebang
2946 (substitute* "Makefile.am"
2947 (("/bin/bash") (which "bash")))
2948 (delete-file "configure")
2949 #t))
2950 (add-after 'unpack 'patch-docbook-xml
2951 (lambda* (#:key inputs #:allow-other-keys)
2952 ;; Modify the man XML otherwise xmlto tries to access the network
2953 (substitute* "man/system-config-printer.xml"
2954 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2955 (string-append (assoc-ref inputs "docbook-xml")
2956 "/xml/dtd/docbook/")))
2957 #t))
2958 (add-after 'install 'wrap-for-python
2959 (@@ (guix build python-build-system) wrap))
2960 (add-after 'install 'wrap
2961 (lambda* (#:key outputs #:allow-other-keys)
2962 (let ((out (assoc-ref outputs "out"))
2963 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2964 (for-each
2965 (lambda (program)
2966 (wrap-program program
2967 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2968 (map (lambda (name)
2969 (string-append out "/bin/" name))
2970 '("system-config-printer"
2971 "system-config-printer-applet"
2972 "install-printerdriver"
2973 "scp-dbus-service"))))
2974 #t)))))
2975 (inputs
2976 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2977 ("gobject-introspection" ,gobject-introspection)
2978 ("python" ,python)
2979 ("cups" ,cups)
2980 ("gtk+" ,gtk+)
2981 ("python-dbus" ,python-dbus)
2982 ("python-pygobject" ,python-pygobject)
2983 ("python-pycups" ,python-pycups)
2984 ("python-requests" ,python-requests)
2985 ("python-pycairo" ,python-pycairo)
2986 ("libnotify" ,libnotify)
2987 ("packagekit" ,packagekit)))
2988 (native-inputs
2989 `(("pkg-config" ,pkg-config)
2990 ("desktop-file-utils" ,desktop-file-utils)
2991 ("glib" ,glib)
2992 ("autoconf" ,autoconf)
2993 ("automake" ,automake)
2994 ("intltool" ,intltool)
2995 ("xmlto" ,xmlto)
2996 ("docbook-xml" ,docbook-xml-4.1.2)
2997 ("docbook-xsl" ,docbook-xsl)
2998 ("libxml2" ,libxml2)))
2999 (home-page "https://github.com/zdohnal/system-config-printer")
3000 (synopsis "CUPS administration tool")
3001 (description
3002 "system-config-printer is a CUPS administration tool. It's written in
3003 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3004 configuring CUPS.")
3005 (license license:gpl2+)))
3006
3007 (define-public hicolor-icon-theme
3008 (package
3009 (name "hicolor-icon-theme")
3010 (version "0.17")
3011 (source
3012 (origin
3013 (method url-fetch)
3014 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3015 "hicolor-icon-theme-" version ".tar.xz"))
3016 (sha256
3017 (base32
3018 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3019 (build-system gnu-build-system)
3020 (arguments
3021 `(#:tests? #f)) ; no check target
3022 (home-page "https://icon-theme.freedesktop.org/releases/")
3023 (synopsis
3024 "Freedesktop icon theme")
3025 (description
3026 "Freedesktop icon theme.")
3027 (license license:gpl2)))
3028
3029 (define-public libnotify
3030 (package
3031 (name "libnotify")
3032 (version "0.7.9")
3033 (source
3034 (origin
3035 (method url-fetch)
3036 (uri (string-append "mirror://gnome/sources/" name "/"
3037 (version-major+minor version) "/"
3038 name "-" version ".tar.xz"))
3039 (sha256
3040 (base32
3041 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3042 (build-system meson-build-system)
3043 (arguments
3044 `(#:phases
3045 (modify-phases %standard-phases
3046 (add-after 'unpack 'fix-docbook
3047 (lambda* (#:key inputs #:allow-other-keys)
3048 ;; Don't attempt to download XSL schema.
3049 (substitute* "meson.build"
3050 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3051 /manpages/docbook.xsl")
3052 (string-append (assoc-ref inputs "docbook-xsl")
3053 "/xml/xsl/docbook-xsl-"
3054 ,(package-version docbook-xsl)
3055 "/manpages/docbook.xsl")))
3056 #t)))))
3057 (propagated-inputs
3058 `(;; In Requires of libnotify.pc.
3059 ("gdk-pixbuf" ,gdk-pixbuf)
3060 ("glib" ,glib)))
3061 (inputs
3062 `(("gtk+" ,gtk+)
3063 ("libpng" ,libpng)))
3064 (native-inputs
3065 `(("pkg-config" ,pkg-config)
3066 ("glib" ,glib "bin")
3067 ("gobject-introspection" ,gobject-introspection)
3068
3069 ;; For the documentation.
3070 ("gtk-doc" ,gtk-doc/stable)
3071 ("xsltproc" ,libxslt)
3072 ("docbook-xsl" ,docbook-xsl)))
3073 (home-page "https://developer-next.gnome.org/libnotify/")
3074 (synopsis
3075 "GNOME desktop notification library")
3076 (description
3077 "Libnotify is a library that sends desktop notifications to a
3078 notification daemon, as defined in the Desktop Notifications spec. These
3079 notifications can be used to inform the user about an event or display
3080 some form of information without getting in the user's way.")
3081 (license license:lgpl2.1+)))
3082
3083 (define-public libpeas
3084 (package
3085 (name "libpeas")
3086 (version "1.28.0")
3087 (source
3088 (origin
3089 (method url-fetch)
3090 (uri (string-append "mirror://gnome/sources/" name "/"
3091 (version-major+minor version) "/"
3092 name "-" version ".tar.xz"))
3093 (sha256
3094 (base32
3095 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3096 (build-system meson-build-system)
3097 (arguments
3098 '(#:phases
3099 (modify-phases %standard-phases
3100 (add-before 'check 'start-xserver
3101 (lambda* (#:key inputs #:allow-other-keys)
3102 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3103 (disp ":1"))
3104 (setenv "DISPLAY" disp)
3105 ;; Tests require a running X server.
3106 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3107 #t))))))
3108 (inputs
3109 `(("gtk+" ,gtk+)
3110 ("glade" ,glade3)
3111 ("python" ,python)
3112 ("python-pygobject" ,python-pygobject)))
3113 (native-inputs
3114 `(("pkg-config" ,pkg-config)
3115 ("gettext" ,gettext-minimal)
3116 ("glib:bin" ,glib "bin")
3117 ("gobject-introspection" ,gobject-introspection)
3118 ("xorg-server" ,xorg-server-for-tests)))
3119 (propagated-inputs
3120 ;; The .pc file "Requires" gobject-introspection.
3121 `(("gobject-introspection" ,gobject-introspection)))
3122 (home-page "https://wiki.gnome.org/Libpeas")
3123 (synopsis "GObject plugin system")
3124 (description
3125 "Libpeas is a gobject-based plugin engine, targeted at giving every
3126 application the chance to assume its own extensibility. It also has a set of
3127 features including, but not limited to: multiple extension points; on-demand
3128 (lazy) programming language support for C, Python and JS; simplicity of the
3129 API.")
3130 (license license:lgpl2.0+)))
3131
3132 (define-public gtkglext
3133 (package
3134 (name "gtkglext")
3135 (version "1.2.0")
3136 (source (origin
3137 (method url-fetch)
3138 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3139 version "/gtkglext-" version ".tar.gz"))
3140 (sha256
3141 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3142 (patches (search-patches
3143 "gtkglext-disable-disable-deprecated.patch"))))
3144 (build-system gnu-build-system)
3145 (arguments
3146 `(#:phases
3147 (modify-phases %standard-phases
3148 ;; Fix a collision between a local variable and a definition from
3149 ;; glibc's string.h.
3150 (add-after 'unpack 'fix-collision
3151 (lambda _
3152 (substitute* "gdk/gdkglshapes.c"
3153 ((" index") " triangle_index"))
3154 #t)))))
3155 (inputs `(("gtk+" ,gtk+-2)
3156 ("mesa" ,mesa)
3157 ("glu" ,glu)
3158 ("libx11" ,libx11)
3159 ("libxt" ,libxt)))
3160 (native-inputs `(("pkg-config" ,pkg-config)
3161 ("glib" ,glib "bin")))
3162 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3163 (home-page "https://projects.gnome.org/gtkglext")
3164 (synopsis "OpenGL extension to GTK+")
3165 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3166 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3167 API add-ons to make GTK+ widgets OpenGL-capable.")
3168 (license license:lgpl2.1+)))
3169
3170 (define-public glade3
3171 (package
3172 (name "glade")
3173 (version "3.36.0")
3174 (source (origin
3175 (method url-fetch)
3176 (uri (string-append "mirror://gnome/sources/" name "/"
3177 (version-major+minor version) "/"
3178 name "-" version ".tar.xz"))
3179 (sha256
3180 (base32
3181 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3182 (build-system glib-or-gtk-build-system)
3183 (arguments
3184 `(#:phases
3185 (modify-phases %standard-phases
3186 (add-before 'configure 'fix-docbook
3187 (lambda* (#:key inputs #:allow-other-keys)
3188 (substitute* "man/Makefile.in"
3189 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3190 (string-append (assoc-ref inputs "docbook-xsl")
3191 "/xml/xsl/docbook-xsl-"
3192 ,(package-version docbook-xsl)
3193 "/manpages/docbook.xsl")))
3194 #t))
3195 (add-before 'check 'pre-check
3196 (lambda _
3197 (setenv "HOME" "/tmp")
3198 ;; Tests require a running X server.
3199 (system "Xvfb :1 &")
3200 (setenv "DISPLAY" ":1")
3201 #t)))))
3202 (inputs
3203 `(("gtk+" ,gtk+)
3204 ("libxml2" ,libxml2)))
3205 (native-inputs
3206 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3207 ("intltool" ,intltool)
3208 ("itstool" ,itstool)
3209 ("libxslt" ,libxslt) ;for xsltproc
3210 ("docbook-xml" ,docbook-xml-4.2)
3211 ("docbook-xsl" ,docbook-xsl)
3212 ("python" ,python-2)
3213 ("pkg-config" ,pkg-config)
3214 ("xorg-server" ,xorg-server-for-tests)))
3215 (home-page "https://glade.gnome.org")
3216 (synopsis "GTK+ rapid application development tool")
3217 (description "Glade is a rapid application development (RAD) tool to
3218 enable quick & easy development of user interfaces for the GTK+ toolkit and
3219 the GNOME desktop environment.")
3220 (license license:lgpl2.0+)
3221 (native-search-paths (list (search-path-specification
3222 (variable "GLADE_CATALOG_SEARCH_PATH")
3223 (files '("share/glade/catalogs")))
3224 (search-path-specification
3225 (variable "GLADE_MODULE_SEARCH_PATH")
3226 (files '("lib/glade/modules")))))))
3227
3228 (define-public libcroco
3229 (package
3230 (name "libcroco")
3231 (version "0.6.13")
3232 (source (origin
3233 (method url-fetch)
3234 (uri (string-append "mirror://gnome/sources/" name "/"
3235 (version-major+minor version) "/"
3236 name "-" version ".tar.xz"))
3237 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3238 (sha256
3239 (base32
3240 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3241 (build-system gnu-build-system)
3242 (native-inputs
3243 `(("pkg-config" ,pkg-config)))
3244 (inputs
3245 `(("glib" ,glib)
3246 ("libxml2" ,libxml2)
3247 ("zlib" ,zlib)))
3248 (home-page "https://github.com/GNOME/libcroco")
3249 (synopsis "CSS2 parsing and manipulation library")
3250 (description
3251 "Libcroco is a standalone CSS2 parsing and manipulation library.
3252 The parser provides a low level event driven SAC-like API and a CSS object
3253 model like API. Libcroco provides a CSS2 selection engine and an experimental
3254 XML/CSS rendering engine.")
3255
3256 ;; LGPLv2.1-only.
3257 (license license:lgpl2.1)))
3258
3259 (define-public libgsf
3260 (package
3261 (name "libgsf")
3262 (version "1.14.47")
3263 (source (origin
3264 (method url-fetch)
3265 (uri (string-append "mirror://gnome/sources/" name "/"
3266 (version-major+minor version) "/"
3267 name "-" version ".tar.xz"))
3268 (sha256
3269 (base32
3270 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3271 (build-system gnu-build-system)
3272 (arguments
3273 '(#:configure-flags '("--disable-static")))
3274 (native-inputs
3275 `(("pkg-config" ,pkg-config)
3276 ("gettext" ,gettext-minimal)
3277
3278 ;; For tests.
3279 ("perl" ,perl)
3280 ("perl-xml-parser" ,perl-xml-parser)))
3281 (inputs
3282 `(("zlib" ,zlib)
3283 ("bzip2" ,bzip2)))
3284 (propagated-inputs
3285 `(("gdk-pixbuf" ,gdk-pixbuf)
3286 ("glib" ,glib)
3287 ("libxml2" ,libxml2)))
3288 (home-page "https://www.gnome.org/projects/libgsf")
3289 (synopsis "GNOME's Structured File Library")
3290 (description
3291 "Libgsf aims to provide an efficient extensible I/O abstraction for
3292 dealing with different structured file formats.")
3293
3294 ;; LGPLv2.1-only.
3295 (license license:lgpl2.1)))
3296
3297 (define-public librsvg
3298 (package
3299 (name "librsvg")
3300 (version "2.40.21")
3301 (source (origin
3302 (method url-fetch)
3303 (uri (string-append "mirror://gnome/sources/" name "/"
3304 (version-major+minor version) "/"
3305 name "-" version ".tar.xz"))
3306 (sha256
3307 (base32
3308 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3309 (build-system gnu-build-system)
3310 (arguments
3311 `(#:configure-flags
3312 (list "--disable-static"
3313 "--enable-vala") ; needed for e.g. gnome-mines
3314 #:phases
3315 (modify-phases %standard-phases
3316 (add-before 'configure 'pre-configure
3317 (lambda* (#:key inputs #:allow-other-keys)
3318 (substitute* "gdk-pixbuf-loader/Makefile.in"
3319 ;; By default the gdk-pixbuf loader is installed under
3320 ;; gdk-pixbuf's prefix. Work around that.
3321 (("gdk_pixbuf_moduledir = .*$")
3322 (string-append "gdk_pixbuf_moduledir = "
3323 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3324 "loaders\n"))
3325 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3326 (("gdk_pixbuf_cache_file = .*$")
3327 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3328 #t))
3329 (add-before 'check 'remove-failing-tests
3330 (lambda _
3331 (with-directory-excursion "tests/fixtures/reftests"
3332 (for-each delete-file
3333 '(;; This test fails on i686:
3334 "svg1.1/masking-path-04-b.svg"
3335 ;; This test fails on armhf:
3336 "svg1.1/masking-mask-01-b.svg"
3337 ;; This test fails on aarch64:
3338 "bugs/777834-empty-text-children.svg")))
3339 #t)))))
3340 (native-inputs
3341 `(("pkg-config" ,pkg-config)
3342 ("vala" ,vala)
3343 ("glib" ,glib "bin") ; glib-mkenums, etc.
3344 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3345 (inputs
3346 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3347 ;; this ancient version of librsvg.
3348 ("pango" ,pango-1.42)
3349 ("libcroco" ,libcroco)
3350 ("bzip2" ,bzip2)
3351 ("libgsf" ,libgsf)
3352 ("libxml2" ,libxml2)))
3353 (propagated-inputs
3354 ;; librsvg-2.0.pc refers to all of that.
3355 `(("cairo" ,cairo)
3356 ("gdk-pixbuf" ,gdk-pixbuf)
3357 ("glib" ,glib)))
3358 (home-page "https://wiki.gnome.org/LibRsvg")
3359 (synopsis "Render SVG files using Cairo")
3360 (description
3361 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3362 library.")
3363 (license license:lgpl2.0+)))
3364
3365 (define-public librsvg-next
3366 (package
3367 (name "librsvg")
3368 (version "2.50.3")
3369 (source (origin
3370 (method url-fetch)
3371 (uri (string-append "mirror://gnome/sources/librsvg/"
3372 (version-major+minor version) "/"
3373 "librsvg-" version ".tar.xz"))
3374 (sha256
3375 (base32
3376 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3377 (modules '((guix build utils)))
3378 (snippet
3379 '(begin (delete-file-recursively "vendor")
3380 #t))))
3381 (build-system cargo-build-system)
3382 (outputs '("out" "doc"))
3383 (arguments
3384 `(#:install-source? #f
3385 #:modules
3386 ((guix build cargo-build-system)
3387 (guix build utils)
3388 ((guix build gnu-build-system) #:prefix gnu:))
3389 #:cargo-inputs
3390 (("rust-bitflags" ,rust-bitflags-1)
3391 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3392 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3393 ("rust-cast" ,rust-cast-0.2)
3394 ("rust-cssparser" ,rust-cssparser-0.27)
3395 ("rust-data-url" ,rust-data-url-0.1)
3396 ("rust-encoding" ,rust-encoding-0.2)
3397 ("rust-float-cmp" ,rust-float-cmp-0.8)
3398 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3399 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3400 ("rust-gio" ,rust-gio-0.8)
3401 ("rust-gio-sys" ,rust-gio-sys-0.9)
3402 ("rust-glib" ,rust-glib-0.9)
3403 ("rust-glib-sys" ,rust-glib-sys-0.9)
3404 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3405 ("rust-itertools" ,rust-itertools-0.9)
3406 ("rust-language-tags" ,rust-language-tags-0.2)
3407 ("rust-libc" ,rust-libc-0.2)
3408 ("rust-locale-config" ,rust-locale-config-0.3)
3409 ("rust-markup5ever" ,rust-markup5ever-0.10)
3410 ("rust-nalgebra" ,rust-nalgebra-0.21)
3411 ("rust-num-traits" ,rust-num-traits-0.2)
3412 ("rust-once-cell" ,rust-once-cell-1)
3413 ("rust-pkg-config" ,rust-pkg-config-0.3)
3414 ("rust-pango" ,rust-pango-0.8)
3415 ("rust-pango-sys" ,rust-pango-sys-0.9)
3416 ("rust-pangocairo" ,rust-pangocairo-0.9)
3417 ("rust-rayon" ,rust-rayon-1)
3418 ("rust-rctree" ,rust-rctree-0.3)
3419 ("rust-rgb" ,rust-rgb-0.8)
3420 ("rust-regex" ,rust-regex-1)
3421 ("rust-selectors" ,rust-selectors-0.22)
3422 ("rust-string-cache" ,rust-string-cache-0.8)
3423 ("rust-tinyvec" ,rust-tinyvec-0.3)
3424 ("rust-url" ,rust-url-2)
3425 ("rust-xml5ever" ,rust-xml5ever-0.16))
3426 #:cargo-development-inputs
3427 (("rust-assert-cmd" ,rust-assert-cmd-1)
3428 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3429 ("rust-chrono" ,rust-chrono-0.4)
3430 ("rust-criterion" ,rust-criterion-0.3)
3431 ("rust-float-cmp" ,rust-float-cmp-0.8)
3432 ("rust-lopdf" ,rust-lopdf-0.26)
3433 ("rust-png" ,rust-png-0.16)
3434 ("rust-predicates" ,rust-predicates-1)
3435 ("rust-tempfile" ,rust-tempfile-3))
3436 #:phases
3437 (modify-phases %standard-phases
3438 (add-after 'unpack 'patch-docbook-xml
3439 (lambda* (#:key inputs #:allow-other-keys)
3440 (with-directory-excursion "doc"
3441 (substitute* "rsvg-docs.xml"
3442 (("http://www.oasis-open.org/docbook/xml/4.3/")
3443 (string-append (assoc-ref inputs "docbook-xml")
3444 "/xml/dtd/docbook/"))))
3445 #t))
3446 (add-after 'unpack 'prepare-for-build
3447 (lambda _
3448 ;; In lieu of #:make-flags
3449 (setenv "CC" ,(cc-for-target))
3450 ;; Something about the build environment resists building
3451 ;; successfully with the '--locked' flag.
3452 (substitute* '("Makefile.am" "Makefile.in")
3453 (("--locked") ""))
3454 #t))
3455 (add-before 'configure 'pre-configure
3456 (lambda _
3457 (substitute* "gdk-pixbuf-loader/Makefile.in"
3458 ;; By default the gdk-pixbuf loader is installed under
3459 ;; gdk-pixbuf's prefix. Work around that.
3460 (("gdk_pixbuf_moduledir = .*$")
3461 (string-append "gdk_pixbuf_moduledir = "
3462 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3463 "loaders\n"))
3464 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3465 (("gdk_pixbuf_cache_file = .*$")
3466 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3467 #t))
3468 (add-after 'configure 'gnu-configure
3469 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3470 ((assoc-ref gnu:%standard-phases 'configure)
3471 #:native-inputs native-inputs
3472 #:inputs inputs
3473 #:outputs outputs
3474 #:configure-flags
3475 (list "--disable-static"
3476 "--enable-vala"
3477 (string-append "--with-html-dir="
3478 (assoc-ref %outputs "doc")
3479 "/share/gtk-doc/html")))))
3480 (add-after 'configure 'dont-vendor-self
3481 (lambda* (#:key vendor-dir #:allow-other-keys)
3482 ;; Don't keep the whole tarball in the vendor directory
3483 (delete-file-recursively
3484 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3485 #t))
3486 (replace 'build
3487 (assoc-ref gnu:%standard-phases 'build))
3488 (add-before 'check 'ignore-failing-tests
3489 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3490 (lambda _
3491 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3492 (("fn background_color_option_invalid_color_yields_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn empty_input_yields_error" all)
3495 (string-append "#[ignore] " all))
3496 (("fn empty_svg_yields_error" all)
3497 (string-append "#[ignore] " all))
3498 (("fn env_source_data_epoch_empty" all)
3499 (string-append "#[ignore] " all))
3500 (("fn env_source_data_epoch_no_digits" all)
3501 (string-append "#[ignore] " all))
3502 (("fn env_source_data_epoch_trailing_garbage" all)
3503 (string-append "#[ignore] " all))
3504 (("fn export_id_option_error" all)
3505 (string-append "#[ignore] " all))
3506 (("fn huge_zoom_factor_yields_error" all)
3507 (string-append "#[ignore] " all))
3508 (("fn multiple_input_files_not_allowed_for_png_output" all)
3509 (string-append "#[ignore] " all))
3510 (("fn stylesheet_option_error" all)
3511 (string-append "#[ignore] " all)))
3512 #t))
3513 (replace 'check
3514 (lambda* args
3515 ((assoc-ref gnu:%standard-phases 'check)
3516 #:test-target "check")))
3517 (replace 'install
3518 (assoc-ref gnu:%standard-phases 'install)))))
3519 (native-inputs
3520 `(("docbook-xml" ,docbook-xml-4.3)
3521 ("glib" ,glib "bin")
3522 ("gobject-introspection" ,gobject-introspection)
3523 ("pkg-config" ,pkg-config)
3524 ("python" ,python-wrapper)
3525 ("ruby" ,ruby)
3526 ("vala" ,vala)))
3527 (inputs
3528 `(("bzip2" ,bzip2)
3529 ("fontconfig" ,fontconfig)
3530 ("freetype" ,freetype)
3531 ("harfbuzz" ,harfbuzz)
3532 ("libcroco" ,libcroco)
3533 ("libgsf" ,libgsf)
3534 ("libxml2" ,libxml2)
3535 ("pango" ,pango)))
3536 (propagated-inputs
3537 `(("cairo" ,cairo)
3538 ("gdk-pixbuf" ,gdk-pixbuf)
3539 ("glib" ,glib)))
3540 (synopsis "SVG rendering library")
3541 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3542 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3543 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3544 diagrams.")
3545 (home-page "https://wiki.gnome.org/LibRsvg")
3546 (license license:lgpl2.1+)))
3547
3548 (define-public libidl
3549 (package
3550 (name "libidl")
3551 (version "0.8.14")
3552 (source (origin
3553 (method url-fetch)
3554 (uri (string-append "mirror://gnome/sources/libIDL/"
3555 (version-major+minor version) "/"
3556 "libIDL-" version ".tar.bz2"))
3557 (sha256
3558 (base32
3559 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3560 (build-system gnu-build-system)
3561 (inputs `(("glib" ,glib)))
3562 (native-inputs
3563 `(("pkg-config" ,pkg-config)
3564 ("flex" ,flex)
3565 ("bison" ,bison)))
3566 (home-page "http://freecode.com/projects/libidl")
3567 (synopsis "Create trees of CORBA Interface Definition Language files")
3568 (description "Libidl is a library for creating trees of CORBA Interface
3569 Definition Language (idl) files, which is a specification for defining
3570 portable interfaces. libidl was initially written for orbit (the orb from the
3571 GNOME project, and the primary means of libidl distribution). However, the
3572 functionality was designed to be as reusable and portable as possible.")
3573 (properties `((upstream-name . "libIDL")))
3574 (license license:lgpl2.0+)))
3575
3576
3577 (define-public orbit2
3578 (package
3579 (name "orbit2")
3580 (version "2.14.19")
3581 (source (origin
3582 (method url-fetch)
3583 (uri (let ((upstream-name "ORBit2"))
3584 (string-append "mirror://gnome/sources/" upstream-name "/"
3585 (version-major+minor version) "/"
3586 upstream-name "-" version ".tar.bz2")))
3587 (sha256
3588 (base32
3589 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3590 (build-system gnu-build-system)
3591 (arguments
3592 `(;; The "timeout-server" test hangs when run in parallel.
3593 #:parallel-tests? #f
3594 #:configure-flags
3595 '(;; We don't need static libraries, plus they don't build reproducibly
3596 ;; (non-deterministic ordering of .o files in the archive.)
3597 "--disable-static"
3598
3599 ;; The programmer kindly gives us a hook to turn off deprecation
3600 ;; warnings ...
3601 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3602 ;; ... which they then completly ignore !!
3603 #:phases
3604 (modify-phases %standard-phases
3605 (add-before 'configure 'ignore-deprecations
3606 (lambda _
3607 (substitute* "linc2/src/Makefile.in"
3608 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3609 #t)))))
3610 (inputs `(("glib" ,glib)
3611 ("libidl" ,libidl)))
3612 (native-inputs
3613 `(("pkg-config" ,pkg-config)))
3614 (home-page "https://projects.gnome.org/orbit2/")
3615 (synopsis "CORBA 2.4-compliant Object Request Broker")
3616 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3617 featuring mature C, C++ and Python bindings.")
3618 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3619 ;; a version. SOME of the code files have licence notices for GPLv2+.
3620 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3621 (license license:gpl2+)
3622 (properties `((upstream-name . "ORBit2")))))
3623
3624
3625 (define-public libbonobo
3626 (package
3627 (name "libbonobo")
3628 (version "2.32.1")
3629 (source (origin
3630 (method url-fetch)
3631 (uri (string-append "mirror://gnome/sources/" name "/"
3632 (version-major+minor version)
3633 "/" name "-" version ".tar.bz2"))
3634 (sha256
3635 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3636 (patches (search-patches
3637 "libbonobo-activation-test-race.patch"))))
3638 (build-system gnu-build-system)
3639 (arguments
3640 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3641 `(#:configure-flags
3642 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3643 ;; ... which they then completly ignore !!
3644 #:phases
3645 (modify-phases %standard-phases
3646 (add-before 'configure 'ignore-deprecations
3647 (lambda _
3648 (substitute* "activation-server/Makefile.in"
3649 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3650 #t)))
3651
3652 ;; There's apparently a race condition between the server stub
3653 ;; generation and linking of the example under 'samples/echo' that can
3654 ;; lead do undefined references when building in parallel, as reported
3655 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3656 ;; Thus, disable parallel builds.
3657 #:parallel-build? #f))
3658 (inputs `(("popt" ,popt)
3659 ("libxml2" ,libxml2)))
3660 ;; The following are Required by the .pc file
3661 (propagated-inputs
3662 `(("glib" ,glib)
3663 ("orbit2" ,orbit2)))
3664 (native-inputs
3665 `(("intltool" ,intltool)
3666 ("pkg-config" ,pkg-config)
3667 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3668 ("flex" ,flex)
3669 ("bison" ,bison)))
3670 (home-page "https://developer.gnome.org/libbonobo/")
3671 (synopsis "Framework for creating reusable components for use in GNOME applications")
3672 (description "Bonobo is a framework for creating reusable components for
3673 use in GNOME applications, built on top of CORBA.")
3674 ;; Licence not explicitly stated. Source files contain no licence notices.
3675 ;; Tarball contains text of both GPLv2 and LGPLv2
3676 ;; GPLv2 covers both conditions
3677 (license license:gpl2+)))
3678
3679
3680 (define-public gconf
3681 (package
3682 (name "gconf")
3683 (version "3.2.6")
3684 (source (origin
3685 (method url-fetch)
3686 (uri
3687 (let ((upstream-name "GConf"))
3688 (string-append "mirror://gnome/sources/" upstream-name "/"
3689 (version-major+minor version) "/"
3690 upstream-name "-" version ".tar.xz")))
3691 (sha256
3692 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3693 (build-system gnu-build-system)
3694 (inputs `(("dbus-glib" ,dbus-glib)
3695 ("libxml2" ,libxml2)))
3696 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3697 ("orbit2" ,orbit2)))
3698 (native-inputs
3699 `(("intltool" ,intltool)
3700 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3701 ("pkg-config" ,pkg-config)))
3702 (home-page "https://projects.gnome.org/gconf/")
3703 (synopsis "Store application preferences")
3704 (description "Gconf is a system for storing application preferences. It
3705 is intended for user preferences; not arbitrary data storage.")
3706 (license license:lgpl2.0+)
3707 (properties '((upstream-name . "GConf")))))
3708
3709
3710 (define-public gnome-mime-data
3711 (package
3712 (name "gnome-mime-data")
3713 (version "2.18.0")
3714 (source (origin
3715 (method url-fetch)
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.bz2"))
3719 (sha256
3720 (base32
3721 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3722 (build-system gnu-build-system)
3723 (native-inputs
3724 `(("perl" ,perl)
3725 ("intltool" ,intltool)))
3726 (arguments
3727 '(#:phases (modify-phases %standard-phases
3728 (add-after 'configure 'use-our-intltool
3729 (lambda _
3730 ;; Do not use the bundled intltool commands, which lack
3731 ;; the "dotless @INC" fixes of our 'intltool' package.
3732 (substitute* (find-files "." "^Makefile$")
3733 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3734 (string-append "INTLTOOL_" tool " = intltool-"
3735 (string-downcase tool) "\n")))
3736 #t)))))
3737 (home-page "https://www.gnome.org")
3738 (synopsis "Base MIME and Application database for GNOME")
3739 (description "GNOME Mime Data is a module which contains the base MIME
3740 and Application database for GNOME. The data stored by this module is
3741 designed to be accessed through the MIME functions in GnomeVFS.")
3742 (license license:gpl2+)))
3743
3744
3745 (define-public gnome-vfs
3746 (package
3747 (name "gnome-vfs")
3748 (version "2.24.4")
3749 (source (origin
3750 (method url-fetch)
3751 (uri (string-append "mirror://gnome/sources/" name "/"
3752 (version-major+minor version) "/"
3753 name "-" version ".tar.bz2"))
3754 (sha256
3755 (base32
3756 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3757 (build-system gnu-build-system)
3758 (arguments
3759 `(#:phases
3760 (modify-phases %standard-phases
3761 (add-before 'configure 'ignore-deprecations
3762 (lambda _
3763 (substitute* '("libgnomevfs/Makefile.in"
3764 "daemon/Makefile.in")
3765 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3766 #t))
3767 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3768 (lambda _
3769 (substitute* "test/test-async-cancel.c"
3770 (("EXIT_FAILURE") "77"))
3771 #t)))))
3772 (inputs `(("libxml2" ,libxml2)
3773 ("dbus-glib" ,dbus-glib)
3774 ("gconf" ,gconf)
3775 ("gnome-mime-data" ,gnome-mime-data)
3776 ("zlib" ,zlib)))
3777 (native-inputs
3778 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3779 ("intltool" ,intltool)
3780 ("pkg-config" ,pkg-config)))
3781 (home-page "https://developer.gnome.org/gnome-vfs/")
3782 (synopsis "Access files and folders in GNOME applications")
3783 (description
3784 "GnomeVFS is the core library used to access files and folders in GNOME
3785 applications. It provides a file system abstraction which allows applications
3786 to access local and remote files with a single consistent API.")
3787 (license license:lgpl2.0+)))
3788
3789
3790
3791 (define-public libgnome
3792 (package
3793 (name "libgnome")
3794 (version "2.32.1")
3795 (source (origin
3796 (method url-fetch)
3797 (uri (string-append "mirror://gnome/sources/" name "/"
3798 (version-major+minor version) "/"
3799 name "-" version ".tar.bz2"))
3800 (sha256
3801 (base32
3802 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3803 (patches (search-patches "libgnome-encoding.patch"))))
3804 (build-system gnu-build-system)
3805 (arguments
3806 `(#:phases
3807 (modify-phases %standard-phases
3808 (add-before 'configure 'enable-deprecated
3809 (lambda _
3810 (substitute* "libgnome/Makefile.in"
3811 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3812 #t)))))
3813 (inputs `(("libxml2" ,libxml2)))
3814 (native-inputs
3815 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3816 ("intltool" ,intltool)
3817 ("pkg-config" ,pkg-config)))
3818 ;; The following are listed as Required in the .pc file
3819 ;; (except for libcanberra -- which seems to be oversight on the part
3820 ;; of the upstream developers -- anything that links against libgnome,
3821 ;; must also link against libcanberra
3822 (propagated-inputs
3823 `(("libcanberra" ,libcanberra)
3824 ("libbonobo" ,libbonobo)
3825 ("gconf" ,gconf)
3826 ("gnome-vfs" ,gnome-vfs)
3827 ("popt" ,popt))) ;gnome-program.h includes popt.h
3828 (home-page "https://developer.gnome.org/libgnome/")
3829 (synopsis "Useful routines for building applications")
3830 (description "The libgnome library provides a number of useful routines
3831 for building modern applications, including session management, activation of
3832 files and URIs, and displaying help.")
3833 (license license:lgpl2.0+)))
3834
3835
3836 (define-public libart-lgpl
3837 (package
3838 (name "libart-lgpl")
3839 (version "2.3.21")
3840 (source (origin
3841 (method url-fetch)
3842 (uri (let ((upstream-name "libart_lgpl"))
3843 (string-append "mirror://gnome/sources/" upstream-name "/"
3844 (version-major+minor version) "/"
3845 upstream-name "-" version ".tar.bz2")))
3846 (sha256
3847 (base32
3848 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3849 (build-system gnu-build-system)
3850 (native-inputs
3851 `(("pkg-config" ,pkg-config)))
3852 (home-page "https://people.gnome.org/~mathieu/libart")
3853 (synopsis "2D drawing library")
3854 (description "Libart is a 2D drawing library intended as a
3855 high-quality vector-based 2D library with antialiasing and alpha composition.")
3856 (license license:lgpl2.0+)))
3857
3858
3859
3860 (define-public libgnomecanvas
3861 (package
3862 (name "libgnomecanvas")
3863 (version "2.30.3")
3864 (source (origin
3865 (method url-fetch)
3866 (uri (string-append "mirror://gnome/sources/" name "/"
3867 (version-major+minor version) "/"
3868 name "-" version ".tar.gz"))
3869 (sha256
3870 (base32
3871 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3872 (build-system gnu-build-system)
3873 ;; Mentioned as Required in the .pc file
3874 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3875 ("gtk+" ,gtk+-2)))
3876 (native-inputs
3877 `(("intltool" ,intltool)
3878 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3879 ("pkg-config" ,pkg-config)))
3880 (home-page "https://developer.gnome.org/libgnomecanvas/")
3881 (synopsis "Flexible widget for creating interactive structured graphics")
3882 (description "The GnomeCanvas widget provides a flexible widget for
3883 creating interactive structured graphics.")
3884 (license license:lgpl2.0+)))
3885
3886 (define-public libgnomecanvasmm
3887 (package
3888 (name "libgnomecanvasmm")
3889 (version "2.26.0")
3890 (source (origin
3891 (method url-fetch)
3892 (uri (string-append "mirror://gnome/sources/" name "/"
3893 (version-major+minor version) "/"
3894 name "-" version ".tar.bz2"))
3895 (sha256
3896 (base32
3897 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3898 (build-system gnu-build-system)
3899 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3900 (native-inputs
3901 `(("gtkmm-2" ,gtkmm-2)
3902 ("pkg-config" ,pkg-config)))
3903 (home-page "https://gtkmm.org")
3904 (synopsis "C++ bindings to the GNOME Canvas library")
3905 (description "C++ bindings to the GNOME Canvas library.")
3906 (license license:lgpl2.0+)))
3907
3908 (define-public libgnomeui
3909 (package
3910 (name "libgnomeui")
3911 (version "2.24.5")
3912 (source (origin
3913 (method url-fetch)
3914 (uri (string-append "mirror://gnome/sources/" name "/"
3915 (version-major+minor version) "/"
3916 name "-" version ".tar.bz2"))
3917 (patches (search-patches "libgnomeui-utf8.patch"))
3918 (sha256
3919 (base32
3920 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3921 (build-system gnu-build-system)
3922 ;; Mentioned as Required in the .pc file
3923 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3924 ("libgnome" ,libgnome)
3925 ("libgnomecanvas" ,libgnomecanvas)
3926 ("libgnome-keyring" ,libgnome-keyring)))
3927 (inputs `(("libjpeg" ,libjpeg-turbo)
3928 ("popt" ,popt)
3929 ("libbonobo" ,libbonobo)
3930 ("libxml2" ,libxml2)
3931 ("libglade" ,libglade)))
3932 (native-inputs
3933 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3934 ("intltool" ,intltool)
3935 ("pkg-config" ,pkg-config)))
3936 (home-page "https://developer.gnome.org/libgnomeui/")
3937 (synopsis "Additional widgets for applications")
3938 (description "The libgnomeui library provides additional widgets for
3939 applications. Many of the widgets from libgnomeui have already been
3940 ported to GTK+.")
3941 (license license:lgpl2.0+)))
3942
3943 (define-public libglade
3944 (package
3945 (name "libglade")
3946 (version "2.6.4")
3947 (source (origin
3948 (method url-fetch)
3949 (uri (string-append "mirror://gnome/sources/" name "/"
3950 (version-major+minor version) "/"
3951 name "-" version ".tar.bz2"))
3952 (sha256
3953 (base32
3954 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3955 (build-system gnu-build-system)
3956 (inputs
3957 `(("python" ,python))) ;; needed for the optional libglade-convert program
3958 (propagated-inputs
3959 `(("gtk+-2" ,gtk+-2)
3960 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3961 (native-inputs
3962 `(("pkg-config" ,pkg-config)))
3963 (home-page "https://developer.gnome.org/libglade")
3964 (synopsis "Load glade interfaces and access the glade built widgets")
3965 (description "Libglade is a library that provides interfaces for loading
3966 graphical interfaces described in glade files and for accessing the
3967 widgets built in the loading process.")
3968 (license license:gpl2+))) ; This is correct. GPL not LGPL
3969
3970 (define-public libgnomeprint
3971 ;; This library has been deprecated since 2006; see
3972 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3973 (package
3974 (name "libgnomeprint")
3975 (version "2.18.8")
3976 (source (origin
3977 (method url-fetch)
3978 (uri (string-append "mirror://gnome/sources/" name "/"
3979 (version-major+minor version) "/"
3980 name "-" version ".tar.bz2"))
3981 (sha256
3982 (base32
3983 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3984 (build-system gnu-build-system)
3985 (inputs
3986 `(("popt" ,popt)
3987 ("libart-lgpl" ,libart-lgpl)
3988 ("gtk+" ,gtk+-2)
3989 ("libxml2" ,libxml2)))
3990 (native-inputs
3991 `(("intltool" ,intltool)
3992 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3993 ("pkg-config" ,pkg-config)))
3994 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3995 (synopsis "Printing framework for GNOME")
3996 (description
3997 "GNOME-print was a printing framework for GNOME. It has been deprecated
3998 since ca. 2006, when GTK+ itself incorporated printing support.")
3999 (license license:lgpl2.0+)))
4000
4001
4002 (define-public libgnomeprintui
4003 ;; Deprecated; see libgnomeprint.
4004 (package
4005 (name "libgnomeprintui")
4006 (version "2.18.6")
4007 (source (origin
4008 (method url-fetch)
4009 (uri (string-append "mirror://gnome/sources/" name "/"
4010 (version-major+minor version) "/"
4011 name "-" version ".tar.bz2"))
4012 (sha256
4013 (base32
4014 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4015 (build-system gnu-build-system)
4016 ;; Mentioned as Required in the .pc file
4017 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4018 (inputs `(("gtk+" ,gtk+-2)
4019 ("glib" ,glib)
4020 ("gnome-icon-theme" ,gnome-icon-theme)
4021 ("libgnomecanvas" ,libgnomecanvas)
4022 ("libxml2" ,libxml2)))
4023 (native-inputs
4024 `(("intltool" ,intltool)
4025 ("pkg-config" ,pkg-config)))
4026 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4027 (synopsis "Printing framework for GNOME")
4028 (description (package-description libgnomeprint))
4029 (license license:lgpl2.0+)))
4030
4031 (define-public libbonoboui
4032 (package
4033 (name "libbonoboui")
4034 (version "2.24.5")
4035 (source (origin
4036 (method url-fetch)
4037 (uri (string-append "mirror://gnome/sources/" name "/"
4038 (version-major+minor version) "/"
4039 name "-" version ".tar.bz2"))
4040 (sha256
4041 (base32
4042 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4043 (build-system gnu-build-system)
4044 (arguments
4045 `(#:phases
4046 (modify-phases %standard-phases
4047 (add-before 'check 'start-xserver
4048 (lambda* (#:key inputs #:allow-other-keys)
4049 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4050 (disp ":1"))
4051
4052 (setenv "HOME" (getcwd))
4053 (setenv "DISPLAY" disp)
4054 ;; There must be a running X server and make check doesn't start one.
4055 ;; Therefore we must do it.
4056 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4057 ;; Mentioned as Required by the .pc file
4058 (propagated-inputs `(("libxml2" ,libxml2)))
4059 (inputs
4060 `(("popt" ,popt)
4061 ("pangox-compat" ,pangox-compat)
4062 ("libgnome" ,libgnome)
4063 ("libgnomecanvas" ,libgnomecanvas)
4064 ("libglade" ,libglade)))
4065 (native-inputs
4066 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4067 ("intltool" ,intltool)
4068 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4069 ("pkg-config" ,pkg-config)))
4070 (home-page "https://developer.gnome.org/libbonoboui/")
4071 (synopsis "Some user interface controls using Bonobo")
4072 (description "The Bonobo UI library provides a number of user interface
4073 controls using the Bonobo component framework.")
4074 (license license:lgpl2.0+)))
4075
4076 (define-public libwnck
4077 (package
4078 (name "libwnck")
4079 (version "3.32.0")
4080 (source (origin
4081 (method url-fetch)
4082 (uri (string-append "mirror://gnome/sources/" name "/"
4083 (version-major+minor version) "/"
4084 name "-" version ".tar.xz"))
4085 (sha256
4086 (base32
4087 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4088 (build-system meson-build-system)
4089 (native-inputs
4090 `(("pkg-config" ,pkg-config)
4091 ("glib" ,glib "bin") ; for glib-mkenums
4092 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4093 ("intltool" ,intltool)))
4094 (propagated-inputs
4095 `(("gtk+" ,gtk+)
4096 ("libxres" ,libxres)
4097 ("startup-notification" ,startup-notification)))
4098 (home-page "https://developer.gnome.org/libwnck/")
4099 (synopsis "Window Navigator Construction Kit")
4100 (description
4101 "Libwnck is the Window Navigator Construction Kit, a library for use in
4102 writing pagers, tasklists, and more generally applications that are dealing
4103 with window management. It tries hard to respect the Extended Window Manager
4104 Hints specification (EWMH).")
4105 (license license:lgpl2.0+)))
4106
4107 ;; stable version for gtk2, required by xfwm4.
4108 (define-public libwnck-2
4109 (package (inherit libwnck)
4110 (name "libwnck")
4111 (version "2.30.7")
4112 (source (origin
4113 (method url-fetch)
4114 (uri (string-append "mirror://gnome/sources/" name "/"
4115 (version-major+minor version) "/"
4116 name "-" version ".tar.xz"))
4117 (sha256
4118 (base32
4119 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4120 (build-system gnu-build-system)
4121 (native-inputs
4122 `(("pkg-config" ,pkg-config)
4123 ("intltool" ,intltool)))
4124 (propagated-inputs
4125 `(("gtk+" ,gtk+-2)
4126 ("libxres" ,libxres)
4127 ("startup-notification" ,startup-notification)))))
4128
4129 (define-public goffice
4130 (package
4131 (name "goffice")
4132 (version "0.10.50")
4133 (source (origin
4134 (method url-fetch)
4135 (uri (string-append "mirror://gnome/sources/goffice/"
4136 (version-major+minor version) "/"
4137 "goffice-" version ".tar.xz"))
4138 (sha256
4139 (base32 "1p5zbj7cbcfcxd6l8pnph54p6ah1bwf146y810j4bcq8ggf3sp1c"))))
4140 (build-system gnu-build-system)
4141 (outputs '("out"
4142 "doc")) ; 4.0 MiB of gtk-doc
4143 (arguments
4144 '(#:configure-flags (list (string-append "--with-html-dir="
4145 (assoc-ref %outputs "doc")
4146 "/share/gtk-doc/html"))))
4147 (inputs
4148 `(("gtk+" ,gtk+)
4149 ("libgsf" ,libgsf)
4150 ("librsvg" ,librsvg)
4151 ("libxslt" ,libxslt)
4152 ("libxml2" ,libxml2)))
4153 (native-inputs
4154 `(("intltool" ,intltool)
4155 ("glib" ,glib "bin")
4156 ("pkg-config" ,pkg-config)))
4157 (home-page "https://developer.gnome.org/goffice/")
4158 (synopsis "Document-centric objects and utilities")
4159 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4160 (license
4161 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4162 ;; Note: NOT LGPL
4163 (list license:gpl2 license:gpl3))))
4164
4165 (define-public goffice-0.8
4166 (package (inherit goffice)
4167 (version "0.8.17")
4168 (source (origin
4169 (method url-fetch)
4170 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4171 (version-major+minor version) "/"
4172 (package-name goffice) "-" version ".tar.xz"))
4173 (sha256
4174 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4175 (arguments
4176 `(#:phases
4177 (modify-phases %standard-phases
4178 (add-after 'unpack 'fix-pcre-check
4179 (lambda _
4180 ;; Only glib.h can be included directly. See
4181 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4182 (substitute* "configure"
4183 (("glib/gregex\\.h") "glib.h")) #t)))
4184
4185 ,@(package-arguments goffice)))
4186 (propagated-inputs
4187 ;; libgoffice-0.8.pc mentions libgsf-1
4188 `(("libgsf" ,libgsf)))
4189 (inputs
4190 `(("gtk" ,gtk+-2)
4191 ,@(alist-delete "gtk" (package-inputs goffice))))))
4192
4193 (define-public gnumeric
4194 (package
4195 (name "gnumeric")
4196 (version "1.12.50")
4197 (source (origin
4198 (method url-fetch)
4199 (uri (string-append "mirror://gnome/sources/gnumeric/"
4200 (version-major+minor version) "/"
4201 "gnumeric-" version ".tar.xz"))
4202 (sha256
4203 (base32
4204 "1f0lrj5msg80pgjp38jj6rddf352gwddgip7z4lki66n3fx1k23m"))))
4205 (build-system glib-or-gtk-build-system)
4206 (arguments
4207 `(;; The gnumeric developers don't worry much about failing tests.
4208 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4209 #:tests? #f
4210 #:phases
4211 (modify-phases %standard-phases
4212 (add-before
4213 'configure 'pre-conf
4214 (lambda* (#:key outputs #:allow-other-keys)
4215 ;; Make install tries to write into the directory of goffice
4216 ;; I am informed that this only affects the possibility to embed a
4217 ;; spreadsheet inside an Abiword document. So presumably when we
4218 ;; package Abiword we'll have to refer it to this directory.
4219 (substitute* "configure"
4220 (("^GOFFICE_PLUGINS_DIR=.*")
4221 (string-append "GOFFICE_PLUGINS_DIR="
4222 (assoc-ref outputs "out")
4223 "/goffice/plugins"))))))))
4224 (inputs
4225 `(("glib" ,glib)
4226 ("gtk+" ,gtk+)
4227 ("goffice" ,goffice)
4228 ("libgsf" ,libgsf)
4229 ("librsvg" ,librsvg)
4230 ("libxml2" ,libxml2)
4231 ("libxslt" ,libxslt)
4232 ("python" ,python)
4233 ("python-pygobject" ,python-pygobject)
4234 ("zlib" ,zlib)))
4235 (native-inputs
4236 `(("bison" ,bison)
4237 ("docbook-xml" ,docbook-xml)
4238 ("intltool" ,intltool)
4239 ("itstool" ,itstool)
4240 ("glib:bin" ,glib "bin")
4241 ("pkg-config" ,pkg-config)))
4242 (home-page "http://www.gnumeric.org")
4243 (synopsis "Spreadsheet application")
4244 (description
4245 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4246 interoperable with other spreadsheet applications. It has a vast array of
4247 features beyond typical spreadsheet functionality, such as support for linear
4248 and non-linear solvers, statistical analysis, and telecommunication
4249 engineering.")
4250 (license
4251 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4252 (list license:gpl2 license:gpl3))))
4253
4254 (define-public drawing
4255 (package
4256 (name "drawing")
4257 (version "0.8.1")
4258 (source
4259 (origin
4260 (method git-fetch)
4261 (uri (git-reference
4262 (url "https://github.com/maoschanz/drawing")
4263 (commit version)))
4264 (file-name (git-file-name name version))
4265 (sha256
4266 (base32 "0a65mil9w4iw0h6kncg5d15s302sxfx25fpnkfv9pz54nj3hzghk"))))
4267 (build-system meson-build-system)
4268 (arguments
4269 `(#:glib-or-gtk? #t
4270 #:phases
4271 (modify-phases %standard-phases
4272 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4273 (lambda* (#:key outputs #:allow-other-keys)
4274 (let ((prog (string-append (assoc-ref outputs "out")
4275 "/bin/drawing"))
4276 (pylib (string-append (assoc-ref outputs "out")
4277 "/lib/python"
4278 ,(version-major+minor
4279 (package-version python))
4280 "/site-packages")))
4281 (wrap-program prog
4282 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4283 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4284 #t))))))
4285 (native-inputs
4286 `(("desktop-file-utils" ,desktop-file-utils)
4287 ("gettext" ,gettext-minimal)
4288 ("glib:bin" ,glib "bin")
4289 ("gobject-introspection" ,gobject-introspection)
4290 ("gtk+:bin" ,gtk+ "bin")
4291 ("pkg-config" ,pkg-config)))
4292 (inputs
4293 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4294 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4295 ("gtk+" ,gtk+)
4296 ("pango" ,pango)
4297 ("python-pycairo" ,python-pycairo)
4298 ("python-pygobject" ,python-pygobject)))
4299 (home-page "https://maoschanz.github.io/drawing/")
4300 (synopsis "Basic image editor for GNOME")
4301 (description
4302 "Drawing is a basic image editor aiming at the GNOME desktop.")
4303 (license license:gpl3+)))
4304
4305 (define-public gnome-themes-standard
4306 (package
4307 (name "gnome-themes-standard")
4308 (version "3.22.3")
4309 (source
4310 (origin
4311 (method url-fetch)
4312 (uri (string-append "mirror://gnome/sources/" name "/"
4313 (version-major+minor version) "/" name "-"
4314 version ".tar.xz"))
4315 (sha256
4316 (base32
4317 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4318 (build-system gnu-build-system)
4319 (arguments
4320 '(#:configure-flags
4321 ;; Don't create 'icon-theme.cache'.
4322 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4323 (true (string-append coreutils "/bin/true")))
4324 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4325 (inputs
4326 `(("gtk+" ,gtk+)
4327 ("gtk+-2" ,gtk+-2)
4328 ("librsvg" ,librsvg)
4329 ("libxml2" ,libxml2)
4330 ("glib" ,glib)))
4331 (native-inputs
4332 `(("intltool" ,intltool)
4333 ("glib:bin" ,glib "bin")
4334 ("pkg-config" ,pkg-config)))
4335 (home-page "https://launchpad.net/gnome-themes-standard")
4336 (synopsis "Default GNOME 3 themes")
4337 (description
4338 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4339 (license license:lgpl2.1+)))
4340
4341 (define-public seahorse
4342 (package
4343 (name "seahorse")
4344 (version "3.36.2")
4345 (source
4346 (origin
4347 (method url-fetch)
4348 (uri (string-append "mirror://gnome/sources/" name "/"
4349 (version-major+minor version) "/" name "-"
4350 version ".tar.xz"))
4351 (sha256
4352 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4353 (build-system meson-build-system)
4354 (arguments
4355 '(#:glib-or-gtk? #t
4356 #:phases
4357 (modify-phases %standard-phases
4358 (add-after 'unpack 'skip-gtk-update-icon-cache
4359 ;; Don't create 'icon-theme.cache'.
4360 (lambda _
4361 (substitute* "build-aux/meson_post_install.py"
4362 (("gtk-update-icon-cache") "true"))
4363 #t)))))
4364 (inputs
4365 `(("gtk+" ,gtk+)
4366 ("gcr" ,gcr)
4367 ("gnupg" ,gnupg)
4368 ("gpgme" ,gpgme)
4369 ("openldap" ,openldap)
4370 ("openssh" ,openssh)
4371 ("avahi" ,avahi)
4372 ("libhandy" ,libhandy-0.0)
4373 ("libpwquality" ,libpwquality)
4374 ("libsecret" ,libsecret)
4375 ("libsoup" ,libsoup)))
4376 (native-inputs
4377 `(("gettext" ,gettext-minimal)
4378 ("glib:bin" ,glib "bin")
4379 ("itstool" ,itstool)
4380 ("pkg-config" ,pkg-config)
4381 ("vala" ,vala)
4382 ("xmllint" ,libxml2)))
4383 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4384 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4385 (description
4386 "Seahorse is a GNOME application for managing encryption keys and
4387 passwords in the GNOME keyring.")
4388 (license license:gpl2+)))
4389
4390 (define-public vala
4391 (package
4392 (name "vala")
4393 (version "0.46.5")
4394 (source (origin
4395 (method url-fetch)
4396 (uri (string-append "mirror://gnome/sources/" name "/"
4397 (version-major+minor version) "/"
4398 name "-" version ".tar.xz"))
4399 (sha256
4400 (base32
4401 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4402 (build-system gnu-build-system)
4403 (arguments
4404 '(#:phases
4405 (modify-phases %standard-phases
4406 (add-before 'check 'pre-check
4407 (lambda _
4408 (setenv "CC" "gcc")
4409 (substitute* "valadoc/tests/testrunner.sh"
4410 (("export PKG_CONFIG_PATH=" m)
4411 (string-append m "$PKG_CONFIG_PATH:")))
4412 ;; For missing '/etc/machine-id'.
4413 (setenv "DBUS_FATAL_WARNINGS" "0")
4414 #t)))))
4415 (native-inputs
4416 `(("pkg-config" ,pkg-config)
4417 ("flex" ,flex)
4418 ("bison" ,bison)
4419 ("xsltproc" ,libxslt)
4420 ("dbus" ,dbus) ; for dbus tests
4421 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4422 (inputs
4423 `(("graphviz" ,graphviz)))
4424 (propagated-inputs
4425 `(("glib" ,glib))) ; required by libvala-0.40.pc
4426 (home-page "https://wiki.gnome.org/Projects/Vala/")
4427 (synopsis "Compiler for the GObject type system")
4428 (description
4429 "Vala is a programming language that aims to bring modern programming
4430 language features to GNOME developers without imposing any additional runtime
4431 requirements and without using a different ABI compared to applications and
4432 libraries written in C.")
4433 (license license:lgpl2.1+)))
4434
4435 (define-public vala-0.50
4436 (package
4437 (inherit vala)
4438 (version "0.50.2")
4439 (source (origin
4440 (method url-fetch)
4441 (uri (string-append "mirror://gnome/sources/vala/"
4442 (version-major+minor version) "/"
4443 "vala-" version ".tar.xz"))
4444 (sha256
4445 (base32
4446 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4447
4448 (define-public vte
4449 (package
4450 (name "vte")
4451 (version "0.60.3")
4452 (source (origin
4453 (method url-fetch)
4454 (uri (string-append "mirror://gnome/sources/vte/"
4455 (version-major+minor version) "/"
4456 "vte-" version ".tar.xz"))
4457 (sha256
4458 (base32
4459 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4460 (build-system meson-build-system)
4461 (arguments
4462 `(#:configure-flags
4463 '("-Dvapi=true"
4464 "-D_systemd=false")))
4465 (native-inputs
4466 `(("pkg-config" ,pkg-config)
4467 ("gettext" ,gettext-minimal)
4468 ("vala" ,vala)
4469 ("gobject-introspection" ,gobject-introspection)
4470 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4471 ("gperf" ,gperf)
4472 ("xmllint" ,libxml2)))
4473 (propagated-inputs
4474 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4475 ("gnutls" ,gnutls) ; ditto
4476 ("pcre2" ,pcre2))) ; ditto
4477 (home-page "https://www.gnome.org/")
4478 (synopsis "Virtual Terminal Emulator")
4479 (description
4480 "VTE is a library (libvte) implementing a terminal emulator widget for
4481 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4482 gnome-terminal, but can also be used to embed a console/terminal in games,
4483 editors, IDEs, etc.")
4484 (license license:lgpl2.1+)))
4485
4486 (define-public vte-ng
4487 (package
4488 (inherit vte)
4489 (name "vte-ng")
4490 (version "0.58.2.a")
4491 (home-page "https://github.com/thestinger/vte-ng")
4492 (source (origin
4493 (method git-fetch)
4494 (uri (git-reference (url home-page) (commit version)))
4495 (file-name (git-file-name name version))
4496 (sha256
4497 (base32
4498 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4499 (build-system meson-build-system)
4500 (native-inputs
4501 `(("gtk-doc" ,gtk-doc/stable)
4502 ,@(package-native-inputs vte)))
4503 (arguments
4504 `(#:configure-flags '("-Ddocs=true")))
4505 (synopsis "Enhanced VTE terminal widget")
4506 (description
4507 "VTE is a library (libvte) implementing a terminal emulator widget for
4508 GTK+, this fork provides additional functions exposed for keyboard text
4509 selection and URL hints.")))
4510
4511 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4512 (define-public vte/gtk+-2
4513 (package (inherit vte)
4514 (name "vte")
4515 (version "0.28.2")
4516 (source (origin
4517 (method url-fetch)
4518 (uri (string-append "mirror://gnome/sources/" name "/"
4519 (version-major+minor version) "/"
4520 name "-" version ".tar.xz"))
4521 (sha256
4522 (base32
4523 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4524 (patches (search-patches
4525 "vte-CVE-2012-2738-pt1.patch"
4526 "vte-CVE-2012-2738-pt2.patch"))))
4527 (build-system gnu-build-system)
4528 (arguments
4529 '(#:configure-flags '("--disable-python")))
4530 (native-inputs
4531 `(("pkg-config" ,pkg-config)
4532 ("intltool" ,intltool)
4533 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4534 (propagated-inputs
4535 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4536 ("ncurses" ,ncurses))))) ; required by libvte.la
4537
4538 (define-public vinagre
4539 (package
4540 (name "vinagre")
4541 (version "3.22.0")
4542 (source (origin
4543 (method url-fetch)
4544 (uri (string-append "mirror://gnome/sources/" name "/"
4545 (version-major+minor version) "/"
4546 name "-" version ".tar.xz"))
4547 (patches (search-patches "vinagre-newer-freerdp.patch"
4548 "vinagre-newer-rdp-parameters.patch"))
4549 (sha256
4550 (base32
4551 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4552 (build-system glib-or-gtk-build-system)
4553 (arguments
4554 ;; Disable -Werror and such, to avoid build failures on compilation
4555 ;; warnings.
4556 '(#:configure-flags '("--enable-compile-warnings=minimum")
4557 #:phases
4558 (modify-phases %standard-phases
4559 (add-before 'install 'skip-gtk-update-icon-cache
4560 (lambda _
4561 ;; Don't create 'icon-theme.cache'
4562 (substitute* (find-files "." "^Makefile$")
4563 (("gtk-update-icon-cache") (which "true")))
4564 #t))
4565 (add-after 'unpack 'patch-configure
4566 (lambda _
4567 (substitute* "configure"
4568 (("freerdp") "freerdp2"))
4569 #t)))))
4570 (native-inputs
4571 `(("pkg-config" ,pkg-config)
4572 ("intltool" ,intltool)
4573 ("itstool" ,itstool)
4574 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4575 (inputs
4576 `(("libxml2" ,libxml2)
4577 ("gtk-vnc" ,gtk-vnc)
4578 ("gnome-keyring" ,gnome-keyring)
4579 ("libsecret" ,libsecret)
4580 ("freerdp" ,freerdp)
4581 ("spice" ,spice)
4582 ("spice-gtk" ,spice-gtk)
4583 ("telepathy-glib" ,telepathy-glib)
4584 ("vte" ,vte)))
4585 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4586 (synopsis "Remote desktop viewer for GNOME")
4587 (description "Vinagre is a remote display client supporting the VNC, SPICE
4588 and RDP protocols.")
4589 (license license:gpl3+)))
4590
4591 (define-public dconf
4592 (package
4593 (name "dconf")
4594 (version "0.36.0")
4595 (source (origin
4596 (method url-fetch)
4597 (uri (string-append
4598 "mirror://gnome/sources/" name "/"
4599 (version-major+minor version) "/"
4600 name "-" version ".tar.xz"))
4601 (sha256
4602 (base32
4603 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4604 (build-system meson-build-system)
4605 (propagated-inputs
4606 ;; In Requires of dconf.pc.
4607 `(("glib" ,glib)))
4608 (inputs
4609 `(("gtk+" ,gtk+)
4610 ("dbus" ,dbus)))
4611 (native-inputs
4612 `(("bash-completion" ,bash-completion)
4613 ("libxslt" ,libxslt) ;for xsltproc
4614 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4615 ("docbook-xml" ,docbook-xml-4.2)
4616 ("docbook-xsl" ,docbook-xsl)
4617 ("glib:bin" ,glib "bin")
4618 ("gtk-doc" ,gtk-doc/stable)
4619 ("pkg-config" ,pkg-config)
4620 ("vala" ,vala)))
4621 (arguments
4622 `(#:glib-or-gtk? #t
4623 #:configure-flags '("-Denable-gtk-doc=true")
4624 #:phases (modify-phases %standard-phases
4625 (add-after 'unpack 'increase-test-timeout
4626 (lambda _
4627 ;; On big-memory systems, the engine test may take
4628 ;; much longer than the default of 30 seconds.
4629 (substitute* "tests/meson.build"
4630 (("test\\(unit_test\\[0\\], exe" all)
4631 (string-append all ", timeout : 90")))
4632 #t)))))
4633 (home-page "https://developer.gnome.org/dconf/")
4634 (synopsis "Low-level GNOME configuration system")
4635 (description "Dconf is a low-level configuration system. Its main purpose
4636 is to provide a backend to GSettings on platforms that don't already have
4637 configuration storage systems.")
4638 (license license:lgpl2.1+)))
4639
4640 (define-public json-glib
4641 (package
4642 (name "json-glib")
4643 (version "1.4.4")
4644 (source (origin
4645 (method url-fetch)
4646 (uri (string-append "mirror://gnome/sources/" name "/"
4647 (version-major+minor version) "/"
4648 name "-" version ".tar.xz"))
4649 (sha256
4650 (base32
4651 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4652 (build-system meson-build-system)
4653 (native-inputs
4654 `(("gettext" ,gettext-minimal)
4655 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)))
4658 (propagated-inputs
4659 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4660 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4661 (synopsis "Compiler for the GObject type system")
4662 (description
4663 "JSON-GLib is a C library based on GLib providing serialization and
4664 deserialization support for the JavaScript Object Notation (JSON) format
4665 described by RFC 4627. It provides parser and generator GObject classes and
4666 various wrappers for the complex data types employed by JSON, such as arrays
4667 and objects.")
4668 (license license:lgpl2.1+)))
4669
4670 (define-public libxklavier
4671 (package
4672 (name "libxklavier")
4673 (version "5.4")
4674 (source (origin
4675 ;; Note: There's no tarball at ftp.gnome.org for this version.
4676 (method git-fetch)
4677 (uri (git-reference
4678 (url "https://anongit.freedesktop.org/git/libxklavier")
4679 (commit (string-append "libxklavier-" version))))
4680 (sha256
4681 (base32
4682 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4683 (file-name (git-file-name name version))))
4684 (build-system gnu-build-system)
4685 (arguments
4686 '(#:configure-flags
4687 (list (string-append "--with-xkb-base="
4688 (assoc-ref %build-inputs "xkeyboard-config")
4689 "/share/X11/xkb")
4690 "--disable-xmodmap-support")))
4691 (native-inputs
4692 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4693 ("gobject-introspection" ,gobject-introspection)
4694 ("pkg-config" ,pkg-config)
4695 ("gtk-doc" ,gtk-doc/stable)
4696 ("intltool" ,intltool)
4697 ("which" ,which)
4698 ("autoconf" ,autoconf)
4699 ("automake" ,automake)
4700 ("libtool" ,libtool)))
4701 (propagated-inputs
4702 ;; Required by libxklavier.pc.
4703 `(("glib" ,glib)
4704 ("libxml2" ,libxml2)))
4705 (inputs
4706 `(("iso-codes" ,iso-codes)
4707 ("libxi" ,libxi)
4708 ("libxkbfile" ,libxkbfile)
4709 ("xkbcomp" ,xkbcomp)
4710 ("xkeyboard-config" ,xkeyboard-config)))
4711 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4712 (synopsis "High-level API for X Keyboard Extension")
4713 (description
4714 "LibXklavier is a library providing high-level API for X Keyboard
4715 Extension known as XKB. This library is intended to support XFree86 and other
4716 commercial X servers. It is useful for creating XKB-related software (layout
4717 indicators etc).")
4718 (license license:lgpl2.0+)))
4719
4720 (define-public python2-rsvg
4721 ;; XXX: This is actually a subset of gnome-python-desktop.
4722 (package
4723 (name "python2-rsvg")
4724 (version "2.32.0")
4725 (source
4726 (origin
4727 (method url-fetch)
4728 (uri (string-append
4729 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4730 version ".tar.bz2"))
4731 (sha256
4732 (base32
4733 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4734 (build-system gnu-build-system)
4735 (native-inputs
4736 `(("pkg-config" ,pkg-config)))
4737 (inputs
4738 `(("python" ,python-2)
4739 ("python2-pygtk" ,python2-pygtk)
4740 ("librsvg" ,librsvg)))
4741 (home-page "https://www.gnome.org")
4742 (synopsis "Python bindings to librsvg")
4743 (description
4744 "This package provides Python bindings to librsvg, the SVG rendering
4745 library.")
4746
4747 ;; This is the license of the rsvg bindings. The license of each module
4748 ;; of gnome-python-desktop is given in 'COPYING'.
4749 (license license:lgpl2.1+)))
4750
4751 (define-public glib-networking
4752 (package
4753 (name "glib-networking")
4754 (version "2.62.2")
4755 (source (origin
4756 (method url-fetch)
4757 (uri (string-append "mirror://gnome/sources/glib-networking/"
4758 (version-major+minor version) "/"
4759 "glib-networking-" version ".tar.xz"))
4760 (sha256
4761 (base32
4762 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4763 (build-system meson-build-system)
4764 (arguments
4765 `(#:configure-flags '("-Dlibproxy_support=false")))
4766 (native-inputs
4767 `(("pkg-config" ,pkg-config)
4768 ("intltool" ,intltool)))
4769 (inputs
4770 `(("glib" ,glib)
4771 ("gnutls" ,gnutls)
4772 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4773 (home-page "https://www.gnome.org")
4774 (synopsis "Network-related GIO modules")
4775 (description
4776 "This package contains various network related extensions for the GIO
4777 library.")
4778 (license license:lgpl2.0+)))
4779
4780 (define-public rest
4781 (package
4782 (name "rest")
4783 (version "0.8.1")
4784 (source (origin
4785 (method url-fetch)
4786 (uri (string-append "mirror://gnome/sources/rest/"
4787 (version-major+minor version) "/"
4788 name "-" version ".tar.xz"))
4789 (sha256
4790 (base32
4791 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4792 (build-system gnu-build-system)
4793 (arguments
4794 '(#:tests? #f ; tests require internet connection
4795 #:configure-flags
4796 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4797 (native-inputs
4798 `(("glib-mkenums" ,glib "bin")
4799 ("gobject-introspection" ,gobject-introspection)
4800 ("pkg-config" ,pkg-config)))
4801 (propagated-inputs
4802 ;; rest-0.7.pc refers to all these.
4803 `(("glib" ,glib)
4804 ("libsoup" ,libsoup)
4805 ("libxml2" ,libxml2)))
4806 (home-page "https://www.gtk.org/")
4807 (synopsis "RESTful web api query library")
4808 (description
4809 "This library was designed to make it easier to access web services that
4810 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4811 libxml to ease remote use of the RESTful API.")
4812 (license license:lgpl2.1+)))
4813
4814 (define-public libsoup
4815 (package
4816 (name "libsoup")
4817 (version "2.72.0")
4818 (source (origin
4819 (method url-fetch)
4820 (uri (string-append "mirror://gnome/sources/libsoup/"
4821 (version-major+minor version) "/"
4822 "libsoup-" version ".tar.xz"))
4823 (sha256
4824 (base32
4825 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4826 (build-system meson-build-system)
4827 (outputs '("out" "doc"))
4828 (arguments
4829 `(#:modules ((guix build utils)
4830 (guix build meson-build-system)
4831 (ice-9 popen))
4832
4833 #:configure-flags '("-Dgtk_doc=true")
4834 #:phases
4835 (modify-phases %standard-phases
4836 (add-after 'unpack 'patch-docbook-xml
4837 (lambda* (#:key inputs #:allow-other-keys)
4838 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4839 "/xml/dtd/docbook")))
4840 (substitute* (find-files "docs/reference")
4841 (("http://.*/docbookx\\.dtd")
4842 (string-append xmldoc "/docbookx.dtd")))
4843 #t)))
4844 (add-after 'unpack 'adjust-tests
4845 (lambda _
4846 ;; This test fails due to missing /etc/nsswitch.conf
4847 ;; in the build environment.
4848 (substitute* "tests/socket-test.c"
4849 ((".*/sockets/unconnected.*") ""))
4850
4851 ;; These fail because "subdomain.localhost" does not resolve in
4852 ;; the build environment.
4853 (substitute* "tests/hsts-test.c"
4854 ((".*/hsts/basic.*") "")
4855 ((".*/hsts/subdomains.*") "")
4856 ((".*/hsts/superdomain.*") "")
4857 ((".*/hsts/utf8-address.*") ""))
4858 (substitute* "tests/hsts-db-test.c"
4859 ((".*/hsts-db/subdomains.*") ""))
4860
4861 ;; Generate a self-signed certificate that has "localhost" as its
4862 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4863 ;; 3.5.12, tests such as "ssl-tests" fail:
4864 ;;
4865 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4866 ;;
4867 ;; 'certtool' is interactive so we have to pipe it the answers.
4868 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4869 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4870 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4871 (for-each (lambda (line)
4872 (display line pipe)
4873 (newline pipe))
4874 '("" ;Common name
4875 "" ;UID
4876 "Guix" ;Organizational unit name
4877 "GNU" ;Organization name
4878 "" ;Locality name
4879 "" ;State or province
4880 "" ;Country
4881 "" ;subject's domain component (DC)
4882 "" ;E-mail
4883 "" ;serial number
4884 "-1" ;expiration time
4885 "N" ;belong to authority?
4886 "N" ;web client certificate?
4887 "N" ;IPsec IKE?
4888 "Y" ;web server certificate?
4889 "localhost" ;dnsName of subject
4890 "" ;dnsName of subject (end)
4891 "" ;URI of subject
4892 "127.0.0.1" ;IP address of subject
4893 "" ;signing?
4894 "" ;encryption (RSA)?
4895 "" ;data encryption?
4896 "" ;sign OCSP requests?
4897 "" ;sign code?
4898 "" ;time stamping?
4899 "" ;email protection?
4900 "" ;URI of the CRL distribution point
4901 "y" ;above info OK?
4902 ))
4903 (close-pipe pipe))
4904 #t))
4905 (add-after 'install 'move-doc
4906 (lambda* (#:key outputs #:allow-other-keys)
4907 (let ((out (assoc-ref outputs "out"))
4908 (doc (assoc-ref outputs "doc")))
4909 (mkdir-p (string-append doc "/share"))
4910 (copy-recursively (string-append out "/share/gtk-doc")
4911 (string-append doc "/share/gtk-doc"))
4912 (delete-file-recursively (string-append out "/share/gtk-doc"))
4913 #t))))))
4914 (native-inputs
4915 `(("docbook-xml" ,docbook-xml-4.1.2)
4916 ("glib:bin" ,glib "bin") ; for glib-mkenums
4917 ("gobject-introspection" ,gobject-introspection)
4918 ("gtk-doc" ,gtk-doc/stable)
4919 ("intltool" ,intltool)
4920 ("pkg-config" ,pkg-config)
4921 ("python" ,python-wrapper)
4922 ("vala" ,vala)
4923 ("php" ,php)
4924 ("curl" ,curl)
4925 ("gnutls" ,gnutls) ;for 'certtool'
4926 ("httpd" ,httpd)))
4927 (propagated-inputs
4928 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4929 `(("brotli" ,google-brotli)
4930 ("glib" ,glib)
4931 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4932 ("libpsl" ,libpsl)
4933 ("libxml2" ,libxml2)
4934 ("sqlite" ,sqlite)
4935 ("zlib" ,zlib)))
4936 (inputs
4937 `(("mit-krb5" ,mit-krb5)
4938 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4939 (home-page "https://wiki.gnome.org/Projects/libsoup")
4940 (synopsis "GLib-based HTTP Library")
4941 (description
4942 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4943 and the GLib main loop, to integrate well with GNOME applications.")
4944 (license license:lgpl2.0+)))
4945
4946
4947 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4948 (define-public libsoup-minimal
4949 (package/inherit libsoup
4950 (name "libsoup-minimal")
4951 (outputs (delete "doc" (package-outputs libsoup)))
4952 (arguments
4953 (substitute-keyword-arguments (package-arguments libsoup)
4954 ((#:configure-flags configure-flags)
4955 `(delete "-Dgtk_doc=true" ,configure-flags))
4956 ((#:phases phases)
4957 `(modify-phases ,phases
4958 (delete 'move-doc)))))
4959 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4960
4961 (define-public libsecret
4962 (package
4963 (name "libsecret")
4964 (version "0.20.4")
4965 (source (origin
4966 (method url-fetch)
4967 (uri (string-append
4968 "mirror://gnome/sources/libsecret/"
4969 (version-major+minor version) "/"
4970 "libsecret-" version ".tar.xz"))
4971 (sha256
4972 (base32
4973 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4974 (build-system gnu-build-system)
4975 (outputs '("out" "doc"))
4976 (arguments
4977 `(#:tests? #f ; FIXME: Testing hangs.
4978 #:configure-flags
4979 (list (string-append "--with-html-dir="
4980 (assoc-ref %outputs "doc")
4981 "/share/gtk-doc/html"))))
4982 (native-inputs
4983 `(("gettext" ,gettext-minimal)
4984 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4985 ("gobject-introspection" ,gobject-introspection)
4986 ("pkg-config" ,pkg-config)
4987 ("vala" ,vala)
4988 ("xsltproc" ,libxslt)))
4989 ;; These are needed for the tests.
4990 ;; FIXME: Add gjs once available.
4991 ;("dbus" ,dbus)
4992 ;("python2" ,python-2)
4993 ;("python2-dbus" ,python2-dbus)
4994 ;("python2-pygobject" ,python2-pygobject)
4995 ;("python2-pygobject-2" ,python2-pygobject-2)))
4996 (propagated-inputs
4997 `(("glib" ,glib))) ; required by libsecret-1.pc
4998 (inputs
4999 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5000 ;; doesn't seem to affect the build result.
5001 `(("docbook-xsl" ,docbook-xsl)
5002 ("libgcrypt" ,libgcrypt)
5003 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5004 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5005 (synopsis "GObject bindings for \"Secret Service\" API")
5006 (description
5007 "Libsecret is a GObject based library for storing and retrieving passwords
5008 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5009 (license license:lgpl2.1+)))
5010
5011 (define-public five-or-more
5012 (package
5013 (name "five-or-more")
5014 (version "3.32.2")
5015 (source
5016 (origin
5017 (method url-fetch)
5018 (uri (string-append "mirror://gnome/sources/five-or-more/"
5019 (version-major+minor version) "/"
5020 "five-or-more-" version ".tar.xz"))
5021 (sha256
5022 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5023 (build-system meson-build-system)
5024 (arguments
5025 '(#:glib-or-gtk? #t
5026 #:phases
5027 (modify-phases %standard-phases
5028 (add-after 'unpack 'skip-gtk-update-icon-cache
5029 (lambda _
5030 (substitute* "meson_post_install.py"
5031 (("gtk-update-icon-cache") (which "true")))
5032 #t)))))
5033 (native-inputs
5034 `(("pkg-config" ,pkg-config)
5035 ("appstream-glib" ,appstream-glib)
5036 ("desktop-file-utils" ,desktop-file-utils)
5037 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5038 ("intltool" ,intltool)
5039 ("itstool" ,itstool)
5040 ("vala" ,vala)
5041 ("xmllint" ,libxml2)))
5042 (inputs
5043 `(("gtk+" ,gtk+)
5044 ("libgnome-games-support" ,libgnome-games-support)
5045 ("librsvg" ,librsvg)))
5046 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5047 (synopsis "Logic puzzle game")
5048 (description "Five or More is a game where you try to align
5049 five or more objects of the same color and shape causing them to disappear.
5050 On every turn more objects will appear, until the board is full.
5051 Try to last as long as possible.")
5052 (license license:gpl2+)))
5053
5054 (define-public gnome-mines
5055 (package
5056 (name "gnome-mines")
5057 (version "3.36.1")
5058 (source
5059 (origin
5060 (method url-fetch)
5061 (uri (string-append "mirror://gnome/sources/" name "/"
5062 (version-major+minor version) "/"
5063 name "-" version ".tar.xz"))
5064 (sha256
5065 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5066 (build-system meson-build-system)
5067 (arguments
5068 '(#:glib-or-gtk? #t
5069 #:phases
5070 (modify-phases %standard-phases
5071 (add-after 'unpack 'skip-gtk-update-icon-cache
5072 (lambda _
5073 (substitute* "build-aux/meson_post_install.py"
5074 (("gtk-update-icon-cache") (which "true")))
5075 #t)))))
5076 (native-inputs
5077 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5078 ("pkg-config" ,pkg-config)
5079 ("desktop-file-utils" ,desktop-file-utils)
5080 ("intltool" ,intltool)
5081 ("itstool" ,itstool)
5082 ("vala" ,vala)
5083 ("yelp" ,yelp)
5084 ("appstream-glib" ,appstream-glib)))
5085 (inputs
5086 `(("gtk+" ,gtk+)
5087 ("libgnome-games-support" ,libgnome-games-support)
5088 ("librsvg" ,librsvg)))
5089 (home-page "https://wiki.gnome.org/Apps/Mines")
5090 (synopsis "Minesweeper game")
5091 (description
5092 "Mines (previously gnomine) is a puzzle game where you locate mines
5093 floating in an ocean using only your brain and a little bit of luck.")
5094 (license license:gpl2+)))
5095
5096 (define-public gnome-multi-writer
5097 (package
5098 (name "gnome-multi-writer")
5099 (version "3.35.90")
5100 (source
5101 (origin
5102 (method url-fetch)
5103 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5104 (version-major+minor version) "/"
5105 "gnome-multi-writer-" version ".tar.xz"))
5106 (sha256
5107 (base32
5108 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5109 (build-system meson-build-system)
5110 (arguments
5111 '(#:glib-or-gtk? #t
5112 #:phases
5113 (modify-phases %standard-phases
5114 (add-after 'unpack 'skip-post-install
5115 (lambda _
5116 (substitute* "meson.build"
5117 (("meson.add_install_script" &) (string-append "# " &)))
5118 #t)))))
5119 (native-inputs
5120 `(("glib:bin" ,glib "bin")
5121 ("pkg-config" ,pkg-config)))
5122 (inputs
5123 `(("gtk+" ,gtk+)
5124 ("glib" ,glib) ; for gio
5125 ("gusb" ,gusb)
5126 ("udisks" ,udisks)
5127 ("libgudev" ,libgudev)
5128 ("libcanberra" ,libcanberra)
5129 ("polkit" ,polkit)))
5130 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5131 (synopsis "Write to multiple USB devices at once")
5132 (description
5133 "MultiWriter can be used to write an ISO file to multiple USB devices at
5134 once.")
5135 (license license:gpl2+)))
5136
5137 (define-public gnome-sudoku
5138 (package
5139 (name "gnome-sudoku")
5140 (version "3.34.1")
5141 (source
5142 (origin
5143 (method url-fetch)
5144 (uri (string-append "mirror://gnome/sources/" name "/"
5145 (version-major+minor version) "/"
5146 name "-" version ".tar.xz"))
5147 (sha256
5148 (base32
5149 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5150 (build-system meson-build-system)
5151 (arguments
5152 '(#:glib-or-gtk? #t
5153 #:phases
5154 (modify-phases %standard-phases
5155 (add-after 'unpack 'skip-gtk-update-icon-cache
5156 (lambda _
5157 (substitute* "build-aux/post_install.py"
5158 (("gtk-update-icon-cache") (which "true")))
5159 #t)))))
5160 (native-inputs
5161 `(("pkg-config" ,pkg-config)
5162 ("desktop-file-utils" ,desktop-file-utils)
5163 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5164 ("intltool" ,intltool)
5165 ("itstool" ,itstool)
5166 ("vala" ,vala)
5167 ("xmllint" ,libxml2)))
5168 (inputs
5169 `(("gtk+" ,gtk+)
5170 ("json-glib" ,json-glib)
5171 ("libgee" ,libgee)
5172 ("librsvg" ,librsvg)
5173 ("qqwing" ,qqwing)))
5174 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5175 (synopsis "Japanese logic game")
5176 (description
5177 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5178 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5179 possible while still providing features that make playing difficult Sudoku
5180 more fun.")
5181 (license license:gpl2+)))
5182
5183 (define-public gnome-terminal
5184 (package
5185 (name "gnome-terminal")
5186 (version "3.34.2")
5187 (source
5188 (origin
5189 (method url-fetch)
5190 (uri (string-append "mirror://gnome/sources/" name "/"
5191 (version-major+minor version) "/"
5192 name "-" version ".tar.xz"))
5193 (sha256
5194 (base32
5195 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5196 (build-system glib-or-gtk-build-system)
5197 (arguments
5198 '(#:configure-flags
5199 (list "--disable-migration" "--disable-search-provider"
5200 "--without-nautilus-extension")
5201 #:phases
5202 (modify-phases %standard-phases
5203 (add-before 'configure 'patch-/bin/true
5204 (lambda _
5205 (substitute* "configure"
5206 (("/bin/true") (which "true"))))))))
5207 (native-inputs
5208 `(("pkg-config" ,pkg-config)
5209 ("desktop-file-utils" ,desktop-file-utils)
5210 ("intltool" ,intltool)
5211 ("itstool" ,itstool)
5212 ("xmllint" ,libxml2)))
5213 (propagated-inputs
5214 `(("dconf" ,dconf)))
5215 (inputs
5216 `(("gtk+" ,gtk+)
5217 ("vte" ,vte)
5218 ("gnutls" ,gnutls)
5219 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5220 ("util-linux" ,util-linux "lib")
5221 ("vala" ,vala)))
5222 (home-page "https://wiki.gnome.org/Apps/Terminal")
5223 (synopsis "Terminal emulator")
5224 (description
5225 "GNOME Terminal is a terminal emulator application for accessing a
5226 UNIX shell environment which can be used to run programs available on
5227 your system.
5228
5229 It supports several profiles, multiple tabs and implements several
5230 keyboard shortcuts.")
5231 (license license:gpl3+)))
5232
5233 (define-public colord
5234 (package
5235 (name "colord")
5236 (version "1.4.5")
5237 (source
5238 (origin
5239 (method url-fetch)
5240 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5241 "colord-" version ".tar.xz"))
5242 (sha256
5243 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5244 (build-system meson-build-system)
5245 (arguments
5246 '(;; FIXME: One test fails:
5247 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5248 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5249 ;; application/x-zerosize
5250 #:tests? #f
5251 #:glib-or-gtk? #t
5252 #:configure-flags (list "-Dlocalstatedir=/var"
5253 ;; No dep on systemd.
5254 "-Dsystemd=false"
5255 ;; Wants to install to global completion dir;
5256 ;; punt.
5257 "-Dbash_completion=false"
5258 "-Ddaemon_user=colord"
5259 "-Dsane=true"
5260 "-Dvapi=true"
5261 ;; Requires spotread.
5262 "-Dargyllcms_sensor=false"
5263 ;; TODO: Requires docbook2x.
5264 "-Dman=false")
5265 #:phases
5266 (modify-phases %standard-phases
5267 (add-before 'configure 'patch-build-system
5268 (lambda* (#:key outputs #:allow-other-keys)
5269 (substitute* "rules/meson.build"
5270 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5271 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5272 #t))
5273 (add-before 'configure 'set-sqlite3-file-name
5274 (lambda* (#:key inputs #:allow-other-keys)
5275 ;; "colormgr dump" works by invoking the "sqlite3" command.
5276 ;; Record its absolute file name.
5277 (let ((sqlite (assoc-ref inputs "sqlite")))
5278 (substitute* "client/cd-util.c"
5279 (("\"sqlite3\"")
5280 (string-append "\"" sqlite "/bin/sqlite3\"")))
5281 #t))))))
5282 (native-inputs
5283 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5284 ("gettext" ,gettext-minimal)
5285 ("gobject-introspection" ,gobject-introspection)
5286 ("gtk-doc" ,gtk-doc/stable)
5287 ("pkg-config" ,pkg-config)
5288 ("vala" ,vala)))
5289 (propagated-inputs
5290 ;; colord.pc refers to all these.
5291 `(("glib" ,glib)
5292 ("lcms" ,lcms)
5293 ("udev" ,eudev)))
5294 (inputs
5295 `(("dbus-glib" ,dbus-glib)
5296 ("gusb" ,gusb)
5297 ("libgudev" ,libgudev)
5298 ("libusb" ,libusb)
5299 ("polkit" ,polkit)
5300 ("python" ,python-wrapper)
5301 ("sqlite" ,sqlite)
5302 ("sane-backends" ,sane-backends)))
5303 (home-page "https://www.freedesktop.org/software/colord/")
5304 (synopsis "Color management service")
5305 (description "Colord is a system service that makes it easy to manage,
5306 install and generate color profiles to accurately color manage input and
5307 output devices.")
5308 (license license:gpl2+)))
5309
5310 (define-public geoclue
5311 (package
5312 (name "geoclue")
5313 (version "2.5.7")
5314 (source
5315 (origin
5316 (method url-fetch)
5317 (uri
5318 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5319 version "/geoclue-" version ".tar.bz2"))
5320 (sha256
5321 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5322 (patches (search-patches "geoclue-config.patch"))))
5323 (build-system meson-build-system)
5324 (arguments
5325 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5326 (native-inputs
5327 `(("pkg-config" ,pkg-config)
5328 ("gobject-introspection" ,gobject-introspection)
5329 ("modem-manager" ,modem-manager)
5330 ("libnotify" ,libnotify)
5331 ("gtk-doc" ,gtk-doc/stable)
5332 ("intltool" ,intltool)))
5333 (inputs
5334 `(("avahi" ,avahi)
5335 ("glib:bin" ,glib "bin")
5336 ("glib-networking" ,glib-networking)
5337 ("json-glib" ,json-glib)
5338 ("libsoup" ,libsoup)))
5339 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5340 (synopsis "Geolocation service")
5341 (description "Geoclue is a D-Bus service that provides location
5342 information. The primary goal of the Geoclue project is to make creating
5343 location-aware applications as simple as possible, while the secondary goal is
5344 to ensure that no application can access location information without explicit
5345 permission from user.")
5346 (license license:gpl2+)))
5347
5348 (define-public geocode-glib
5349 (package
5350 (name "geocode-glib")
5351 (version "3.26.2")
5352 (source (origin
5353 (method url-fetch)
5354 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5355 (version-major+minor version) "/"
5356 "geocode-glib-" version ".tar.xz"))
5357 (sha256
5358 (base32
5359 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5360 (build-system meson-build-system)
5361 (arguments
5362 `(#:phases
5363 (modify-phases %standard-phases
5364 ;; The tests require a bunch of locales.
5365 (add-before 'check 'set-locales
5366 (lambda* (#:key inputs #:allow-other-keys)
5367 (setenv "GUIX_LOCPATH"
5368 (string-append (assoc-ref inputs "glibc-locales")
5369 "/lib/locale"))
5370 #t)))))
5371 (native-inputs
5372 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5373 ("glibc-locales" ,glibc-locales) ; for tests
5374 ("gettext" ,gettext-minimal)
5375 ("gobject-introspection" ,gobject-introspection)
5376 ("gtk-doc" ,gtk-doc/stable)
5377 ("pkg-config" ,pkg-config)
5378 ("json-glib" ,json-glib)))
5379 (propagated-inputs
5380 ;; geocode-glib-1.0.pc refers to GIO.
5381 `(("glib" ,glib)))
5382 (inputs
5383 `(("libsoup" ,libsoup)))
5384 (home-page "https://github.com/GNOME/geocode-glib/")
5385 (synopsis "Geocoding and reverse-geocoding library")
5386 (description
5387 "geocode-glib is a convenience library for geocoding (finding longitude,
5388 and latitude from an address) and reverse geocoding (finding an address from
5389 coordinates) using the Nominatim service. geocode-glib caches requests for
5390 faster results and to avoid unnecessary server load.")
5391 (license license:lgpl2.0+)))
5392
5393 (define-public upower
5394 (package
5395 (name "upower")
5396 (version "0.99.12")
5397 (source
5398 (origin
5399 (method git-fetch)
5400 (uri (git-reference
5401 (url "https://gitlab.freedesktop.org/upower/upower")
5402 (commit (string-append "UPOWER_"
5403 (string-map (match-lambda (#\. #\_)
5404 (chr chr))
5405 version)))))
5406 (file-name (git-file-name name version))
5407 (sha256
5408 (base32 "00q63yc8vp5cq05vhpwq3qglapdm8hg0lrqkzdwkphk30qzb6hv6"))
5409 (patches (search-patches "upower-builddir.patch"))
5410 (modules '((guix build utils)))
5411 (snippet
5412 '(begin
5413 ;; Upstream commit
5414 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5415 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5416 ;; 'dbus-configuration-directory' in (gnu services dbus)
5417 ;; expects it in etc/. Thus, move it back to its previous
5418 ;; location.
5419 (substitute* "src/Makefile.am"
5420 (("^dbusconfdir =.*$")
5421 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5422 #t))))
5423 (build-system glib-or-gtk-build-system)
5424 (arguments
5425 '(#:phases
5426 (modify-phases %standard-phases
5427 (add-before 'check 'pre-check
5428 (lambda* (#:key inputs #:allow-other-keys)
5429 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5430 "/lib")))
5431 (setenv "LD_LIBRARY_PATH" umockdev))
5432 #t)))
5433 #:configure-flags (list "--localstatedir=/var"
5434 (string-append "--with-udevrulesdir="
5435 (assoc-ref %outputs "out")
5436 "/lib/udev/rules.d"))))
5437 (native-inputs
5438 `(("autoconf" ,autoconf)
5439 ("automake" ,automake)
5440 ("gobject-introspection" ,gobject-introspection)
5441 ("gtk-doc" ,gtk-doc)
5442 ("intltool" ,intltool)
5443 ("libtool" ,libtool)
5444 ("pkg-config" ,pkg-config)
5445 ("python" ,python)
5446 ("which" ,which) ; for ./autogen.sh
5447
5448 ;; For tests.
5449 ("python-dbus" ,python-dbus)
5450 ("python-dbusmock" ,python-dbusmock)
5451 ("python-pygobject" ,python-pygobject)
5452 ("umockdev" ,umockdev)
5453
5454 ;; For man pages.
5455 ("docbook-xsl" ,docbook-xsl)
5456 ("libxslt" ,libxslt) ; for 'xsltproc'
5457 ("libxml2" ,libxml2))) ; for 'XML_CATALOG_FILES'
5458 (inputs
5459 `(("dbus-glib" ,dbus-glib)
5460 ("libgudev" ,libgudev)
5461 ("libusb" ,libusb)))
5462 (propagated-inputs
5463 ;; In Requires of upower-glib.pc.
5464 `(("glib" ,glib)))
5465 (home-page "https://upower.freedesktop.org/")
5466 (synopsis "System daemon for managing power devices")
5467 (description
5468 "UPower is an abstraction for enumerating power devices,
5469 listening to device events and querying history and statistics. Any
5470 application or service on the system can access the org.freedesktop.UPower
5471 service via the system message bus.")
5472 (license license:gpl2+)))
5473
5474 (define-public libgweather
5475 (package
5476 (name "libgweather")
5477 (version "3.34.0")
5478 (source (origin
5479 (method url-fetch)
5480 (uri (string-append "mirror://gnome/sources/" name "/"
5481 (version-major+minor version) "/"
5482 name "-" version ".tar.xz"))
5483 (sha256
5484 (base32
5485 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5486 (build-system meson-build-system)
5487 (arguments
5488 `(#:tests? #f ; one of two tests requires network access
5489 #:configure-flags
5490 `(,(string-append "-Dzoneinfo_dir="
5491 (assoc-ref %build-inputs "tzdata")
5492 "/share/zoneinfo"))))
5493 (native-inputs
5494 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5495 ("gobject-introspection" ,gobject-introspection)
5496 ("pkg-config" ,pkg-config)
5497 ("vala" ,vala)
5498 ("intltool" ,intltool)))
5499 (propagated-inputs
5500 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5501 ;; libsoup.
5502 `(("gtk+" ,gtk+)
5503 ("gdk-pixbuf" ,gdk-pixbuf)
5504 ("libxml2" ,libxml2)
5505 ("libsoup" ,libsoup)
5506 ("geocode-glib" ,geocode-glib)))
5507 (inputs
5508 `(("tzdata" ,tzdata)))
5509 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5510 (synopsis "Location, time zone, and weather library for GNOME")
5511 (description
5512 "libgweather is a library to access weather information from online
5513 services for numerous locations.")
5514 (license license:gpl2+)))
5515
5516 (define-public gnome-settings-daemon
5517 (package
5518 (name "gnome-settings-daemon")
5519 (version "3.34.1")
5520 (source
5521 (origin
5522 (method url-fetch)
5523 (uri (string-append "mirror://gnome/sources/" name "/"
5524 (version-major+minor version) "/"
5525 name "-" version ".tar.xz"))
5526 (sha256
5527 (base32
5528 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5529 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5530 (build-system meson-build-system)
5531 (arguments
5532 `(#:glib-or-gtk? #t
5533 #:configure-flags
5534 (list (string-append "-Dudev_dir="
5535 (assoc-ref %outputs "out")
5536 "/lib/udev/rules.d/")
5537 "-Dsystemd=false"
5538 ;; Otherwise, the RUNPATH will lack the final path component.
5539 (string-append "-Dc_link_args=-Wl,-rpath="
5540 (assoc-ref %outputs "out")
5541 "/lib/gnome-settings-daemon-3.0"))
5542
5543 #:phases (modify-phases %standard-phases
5544 (add-before 'configure 'set-baobab-file-name
5545 (lambda* (#:key inputs #:allow-other-keys)
5546 ;; Hard-code the file name of Baobab instead of looking
5547 ;; it up in $PATH. This ensures users get the "Examine"
5548 ;; button in the low disk space notification of GDM even
5549 ;; if they don't have GNOME in their main profile.
5550 (let ((baobab (assoc-ref inputs "baobab")))
5551 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5552 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5553 (string-append "g_strdup (\"" baobab
5554 "/bin/baobab\")")))
5555 #t))))
5556
5557 ;; Color management test can't reach the colord system service.
5558 #:tests? #f))
5559 (native-inputs
5560 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5561 ("pkg-config" ,pkg-config)
5562 ("intltool" ,intltool)
5563 ("xsltproc" ,libxslt)
5564 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5565 ("docbook-xml" ,docbook-xml-4.2)
5566 ("docbook-xsl" ,docbook-xsl)))
5567 (inputs
5568 `(("alsa-lib" ,alsa-lib)
5569 ("baobab" ,baobab)
5570 ("colord" ,colord)
5571 ("libgudev" ,libgudev)
5572 ("upower" ,upower)
5573 ("polkit" ,polkit)
5574 ("pulseaudio" ,pulseaudio)
5575 ("libcanberra" ,libcanberra)
5576 ("libx11" ,libx11)
5577 ("libxtst" ,libxtst)
5578 ("lcms" ,lcms)
5579 ("libnotify" ,libnotify)
5580 ("geoclue" ,geoclue)
5581 ("geocode-glib" ,geocode-glib)
5582 ("libgweather" ,libgweather)
5583 ("gnome-desktop" ,gnome-desktop)
5584 ("nss" ,nss)
5585 ("cups" ,cups)
5586 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5587 ("libwacom" ,libwacom)
5588 ("librsvg" ,librsvg)
5589 ("xf86-input-wacom" ,xf86-input-wacom)
5590 ("wayland" ,wayland)
5591 ("network-manager" ,network-manager)
5592 ("gcr" ,gcr)
5593 ("modem-manager" ,modem-manager)))
5594 (home-page "https://www.gnome.org")
5595 (synopsis "GNOME settings daemon")
5596 (description
5597 "This package contains the daemon responsible for setting the various
5598 parameters of a GNOME session and the applications that run under it. It
5599 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5600 settings, themes, mouse settings, and startup of other daemons.")
5601 (license license:gpl2+)))
5602
5603 (define-public totem-pl-parser
5604 (package
5605 (name "totem-pl-parser")
5606 (version "3.26.6")
5607 (source (origin
5608 (method url-fetch)
5609 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5610 (version-major+minor version) "/"
5611 "totem-pl-parser-" version ".tar.xz"))
5612 (sha256
5613 (base32
5614 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
5615 (build-system meson-build-system)
5616 (arguments
5617 ;; FIXME: Tests require gvfs.
5618 `(#:tests? #f))
5619 (native-inputs
5620 `(("intltool" ,intltool)
5621 ("glib" ,glib "bin")
5622 ("gobject-introspection" ,gobject-introspection)
5623 ("pkg-config" ,pkg-config)))
5624 (propagated-inputs
5625 `(("glib" ,glib)
5626 ("gmime" ,gmime)
5627 ("libarchive" ,libarchive)
5628 ("libgcrypt" ,libgcrypt)
5629 ("libxml2" ,libxml2)))
5630 (inputs
5631 `(("libsoup" ,libsoup)))
5632 (home-page "https://projects.gnome.org/totem")
5633 (synopsis "Library to parse and save media playlists for GNOME")
5634 (description "Totem-pl-parser is a GObjects-based library to parse and save
5635 playlists in a variety of formats.")
5636 (license license:lgpl2.0+)))
5637
5638 (define-public aisleriot
5639 (package
5640 (name "aisleriot")
5641 (version "3.22.9")
5642 (source (origin
5643 (method url-fetch)
5644 (uri (string-append "mirror://gnome/sources/aisleriot/"
5645 (version-major+minor version) "/"
5646 "aisleriot-" version ".tar.xz"))
5647 (sha256
5648 (base32
5649 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5650 (build-system glib-or-gtk-build-system)
5651 (arguments
5652 '(#:configure-flags
5653 '("--with-platform=gtk-only"
5654 "--with-card-theme-formats=svg")))
5655 (native-inputs
5656 `(("desktop-file-utils" ,desktop-file-utils)
5657 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5658 ("intltool" ,intltool)
5659 ("itstool" ,itstool)
5660 ("pkg-config" ,pkg-config)
5661 ("xmllint" ,libxml2)))
5662 (inputs
5663 `(("gtk+" ,gtk+)
5664 ("guile" ,guile-2.2)
5665 ("libcanberra" ,libcanberra)
5666 ("librsvg" ,librsvg)))
5667 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5668 (synopsis "Solitaire card games")
5669 (description
5670 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5671 which are easy to play with the aid of a mouse.")
5672 (license license:gpl3+)))
5673
5674 (define-public amtk
5675 (package
5676 (name "amtk")
5677 (version "5.0.2")
5678 (source (origin
5679 (method url-fetch)
5680 (uri (string-append "mirror://gnome/sources/amtk/"
5681 (version-major+minor version) "/"
5682 "amtk-" version ".tar.xz"))
5683 (sha256
5684 (base32
5685 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5686 (build-system gnu-build-system)
5687 (arguments
5688 '(#:configure-flags '("--enable-gtk-doc")))
5689 (native-inputs
5690 `(("gobject-introspection" ,gobject-introspection)
5691 ("glib:bin" ,glib "bin") ; for glib-mkenums
5692 ("gtk-doc" ,gtk-doc/stable)
5693 ("pkg-config" ,pkg-config)))
5694 (inputs
5695 `(("glib" ,glib)
5696 ("gtk+" ,gtk+)))
5697 (home-page "https://wiki.gnome.org/Projects/Amtk")
5698 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5699 (description
5700 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5701 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5702 both a traditional UI or a modern UI with a GtkHeaderBar.")
5703 (license license:lgpl2.1+)))
5704
5705 (define-public devhelp
5706 (package
5707 (name "devhelp")
5708 (version "3.34.0")
5709 (source (origin
5710 (method url-fetch)
5711 (uri (string-append "mirror://gnome/sources/" name "/"
5712 (version-major+minor version) "/"
5713 name "-" version ".tar.xz"))
5714 (sha256
5715 (base32
5716 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5717 (build-system meson-build-system)
5718 (arguments
5719 '(#:glib-or-gtk? #t
5720 #:phases
5721 (modify-phases %standard-phases
5722 (add-after 'unpack 'skip-gtk-update-icon-cache
5723 ;; Don't create 'icon-theme.cache'.
5724 (lambda _
5725 (substitute* "meson_post_install.py"
5726 (("gtk-update-icon-cache") "true"))
5727 #t)))))
5728 (native-inputs
5729 `(("intltool" ,intltool)
5730 ("itstool" ,itstool)
5731 ("gobject-introspection" ,gobject-introspection)
5732 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5733 ("pkg-config" ,pkg-config)))
5734 (inputs
5735 `(("amtk" ,amtk)
5736 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5737 ("webkitgtk" ,webkitgtk)))
5738 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5739 (synopsis "API documentation browser for GNOME")
5740 (description
5741 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5742 natively with GTK-Doc (the API reference system developed for GTK+ and used
5743 throughout GNOME for API documentation).")
5744 (license license:gpl2+)))
5745
5746 (define-public cogl
5747 (package
5748 (name "cogl")
5749 (version "1.22.8")
5750 (source
5751 (origin
5752 (method url-fetch)
5753 (uri (string-append "mirror://gnome/sources/cogl/"
5754 (version-major+minor version) "/"
5755 "cogl-" version ".tar.xz"))
5756 (sha256
5757 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5758 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5759 ;; cogl, corresponding changes may be appropriate in mutter as well.
5760 (build-system gnu-build-system)
5761 (native-inputs
5762 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5763 ("gobject-introspection" ,gobject-introspection)
5764 ("xorg-server" ,xorg-server-for-tests)
5765 ("pkg-config" ,pkg-config)))
5766 (propagated-inputs
5767 `(("glib" ,glib)
5768 ("gdk-pixbuf" ,gdk-pixbuf)
5769 ("libx11" ,libx11)
5770 ("libxext" ,libxext)
5771 ("libxfixes" ,libxfixes)
5772 ("libxdamage" ,libxdamage)
5773 ("libxcomposite" ,libxcomposite)
5774 ("libxrandr" ,libxrandr)))
5775 (inputs
5776 `(("mesa" ,mesa)
5777 ("cairo" ,cairo)
5778 ("pango" ,pango)
5779 ("gstreamer" ,gstreamer)
5780 ("gst-plugins-base" ,gst-plugins-base)
5781 ("wayland" ,wayland)))
5782 (arguments
5783 `(#:disallowed-references (,xorg-server-for-tests)
5784 #:configure-flags (list "--enable-cogl-gst"
5785 "--enable-wayland-egl-platform"
5786 "--enable-wayland-egl-server"
5787
5788 ;; Arrange to pass an absolute file name to
5789 ;; dlopen for libGL.so.
5790 (string-append "--with-gl-libname="
5791 (assoc-ref %build-inputs "mesa")
5792 "/lib/libGL.so"))
5793 #:phases
5794 (modify-phases %standard-phases
5795 (add-after 'unpack 'fix-build-with-mesa-20
5796 (lambda _
5797 ;; Work around a problem with Mesa 20 where some macros used by
5798 ;; Cogl went missing from eglext.h. This can likely be removed
5799 ;; for newer versions of Cogl or Mesa.
5800 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5801 (substitute* '("configure"
5802 "cogl/winsys/cogl-winsys-egl-kms.c")
5803 (("#include <EGL/eglext.h>" all)
5804 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5805 #t))
5806 (add-before 'check 'start-xorg-server
5807 (lambda* (#:key tests? inputs #:allow-other-keys)
5808 (if tests?
5809 (begin
5810 ;; The test suite requires a running X server.
5811 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5812 (assoc-ref inputs "xorg-server")))
5813 (setenv "DISPLAY" ":1")
5814 #t)
5815 (format #t "test suite not run~%"))
5816 #t)))))
5817 (home-page "https://www.cogl3d.org")
5818 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5819 (description
5820 "Cogl is a small library for using 3D graphics hardware to draw pretty
5821 pictures. The API departs from the flat state machine style of OpenGL and is
5822 designed to make it easy to write orthogonal components that can render
5823 without stepping on each others toes.")
5824 (license (list license:expat ; most of the code
5825 license:bsd-3 ; cogl/cogl-point-in-poly.c
5826 license:sgifreeb2.0 ; cogl-path/tesselator/
5827 license:asl2.0)))) ; examples/android/
5828
5829 (define-public clutter
5830 (package
5831 (name "clutter")
5832 (version "1.26.2")
5833 (source
5834 (origin
5835 (method url-fetch)
5836 (uri (string-append "mirror://gnome/sources/" name "/"
5837 (version-major+minor version) "/"
5838 name "-" version ".tar.xz"))
5839 (sha256
5840 (base32
5841 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5842 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5843 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5844 (build-system gnu-build-system)
5845 (outputs '("out"
5846 "doc")) ;9 MiB of gtk-doc HTML pages
5847 (native-inputs
5848 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5849 ("gobject-introspection" ,gobject-introspection)
5850 ("pkg-config" ,pkg-config)
5851 ("xsltproc" ,libxslt)))
5852 (propagated-inputs
5853 `(("cogl" ,cogl)
5854 ("cairo" ,cairo)
5855 ("atk" ,atk)
5856 ("gtk+" ,gtk+)
5857 ("json-glib" ,json-glib)
5858 ("glib" ,glib)
5859 ("libxcomposite" ,libxcomposite)
5860 ("libxdamage" ,libxdamage)
5861 ("libxext" ,libxext)
5862 ("xinput" ,xinput)))
5863 (inputs
5864 `(("libxkbcommon" ,libxkbcommon)
5865 ("udev" ,eudev)))
5866 (arguments
5867 `(#:configure-flags (list "--enable-x11-backend=yes"
5868
5869 ;; This produces share/doc/{clutter,cally}.
5870 (string-append "--with-html-dir="
5871 (assoc-ref %outputs "doc")
5872 "/share/doc"))
5873 ;; XXX FIXME: Get test suite working. It would probably fail in the
5874 ;; same way the cogl tests fail, since clutter is based on cogl.
5875 #:tests? #f))
5876 (home-page "http://www.clutter-project.org")
5877 (synopsis "OpenGL-based interactive canvas library")
5878 (description
5879 "Clutter is an OpenGL-based interactive canvas library, designed for
5880 creating fast, mainly 2D single window applications such as media box UIs,
5881 presentations, kiosk style applications and so on.")
5882 (license license:lgpl2.0+)))
5883
5884 (define-public clutter-gtk
5885 (package
5886 (name "clutter-gtk")
5887 (version "1.8.4")
5888 (source
5889 (origin
5890 (method url-fetch)
5891 (uri (string-append "mirror://gnome/sources/" name "/"
5892 (version-major+minor version) "/"
5893 name "-" version ".tar.xz"))
5894 (sha256
5895 (base32
5896 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5897 (build-system gnu-build-system)
5898 (native-inputs
5899 `(("pkg-config" ,pkg-config)
5900 ("gobject-introspection" ,gobject-introspection)))
5901 (propagated-inputs
5902 ;; clutter-gtk.pc refers to all these.
5903 `(("clutter" ,clutter)
5904 ("gtk+" ,gtk+)))
5905 (home-page "http://www.clutter-project.org")
5906 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5907 (description
5908 "Clutter is an OpenGL-based interactive canvas library, designed for
5909 creating fast, mainly 2D single window applications such as media box UIs,
5910 presentations, kiosk style applications and so on.")
5911 (license license:lgpl2.0+)))
5912
5913 (define-public clutter-gst
5914 (package
5915 (name "clutter-gst")
5916 (version "3.0.27")
5917 (source
5918 (origin
5919 (method url-fetch)
5920 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5921 (version-major+minor version) "/"
5922 "clutter-gst-" version ".tar.xz"))
5923 (sha256
5924 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5925 (build-system gnu-build-system)
5926 (native-inputs
5927 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5928 ("pkg-config" ,pkg-config)
5929 ("gobject-introspection" ,gobject-introspection)))
5930 (inputs
5931 `(("clutter" ,clutter)
5932 ("gstreamer" ,gstreamer)
5933 ("gst-plugins-base" ,gst-plugins-base)))
5934 (home-page "http://www.clutter-project.org")
5935 (synopsis "Integration library for using GStreamer with Clutter")
5936 (description
5937 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5938 It provides a GStreamer sink to upload frames to GL and an actor that
5939 implements the ClutterGstPlayer interface using playbin. Clutter is an
5940 OpenGL-based interactive canvas library.")
5941 (license license:lgpl2.0+)))
5942
5943 (define-public libchamplain
5944 (package
5945 (name "libchamplain")
5946 (version "0.12.16")
5947 (source (origin
5948 (method url-fetch)
5949 (uri (string-append
5950 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5951 version ".tar.xz"))
5952 (sha256
5953 (base32
5954 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5955 (build-system gnu-build-system)
5956 (arguments '(#:configure-flags '("--enable-vala")))
5957 (native-inputs
5958 `(("gobject-introspection" ,gobject-introspection)
5959 ("pkg-config" ,pkg-config)
5960 ("vala" ,vala)))
5961 (propagated-inputs
5962 `(("libsoup" ,libsoup)
5963 ("sqlite" ,sqlite)
5964 ("clutter" ,clutter)
5965 ("clutter-gtk" ,clutter-gtk)
5966 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5967 ("cairo" ,cairo)
5968 ("gtk+3" ,gtk+)
5969 ("glib" ,glib)))
5970 (home-page "https://projects.gnome.org/libchamplain/")
5971 (synopsis "C library providing a ClutterActor to display maps")
5972 (description
5973 "libchamplain is a C library providing a ClutterActor to display maps.
5974 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5975 and Perl bindings are also available. It supports numerous free map sources
5976 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5977 (license license:lgpl2.1+)))
5978
5979 (define-public gom
5980 (package
5981 (name "gom")
5982 (version "0.3.2")
5983 (source
5984 (origin
5985 (method url-fetch)
5986 (uri (string-append "mirror://gnome/sources/gom/"
5987 (version-major+minor version) "/"
5988 "gom-" version ".tar.xz"))
5989 (sha256
5990 (base32
5991 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5992 (build-system gnu-build-system)
5993 (native-inputs
5994 `(("intltool" ,intltool)
5995 ("pkg-config" ,pkg-config)
5996 ("gobject-introspection" ,gobject-introspection)))
5997 (inputs
5998 `(("glib" ,glib)
5999 ("gdk-pixbuf" ,gdk-pixbuf)
6000 ("sqlite" ,sqlite)))
6001 ;; XXX TODO: Figure out how to run the test suite.
6002 (arguments `(#:tests? #f))
6003 (home-page "https://wiki.gnome.org/Projects/Gom")
6004 (synopsis "Object mapper from GObjects to SQLite")
6005 (description
6006 "Gom provides an object mapper from GObjects to SQLite. It helps you
6007 write applications that need to store structured data as well as make complex
6008 queries upon that data.")
6009 (license license:lgpl2.1+)))
6010
6011 (define-public libgnome-games-support
6012 (package
6013 (name "libgnome-games-support")
6014 (version "1.7.1")
6015 (source (origin
6016 (method url-fetch)
6017 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6018 (version-major+minor version) "/"
6019 "libgnome-games-support-" version ".tar.xz"))
6020 (sha256
6021 (base32
6022 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6023 (build-system meson-build-system)
6024 (arguments
6025 '(#:glib-or-gtk? #t
6026 #:phases
6027 (modify-phases %standard-phases
6028 (add-before 'check 'pre-check
6029 (lambda _
6030 ;; Tests require a writable HOME.
6031 (setenv "HOME" (getcwd))
6032 #t)))))
6033 (native-inputs
6034 `(("intltool" ,intltool)
6035 ("pkg-config" ,pkg-config)
6036 ("vala" ,vala)))
6037 (propagated-inputs
6038 ;; Required by libgnome-games-support-1.0.pc
6039 `(("gtk+" ,gtk+)
6040 ("libgee" ,libgee)))
6041 (home-page "https://www.gnome.org/")
6042 (synopsis "Useful functionality shared among GNOME games")
6043 (description
6044 "libgnome-games-support is a small library intended for internal use by
6045 GNOME Games, but it may be used by others.")
6046 (license license:lgpl3+)))
6047
6048 (define-public gnome-klotski
6049 (package
6050 (name "gnome-klotski")
6051 (version "3.34.0")
6052 (source (origin
6053 (method url-fetch)
6054 (uri (string-append "mirror://gnome/sources/" name "/"
6055 (version-major+minor version) "/"
6056 name "-" version ".tar.xz"))
6057 (sha256
6058 (base32
6059 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6060 (build-system meson-build-system)
6061 (arguments
6062 '(#:glib-or-gtk? #t
6063 #:phases
6064 (modify-phases %standard-phases
6065 (add-after 'unpack 'skip-gtk-update-icon-cache
6066 ;; Don't create 'icon-theme.cache'.
6067 (lambda _
6068 (substitute* "build-aux/meson_post_install.py"
6069 (("gtk-update-icon-cache") (which "true")))
6070 #t)))))
6071 (native-inputs
6072 `(("desktop-file-utils" ,desktop-file-utils)
6073 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6074 ("intltool" ,intltool)
6075 ("itstool" ,itstool)
6076 ("pkg-config" ,pkg-config)
6077 ("vala" ,vala)
6078 ("xmllint" ,libxml2)))
6079 (inputs
6080 `(("gtk+" ,gtk+)
6081 ("libgnome-games-support" ,libgnome-games-support)
6082 ("librsvg" ,librsvg)))
6083 (home-page "https://wiki.gnome.org/Apps/Klotski")
6084 (synopsis "Sliding block puzzles")
6085 (description
6086 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6087 the patterned block to the area bordered by green markers. To do so, you will
6088 need to slide other blocks out of the way. Complete each puzzle in as few moves
6089 as possible!")
6090 (license license:gpl2+)))
6091
6092 (define-public grilo
6093 (package
6094 (name "grilo")
6095 (version "0.3.12")
6096 (source
6097 (origin
6098 (method url-fetch)
6099 (uri (string-append "mirror://gnome/sources/grilo/"
6100 (version-major+minor version) "/"
6101 "grilo-" version ".tar.xz"))
6102 (sha256
6103 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6104 (build-system meson-build-system)
6105 (native-inputs
6106 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6107 ("intltool" ,intltool)
6108 ("pkg-config" ,pkg-config)
6109 ("gobject-introspection" ,gobject-introspection)
6110 ("gtk-doc" ,gtk-doc/stable)
6111 ("vala" ,vala)))
6112 (inputs
6113 `(("cyrus-sasl" ,cyrus-sasl)
6114 ("glib" ,glib)
6115 ("gtk+" ,gtk+)
6116 ("libxml2" ,libxml2)
6117 ("liboauth" ,liboauth)
6118 ("libsoup" ,libsoup)
6119 ("totem-pl-parser" ,totem-pl-parser)))
6120 (native-search-paths
6121 (list (search-path-specification
6122 (variable "GRL_PLUGIN_PATH")
6123 (files (list (string-append "lib/grilo-"
6124 (version-major+minor version)))))))
6125 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6126 (synopsis "Framework for discovering and browsing media")
6127 (description
6128 "Grilo is a framework focused on making media discovery and browsing easy
6129 for application developers.")
6130 (license license:lgpl2.1+)))
6131
6132 (define-public grilo-plugins
6133 (package
6134 (name "grilo-plugins")
6135 (version "0.3.11")
6136 (source
6137 (origin
6138 (method url-fetch)
6139 (uri (string-append "mirror://gnome/sources/" name "/"
6140 (version-major+minor version) "/"
6141 name "-" version ".tar.xz"))
6142 (sha256
6143 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6144 (build-system meson-build-system)
6145 (native-inputs
6146 `(("gettext" ,gettext-minimal)
6147 ("glib:bin" ,glib "bin")
6148 ("gtk+:bin" ,gtk+ "bin")
6149 ("itstool" ,itstool)
6150 ("pkg-config" ,pkg-config)))
6151 ;; TODO: ahavi, gstreamer
6152 (inputs
6153 `(("grilo" ,grilo)
6154 ;("gmime" ,gmime) ; unused
6155 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6156 ("gom" ,gom)
6157 ;("gssdp" ,gssdp) ; unused
6158 ;("gupnp" ,gupnp) ; unused
6159 ;("gupnp-av" ,gupnp-av) ; unused
6160 ("json-glib" ,json-glib)
6161 ("avahi" ,avahi)
6162 ("libgdata" ,libgdata)
6163 ("libmediaart" ,libmediaart)
6164 ;("librest" ,rest) ; unused
6165 ("libsoup" ,libsoup)
6166 ("totam-pl-parser" ,totem-pl-parser)
6167 ("tracker" ,tracker))) ; unused because it's too old
6168 (arguments
6169 `(#:glib-or-gtk? #t
6170 ;;Disable lua-factory as it needs missing dependencies
6171 #:configure-flags '("-Denable-lua-factory=no")))
6172 (home-page "https://live.gnome.org/Grilo")
6173 (synopsis "Plugins for the Grilo media discovery library")
6174 (description
6175 "Grilo is a framework focused on making media discovery and browsing easy
6176 for application developers. This package provides plugins for common media
6177 discovery protocols.")
6178 (license license:lgpl2.1+)))
6179
6180 (define-public totem
6181 (package
6182 (name "totem")
6183 (version "3.38.1")
6184 (source
6185 (origin
6186 (method url-fetch)
6187 (uri (string-append "mirror://gnome/sources/totem/"
6188 (version-major+minor version) "/"
6189 "totem-" version ".tar.xz"))
6190 (sha256
6191 (base32 "02510lvzvxvmpcs64k6sqix8ysl7sihhhwvp0vmfv7521ryczylg"))))
6192 (build-system meson-build-system)
6193 (native-inputs
6194 `(("pkg-config" ,pkg-config)
6195 ("desktop-file-utils" ,desktop-file-utils)
6196 ("gettext" ,gettext-minimal)
6197 ("gobject-introspection" ,gobject-introspection)
6198 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6199 ("itstool" ,itstool)
6200 ("xmllint" ,libxml2)
6201 ("xorg-server" ,xorg-server-for-tests)))
6202 (propagated-inputs
6203 `(("dconf" ,dconf)))
6204 (inputs
6205 `(("gtk+" ,gtk+)
6206 ("gdk-pixbuf" ,gdk-pixbuf)
6207 ("atk" ,atk)
6208 ("cairo" ,cairo)
6209 ("dbus-glib" ,dbus-glib)
6210 ("clutter" ,clutter)
6211 ("clutter-gtk" ,clutter-gtk)
6212 ("clutter-gst" ,clutter-gst)
6213 ("xorgproto" ,xorgproto)
6214 ("libxxf86vm" ,libxxf86vm)
6215 ("libxtst" ,libxtst)
6216 ("libxrandr" ,libxrandr)
6217 ("libxml2" ,libxml2)
6218 ("libsoup" ,libsoup)
6219 ("libpeas" ,libpeas)
6220 ("librsvg" ,librsvg)
6221 ("lirc" ,lirc)
6222 ("gnome-desktop" ,gnome-desktop)
6223 ("gstreamer" ,gstreamer)
6224 ("gst-plugins-base" ,gst-plugins-base)
6225 ("gst-plugins-good" ,gst-plugins-good)
6226 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6227 ("adwaita-icon-theme" ,adwaita-icon-theme)
6228 ("python" ,python)
6229 ("python-pygobject" ,python-pygobject)
6230 ("totem-pl-parser" ,totem-pl-parser)
6231 ("grilo" ,grilo)
6232 ("grilo-plugins" ,grilo-plugins)
6233 ("vala" ,vala)))
6234 (arguments
6235 `(#:glib-or-gtk? #t
6236
6237 ;; Disable automatic GStreamer plugin installation via PackageKit and
6238 ;; all that.
6239 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6240
6241 ;; Do not build .a files for the plugins, it's
6242 ;; completely useless. This saves 2 MiB.
6243 "--default-library" "shared")
6244 #:phases
6245 (modify-phases %standard-phases
6246 (add-after 'unpack 'skip-gtk-update-icon-cache
6247 ;; Don't create 'icon-theme.cache'.
6248 (lambda _
6249 (substitute* "meson_post_install.py"
6250 (("gtk-update-icon-cache") "true"))
6251 #t))
6252 (add-before
6253 'install 'disable-cache-generation
6254 (lambda _
6255 (setenv "DESTDIR" "/")
6256 #t))
6257 (add-before
6258 'check 'pre-check
6259 (lambda _
6260 ;; Tests require a running X server.
6261 (system "Xvfb :1 &")
6262 (setenv "DISPLAY" ":1")
6263 #t))
6264 (add-after
6265 'install 'wrap-totem
6266 (lambda* (#:key inputs outputs #:allow-other-keys)
6267 (let ((out (assoc-ref outputs "out"))
6268 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6269 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6270 (wrap-program (string-append out "/bin/totem")
6271 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6272 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6273 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6274 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6275 #t)))))
6276 (home-page "https://wiki.gnome.org/Apps/Videos")
6277 (synopsis "Simple media player for GNOME based on GStreamer")
6278 (description "Totem is a simple yet featureful media player for GNOME
6279 which can read a large number of file formats.")
6280 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6281 ;; to be used and distributed together with GStreamer and Totem. See
6282 ;; file://COPYING in the source distribution for details.
6283 (license license:gpl2+)))
6284
6285 (define-public rhythmbox
6286 (package
6287 (name "rhythmbox")
6288 (version "3.4.4")
6289 (source (origin
6290 (method url-fetch)
6291 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6292 (version-major+minor version) "/"
6293 "rhythmbox-" version ".tar.xz"))
6294 (sha256
6295 (base32
6296 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6297 (build-system glib-or-gtk-build-system)
6298 (arguments
6299 `(#:configure-flags
6300 (list "--enable-lirc"
6301 "--enable-python"
6302 "--enable-vala"
6303 "--with-brasero"
6304 "--with-gudev"
6305 "--with-libsecret")
6306 #:phases
6307 (modify-phases %standard-phases
6308 (add-after
6309 'install 'wrap-rhythmbox
6310 (lambda* (#:key inputs outputs #:allow-other-keys)
6311 (let ((out (assoc-ref outputs "out"))
6312 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6313 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6314 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6315 (python-path (getenv "PYTHONPATH")))
6316 (wrap-program (string-append out "/bin/rhythmbox")
6317 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6318 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6319 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6320 `("PYTHONPATH" ":" prefix (,python-path))))
6321 #t)))))
6322 (propagated-inputs
6323 `(("dconf" ,dconf)))
6324 (native-inputs
6325 `(("itstool" ,itstool)
6326 ("intltool" ,intltool)
6327 ("glib" ,glib "bin")
6328 ("gobject-introspection" ,gobject-introspection)
6329 ("desktop-file-utils" ,desktop-file-utils)
6330 ("pkg-config" ,pkg-config)
6331 ("xmllint" ,libxml2)))
6332 (inputs
6333 `(("json-glib" ,json-glib)
6334 ("tdb" ,tdb)
6335 ("gnome-desktop" ,gnome-desktop)
6336 ("python" ,python)
6337 ("python-pygobject" ,python2-pygobject)
6338 ("vala" ,vala)
6339 ("gmime" ,gmime)
6340 ("adwaita-icon-theme" ,adwaita-icon-theme)
6341 ("grilo" ,grilo)
6342 ("grilo-plugins" ,grilo-plugins)
6343 ("gstreamer" ,gstreamer)
6344 ("gst-plugins-base" ,gst-plugins-base)
6345 ("gst-plugins-good" ,gst-plugins-good)
6346 ("totem-pl-parser" ,totem-pl-parser)
6347 ("libgudev" ,libgudev)
6348 ;;("libmtp" ,libmtp) FIXME: Not detected
6349 ("libsecret" ,libsecret)
6350 ("libsoup" ,libsoup)
6351 ("libnotify" ,libnotify)
6352 ("libpeas" ,libpeas)
6353 ("lirc" ,lirc)
6354 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6355 ;;("clutter" ,clutter)
6356 ;;("clutter-gtk" ,clutter-gtk)
6357 ;;("clutter-gst" ,clutter-gst)
6358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6359 ("atk" ,atk)
6360 ("pango" ,pango)
6361 ("gtk+" ,gtk+)
6362 ;; TODO:
6363 ;; * libgpod
6364 ;; * mx
6365 ("brasero" ,brasero)))
6366 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6367 (synopsis "Music player for GNOME")
6368 (description "Rhythmbox is a music playing application for GNOME. It
6369 supports playlists, song ratings, and any codecs installed through gstreamer.")
6370 (license license:gpl2+)))
6371
6372 (define-public eog
6373 (package
6374 (name "eog")
6375 (version "3.34.1")
6376 (source (origin
6377 (method url-fetch)
6378 (uri (string-append "mirror://gnome/sources/" name "/"
6379 (version-major+minor version) "/"
6380 name "-" version ".tar.xz"))
6381 (sha256
6382 (base32
6383 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6384 (build-system meson-build-system)
6385 (arguments
6386 `(#:configure-flags
6387 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6388 (list (string-append "-Dc_link_args=-Wl,-rpath="
6389 (assoc-ref %outputs "out") "/lib/eog"))
6390 #:phases
6391 (modify-phases %standard-phases
6392 (add-after 'unpack 'skip-gtk-update-icon-cache
6393 ;; Don't create 'icon-theme.cache'.
6394 (lambda _
6395 (substitute* "meson_post_install.py"
6396 (("gtk-update-icon-cache") "true"))
6397 #t))
6398 (add-after 'install 'wrap-eog
6399 (lambda* (#:key outputs #:allow-other-keys)
6400 (let ((out (assoc-ref outputs "out"))
6401 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6402 (wrap-program (string-append out "/bin/eog")
6403 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6404 #t)))))
6405 (propagated-inputs
6406 `(("dconf" ,dconf)))
6407 (native-inputs
6408 `(("intltool" ,intltool)
6409 ("itstool" ,itstool)
6410 ("glib" ,glib "bin")
6411 ("gobject-introspection" ,gobject-introspection)
6412 ("pkg-config" ,pkg-config)
6413 ("xmllint" ,libxml2)))
6414 (inputs
6415 `(("gnome-desktop" ,gnome-desktop)
6416 ("shared-mime-info" ,shared-mime-info)
6417 ("adwaita-icon-theme" ,adwaita-icon-theme)
6418 ("exempi" ,exempi)
6419 ("lcms" ,lcms)
6420 ("libexif" ,libexif)
6421 ("libpeas" ,libpeas)
6422 ("libjpeg" ,libjpeg-turbo)
6423 ("librsvg" ,librsvg-next)
6424 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6425 ("gtk+" ,gtk+)))
6426 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6427 (synopsis "GNOME image viewer")
6428 (description "Eye of GNOME is the GNOME image viewer. It
6429 supports image conversion, rotation, and slideshows.")
6430 (license license:gpl2+)))
6431
6432 (define-public eog-plugins
6433 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6434 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6435 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6436 ;; 'XDG_DATA_DIRS' appropriately set.
6437 (package
6438 (name "eog-plugins")
6439 (version "3.26.4")
6440 (source (origin
6441 (method url-fetch)
6442 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6443 (version-major+minor version) "/"
6444 "eog-plugins-" version ".tar.xz"))
6445 (sha256
6446 (base32
6447 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6448 (build-system gnu-build-system)
6449 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6450 (synopsis "Extensions for the Eye of GNOME image viewer")
6451 (native-inputs
6452 `(("pkg-config" ,pkg-config)
6453 ("gettext" ,gettext-minimal)))
6454 (inputs
6455 `(("eog" ,eog)
6456 ("glib" ,glib)
6457 ("gtk+" ,gtk+)
6458 ("libpeas" ,libpeas)
6459 ("libexif" ,libexif)
6460 ("libchamplain" ,libchamplain)))
6461 (description
6462 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6463 notably:
6464
6465 @itemize
6466 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6467 @item @dfn{Map}, which displays a map of where the picture was taken on the
6468 side panel;
6469 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6470 @end itemize\n")
6471
6472 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6473 ;; long suspicious byte stream that goes to a
6474 ;; ".gresource.eog_postasa_plugin" ELF section.
6475 (license license:gpl2+)))
6476
6477 (define-public libgudev
6478 (package
6479 (name "libgudev")
6480 (version "236")
6481 (source (origin
6482 (method url-fetch)
6483 (uri (string-append "mirror://gnome/sources/" name "/"
6484 version "/" name "-" version ".tar.xz"))
6485 (sha256
6486 (base32
6487 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6488 (build-system meson-build-system)
6489 (native-inputs
6490 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6491 ("gobject-introspection" ,gobject-introspection)
6492 ("pkg-config" ,pkg-config)))
6493 (propagated-inputs
6494 `(("glib" ,glib) ; in Requires of gudev-1.0.pc
6495 ("eudev" ,eudev))) ; in Requires.private of gudev-1.0.pc
6496 (inputs
6497 `(("udev" ,eudev)))
6498 (home-page "https://wiki.gnome.org/Projects/libgudev")
6499 (synopsis "GObject bindings for libudev")
6500 (description
6501 "This library provides GObject bindings for libudev. It was originally
6502 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6503 (license license:lgpl2.1+)))
6504
6505 (define-public gvfs
6506 (package
6507 (name "gvfs")
6508 (version "1.40.2")
6509 (source (origin
6510 (method url-fetch)
6511 (uri (string-append "mirror://gnome/sources/gvfs/"
6512 (version-major+minor version) "/"
6513 "gvfs-" version ".tar.xz"))
6514 (sha256
6515 (base32
6516 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6517 ;; This patch may be removed when upgrading to version 1.46.x.
6518 (patches
6519 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6520 (build-system meson-build-system)
6521 (arguments
6522 '(#:glib-or-gtk? #t
6523 #:configure-flags
6524 (list "-Dsystemduserunitdir=no"
6525 "-Dtmpfilesdir=no"
6526 ;; Otherwise, the RUNPATH will lack the final path component.
6527 (string-append "-Dc_link_args=-Wl,-rpath="
6528 (assoc-ref %outputs "out") "/lib/gvfs"))))
6529 (native-inputs
6530 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6531 ("gettext" ,gettext-minimal)
6532 ("gtk-doc" ,gtk-doc/stable)
6533 ("pkg-config" ,pkg-config)
6534 ("xsltproc" ,libxslt)))
6535 (inputs
6536 `(("avahi" ,avahi)
6537 ("docbook-xml" ,docbook-xml-4.2)
6538 ("docbook-xsl" ,docbook-xsl)
6539 ("dbus" ,dbus)
6540 ("elogind" ,elogind)
6541 ("fuse" ,fuse)
6542 ("gcr" ,gcr)
6543 ("glib" ,glib)
6544 ("gnome-online-accounts" ,gnome-online-accounts)
6545 ("libarchive" ,libarchive)
6546 ("libbluray" ,libbluray)
6547 ("libcap" ,libcap)
6548 ("libcdio-paranoia" ,libcdio-paranoia)
6549 ("libgcrypt" ,libgcrypt)
6550 ("libgdata" ,libgdata)
6551 ("libgphoto2" ,libgphoto2)
6552 ("libgudev" ,libgudev)
6553 ("libimobiledevice" ,libimobiledevice)
6554 ("libmtp" ,libmtp)
6555 ("libnfs" ,libnfs)
6556 ("libsecret" ,libsecret)
6557 ("libsmbclient" ,samba)
6558 ("libsoup" ,libsoup)
6559 ("libxml2" ,libxml2)
6560 ("openssh" ,openssh)
6561 ("polkit" ,polkit)
6562 ("udisks" ,udisks)))
6563 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6564 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6565 "CVE-2019-12448"
6566 "CVE-2019-12449"))))
6567 (home-page "https://wiki.gnome.org/gvfs/")
6568 (synopsis "Userspace virtual file system for GIO")
6569 (description
6570 "GVFS is a userspace virtual file system designed to work with the I/O
6571 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6572 to all applications using the GIO API. It also supports exposing the GVFS
6573 mounts to non-GIO applications using FUSE.
6574
6575 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6576 DAV, and others.")
6577 (license license:lgpl2.0+)))
6578
6579 (define-public gusb
6580 (package
6581 (name "gusb")
6582 (version "0.3.5")
6583 (source (origin
6584 (method git-fetch)
6585 (uri (git-reference
6586 (url "https://github.com/hughsie/libgusb")
6587 (commit version)))
6588 (file-name (git-file-name name version))
6589 (sha256
6590 (base32
6591 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6592 (build-system meson-build-system)
6593 (native-inputs
6594 `(("gobject-introspection" ,gobject-introspection)
6595 ("pkg-config" ,pkg-config)
6596 ("vala" ,vala)
6597 ("gtk-doc" ,gtk-doc/stable)))
6598 (propagated-inputs
6599 ;; Both of these are required by gusb.pc.
6600 `(("glib" ,glib)
6601 ("libusb" ,libusb)))
6602 (arguments
6603 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6604 (home-page "https://github.com/hughsie/libgusb")
6605 (synopsis "GLib binding for libusb1")
6606 (description
6607 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6608 asynchronous control, bulk and interrupt transfers with proper cancellation
6609 and integration into a mainloop. This makes it easy to integrate low level
6610 USB transfers with your high-level application or system daemon.")
6611 (license license:lgpl2.1+)))
6612
6613 (define-public simple-scan
6614 (package
6615 (name "simple-scan")
6616 (version "3.38.2")
6617 (source
6618 (origin
6619 (method url-fetch)
6620 (uri (string-append "mirror://gnome/sources/simple-scan/"
6621 (version-major+minor version) "/"
6622 "simple-scan-" version ".tar.xz"))
6623 (sha256
6624 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6625 (build-system meson-build-system)
6626 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6627 (arguments
6628 '(#:glib-or-gtk? #t))
6629 (inputs
6630 `(("gtk" ,gtk+)
6631 ("zlib" ,zlib)
6632 ("cairo" ,cairo)
6633 ("colord" ,colord)
6634 ("gdk-pixbuf" ,gdk-pixbuf)
6635 ("gusb" ,gusb)
6636 ("libsane" ,sane-backends)))
6637 (native-inputs
6638 `(("gettext" ,gettext-minimal)
6639 ("itstool" ,itstool)
6640 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6641 ("pkg-config" ,pkg-config)
6642 ("vala" ,vala)
6643 ("xmllint" ,libxml2)))
6644 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6645 (synopsis "Document and image scanner")
6646 (description
6647 "Document Scanner is an easy-to-use application that lets you connect your
6648 scanner and quickly capture images and documents in an appropriate format. It
6649 supports any scanner for which a suitable SANE driver is available, which is
6650 almost all of them.")
6651 (license license:gpl3+)))
6652
6653 (define-public eolie
6654 (package
6655 (name "eolie")
6656 (version "0.9.101")
6657 (source (origin
6658 (method url-fetch)
6659 (uri (string-append "https://adishatz.org/eolie/eolie-"
6660 version ".tar.xz"))
6661 (sha256
6662 (base32
6663 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6664 (build-system meson-build-system)
6665 (arguments
6666 `(#:glib-or-gtk? #t
6667 #:phases
6668 (modify-phases %standard-phases
6669 (add-after 'unpack 'skip-gtk-update-icon-cache
6670 ;; Don't create 'icon-theme.cache'.
6671 (lambda _
6672 (substitute* "meson_post_install.py"
6673 (("gtk-update-icon-cache") "true"))
6674 #t))
6675 (add-after 'wrap 'wrap-more
6676 (lambda* (#:key inputs outputs #:allow-other-keys)
6677 (let* ((out (assoc-ref outputs "out"))
6678 ;; These libraries must be on LD_LIBRARY_PATH.
6679 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6680 "atk" "gtk+" "gsettings-desktop-schemas"
6681 "gobject-introspection"))
6682 (path (string-join
6683 (map (lambda (lib)
6684 (string-append (assoc-ref inputs lib) "/lib"))
6685 libs)
6686 ":")))
6687 (wrap-program (string-append out "/bin/eolie")
6688 `("LD_LIBRARY_PATH" ":" prefix (,path))
6689 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6690 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6691 #t)))))
6692 (native-inputs
6693 `(("intltool" ,intltool)
6694 ("itstool" ,itstool)
6695 ("pkg-config" ,pkg-config)
6696 ("python" ,python)
6697 ("glib:bin" ,glib "bin")))
6698 (inputs
6699 `(("gobject-introspection" ,gobject-introspection)
6700 ("glib-networking" ,glib-networking)
6701 ("cairo" ,cairo)
6702 ("gtk+" ,gtk+)
6703 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6704 ("python" ,python-wrapper)
6705 ("python-dateutil" ,python-dateutil)
6706 ("python-pyfxa" ,python-pyfxa)
6707 ("python-pygobject" ,python-pygobject)
6708 ("python-pycairo" ,python-pycairo)
6709 ("python-pycrypto" ,python-pycrypto)
6710 ("libhandy" ,libhandy)
6711 ("libsecret" ,libsecret)
6712 ("gtkspell3" ,gtkspell3)
6713 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6714 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6715 ("webkitgtk" ,webkitgtk)))
6716 (home-page "https://wiki.gnome.org/Apps/Eolie")
6717 (synopsis "Web browser for GNOME")
6718 (description
6719 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6720 a secret password store, an adblocker, and a modern UI.")
6721 (license license:gpl3+)))
6722
6723 (define-public epiphany
6724 (package
6725 (name "epiphany")
6726 (version "3.34.4")
6727 (source (origin
6728 (method url-fetch)
6729 (uri (string-append "mirror://gnome/sources/epiphany/"
6730 (version-major+minor version) "/"
6731 "epiphany-" version ".tar.xz"))
6732 (sha256
6733 (base32
6734 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6735
6736 (build-system meson-build-system)
6737 (arguments
6738 '(#:glib-or-gtk? #t
6739 #:phases
6740 (modify-phases %standard-phases
6741 (add-after 'unpack 'skip-gtk-update-icon-cache
6742 ;; Don't create 'icon-theme.cache'.
6743 (lambda _
6744 (substitute* "post_install.py"
6745 (("gtk-update-icon-cache") "true"))
6746 #t))
6747 (add-after 'unpack 'disable-failing-tests
6748 (lambda _
6749 (substitute* "tests/meson.build"
6750 ;; embed_shell fails, because webkitgtk apparently no longer supports
6751 ;; overriding the ftp schema
6752 ;; web_app_utils fails due to missing network access
6753 (("(embed_shell|web_app_utils)_test,")
6754 "find_program('sh'), args: ['-c', 'exit 77'],"))
6755 #t))
6756 (add-before 'check 'pre-check
6757 (lambda _
6758 ;; Tests require a running X server.
6759 (system "Xvfb :1 &")
6760 (setenv "DISPLAY" ":1")
6761 #t)))
6762 #:configure-flags
6763 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6764 (list (string-append "-Dc_link_args=-Wl,-rpath="
6765 (assoc-ref %outputs "out") "/lib/epiphany"))))
6766 (propagated-inputs
6767 `(("dconf" ,dconf)))
6768 (native-inputs
6769 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6770 ("glib:bin" ,glib "bin") ; for glib-mkenums
6771 ("intltool" ,intltool)
6772 ("itstool" ,itstool)
6773 ("pkg-config" ,pkg-config)
6774 ("xmllint" ,libxml2)
6775 ("xorg-server" ,xorg-server-for-tests)))
6776 (inputs
6777 `(("avahi" ,avahi)
6778 ("gcr" ,gcr)
6779 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6780 ("glib-networking" ,glib-networking)
6781 ("gnome-desktop" ,gnome-desktop)
6782 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6783 ("json-glib" ,json-glib)
6784 ("iso-codes" ,iso-codes)
6785 ("libdazzle" ,libdazzle)
6786 ("libnotify" ,libnotify)
6787 ("libsecret" ,libsecret)
6788 ("libxslt" ,libxslt)
6789 ("nettle" ,nettle) ; for hogweed
6790 ("sqlite" ,sqlite)
6791 ("webkitgtk" ,webkitgtk)))
6792 (home-page "https://wiki.gnome.org/Apps/Web")
6793 (synopsis "GNOME web browser")
6794 (description
6795 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6796 principles are simplicity and standards compliance.")
6797 (license license:gpl2+)))
6798
6799 (define-public d-feet
6800 (package
6801 (name "d-feet")
6802 (version "0.3.14")
6803 (source (origin
6804 (method url-fetch)
6805 (uri (string-append "mirror://gnome/sources/" name "/"
6806 (version-major+minor version) "/"
6807 name "-" version ".tar.xz"))
6808 (sha256
6809 (base32
6810 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6811 (build-system glib-or-gtk-build-system)
6812 (arguments
6813 '(#:out-of-source? #f ; tests need to run in the source directory.
6814 #:phases
6815 (modify-phases %standard-phases
6816 (add-before
6817 'check 'pre-check
6818 (lambda _
6819 ;; The test suite requires a running X server.
6820 (system "Xvfb :1 &")
6821 (setenv "DISPLAY" ":1")
6822 ;; Don't fail on missing '/etc/machine-id'.
6823 (setenv "DBUS_FATAL_WARNINGS" "0")
6824 ;; tests.py and window.py don't meet E402:
6825 ;; E402 module level import not at top of file
6826 (substitute* "src/tests/Makefile"
6827 (("--ignore=E123") "--ignore=E123,E402"))
6828 #t))
6829 (add-after
6830 'install 'wrap-program
6831 (lambda* (#:key outputs #:allow-other-keys)
6832 (let ((prog (string-append (assoc-ref outputs "out")
6833 "/bin/d-feet")))
6834 (wrap-program prog
6835 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6836 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6837 #t))))))
6838 (native-inputs
6839 `(("intltool" ,intltool)
6840 ("itstool" ,itstool)
6841 ("pkg-config" ,pkg-config)
6842 ("python-pep8" ,python-pep8)
6843 ("xmllint" ,libxml2)
6844 ("xorg-server" ,xorg-server-for-tests)))
6845 (inputs
6846 `(("gobject-introspection" ,gobject-introspection)
6847 ("gtk+" ,gtk+)
6848 ("python" ,python-wrapper)
6849 ("hicolor-icon-theme" ,hicolor-icon-theme)
6850 ("python-pygobject" ,python-pygobject)))
6851 (home-page "https://wiki.gnome.org/Apps/DFeet")
6852 (synopsis "D-Bus debugger")
6853 (description
6854 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6855 of running programs and invoke methods on those interfaces.")
6856 (license license:gpl2+)))
6857
6858 (define-public yelp-xsl
6859 (package
6860 (name "yelp-xsl")
6861 (version "3.34.2")
6862 (source
6863 (origin
6864 (method url-fetch)
6865 (uri
6866 (string-append "mirror://gnome/sources/" name "/"
6867 (version-major+minor version) "/"
6868 name "-" version ".tar.xz"))
6869 (sha256
6870 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6871 (build-system gnu-build-system)
6872 (native-inputs
6873 `(("gettext-minimal" ,gettext-minimal)
6874 ("itstool" ,itstool)
6875 ("xmllint" ,libxml2)))
6876 (synopsis "XSL stylesheets for Yelp")
6877 (description "Yelp-XSL is a collection of programs and data files to help
6878 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6879 that can be built upon for help viewers and publishing systems. These
6880 stylesheets output JavaScript and CSS content, and reference images
6881 provided by yelp-xsl. It also redistributes copies of the jQuery and
6882 jQuery.Syntax JavaScript libraries.")
6883 (home-page "https://wiki.gnome.org/Apps/Yelp")
6884 (license
6885 (list
6886 ;; XSLT
6887 license:gpl2+
6888 ;; Images
6889 license:lgpl2.1+
6890 ;; JavaScript
6891 license:expat))))
6892
6893 (define-public yelp
6894 (package
6895 (name "yelp")
6896 (version "3.32.2")
6897 (source (origin
6898 (method url-fetch)
6899 (uri (string-append "mirror://gnome/sources/" name "/"
6900 (version-major+minor version) "/"
6901 name "-" version ".tar.xz"))
6902 (sha256
6903 (base32
6904 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6905 (build-system glib-or-gtk-build-system)
6906 (native-inputs
6907 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6908 ("intltool" ,intltool)
6909 ("itstool" ,itstool)
6910 ("pkg-config" ,pkg-config)))
6911 (propagated-inputs
6912 `(("dconf" ,dconf)))
6913 (inputs
6914 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6915 ("libxslt" ,libxslt)
6916 ("sqlite" ,sqlite)
6917 ("webkitgtk" ,webkitgtk)
6918 ("yelp-xsl" ,yelp-xsl)))
6919 (home-page "https://wiki.gnome.org/Apps/Yelp")
6920 (synopsis "GNOME help browser")
6921 (description
6922 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6923 man, info, and HTML documents. It can locate documents according to the
6924 freedesktop.org help system specification.")
6925 (license license:gpl2+)))
6926
6927 (define-public yelp-tools
6928 (package
6929 (name "yelp-tools")
6930 (version "3.32.2")
6931 (source
6932 (origin
6933 (method url-fetch)
6934 (uri
6935 (string-append "mirror://gnome/sources/" name "/"
6936 (version-major+minor version) "/"
6937 name "-" version ".tar.xz"))
6938 (sha256
6939 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6940 (build-system gnu-build-system)
6941 (native-inputs
6942 `(("pkg-config" ,pkg-config)))
6943 (inputs
6944 `(("yelp-xsl" ,yelp-xsl)))
6945 (propagated-inputs
6946 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6947 `(("itstool" ,itstool)
6948 ("xmllint" ,libxml2)
6949 ("xsltproc" ,libxslt)))
6950 (synopsis "Yelp documentation tools")
6951 (description
6952 "Yelp-tools is a collection of scripts and build utilities to help create,
6953 manage, and publish documentation for Yelp and the web. Most of the heavy
6954 lifting is done by packages like yelp-xsl and itstool. This package just
6955 wraps things up in a developer-friendly way.")
6956 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6957 (license license:gpl2+)))
6958
6959 (define-public libgee
6960 (package
6961 (name "libgee")
6962 (version "0.20.3")
6963 (source (origin
6964 (method url-fetch)
6965 (uri (string-append "mirror://gnome/sources/libgee/"
6966 (version-major+minor version) "/"
6967 "libgee-" version ".tar.xz"))
6968 (sha256
6969 (base32
6970 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6971 (build-system gnu-build-system)
6972 (arguments
6973 `(#:phases
6974 (modify-phases %standard-phases
6975 (add-after 'unpack 'fix-introspection-install-dir
6976 (lambda* (#:key outputs #:allow-other-keys)
6977 (let ((out (assoc-ref outputs "out")))
6978 (substitute* "gee/Makefile.in"
6979 (("@INTROSPECTION_GIRDIR@")
6980 (string-append out "/share/gir-1.0/"))
6981 (("@INTROSPECTION_TYPELIBDIR@")
6982 (string-append out "/lib/girepository-1.0/")))))))))
6983 (native-inputs
6984 `(("glib" ,glib "bin")
6985 ("pkg-config" ,pkg-config)))
6986 (inputs
6987 `(("glib" ,glib)
6988 ("gobject-introspection" ,gobject-introspection)))
6989 (home-page "https://wiki.gnome.org/Projects/Libgee")
6990 (synopsis "GObject collection library")
6991 (description
6992 "Libgee is a utility library providing GObject-based interfaces and
6993 classes for commonly used data structures.")
6994 (license license:lgpl2.1+)))
6995
6996 (define-public gexiv2
6997 (package
6998 (name "gexiv2")
6999 (version "0.12.2")
7000 (source (origin
7001 (method url-fetch)
7002 (uri (string-append "mirror://gnome/sources/" name "/"
7003 (version-major+minor version) "/"
7004 name "-" version ".tar.xz"))
7005 (sha256
7006 (base32
7007 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7008 (build-system meson-build-system)
7009 (native-inputs
7010 `(("gcr" ,gcr)
7011 ("glib" ,glib "bin")
7012 ("pkg-config" ,pkg-config)
7013 ("vala" ,vala)))
7014 (propagated-inputs
7015 ;; Listed in "Requires" section of gexiv2.pc
7016 `(("exiv2" ,exiv2)))
7017 (inputs
7018 `(("glib" ,glib)
7019 ("gobject-introspection" ,gobject-introspection)))
7020 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7021 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7022 (description
7023 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7024 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7025 metadata in photo and video files of various formats.")
7026 (license license:gpl2+)))
7027
7028 (define-public shotwell
7029 (package
7030 (name "shotwell")
7031 (version "0.30.12")
7032 (source (origin
7033 (method url-fetch)
7034 (uri (string-append "mirror://gnome/sources/shotwell/"
7035 (version-major+minor version) "/"
7036 "shotwell-" version ".tar.xz"))
7037 (sha256
7038 (base32
7039 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
7040 (build-system meson-build-system)
7041 (arguments
7042 '(#:glib-or-gtk? #t
7043 #:phases
7044 (modify-phases %standard-phases
7045 (add-after 'unpack 'skip-gtk-update-icon-cache
7046 (lambda _
7047 (substitute* "build-aux/meson/postinstall.py"
7048 (("gtk-update-icon-cache") (which "true"))
7049 (("update-desktop-database") (which "true")))
7050 #t)))))
7051 (propagated-inputs
7052 `(("dconf" ,dconf)))
7053 (native-inputs
7054 `(("gettext" ,gettext-minimal)
7055 ("glib:bin" ,glib "bin")
7056 ("itstool" ,itstool)
7057 ("pkg-config" ,pkg-config)
7058 ("vala" ,vala)))
7059 (inputs
7060 `(("gcr" ,gcr)
7061 ("gexiv2" ,gexiv2)
7062 ("gst-plugins-base" ,gst-plugins-base)
7063 ("gstreamer" ,gstreamer)
7064 ("json-glib" ,json-glib)
7065 ("libgdata" ,libgdata)
7066 ("libgee" ,libgee)
7067 ("libgphoto2" ,libgphoto2)
7068 ("libgudev" ,libgudev)
7069 ("libraw" ,libraw)
7070 ("libsoup" ,libsoup)
7071 ("libxml2" ,libxml2)
7072 ("sqlite" ,sqlite)
7073 ("webkitgtk" ,webkitgtk)))
7074 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7075 (synopsis "Photo manager for GNOME 3")
7076 (description
7077 "Shotwell is a digital photo manager designed for the GNOME desktop
7078 environment. It allows you to import photos from disk or camera, organize
7079 them by keywords and events, view them in full-window or fullscreen mode, and
7080 share them with others via social networking and more.")
7081 (license license:lgpl2.1+)))
7082
7083 (define-public file-roller
7084 (package
7085 (name "file-roller")
7086 (version "3.38.0")
7087 (source (origin
7088 (method url-fetch)
7089 (uri (string-append "mirror://gnome/sources/file-roller/"
7090 (version-major+minor version) "/"
7091 "file-roller-" version ".tar.xz"))
7092 (sha256
7093 (base32
7094 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7095 (build-system meson-build-system)
7096 (native-inputs
7097 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7098 ("intltool" ,intltool)
7099 ("itstool" ,itstool)
7100 ("pkg-config" ,pkg-config)
7101 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7102 ("glib:bin" ,glib "bin")))
7103 ;; TODO: Add libnautilus.
7104 (inputs
7105 `(("gtk+" ,gtk+)
7106 ("gdk-pixbuf" ,gdk-pixbuf)
7107 ("json-glib" ,json-glib)
7108 ("libarchive" ,libarchive)
7109 ("libnotify" ,libnotify)
7110 ("nettle" ,nettle)
7111 ("libxml2" ,libxml2)))
7112 (synopsis "Graphical archive manager for GNOME")
7113 (description "File Roller is an archive manager for the GNOME desktop
7114 environment that allows users to view, unpack, and create compressed archives
7115 such as gzip tarballs.")
7116 (home-page "http://fileroller.sourceforge.net/")
7117 (license license:gpl2+)))
7118
7119 (define-public gnome-session
7120 (package
7121 (name "gnome-session")
7122 (version "3.34.2")
7123 (source (origin
7124 (method url-fetch)
7125 (uri (string-append "mirror://gnome/sources/" name "/"
7126 (version-major+minor version) "/"
7127 name "-" version ".tar.xz"))
7128 (sha256
7129 (base32
7130 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7131 (arguments
7132 '(#:glib-or-gtk? #t
7133 #:phases
7134 (modify-phases %standard-phases
7135 (add-before 'configure 'pre-configure
7136 (lambda* (#:key outputs #:allow-other-keys)
7137 ;; Use elogind instead of systemd.
7138 (substitute* "meson.build"
7139 (("libsystemd-login") "libelogind")
7140 (("and libsystemd_daemon_dep.found.*") ","))
7141 (substitute* "gnome-session/gsm-systemd.c"
7142 (("#include <systemd/sd-login.h>")
7143 "#include <elogind/sd-login.h>"))
7144 ;; Remove uses of the systemd daemon.
7145 (substitute* "gnome-session/gsm-autostart-app.c"
7146 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7147 #t))
7148 (add-after 'install 'wrap-gnome-session
7149 (lambda* (#:key inputs outputs #:allow-other-keys)
7150 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7151 (let ((glib (assoc-ref inputs "glib:bin"))
7152 (out (assoc-ref outputs "out")))
7153 (wrap-program (string-append out "/bin/gnome-session")
7154 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7155 #t))))
7156
7157 #:configure-flags
7158 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7159 "-Dman=false" ; FIXME: disabled because of docbook validation error
7160 "-Dsystemd_journal=false")))
7161 (build-system meson-build-system)
7162 (native-inputs
7163 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7164 ("pkg-config" ,pkg-config)
7165 ("intltool" ,intltool)
7166 ("xsltproc" ,libxslt)
7167 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7168 ("docbook-xsl" ,docbook-xsl)
7169 ("docbook-xml" ,docbook-xml)
7170 ("xmlto" ,xmlto)))
7171 (inputs
7172 `(("elogind" ,elogind)
7173 ("gnome-desktop" ,gnome-desktop)
7174 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7175 ("gtk+" ,gtk+)
7176 ("json-glib" ,json-glib)
7177 ("libsm" ,libsm)
7178 ("libxcomposite" ,libxcomposite)
7179 ("libxtst" ,libxtst)
7180 ("mesa" ,mesa)
7181 ("upower" ,upower)
7182 ("xtrans" ,xtrans)))
7183 (synopsis "Session manager for GNOME")
7184 (description
7185 "This package contains the GNOME session manager, as well as a
7186 configuration program to choose applications starting on login.")
7187 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7188 (license license:gpl2+)))
7189
7190 (define-public gjs
7191 (package
7192 (name "gjs")
7193 (version "1.58.3")
7194 (source (origin
7195 (method url-fetch)
7196 (uri (string-append "mirror://gnome/sources/" name "/"
7197 (version-major+minor version) "/"
7198 name "-" version ".tar.xz"))
7199 (sha256
7200 (base32
7201 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7202 (build-system gnu-build-system)
7203 (arguments
7204 '(#:phases
7205 (modify-phases %standard-phases
7206 (add-before
7207 'check 'pre-check
7208 (lambda _
7209 ;; The test suite requires a running X server.
7210 (system "Xvfb :1 &")
7211 (setenv "DISPLAY" ":1")
7212
7213 ;; For the missing /etc/machine-id.
7214 (setenv "DBUS_FATAL_WARNINGS" "0")
7215
7216 ;; Our mozjs-38 package does not compile the required Intl API
7217 ;; support for these failing tests.
7218 (substitute* "installed-tests/js/testLocale.js"
7219 ((".*toBeDefined.*") "")
7220 ((".*expect\\(datestr\\).*") ""))
7221 (substitute* "installed-tests/scripts/testCommandLine.sh"
7222 (("Valentín") "")
7223 (("☭") ""))
7224 #t)))))
7225 (native-inputs
7226 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7227 ("pkg-config" ,pkg-config)
7228 ("xmllint" ,libxml2)
7229 ;; For testing
7230 ("dbus-launch" ,dbus)
7231 ("dconf" ,dconf) ; required to properly store settings
7232 ("uuidgen" ,util-linux)
7233 ("xvfb" ,xorg-server-for-tests)))
7234 (propagated-inputs
7235 ;; These are all in the Requires.private field of gjs-1.0.pc.
7236 `(("cairo" ,cairo)
7237 ("gobject-introspection" ,gobject-introspection)
7238 ("mozjs" ,mozjs-60)))
7239 (inputs
7240 `(("gtk+" ,gtk+)
7241 ("readline" ,readline)))
7242 (synopsis "Javascript bindings for GNOME")
7243 (home-page "https://live.gnome.org/Gjs")
7244 (description
7245 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7246 javascript engine and the GObject introspection framework.")
7247 (license license:gpl2+)))
7248
7249 (define-public gedit
7250 (package
7251 (name "gedit")
7252 (version "3.34.1")
7253 (source (origin
7254 (method url-fetch)
7255 (uri (string-append "mirror://gnome/sources/" name "/"
7256 (version-major+minor version) "/"
7257 name "-" version ".tar.xz"))
7258 (sha256
7259 (base32
7260 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7261 (build-system meson-build-system)
7262 (arguments
7263 `(#:glib-or-gtk? #t
7264 #:configure-flags
7265 ;; Otherwise, the RUNPATH will lack the final path component.
7266 (list (string-append "-Dc_link_args=-Wl,-rpath="
7267 (assoc-ref %outputs "out") "/lib/gedit"))
7268
7269 ;; XXX: Generated .h files are sometimes used before being built.
7270 #:parallel-build? #f
7271
7272 #:phases
7273 (modify-phases %standard-phases
7274 (add-after 'unpack 'skip-gtk-update-icon-cache
7275 ;; Don't create 'icon-theme.cache'.
7276 (lambda _
7277 (substitute* "build-aux/meson/post_install.py"
7278 (("gtk-update-icon-cache") (which "true")))
7279 #t))
7280 (add-after 'unpack 'patch-libgd-fetch
7281 (lambda* (#:key inputs #:allow-other-keys)
7282 (let ((libgd (assoc-ref inputs "libgd")))
7283 ;; Calling git is unnecessary because libgd is fetched as a
7284 ;; native input to this package.
7285 (substitute* "meson.build"
7286 ((".*git.*") ""))
7287 (copy-recursively libgd "subprojects/libgd")
7288 #t)))
7289 (add-after 'install 'wrap-gedit
7290 (lambda* (#:key inputs outputs #:allow-other-keys)
7291 (let ((out (assoc-ref outputs "out"))
7292 (gtksourceview (assoc-ref inputs "gtksourceview"))
7293 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7294 (python-path (getenv "PYTHONPATH")))
7295 (wrap-program (string-append out "/bin/gedit")
7296 ;; For plugins.
7297 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7298 `("PYTHONPATH" ":" prefix (,python-path))
7299 ;; For language-specs.
7300 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7301 "/share")))))
7302 #t)))))
7303 (propagated-inputs
7304 `(("dconf" ,dconf)))
7305 (native-inputs
7306 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7307 ("intltool" ,intltool)
7308 ("itstool" ,itstool)
7309 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7310 ("gobject-introspection" ,gobject-introspection)
7311 ("libgd"
7312 ,(origin
7313 (method git-fetch)
7314 (uri (git-reference
7315 (url "https://gitlab.gnome.org/GNOME/libgd")
7316 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7317 (file-name (git-file-name "libgd" version))
7318 (sha256
7319 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7320 ("pkg-config" ,pkg-config)))
7321 (inputs
7322 `(("glib" ,glib)
7323 ("gspell" ,gspell)
7324 ("gtk+" ,gtk+)
7325 ("gtksourceview" ,gtksourceview)
7326 ("libpeas" ,libpeas)
7327 ("libxml2" ,libxml2)
7328 ("iso-codes" ,iso-codes)
7329 ("python-pygobject" ,python-pygobject)
7330 ("python" ,python)
7331 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7332 ("libx11" ,libx11)
7333 ("vala" ,vala)
7334 ("adwaita-icon-theme" ,adwaita-icon-theme)
7335 ("libsoup" ,libsoup)
7336 ("gnome-desktop" ,gnome-desktop)))
7337 (home-page "https://wiki.gnome.org/Apps/Gedit")
7338 (synopsis "GNOME text editor")
7339 (description "While aiming at simplicity and ease of use, gedit is a
7340 powerful general purpose text editor.")
7341 (license license:gpl2+)))
7342
7343 (define-public zenity
7344 (package
7345 (name "zenity")
7346 (version "3.32.0")
7347 (source (origin
7348 (method url-fetch)
7349 (uri (string-append "mirror://gnome/sources/zenity/"
7350 (version-major+minor version) "/"
7351 "zenity-" version ".tar.xz"))
7352 (sha256
7353 (base32
7354 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7355 (build-system gnu-build-system)
7356 (native-inputs
7357 `(("gettext" ,gettext-minimal)
7358 ("itstool" ,itstool)
7359 ("pkg-config" ,pkg-config)))
7360 (inputs
7361 `(("libnotify" ,libnotify)
7362 ("webkitgtk" ,webkitgtk)))
7363 (synopsis "Display graphical dialog boxes from shell scripts")
7364 (home-page "https://www.gnome.org")
7365 (description
7366 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7367 to display dialog boxes from the commandline and shell scripts.")
7368 (license license:lgpl2.0+)))
7369
7370 (define-public mutter
7371 (package
7372 (name "mutter")
7373 (version "3.34.2")
7374 (source (origin
7375 (method url-fetch)
7376 (uri (string-append "mirror://gnome/sources/" name "/"
7377 (version-major+minor version) "/"
7378 name "-" version ".tar.xz"))
7379 (sha256
7380 (base32
7381 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7382 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7383 ;; versions of cogl and clutter. As a result, many of the inputs,
7384 ;; propagated-inputs, and configure flags used in cogl and clutter are
7385 ;; needed here as well.
7386 (build-system meson-build-system)
7387 (arguments
7388 '(;; XXX: All mutter tests fail with the following error:
7389 ;; Settings schema 'org.gnome.mutter' is not installed
7390 #:tests? #f
7391 #:glib-or-gtk? #t
7392 #:configure-flags
7393 ;; TODO: Enable profiler when Sysprof is packaged.
7394 (list "-Dprofiler=false"
7395 ;; Otherwise, the RUNPATH will lack the final path component.
7396 (string-append "-Dc_link_args=-Wl,-rpath="
7397 (assoc-ref %outputs "out") "/lib:"
7398 (assoc-ref %outputs "out") "/lib/mutter-5")
7399
7400 ;; The following flags are needed for the bundled clutter
7401 (string-append "-Dxwayland_path="
7402 (assoc-ref %build-inputs "xorg-server-xwayland")
7403 "/bin/Xwayland")
7404
7405 ;; the remaining flags are needed for the bundled cogl
7406 (string-append "-Dopengl_libname="
7407 (assoc-ref %build-inputs "mesa")
7408 "/lib/libGL.so"))
7409 #:phases (modify-phases %standard-phases
7410 (add-after 'unpack 'fix-build-with-mesa-20
7411 (lambda _
7412 ;; Mimic upstream commit a444a4c5f58ea516ad for
7413 ;; compatibility with Mesa 20. Remove for 3.36.
7414 (substitute* '("src/backends/meta-egl-ext.h"
7415 "src/backends/meta-egl.c"
7416 "src/backends/meta-egl.h")
7417 (("#include <EGL/eglext\\.h>" all)
7418 (string-append all "\n#include <EGL/eglmesaext.h>")))
7419 (substitute* "cogl/cogl/meson.build"
7420 (("#include <EGL/eglext\\.h>" all)
7421 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7422 #t)))))
7423 (native-inputs
7424 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7425 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7426 ("gobject-introspection" ,gobject-introspection)
7427 ("intltool" ,intltool)
7428 ("pkg-config" ,pkg-config)
7429 ("xorg-server" ,xorg-server-for-tests)
7430 ;; For git build
7431 ("autoconf" ,autoconf)
7432 ("automake" ,automake)
7433 ("libtool" ,libtool)))
7434 (propagated-inputs
7435 `(;; libmutter.pc refers to these:
7436 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7437 ("gtk+" ,gtk+)
7438 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7439 ("atk" ,atk)
7440 ("cairo" ,cairo)
7441 ("gdk-pixbuf" ,gdk-pixbuf)
7442 ("glib" ,glib)
7443 ("json-glib" ,json-glib)
7444 ("libinput" ,libinput)
7445 ("libx11" ,libx11)
7446 ("libxcomposite" ,libxcomposite)
7447 ("libxdamage" ,libxdamage)
7448 ("libxext" ,libxext)
7449 ("libxfixes" ,libxfixes)
7450 ("libxkbcommon" ,libxkbcommon)
7451 ("libxrandr" ,libxrandr)
7452 ("mesa" ,mesa)
7453 ("pango" ,pango)
7454 ("udev" ,eudev)
7455 ("xinput" ,xinput)))
7456 (inputs
7457 `(("elogind" ,elogind)
7458 ("gnome-desktop" ,gnome-desktop)
7459 ("gnome-settings-daemon" ,gnome-settings-daemon)
7460 ("libcanberra-gtk" ,libcanberra)
7461 ("libgudev" ,libgudev)
7462 ("libice" ,libice)
7463 ("libsm" ,libsm)
7464 ("libwacom" ,libwacom)
7465 ("libxkbfile" ,libxkbfile)
7466 ("libxrandr" ,libxrandr)
7467 ("libxtst" ,libxtst)
7468 ("pipewire" ,pipewire)
7469 ("startup-notification" ,startup-notification)
7470 ("upower-glib" ,upower)
7471 ("xkeyboard-config" ,xkeyboard-config)
7472 ("xorg-server-xwayland" ,xorg-server-xwayland)
7473 ("zenity" ,zenity)))
7474 (synopsis "Window and compositing manager")
7475 (home-page "https://www.gnome.org")
7476 (description
7477 "Mutter is a window and compositing manager that displays and manages your
7478 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7479 Clutter toolkit with solid window-management logic inherited from the Metacity
7480 window manager.")
7481 (license license:gpl2+)))
7482
7483 (define-public gnome-online-accounts
7484 (package
7485 (name "gnome-online-accounts")
7486 (version "3.36.0")
7487 (source (origin
7488 (method url-fetch)
7489 (uri (string-append "mirror://gnome/sources/" name "/"
7490 (version-major+minor version) "/"
7491 name "-" version ".tar.xz"))
7492 (sha256
7493 (base32
7494 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7495 (outputs '("out" "lib"))
7496 (build-system glib-or-gtk-build-system)
7497 (arguments
7498 `(#:configure-flags
7499 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7500 #:phases
7501 (modify-phases %standard-phases
7502 (add-before 'configure 'patch-libgoa-output
7503 (lambda* (#:key outputs #:allow-other-keys)
7504 (let ((lib (assoc-ref outputs "lib")))
7505 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7506 (("@prefix@") lib)
7507 (("@exec_prefix@") lib)
7508 (("@libdir@") (string-append lib "/lib"))
7509 (("@includedir@") (string-append lib "/include"))
7510 (("@datadir@") (string-append lib "/share")))
7511 ;; Make sure gobject-introspection knows about the output
7512 ;; too (see <https://bugs.gnu.org/36535>).
7513 (setenv "outputs" "out lib")
7514 #t))))))
7515 (native-inputs
7516 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7517 ("gobject-introspection" ,gobject-introspection)
7518 ("intltool" ,intltool)
7519 ("pkg-config" ,pkg-config)
7520 ("vala" ,vala)
7521 ("xsltproc" ,libxslt)))
7522 (propagated-inputs
7523 `(("glib" ,glib) ; required by goa-1.0.pc
7524 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7525 (inputs
7526 `(("docbook-xsl" ,docbook-xsl)
7527 ("json-glib" ,json-glib)
7528 ("libsecret" ,libsecret)
7529 ("rest" ,rest)
7530 ("webkitgtk" ,webkitgtk)))
7531 (synopsis "Single sign-on framework for GNOME")
7532 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7533 (description
7534 "GNOME Online Accounts provides interfaces so that applications and
7535 libraries in GNOME can access the user's online accounts. It has providers for
7536 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7537 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7538 (license license:lgpl2.0+)))
7539
7540 (define-public evolution-data-server
7541 (package
7542 (name "evolution-data-server")
7543 (version "3.34.2")
7544 (source (origin
7545 (method url-fetch)
7546 (uri (string-append "mirror://gnome/sources/" name "/"
7547 (version-major+minor version) "/"
7548 name "-" version ".tar.xz"))
7549 (patches (search-patches "evolution-data-server-locales.patch"
7550 "evolution-data-server-libical-compat.patch"
7551 "evolution-data-server-CVE-2020-14928.patch"
7552 "evolution-data-server-CVE-2020-16117.patch"))
7553 (sha256
7554 (base32
7555 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7556 (build-system cmake-build-system)
7557 (arguments
7558 '(#:configure-flags
7559 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7560 (runpaths (map (lambda (s)
7561 (string-append lib "/evolution-data-server/" s))
7562 '("addressbook-backends" "calendar-backends"
7563 "camel-providers" "credential-modules"
7564 "registry-modules"))))
7565 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7566 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7567 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7568 "-DENABLE_VALA_BINDINGS=ON"
7569 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7570 (string-append lib "/evolution-data-server;")
7571 (string-join runpaths ";"))
7572 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7573 #:phases
7574 (modify-phases %standard-phases
7575 (add-after 'unpack 'disable-failing-tests
7576 (lambda _
7577 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7578 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7579 (delete-file-recursively "tests/book-migration")
7580 (substitute* "tests/CMakeLists.txt"
7581 (("add_subdirectory\\(book-migration\\)") ""))
7582 #t))
7583 (add-after 'unpack 'patch-paths
7584 (lambda _
7585 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7586 "tests/libedata-book/data-test-utils.c"
7587 "tests/libedata-book/test-book-cache-utils.c"
7588 "tests/libedata-cal/test-cal-cache-utils.c")
7589 (("/bin/rm") (which "rm")))
7590 #t))
7591 (add-before 'configure 'dont-override-rpath
7592 (lambda _
7593 (substitute* "CMakeLists.txt"
7594 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7595 ;; Remove it so the configure flag is respected.
7596 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7597 #t)))))
7598 (native-inputs
7599 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7600 ("gobject-introspection" ,gobject-introspection)
7601 ("gperf" ,gperf)
7602 ("intltool" ,intltool)
7603 ("pkg-config" ,pkg-config)
7604 ("vala" ,vala)
7605 ("python" ,python-wrapper)))
7606 (propagated-inputs
7607 ;; These are all in the Requires field of .pc files.
7608 `(("gtk+" ,gtk+)
7609 ("libical" ,libical)
7610 ("libsecret" ,libsecret)
7611 ("libsoup" ,libsoup)
7612 ("nss" ,nss)
7613 ("sqlite" ,sqlite)))
7614 (inputs
7615 `(("bdb" ,bdb)
7616 ("gcr" ,gcr)
7617 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7618 ("json-glib" ,json-glib)
7619 ("libcanberra" ,libcanberra)
7620 ("libgweather" ,libgweather)
7621 ("mit-krb5" ,mit-krb5)
7622 ("openldap" ,openldap)
7623 ("webkitgtk" ,webkitgtk)))
7624 (synopsis "Store address books and calendars")
7625 (home-page "https://wiki.gnome.org/Apps/Evolution")
7626 (description
7627 "This package provides a unified backend for programs that work with
7628 contacts, tasks, and calendar information. It was originally developed for
7629 Evolution (hence the name), but is now used by other packages as well.")
7630 (license license:lgpl2.0)))
7631
7632 (define-public caribou
7633 (package
7634 (name "caribou")
7635 (version "0.4.21")
7636 (source (origin
7637 (method url-fetch)
7638 (uri (string-append "mirror://gnome/sources/" name "/"
7639 (version-major+minor version) "/"
7640 name "-" version ".tar.xz"))
7641 (sha256
7642 (base32
7643 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7644 (build-system glib-or-gtk-build-system)
7645 (arguments
7646 '(#:phases
7647 (modify-phases %standard-phases
7648 (add-before
7649 'build 'pre-build
7650 (lambda* (#:key outputs #:allow-other-keys)
7651 (let ((out (assoc-ref outputs "out")))
7652 ;; Use absolute shared library path in Caribou-1.0.typelib.
7653 (substitute* "libcaribou/Makefile"
7654 (("--shared-library=libcaribou.so")
7655 (string-append "--shared-library="
7656 out "/lib/libcaribou.so")))
7657 #t)))
7658 (add-after 'install 'wrap-programs
7659 (lambda* (#:key outputs #:allow-other-keys)
7660 (let* ((out (assoc-ref outputs "out"))
7661 (python-path (getenv "PYTHONPATH"))
7662 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7663 (for-each
7664 (lambda (prog)
7665 (wrap-program prog
7666 `("PYTHONPATH" ":" prefix (,python-path))
7667 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7668 (list (string-append out "/bin/caribou-preferences")
7669 (string-append out "/libexec/antler-keyboard"))))
7670 #t)))))
7671 (native-inputs
7672 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7673 ("gobject-introspection" ,gobject-introspection)
7674 ("intltool" ,intltool)
7675 ("pkg-config" ,pkg-config)
7676 ("python" ,python)
7677 ("vala" ,vala)
7678 ("xsltproc" ,libxslt)))
7679 (propagated-inputs
7680 ;; caribou-1.0.pc refers to all these.
7681 `(("libgee" ,libgee)
7682 ("libxklavier" ,libxklavier)
7683 ("libxtst" ,libxtst)
7684 ("gtk+" ,gtk+)))
7685 (inputs
7686 `(("clutter" ,clutter)
7687 ("dconf" ,dconf)
7688 ("gtk+-2" ,gtk+-2)
7689 ("python-pygobject" ,python-pygobject)))
7690 (synopsis "Text entry and UI navigation application")
7691 (home-page "https://wiki.gnome.org/Projects/Caribou")
7692 (description
7693 "Caribou is an input assistive technology intended for switch and pointer
7694 users.")
7695 (license license:lgpl2.1)))
7696
7697 (define-public network-manager
7698 (package
7699 (name "network-manager")
7700 (version "1.24.0")
7701 (source (origin
7702 (method url-fetch)
7703 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7704 (version-major+minor version) "/"
7705 "NetworkManager-" version ".tar.xz"))
7706 (patches (search-patches "network-manager-plugin-path.patch"))
7707 (sha256
7708 (base32
7709 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7710 (modules '((guix build utils)))
7711 (snippet
7712 '(begin
7713 (substitute* "src/devices/wwan/nm-modem-manager.c"
7714 (("systemd") "elogind"))
7715 #t))))
7716 (build-system meson-build-system)
7717 (outputs '("out"
7718 "doc")) ; 8 MiB of gtk-doc HTML
7719 (arguments
7720 `(#:configure-flags
7721 (let ((out (assoc-ref %outputs "out"))
7722 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7723 "/sbin/dhclient")))
7724 (list
7725 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7726 ;; component.
7727 (string-append "-Dc_link_args=-Wl,-rpath="
7728 out "/lib:"
7729 out "/lib/NetworkManager/" ,version)
7730 "-Dsystemd_journal=false"
7731 "-Dsession_tracking=elogind"
7732 "-Dsuspend_resume=elogind"
7733 "-Dsystemdsystemunitdir=no"
7734 "-Dsession_tracking_consolekit=false"
7735 "-Ddhcpcd=no"
7736 "-Ddhcpcanon=no"
7737 "-Dcrypto=gnutls"
7738 "-Diwd=true"
7739 "-Dlibaudit=yes"
7740 "-Dqt=false"
7741 "-Ddocs=true"
7742 "--sysconfdir=/etc"
7743 "--localstatedir=/var"
7744 (string-append "-Dudev_dir="
7745 out "/lib/udev")
7746 (string-append "-Ddbus_conf_dir="
7747 out "/etc/dbus-1/system.d")
7748
7749 (string-append "-Ddhclient=" dhclient)))
7750 #:phases
7751 (modify-phases %standard-phases
7752 (add-before 'configure 'pre-configure
7753 (lambda _
7754 ;; These tests try to test aspects of network-manager's
7755 ;; functionality within restricted containers, but they don't
7756 ;; cope with being already in the Guix build jail as that jail
7757 ;; lacks some features that they would like to proxy over (like
7758 ;; a /sys mount).
7759 (substitute* "src/platform/tests/meson.build"
7760 ((".*test-address-linux.*") "")
7761 ((".*test-cleanup-linux.*") "")
7762 ((".*test-link-linux.*") "")
7763 ((".*test-route-linux.*") ""))
7764 (substitute* "src/devices/tests/meson.build"
7765 ((".*test-acd.*") "")
7766 ((".*test-lldp.*") ""))
7767 #t))
7768 (add-after 'unpack 'patch-docbook-xml
7769 (lambda* (#:key inputs #:allow-other-keys)
7770 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7771 "/xml/dtd/docbook")))
7772 (substitute* (find-files "." ".*\\.(xsl|xml)")
7773 (("http://.*/docbookx\\.dtd")
7774 (string-append xmldoc "/docbookx.dtd")))
7775 #t)))
7776 (add-before 'check 'pre-check
7777 (lambda _
7778 ;; For the missing /etc/machine-id.
7779 (setenv "DBUS_FATAL_WARNINGS" "0")
7780 #t))
7781 (add-before 'install 'no-polkit-magic
7782 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7783 (lambda _
7784 (setenv "PKEXEC_UID" "something")
7785 #t))
7786 (add-after 'install 'move-doc
7787 (lambda* (#:key outputs #:allow-other-keys)
7788 (let ((out (assoc-ref outputs "out"))
7789 (doc (assoc-ref outputs "doc")))
7790 (mkdir-p (string-append doc "/share"))
7791 (for-each (lambda (directory)
7792 (copy-recursively (string-append out directory)
7793 (string-append doc directory))
7794 (delete-file-recursively
7795 (string-append out directory)))
7796 '("/share/doc" "/share/gtk-doc"))
7797 #t))))))
7798 (propagated-inputs
7799 `(("glib" ,glib)))
7800 (native-inputs
7801 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7802 ("gtk-doc" ,gtk-doc/stable)
7803 ("gobject-introspection" ,gobject-introspection)
7804 ("docbook-xml" ,docbook-xml)
7805 ("docbook-xsl" ,docbook-xsl)
7806 ("intltool" ,intltool)
7807 ("libxslt" ,libxslt)
7808 ("libxml2" ,libxml2)
7809 ("pkg-config" ,pkg-config)
7810 ("vala" ,vala)
7811 ;; For testing.
7812 ("python" ,python-wrapper)
7813 ("python-dbus" ,python-dbus)
7814 ("python-pygobject" ,python-pygobject)))
7815 (inputs
7816 `(("curl" ,curl)
7817 ("cyrus-sasl" ,cyrus-sasl)
7818 ("dbus-glib" ,dbus-glib)
7819 ("dnsmasq" ,dnsmasq)
7820 ("eudev" ,eudev)
7821 ("gnutls" ,gnutls)
7822 ("iptables" ,iptables)
7823 ("isc-dhcp" ,isc-dhcp)
7824 ("iwd" ,iwd) ; wpa_supplicant alternative
7825 ("jansson" ,jansson)
7826 ("libaudit" ,audit)
7827 ("libgcrypt" ,libgcrypt)
7828 ("libgudev" ,libgudev)
7829 ("libndp" ,libndp)
7830 ("libnl" ,libnl)
7831 ("libsoup" ,libsoup)
7832 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7833 ("modem-manager" ,modem-manager)
7834 ("newt" ,newt) ;for the 'nmtui' console interface
7835 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7836 ("polkit" ,polkit)
7837 ("ppp" ,ppp)
7838 ("readline" ,readline)
7839 ("util-linux" ,util-linux)
7840 ("elogind" ,elogind)))
7841 (synopsis "Network connection manager")
7842 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7843 (description
7844 "NetworkManager is a system network service that manages your network
7845 devices and connections, attempting to keep active network connectivity when
7846 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7847 devices, and provides VPN integration with a variety of different VPN
7848 services.")
7849 ;; “This NetworkManager project consists of the daemon, client tools, and
7850 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7851 ;; GPL-2.0+.”
7852 (license (list license:gpl2+
7853 license:lgpl2.1+))
7854 (properties '((upstream-name . "NetworkManager")))))
7855
7856 (define-public network-manager-openvpn
7857 (package
7858 (name "network-manager-openvpn")
7859 (version "1.8.12")
7860 (source (origin
7861 (method url-fetch)
7862 (uri (string-append
7863 "mirror://gnome/sources/NetworkManager-openvpn/"
7864 (version-major+minor version)
7865 "/NetworkManager-openvpn-" version ".tar.xz"))
7866 (sha256
7867 (base32
7868 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7869 (build-system gnu-build-system)
7870 (arguments
7871 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7872 #:phases
7873 (modify-phases %standard-phases
7874 (add-after 'configure 'patch-path
7875 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7876 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7877 "/sbin/openvpn"))
7878 (modprobe (string-append (assoc-ref inputs "kmod")
7879 "/bin/modprobe"))
7880 (pretty-ovpn (string-append "\"" ovpn "\"")))
7881 (for-each
7882 (lambda (file)
7883 (substitute* file
7884 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7885 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7886 (("\"/sbin/openvpn\"") pretty-ovpn)
7887 (("/sbin/modprobe") modprobe)))
7888 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7889 #t)))))
7890 (native-inputs
7891 `(("pkg-config" ,pkg-config)
7892 ("intltool" ,intltool)))
7893 (inputs
7894 `(("gtk+" ,gtk+)
7895 ("kmod" ,kmod)
7896 ("openvpn" ,openvpn)
7897 ("network-manager" ,network-manager)
7898 ("libnma" ,libnma)
7899 ("libsecret" ,libsecret)))
7900 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7901 (synopsis "OpenVPN plug-in for NetworkManager")
7902 (description
7903 "This extension of NetworkManager allows it to take care of connections
7904 to virtual private networks (VPNs) via OpenVPN.")
7905 (license license:gpl2+)
7906 (properties `((upstream-name . "NetworkManager-openvpn")))))
7907
7908 (define-public network-manager-vpnc
7909 (package
7910 (name "network-manager-vpnc")
7911 (version "1.2.6")
7912 (source (origin
7913 (method url-fetch)
7914 (uri (string-append
7915 "mirror://gnome/sources/NetworkManager-vpnc/"
7916 (version-major+minor version)
7917 "/NetworkManager-vpnc-" version ".tar.xz"))
7918 (sha256
7919 (base32
7920 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7921 (build-system gnu-build-system)
7922 (arguments
7923 `(#:configure-flags '("--enable-absolute-paths"
7924 "--localstatedir=/var"
7925 ;; libnm-glib has been removed from network-manager
7926 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7927 "--with-libnm-glib=no")
7928 #:phases
7929 (modify-phases %standard-phases
7930 (add-after 'configure 'patch-path
7931 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7932 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7933 "/sbin/vpnc"))
7934 (modprobe (string-append (assoc-ref inputs "kmod")
7935 "/bin/modprobe"))
7936 (pretty-ovpn (string-append "\"" vpnc "\"")))
7937 (substitute* "src/nm-vpnc-service.c"
7938 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7939 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7940 (("\"/sbin/vpnc\"") pretty-ovpn)
7941 (("/sbin/modprobe") modprobe)))
7942 #t)))))
7943 (native-inputs
7944 `(("pkg-config" ,pkg-config)
7945 ("intltool" ,intltool)))
7946 (inputs
7947 `(("gtk+" ,gtk+)
7948 ("kmod" ,kmod)
7949 ("vpnc" ,vpnc)
7950 ("network-manager" ,network-manager)
7951 ("libnma" ,libnma)
7952 ("libsecret" ,libsecret)))
7953 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7954 (synopsis "VPNC plug-in for NetworkManager")
7955 (description
7956 "Support for configuring virtual private networks based on VPNC.
7957 Compatible with Cisco VPN concentrators configured to use IPsec.")
7958 (license license:gpl2+)
7959 (properties `((upstream-name . "NetworkManager-vpnc")))))
7960
7961 (define-public network-manager-openconnect
7962 (package
7963 (name "network-manager-openconnect")
7964 (version "1.2.6")
7965 (source (origin
7966 (method url-fetch)
7967 (uri (string-append
7968 "mirror://gnome/sources/NetworkManager-openconnect/"
7969 (version-major+minor version)
7970 "/NetworkManager-openconnect-" version ".tar.xz"))
7971 (sha256
7972 (base32
7973 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7974 (build-system gnu-build-system)
7975 (arguments
7976 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7977 #:phases
7978 (modify-phases %standard-phases
7979 (add-after 'configure 'patch-path
7980 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7981 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7982 "/sbin/openconnect"))
7983 (modprobe (string-append (assoc-ref inputs "kmod")
7984 "/bin/modprobe"))
7985 (pretty-ovpn (string-append "\"" openconnect "\"")))
7986 (substitute* "src/nm-openconnect-service.c"
7987 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7988 (("/sbin/modprobe") modprobe)))
7989 #t)))))
7990 (native-inputs
7991 `(("intltool" ,intltool)
7992 ("libnma" ,libnma)
7993 ("pkg-config" ,pkg-config)))
7994 (inputs
7995 `(("gcr" ,gcr)
7996 ("gtk+" ,gtk+)
7997 ("kmod" ,kmod)
7998 ("libsecret" ,libsecret)
7999 ("libxml2" ,libxml2)
8000 ("lz4" ,lz4)
8001 ("network-manager" ,network-manager)
8002 ("openconnect" ,openconnect)))
8003 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8004 (synopsis "OpenConnect plug-in for NetworkManager")
8005 (description
8006 "This extension of NetworkManager allows it to take care of connections
8007 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8008 Cisco's AnyConnect SSL VPN.")
8009 (license license:gpl2+)
8010 (properties `((upstream-name . "NetworkManager-openconnect")
8011
8012 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8013 ;; file refers to account "nm-openconnect". Specify it here
8014 ;; so that 'network-manager-service-type' creates it.
8015 (user-accounts . ("nm-openconnect"))))))
8016
8017 (define-public mobile-broadband-provider-info
8018 (package
8019 (name "mobile-broadband-provider-info")
8020 (version "20190116")
8021 (source (origin
8022 (method url-fetch)
8023 (uri (string-append
8024 "mirror://gnome/sources/"
8025 "mobile-broadband-provider-info/" version "/"
8026 "mobile-broadband-provider-info-" version ".tar.xz"))
8027 (sha256
8028 (base32
8029 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8030 (build-system gnu-build-system)
8031 (arguments
8032 `(#:tests? #f)) ; no tests
8033 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8034 (synopsis "Database of broadband connection configuration")
8035 (description "Database of broadband connection configuration.")
8036 (license license:public-domain)))
8037
8038 (define-public network-manager-applet
8039 (package
8040 (name "network-manager-applet")
8041 (version "1.20.0")
8042 (source (origin
8043 (method url-fetch)
8044 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8045 (version-major+minor version) "/"
8046 "network-manager-applet-" version ".tar.xz"))
8047 (sha256
8048 (base32
8049 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8050 (build-system meson-build-system)
8051 (arguments
8052 '(#:glib-or-gtk? #t
8053 #:configure-flags
8054 '("-Dappindicator=yes")))
8055 (native-inputs
8056 `(("intltool" ,intltool)
8057 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8058 ("gobject-introspection" ,gobject-introspection)
8059 ("gtk-doc" ,gtk-doc/stable)
8060 ("pkg-config" ,pkg-config)))
8061 (propagated-inputs
8062 ;; libnm-gtk.pc refers to all these.
8063 `(("dbus-glib" ,dbus-glib)
8064 ("gtk+" ,gtk+)
8065 ("network-manager" ,network-manager)
8066 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8067 ("libnma" ,libnma)))
8068 (inputs
8069 `(("gcr" ,gcr)
8070 ("libappindicator" ,libappindicator)
8071 ("libgudev" ,libgudev)
8072 ("libnotify" ,libnotify)
8073 ("libsecret" ,libsecret)
8074 ("libselinux" ,libselinux)
8075 ("jansson" ,jansson) ; for team support
8076 ("modem-manager" ,modem-manager)))
8077 (synopsis "Applet for managing network connections")
8078 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8079 (description
8080 "This package contains a systray applet for NetworkManager. It displays
8081 the available networks and allows users to easily switch between them.")
8082 (license license:gpl2+)))
8083
8084 (define-public libxml++
8085 (package
8086 (name "libxml++")
8087 (version "3.0.1")
8088 (source (origin
8089 (method url-fetch)
8090 (uri (string-append "mirror://gnome/sources/" name "/"
8091 (version-major+minor version) "/"
8092 name "-" version ".tar.xz"))
8093 (sha256
8094 (base32
8095 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8096 (build-system gnu-build-system)
8097 ;; libxml++-3.0.pc refers to all these.
8098 (propagated-inputs
8099 `(("libxml2" ,libxml2)
8100 ("glibmm" ,glibmm)))
8101 (native-inputs
8102 `(("perl" ,perl)
8103 ("pkg-config" ,pkg-config)))
8104 (home-page "http://libxmlplusplus.sourceforge.net/")
8105 (synopsis "C++ wrapper for XML parser library libxml2")
8106 (description
8107 "This package provides a C++ wrapper for the XML parser library
8108 libxml2.")
8109 (license license:lgpl2.1+)))
8110
8111 (define-public libxml++-2
8112 (package
8113 (inherit libxml++)
8114 (name "libxml++")
8115 (version "2.40.1")
8116 (source (origin
8117 (method url-fetch)
8118 (uri (string-append "mirror://gnome/sources/" name "/"
8119 (version-major+minor version) "/"
8120 name "-" version ".tar.xz"))
8121 (sha256
8122 (base32
8123 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8124
8125 (define-public gdm
8126 (package
8127 (name "gdm")
8128 (version "3.34.1")
8129 (source (origin
8130 (method url-fetch)
8131 (uri (string-append "mirror://gnome/sources/" name "/"
8132 (version-major+minor version) "/"
8133 name "-" version ".tar.xz"))
8134 (sha256
8135 (base32
8136 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8137 (patches (search-patches "gdm-default-session.patch"))))
8138 (build-system glib-or-gtk-build-system)
8139 (arguments
8140 '(#:configure-flags
8141 `("--without-plymouth"
8142 "--disable-systemd-journal"
8143
8144 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8145 ;; instead of having to replace it (i.e., stopping the mingetty
8146 ;; service for TTY 1 before starting GDM).
8147 "--with-initial-vt=7"
8148
8149 ;; Use '/etc/environment' for locale settings instead of the
8150 ;; systemd-specific '/etc/locale.conf'.
8151 "--with-lang-file=/etc/environment"
8152
8153 ,(string-append "--with-udevdir="
8154 (assoc-ref %outputs "out") "/lib/udev")
8155
8156 "--localstatedir=/var"
8157 ,(string-append "--with-default-path="
8158 (string-join '("/run/setuid-programs"
8159 "/run/current-system/profile/bin"
8160 "/run/current-system/profile/sbin")
8161 ":"))
8162 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8163 ;; XDG_DATA_DIRS so that it finds its schemas.
8164 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8165 #:phases
8166 (modify-phases %standard-phases
8167 (add-before
8168 'configure 'pre-configure
8169 (lambda* (#:key inputs outputs #:allow-other-keys)
8170 ;; We don't have <systemd/sd-daemon.h>.
8171 (substitute* '("common/gdm-log.c"
8172 "daemon/gdm-server.c"
8173 "daemon/gdm-session-worker.c"
8174 "daemon/gdm-session-worker-job.c")
8175 (("#include <systemd/sd-daemon\\.h>") ""))
8176 ;; Use elogind for sd-login.
8177 (substitute* '("common/gdm-common.c"
8178 "daemon/gdm-local-display-factory.c"
8179 "daemon/gdm-manager.c"
8180 "libgdm/gdm-user-switching.c")
8181 (("#include <systemd/sd-login\\.h>")
8182 "#include <elogind/sd-login.h>"))
8183 ;; Check for elogind.
8184 (substitute* '("configure")
8185 (("libsystemd")
8186 "libelogind"))
8187 ;; Look for system-installed sessions in
8188 ;; /run/current-system/profile/share.
8189 (substitute* '("libgdm/gdm-sessions.c"
8190 "daemon/gdm-session.c"
8191 "daemon/gdm-display.c"
8192 "daemon/gdm-launch-environment.c")
8193 (("DATADIR \"/x")
8194 "\"/run/current-system/profile/share/x")
8195 (("DATADIR \"/wayland")
8196 "\"/run/current-system/profile/share/wayland")
8197 (("DATADIR \"/gnome")
8198 "\"/run/current-system/profile/share/gnome"))
8199 (let ((propagate '("GDM_CUSTOM_CONF"
8200 "GDM_DBUS_DAEMON"
8201 "GDM_X_SERVER"
8202 "GDM_X_SESSION"
8203 ;; XXX: Remove this once GNOME Shell is
8204 ;; a dependency of GDM.
8205 "XDG_DATA_DIRS")))
8206 (substitute* "daemon/gdm-session.c"
8207 (("set_up_session_environment \\(self\\);")
8208 (apply string-append
8209 "set_up_session_environment (self);\n"
8210 (map (lambda (name)
8211 (string-append
8212 "gdm_session_set_environment_variable "
8213 "(self, \"" name "\","
8214 "g_getenv (\"" name "\"));\n"))
8215 propagate)))))
8216 ;; Find the configuration file using an environment variable.
8217 (substitute* '("common/gdm-settings.c")
8218 (("GDM_CUSTOM_CONF")
8219 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8220 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8221 " : GDM_CUSTOM_CONF)")))
8222 ;; Use service-supplied path to X.
8223 (substitute* '("daemon/gdm-server.c")
8224 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8225 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8226 (substitute* '("daemon/gdm-wayland-session.c"
8227 "daemon/gdm-x-session.c")
8228 (("\"dbus-daemon\"")
8229 "g_getenv (\"GDM_DBUS_DAEMON\")")
8230 (("X_SERVER")
8231 "g_getenv (\"GDM_X_SERVER\")")
8232 (("GDMCONFDIR \"/Xsession\"")
8233 "g_getenv (\"GDM_X_SESSION\")"))
8234 ;; Use an absolute path for GNOME Session.
8235 (substitute* "daemon/gdm-launch-environment.c"
8236 (("\"gnome-session\"")
8237 (string-append "\"" (assoc-ref inputs "gnome-session")
8238 "/bin/gnome-session\"")))
8239 ;; Do not automatically select the placeholder session.
8240 (substitute* "daemon/gdm-session.c"
8241 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8242 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8243 "(g_strcmp0(search_dirs[i], \""
8244 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8245 "\") == 0 && "
8246 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8247 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8248 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8249 #t))
8250 ;; GDM requires that there be at least one desktop entry
8251 ;; file. This phase installs a hidden one that simply
8252 ;; fails. This enables users to use GDM with a
8253 ;; '~/.xsession' script with no other desktop entry files.
8254 ;; See <https://bugs.gnu.org/35068>.
8255 (add-after 'install 'install-placeholder-desktop-entry
8256 (lambda* (#:key inputs outputs #:allow-other-keys)
8257 (let* ((out (assoc-ref outputs "out"))
8258 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8259 (fail (string-append sessions "/fail.desktop")))
8260 (mkdir-p sessions)
8261 (with-output-to-file fail
8262 (lambda ()
8263 (for-each
8264 display
8265 '("[Desktop Entry]\n"
8266 "Encoding=UTF-8\n"
8267 "Type=Application\n"
8268 "Name=Fail\n"
8269 "Comment=This session fails immediately.\n"
8270 "NoDisplay=true\n"
8271 "Exec=false\n"))))
8272 #t)))
8273 ;; GDM needs GNOME Session to run these applications. We link
8274 ;; their autostart files in `share/gdm/greeter/autostart'
8275 ;; because GDM explicitly tells GNOME Session to look there.
8276 ;;
8277 ;; XXX: GNOME Shell should be linked here too, but currently
8278 ;; GNOME Shell depends on GDM.
8279 (add-after 'install 'link-autostart-files
8280 (lambda* (#:key inputs outputs #:allow-other-keys)
8281 (let* ((out (assoc-ref outputs "out"))
8282 (autostart (string-append out "/share/gdm/"
8283 "greeter/autostart"))
8284 (settings (assoc-ref inputs "gnome-settings-daemon")))
8285 (mkdir-p autostart)
8286 (with-directory-excursion autostart
8287 (for-each (lambda (desktop)
8288 (symlink desktop (basename desktop)))
8289 (find-files (string-append settings "/etc/xdg"))))
8290 #t))))))
8291 (native-inputs
8292 `(("dconf" ,dconf)
8293 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8294 ("gobject-introspection" ,gobject-introspection)
8295 ("intltool" ,intltool)
8296 ("itstool" ,itstool)
8297 ("pkg-config" ,pkg-config)
8298 ("xmllint" ,libxml2)))
8299 (inputs
8300 `(("accountsservice" ,accountsservice)
8301 ("check" ,check-0.14) ;for testing
8302 ("elogind" ,elogind)
8303 ("gnome-session" ,gnome-session)
8304 ("gnome-settings-daemon" ,gnome-settings-daemon)
8305 ("gtk+" ,gtk+)
8306 ("iso-codes" ,iso-codes)
8307 ("libcanberra" ,libcanberra)
8308 ("linux-pam" ,linux-pam)))
8309 (synopsis "Display manager for GNOME")
8310 (home-page "https://wiki.gnome.org/Projects/GDM/")
8311 (description
8312 "GNOME Display Manager is a system service that is responsible for
8313 providing graphical log-ins and managing local and remote displays.")
8314 (license license:gpl2+)))
8315
8316 (define-public libgtop
8317 (package
8318 (name "libgtop")
8319 (version "2.40.0")
8320 (source (origin
8321 (method url-fetch)
8322 (uri (string-append "mirror://gnome/sources/libgtop/"
8323 (version-major+minor version) "/"
8324 "libgtop-" version ".tar.xz"))
8325 (sha256
8326 (base32
8327 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8328 (build-system gnu-build-system)
8329 (native-inputs
8330 `(("gobject-introspection" ,gobject-introspection)
8331 ("intltool" ,intltool)
8332 ("perl" ,perl)
8333 ("pkg-config" ,pkg-config)))
8334 (propagated-inputs
8335 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8336 (synopsis "Portable system access library")
8337 (home-page "https://www.gnome.org/")
8338 (description
8339 "LibGTop is a library to get system specific data such as CPU and memory
8340 usage and information about running processes.")
8341 (license license:gpl2+)))
8342
8343 (define-public gnome-bluetooth
8344 (package
8345 (name "gnome-bluetooth")
8346 (version "3.34.2")
8347 (source (origin
8348 (method url-fetch)
8349 (uri (string-append "mirror://gnome/sources/" name "/"
8350 (version-major+minor version) "/"
8351 name "-" version ".tar.xz"))
8352 (sha256
8353 (base32
8354 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8355 (build-system meson-build-system)
8356 (native-inputs
8357 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8358 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8359 ("gobject-introspection" ,gobject-introspection)
8360 ("intltool" ,intltool)
8361 ("pkg-config" ,pkg-config)
8362 ("xmllint" ,libxml2)))
8363 (propagated-inputs
8364 ;; gnome-bluetooth-1.0.pc refers to all these.
8365 `(("glib" ,glib)
8366 ("gtk+" ,gtk+)))
8367 (inputs
8368 `(("eudev" ,eudev)
8369 ("libcanberra" ,libcanberra)
8370 ("libnotify" ,libnotify)))
8371 (synopsis "GNOME Bluetooth subsystem")
8372 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8373 (description
8374 "This package contains tools for managing and manipulating Bluetooth
8375 devices using the GNOME desktop.")
8376 (license license:lgpl2.1+)))
8377
8378 (define-public gnome-control-center
8379 (package
8380 (name "gnome-control-center")
8381 (version "3.34.2")
8382 (source (origin
8383 (method url-fetch)
8384 (uri (string-append "mirror://gnome/sources/" name "/"
8385 (version-major+minor version) "/"
8386 name "-" version ".tar.xz"))
8387 (sha256
8388 (base32
8389 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8390 (build-system meson-build-system)
8391 (arguments
8392 '(#:glib-or-gtk? #t
8393 #:configure-flags
8394 (list "-Dcheese=false"
8395 (string-append "-Dgnome_session_libexecdir="
8396 (assoc-ref %build-inputs "gnome-session")
8397 "/libexec"))
8398 #:phases
8399 (modify-phases %standard-phases
8400 (add-before 'configure 'patch-paths
8401 (lambda* (#:key inputs #:allow-other-keys)
8402 (let ((libc (assoc-ref inputs "libc"))
8403 (tzdata (assoc-ref inputs "tzdata"))
8404 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8405 (nm-applet (assoc-ref inputs "network-manager-applet"))
8406 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8407 (substitute* "panels/datetime/tz.h"
8408 (("/usr/share/zoneinfo/zone.tab")
8409 (string-append tzdata "/share/zoneinfo/zone.tab")))
8410 (substitute* "tests/datetime/test-endianess.c"
8411 (("/usr/share/locale")
8412 (string-append libc "/share/locale")))
8413 (substitute* "panels/region/cc-region-panel.c"
8414 (("\"gkbd-keyboard-display")
8415 (string-append "\"" libgnomekbd
8416 "/bin/gkbd-keyboard-display")))
8417 (substitute* '("panels/network/net-device-wifi.c"
8418 "panels/network/net-device.c"
8419 "panels/network/connection-editor/net-connection-editor.c")
8420 (("\"nm-connection-editor")
8421 (string-append "\"" nm-applet
8422 "/bin/nm-connection-editor")))
8423 (substitute* '("panels/user-accounts/run-passwd.c")
8424 (("/usr/bin/passwd")
8425 "/run/setuid-programs/passwd"))
8426 (substitute* "panels/info/cc-info-overview-panel.c"
8427 (("DATADIR \"/gnome/gnome-version.xml\"")
8428 (string-append "\"" gnome-desktop
8429 "/share/gnome/gnome-version.xml\"")))
8430 #t)))
8431 (add-after 'unpack 'skip-gtk-update-icon-cache
8432 ;; Don't create 'icon-theme.cache'.
8433 (lambda _
8434 (substitute* "build-aux/meson/meson_post_install.py"
8435 (("gtk-update-icon-cache") (which "true")))
8436 #t)))))
8437 (native-inputs
8438 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8439 ("intltool" ,intltool)
8440 ("pkg-config" ,pkg-config)
8441 ("xsltproc" ,libxslt)
8442 ;; For tests
8443 ("hicolor-icon-theme" ,hicolor-icon-theme)
8444 ("python-dbusmock" ,python-dbusmock)
8445 ("xorg-server" ,xorg-server-for-tests)))
8446 (inputs
8447 `(("accountsservice" ,accountsservice)
8448 ("clutter-gtk" ,clutter-gtk)
8449 ("colord-gtk" ,colord-gtk)
8450 ("cups" ,cups)
8451 ("dconf" ,dconf)
8452 ("docbook-xsl" ,docbook-xsl)
8453 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8454 ("gnome-bluetooth" ,gnome-bluetooth)
8455 ("gnome-desktop" ,gnome-desktop)
8456 ("gnome-online-accounts" ,gnome-online-accounts)
8457 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8458 ("gnome-session" ,gnome-session)
8459 ("gnome-settings-daemon" ,gnome-settings-daemon)
8460 ("grilo" ,grilo)
8461 ("gsound" ,gsound)
8462 ("ibus" ,ibus)
8463 ("libcanberra" ,libcanberra)
8464 ("libgnomekbd" ,libgnomekbd)
8465 ("libgudev" ,libgudev)
8466 ("libgtop" ,libgtop)
8467 ("libnma" ,libnma)
8468 ("libpwquality" ,libpwquality)
8469 ("libsecret" ,libsecret)
8470 ("libsoup" ,libsoup)
8471 ("libxml2" ,libxml2)
8472 ("libwacom" ,libwacom)
8473 ("mesa" ,mesa)
8474 ("mit-krb5" ,mit-krb5)
8475 ("modem-manager" ,modem-manager)
8476 ("network-manager-applet" ,network-manager-applet)
8477 ("polkit" ,polkit)
8478 ("pulseaudio" ,pulseaudio)
8479 ("smbclient" ,samba)
8480 ("tzdata" ,tzdata)
8481 ("udisks" ,udisks)
8482 ("upower" ,upower)))
8483 (synopsis "Utilities to configure the GNOME desktop")
8484 (home-page "https://www.gnome.org/")
8485 (description
8486 "This package contains configuration applets for the GNOME desktop,
8487 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8488 properties, sound setup, desktop theme and background, user interface
8489 properties, screen resolution, and other GNOME parameters.")
8490 (license license:gpl2+)))
8491
8492 (define-public gnome-shell
8493 (package
8494 (name "gnome-shell")
8495 (version "3.34.5")
8496 (source (origin
8497 (method url-fetch)
8498 (uri (string-append "mirror://gnome/sources/" name "/"
8499 (version-major+minor version) "/"
8500 name "-" version ".tar.xz"))
8501 (sha256
8502 (base32
8503 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8504 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8505 "gnome-shell-theme.patch"
8506 "gnome-shell-disable-test.patch"))
8507 (modules '((guix build utils)))
8508 (snippet
8509 #~(begin
8510 ;; Copy images for use on the GDM log-in screen.
8511 (copy-file #$(file-append %artwork-repository
8512 "/slim/0.x/background.png")
8513 "data/theme/guix-background.png")
8514 (copy-file #$(file-append %artwork-repository
8515 "/logo/Guix-horizontal-white.svg")
8516 "data/theme/guix-logo.svg")
8517 #t))))
8518 (build-system meson-build-system)
8519 (arguments
8520 `(#:glib-or-gtk? #t
8521 #:disallowed-references ((,glib "bin")
8522 ,inkscape ,libxslt
8523 ,ruby-sass)
8524 #:configure-flags
8525 (list "-Dsystemd=false"
8526 ;; Otherwise, the RUNPATH will lack the final path component.
8527 (string-append "-Dc_link_args=-Wl,-rpath="
8528 (assoc-ref %outputs "out")
8529 "/lib/gnome-shell"))
8530
8531 #:modules ((guix build meson-build-system)
8532 (guix build utils)
8533 (srfi srfi-1))
8534
8535 #:phases
8536 (modify-phases %standard-phases
8537 (add-after 'unpack 'fix-keysdir
8538 (lambda* (#:key outputs #:allow-other-keys)
8539 (let* ((out (assoc-ref outputs "out"))
8540 (keysdir (string-append
8541 out "/share/gnome-control-center/keybindings")))
8542 (substitute* "meson.build"
8543 (("keysdir =.*")
8544 (string-append "keysdir = '" keysdir "'\n")))
8545 #t)))
8546 (add-before 'configure 'convert-logo-to-png
8547 (lambda* (#:key inputs #:allow-other-keys)
8548 ;; Convert the logo from SVG to PNG.
8549 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8550 "data/theme/guix-logo.svg")))
8551 (add-before 'configure 'record-absolute-file-names
8552 (lambda* (#:key inputs #:allow-other-keys)
8553 (substitute* "js/misc/ibusManager.js"
8554 (("'ibus-daemon'")
8555 (string-append "'" (assoc-ref inputs "ibus")
8556 "/bin/ibus-daemon'")))
8557 (substitute* "js/ui/status/keyboard.js"
8558 (("'gkbd-keyboard-display'")
8559 (string-append "'" (assoc-ref inputs "libgnomekbd")
8560 "/bin/gkbd-keyboard-display'")))
8561 #t))
8562 (add-before 'check 'pre-check
8563 (lambda* (#:key inputs #:allow-other-keys)
8564 ;; Tests require a running X server.
8565 (system "Xvfb :1 &")
8566 (setenv "DISPLAY" ":1")
8567 #t))
8568 (add-after 'install 'wrap-programs
8569 (lambda* (#:key inputs outputs #:allow-other-keys)
8570 (let ((out (assoc-ref outputs "out"))
8571 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8572 (python-path (getenv "PYTHONPATH")))
8573 (wrap-program (string-append out "/bin/gnome-shell")
8574 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8575 ;; FIXME: gnome-shell loads these libraries with unqualified
8576 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8577 ;; alternative might be to patch gnome-shell.
8578 `("LD_LIBRARY_PATH" ":" prefix
8579 ,(map (lambda (pkg)
8580 (string-append (assoc-ref inputs pkg) "/lib"))
8581 '("gdk-pixbuf"
8582 "gnome-bluetooth" "librsvg" "libgweather"))))
8583 (for-each
8584 (lambda (prog)
8585 (wrap-program (string-append out "/bin/" prog)
8586 `("PYTHONPATH" ":" prefix (,python-path))
8587 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8588 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8589 #t)))
8590 (replace 'glib-or-gtk-wrap
8591 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8592 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8593 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8594 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8595 ;; phase. Fix that since we don't need these.
8596 (wrap #:inputs (fold alist-delete inputs
8597 '("inkscape" "intltool" "glib:bin"))
8598 #:outputs outputs)))))))
8599 (native-inputs
8600 `(("asciidoc" ,asciidoc)
8601 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8602 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8603 ("gobject-introspection" ,gobject-introspection)
8604 ("inkscape" ,inkscape)
8605 ("intltool" ,intltool)
8606 ("pkg-config" ,pkg-config)
8607 ("python" ,python)
8608 ("ruby-sass" ,ruby-sass)
8609 ("sassc" ,sassc)
8610 ("xsltproc" ,libxslt)
8611 ;; For tests
8612 ("xorg-server" ,xorg-server-for-tests)))
8613 (inputs
8614 `(("accountsservice" ,accountsservice)
8615 ("caribou" ,caribou)
8616 ("docbook-xsl" ,docbook-xsl)
8617 ("evolution-data-server" ,evolution-data-server)
8618 ("gcr" ,gcr)
8619 ("gdm" ,gdm)
8620 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8621 ("gjs" ,gjs)
8622 ("gnome-autoar" ,gnome-autoar)
8623 ("gnome-bluetooth" ,gnome-bluetooth)
8624 ("gnome-desktop" ,gnome-desktop)
8625 ("gnome-settings-daemon" ,gnome-settings-daemon)
8626 ("gst-plugins-base" ,gst-plugins-base)
8627 ("ibus" ,ibus)
8628 ("libcanberra" ,libcanberra)
8629 ("libcroco" ,libcroco)
8630 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8631 ("libgweather" ,libgweather)
8632 ("libnma" ,libnma)
8633 ("libsoup" ,libsoup)
8634 ("mesa-headers" ,mesa-headers)
8635 ("mutter" ,mutter)
8636 ("network-manager-applet" ,network-manager-applet)
8637 ("polkit" ,polkit)
8638 ("pulseaudio" ,pulseaudio)
8639 ("python-pygobject" ,python-pygobject)
8640 ("startup-notification" ,startup-notification)
8641 ("telepathy-logger" ,telepathy-logger)
8642 ("upower" ,upower)
8643 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8644 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8645 ("librsvg" ,librsvg)
8646 ("geoclue" ,geoclue)))
8647 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8648 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8649 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8650 (synopsis "Desktop shell for GNOME")
8651 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8652 (description
8653 "GNOME Shell provides core user interface functions for the GNOME desktop,
8654 like switching to windows and launching applications.")
8655 (license license:gpl2+)))
8656
8657 (define-public gtk-vnc
8658 (package
8659 (name "gtk-vnc")
8660 (version "1.0.0")
8661 (source
8662 (origin
8663 (method url-fetch)
8664 (uri
8665 (string-append "mirror://gnome/sources/" name "/"
8666 (version-major+minor version) "/"
8667 name "-" version ".tar.xz"))
8668 (sha256
8669 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8670 (build-system meson-build-system)
8671 (arguments
8672 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8673 (native-inputs
8674 `(("gjs" ,gjs)
8675 ("glib:bin" ,glib "bin")
8676 ("gobject-introspection" ,gobject-introspection)
8677 ("intltool" ,intltool)
8678 ("node" ,node)
8679 ("perl" ,perl)
8680 ("pkg-config" ,pkg-config)
8681 ("python" ,python-wrapper)
8682 ("vala" ,vala)))
8683 (inputs
8684 `(("cairo" ,cairo)
8685 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8686 ("glib" ,glib)
8687 ("gnutls" ,gnutls)
8688 ("libgcrypt" ,libgcrypt)
8689 ("libsasl" ,cyrus-sasl)
8690 ("pulseaudio" ,pulseaudio)
8691 ("x11" ,libx11)
8692 ("zlib" ,zlib)))
8693 (propagated-inputs
8694 `(("gtk+" ,gtk+)))
8695 (synopsis "VNC client viewer widget for GTK+")
8696 (description "GTK-VNC is a project providing client side APIs for the RFB
8697 protocol / VNC remote desktop technology. It is built using coroutines allowing
8698 it to be completely asynchronous while remaining single threaded. It provides a
8699 core C library, and bindings for Python (PyGTK).")
8700 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8701 (license license:lgpl2.1+)))
8702
8703 (define-public gnome-autoar
8704 (package
8705 (name "gnome-autoar")
8706 (version "0.3.3")
8707 (source (origin
8708 (method url-fetch)
8709 (uri (string-append "mirror://gnome/sources/" name "/"
8710 (version-major+minor version) "/"
8711 name "-" version ".tar.xz"))
8712 (sha256
8713 (base32
8714 "012w7rhhpxvlrnnhqy01vwzg1wxqpy8jbqgizn47wnip7bvh0917"))))
8715 (build-system glib-or-gtk-build-system)
8716 (native-inputs
8717 `(("gobject-introspection" ,gobject-introspection)
8718 ("pkg-config" ,pkg-config)))
8719 (propagated-inputs
8720 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8721 (inputs
8722 `(("gtk+" ,gtk+)))
8723 (synopsis "Archives integration support for GNOME")
8724 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8725 (description
8726 "GNOME Autoar is a library which makes creating and extracting archives
8727 easy, safe, and automatic.")
8728 (license license:lgpl2.1+)))
8729
8730 (define-public tracker
8731 (package
8732 (name "tracker")
8733 (version "2.3.5")
8734 (source (origin
8735 (method url-fetch)
8736 (uri (string-append "mirror://gnome/sources/tracker/"
8737 (version-major+minor version) "/"
8738 "tracker-" version ".tar.xz"))
8739 (sha256
8740 (base32
8741 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8742 (build-system meson-build-system)
8743 (arguments
8744 `(#:glib-or-gtk? #t
8745 #:configure-flags
8746 ;; Otherwise, the RUNPATH will lack the final path component.
8747 (list (string-append "-Dc_link_args=-Wl,-rpath="
8748 (assoc-ref %outputs "out") "/lib:"
8749 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8750 #:phases
8751 (modify-phases %standard-phases
8752 (add-before 'check 'pre-check
8753 (lambda _
8754 ;; Some tests expect to write to $HOME.
8755 (setenv "HOME" "/tmp")
8756 #t)))))
8757 (native-inputs
8758 `(("glib:bin" ,glib "bin")
8759 ("gobject-introspection" ,gobject-introspection)
8760 ("python-pygobject" ,python-pygobject)
8761 ("intltool" ,intltool)
8762 ("pkg-config" ,pkg-config)
8763 ("vala" ,vala)))
8764 (inputs
8765 `(("dbus" ,dbus)
8766 ("sqlite" ,sqlite)
8767 ("libxml2" ,libxml2)
8768 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8769 ("json-glib" ,json-glib)
8770 ("libsoup" ,libsoup)))
8771 (synopsis "Metadata database, indexer and search tool")
8772 (home-page "https://wiki.gnome.org/Projects/Tracker")
8773 (description
8774 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8775
8776 It is a middleware component aimed at desktop application developers who want
8777 their apps to browse and search user content. It's not designed to be used
8778 directly by desktop users, but it provides a commandline tool named
8779 @command{tracker} for the adventurous.
8780
8781 Tracker allows your application to instantly perform full-text searches across
8782 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8783 example. This is achieved by indexing the user's home directory in the
8784 background.
8785
8786 Tracker also allows your application to query and list content that the user
8787 has stored. For example, GNOME Music displays all the music files that are
8788 found by Tracker. This means that GNOME Music doesn't need to maintain a
8789 database of its own.
8790
8791 If you need to go beyond simple searches, Tracker is also a linked data
8792 endpoint and it understands SPARQL. ")
8793 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8794 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8795 ;; libstemmer is bsd-3 and the rest is gpl2+.
8796 (license (list license:gpl2+
8797 license:bsd-3
8798 license:lgpl2.1+))))
8799
8800 (define-public tracker-miners
8801 (package
8802 (name "tracker-miners")
8803 (version "2.3.4")
8804 (source (origin
8805 (method url-fetch)
8806 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8807 (version-major+minor version)
8808 "/tracker-miners-" version ".tar.xz"))
8809 (sha256
8810 (base32
8811 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8812 (build-system meson-build-system)
8813 (arguments
8814 `(#:glib-or-gtk? #t
8815 #:configure-flags
8816 (list "-Dminer_rss=false" ; libgrss is required.
8817 ;; Ensure the RUNPATH contains all installed library locations.
8818 (string-append "-Dc_link_args=-Wl,-rpath="
8819 (assoc-ref %outputs "out")
8820 "/lib/tracker-miners-2.0")
8821 ;; TODO: Enable functional tests. Currently, the following error
8822 ;; appears:
8823 ;; Exception: The functional tests require DConf to be the default
8824 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8825 "-Dfunctional_tests=false")))
8826 (native-inputs
8827 `(("dbus" ,dbus)
8828 ("intltool" ,intltool)
8829 ("glib:bin" ,glib "bin")
8830 ("gobject-introspection" ,gobject-introspection)
8831 ("pkg-config" ,pkg-config)
8832 ("python-pygobject" ,python-pygobject)))
8833 (inputs
8834 `(("exempi" ,exempi)
8835 ("ffmpeg" ,ffmpeg)
8836 ("flac" ,flac)
8837 ("giflib" ,giflib)
8838 ("glib" ,glib)
8839 ("gstreamer" ,gstreamer)
8840 ("icu4c" ,icu4c)
8841 ("libcue" ,libcue)
8842 ("libexif" ,libexif)
8843 ("libgsf" ,libgsf)
8844 ("libgxps" ,libgxps)
8845 ("libiptcdata" ,libiptcdata)
8846 ("libjpeg" ,libjpeg-turbo)
8847 ("libosinfo" ,libosinfo)
8848 ("libpng" ,libpng)
8849 ("libseccomp" ,libseccomp)
8850 ("libtiff" ,libtiff)
8851 ("libvorbis" ,libvorbis)
8852 ("libxml2" ,libxml2)
8853 ("poppler" ,poppler)
8854 ("taglib" ,taglib)
8855 ("totem-pl-parser" ,totem-pl-parser)
8856 ("tracker" ,tracker)
8857 ("upower" ,upower)
8858 ("zlib" ,zlib)))
8859 (synopsis "Metadata database, indexer and search tool")
8860 (home-page "https://wiki.gnome.org/Projects/Tracker")
8861 (description
8862 "Tracker is an advanced framework for first class objects with associated
8863 metadata and tags. It provides a one stop solution for all metadata, tags,
8864 shared object databases, search tools and indexing.")
8865 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8866 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8867 (license (list license:gpl2+
8868 license:lgpl2.1+
8869 license:lgpl2.0+))))
8870
8871 (define-public nautilus
8872 (package
8873 (name "nautilus")
8874 (version "3.34.2")
8875 (source (origin
8876 (method url-fetch)
8877 (uri (string-append "mirror://gnome/sources/" name "/"
8878 (version-major+minor version) "/"
8879 name "-" version ".tar.xz"))
8880 (sha256
8881 (base32
8882 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8883 (build-system meson-build-system)
8884 (arguments
8885 '(#:glib-or-gtk? #t
8886 #:phases
8887 (modify-phases %standard-phases
8888 (add-after 'unpack 'skip-gtk-update-icon-cache
8889 ;; Don't create 'icon-theme.cache'.
8890 (lambda _
8891 (substitute* "build-aux/meson/postinstall.py"
8892 (("gtk-update-icon-cache") "true"))
8893 #t)))
8894 ;; XXX: FAIL: check-nautilus
8895 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8896 #:tests? #f))
8897 (native-inputs
8898 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8899 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8900 ("gobject-introspection" ,gobject-introspection)
8901 ("intltool" ,intltool)
8902 ("pkg-config" ,pkg-config)))
8903 (inputs
8904 `(("dconf" ,dconf)
8905 ("gexiv2" ,gexiv2)
8906 ("gvfs" ,gvfs)
8907 ("exempi" ,exempi)
8908 ("gnome-desktop" ,gnome-desktop)
8909 ("gnome-autoar" ,gnome-autoar)
8910 ("gst-plugins-base" ,gst-plugins-base)
8911 ("libseccomp" ,libseccomp)
8912 ("libselinux" ,libselinux)
8913 ("tracker" ,tracker)
8914 ("tracker-miners" ,tracker-miners)
8915 ;; XXX: gtk+ is required by libnautilus-extension.pc
8916 ;;
8917 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8918 ;; package. See:
8919 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8920 ("gtk+" ,gtk+)
8921 ("libexif" ,libexif)
8922 ("libxml2" ,libxml2)))
8923 (synopsis "File manager for GNOME")
8924 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8925 (description
8926 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8927 design and behaviour, giving the user a simple way to navigate and manage its
8928 files.")
8929 (license license:gpl2+)))
8930
8931 (define-public baobab
8932 (package
8933 (name "baobab")
8934 (version "3.38.0")
8935 (source (origin
8936 (method url-fetch)
8937 (uri (string-append
8938 "mirror://gnome/sources/" name "/"
8939 (version-major+minor version) "/"
8940 name "-" version ".tar.xz"))
8941 (sha256
8942 (base32
8943 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8944 (build-system meson-build-system)
8945 (arguments
8946 '(#:glib-or-gtk? #t))
8947 (native-inputs
8948 `(("intltool" ,intltool)
8949 ("pkg-config" ,pkg-config)
8950 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8951 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8952 ("itstool" ,itstool)
8953 ("xmllint" ,libxml2)
8954 ("glib" ,glib "bin")
8955 ("vala" ,vala)))
8956 (inputs
8957 `(("gtk+" ,gtk+)))
8958 (synopsis "Disk usage analyzer for GNOME")
8959 (description
8960 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8961 usage in the GNOME desktop environment. It can easily scan device volumes or
8962 a specific user-requested directory branch (local or remote). Once the scan
8963 is complete it provides a graphical representation of each selected folder.")
8964 (home-page "https://wiki.gnome.org/Apps/Baobab")
8965 (license license:gpl2+)))
8966
8967 (define-public gnome-backgrounds
8968 (package
8969 (name "gnome-backgrounds")
8970 (version "3.34.0")
8971 (source
8972 (origin
8973 (method url-fetch)
8974 (uri (string-append "mirror://gnome/sources/" name "/"
8975 (version-major+minor version) "/"
8976 name "-" version ".tar.xz"))
8977 (sha256
8978 (base32
8979 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8980 (build-system meson-build-system)
8981 (native-inputs
8982 `(("intltool" ,intltool)))
8983 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8984 (synopsis "Background images for the GNOME desktop")
8985 (description
8986 "GNOME backgrounds package contains a collection of graphics files which
8987 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8988 the package creates the proper framework and directory structure so that you
8989 can add your own files to the collection.")
8990 (license (list license:gpl2+
8991 license:cc-by2.0
8992 license:cc-by-sa2.0
8993 license:cc-by-sa3.0))))
8994
8995 (define-public gnome-screenshot
8996 (package
8997 (name "gnome-screenshot")
8998 (version "3.34.0")
8999 (source
9000 (origin
9001 (method url-fetch)
9002 (uri (string-append "mirror://gnome/sources/" name "/"
9003 (version-major+minor version) "/"
9004 name "-" version ".tar.xz"))
9005 (sha256
9006 (base32
9007 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9008 (build-system meson-build-system)
9009 (arguments
9010 '(#:phases
9011 (modify-phases %standard-phases
9012 (add-after 'unpack 'skip-gtk-update-icon-cache
9013 ;; Don't create 'icon-theme.cache'.
9014 (lambda _
9015 (substitute* "build-aux/postinstall.py"
9016 (("gtk-update-icon-cache") "true"))
9017 #t)))))
9018 (native-inputs
9019 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9020 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9021 ("intltool" ,intltool)
9022 ("appstream-glib" ,appstream-glib)
9023 ("pkg-config" ,pkg-config)))
9024 (inputs
9025 `(("gtk+" ,gtk+)
9026 ("libcanberra" ,libcanberra)
9027 ("libx11" ,libx11)
9028 ("libxext" ,libxext)))
9029 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9030 (synopsis "Take pictures of your screen")
9031 (description
9032 "GNOME Screenshot is a utility used for taking screenshots of the entire
9033 screen, a window or a user defined area of the screen, with optional
9034 beautifying border effects.")
9035 (license license:gpl2+)))
9036
9037 (define-public dconf-editor
9038 (package
9039 (name "dconf-editor")
9040 (version "3.34.2")
9041 (source
9042 (origin
9043 (method url-fetch)
9044 (uri (string-append "mirror://gnome/sources/" name "/"
9045 (version-major+minor version) "/"
9046 name "-" version ".tar.xz"))
9047 (sha256
9048 (base32
9049 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9050 (build-system meson-build-system)
9051 (native-inputs
9052 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9053 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9054 ("intltool" ,intltool)
9055 ("pkg-config" ,pkg-config)
9056 ("vala" ,vala)))
9057 (inputs
9058 `(("dconf" ,dconf)
9059 ("gtk+" ,gtk+)
9060 ("libxml2" ,libxml2)))
9061 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9062 (synopsis "Graphical editor for GNOME's dconf configuration system")
9063 (description
9064 "Dconf-editor is a graphical tool for browsing and editing the dconf
9065 configuration system for GNOME. It allows users to configure desktop
9066 software that do not provide their own configuration interface.")
9067 (license license:lgpl2.1+)))
9068
9069 (define-public gnome-default-applications
9070 (package
9071 (name "gnome-default-applications")
9072 (version "0")
9073 (build-system trivial-build-system)
9074 (source #f)
9075 (propagated-inputs
9076 `(("nautilus" ,nautilus)
9077 ("evince" ,evince)))
9078 (arguments
9079 `(#:modules ((guix build utils))
9080 #:builder
9081 (begin
9082 (use-modules (guix build utils))
9083 (let* ((out (assoc-ref %outputs "out"))
9084 (apps (string-append out "/share/applications")))
9085 (mkdir-p apps)
9086 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9087 (lambda (port)
9088 (format port "[Default Applications]\n")
9089 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9090 (format port "application/pdf=evince.desktop\n")
9091 (format port "application/postscript=evince.desktop\n")))
9092 #t))))
9093 (synopsis "Default MIME type associations for the GNOME desktop")
9094 (description
9095 "Given many installed packages which might handle a given MIME type, a
9096 user running the GNOME desktop probably has some preferences: for example,
9097 that folders be opened by default by the Nautilus file manager, not the Baobab
9098 disk usage analyzer. This package establishes that set of default MIME type
9099 associations for GNOME.")
9100 (license license:gpl3+)
9101 (home-page #f)))
9102
9103 (define-public libgovirt
9104 (package
9105 (name "libgovirt")
9106 (version "0.3.8")
9107 (source (origin
9108 (method url-fetch)
9109 (uri (string-append "mirror://gnome/sources/" name "/"
9110 (version-major+minor version) "/"
9111 name "-" version ".tar.xz"))
9112 (sha256
9113 (base32
9114 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9115 (build-system glib-or-gtk-build-system)
9116 (native-inputs
9117 `(("gettext" ,gettext-minimal)
9118 ("glib:bin" ,glib "bin")
9119 ("gobject-introspection" ,gobject-introspection)
9120 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9121 ("gtk+:bin" ,gtk+ "bin")
9122 ("pkg-config" ,pkg-config)))
9123 (inputs
9124 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9125 ("librest" ,rest)))
9126 (synopsis "GoVirt Library")
9127 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9128 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9129 (license license:gpl2+)))
9130
9131 (define-public gnome-weather
9132 (package
9133 (name "gnome-weather")
9134 (version "3.34.0")
9135 (source (origin
9136 (method url-fetch)
9137 (uri (string-append "mirror://gnome/sources/" name "/"
9138 (version-major+minor version) "/"
9139 name "-" version ".tar.xz"))
9140 (sha256
9141 (base32
9142 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9143 (build-system meson-build-system)
9144 (native-inputs
9145 `(("gettext" ,gettext-minimal)
9146 ("glib:bin" ,glib "bin")
9147 ("gobject-introspection" ,gobject-introspection)
9148 ("gtk+:bin" ,gtk+ "bin")
9149 ("pkg-config" ,pkg-config)))
9150 (inputs
9151 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9152 ("appstream-glib" ,appstream-glib)
9153 ("geoclue" ,geoclue)
9154 ("gdk-pixbuf" ,gdk-pixbuf)
9155 ("gjs" ,gjs)
9156 ("gnome-desktop" ,gnome-desktop)
9157 ("libgweather" ,libgweather)))
9158 (arguments
9159 `(#:glib-or-gtk? #t
9160 #:phases
9161 (modify-phases %standard-phases
9162 (add-after 'install 'fix-desktop-file
9163 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9164 ;; See https://issues.guix.gnu.org/issue/39324.
9165 (lambda* (#:key outputs #:allow-other-keys)
9166 (let* ((out (assoc-ref outputs "out"))
9167 (applications (string-append out "/share/applications")))
9168 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9169 (("Exec=.*") "Exec=gnome-weather\n"))
9170 #t)))
9171 (add-after 'install 'wrap
9172 (lambda* (#:key inputs outputs #:allow-other-keys)
9173 (let ((out (assoc-ref outputs "out"))
9174 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9175 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9176 (wrap-program (string-append out "/bin/gnome-weather")
9177 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9178 #t))))))
9179 (synopsis "Weather monitoring for GNOME desktop")
9180 (description "GNOME Weather is a small application that allows you to
9181 monitor the current weather conditions for your city, or anywhere in the
9182 world.")
9183 (home-page "https://wiki.gnome.org/Apps/Weather")
9184 (license license:gpl2+)))
9185
9186 (define-public gnome
9187 (package
9188 (name "gnome")
9189 (version (package-version gnome-shell))
9190 (source #f)
9191 (build-system trivial-build-system)
9192 (arguments '(#:builder (begin (mkdir %output) #t)))
9193 (propagated-inputs
9194 ;; TODO: Add or remove packages according to:
9195 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9196 `(
9197 ;; GNOME-Core-OS-Services
9198 ("accountsservice" ,accountsservice)
9199 ("network-manager" ,network-manager)
9200 ("packagekit" ,packagekit)
9201 ("upower" ,upower)
9202 ;; GNOME-Core-Shell
9203 ("adwaita-icon-theme" ,adwaita-icon-theme)
9204 ("gdm" ,gdm)
9205 ("glib-networking" ,glib-networking)
9206 ("gnome-backgrounds" ,gnome-backgrounds)
9207 ("gnome-bluetooth" ,gnome-bluetooth)
9208 ("gnome-color-manager" ,gnome-color-manager)
9209 ("gnome-control-center" ,gnome-control-center)
9210 ("gnome-desktop" ,gnome-desktop)
9211 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9212 ("gnome-initial-setup" ,gnome-initial-setup)
9213 ("gnome-keyring" ,gnome-keyring)
9214 ("gnome-menus" ,gnome-menus)
9215 ("gnome-session" ,gnome-session)
9216 ("gnome-settings-daemon" ,gnome-settings-daemon)
9217 ("gnome-shell-extensions" ,gnome-shell-extensions)
9218 ("gnome-shell" ,gnome-shell)
9219 ("gnome-themes-extra" ,gnome-themes-extra)
9220 ("gnome-user-docs" ,gnome-user-docs)
9221 ("gnome-user-share" ,gnome-user-share)
9222 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9223 ("gvfs" ,gvfs)
9224 ("mutter" ,mutter)
9225 ("orca" ,orca)
9226 ("rygel" ,rygel)
9227 ("sushi" ,sushi)
9228 ;; GNOME-Core-Utilities
9229 ("baobab" ,baobab)
9230 ("cheese" ,cheese)
9231 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9232 ;; only works on x86_64, so exclude it on other architectures.
9233 ,@(if (string-prefix? "x86_64" (%current-system))
9234 `(("eog" ,eog))
9235 '())
9236 ("epiphany" ,epiphany)
9237 ("evince" ,evince)
9238 ("file-roller" ,file-roller)
9239 ("gedit" ,gedit)
9240 ("gnome-boxes" ,gnome-boxes)
9241 ("gnome-calculator" ,gnome-calculator)
9242 ("gnome-calendar" ,gnome-calendar)
9243 ("gnome-characters" ,gnome-characters)
9244 ("gnome-clocks" ,gnome-clocks)
9245 ("gnome-contacts" ,gnome-contacts)
9246 ("gnome-disk-utility" ,gnome-disk-utility)
9247 ("gnome-font-viewer" ,gnome-font-viewer)
9248 ("gnome-maps" ,gnome-maps)
9249 ; TODO: ("gnome-music" ,gnome-music)
9250 ; TODO: ("gnome-photos" ,gnome-photos)
9251 ("gnome-screenshot" ,gnome-screenshot)
9252 ("gnome-system-monitor" ,gnome-system-monitor)
9253 ("gnome-terminal" ,gnome-terminal)
9254 ("gnome-weather" ,gnome-weather)
9255 ("nautilus" ,nautilus)
9256 ("simple-scan" ,simple-scan)
9257 ("totem" ,totem)
9258 ("yelp" ,yelp)
9259 ;; Others
9260 ("hicolor-icon-theme" ,hicolor-icon-theme)
9261 ("gnome-online-accounts" ,gnome-online-accounts)
9262
9263 ;; Packages not part of GNOME proper but that are needed for a good
9264 ;; experience. See <https://bugs.gnu.org/39646>.
9265 ;; XXX: Find out exactly which ones are needed and why.
9266 ("font-cantarell" ,font-cantarell)
9267 ("font-dejavu" ,font-dejavu)
9268 ("at-spi2-core" ,at-spi2-core)
9269 ("dbus" ,dbus)
9270 ("dconf" ,dconf)
9271 ("desktop-file-utils" ,desktop-file-utils)
9272 ("gnome-default-applications" ,gnome-default-applications)
9273 ("gnome-themes-standard" ,gnome-themes-standard)
9274 ("gst-plugins-base" ,gst-plugins-base)
9275 ("gst-plugins-good" ,gst-plugins-good)
9276 ("gucharmap" ,gucharmap)
9277 ("pinentry-gnome3" ,pinentry-gnome3)
9278 ("pulseaudio" ,pulseaudio)
9279 ("shared-mime-info" ,shared-mime-info)
9280 ("system-config-printer" ,system-config-printer)
9281 ("xdg-user-dirs" ,xdg-user-dirs)
9282 ("yelp" ,yelp)
9283 ("zenity" ,zenity)))
9284 (synopsis "The GNU desktop environment")
9285 (home-page "https://www.gnome.org/")
9286 (description
9287 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9288 applications for browsing the web, editing text and images, creating
9289 documents and diagrams, playing media, scanning, and much more.")
9290 (license license:gpl2+)))
9291
9292 (define-public byzanz
9293 ;; The last stable release of Byzanz was in 2011, but there have been many
9294 ;; useful commits made to the Byzanz repository since then that it would be
9295 ;; silly to use such an old release.
9296 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9297 (package
9298 (name "byzanz")
9299 (version (string-append "0.2-1." (string-take commit 7)))
9300 (source (origin
9301 (method git-fetch)
9302 (uri (git-reference
9303 (url "https://git.gnome.org/browse/byzanz")
9304 (commit commit)))
9305 (file-name (string-append name "-" version "-checkout"))
9306 (sha256
9307 (base32
9308 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9309 (build-system glib-or-gtk-build-system)
9310 (arguments
9311 '(#:phases
9312 (modify-phases %standard-phases
9313 (add-before 'bootstrap 'build-without-Werror
9314 (lambda _
9315 ;; The build system cleverly detects that we're not building from
9316 ;; a release tarball and turns on -Werror for GCC.
9317 ;; Unsurprisingly, there is a warning during compilation that
9318 ;; causes the build to fail unnecessarily, so we remove the flag.
9319 (substitute* '("configure.ac")
9320 (("-Werror") ""))
9321 #t)))))
9322 (native-inputs
9323 `(("autoconf" ,autoconf)
9324 ("automake" ,automake)
9325 ("gnome-common" ,gnome-common)
9326 ("intltool" ,intltool)
9327 ("libtool" ,libtool)
9328 ("pkg-config" ,pkg-config)
9329 ("which" ,which)))
9330 (inputs
9331 `(("glib" ,glib)
9332 ("gstreamer" ,gstreamer)
9333 ("gst-plugins-base" ,gst-plugins-base)
9334 ("gtk+" ,gtk+)))
9335 (synopsis "Desktop recording program")
9336 (description "Byzanz is a simple desktop recording program with a
9337 command-line interface. It can record part or all of an X display for a
9338 specified duration and save it as a GIF encoded animated image file.")
9339 (home-page "https://git.gnome.org/browse/byzanz")
9340 (license license:gpl2+))))
9341
9342 (define-public authenticator
9343 (package
9344 (name "authenticator")
9345 (version "3.32.2")
9346 (source
9347 (origin
9348 (method git-fetch)
9349 (uri (git-reference
9350 (url "https://gitlab.gnome.org/World/Authenticator")
9351 (commit version)))
9352 (file-name (git-file-name name version))
9353 (sha256
9354 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9355 (build-system meson-build-system)
9356 (arguments
9357 `(#:glib-or-gtk? #t
9358 #:phases
9359 (modify-phases %standard-phases
9360 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9361 (lambda* (#:key inputs outputs #:allow-other-keys)
9362 (let ((prog (string-append (assoc-ref outputs "out")
9363 "/bin/authenticator"))
9364 (pylib (string-append (assoc-ref outputs "out")
9365 "/lib/python"
9366 ,(version-major+minor
9367 (package-version python))
9368 "/site-packages")))
9369 (wrap-program prog
9370 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9371 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9372 #t))))))
9373 (native-inputs
9374 `(("desktop-file-utils" ,desktop-file-utils)
9375 ("gettext" ,gettext-minimal)
9376 ("glib:bin" ,glib "bin")
9377 ("gobject-introspection" ,gobject-introspection)
9378 ("gtk+:bin" ,gtk+ "bin")
9379 ("pkg-config" ,pkg-config)))
9380 (inputs
9381 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9382 ("gtk+" ,gtk+)
9383 ("libhandy" ,libhandy-0.0)
9384 ("libsecret" ,libsecret)
9385 ("python-beautifulsoup4" ,python-beautifulsoup4)
9386 ("python-pillow" ,python-pillow)
9387 ("python-pyfavicon" ,python-pyfavicon)
9388 ("python-pygobject" ,python-pygobject)
9389 ("python-pyotp" ,python-pyotp)
9390 ("python-pyzbar" ,python-pyzbar)
9391 ("yoyo-migrations" ,yoyo-migrations)
9392 ("zbar" ,zbar)))
9393 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9394 (synopsis "Two-factor authentication application built for GNOME")
9395 (description
9396 "Authenticator is a two-factor authentication (2FA) application built for
9397 the GNOME desktop environment.
9398
9399 Features:
9400
9401 @itemize
9402 @item QR code scanner
9403 @item Beautiful UI
9404 @item Huge database of more than 560 supported services
9405 @item Keep your PIN tokens secure by locking the application with a password
9406 @item Automatically fetch an image for services using their favicon
9407 @item The possibility to add new services
9408 @end itemize")
9409 (license license:gpl3+)))
9410
9411 (define-public gsound
9412 (package
9413 (name "gsound")
9414 (version "1.0.2")
9415 (source (origin
9416 (method url-fetch)
9417 (uri (string-append "mirror://gnome/sources/" name "/"
9418 (version-major+minor version) "/"
9419 name "-" version ".tar.xz"))
9420 (sha256
9421 (base32
9422 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9423 (build-system glib-or-gtk-build-system)
9424 (native-inputs
9425 `(("pkg-config" ,pkg-config)
9426 ("gobject-introspection" ,gobject-introspection)
9427 ("vala" ,vala)))
9428 (inputs
9429 `(("glib" ,glib)
9430 ("libcanberra" ,libcanberra)))
9431 (home-page "https://wiki.gnome.org/Projects/GSound")
9432 (synopsis "GObject wrapper for libcanberra")
9433 (description
9434 "GSound is a small library for playing system sounds. It's designed to be
9435 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9436 library.")
9437 (license license:lgpl2.1+)))
9438
9439 (define-public libzapojit
9440 (package
9441 (name "libzapojit")
9442 (version "0.0.3")
9443 (source (origin
9444 (method url-fetch)
9445 (uri (string-append "mirror://gnome/sources/" name "/"
9446 (version-major+minor version) "/"
9447 name "-" version ".tar.xz"))
9448 (sha256
9449 (base32
9450 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9451 (build-system gnu-build-system)
9452 (native-inputs
9453 `(("gobject-introspection" ,gobject-introspection)
9454 ("intltool" ,intltool)
9455 ("pkg-config" ,pkg-config)))
9456 (inputs
9457 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9458 ("json-glib" ,json-glib)
9459 ("rest" ,rest)))
9460 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9461 (synopsis "Library for accessing SkyDrive and Hotmail")
9462 (description
9463 "Libzapojit is a GLib-based library for accessing online service APIs of
9464 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9465 (license license:lgpl2.1+)))
9466
9467 (define-public gnome-clocks
9468 (package
9469 (name "gnome-clocks")
9470 (version "3.34.0")
9471 (source (origin
9472 (method url-fetch)
9473 (uri (string-append "mirror://gnome/sources/" name "/"
9474 (version-major+minor version) "/"
9475 name "-" version ".tar.xz"))
9476 (sha256
9477 (base32
9478 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9479 (build-system meson-build-system)
9480 (arguments
9481 '(#:glib-or-gtk? #t
9482 #:phases
9483 (modify-phases %standard-phases
9484 (add-after 'unpack 'skip-gtk-update-icon-cache
9485 ;; Don't create 'icon-theme.cache'.
9486 (lambda _
9487 (substitute* "build-aux/post-install.py"
9488 (("gtk-update-icon-cache") "true"))
9489 #t)))))
9490 (native-inputs
9491 `(("vala" ,vala)
9492 ("pkg-config" ,pkg-config)
9493 ("glib" ,glib "bin") ; for glib-compile-resources
9494 ("desktop-file-utils" ,desktop-file-utils)
9495 ("gettext" ,gettext-minimal)
9496 ("itstool" ,itstool)))
9497 (inputs
9498 `(("glib" ,glib)
9499 ("gtk+" ,gtk+)
9500 ("gsound" ,gsound)
9501 ("geoclue" ,geoclue)
9502 ("geocode-glib" ,geocode-glib)
9503 ("libgweather" ,libgweather)
9504 ("gnome-desktop" ,gnome-desktop)))
9505 (home-page "https://wiki.gnome.org/Apps/Clocks")
9506 (synopsis "GNOME's clock application")
9507 (description
9508 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9509 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9510 (license license:gpl3+)))
9511
9512 (define-public gnome-calendar
9513 (package
9514 (name "gnome-calendar")
9515 (version "3.34.2")
9516 (source (origin
9517 (method url-fetch)
9518 (uri (string-append "mirror://gnome/sources/" name "/"
9519 (version-major+minor version) "/"
9520 name "-" version ".tar.xz"))
9521 (sha256
9522 (base32
9523 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9524 (build-system meson-build-system)
9525 (arguments
9526 '(#:glib-or-gtk? #t
9527 ;; gnome-calendar has to be installed before the tests can be run
9528 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9529 #:tests? #f
9530 #:phases
9531 (modify-phases %standard-phases
9532 (add-after 'unpack 'skip-gtk-update-icon-cache
9533 ;; Don't create 'icon-theme.cache'.
9534 (lambda _
9535 (substitute* "build-aux/meson/meson_post_install.py"
9536 (("gtk-update-icon-cache") "true"))
9537 #t)))))
9538 (native-inputs
9539 `(("gettext" ,gettext-minimal)
9540 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9541 ("pkg-config" ,pkg-config)))
9542 (inputs
9543 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9544 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9545 ("libdazzle" ,libdazzle)
9546 ("libedataserverui" ,evolution-data-server)
9547 ("libgweather" ,libgweather)
9548 ("geoclue" ,geoclue)))
9549 (propagated-inputs
9550 `(("evolution-data-server" ,evolution-data-server)))
9551 (home-page "https://wiki.gnome.org/Apps/Calendar")
9552 (synopsis "GNOME's calendar application")
9553 (description
9554 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9555 desktop. It supports multiple calendars, month, week and year view.")
9556 (license license:gpl3+)))
9557
9558 (define-public gnome-todo
9559 (package
9560 (name "gnome-todo")
9561 (version "3.28.1")
9562 (source (origin
9563 (method url-fetch)
9564 (uri (string-append "mirror://gnome/sources/" name "/"
9565 (version-major+minor version) "/"
9566 name "-" version ".tar.xz"))
9567 (sha256
9568 (base32
9569 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9570 (patches
9571 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9572 (build-system meson-build-system)
9573 (arguments
9574 '(#:glib-or-gtk? #t
9575 #:phases (modify-phases %standard-phases
9576 (add-after
9577 'install 'wrap-gnome-todo
9578 (lambda* (#:key inputs outputs #:allow-other-keys)
9579 (let ((out (assoc-ref outputs "out"))
9580 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9581 (python-path (getenv "PYTHONPATH")))
9582 (wrap-program (string-append out "/bin/gnome-todo")
9583 ;; XXX: gi plugins are broken.
9584 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9585 ;; For plugins.
9586 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9587 `("PYTHONPATH" ":" prefix (,python-path))))
9588 #t)))))
9589 (native-inputs
9590 `(("gettext" ,gettext-minimal)
9591 ("gobject-introspection" ,gobject-introspection)
9592 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9593 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9594 ("pkg-config" ,pkg-config)))
9595 (inputs
9596 `(("rest" ,rest) ; For Todoist plugin
9597 ("json-glib" ,json-glib) ; For Todoist plugin
9598 ("libedataserverui" ,evolution-data-server)
9599 ("libical" ,libical)
9600 ("libpeas" ,libpeas)
9601 ("python-pygobject" ,python-pygobject)
9602 ("evolution-data-server" ,evolution-data-server)
9603 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9604 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9605 (home-page "https://wiki.gnome.org/Apps/Todo")
9606 (synopsis "GNOME's ToDo Application")
9607 (description
9608 "GNOME To Do is a simplistic personal task manager designed to perfectly
9609 fit the GNOME desktop.")
9610 (license license:gpl3+)))
9611
9612 (define-public gnome-dictionary
9613 (package
9614 (name "gnome-dictionary")
9615 (version "3.26.1")
9616 (source (origin
9617 (method url-fetch)
9618 (uri (string-append "mirror://gnome/sources/" name "/"
9619 (version-major+minor version) "/"
9620 name "-" version ".tar.xz"))
9621 (sha256
9622 (base32
9623 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9624 (build-system meson-build-system)
9625 (arguments '(#:glib-or-gtk? #t
9626 #:phases (modify-phases %standard-phases
9627 (add-after 'unpack 'patch-install-script
9628 (lambda _
9629 ;; This script attempts to compile glib schemas
9630 ;; and create an empty MIME database. We do
9631 ;; that elsewhere, so prevent it from running.
9632 (substitute* "build-aux/post-install.sh"
9633 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9634 #t)))))
9635 (native-inputs
9636 `(("glib:bin" ,glib "bin")
9637 ("gobject-introspection" ,gobject-introspection)
9638 ("intltool" ,intltool)
9639 ("itstool" ,itstool)
9640 ("pkg-config" ,pkg-config)
9641 ("xmllint" ,libxml2)))
9642 (inputs
9643 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9644 ("gtk+" ,gtk+)))
9645 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9646 (synopsis "Look up words in dictionary sources")
9647 (description
9648 "GNOME Dictionary can look for the definition or translation of a word in
9649 existing databases over the internet.")
9650 (license license:gpl3+)))
9651
9652 (define-public gnome-tweaks
9653 (package
9654 (name "gnome-tweaks")
9655 (version "3.34.1")
9656 (source (origin
9657 (method url-fetch)
9658 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9659 (version-major+minor version) "/"
9660 "gnome-tweaks-" version ".tar.xz"))
9661 (patches
9662 (list (search-patch "gnome-tweaks-search-paths.patch")))
9663 (sha256
9664 (base32
9665 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9666 (build-system meson-build-system)
9667 (arguments
9668 `(#:glib-or-gtk? #t
9669 #:configure-flags '("-Dlocalstatedir=/tmp"
9670 "-Dsysconfdir=/tmp")
9671 #:imported-modules ((guix build python-build-system)
9672 ,@%meson-build-system-modules)
9673 #:phases
9674 (modify-phases %standard-phases
9675 (add-after 'unpack 'skip-gtk-update-icon-cache
9676 ;; Don't create 'icon-theme.cache'.
9677 (lambda _
9678 (substitute* "meson-postinstall.py"
9679 (("gtk-update-icon-cache") "true"))
9680 #t))
9681 (add-after 'install 'wrap
9682 (@@ (guix build python-build-system) wrap))
9683 (add-after 'wrap 'wrap-gi-typelib
9684 (lambda* (#:key inputs outputs #:allow-other-keys)
9685 (let ((out (assoc-ref outputs "out"))
9686 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9687 (wrap-program (string-append out "/bin/gnome-tweaks")
9688 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9689 #t)))))
9690 (native-inputs
9691 `(("intltool" ,intltool)
9692 ("pkg-config" ,pkg-config)))
9693 (inputs
9694 `(("gnome-desktop" ,gnome-desktop)
9695 ("gtk+" ,gtk+)
9696 ("gobject-introspection" ,gobject-introspection)
9697 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9698 ("libhandy" ,libhandy-0.0)
9699 ("libnotify" ,libnotify)
9700 ("libsoup" ,libsoup)
9701 ("nautilus" ,nautilus)
9702 ("python" ,python)
9703 ("python-pygobject" ,python-pygobject)))
9704 (synopsis "Customize advanced GNOME 3 options")
9705 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9706 (description
9707 "GNOME Tweaks allows adjusting advanced configuration settings in
9708 GNOME 3. This includes things like the fonts used in user interface elements,
9709 alternative user interface themes, changes in window management behavior,
9710 GNOME Shell appearance and extension, etc.")
9711 (license license:gpl3+)))
9712
9713 (define-public gnome-shell-extensions
9714 (package
9715 (name "gnome-shell-extensions")
9716 (version "3.34.2")
9717 (source (origin
9718 (method url-fetch)
9719 (uri (string-append "mirror://gnome/sources/" name "/"
9720 (version-major+minor version) "/"
9721 name "-" version ".tar.xz"))
9722 (sha256
9723 (base32
9724 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9725 (build-system meson-build-system)
9726 (arguments
9727 '(#:configure-flags '("-Dextension_set=all")))
9728 (native-inputs
9729 `(("glib:bin" ,glib "bin")
9730 ("intltool" ,intltool)
9731 ("pkg-config" ,pkg-config)))
9732 (propagated-inputs
9733 `(("glib" ,glib)))
9734 (synopsis "Extensions for GNOME Shell")
9735 (description "GNOME Shell extensions modify and extend GNOME Shell
9736 functionality and behavior.")
9737 (home-page "https://extensions.gnome.org/")
9738 (license license:gpl3+)))
9739
9740 (define-public folks
9741 (package
9742 (name "folks")
9743 (version "0.13.1")
9744 (source (origin
9745 (method url-fetch)
9746 (uri (string-append
9747 "mirror://gnome/sources/folks/"
9748 (version-major+minor version) "/"
9749 "folks-" version ".tar.xz"))
9750 (sha256
9751 (base32
9752 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9753 (build-system meson-build-system)
9754 (arguments
9755 '(#:phases
9756 (modify-phases %standard-phases
9757 (add-after 'unpack 'skip-gtk-update-icon-cache
9758 ;; Don't create 'icon-theme.cache'.
9759 (lambda _
9760 (substitute* "meson_post_install.py"
9761 (("gtk-update-icon-cache") "true"))
9762 #t)))))
9763 (inputs
9764 `(("bdb" ,bdb)
9765 ("dbus-glib" ,dbus-glib)
9766 ("evolution-data-server" ,evolution-data-server)
9767 ("glib" ,glib)
9768 ("libgee" ,libgee)
9769 ("readline" ,readline)
9770 ("telepathy-glib" ,telepathy-glib)))
9771 (native-inputs
9772 `(("glib:bin" ,glib "bin")
9773 ("gobject-introspection" ,gobject-introspection)
9774 ("intltool" ,intltool)
9775 ("pkg-config" ,pkg-config)
9776 ("vala" ,vala)))
9777 (synopsis "Library to aggregate data about people")
9778 (description "Libfolks is a library that aggregates information about people
9779 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9780 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9781 etc.) to create metacontacts. It's written in Vala, which generates C code when
9782 compiled.")
9783 (home-page "https://wiki.gnome.org/Projects/Folks")
9784 (license license:lgpl2.1+)))
9785
9786 (define-public gfbgraph
9787 (package
9788 (name "gfbgraph")
9789 (version "0.2.4")
9790 (source (origin
9791 (method url-fetch)
9792 (uri (string-append
9793 "mirror://gnome/sources/gfbgraph/"
9794 (version-major+minor version) "/"
9795 "gfbgraph-" version ".tar.xz"))
9796 (sha256
9797 (base32
9798 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9799 (build-system glib-or-gtk-build-system)
9800 (arguments
9801 `(#:tests? #f ; tests appear to require the network
9802 #:configure-flags '("--disable-static"
9803 "--enable-gtk-doc"
9804 "--enable-introspection")))
9805 (native-inputs
9806 `(("gobject-introspection" ,gobject-introspection)
9807 ("gtk-doc" ,gtk-doc/stable)
9808 ("pkg-config" ,pkg-config)
9809
9810 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9811 ("autoconf" ,autoconf)
9812 ("automake" ,automake)
9813 ("libtool" ,libtool)
9814 ("which" ,which)))
9815 (inputs
9816 `(("json-glib" ,json-glib)
9817 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9818 ("rest" ,rest)))
9819 (synopsis "GLib/GObject wrapper for the Facebook API")
9820 (description "This library allows you to use the Facebook API from
9821 GLib/GObject code.")
9822 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9823 (license license:lgpl2.1+)))
9824
9825 (define-public libgnomekbd
9826 (package
9827 (name "libgnomekbd")
9828 (version "3.26.1")
9829 (source (origin
9830 (method url-fetch)
9831 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9832 (version-major+minor version) "/"
9833 "libgnomekbd-" version ".tar.xz"))
9834 (sha256
9835 (base32
9836 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9837 (build-system gnu-build-system)
9838 (native-inputs
9839 `(("pkg-config" ,pkg-config)
9840 ("glib" ,glib "bin")
9841 ("intltool" ,intltool)))
9842 (propagated-inputs
9843 ;; Referred to in .h files and .pc.
9844 `(("glib" ,glib)
9845 ("gtk+" ,gtk+)
9846 ("libxklavier" ,libxklavier)))
9847 (home-page "https://www.gnome.org")
9848 (synopsis "GNOME keyboard configuration library")
9849 (description
9850 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9851 environment, which can notably display keyboard layouts.")
9852 (license license:lgpl2.0+)))
9853
9854 ;;; This package is no longer maintained:
9855 ;;; https://wiki.gnome.org/Attic/LibUnique
9856 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9857 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9858 (define-public libunique
9859 (package
9860 (name "libunique")
9861 (version "3.0.2")
9862 (source (origin
9863 (method url-fetch)
9864 (uri (string-append "mirror://gnome/sources/" name "/"
9865 (version-major+minor version) "/"
9866 name "-" version ".tar.xz"))
9867 (sha256
9868 (base32
9869 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9870 (build-system glib-or-gtk-build-system)
9871 (arguments
9872 `(#:configure-flags '("--disable-static"
9873 "--disable-dbus" ; use gdbus
9874 "--enable-introspection")))
9875 (native-inputs
9876 `(("pkg-config" ,pkg-config)
9877 ("gobject-introspection" ,gobject-introspection)
9878 ("glib:bin" ,glib "bin")
9879 ("gtk-doc" ,gtk-doc/stable)))
9880 (propagated-inputs
9881 ;; Referred to in .h files and .pc.
9882 `(("gtk+" ,gtk+)))
9883 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9884 (synopsis "Library for writing single instance applications")
9885 (description
9886 "Libunique is a library for writing single instance applications. If you
9887 launch a single instance application twice, the second instance will either just
9888 quit or will send a message to the running instance. Libunique makes it easy to
9889 write this kind of application, by providing a base class, taking care of all
9890 the IPC machinery needed to send messages to a running instance, and also
9891 handling the startup notification side.")
9892 (license license:lgpl2.1+)))
9893
9894 (define-public gnome-calculator
9895 (package
9896 (name "gnome-calculator")
9897 (version "3.34.1")
9898 (source
9899 (origin
9900 (method url-fetch)
9901 (uri (string-append "mirror://gnome/sources/" name "/"
9902 (version-major+minor version) "/"
9903 name "-" version ".tar.xz"))
9904 (sha256
9905 (base32
9906 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9907 (build-system meson-build-system)
9908 (arguments '(#:glib-or-gtk? #t))
9909 (native-inputs
9910 `(("gettext" ,gettext-minimal)
9911 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9912 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9913 ("itstool" ,itstool)
9914 ("vala" ,vala)
9915 ("pkg-config" ,pkg-config)))
9916 (inputs
9917 `(("glib" ,glib)
9918 ("gtksourceview" ,gtksourceview)
9919 ("libgee" ,libgee)
9920 ("libsoup" ,libsoup)
9921 ("libxml2" ,libxml2)
9922 ("mpc" ,mpc)
9923 ("mpfr" ,mpfr)))
9924 (home-page "https://wiki.gnome.org/Apps/Calculator")
9925 (synopsis "Desktop calculator")
9926 (description
9927 "Calculator is an application that solves mathematical equations and
9928 is suitable as a default application in a Desktop environment.")
9929 (license license:gpl3)))
9930
9931 (define-public xpad
9932 (package
9933 (name "xpad")
9934 (version "5.1.0")
9935 (source
9936 (origin
9937 (method url-fetch)
9938 (uri (string-append "https://launchpad.net/xpad/trunk/"
9939 version "/+download/"
9940 name "-" version ".tar.bz2"))
9941 (sha256
9942 (base32
9943 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9944 (build-system gnu-build-system)
9945 (native-inputs
9946 `(("autoconf" ,autoconf)
9947 ("automake" ,automake)
9948 ("gtk+:bin" ,gtk+ "bin")
9949 ("intltool" ,intltool)
9950 ("pkg-config" ,pkg-config)))
9951 (inputs
9952 `(("gtksourceview" ,gtksourceview-3)
9953 ("libsm" ,libsm)))
9954 (home-page "https://wiki.gnome.org/Apps/Xpad")
9955 (synopsis "Virtual sticky note")
9956 (description
9957 "Xpad is a sticky note that strives to be simple, fault tolerant,
9958 and customizable. Xpad consists of independent pad windows, each is
9959 basically a text box in which notes can be written.")
9960 (license license:gpl3+)))
9961
9962 (define-public gucharmap
9963 (let ((unicode-files
9964 '(("Blocks.txt"
9965 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9966 ("DerivedAge.txt"
9967 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9968 ("NamesList.txt"
9969 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9970 ("Scripts.txt"
9971 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9972 ("UnicodeData.txt"
9973 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9974 ("Unihan.zip"
9975 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9976 (package
9977 (name "gucharmap")
9978 (version "12.0.1")
9979 (source
9980 (origin
9981 (method url-fetch)
9982 (uri (string-append "mirror://gnome/sources/" name "/"
9983 (version-major+minor version) "/"
9984 name "-" version ".tar.xz"))
9985 (sha256
9986 (base32
9987 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9988 (build-system glib-or-gtk-build-system)
9989 (arguments
9990 `(#:modules ((ice-9 match)
9991 (guix build glib-or-gtk-build-system)
9992 (guix build utils))
9993 #:configure-flags
9994 (list "--with-unicode-data=../unicode-data")
9995 #:phases
9996 (modify-phases %standard-phases
9997 (add-after 'unpack 'prepare-unicode-data
9998 (lambda* (#:key inputs #:allow-other-keys)
9999 (mkdir-p "../unicode-data")
10000 (with-directory-excursion "../unicode-data"
10001 (for-each (match-lambda
10002 ((file _)
10003 (install-file (assoc-ref inputs file) ".")))
10004 ',unicode-files))
10005 #t)))))
10006 (native-inputs
10007 `(("desktop-file-utils" ,desktop-file-utils)
10008 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10009 ("gobject-introspection" ,gobject-introspection)
10010 ("intltool" ,intltool)
10011 ("itstool" ,itstool)
10012 ("pkg-config" ,pkg-config)
10013 ,@(map (match-lambda
10014 ((file hash)
10015 `(,file
10016 ,(origin
10017 (method url-fetch)
10018 (uri (string-append
10019 "http://www.unicode.org/Public/12.0.0/ucd/"
10020 file))
10021 (sha256 (base32 hash))))))
10022 unicode-files)
10023 ("unzip" ,unzip)))
10024 (inputs
10025 `(("gtk+" ,gtk+)
10026 ("xmllint" ,libxml2)))
10027 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10028 (synopsis "Unicode character picker and font browser")
10029 (description
10030 "This program allows you to browse through all the available Unicode
10031 characters and categories for the installed fonts, and to examine their
10032 detailed properties. It is an easy way to find the character you might
10033 only know by its Unicode name or code point.")
10034 (license license:gpl3+))))
10035
10036 (define-public bluefish
10037 (package
10038 (name "bluefish")
10039 (version "2.2.12")
10040 (source
10041 (origin
10042 (method url-fetch)
10043 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10044 "bluefish-" version ".tar.gz"))
10045 (sha256
10046 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10047 (build-system gnu-build-system)
10048 (native-inputs
10049 `(("desktop-file-utils" ,desktop-file-utils)
10050 ("intltool" ,intltool)
10051 ("pkg-config" ,pkg-config)))
10052 (inputs
10053 `(("enchant" ,enchant)
10054 ("gtk+" ,gtk+)
10055 ("python" ,python-wrapper)
10056 ("xmllint" ,libxml2)
10057 ("gucharmap" ,gucharmap)))
10058 (home-page "http://bluefish.openoffice.nl")
10059 (synopsis "Web development studio")
10060 (description
10061 "Bluefish is an editor aimed at programmers and web developers,
10062 with many options to write web sites, scripts and other code.
10063 Bluefish supports many programming and markup languages.")
10064 (license license:gpl3+)))
10065
10066 (define-public gnome-system-monitor
10067 (package
10068 (name "gnome-system-monitor")
10069 (version "3.32.1")
10070 (source
10071 (origin
10072 (method url-fetch)
10073 (uri (string-append "mirror://gnome/sources/" name "/"
10074 (version-major+minor version) "/"
10075 name "-" version ".tar.xz"))
10076 (sha256
10077 (base32
10078 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10079 (build-system meson-build-system)
10080 (arguments
10081 '(#:glib-or-gtk? #t
10082 #:configure-flags '("-Dsystemd=false")))
10083 (native-inputs
10084 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10085 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10086 ("intltool" ,intltool)
10087 ("itstool" ,itstool)
10088 ("libgtop" ,libgtop)
10089 ("polkit" ,polkit)
10090 ("pkg-config" ,pkg-config)))
10091 (inputs
10092 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10093 ("gtk+" ,gtk+)
10094 ("gtkmm" ,gtkmm)
10095 ("librsvg" ,librsvg)
10096 ("libxml2" ,libxml2)
10097 ("libwnck" ,libwnck)))
10098 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10099 (synopsis "Process viewer and system resource monitor for GNOME")
10100 (description
10101 "GNOME System Monitor is a GNOME process viewer and system monitor with
10102 an attractive, easy-to-use interface. It has features, such as a tree view
10103 for process dependencies, icons for processes, the ability to hide processes,
10104 graphical time histories of CPU/memory/swap usage and the ability to
10105 kill/reinice processes.")
10106 (license license:gpl2+)))
10107
10108 (define-public python-pyatspi
10109 (package
10110 (name "python-pyatspi")
10111 (version "2.34.0")
10112 (source (origin
10113 (method url-fetch)
10114 (uri (string-append
10115 "mirror://gnome/sources/pyatspi/"
10116 (version-major+minor version)
10117 "/pyatspi-" version ".tar.xz"))
10118 (sha256
10119 (base32
10120 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10121 (build-system gnu-build-system)
10122 (arguments
10123 `(#:phases
10124 (modify-phases %standard-phases
10125 (add-before 'build 'fix-atk-load
10126 (lambda _
10127 (substitute* "pyatspi/__init__.py"
10128 (("from gi.repository import Atspi")
10129 "gi.require_version('Gtk', '3.0')
10130 from gi.repository import Gtk
10131 from gi.repository import Atspi"))
10132 #t)))))
10133 (native-inputs
10134 `(("pkg-config" ,pkg-config)))
10135 (inputs
10136 `(("python" ,python)))
10137 (propagated-inputs
10138 `(("python-pygobject" ,python-pygobject)))
10139 (synopsis "Python client bindings for D-Bus AT-SPI")
10140 (home-page "https://wiki.linuxfoundation.org/accessibility\
10141 /atk/at-spi/at-spi_on_d-bus")
10142 (description
10143 "This package includes a python client library for the AT-SPI D-Bus
10144 accessibility infrastructure.")
10145 (license license:lgpl2.0)
10146 (properties '((upstream-name . "pyatspi")))))
10147
10148 (define-public python2-pyatspi
10149 (package/inherit python-pyatspi
10150 (name "python2-pyatspi")
10151 (inputs
10152 `(("python" ,python-2)))
10153 (propagated-inputs
10154 `(("python-pygobject" ,python2-pygobject)))))
10155
10156 (define-public orca
10157 (package
10158 (name "orca")
10159 (version "3.34.1")
10160 (source (origin
10161 (method url-fetch)
10162 (uri (string-append
10163 "mirror://gnome/sources/" name "/"
10164 (version-major+minor version) "/"
10165 name "-" version ".tar.xz"))
10166 (sha256
10167 (base32
10168 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10169 (build-system glib-or-gtk-build-system)
10170 (arguments
10171 '(#:phases
10172 (modify-phases %standard-phases
10173 (add-before 'configure 'qualify-xkbcomp
10174 (lambda* (#:key inputs #:allow-other-keys)
10175 (let ((xkbcomp (string-append
10176 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10177 (substitute* "src/orca/orca.py"
10178 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10179 #t))
10180 (add-after 'install 'wrap-orca
10181 (lambda* (#:key outputs #:allow-other-keys)
10182 (let* ((out (assoc-ref outputs "out"))
10183 (prog (string-append out "/bin/orca")))
10184 (wrap-program prog
10185 `("GI_TYPELIB_PATH" ":" prefix
10186 (,(getenv "GI_TYPELIB_PATH")))
10187 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10188 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10189 `("PYTHONPATH" ":" prefix
10190 (,(getenv "PYTHONPATH")))))
10191 #t)))))
10192 (native-inputs
10193 `(("intltool" ,intltool)
10194 ("itstool" ,itstool)
10195 ("pkg-config" ,pkg-config)
10196 ("xmllint" ,libxml2)))
10197 (inputs
10198 `(("at-spi2-atk" ,at-spi2-atk)
10199 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10200 ("gstreamer" ,gstreamer)
10201 ("gst-plugins-base" ,gst-plugins-base)
10202 ("gst-plugins-good" ,gst-plugins-good)
10203 ("gtk+" ,gtk+)
10204 ("python" ,python)
10205 ("python-pygobject" ,python-pygobject)
10206 ("python-pyatspi" ,python-pyatspi)
10207 ("python-speechd" ,speech-dispatcher)
10208 ("xkbcomp" ,xkbcomp)))
10209 (synopsis
10210 "Screen reader for individuals who are blind or visually impaired")
10211 (home-page "https://wiki.gnome.org/Projects/Orca")
10212 (description
10213 "Orca is a screen reader that provides access to the graphical desktop
10214 via speech and refreshable braille. Orca works with applications and toolkits
10215 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10216 (license license:lgpl2.1+)))
10217
10218 (define-public gspell
10219 (package
10220 (name "gspell")
10221 (version "1.8.2")
10222 (source (origin
10223 (method url-fetch)
10224 (uri (string-append "mirror://gnome/sources/" name "/"
10225 (version-major+minor version) "/"
10226 name "-" version ".tar.xz"))
10227 (sha256
10228 (base32
10229 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10230 (patches (search-patches "gspell-dash-test.patch"))))
10231 (build-system glib-or-gtk-build-system)
10232 (arguments
10233 '(#:configure-flags (list "--enable-vala")
10234 #:phases
10235 (modify-phases %standard-phases
10236 (add-before 'check 'pre-check
10237 (lambda* (#:key inputs #:allow-other-keys)
10238 ;; Tests require a running X server.
10239 (system "Xvfb :1 &")
10240 (setenv "DISPLAY" ":1")
10241
10242 ;; For the missing /etc/machine-id.
10243 (setenv "DBUS_FATAL_WARNINGS" "0")
10244
10245 ;; Allow Enchant and its Aspell backend to find the en_US
10246 ;; dictionary.
10247 (setenv "ASPELL_DICT_DIR"
10248 (string-append (assoc-ref inputs "aspell-dict-en")
10249 "/lib/aspell"))
10250 #t)))))
10251 (inputs
10252 `(("gtk+" ,gtk+)
10253 ("glib" ,glib)
10254 ("iso-codes" ,iso-codes)))
10255 (native-inputs
10256 `(("glib" ,glib "bin")
10257 ("gobject-introspection" ,gobject-introspection)
10258 ("pkg-config" ,pkg-config)
10259 ("vala" ,vala) ;for VAPI, needed by Geary
10260 ("xmllint" ,libxml2)
10261
10262 ;; For tests.
10263 ("aspell-dict-en" ,aspell-dict-en)
10264 ("xorg-server" ,xorg-server-for-tests)))
10265 (propagated-inputs
10266 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10267 (home-page "https://wiki.gnome.org/Projects/gspell")
10268 (synopsis "GNOME's alternative spell checker")
10269 (description
10270 "gspell provides a flexible API to add spell-checking to a GTK+
10271 application. It provides a GObject API, spell-checking to text entries and
10272 text views, and buttons to choose the language.")
10273 (license license:gpl2+)))
10274
10275 (define-public gnome-planner
10276 (package
10277 (name "gnome-planner")
10278 (version "0.14.6")
10279 (source (origin
10280 (method url-fetch)
10281 (uri (string-append "mirror://gnome/sources/planner/"
10282 (version-major+minor version) "/planner-"
10283 version ".tar.xz"))
10284 (sha256
10285 (base32
10286 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10287 (build-system glib-or-gtk-build-system)
10288 (arguments
10289 ;; Disable the Python bindings because the Planner program functions
10290 ;; without them, and (as of 2017-06-13) we have not packaged all of
10291 ;; packages that are necessary for building the Python bindings.
10292 `(#:configure-flags
10293 (list "--disable-python"
10294 ,@(if (string=? "aarch64-linux" (%current-system))
10295 '("--build=aarch64-unknown-linux-gnu")
10296 '()))))
10297 (inputs
10298 `(("libgnomecanvas" ,libgnomecanvas)
10299 ("libgnomeui" ,libgnomeui)
10300 ("libglade" ,libglade)
10301 ("gnome-vfs" ,gnome-vfs)
10302 ("gconf" ,gconf)
10303 ("libxml2" ,libxml2)
10304 ("libxslt" ,libxslt)
10305 ("gtk+" ,gtk+)
10306 ("glib" ,glib)))
10307 (native-inputs
10308 `(("intltool" ,intltool)
10309 ("scrollkeeper" ,scrollkeeper)
10310 ("pkg-config" ,pkg-config)))
10311 (home-page "https://wiki.gnome.org/Apps/Planner")
10312 (synopsis "Project management software for the GNOME desktop")
10313 (description
10314 "GNOME Planner is a project management tool based on the Work Breakdown
10315 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10316 the resources, tasks, and constraints that you define, Planner generates
10317 various views into a project. For example, Planner can show a Gantt chart of
10318 the project. It can show a detailed summary of tasks including their
10319 duration, cost, and current progress. It can also show a report of resource
10320 utilization that highlights under-utilized and over-utilized resources. These
10321 views can be printed as PDF or PostScript files, or exported to HTML.")
10322 (license license:gpl2+)))
10323
10324 (define-public lollypop
10325 (package
10326 (name "lollypop")
10327 (version "1.4.6")
10328 (source
10329 (origin
10330 (method url-fetch)
10331 (uri (string-append "https://adishatz.org/lollypop/"
10332 "lollypop-" version ".tar.xz"))
10333 (sha256
10334 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10335 (build-system meson-build-system)
10336 (arguments
10337 `(#:imported-modules
10338 (,@%meson-build-system-modules
10339 (guix build python-build-system))
10340 #:modules
10341 ((guix build meson-build-system)
10342 ((guix build python-build-system) #:prefix python:)
10343 (guix build utils))
10344 #:glib-or-gtk? #t
10345 #:tests? #f ; no test suite
10346 #:phases
10347 (modify-phases %standard-phases
10348 (add-after 'install 'wrap-program
10349 (lambda* (#:key outputs #:allow-other-keys)
10350 (let ((out (assoc-ref outputs "out"))
10351 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10352 (wrap-program (string-append out "/bin/lollypop")
10353 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10354 #t))
10355 (add-after 'install 'wrap-python
10356 (assoc-ref python:%standard-phases 'wrap)))))
10357 (native-inputs
10358 `(("intltool" ,intltool)
10359 ("itstool" ,itstool)
10360 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10361 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10362 ("pkg-config" ,pkg-config)))
10363 (inputs
10364 `(("glib-networking" ,glib-networking)
10365 ("gobject-introspection" ,gobject-introspection)
10366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10367 ("gst-plugins-base" ,gst-plugins-base)
10368 ("libnotify" ,libnotify)
10369 ("libsecret" ,libsecret)
10370 ("libhandy" ,libhandy)
10371 ("libsoup" ,libsoup)
10372 ("python" ,python)
10373 ("python-beautifulsoup4" ,python-beautifulsoup4)
10374 ("python-gst" ,python-gst)
10375 ("python-pil" ,python-pillow)
10376 ("python-pycairo" ,python-pycairo)
10377 ("python-pygobject" ,python-pygobject)
10378 ("python-pylast" ,python-pylast)
10379 ("totem-pl-parser" ,totem-pl-parser)
10380 ("webkitgtk" ,webkitgtk)))
10381 (propagated-inputs
10382 `(;; gst-plugins-base is required to start Lollypop,
10383 ;; the others are required to play streaming.
10384 ("gst-plugins-good" ,gst-plugins-good)
10385 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10386 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10387 (synopsis "GNOME music playing application")
10388 (description
10389 "Lollypop is a music player designed to play well with GNOME desktop.
10390 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10391 from artists and tracks from the web. It also fetches cover artworks
10392 automatically and it can stream songs from online music services and charts.")
10393 (license license:gpl3+)))
10394
10395 (define-public gnome-video-effects
10396 (package
10397 (name "gnome-video-effects")
10398 (version "0.5.0")
10399 (source (origin
10400 (method url-fetch)
10401 (uri (string-append "mirror://gnome/sources/" name "/"
10402 (version-major+minor version) "/" name "-"
10403 version ".tar.xz"))
10404 (sha256
10405 (base32
10406 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10407 (build-system meson-build-system)
10408 (native-inputs
10409 `(("gettext" ,gettext-minimal)
10410 ("pkg-config" ,pkg-config)))
10411 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10412 (synopsis "Video effects for Cheese and other GNOME applications")
10413 (description
10414 "A collection of GStreamer video filters and effects to be used in
10415 photo-booth-like software, such as Cheese.")
10416 (license license:gpl2+)))
10417
10418 (define-public cheese
10419 (package
10420 (name "cheese")
10421 (version "3.38.0")
10422 (source (origin
10423 (method url-fetch)
10424 (uri (string-append "mirror://gnome/sources/" name "/"
10425 (version-major+minor version) "/" name "-"
10426 version ".tar.xz"))
10427 (sha256
10428 (base32
10429 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10430 (arguments
10431 `(#:glib-or-gtk? #t
10432 ;; Tests require GDK.
10433 #:tests? #f
10434 #:phases
10435 (modify-phases %standard-phases
10436 (add-after 'unpack 'skip-gtk-update-icon-cache
10437 (lambda _
10438 ;; Don't create 'icon-theme.cache'
10439 (substitute* "meson_post_install.py"
10440 (("gtk-update-icon-cache") (which "true")))
10441 #t))
10442 (add-after 'unpack 'patch-docbook-xml
10443 (lambda* (#:key inputs #:allow-other-keys)
10444 ;; Avoid a network connection attempt during the build.
10445 (substitute* '("docs/reference/cheese.xml"
10446 "docs/reference/cheese-docs.xml")
10447 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10448 (string-append (assoc-ref inputs "docbook-xml")
10449 "/xml/dtd/docbook/docbookx.dtd")))
10450 #t))
10451 (add-after 'install 'wrap-cheese
10452 (lambda* (#:key inputs outputs #:allow-other-keys)
10453 (let ((out (assoc-ref outputs "out"))
10454 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10455 (wrap-program (string-append out "/bin/cheese")
10456 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10457 #t)))))
10458 (build-system meson-build-system)
10459 (native-inputs
10460 `(("docbook-xsl" ,docbook-xsl)
10461 ("docbook-xml" ,docbook-xml-4.3)
10462 ("gettext" ,gettext-minimal)
10463 ("glib:bin" ,glib "bin")
10464 ("gtk-doc" ,gtk-doc/stable)
10465 ("itstool" ,itstool)
10466 ("libxml2" ,libxml2)
10467 ("libxslt" ,libxslt)
10468 ("pkg-config" ,pkg-config)
10469 ("vala" ,vala)))
10470 (propagated-inputs
10471 `(("gnome-video-effects" ,gnome-video-effects)
10472 ("clutter" ,clutter)
10473 ("clutter-gst" ,clutter-gst)
10474 ("clutter-gtk" ,clutter-gtk)
10475 ("libcanberra" ,libcanberra)
10476 ("gdk-pixbuf" ,gdk-pixbuf)
10477 ("glib" ,glib)
10478 ("gstreamer" ,gstreamer)))
10479 (inputs
10480 `(("gnome-desktop" ,gnome-desktop)
10481 ("gobject-introspection" ,gobject-introspection)
10482 ("gst-plugins-base" ,gst-plugins-base)
10483 ("gst-plugins-good" ,gst-plugins-good)
10484 ("gst-plugins-bad" ,gst-plugins-bad)
10485 ("gtk+" ,gtk+)
10486 ("libx11" ,libx11)
10487 ("libxtst" ,libxtst)))
10488 (home-page "https://wiki.gnome.org/Apps/Cheese")
10489 (synopsis "Webcam photo booth software for GNOME")
10490 (description
10491 "Cheese uses your webcam to take photos and videos. Cheese can also
10492 apply fancy special effects and lets you share the fun with others.")
10493 (license license:gpl2+)))
10494
10495 (define-public passwordsafe
10496 (package
10497 (name "passwordsafe")
10498 (version "5.0")
10499 (source
10500 (origin
10501 (method git-fetch)
10502 (uri (git-reference
10503 (url "https://gitlab.gnome.org/World/PasswordSafe")
10504 (commit version)))
10505 (file-name (git-file-name name version))
10506 (sha256
10507 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10508 (build-system meson-build-system)
10509 (arguments
10510 `(#:glib-or-gtk? #t
10511 #:phases
10512 (modify-phases %standard-phases
10513 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10514 (lambda* (#:key outputs #:allow-other-keys)
10515 (let ((prog (string-append (assoc-ref outputs "out")
10516 "/bin/gnome-passwordsafe"))
10517 (pylib (string-append (assoc-ref outputs "out")
10518 "/lib/python"
10519 ,(version-major+minor
10520 (package-version python))
10521 "/site-packages")))
10522 (wrap-program prog
10523 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10524 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10525 #t))))))
10526 (native-inputs
10527 `(("desktop-file-utils" ,desktop-file-utils)
10528 ("gettext" ,gettext-minimal)
10529 ("glib:bin" ,glib "bin")
10530 ("gobject-introspection" ,gobject-introspection)
10531 ("gtk+:bin" ,gtk+ "bin")
10532 ("pkg-config" ,pkg-config)))
10533 (inputs
10534 `(("glib" ,glib)
10535 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10536 ("gtk+" ,gtk+)
10537 ("libhandy" ,libhandy)
10538 ("libpwquality" ,libpwquality)
10539 ("python-pygobject" ,python-pygobject)
10540 ("python-pykeepass" ,python-pykeepass)))
10541 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10542 (synopsis "Password manager for the GNOME desktop")
10543 (description
10544 "Password Safe is a password manager which makes use of the KeePass v4
10545 format. It integrates perfectly with the GNOME desktop and provides an easy
10546 and uncluttered interface for the management of password databases.")
10547 (license license:gpl3+)))
10548
10549 (define-public sound-juicer
10550 (package
10551 (name "sound-juicer")
10552 (version "3.24.0")
10553 (source
10554 (origin
10555 (method url-fetch)
10556 (uri (string-append "mirror://gnome/sources/" name "/"
10557 (version-major+minor version) "/"
10558 name "-" version ".tar.xz"))
10559 (sha256
10560 (base32
10561 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10562 (build-system glib-or-gtk-build-system)
10563 (native-inputs
10564 `(("desktop-file-utils" ,desktop-file-utils)
10565 ("intltool" ,intltool)
10566 ("itstool" ,itstool)
10567 ("pkg-config" ,pkg-config)
10568 ("xmllint" ,libxml2)))
10569 (inputs
10570 `(("gtk+" ,gtk+)
10571 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10572 ("gstreamer" ,gstreamer)
10573 ("gst-plugins-base" ,gst-plugins-base)
10574 ("gst-plugins-good" ,gst-plugins-good)
10575 ("iso-codes" ,iso-codes)
10576 ("libbrasero-media3" ,brasero)
10577 ("libcanberra" ,libcanberra)
10578 ("libdiscid" ,libdiscid)
10579 ("libmusicbrainz" ,libmusicbrainz)
10580 ("neon" ,neon)))
10581 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10582 (synopsis "Audio music cd ripper")
10583 (description "Sound Juicer extracts audio from compact discs and convert it
10584 into audio files that a personal computer or digital audio player can play.
10585 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10586 mp3, Ogg Vorbis and FLAC")
10587 (license license:gpl2+)))
10588
10589 (define-public soundconverter
10590 (package
10591 (name "soundconverter")
10592 (version "3.0.2")
10593 (source
10594 (origin
10595 (method url-fetch)
10596 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10597 version "/+download/"
10598 "soundconverter-" version ".tar.xz"))
10599
10600 (sha256
10601 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10602 (build-system glib-or-gtk-build-system)
10603 (arguments
10604 `(#:imported-modules ((guix build python-build-system)
10605 (guix build glib-or-gtk-build-system)
10606 ,@%gnu-build-system-modules)
10607
10608 #:modules ((guix build glib-or-gtk-build-system)
10609 (guix build utils)
10610 ((guix build gnu-build-system) #:prefix gnu:)
10611 ((guix build python-build-system) #:prefix python:))
10612
10613 #:phases
10614 (modify-phases %standard-phases
10615 (add-after 'install 'wrap-soundconverter-for-python
10616 (assoc-ref python:%standard-phases 'wrap))
10617 (add-after 'install 'wrap-soundconverter
10618 (lambda* (#:key inputs outputs #:allow-other-keys)
10619 (let ((out (assoc-ref outputs "out"))
10620 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10621 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10622 (wrap-program (string-append out "/bin/soundconverter")
10623 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10624 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10625 #t)))))
10626 (native-inputs
10627 `(("intltool" ,intltool)
10628 ("pkg-config" ,pkg-config)
10629 ("glib:bin" ,glib "bin")))
10630 (inputs
10631 `(("gtk+" ,gtk+)
10632 ("python" ,python)
10633 ("python-pygobject" ,python-pygobject)
10634 ("gstreamer" ,gstreamer)
10635 ("gst-plugins-base" ,gst-plugins-base)))
10636 (home-page "https://soundconverter.org/")
10637 (synopsis "Convert between audio formats with a graphical interface")
10638 (description
10639 "SoundConverter supports converting between many audio formats including
10640 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10641 configurable file renaming. ")
10642 (license license:gpl3)))
10643
10644 (define-public workrave
10645 (package
10646 (name "workrave")
10647 (version "1.10.43")
10648 (source
10649 (origin
10650 (method git-fetch)
10651 (uri (git-reference
10652 (url "https://github.com/rcaelers/workrave")
10653 (commit (string-append "v" (string-map
10654 (match-lambda (#\. #\_) (chr chr))
10655 version)))))
10656 (file-name (git-file-name name version))
10657 (sha256
10658 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10659 (build-system glib-or-gtk-build-system)
10660 (arguments
10661 ;; The only tests are maintainer tests (in po/), which fail.
10662 `(#:tests? #f))
10663 (inputs `(("glib" ,glib)
10664 ("gtk+" ,gtk+)
10665 ("gdk-pixbuf" ,gdk-pixbuf)
10666 ("gtkmm" ,gtkmm)
10667 ("glibmm" ,glibmm)
10668 ("libx11" ,libx11)
10669 ("libxtst" ,libxtst)
10670 ("dconf" ,dconf)
10671 ("libice" ,libice)
10672 ("libsm" ,libsm)
10673 ("libxscrnsaver" ,libxscrnsaver)))
10674 (native-inputs `(("boost" ,boost)
10675 ("pkg-config" ,pkg-config)
10676 ("gettext" ,gettext-minimal)
10677 ("autoconf" ,autoconf)
10678 ("autoconf-archive" , autoconf-archive)
10679 ("automake" ,automake)
10680 ("libtool" ,libtool)
10681 ("intltool" ,intltool)
10682 ("gobject-introspection" ,gobject-introspection)
10683 ("python3" ,python-3)
10684 ("python-jinja2" ,python-jinja2)))
10685 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10686 (description
10687 "Workrave is a program that assists in the recovery and prevention of
10688 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10689 micro-pauses and rest breaks, and restricts you to your daily limit.")
10690 (home-page "http://www.workrave.org")
10691 (license license:gpl3+)))
10692
10693 (define-public ghex
10694 (package
10695 (name "ghex")
10696 (version "3.18.4")
10697 (source (origin
10698 (method url-fetch)
10699 (uri (string-append "mirror://gnome/sources/ghex/"
10700 (version-major+minor version) "/"
10701 "ghex-" version ".tar.xz"))
10702 (sha256
10703 (base32
10704 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10705 (build-system meson-build-system)
10706 (arguments
10707 '(#:glib-or-gtk? #t
10708 #:phases
10709 (modify-phases %standard-phases
10710 (add-after 'unpack 'skip-gtk-update-icon-cache
10711 ;; Don't create 'icon-theme.cache'.
10712 (lambda _
10713 (substitute* "meson_post_install.py"
10714 (("gtk-update-icon-cache") (which "true")))
10715 #t)))))
10716 (native-inputs
10717 `(("pkg-config" ,pkg-config)
10718 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10719 ("gnome-common" ,gnome-common)
10720 ("which" ,which)
10721 ("intltool" ,intltool)
10722 ("yelp-tools" ,yelp-tools)
10723 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10724 (inputs
10725 `(("atk" ,atk)
10726 ("gtk" ,gtk+)))
10727 (synopsis "GNOME hexadecimal editor")
10728 (description "The GHex program can view and edit files in two ways:
10729 hexadecimal or ASCII. It is useful for editing binary files in general.")
10730 (home-page "https://wiki.gnome.org/Apps/Ghex")
10731 (license license:gpl2)))
10732
10733 (define-public libdazzle
10734 (package
10735 (name "libdazzle")
10736 (version "3.37.1")
10737 (source (origin
10738 (method url-fetch)
10739 (uri (string-append "mirror://gnome/sources/libdazzle/"
10740 (version-major+minor version) "/"
10741 "libdazzle-" version ".tar.xz"))
10742 (sha256
10743 (base32
10744 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10745 (build-system meson-build-system)
10746 (arguments
10747 `(#:phases
10748 (modify-phases %standard-phases
10749 (add-before 'check 'pre-check
10750 (lambda _
10751 ;; Tests require a running X server.
10752 (system "Xvfb :1 &")
10753 (setenv "DISPLAY" ":1")
10754 #t)))))
10755 (native-inputs
10756 `(("glib" ,glib "bin") ; glib-compile-resources
10757 ("pkg-config" ,pkg-config)
10758 ;; For tests.
10759 ("xorg-server" ,xorg-server-for-tests)))
10760 (inputs
10761 `(("glib" ,glib)
10762 ("gobject-introspection" ,gobject-introspection)
10763 ("gtk+" ,gtk+)
10764 ("vala" ,vala)))
10765 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10766 (synopsis "Companion library to GObject and Gtk+")
10767 (description "The libdazzle library is a companion library to GObject and
10768 Gtk+. It provides various features that the authors wish were in the
10769 underlying library but cannot for various reasons. In most cases, they are
10770 wildly out of scope for those libraries. In other cases, they are not quite
10771 generic enough to work for everyone.")
10772 (license license:gpl3+)))
10773
10774 (define-public evolution
10775 (package
10776 (name "evolution")
10777 (version "3.34.2")
10778 (source (origin
10779 (method url-fetch)
10780 (uri (string-append "mirror://gnome/sources/evolution/"
10781 (version-major+minor version) "/"
10782 "evolution-" version ".tar.xz"))
10783 (sha256
10784 (base32
10785 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10786 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10787 (build-system cmake-build-system)
10788 (arguments
10789 `(#:imported-modules (,@%cmake-build-system-modules
10790 (guix build glib-or-gtk-build-system))
10791 #:modules ((guix build cmake-build-system)
10792 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10793 (guix build utils))
10794 #:configure-flags
10795 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10796 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10797 ; in four years and cannot be built.
10798 #:phases
10799 (modify-phases %standard-phases
10800 ;; The build system attempts to install user interface modules to the
10801 ;; output directory of the "evolution-data-server" package. This
10802 ;; change redirects that change.
10803 (add-after 'unpack 'patch-ui-module-dir
10804 (lambda* (#:key outputs #:allow-other-keys)
10805 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10806 (("\\$\\{edsuimoduledir\\}")
10807 (string-append (assoc-ref outputs "out")
10808 "/lib/evolution-data-server/ui-modules")))
10809 #t))
10810 (add-after 'install 'glib-or-gtk-compile-schemas
10811 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10812 (add-after 'install 'glib-or-gtk-wrap
10813 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10814 (native-inputs
10815 `(("glib" ,glib "bin") ; glib-mkenums
10816 ("pkg-config" ,pkg-config)
10817 ("intltool" ,intltool)
10818 ("itstool" ,itstool)))
10819 (inputs
10820 `(("enchant" ,enchant)
10821 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10822 ("gcr" ,gcr)
10823 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10824 ("gnome-autoar" ,gnome-autoar)
10825 ("gnome-desktop" ,gnome-desktop)
10826 ("gspell" ,gspell)
10827 ("highlight" ,highlight)
10828 ("libcanberra" ,libcanberra)
10829 ("libgweather" ,libgweather)
10830 ("libnotify" ,libnotify)
10831 ("libsoup" ,libsoup)
10832 ("nss" ,nss)
10833 ("openldap" ,openldap)
10834 ("webkitgtk" ,webkitgtk)
10835 ("ytnef" ,ytnef)))
10836 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10837 (synopsis "Manage your email, contacts and schedule")
10838 (description "Evolution is a personal information management application
10839 that provides integrated mail, calendaring and address book
10840 functionality.")
10841 ;; See COPYING for details.
10842 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10843 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10844 license:lgpl2.1+)))) ; smime/lib/*
10845
10846 (define-public gthumb
10847 (package
10848 (name "gthumb")
10849 (version "3.10.3")
10850 (source (origin
10851 (method url-fetch)
10852 (uri (string-append "mirror://gnome/sources/gthumb/"
10853 (version-major+minor version) "/"
10854 "gthumb-" version ".tar.xz"))
10855 (sha256
10856 (base32
10857 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10858 (build-system meson-build-system)
10859 (arguments
10860 `(#:glib-or-gtk? #t
10861 #:configure-flags
10862 ;; Ensure the RUNPATH contains all installed library locations.
10863 (list (string-append "-Dc_link_args=-Wl,-rpath="
10864 (assoc-ref %outputs "out")
10865 "/lib/gthumb/extensions")
10866 (string-append "-Dcpp_link_args=-Wl,-rpath="
10867 (assoc-ref %outputs "out")
10868 "/lib/gthumb/extensions"))))
10869 (native-inputs
10870 `(("pkg-config" ,pkg-config)
10871 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10872 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10873 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10874 ("intltool" ,intltool)
10875 ("itstool" ,itstool)))
10876 (inputs
10877 `(("exiv2" ,exiv2)
10878 ("gtk" ,gtk+)
10879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10880 ("gstreamer" ,gstreamer)
10881 ("clutter" ,clutter)
10882 ("clutter-gst" ,clutter-gst)
10883 ("clutter-gtk" ,clutter-gtk)
10884 ("libjpeg" ,libjpeg-turbo)
10885 ("libtiff" ,libtiff)
10886 ("libraw" ,libraw)))
10887 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10888 (synopsis "GNOME image viewer and browser")
10889 (description "GThumb is an image viewer, browser, organizer, editor and
10890 advanced image management tool")
10891 (license license:gpl2+)))
10892
10893 (define-public terminator
10894 (package
10895 (name "terminator")
10896 (version "2.1.1")
10897 (source
10898 (origin
10899 (method url-fetch)
10900 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10901 "releases/download/v" version "/"
10902 name "-" version ".tar.gz"))
10903 (sha256
10904 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10905 (build-system python-build-system)
10906 (native-inputs
10907 `(("gettext" ,gettext-minimal)
10908 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10909 ("gobject-introspection" ,gobject-introspection)
10910 ("intltool" ,intltool)
10911 ("pkg-config" ,pkg-config)
10912 ("python-psutil" ,python-psutil)
10913 ("python-pytest-runner" ,python-pytest-runner)
10914 ("python-pytest" ,python-pytest)))
10915 (inputs
10916 `(("cairo" ,cairo)
10917 ("dbus-glib" ,dbus-glib)
10918 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10919 ("gtk+" ,gtk+)
10920 ("python" ,python-wrapper)
10921 ("python-dbus" ,python-dbus)
10922 ("python-notify2" ,python-notify2)
10923 ("python-pycairo" ,python-pycairo)
10924 ("python-pygobject" ,python-pygobject)
10925 ("vte" ,vte)))
10926 (propagated-inputs
10927 `(("python-configobj" ,python-configobj)))
10928 (arguments
10929 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10930 ;; tests.
10931 `(#:tests? #f
10932 #:imported-modules ((guix build glib-or-gtk-build-system)
10933 ,@%python-build-system-modules)
10934 #:modules ((guix build python-build-system)
10935 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10936 (guix build utils))
10937 #:phases
10938 (modify-phases %standard-phases
10939 (add-after 'unpack 'handle-dbus-python
10940 (lambda _
10941 ;; python-dbus cannot be found but it's really there. See
10942 ;; https://github.com/SpotlightKid/jack-select/issues/2
10943 (substitute* "setup.py"
10944 (("'dbus-python',") ""))
10945 #t))
10946 (add-after 'install 'wrap-program
10947 (lambda* (#:key outputs #:allow-other-keys)
10948 (let ((prog (string-append (assoc-ref outputs "out")
10949 "/bin/terminator"))
10950 (pylib (string-append (assoc-ref outputs "out")
10951 "/lib/python"
10952 ,(version-major+minor
10953 (package-version python))
10954 "/site-packages")))
10955 (wrap-program prog
10956 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10957 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10958 #t)))
10959 (add-after 'wrap-program 'glib-or-gtk-wrap
10960 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10961 (home-page "https://gnome-terminator.org/")
10962 (synopsis "Store and run multiple GNOME terminals in one window")
10963 (description
10964 "Terminator allows you to run multiple GNOME terminals in a grid and
10965 tabs, and it supports drag and drop re-ordering of terminals.")
10966 (license license:gpl2)))
10967
10968 (define-public libhandy
10969 (package
10970 (name "libhandy")
10971 (version "1.2.2")
10972 (source
10973 (origin
10974 (method git-fetch)
10975 (uri (git-reference
10976 (url "https://gitlab.gnome.org/GNOME/libhandy")
10977 (commit version)))
10978 (file-name (git-file-name name version))
10979 (sha256
10980 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10981 (build-system meson-build-system)
10982 (arguments
10983 `(#:configure-flags
10984 '("-Dglade_catalog=enabled"
10985 "-Dgtk_doc=true")
10986 #:phases
10987 (modify-phases %standard-phases
10988 (add-before 'check 'pre-check
10989 (lambda _
10990 ;; Tests require a running X server.
10991 (system "Xvfb :1 &")
10992 (setenv "DISPLAY" ":1")
10993 #t)))))
10994 (inputs
10995 `(("gtk+" ,gtk+)
10996 ("glade" ,glade3)
10997 ("libxml2" ,libxml2)))
10998 (native-inputs
10999 `(("glib:bin" ,glib "bin")
11000 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
11001 ("vala" ,vala)
11002 ("gtk-doc" ,gtk-doc/stable)
11003 ("pkg-config" ,pkg-config)
11004 ("gettext" ,gettext-minimal)
11005
11006 ;; Test suite dependencies.
11007 ("xorg-server" ,xorg-server-for-tests)
11008 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11009 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11010 (synopsis "Library full of GTK+ widgets for mobile phones")
11011 (description "The aim of the handy library is to help with developing user
11012 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11013 for usage on small and big screens.")
11014 (license license:lgpl2.1+)))
11015
11016 (define-public libhandy-0.0
11017 (package
11018 (inherit libhandy)
11019 (version "0.0.13")
11020 (source
11021 (origin
11022 (method git-fetch)
11023 (uri (git-reference
11024 (url "https://gitlab.gnome.org/GNOME/libhandy")
11025 (commit (string-append "v" version))))
11026 (file-name (git-file-name "libhandy" version))
11027 (sha256
11028 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11029 (arguments
11030 (substitute-keyword-arguments (package-arguments libhandy)
11031 ((#:configure-flags flags)
11032 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11033
11034 (define-public libgit2-glib
11035 (package
11036 (name "libgit2-glib")
11037 (version "0.99.0.1")
11038 (source (origin
11039 (method url-fetch)
11040 (uri (string-append "mirror://gnome/sources/" name "/"
11041 (version-major+minor version) "/"
11042 name "-" version ".tar.xz"))
11043 (sha256
11044 (base32
11045 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11046 (build-system meson-build-system)
11047 (native-inputs
11048 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11049 ("gobject-introspection" ,gobject-introspection)
11050 ("pkg-config" ,pkg-config)
11051 ("python-pygobject" ,python-pygobject)
11052 ("python-wrapper" ,python-wrapper)
11053 ("vala" ,vala)))
11054 (inputs
11055 `(("glib" ,glib)
11056 ("libssh2" ,libssh2)))
11057 (propagated-inputs
11058 `(;; In Requires of libgit2-glib.pc.
11059 ("libgit2" ,libgit2)))
11060 (synopsis "GLib wrapper around the libgit2 Git access library")
11061 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11062 access library. It only implements the core plumbing functions, not really the
11063 higher level porcelain stuff.")
11064 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11065 (license license:gpl2+)))
11066
11067 (define-public gitg
11068 (package
11069 (name "gitg")
11070 (version "3.32.1")
11071 (source (origin
11072 (method url-fetch)
11073 (uri (string-append "mirror://gnome/sources/" name "/"
11074 (version-major+minor version) "/"
11075 name "-" version ".tar.xz"))
11076 (sha256
11077 (base32
11078 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11079 (build-system meson-build-system)
11080 (arguments
11081 `(#:glib-or-gtk? #t
11082 #:phases
11083 (modify-phases %standard-phases
11084 (add-after 'unpack 'disable-post-install-partially
11085 (lambda _
11086 (substitute* "meson_post_install.py"
11087 (("'python'") ; there are no python sources to compile
11088 (string-append "'" (which "true") "'"))
11089 (("gtk-update-icon-cache") (which "true")))
11090 #t))
11091 (add-after 'unpack 'fix-test-sources
11092 (lambda _
11093 (substitute* "tests/libgitg/test-commit.vala"
11094 (("/bin/bash") (which "bash")))
11095 #t))
11096 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11097 (lambda* (#:key outputs #:allow-other-keys)
11098 (let ((prog (string-append (assoc-ref outputs "out")
11099 "/bin/gitg")))
11100 (wrap-program prog
11101 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11102 #t))))))
11103 (inputs
11104 `(("glib" ,glib)
11105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11106 ("gtk+" ,gtk+)
11107 ("gtkspell3" ,gtkspell3)
11108 ("gtksourceview" ,gtksourceview-3)
11109 ("json-glib" ,json-glib)
11110 ("libdazzle" ,libdazzle)
11111 ("libgee" ,libgee)
11112 ("libgit2-glib" ,libgit2-glib)
11113 ("libpeas" ,libpeas)
11114 ("libsecret" ,libsecret)
11115 ("libsoup" ,libsoup)
11116 ("libxml2" ,libxml2)))
11117 (native-inputs
11118 `(("glib:bin" ,glib "bin")
11119 ("gtk+:bin" ,gtk+ "bin")
11120 ("gobject-introspection" ,gobject-introspection)
11121 ("intltool" ,intltool)
11122 ("pkg-config" ,pkg-config)
11123 ("vala" ,vala)))
11124 (synopsis "Graphical user interface for git")
11125 (description
11126 "gitg is a graphical user interface for git. It aims at being a small,
11127 fast and convenient tool to visualize the history of git repositories.
11128 Besides visualization, gitg also provides several utilities to manage your
11129 repository and commit your work.")
11130 (home-page "https://wiki.gnome.org/Apps/Gitg")
11131 (license license:gpl2+)))
11132
11133 (define-public gamin
11134 (package
11135 (name "gamin")
11136 (version "0.1.10")
11137 (source (origin
11138 (method url-fetch)
11139 (uri (string-append "mirror://gnome/sources/" name "/"
11140 (version-major+minor version) "/"
11141 name "-" version ".tar.bz2"))
11142 (sha256
11143 (base32
11144 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11145 (build-system gnu-build-system)
11146 (arguments
11147 `(#:phases
11148 (modify-phases %standard-phases
11149 (add-after 'unpack 'remove-deprecated-macro
11150 (lambda _
11151 (substitute* '("server/gam_node.c"
11152 "server/gam_subscription.h"
11153 "server/gam_node.h"
11154 "server/gam_subscription.c")
11155 (("G_CONST_RETURN") "const"))
11156 #t)))))
11157 (inputs
11158 `(("glib" ,glib)))
11159 (native-inputs
11160 `(("intltool" ,intltool)
11161 ("pkg-config" ,pkg-config)))
11162 (home-page "https://people.gnome.org/~veillard/gamin/")
11163 (synopsis "File alteration monitor")
11164 (description
11165 "Gamin is a file and directory monitoring system defined to be a subset
11166 of the FAM (File Alteration Monitor) system. This is a service provided by a
11167 library which detects when a file or a directory has been modified.")
11168 (license license:gpl2+)))
11169
11170 (define-public gnome-mahjongg
11171 (package
11172 (name "gnome-mahjongg")
11173 (version "3.35.1")
11174 (source (origin
11175 (method git-fetch)
11176 (uri (git-reference
11177 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11178 (commit version)))
11179 (file-name (git-file-name name version))
11180 (sha256
11181 (base32
11182 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11183 (build-system meson-build-system)
11184 (arguments
11185 `(#:glib-or-gtk? #t))
11186 (native-inputs
11187 `(("appstream-glib" ,appstream-glib)
11188 ("gettext" ,gettext-minimal)
11189 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11190 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11191 ("itstool" ,itstool)
11192 ("pkg-config" ,pkg-config)
11193 ("vala" ,vala)))
11194 (propagated-inputs
11195 `(("dconf" ,dconf)))
11196 (inputs
11197 `(("glib" ,glib)
11198 ("gtk+" ,gtk+)
11199 ("librsvg" ,librsvg)))
11200 (synopsis "Mahjongg tile-matching game")
11201 (description "GNOME Mahjongg is a game based on the classic Chinese
11202 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11203 and a high score table.")
11204 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11205 (license license:gpl2+)))
11206
11207 (define-public gnome-themes-extra
11208 (package
11209 (name "gnome-themes-extra")
11210 (version "3.28")
11211 (source
11212 (origin
11213 (method url-fetch)
11214 (uri (string-append "mirror://gnome/sources/" name "/"
11215 (version-major+minor version) "/" name "-"
11216 version ".tar.xz"))
11217 (sha256
11218 (base32
11219 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11220 (build-system gnu-build-system)
11221 (arguments
11222 '(#:configure-flags
11223 ;; Don't create 'icon-theme.cache'.
11224 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11225 (true (string-append coreutils "/bin/true")))
11226 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11227 (native-inputs
11228 `(("glib:bin" ,glib "bin")
11229 ("intltool" ,intltool)
11230 ("pkg-config" ,pkg-config)))
11231 (inputs
11232 `(("glib" ,glib)
11233 ("gtk+" ,gtk+)
11234 ("gtk+-2" ,gtk+-2)
11235 ("librsvg" ,librsvg)
11236 ("libxml2" ,libxml2)))
11237 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11238 (synopsis "GNOME Extra Themes")
11239 (description "This package provides themes and related elements that don't
11240 really fit in other upstream packages. It offers legacy support for GTK+ 2
11241 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11242 index files needed for Adwaita to be used outside of GNOME.")
11243 (license license:lgpl2.1+)))
11244
11245 (define-public gnote
11246 (package
11247 (name "gnote")
11248 (version "3.38.1")
11249 (source
11250 (origin
11251 (method url-fetch)
11252 (uri (string-append "mirror://gnome/sources/" name "/"
11253 (version-major+minor version) "/"
11254 "gnote-" version ".tar.xz"))
11255 (sha256
11256 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11257 (build-system glib-or-gtk-build-system)
11258 (native-inputs
11259 `(("desktop-file-utils" ,desktop-file-utils)
11260 ("glib:bin" ,glib "bin")
11261 ("gobject-introspection" ,gobject-introspection)
11262 ("intltool" ,intltool)
11263 ("itstool" ,itstool)
11264 ("pkg-config" ,pkg-config)
11265 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11266 (inputs
11267 `(("glibmm" ,glibmm)
11268 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11269 ("gspell" ,gspell)
11270 ("gtk+" ,gtk+)
11271 ("gtkmm" ,gtkmm)
11272 ("libsecret" ,libsecret)
11273 ("libuuid" ,util-linux "lib")
11274 ("libxml2" ,libxml2)
11275 ("libxslt" ,libxslt)))
11276 (synopsis "Note-taking application for the GNOME desktop")
11277 (description
11278 "Gnote is a note-taking application written for the GNOME desktop
11279 environment.")
11280 (home-page "https://wiki.gnome.org/Apps/Gnote")
11281 (license license:gpl3+)))
11282
11283 (define-public polari
11284 (package
11285 (name "polari")
11286 (version "3.36.3")
11287 (source (origin
11288 (method url-fetch)
11289 (uri (string-append "mirror://gnome/sources/polari/"
11290 (version-major+minor version)
11291 "/polari-" version ".tar.xz"))
11292 (sha256
11293 (base32
11294 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11295 (build-system meson-build-system)
11296 (arguments
11297 `(#:glib-or-gtk? #t
11298 #:phases
11299 (modify-phases %standard-phases
11300 (add-after 'unpack 'skip-gtk-update-icon-cache
11301 (lambda _
11302 (substitute* "meson/meson-postinstall.sh"
11303 (("gtk-update-icon-cache") (which "true")))
11304 #t))
11305 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11306 (lambda* (#:key outputs #:allow-other-keys)
11307 (let ((prog (string-append (assoc-ref outputs "out")
11308 "/bin/polari")))
11309 (wrap-program prog
11310 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11311 #t))))))
11312 (inputs
11313 `(("glib" ,glib)
11314 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11315 ("gspell" ,gspell)
11316 ("gtk+" ,gtk+)
11317 ("gjs" ,gjs)
11318 ("libsecret" ,libsecret)
11319 ("libsoup" ,libsoup)
11320 ("telepathy-glib" ,telepathy-glib)
11321 ("telepathy-logger" ,telepathy-logger)))
11322 (native-inputs
11323 `(("glib:bin" ,glib "bin")
11324 ("gobject-introspection" ,gobject-introspection)
11325 ("intltool" ,intltool)
11326 ("pkg-config" ,pkg-config)
11327 ("yelp-tools" ,yelp-tools)))
11328 (propagated-inputs
11329 `(("telepathy-idle" ,telepathy-idle)
11330 ("telepathy-mission-control" ,telepathy-mission-control)))
11331 (synopsis "Simple IRC Client")
11332 (description
11333 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11334 integrate seamlessly with the GNOME desktop.")
11335 (home-page "https://wiki.gnome.org/Apps/Polari")
11336 (license license:gpl2+)))
11337
11338 (define-public gnome-boxes
11339 (package
11340 (name "gnome-boxes")
11341 (version "3.36.6")
11342 (source
11343 (origin
11344 (method url-fetch)
11345 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11346 (version-major+minor version) "/"
11347 "gnome-boxes-" version ".tar.xz"))
11348 (sha256
11349 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11350 (build-system meson-build-system)
11351 (arguments
11352 '(#:glib-or-gtk? #t
11353 #:configure-flags (list "-Drdp=false"
11354 (string-append "-Dc_link_args=-Wl,-rpath="
11355 (assoc-ref %outputs "out")
11356 "/lib/gnome-boxes"))))
11357 (native-inputs
11358 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11359 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11360 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11361 ("itstool" ,itstool)
11362 ("intltool" ,intltool)
11363 ("vala" ,vala)
11364 ("pkg-config" ,pkg-config)))
11365 (inputs
11366 `(("libarchive" ,libarchive)
11367 ("glib-networking" ,glib-networking) ;for TLS support
11368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11369 ("gtk" ,gtk+)
11370 ("gtk-vnc" ,gtk-vnc)
11371 ("libosinfo" ,libosinfo)
11372 ("libsecret" ,libsecret)
11373 ("libsoup" ,libsoup)
11374 ("libusb" ,libusb)
11375 ("libvirt" ,libvirt)
11376 ("libvirt-glib" ,libvirt-glib)
11377 ("libxml" ,libxml2)
11378 ("spice-gtk" ,spice-gtk)
11379 ("sparql-query" ,sparql-query)
11380 ("vte" ,vte)
11381 ("webkitgtk" ,webkitgtk)
11382 ("tracker" ,tracker)
11383 ("libgudev" ,libgudev)))
11384 (home-page "https://wiki.gnome.org/Apps/Boxes")
11385 (synopsis "View, access, and manage remote and virtual systems")
11386 (description "GNOME Boxes is a simple application to view, access, and
11387 manage remote and virtual systems. Note that this application requires the
11388 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11389 @command{info '(guix) Virtualization Services'} to learn how to configure
11390 these services on the Guix System.")
11391 (license (list
11392 ;; For data/icons/empty-boxes.png.
11393 license:cc-by2.0
11394 ;; For all others.
11395 license:lgpl2.0+))))
11396
11397 (define-public geary
11398 (package
11399 (name "geary")
11400 (version "3.34.1")
11401 (source (origin
11402 (method git-fetch)
11403 (uri (git-reference
11404 (url "https://gitlab.gnome.org/GNOME/geary")
11405 (commit version)))
11406 (file-name (git-file-name name version))
11407 (sha256
11408 (base32
11409 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11410 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11411 (build-system meson-build-system)
11412 (arguments
11413 `(#:glib-or-gtk? #t
11414 #:phases (modify-phases %standard-phases
11415 (add-after 'unpack 'disable-failing-tests
11416 (lambda _
11417 (substitute* "test/meson.build"
11418 (("test\\('client-tests', geary_test_client_bin\\)")
11419 ""))
11420 #t))
11421 (add-after 'unpack 'disable-postinstall-script
11422 (lambda _
11423 (substitute* "meson.build"
11424 (("meson.add_install_script\\(\
11425 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11426 ""))
11427 #t))
11428 (add-before 'check 'setup-xvfb
11429 (lambda _
11430 (system "Xvfb :1 &")
11431 (setenv "DISPLAY" ":1")
11432 #t)))))
11433 (inputs
11434 `(("enchant" ,enchant)
11435 ("folks" ,folks)
11436 ("gcr" ,gcr)
11437 ("glib" ,glib)
11438 ("gmime" ,gmime-2.6)
11439 ("gnome-online-accounts:lib"
11440 ,gnome-online-accounts "lib")
11441 ("gspell" ,gspell)
11442 ("gtk+" ,gtk+)
11443 ("iso-codes" ,iso-codes)
11444 ("json-glib" ,json-glib)
11445 ("libcanberra" ,libcanberra)
11446 ("libgee" ,libgee)
11447 ("libhandy" ,libhandy-0.0)
11448 ("libpeas" ,libpeas)
11449 ("libsecret" ,libsecret)
11450 ("libunwind" ,libunwind)
11451 ("sqlite" ,sqlite)
11452 ("webkitgtk" ,webkitgtk)
11453 ("ytnef" ,ytnef)))
11454 (native-inputs
11455 `(("appstream-glib" ,appstream-glib)
11456 ("cmake-minimal" ,cmake-minimal)
11457 ("desktop-file-utils" ,desktop-file-utils)
11458 ("gettext" ,gettext-minimal)
11459 ("glib:bin" ,glib "bin")
11460 ("gobject-introspection" ,gobject-introspection)
11461 ("itstool" ,itstool)
11462 ("libarchive" ,libarchive)
11463 ("libxml2" ,libxml2)
11464 ("pkg-config" ,pkg-config)
11465 ("vala" ,vala)
11466 ("xvfb" ,xorg-server-for-tests)))
11467 (synopsis "GNOME email application built around conversations")
11468 (description
11469 "Geary collects related messages together into conversations,
11470 making it easy to find and follow your discussions. Full-text and keyword
11471 search makes it easy to find the email you are looking for. Geary's
11472 full-featured composer lets you send rich, styled text with images, links, and
11473 lists, but also send lightweight, easy to read text messages. Geary
11474 automatically picks up your existing GNOME Online Accounts, and adding more is
11475 easy. Geary has a clean, fast, modern interface that works like you want it
11476 to.")
11477 (home-page "https://wiki.gnome.org/Apps/Geary")
11478 (license (list
11479 ;; geary
11480 license:lgpl2.1+
11481 ;; icons
11482 license:cc-by3.0
11483 license:cc-by-sa3.0
11484 license:public-domain
11485 ;; snowball
11486 license:bsd-2))))
11487
11488 (define-public glabels
11489 (package
11490 (name "glabels")
11491 (version "3.4.1")
11492 (source
11493 (origin
11494 (method url-fetch)
11495 (uri (string-append "mirror://gnome/sources/" name "/"
11496 (version-major+minor version) "/"
11497 "glabels-" version ".tar.xz"))
11498 (sha256
11499 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11500 (build-system glib-or-gtk-build-system)
11501 (native-inputs
11502 `(("gettext" ,gettext-minimal)
11503 ("glib:bin" ,glib "bin")
11504 ("intltool" ,intltool)
11505 ("itstool" ,itstool)
11506 ("pkg-config" ,pkg-config)))
11507 (inputs
11508 `(("gtk+" ,gtk+)
11509 ("librsvg" ,librsvg)
11510 ("libxml2" ,libxml2)))
11511 (home-page "https://glabels.org/")
11512 (synopsis "Program for creating labels and business cards")
11513 (description
11514 "gLabels is a program for creating labels and business cards. It is
11515 designed to work with various laser/ink-jet peel-off label and business
11516 card sheets that you’ll find at most office supply stores.")
11517 (license license:gpl3+)))
11518
11519 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11520 (define-public gnome-latex
11521 (package
11522 (name "gnome-latex")
11523 (version "3.36.0")
11524 (source
11525 (origin
11526 (method url-fetch)
11527 (uri (string-append "mirror://gnome/sources/" name "/"
11528 (version-major+minor version) "/"
11529 "gnome-latex-" version ".tar.xz"))
11530 (sha256
11531 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11532 (build-system glib-or-gtk-build-system)
11533 (native-inputs
11534 `(("gettext" ,gettext-minimal)
11535 ("glib:bin" ,glib "bin")
11536 ("gobject-introspection" ,gobject-introspection)
11537 ("gtk-doc" ,gtk-doc/stable)
11538 ("intltool" ,intltool)
11539 ("itstool" ,itstool)
11540 ("pkg-config" ,pkg-config)
11541 ("vala" ,vala)))
11542 (inputs
11543 `(("amtk" ,amtk)
11544 ("dconf" ,dconf)
11545 ("glib" ,glib)
11546 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11547 ("gspell" ,gspell)
11548 ("gtk+" ,gtk+)
11549 ("gtksourceview" ,gtksourceview)
11550 ("libgee" ,libgee)
11551 ("tepl" ,tepl)
11552 ("uchardet" ,uchardet)))
11553 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11554 (synopsis "LaTeX editor for the GNOME desktop")
11555 (description
11556 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11557 such as build tools, completion of LaTeX commands, structure navigation,
11558 symbol tables, document templates, project management, spell-checking, menus
11559 and toolbars.")
11560 (license license:gpl3+)))
11561
11562 (define-public setzer
11563 (package
11564 (name "setzer")
11565 (version "0.4.1")
11566 (source
11567 (origin
11568 (method git-fetch)
11569 (uri (git-reference
11570 (url "https://github.com/cvfosammmm/Setzer")
11571 (commit (string-append "v" version))))
11572 (file-name (git-file-name name version))
11573 (sha256
11574 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11575 (build-system meson-build-system)
11576 (arguments
11577 `(#:glib-or-gtk? #t
11578 #:phases
11579 (modify-phases %standard-phases
11580 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11581 (lambda* (#:key outputs #:allow-other-keys)
11582 (let ((prog (string-append (assoc-ref outputs "out")
11583 "/bin/setzer"))
11584 (pylib (string-append (assoc-ref outputs "out")
11585 "/lib/python"
11586 ,(version-major+minor
11587 (package-version python))
11588 "/site-packages")))
11589 (wrap-program prog
11590 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11591 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11592 #t))))))
11593 (native-inputs
11594 `(("desktop-file-utils" ,desktop-file-utils)
11595 ("gettext" ,gettext-minimal)
11596 ("glib:bin" ,glib "bin")
11597 ("gobject-introspection" ,gobject-introspection)
11598 ("gtk+:bin" ,gtk+ "bin")))
11599 (inputs
11600 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11601 ("gspell" ,gspell)
11602 ("gtk+" ,gtk+)
11603 ("gtksourceview" ,gtksourceview)
11604 ("pango" ,pango)
11605 ("poppler" ,poppler)
11606 ("python-pdfminer" ,python-pdfminer-six)
11607 ("python-pycairo" ,python-pycairo)
11608 ("python-pygobject" ,python-pygobject)
11609 ("python-pyxdg" ,python-pyxdg)
11610 ("webkitgtk" ,webkitgtk)
11611 ("xdg-utils" ,xdg-utils)))
11612 (home-page "https://www.cvfosammmm.org/setzer/")
11613 (synopsis "LaTeX editor written in Python with GTK+")
11614 (description
11615 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11616 GTK+. It integrates well with the GNOME desktop environment.")
11617 (license license:gpl3+)))
11618
11619 (define-public apostrophe
11620 (package
11621 (name "apostrophe")
11622 (version "2.4")
11623 (source (origin
11624 (method git-fetch)
11625 (uri (git-reference
11626 (url "https://gitlab.gnome.org/somas/apostrophe")
11627 (commit (string-append "v" version))))
11628 (file-name (git-file-name name version))
11629 (sha256
11630 (base32
11631 "1qzy3zhi18wf42m034s8kcmx9gl05j620x3hf6rnycq2fvy7g4gz"))))
11632 (build-system meson-build-system)
11633 (arguments
11634 `(#:glib-or-gtk? #t
11635 #:phases
11636 (modify-phases %standard-phases
11637 (add-after 'unpack 'patch-meson
11638 (lambda _
11639 (substitute* "build-aux/meson_post_install.py"
11640 (("gtk-update-icon-cache") "true"))
11641 #t))
11642 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11643 (lambda* (#:key inputs outputs #:allow-other-keys)
11644 (let ((prog (string-append (assoc-ref outputs "out")
11645 "/bin/apostrophe"))
11646 (pylib (string-append (assoc-ref outputs "out")
11647 "/lib/python"
11648 ,(version-major+minor
11649 (package-version python))
11650 "/site-packages")))
11651 (wrap-program prog
11652 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11653 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
11654 `("PATH" prefix (,(string-append (assoc-ref inputs "pandoc")
11655 "/bin"))))
11656 #t))))))
11657 (inputs
11658 `(("glib" ,glib)
11659 ("gobject-introspection" ,gobject-introspection)
11660 ("gspell" ,gspell)
11661 ("gtk+" ,gtk+)
11662 ("libhandy" ,libhandy)
11663 ("pandoc" ,pandoc)
11664 ("python-chardet" ,python-chardet)
11665 ("python-levenshtein" ,python-levenshtein)
11666 ("python-regex" ,python-regex)
11667 ("python-pycairo" ,python-pycairo)
11668 ("python-pygobject" ,python-pygobject)
11669 ("python-pyenchant" ,python-pyenchant)
11670 ("python-pypandoc" ,python-pypandoc)
11671 ("webkitgtk" ,webkitgtk)))
11672 (native-inputs
11673 `(("gettext" ,gettext-minimal)
11674 ("glib:bin" ,glib "bin")
11675 ("pkg-config" ,pkg-config)))
11676 (home-page "https://gitlab.gnome.org/somas/apostrophe")
11677 (synopsis "Markdown editor written in Python with GTK+")
11678 (description "Apostrophe is a GTK+ based distraction free Markdown editor.
11679 It uses pandoc as back-end for parsing Markdown.")
11680 (license license:gpl3)))
11681
11682 (define-public libratbag
11683 (package
11684 (name "libratbag")
11685 (version "0.14")
11686 (source
11687 (origin
11688 (method git-fetch)
11689 (uri (git-reference
11690 (url "https://github.com/libratbag/libratbag")
11691 (commit (string-append "v" version))))
11692 (file-name (git-file-name name version))
11693 (sha256
11694 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11695 (build-system meson-build-system)
11696 (arguments
11697 `(#:configure-flags
11698 (list "-Dsystemd=false"
11699 "-Dlogind-provider=elogind")
11700 #:phases
11701 (modify-phases %standard-phases
11702 (add-after 'install 'wrap
11703 (lambda* (#:key inputs outputs #:allow-other-keys)
11704 (let* ((out (assoc-ref outputs "out"))
11705 (site (string-append
11706 "/lib/python"
11707 ,(version-major+minor (package-version python))
11708 "/site-packages"))
11709 (evdev (string-append
11710 (assoc-ref inputs "python-evdev") site))
11711 (pygo (string-append
11712 (assoc-ref inputs "python-pygobject") site))
11713 (python-wrap
11714 `("PYTHONPATH" = (,evdev ,pygo))))
11715 (wrap-program (string-append out "/bin/" "ratbagctl")
11716 python-wrap)
11717 #t))))))
11718 (native-inputs
11719 `(("check" ,check)
11720 ("pkg-config" ,pkg-config)
11721 ("swig" ,swig)
11722 ("valgrind" ,valgrind)))
11723 (inputs
11724 `(("glib" ,glib)
11725 ("json-glib" ,json-glib)
11726 ("libevdev" ,libevdev)
11727 ("libsystemd" ,elogind)
11728 ("libunistring" ,libunistring)
11729 ("python-evdev" ,python-evdev)
11730 ("python-pygobject" ,python-pygobject)
11731 ("udev" ,eudev)))
11732 (home-page "https://github.com/libratbag/libratbag")
11733 (synopsis "DBus daemon and utility for configuring gaming mice")
11734 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11735 configure input devices, mainly gaming mice. The daemon provides a generic
11736 way to access the various features exposed by these mice and abstracts away
11737 hardware-specific and kernel-specific quirks. There is also the
11738 @command{ratbagctl} command line interface for configuring devices.
11739
11740 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11741 Steelseries.
11742
11743 The ratbagd DBus service can be enabled by adding the following service to
11744 your operating-system definition:
11745
11746 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11747 (license license:expat)))
11748
11749 (define-public piper
11750 (package
11751 (name "piper")
11752 (version "0.5.1")
11753 (source
11754 (origin
11755 (method git-fetch)
11756 (uri (git-reference
11757 (url "https://github.com/libratbag/piper")
11758 (commit version)))
11759 (sha256
11760 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11761 (file-name (git-file-name name version))))
11762 (build-system meson-build-system)
11763 (native-inputs
11764 `(("gettext" ,gettext-minimal)
11765 ("glib:bin" ,glib "bin")
11766 ("gobject-introspection" ,gobject-introspection)
11767 ("pkg-config" ,pkg-config)
11768 ("python-flake8" ,python-flake8)))
11769 (inputs
11770 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11771 ("gtk" ,gtk+)
11772 ("gtk:bin" ,gtk+ "bin")
11773 ("librsvg" ,librsvg)
11774 ("python-evdev" ,python-evdev)
11775 ("python-lxml" ,python-lxml)
11776 ("python-pycairo" ,python-pycairo)
11777 ("python-pygobject" ,python-pygobject)))
11778 (arguments
11779 `(#:imported-modules ((guix build python-build-system)
11780 ,@%meson-build-system-modules)
11781 #:modules (((guix build python-build-system) #:prefix python:)
11782 (guix build meson-build-system)
11783 (guix build utils))
11784 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11785 #:phases
11786 (modify-phases %standard-phases
11787 (add-after 'unpack 'dont-update-gtk-icon-cache
11788 (lambda _
11789 (substitute* "meson.build"
11790 (("meson.add_install_script('meson_install.sh')") ""))
11791 #t))
11792 ;; TODO: Switch to wrap-script when it is fixed.
11793 (add-after 'install 'wrap-python
11794 (assoc-ref python:%standard-phases 'wrap))
11795 (add-after 'wrap-python 'wrap
11796 (lambda* (#:key outputs #:allow-other-keys)
11797 (wrap-program
11798 (string-append (assoc-ref outputs "out" )"/bin/piper")
11799 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11800 #t)))))
11801 (home-page "https://github.com/libratbag/piper/")
11802 (synopsis "Configure bindings and LEDs on gaming mice")
11803 (description "Piper is a GTK+ application for configuring gaming mice with
11804 onboard configuration for key bindings via libratbag. Piper requires
11805 a @command{ratbagd} daemon running with root privileges. It can be run
11806 manually as root, but is preferably configured as a DBus service that can
11807 launch on demand. This can be configured by enabling the following service,
11808 provided there is a DBus service present:
11809
11810 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11811 (license license:gpl2)))
11812
11813 (define-public parlatype
11814 (package
11815 (name "parlatype")
11816 (version "2.1")
11817 (source
11818 (origin
11819 (method git-fetch)
11820 (uri (git-reference
11821 (url "https://github.com/gkarsay/parlatype")
11822 (commit (string-append "v" version))))
11823 (file-name (git-file-name name version))
11824 (sha256
11825 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11826 (build-system meson-build-system)
11827 (arguments
11828 `(#:glib-or-gtk? #t
11829 #:tests? #f ;require internet access
11830 #:phases
11831 (modify-phases %standard-phases
11832 (add-after 'install 'wrap-parlatype
11833 ;; Add gstreamer plugin provided in this package to system's
11834 ;; plugins.
11835 (lambda* (#:key outputs #:allow-other-keys)
11836 (let* ((out (assoc-ref outputs "out"))
11837 (gst-plugin-path (string-append
11838 out "/lib/gstreamer-1.0/"
11839 ":"
11840 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11841 (wrap-program (string-append out "/bin/parlatype")
11842 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11843 #t)))))
11844 (native-inputs
11845 `(("appstream-glib" ,appstream-glib)
11846 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11847 ("gettext" ,gettext-minimal)
11848 ("glib" ,glib "bin") ;for glib-compile-resources
11849 ("pkg-config" ,pkg-config)
11850 ("yelp-tools" ,yelp-tools)))
11851 (inputs
11852 `(("gst-plugins-base" ,gst-plugins-base)
11853 ("gst-plugins-good" ,gst-plugins-good)
11854 ("gstreamer" ,gstreamer)
11855 ("gtk+" ,gtk+)
11856 ("pocketsphinx" ,pocketsphinx)
11857 ("pulseaudio" ,pulseaudio)
11858 ("sphinxbase" ,sphinxbase)))
11859 (home-page "http://gkarsay.github.io/parlatype/")
11860 (synopsis "GNOME audio player for transcription")
11861 (description "Parlatype is an audio player for the GNOME desktop
11862 environment. Its main purpose is the manual transcription of spoken
11863 audio files.")
11864 (license license:gpl3+)))
11865
11866 (define-public jsonrpc-glib
11867 (package
11868 (name "jsonrpc-glib")
11869 (version "3.34.0")
11870 (source (origin
11871 (method url-fetch)
11872 (uri (string-append "mirror://gnome/sources/" name "/"
11873 (version-major+minor version) "/"
11874 name "-" version ".tar.xz"))
11875 (sha256
11876 (base32
11877 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11878 (build-system meson-build-system)
11879 (inputs
11880 `(("json-glib" ,json-glib)
11881 ("glib" ,glib)))
11882 (native-inputs
11883 `(("pkg-config" ,pkg-config)
11884 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11885 ("gobject-introspection" ,gobject-introspection)
11886 ("vala" ,vala)))
11887 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11888 (synopsis "JSON-RPC library for GLib")
11889 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11890 peers in either a synchronous or asynchronous fashion. It also allows
11891 communicating using the GVariant serialization format instead of JSON when
11892 both peers support it. You might want that when communicating on a single
11893 host to avoid parser overhead and memory-allocator fragmentation.")
11894 (license license:lgpl2.1+)))
11895
11896 (define-public feedbackd
11897 (package
11898 (name "feedbackd")
11899 (version "0.0.0+git20200527")
11900 (source (origin
11901 (method git-fetch)
11902 (uri (git-reference
11903 (url "https://source.puri.sm/Librem5/feedbackd.git")
11904 (commit (string-append "v" version))))
11905 (file-name (git-file-name name version))
11906 (sha256
11907 (base32
11908 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11909 (build-system meson-build-system)
11910 (native-inputs
11911 `(("glib:bin" ,glib "bin")
11912 ("gobject-introspection" ,gobject-introspection)
11913 ("pkg-config" ,pkg-config)
11914 ("vala" ,vala)))
11915 (inputs
11916 `(("dbus" ,dbus)
11917 ("gsound" ,gsound)
11918 ("json-glib" ,json-glib)
11919 ("libgudev" ,libgudev)))
11920 (propagated-inputs
11921 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11922 (synopsis "Haptic/visual/audio feedback via DBus")
11923 (description "Feedbackd provides a DBus daemon to act on events to provide
11924 haptic, visual and audio feedback. It offers the libfeedbackd library and
11925 GObject introspection bindings.")
11926 (home-page "https://source.puri.sm/Librem5/feedbackd")
11927 (license (list license:lgpl2.1+ ; libfeedbackd
11928 license:lgpl3+)))) ; the rest
11929
11930 (define-public sysprof
11931 (package
11932 (name "sysprof")
11933 (version "3.36.0")
11934 (source
11935 (origin
11936 (method url-fetch)
11937 (uri (string-append "mirror://gnome/sources/sysprof/"
11938 (version-major+minor version) "/"
11939 "sysprof-" version ".tar.xz"))
11940 (sha256
11941 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11942 (build-system meson-build-system)
11943 (arguments
11944 `(#:configure-flags
11945 (list (string-append "-Dsystemdunitdir="
11946 %output
11947 "/share/systemd"))
11948 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11949 #:phases
11950 (modify-phases %standard-phases
11951 (add-after 'unpack 'patch-install-script
11952 (lambda _
11953 (substitute* "build-aux/meson/post_install.sh"
11954 (("gtk-update-icon-cache") "true")
11955 (("update-desktop-database") "true"))
11956 #t)))))
11957 (inputs
11958 `(("glib" ,glib)
11959 ("gtk+" ,gtk+)
11960 ("libdazzle" ,libdazzle)
11961 ("polkit" ,polkit)))
11962 (native-inputs
11963 `(("gettext" ,gettext-minimal)
11964 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11965 ("itstool" ,itstool)
11966 ("pkg-config" ,pkg-config)
11967 ("xmllint" ,libxml2)))
11968 ;; This home page is so woefully out of date as to be essentially useless.
11969 ;; (home-page "http://www.sysprof.com")
11970 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11971 (synopsis "System-wide performance profiler for GNU/Linux")
11972 (description
11973 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11974 GNU/Linux system including the kernel and all user-space applications. This
11975 helps find the function(s) in which a program spends most of its time.
11976
11977 It uses the kernel's built-in @code{ptrace} feature and handles shared
11978 libraries. Applications do not need to be recompiled--or even restarted.")
11979 (license license:gpl3+)))
11980
11981 (define-public gnome-builder
11982 (package
11983 (name "gnome-builder")
11984 (version "3.36.1")
11985 (source (origin
11986 (method url-fetch)
11987 (uri (string-append "mirror://gnome/sources/" name "/"
11988 (version-major+minor version) "/"
11989 name "-" version ".tar.xz"))
11990 (sha256
11991 (base32
11992 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11993 (build-system meson-build-system)
11994 (arguments
11995 `(#:configure-flags (list "-Dnetwork_tests=false"
11996 ;; TODO: Enable all plugins...
11997 "-Dplugin_clang=false"
11998 "-Dplugin_flatpak=false"
11999 "-Dplugin_glade=false"
12000 ;; XXX: This one has been shown not to work in
12001 ;; <https://issues.guix.gnu.org/45272>
12002 "-Dplugin_jedi=false"
12003 ;; ... except this one.
12004 "-Dplugin_update_manager=false")
12005 #:phases
12006 (modify-phases %standard-phases
12007 (add-after 'unpack 'patch-meson
12008 (lambda* (#:key inputs #:allow-other-keys)
12009 (substitute* "build-aux/meson/post_install.py"
12010 (("gtk-update-icon-cache") "true")
12011 (("update-desktop-database") "true"))
12012 (substitute* "src/libide/meson.build"
12013 (("/usr/lib")
12014 (string-append (assoc-ref inputs "python-pygobject")
12015 "/lib")))
12016 #t))
12017 (add-after 'configure 'fix-ninja
12018 (lambda _
12019 ;; #43296: meson(?) incorrectly assumes we want to link
12020 ;; this PIE against a static libselinux.
12021 (substitute* "build.ninja"
12022 (("libselinux\\.a") "libselinux.so"))
12023 #t))
12024 (add-before 'check 'pre-check
12025 (lambda _
12026 (system "Xvfb :1 &")
12027 (setenv "DISPLAY" ":1")
12028 #t)))))
12029 (inputs
12030 `(("devhelp" ,devhelp)
12031 ("gspell" ,gspell)
12032 ("gtk+" ,gtk+)
12033 ("json-glib" ,json-glib)
12034 ("jsonrpc-glib" ,jsonrpc-glib)
12035 ("libdazzle" ,libdazzle)
12036 ("libgit2-glib" ,libgit2-glib)
12037 ("libpeas" ,libpeas)
12038 ("python-pygobject" ,python-pygobject)
12039 ("sysprof" ,sysprof)
12040 ("template-glib" ,template-glib)
12041 ("vte" ,vte)
12042 ("webkitgtk" ,webkitgtk)))
12043 (propagated-inputs
12044 `(("gtksourceview" ,gtksourceview))) ;needed for settings
12045 (native-inputs
12046 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
12047 ("glib:bin" ,glib "bin")
12048 ("gettext" ,gettext-minimal)
12049 ("pkg-config" ,pkg-config)
12050 ("vala" ,vala)
12051 ("xorg-server" ,xorg-server-for-tests)))
12052 (home-page "https://wiki.gnome.org/Apps/Builder")
12053 (synopsis "Toolsmith for GNOME-based applications")
12054 (description "Builder aims to be an integrated development
12055 environment (IDE) for writing GNOME-based software. It features fuzzy search,
12056 auto-completion, a mini code map, documentation browsing, Git integration, an
12057 integrated profiler via Sysprof, debugging support, and more.")
12058 (license license:gpl3+)))
12059
12060 (define-public komikku
12061 (package
12062 (name "komikku")
12063 (version "0.29.2")
12064 (source
12065 (origin
12066 (method git-fetch)
12067 (uri (git-reference
12068 (url "https://gitlab.com/valos/Komikku/")
12069 (commit (string-append "v" version))))
12070 (file-name (git-file-name name version))
12071 (sha256
12072 (base32
12073 "0g1whk0y3k1cy6ix20gz226ww1vzpb9hinn5d24z6j38mdgqqa5l"))))
12074 (build-system meson-build-system)
12075 (arguments
12076 `(#:glib-or-gtk? #t
12077 #:phases
12078 (modify-phases %standard-phases
12079 (add-after 'unpack 'patch-sources
12080 (lambda _
12081 (substitute* "komikku/utils.py"
12082 (("from komikku\\.servers import get_servers_list")
12083 ;; code following that line should migrate old databases
12084 ;; but the line itself results in an import error
12085 "return data_dir_path"))))
12086 (add-after 'unpack 'skip-gtk-update-icon-cache
12087 (lambda _
12088 (substitute* "meson_post_install.py"
12089 (("gtk-update-icon-cache") (which "true")))
12090 #t))
12091 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12092 (lambda* (#:key outputs #:allow-other-keys)
12093 (let ((prog (string-append (assoc-ref outputs "out")
12094 "/bin/komikku")))
12095 (wrap-program prog
12096 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12097 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12098 #t))))))
12099 (inputs
12100 `(("gtk+" ,gtk+)
12101 ("libhandy" ,libhandy)
12102 ("libnotify" ,libnotify)
12103 ("libsecret" ,libsecret)
12104 ("python-beautifulsoup4" ,python-beautifulsoup4)
12105 ("python-brotli" ,python-brotli)
12106 ("python-cloudscraper" ,python-cloudscraper)
12107 ("python-dateparser" ,python-dateparser)
12108 ("python-keyring" ,python-keyring)
12109 ("python-lxml" ,python-lxml)
12110 ("python-magic" ,python-magic)
12111 ("python-pillow" ,python-pillow)
12112 ("python-pure-protobuf" ,python-pure-protobuf)
12113 ("python-pycairo" ,python-pycairo)
12114 ("python-pygobject" ,python-pygobject)
12115 ("python-requests" ,python-requests)
12116 ("python-unidecode" ,python-unidecode)
12117 ("webkitgtk" ,webkitgtk)))
12118 (native-inputs
12119 `(("desktop-file-utils" ,desktop-file-utils)
12120 ("gettext" ,gettext-minimal)
12121 ("glib:bin" ,glib "bin")
12122 ("gobject-introspection" ,gobject-introspection)
12123 ("pkg-config" ,pkg-config)))
12124 (home-page "https://gitlab.com/valos/Komikku")
12125 (synopsis "Manga reader for GNOME")
12126 (description "Komikku is an online/offline manga reader for GNOME,
12127 developed with the aim of being used with the Librem 5 phone.")
12128 (license license:gpl3+)))
12129
12130 (define-public libgda
12131 (package
12132 (name "libgda")
12133 (version "5.2.10")
12134 (source
12135 (origin
12136 (method git-fetch)
12137 (uri (git-reference
12138 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12139 (commit (string-append "LIBGDA_" (string-replace-substring
12140 version "." "_")))))
12141 (file-name (git-file-name name version))
12142 (sha256
12143 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12144 (build-system gnu-build-system)
12145 (arguments
12146 `(#:configure-flags '("--enable-vala")
12147 ;; There's a race between check_cnc_lock and check_threaded_cnc
12148 ;; in tests/multi-threading.
12149 #:parallel-tests? #f
12150 #:phases
12151 (modify-phases %standard-phases
12152 (add-after 'unpack 'fix-glade-install
12153 (lambda _
12154 (substitute* "configure.ac"
12155 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12156 "${datadir}/glade/catalogs")
12157 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12158 "${datadir}/glade/pixmaps"))
12159 #t))
12160 (add-before 'check 'pre-check
12161 (lambda* (#:key inputs #:allow-other-keys)
12162 ;; Tests require a running X server.
12163 (system "Xvfb :1 &")
12164 (setenv "DISPLAY" ":1")
12165 #t))
12166 (add-after 'install 'symlink-glade-module
12167 (lambda* (#:key outputs #:allow-other-keys)
12168 (let* ((shlib "libgda-ui-5.0.so")
12169 (out (assoc-ref outputs "out"))
12170 (out/lib (string-append out "/lib"))
12171 (moduledir (string-append out/lib "/glade/modules")))
12172 (mkdir-p moduledir)
12173 (symlink (string-append out/lib "/" shlib)
12174 (string-append moduledir "/" shlib))
12175 #t))))))
12176 (propagated-inputs
12177 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12178 (inputs
12179 `(("glib" ,glib)
12180 ("glade" ,glade3)
12181 ("gtk+" ,gtk+)
12182 ("libsecret" ,libsecret)
12183 ("libxslt" ,libxslt)
12184 ("openssl" ,openssl)
12185 ("vala" ,vala)))
12186 (native-inputs
12187 `(("autoconf" ,autoconf)
12188 ("autoconf-archive" ,autoconf-archive)
12189 ("automake" ,automake)
12190 ("glib:bin" ,glib "bin")
12191 ("gnome-common" ,gnome-common)
12192 ("gobject-introspection" ,gobject-introspection)
12193 ("gtk-doc" ,gtk-doc/stable)
12194 ("intltool" ,intltool)
12195 ("libtool" ,libtool)
12196 ("pkg-config" ,pkg-config)
12197 ("vala" ,vala)
12198 ("which" ,which)
12199 ("xorg-server" ,xorg-server-for-tests)
12200 ("yelp-tools" ,yelp-tools)))
12201 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12202 (synopsis "Uniform data access")
12203 (description
12204 "GNU Data Access (GDA) is an attempt to provide uniform access to
12205 different kinds of data sources (databases, information servers, mail spools,
12206 etc). It is a complete architecture that provides all you need to access
12207 your data.")
12208 (license license:lgpl2.1+)))
12209
12210 (define-public gtranslator
12211 (package
12212 (name "gtranslator")
12213 (version "3.36.0")
12214 (source (origin
12215 (method url-fetch)
12216 (uri (string-append "mirror://gnome/sources/" name "/"
12217 (version-major+minor version) "/"
12218 name "-" version ".tar.xz"))
12219 (sha256
12220 (base32
12221 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12222 (build-system meson-build-system)
12223 (inputs
12224 `(("json-glib" ,json-glib)
12225 ("jsonrpc-glib" ,jsonrpc-glib)
12226 ("gettext" ,gettext-minimal)
12227 ("glib" ,glib)
12228 ("gtk+" ,gtk+)
12229 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12230 ("gspell" ,gspell)
12231 ("libdazzle" ,libdazzle)
12232 ("libgda" ,libgda)
12233 ("libsoup" ,libsoup)))
12234 (native-inputs
12235 `(("glib:bin" ,glib "bin")
12236 ("itstool" ,itstool)
12237 ("pkg-config" ,pkg-config)))
12238 (propagated-inputs
12239 `(("gtksourceview" ,gtksourceview))) ; required for source view
12240 (arguments
12241 `(#:build-type "release"
12242 #:glib-or-gtk? #t
12243 #:phases
12244 (modify-phases %standard-phases
12245 (add-after 'unpack 'skip-gtk-update-icon-cache
12246 (lambda _
12247 (substitute* "build-aux/meson/meson_post_install.py"
12248 (("gtk-update-icon-cache") (which "true")))
12249 #t)))))
12250 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12251 (synopsis "Translation making program")
12252 (description
12253 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12254 for the GNOME 3.x platform with many features. It aims to be a very complete
12255 editing environment for translation issues within the GNU gettext/GNOME desktop
12256 world.")
12257 (license license:gpl3+)))
12258
12259
12260 (define-public ocrfeeder
12261 (package
12262 (name "ocrfeeder")
12263 (version "0.8.3")
12264 (source (origin
12265 (method url-fetch)
12266 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12267 (version-major+minor version) "/"
12268 "ocrfeeder-" version ".tar.xz"))
12269 (sha256
12270 (base32
12271 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12272 (build-system gnu-build-system)
12273 (arguments
12274 `(#:phases
12275 (modify-phases %standard-phases
12276 (add-after
12277 'install 'wrap-program
12278 (lambda* (#:key outputs #:allow-other-keys)
12279 (let ((prog (string-append (assoc-ref outputs "out")
12280 "/bin/" "ocrfeeder"))
12281 (pylib (string-append (assoc-ref outputs "out")
12282 "/lib/python"
12283 ,(version-major+minor
12284 (package-version python))
12285 "/site-packages")))
12286 (wrap-program prog
12287 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12288 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12289 #t))))))
12290 (native-inputs
12291 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12292 ("gobject-introspection" ,gobject-introspection)
12293 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12294 ("intltool" ,intltool)
12295 ("itstool" ,itstool)
12296 ("pkg-config" ,pkg-config)
12297 ("xmllint" ,libxml2)))
12298 (inputs
12299 `(("enchant" ,enchant)
12300 ("glib" ,glib)
12301 ("goocanvas" ,goocanvas)
12302 ("gtk" ,gtk+)
12303 ("gtkspell3" ,gtkspell3)
12304 ("libjpeg" ,libjpeg-turbo)
12305 ("libtiff" ,libtiff)
12306 ("libraw" ,libraw)
12307 ("ocrad" ,ocrad)
12308 ("python" ,python-wrapper)
12309 ("python-pygobject" ,python-pygobject)
12310 ("python-odfpy" ,python-odfpy)
12311 ("python-pillow" ,python-pillow)
12312 ("python-pyenchant" ,python-pyenchant)
12313 ("python-reportlab" ,python-reportlab)
12314 ("python-sane" ,python-sane)
12315 ("sane-backends" ,sane-backends)
12316 ("tesseract-ocr" ,tesseract-ocr)))
12317 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12318 (synopsis "Complete OCR Suite")
12319 (description "OCRFeeder is a complete Optical Character Recognition and
12320 Document Analysis and Recognition program.")
12321 (license license:gpl3+)))