gnu: tracker-miners: Update to 2.3.4.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 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, 2017, 2018, 2019, 2020 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 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 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;;
59 ;;; This file is part of GNU Guix.
60 ;;;
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
65 ;;;
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
70 ;;;
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
73
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gimp)
111 #:use-module (gnu packages gl)
112 #:use-module (gnu packages glib)
113 #:use-module (gnu packages gnupg)
114 #:use-module (gnu packages gnuzilla)
115 #:use-module (gnu packages geo)
116 #:use-module (gnu packages gperf)
117 #:use-module (gnu packages graphviz)
118 #:use-module (gnu packages gstreamer)
119 #:use-module (gnu packages gtk)
120 #:use-module (gnu packages guile)
121 #:use-module (gnu packages ibus)
122 #:use-module (gnu packages icu4c)
123 #:use-module (gnu packages image)
124 #:use-module (gnu packages imagemagick)
125 #:use-module (gnu packages inkscape)
126 #:use-module (gnu packages iso-codes)
127 #:use-module (gnu packages kerberos)
128 #:use-module (gnu packages libcanberra)
129 #:use-module (gnu packages libffi)
130 #:use-module (gnu packages libunistring)
131 #:use-module (gnu packages libunwind)
132 #:use-module (gnu packages libusb)
133 #:use-module (gnu packages linux)
134 #:use-module (gnu packages lirc)
135 #:use-module (gnu packages lua)
136 #:use-module (gnu packages mail)
137 #:use-module (gnu packages mp3)
138 #:use-module (gnu packages multiprecision)
139 #:use-module (gnu packages music)
140 #:use-module (gnu packages ncurses)
141 #:use-module (gnu packages nettle)
142 #:use-module (gnu packages networking)
143 #:use-module (gnu packages ninja)
144 #:use-module (gnu packages node)
145 #:use-module (gnu packages nss)
146 #:use-module (gnu packages openldap)
147 #:use-module (gnu packages package-management)
148 #:use-module (gnu packages password-utils)
149 #:use-module (gnu packages pcre)
150 #:use-module (gnu packages pdf)
151 #:use-module (gnu packages perl)
152 #:use-module (gnu packages photo)
153 #:use-module (gnu packages php)
154 #:use-module (gnu packages pkg-config)
155 #:use-module (gnu packages polkit)
156 #:use-module (gnu packages popt)
157 #:use-module (gnu packages pretty-print)
158 #:use-module (gnu packages protobuf)
159 #:use-module (gnu packages pulseaudio)
160 #:use-module (gnu packages python)
161 #:use-module (gnu packages python-crypto)
162 #:use-module (gnu packages python-web)
163 #:use-module (gnu packages python-xyz)
164 #:use-module (gnu packages rdesktop)
165 #:use-module (gnu packages rdf)
166 #:use-module (gnu packages readline)
167 #:use-module (gnu packages ruby)
168 #:use-module (gnu packages rust)
169 #:use-module (gnu packages samba)
170 #:use-module (gnu packages scanner)
171 #:use-module (gnu packages sdl)
172 #:use-module (gnu packages search)
173 #:use-module (gnu packages selinux)
174 #:use-module (gnu packages slang)
175 #:use-module (gnu packages speech)
176 #:use-module (gnu packages spice)
177 #:use-module (gnu packages sqlite)
178 #:use-module (gnu packages ssh)
179 #:use-module (gnu packages swig)
180 #:use-module (gnu packages tex)
181 #:use-module (gnu packages time)
182 #:use-module (gnu packages tls)
183 #:use-module (gnu packages valgrind)
184 #:use-module (gnu packages version-control)
185 #:use-module (gnu packages video)
186 #:use-module (gnu packages virtualization)
187 #:use-module (gnu packages vpn)
188 #:use-module (gnu packages web)
189 #:use-module (gnu packages webkit)
190 #:use-module (gnu packages xdisorg)
191 #:use-module (gnu packages xiph)
192 #:use-module (gnu packages xml)
193 #:use-module (gnu packages xorg)
194 #:use-module (gnu artwork)
195 #:use-module ((guix build utils) #:select (modify-phases))
196 #:use-module (guix build-system cargo)
197 #:use-module (guix build-system cmake)
198 #:use-module (guix build-system glib-or-gtk)
199 #:use-module (guix build-system gnu)
200 #:use-module (guix build-system meson)
201 #:use-module (guix build-system python)
202 #:use-module (guix build-system trivial)
203 #:use-module (guix download)
204 #:use-module (guix git-download)
205 #:use-module ((guix licenses) #:prefix license:)
206 #:use-module (guix packages)
207 #:use-module (guix utils)
208 #:use-module (guix gexp)
209 #:use-module (guix monads)
210 #:use-module (guix store)
211 #:use-module (ice-9 match)
212 #:use-module (srfi srfi-1))
213
214 (define-public brasero
215 (package
216 (name "brasero")
217 (version "3.12.2")
218 (source (origin
219 (method url-fetch)
220 (uri (string-append "mirror://gnome/sources/brasero/"
221 (version-major+minor version) "/"
222 "brasero-" version ".tar.xz"))
223 (sha256
224 (base32
225 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
226 (build-system glib-or-gtk-build-system)
227 (arguments
228 `(#:configure-flags (list
229 (string-append "--with-girdir="
230 (assoc-ref %outputs "out")
231 "/share/gir-1.0")
232 (string-append "--with-typelibdir="
233 (assoc-ref %outputs "out")
234 "/lib/girepository-1.0"))
235 #:phases
236 (modify-phases %standard-phases
237 (add-before 'configure 'embed-growisofs
238 (lambda* (#:key inputs #:allow-other-keys)
239 (substitute* "plugins/growisofs/burn-growisofs.c"
240 (("\"growisofs") (string-append "\"" (which "growisofs"))))
241 #t)))))
242 (propagated-inputs
243 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
244 (native-inputs
245 `(("intltool" ,intltool)
246 ("itstool" ,itstool)
247 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
248 ("gobject-introspection" ,gobject-introspection)
249 ("pkg-config" ,pkg-config)))
250 (inputs
251 `(("dvd+rw-tools" ,dvd+rw-tools)
252 ("glib" ,glib)
253 ("gnome-doc-utils" ,gnome-doc-utils)
254 ("gstreamer" ,gstreamer)
255 ("gst-plugins-base" ,gst-plugins-base)
256 ("gtk+" ,gtk+)
257 ("libcanberra" ,libcanberra)
258 ("libice" ,libice)
259 ("libnotify" ,libnotify)
260 ("libsm" ,libsm)
261 ("libxml2" ,libxml2)
262 ("totem-pl-parser" ,totem-pl-parser)))
263 (home-page "https://wiki.gnome.org/Apps/Brasero")
264 (synopsis "CD/DVD burning tool for Gnome")
265 (description "Brasero is an application to burn CD/DVD for the Gnome
266 Desktop. It is designed to be as simple as possible and has some unique
267 features to enable users to create their discs easily and quickly.")
268 (license license:gpl2+)))
269
270 (define-public libcloudproviders
271 (package
272 (name "libcloudproviders")
273 (version "0.3.1")
274 (source
275 (origin
276 (method url-fetch)
277 (uri
278 (string-append "mirror://gnome/sources/" name "/"
279 (version-major+minor version) "/"
280 name "-" version ".tar.xz"))
281 (sha256
282 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
283 (build-system meson-build-system)
284 (outputs '("out" "doc"))
285 (arguments
286 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
287 #:configure-flags
288 (list
289 "-Denable-gtk-doc=true")
290 #:phases
291 (modify-phases %standard-phases
292 (add-after 'install 'move-doc
293 (lambda* (#:key outputs #:allow-other-keys)
294 (let* ((out (assoc-ref outputs "out"))
295 (doc (assoc-ref outputs "doc")))
296 (mkdir-p (string-append doc "/share"))
297 (rename-file
298 (string-append out "/share/gtk-doc")
299 (string-append doc "/share/gtk-doc"))
300 #t))))))
301 (native-inputs
302 `(("glib:bin" ,glib "bin")
303 ("gobject-introspection" ,gobject-introspection)
304 ("gtk-doc" ,gtk-doc)
305 ("pkg-config" ,pkg-config)
306 ("vala" ,vala)))
307 (inputs
308 `(("glib" ,glib)
309 ("glib-networking" ,glib-networking)))
310 (synopsis "Cloudproviders Integration API")
311 (description "Libcloudproviders is a DBus API that allows cloud storage sync
312 clients to expose their services. Clients such as file managers and desktop
313 environments can then provide integrated access to the cloud providers
314 services.")
315 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
316 (license license:lgpl3+)))
317
318 (define-public libgrss
319 (package
320 (name "libgrss")
321 (version "0.7.0")
322 (source
323 (origin
324 (method url-fetch)
325 (uri
326 (string-append "mirror://gnome/sources/" name "/"
327 (version-major+minor version) "/"
328 name "-" version ".tar.xz"))
329 (sha256
330 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
331 (build-system glib-or-gtk-build-system)
332 (outputs '("out" "doc"))
333 (arguments
334 `(#:configure-flags
335 (list
336 "--enable-gtk-doc"
337 (string-append "--with-html-dir="
338 (assoc-ref %outputs "doc")
339 "/share/gtk-doc/html"))
340 #:phases
341 (modify-phases %standard-phases
342 (add-after 'unpack 'patch-docbook-xml
343 (lambda* (#:key inputs #:allow-other-keys)
344 (with-directory-excursion "doc/reference"
345 (substitute* "libgrss-docs.sgml"
346 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
347 (string-append (assoc-ref inputs "docbook-xml")
348 "/xml/dtd/docbook/"))))
349 #t)))))
350 (native-inputs
351 `(("docbook-xml" ,docbook-xml-4.1.2)
352 ("gobject-introspection" ,gobject-introspection)
353 ("gtk-doc" ,gtk-doc)
354 ("pkg-config" ,pkg-config)))
355 (propagated-inputs
356 `(("glib" ,glib)
357 ("libsoup" ,libsoup)
358 ("libxml2" ,libxml2)))
359 (synopsis "Glib library for feeds")
360 (description "LibGRSS is a Glib abstaction to handle feeds in RSS, Atom and
361 other formats.")
362 (home-page "https://wiki.gnome.org/Projects/Libgrss")
363 (license license:lgpl3+)))
364
365 (define-public gnome-js-common
366 (package
367 (name "gnome-js-common")
368 (version "0.1.2")
369 (source
370 (origin
371 (method url-fetch)
372 (uri
373 (string-append "mirror://gnome/sources/" name "/"
374 (version-major+minor version) "/"
375 name "-" version ".tar.gz"))
376 (sha256
377 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
378 (build-system glib-or-gtk-build-system)
379 (arguments
380 `(#:configure-flags
381 (list
382 "--disable-static")))
383 (native-inputs
384 `(("gettext" ,gettext-minimal)
385 ("intltool" ,intltool)
386 ("pkg-config" ,pkg-config)))
387 (synopsis "Common JS Modules")
388 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
389 bindings.")
390 (home-page "https://wiki.gnome.org/Projects/Seed")
391 (license license:gpl3+)))
392
393 (define-public seed
394 (package
395 (name "seed")
396 (version "3.8.1")
397 (source
398 (origin
399 (method url-fetch)
400 (uri
401 (string-append "mirror://gnome/sources/" name "/"
402 (version-major+minor version) "/"
403 name "-" version ".tar.xz"))
404 (sha256
405 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
406 (patches
407 (search-patches "seed-webkit.patch"))))
408 (build-system glib-or-gtk-build-system)
409 (outputs '("out" "doc"))
410 (arguments
411 `(#:configure-flags
412 (list
413 "--disable-static"
414 "--enable-xorg-module"
415 (string-append "--with-html-dir="
416 (assoc-ref %outputs "doc")
417 "/share/gtk-doc/html")
418 "--with-webkit=4.0")
419 #:phases
420 (modify-phases %standard-phases
421 ;; The seed-webkit.patch patches configure.ac.
422 ;; So the source files need to be re-bootstrapped.
423 (add-after 'unpack 'trigger-bootstrap
424 (lambda _
425 (for-each delete-file
426 (list
427 "configure"
428 "Makefile.in"))
429 #t))
430 (add-after 'unpack 'patch-tests
431 (lambda* (#:key outputs #:allow-other-keys)
432 (substitute* (find-files "." "\\.js$")
433 (("#!/usr/bin/env seed")
434 (string-append "#!" (getcwd) "/src/seed")))
435 #t))
436 (add-before 'build 'patch-docbook-xml
437 (lambda* (#:key inputs #:allow-other-keys)
438 (with-directory-excursion "doc"
439 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
440 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
441 (string-append (assoc-ref inputs "docbook-xml")
442 "/xml/dtd/docbook/"))))
443 #t)))))
444 (native-inputs
445 `(("autoconf" ,autoconf)
446 ("automake" ,automake)
447 ("docbook-xml" ,docbook-xml-4.1.2)
448 ("gettext" ,gettext-minimal)
449 ("gobject-introspection" ,gobject-introspection)
450 ("gtk-doc" ,gtk-doc)
451 ("intltool" ,intltool)
452 ("libtool" ,libtool)
453 ("pkg-config" ,pkg-config)))
454 (inputs
455 `(("cairo" ,cairo)
456 ("dbus" ,dbus)
457 ("dbus-glib" ,dbus-glib)
458 ("gnome-js-common" ,gnome-js-common)
459 ("gtk+" ,gtk+)
460 ("gtk+-2" ,gtk+-2)
461 ("libffi" ,libffi)
462 ("libxml2" ,libxml2)
463 ("mpfr" ,mpfr)
464 ("readline" ,readline)
465 ("sqlite" ,sqlite)
466 ("xscrnsaver" ,libxscrnsaver)))
467 (propagated-inputs
468 `(("glib" ,glib)
469 ("webkit" ,webkitgtk)))
470 (synopsis "GObject JavaScriptCore bridge")
471 (description "Seed is a library and interpreter, dynamically bridging
472 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
473 GNOME platform. It serves as something which enables you to write standalone
474 applications in JavaScript, or easily enable your application to be extensible
475 in JavaScript.")
476 (home-page "https://wiki.gnome.org/Projects/Seed")
477 (license license:lgpl2.0+)))
478
479 (define-public libdmapsharing
480 (package
481 (name "libdmapsharing")
482 (version "3.9.10")
483 (source
484 (origin
485 (method url-fetch)
486 (uri
487 (string-append "https://www.flyn.org/projects/"
488 name "/" name "-" version ".tar.gz"))
489 (sha256
490 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
491 (build-system glib-or-gtk-build-system)
492 (outputs '("out" "doc"))
493 (arguments
494 `(#:tests? #f ; Tests require networking.
495 #:configure-flags
496 (list
497 "--disable-static"
498 (string-append "--with-html-dir="
499 (assoc-ref %outputs "doc")
500 "/share/gtk-doc/html"))
501 #:phases
502 (modify-phases %standard-phases
503 (add-after 'unpack 'patch-docbook-xml
504 (lambda* (#:key inputs #:allow-other-keys)
505 (with-directory-excursion "doc"
506 (substitute* "libdmapsharing-4.0-docs.xml"
507 (("http://www.oasis-open.org/docbook/xml/4.3/")
508 (string-append (assoc-ref inputs "docbook-xml")
509 "/xml/dtd/docbook/"))))
510 #t)))))
511 (native-inputs
512 `(("check" ,check)
513 ("docbook-xml" ,docbook-xml-4.3)
514 ("gobject-introspection" ,gobject-introspection)
515 ("pedansee" ,pedansee)
516 ("pkg-config" ,pkg-config)
517 ("vala" ,vala)))
518 (inputs
519 `(("avahi" ,avahi)
520 ("gdk-pixbuf" ,gdk-pixbuf+svg)
521 ("gee" ,libgee)
522 ("gst-plugins-base" ,gst-plugins-base)
523 ("gtk+" ,gtk+)))
524 (propagated-inputs
525 `(("glib" ,glib)
526 ("glib-networking" ,glib-networking)
527 ("gstreamer" ,gstreamer)
528 ("libsoup" ,libsoup)))
529 (synopsis "Media management library")
530 (description "Libdmapsharing is a library which allows programs to access,
531 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
532 It is written in C using GObject and libsoup.")
533 (home-page "https://launchpad.net/gtx")
534 (license license:lgpl2.1+)))
535
536 (define-public gtx
537 (package
538 (name "gtx")
539 (version "0.2.2")
540 (source
541 (origin
542 (method url-fetch)
543 (uri
544 (string-append "https://launchpad.net/gtx/trunk/"
545 version "/+download/gtx-" version ".tar.gz"))
546 (sha256
547 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
548 (build-system glib-or-gtk-build-system)
549 (outputs '("out" "doc"))
550 (arguments
551 `(#:configure-flags
552 (list
553 "--disable-static"
554 "--enable-gtk-doc"
555 (string-append "--with-html-dir="
556 (assoc-ref %outputs "doc")
557 "/share/gtk-doc/html"))))
558 (native-inputs
559 `(("gobject-introspection" ,gobject-introspection)
560 ("gtk-doc" ,gtk-doc)
561 ("pkg-config" ,pkg-config)))
562 (propagated-inputs
563 `(("glib" ,glib)))
564 (synopsis "GLib Testing Framework")
565 (description "GTX is a small collection of convenience functions intended to
566 enhance the GLib testing framework. With specific emphasis on easing the pain
567 of writing test cases for asynchronous interactions.")
568 (home-page "https://launchpad.net/gtx")
569 (license license:lgpl2.1+)))
570
571 (define-public dee
572 (package
573 (name "dee")
574 (version "1.2.7")
575 (source
576 (origin
577 (method url-fetch)
578 (uri
579 (string-append "https://launchpad.net/dee/1.0/"
580 version "/+download/dee-" version ".tar.gz"))
581 (sha256
582 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
583 (patches
584 (search-patches "dee-vapi.patch"))))
585 (build-system glib-or-gtk-build-system)
586 (outputs '("out" "doc"))
587 (arguments
588 `(#:configure-flags
589 (list
590 "--disable-maintainer-flags"
591 (string-append "--with-pygi-overrides-dir="
592 (assoc-ref %outputs "out")
593 "/lib/python"
594 ,(version-major+minor
595 (package-version python))
596 "/site-packages/gi/overrides")
597 (string-append "--with-html-dir="
598 (assoc-ref %outputs "doc")
599 "/share/gtk-doc/html"))
600 #:phases
601 (modify-phases %standard-phases
602 (add-after 'unpack 'patch-docbook-xml
603 (lambda* (#:key inputs #:allow-other-keys)
604 (with-directory-excursion "doc/reference/dee-1.0"
605 (substitute* "dee-1.0-docs.sgml"
606 (("http://www.oasis-open.org/docbook/xml/4.3/")
607 (string-append (assoc-ref inputs "docbook-xml")
608 "/xml/dtd/docbook/"))))
609 #t))
610 (add-after 'patch-docbook-xml 'disable-failing-tests
611 (lambda _
612 (substitute* "tests/test-icu.c"
613 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
614 "")
615 (("setup, test_ascii_folder, teardown\\);")
616 ""))
617 #t))
618 (add-before 'check 'pre-check
619 (lambda _
620 ;; Tests require a running dbus-daemon.
621 (system "dbus-daemon &")
622 ;; For missing '/etc/machine-id'.
623 (setenv "DBUS_FATAL_WARNINGS" "0")
624 #t)))))
625 (native-inputs
626 `(("dbus" ,dbus)
627 ("dbus-test-runner" ,dbus-test-runner)
628 ("docbook-xml" ,docbook-xml-4.3)
629 ("gobject-introspection" ,gobject-introspection)
630 ("gtk-doc" ,gtk-doc)
631 ;; Would only be required by configure flag "--enable-extended-tests".
632 ;("gtx" ,gtx)
633 ("pkg-config" ,pkg-config)
634 ("pygobject" ,python-pygobject)
635 ("python" ,python-wrapper)
636 ("vala" ,vala)))
637 (inputs
638 `(("icu" ,icu4c)))
639 (propagated-inputs
640 `(("glib" ,glib)))
641 (synopsis "Model to synchronize multiple instances over DBus")
642 (description "Dee is a library that uses DBus to provide objects allowing
643 you to create Model-View-Controller type programs across DBus. It also consists
644 of utility objects which extend DBus allowing for peer-to-peer discoverability
645 of known objects without needing a central registrar.")
646 (home-page "https://launchpad.net/dee")
647 (license
648 ;; Dual-licensed
649 (list
650 license:lgpl3+
651 license:gpl3+))))
652
653 (define-public zeitgeist
654 (package
655 (name "zeitgeist")
656 (version "1.0.2")
657 (source
658 (origin
659 (method git-fetch)
660 (uri
661 (git-reference
662 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
663 (commit
664 (string-append "v" version))))
665 (file-name
666 (git-file-name name version))
667 (sha256
668 (base32 "0ig3d3j1n0ghaxsgfww6g2hhcdwx8cljwwfmp9jk1nrvkxd6rnmv"))))
669 (build-system glib-or-gtk-build-system)
670 (arguments
671 `(#:configure-flags
672 (list
673 "--enable-explain-queries"
674 "--enable-fts"
675 "--enable-docs")
676 #:phases
677 (modify-phases %standard-phases
678 (add-after 'unpack 'patch-docbook-xml
679 (lambda* (#:key inputs #:allow-other-keys)
680 (with-directory-excursion "doc/libzeitgeist"
681 (substitute* "zeitgeist-gtkdoc-index.sgml"
682 (("http://www.oasis-open.org/docbook/xml/4.3/")
683 (string-append (assoc-ref inputs "docbook-xml")
684 "/xml/dtd/docbook/"))))
685 #t))
686 (add-after 'patch-docbook-xml 'disable-failing-tests
687 (lambda _
688 (substitute* "test/direct/Makefile.am"
689 ((" log-test ")
690 ""))
691 (substitute* "test/c/Makefile.am"
692 ((" test-log ")
693 ""))
694 #t))
695 (add-before 'bootstrap 'remove-autogen-script
696 (lambda _
697 ;; To honor `autoreconf -vif` by build-system.
698 (delete-file "autogen.sh")
699 #t)))))
700 (native-inputs
701 `(("autoconf" ,autoconf)
702 ("automake" ,automake)
703 ("docbook-xml" ,docbook-xml-4.3)
704 ("gettext" ,gettext-minimal)
705 ("gobject-introspection" ,gobject-introspection)
706 ("gtk-doc" ,gtk-doc)
707 ("libtool" ,libtool)
708 ("pkg-config" ,pkg-config)
709 ("vala" ,vala)
710 ("xorg-server-for-tests" ,xorg-server-for-tests)))
711 (inputs
712 `(("dee-icu" ,dee)
713 ("gtk+" ,gtk+)
714 ("json-glib" ,json-glib)
715 ("sqlite" ,sqlite)
716 ("telepathy-glib" ,telepathy-glib)
717 ("python" ,python-wrapper)
718 ("python-rdflib" ,python-rdflib)
719 ("xapian-config" ,xapian)))
720 (propagated-inputs
721 `(("glib" ,glib)))
722 (synopsis "Desktop Activity Logging")
723 (description "Zeitgeist is a service which logs the users’s activities and
724 events, anywhere from files opened to websites visited and conversations. It
725 makes this information readily available for other applications to use. It is
726 able to establish relationships between items based on similarity and usage
727 patterns.")
728 (home-page "https://zeitgeist.freedesktop.org/")
729 (license
730 ;; Dual-licensed
731 (list
732 license:lgpl2.1+
733 license:gpl2+))))
734
735 (define-public gnome-photos
736 (package
737 (name "gnome-photos")
738 (version "3.34.2")
739 (source
740 (origin
741 (method url-fetch)
742 (uri
743 (string-append "mirror://gnome/sources/" name "/"
744 (version-major+minor version) "/"
745 name "-" version ".tar.xz"))
746 (sha256
747 (base32
748 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
749 (build-system meson-build-system)
750 (arguments
751 `(#:glib-or-gtk? #t
752 #:configure-flags
753 (list "-Ddogtail=false" ; Not available
754 ;; Required for RUNPATH validation.
755 (string-append "-Dc_link_args=-Wl,-rpath="
756 (assoc-ref %outputs "out") "/lib/gnome-photos"))
757 #:phases
758 (modify-phases %standard-phases
759 (add-after 'install 'wrap-gnome-photos
760 (lambda* (#:key inputs outputs #:allow-other-keys)
761 (let*
762 ((out (assoc-ref outputs "out")))
763 (wrap-program (string-append out "/bin/gnome-photos")
764 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
765 #t)))))
766 (native-inputs
767 `(("dbus" ,dbus)
768 ("desktop-file-utils" ,desktop-file-utils)
769 ("gettext" ,gettext-minimal)
770 ("git" ,git-minimal)
771 ("glib:bin" ,glib "bin")
772 ("gobject-introspection" ,gobject-introspection)
773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
774 ("gtk+:bin" ,gtk+ "bin")
775 ("itstool" ,itstool)
776 ("pkg-config" ,pkg-config)))
777 (inputs
778 `(("babl" ,babl)
779 ("cairo" ,cairo)
780 ("gdk-pixbuf" ,gdk-pixbuf+svg)
781 ("gegl" ,gegl)
782 ("geocode-glib" ,geocode-glib)
783 ("gexiv2" ,gexiv2)
784 ("gnome-online-accounts" ,gnome-online-accounts)
785 ("gnome-online-miners" ,gnome-online-miners)
786 ("grilo" ,grilo)
787 ("grilo-plugins" ,grilo-plugins)
788 ("gtk+" ,gtk+)
789 ("libdazzle" ,libdazzle)
790 ("libgdata" ,libgdata)
791 ("libgfbgraph" ,gfbgraph)
792 ("libjpeg" ,libjpeg-turbo)
793 ("libpng" ,libpng)
794 ("librest" ,rest)
795 ("pygobject" ,python-pygobject)
796 ("tracker" ,tracker)
797 ("tracker-miners" ,tracker-miners)))
798 (synopsis "Access, organize and share your photos on GNOME desktop")
799 (description "GNOME Photos is a simple and elegant replacement for using a
800 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
801 cloud integration is offered through GNOME Online Accounts.")
802 (home-page "https://wiki.gnome.org/Apps/Photos")
803 (license license:gpl3+)))
804
805 (define-public gnome-music
806 (package
807 (name "gnome-music")
808 (version "3.34.5")
809 (source
810 (origin
811 (method url-fetch)
812 (uri
813 (string-append "mirror://gnome/sources/" name "/"
814 (version-major+minor version) "/"
815 name "-" version ".tar.xz"))
816 (sha256
817 (base32
818 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
819 (build-system meson-build-system)
820 (arguments
821 `(#:glib-or-gtk? #t
822 #:phases
823 (modify-phases %standard-phases
824 (add-after 'install 'wrap-gnome-music
825 (lambda* (#:key inputs outputs #:allow-other-keys)
826 (let*
827 ((out (assoc-ref outputs "out"))
828 (pylib (string-append out "/lib/python"
829 ,(version-major+minor
830 (package-version python))
831 "/site-packages")))
832 (wrap-program (string-append out "/bin/gnome-music")
833 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
834 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
835 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
836 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
837 #t)))))
838 (native-inputs
839 `(("desktop-file-utils" ,desktop-file-utils)
840 ("gettext" ,gettext-minimal)
841 ("glib:bin" ,glib "bin")
842 ("gobject-introspection" ,gobject-introspection)
843 ("gtk+:bin" ,gtk+ "bin")
844 ("itstools" ,itstool)
845 ("pkg-config" ,pkg-config)))
846 (inputs
847 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
848 ("grilo" ,grilo)
849 ("grilo-plugins" ,grilo-plugins)
850 ("gst-plugins-base" ,gst-plugins-base)
851 ("gstreamer" ,gstreamer)
852 ("gvfs" ,gvfs)
853 ("libdazzle" ,libdazzle)
854 ("libmediaart" ,libmediaart)
855 ("libsoup" ,libsoup)
856 ("pycairo" ,python-pycairo)
857 ("pygobject" ,python-pygobject)
858 ("tracker" ,tracker)
859 ("tracker-miners" ,tracker-miners)))
860 (synopsis "Simple music player for GNOME desktop")
861 (description "GNOME Music is the new GNOME music playing application that
862 aims to combine an elegant and immersive browsing experience with simple
863 and straightforward controls.")
864 (home-page "https://wiki.gnome.org/Apps/Music")
865 (license license:gpl2+)))
866
867 (define-public portablexdr
868 (package
869 (name "portablexdr")
870 (version "4.9.1")
871 (source
872 (origin
873 (method url-fetch)
874 (uri
875 (string-append "https://people.redhat.com/~rjones/" name "/files/"
876 name "-" version ".tar.gz"))
877 (sha256
878 (base32
879 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
880 (build-system gnu-build-system)
881 (synopsis "External Data Representation Library")
882 (description "PortableXDR is an implementation of External Data
883 Representation (XDR) Library. It is a standard data serialization format, for
884 uses such as computer network protocols. It allows data to be transferred
885 between different kinds of computer systems.")
886 (home-page "https://people.redhat.com/~rjones/portablexdr/")
887 (license
888 (list
889 license:gpl2+
890 license:lgpl2.1+))))
891
892 (define-public tepl
893 (package
894 (name "tepl")
895 (version "4.4.0")
896 (source
897 (origin
898 (method url-fetch)
899 (uri
900 (string-append "mirror://gnome/sources/" name "/"
901 (version-major+minor version) "/"
902 name "-" version ".tar.xz"))
903 (sha256
904 (base32
905 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
906 (build-system glib-or-gtk-build-system)
907 (arguments
908 `(#:tests? #f)) ; FIX-ME: Requires gvfs
909 (native-inputs
910 `(("gobject-introspection" ,gobject-introspection)
911 ("pkg-config" ,pkg-config)))
912 (inputs
913 `(("amtk" ,amtk)
914 ("glib" ,glib)
915 ("gtk+" ,gtk+)
916 ("gtksourceview" ,gtksourceview)
917 ("libxml2" ,libxml2)
918 ("uchardet" ,uchardet)))
919 (synopsis "Text editor product line")
920 (description "Tepl is a library that eases the development of
921 GtkSourceView-based text editors and IDEs.")
922 (home-page "https://wiki.gnome.org/Projects/Tepl")
923 (license license:lgpl2.1+)))
924
925 (define-public krb5-auth-dialog
926 (package
927 (name "krb5-auth-dialog")
928 (version "3.26.1")
929 (source
930 (origin
931 (method url-fetch)
932 (uri
933 (string-append "mirror://gnome/sources/" name "/"
934 (version-major+minor version) "/"
935 name "-" version ".tar.xz"))
936 (sha256
937 (base32
938 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
939 (build-system glib-or-gtk-build-system)
940 (native-inputs
941 `(("intltool" ,intltool)
942 ("itstool" ,itstool)
943 ("libxml2" ,libxml2)
944 ("pkg-config" ,pkg-config)
945 ("python-wrapper" ,python-wrapper)))
946 (inputs
947 `(("glib" ,glib)
948 ("gtk+" ,gtk+)
949 ("libnotify" ,libnotify)
950 ("mit-krb5" ,mit-krb5)
951 ("network-manager" ,network-manager)))
952 (synopsis "Popup dialogs for Kerberos 5")
953 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
954 tickets, and pops up a dialog when they are about to expire.")
955 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
956 (license license:gpl2+)))
957
958 (define-public notification-daemon
959 (package
960 (name "notification-daemon")
961 (version "3.20.0")
962 (source
963 (origin
964 (method url-fetch)
965 (uri
966 (string-append "mirror://gnome/sources/" name "/"
967 (version-major+minor version) "/"
968 name "-" version ".tar.xz"))
969 (sha256
970 (base32
971 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
972 (build-system glib-or-gtk-build-system)
973 (native-inputs
974 `(("intltool" ,intltool)
975 ("pkg-config" ,pkg-config)))
976 (inputs
977 `(("glib" ,glib)
978 ("gtk+" ,gtk+)
979 ("x11" ,libx11)))
980 (synopsis "Notification Daemon for GNOME Desktop")
981 (description "Notification-Daemon is the server implementation of the
982 freedesktop.org desktop notification specification.")
983 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
984 (license license:gpl2+)))
985
986 (define-public mm-common
987 (package
988 (name "mm-common")
989 (version "1.0.1")
990 (source (origin
991 (method url-fetch)
992 (uri (string-append "mirror://gnome/sources/mm-common/"
993 (version-major+minor version) "/"
994 "mm-common-" version ".tar.xz"))
995 (sha256
996 (base32
997 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
998 (build-system meson-build-system)
999 (arguments
1000 `(#:phases
1001 (modify-phases %standard-phases
1002 (add-after 'unpack 'patch
1003 (lambda* (#:key inputs #:allow-other-keys)
1004 (substitute* "util/mm-common-prepare.in"
1005 (("ln") (string-append (assoc-ref inputs "coreutils")
1006 "/bin/ln"))
1007 (("cp") (string-append (assoc-ref inputs "coreutils")
1008 "/bin/cp"))
1009 (("sed") (string-append (assoc-ref inputs "sed")
1010 "/bin/sed"))
1011 (("cat") (string-append (assoc-ref inputs "coreutils")
1012 "/bin/cat")))
1013 #t)))))
1014 (native-inputs
1015 `(("coreutils" ,coreutils)
1016 ("gettext" ,gettext-minimal)
1017 ("pkg-config" ,pkg-config)
1018 ("sed" ,sed)))
1019 (inputs
1020 `(("python" ,python)))
1021 (synopsis "Module of GNOME C++ bindings")
1022 (description "The mm-common module provides the build infrastructure
1023 and utilities shared among the GNOME C++ binding libraries. Release
1024 archives of mm-common include the Doxygen tag file for the GNU C++
1025 Library reference documentation.")
1026 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1027 (license license:gpl2+)))
1028
1029 (define-public phodav
1030 (package
1031 (name "phodav")
1032 (version "2.4")
1033 (source (origin
1034 (method url-fetch)
1035 (uri (string-append "mirror://gnome/sources/" name "/"
1036 (version-major+minor version) "/"
1037 name "-" version ".tar.xz"))
1038 (sha256
1039 (base32
1040 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
1041 (build-system meson-build-system)
1042 (native-inputs
1043 `(("gettext" ,gettext-minimal)
1044 ("glib:bin" ,glib "bin")
1045 ("gtk-doc" ,gtk-doc)
1046 ("pkg-config" ,pkg-config)))
1047 (inputs
1048 `(("avahi" ,avahi)
1049 ("libgudev" ,libgudev)
1050 ("libsoup" ,libsoup)))
1051 (synopsis "WebDav server implementation using libsoup")
1052 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1053 but it is generic enough to be reused in other projects,
1054 in particular in the GNOME desktop.")
1055 (home-page "https://wiki.gnome.org/phodav")
1056 (license license:lgpl2.1+)))
1057
1058 (define-public gnome-color-manager
1059 (package
1060 (name "gnome-color-manager")
1061 (version "3.32.0")
1062 (source (origin
1063 (method url-fetch)
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1067 (sha256
1068 (base32
1069 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1070 (build-system meson-build-system)
1071 (arguments
1072 `(#:glib-or-gtk? #t
1073 #:phases
1074 (modify-phases %standard-phases
1075 (add-before
1076 'check 'pre-check
1077 (lambda _
1078 ;; Tests require a running X server.
1079 (system "Xvfb :1 &")
1080 (setenv "DISPLAY" ":1")
1081 #t)))))
1082 (native-inputs
1083 `(("desktop-file-utils" ,desktop-file-utils)
1084 ("gettext" ,gettext-minimal)
1085 ("glib:bin" ,glib "bin")
1086 ("gtk+:bin" ,gtk+ "bin")
1087 ("itstool" ,itstool)
1088 ("pkg-config" ,pkg-config)
1089 ("xorg-server" ,xorg-server-for-tests)))
1090 (inputs
1091 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1092 ("appstream-glib" ,appstream-glib)
1093 ("colord-gtk" ,colord-gtk)
1094 ("exiv2" ,exiv2)
1095 ("gnome-desktop" ,gnome-desktop)
1096 ("libcanberra" ,libcanberra)
1097 ("libexif" ,libexif)
1098 ("libtiff" ,libtiff)
1099 ("libxrandr" ,libxrandr)
1100 ("libxtst" ,libxtst)
1101 ("libxxf86vm" ,libxxf86vm)
1102 ("vte" ,vte)
1103 ("xorgproto" ,xorgproto)))
1104 (synopsis "Color profile manager for the GNOME desktop")
1105 (description "GNOME Color Manager is a session framework that makes
1106 it easy to manage, install and generate color profiles
1107 in the GNOME desktop.")
1108 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1109 (license license:gpl2+)))
1110
1111 (define-public gnome-online-miners
1112 (package
1113 (name "gnome-online-miners")
1114 (version "3.34.0")
1115 (source (origin
1116 (method url-fetch)
1117 (uri (string-append "mirror://gnome/sources/" name "/"
1118 (version-major+minor version) "/"
1119 name "-" version ".tar.xz"))
1120 (sha256
1121 (base32
1122 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1123 (build-system glib-or-gtk-build-system)
1124 (native-inputs
1125 `(("gettext" ,gettext-minimal)
1126 ("glib:bin" ,glib "bin")
1127 ("gobject-introspection" ,gobject-introspection)
1128 ("gtk+:bin" ,gtk+ "bin")
1129 ("pkg-config" ,pkg-config)))
1130 (inputs
1131 `(("gnome-online-accounts" ,gnome-online-accounts)
1132 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1133 ("grilo" ,grilo)
1134 ("libgdata" ,libgdata)
1135 ("libgfbgraph" ,gfbgraph)
1136 ("libzapojit" ,libzapojit)
1137 ("rest" ,rest)
1138 ("tracker" ,tracker)))
1139 (synopsis "Web Crawlers for GNOME")
1140 (description "GNOME Online Miners provides a set of crawlers that
1141 go through your online content and index them locally in Tracker.
1142 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1143 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1144 (license license:gpl2+)))
1145
1146 (define-public gssdp
1147 (package
1148 (name "gssdp")
1149 (version "1.2.3")
1150 (source (origin
1151 (method url-fetch)
1152 (uri (string-append "mirror://gnome/sources/" name "/"
1153 (version-major+minor version) "/"
1154 name "-" version ".tar.xz"))
1155 (sha256
1156 (base32
1157 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1158 (build-system meson-build-system)
1159 (native-inputs
1160 `(("gettext" ,gettext-minimal)
1161 ("glib:bin" ,glib "bin")
1162 ("gobject-introspection" ,gobject-introspection)
1163 ("gtk-doc" ,gtk-doc)
1164 ("pkg-config" ,pkg-config)
1165 ("vala" ,vala)))
1166 (inputs
1167 `(("gtk+" ,gtk+)
1168 ("libsoup" ,libsoup)))
1169 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1170 Protocol} for GNOME")
1171 (description "This package provides a library to handle resource discovery
1172 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1173 a debugging tool, @command{gssdp-device-sniffer}.")
1174 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1175 (license license:lgpl2.0+)))
1176
1177 (define-public gupnp
1178 (package
1179 (name "gupnp")
1180 (version "1.2.4")
1181 (source (origin
1182 (method url-fetch)
1183 (uri (string-append "mirror://gnome/sources/" name "/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
1186 (sha256
1187 (base32
1188 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1189 (build-system meson-build-system)
1190 (native-inputs
1191 `(("gettext" ,gettext-minimal)
1192 ("glib:bin" ,glib "bin")
1193 ("gobject-introspection" ,gobject-introspection)
1194 ("gtk-doc" ,gtk-doc)
1195 ("pkg-config" ,pkg-config)
1196 ("vala" ,vala)))
1197 (inputs
1198 `(("gssdp" ,gssdp)
1199 ("gtk+" ,gtk+)
1200 ("libsoup" ,libsoup)))
1201 (synopsis "PnP API for GNOME")
1202 (description "This package provides GUPnP, an object-oriented framework
1203 for creating UPnP devices and control points, written in C using
1204 @code{GObject} and @code{libsoup}.")
1205 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1206 (license license:lgpl2.0+)))
1207
1208 (define-public gupnp-dlna
1209 (package
1210 (name "gupnp-dlna")
1211 (version "0.10.5")
1212 (source (origin
1213 (method url-fetch)
1214 (uri (string-append "mirror://gnome/sources/" name "/"
1215 (version-major+minor version) "/"
1216 name "-" version ".tar.xz"))
1217 (sha256
1218 (base32
1219 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1220 (build-system gnu-build-system)
1221 (native-inputs
1222 `(("gettext" ,gettext-minimal)
1223 ("glib:bin" ,glib "bin")
1224 ("gobject-introspection" ,gobject-introspection)
1225 ("gtk-doc" ,gtk-doc)
1226 ("libxml" ,libxml2)
1227 ("pkg-config" ,pkg-config)
1228 ("vala" ,vala)))
1229 (inputs
1230 `(("gstreamer" ,gstreamer)
1231 ("gupnp" ,gupnp)))
1232 (propagated-inputs
1233 `(("gst-plugins-base" ,gst-plugins-base)
1234 ("gst-plugins-good" ,gst-plugins-good)))
1235 (synopsis "GUPnP DLNA for GNOME")
1236 (description "This package provides a small utility library to
1237 support DLNA-related tasks such as media profile guessing, transcoding to a
1238 given profile, etc. DLNA is a subset of UPnP A/V.")
1239 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1240 (license license:lgpl2.0+)))
1241
1242 (define-public gupnp-av
1243 (package
1244 (name "gupnp-av")
1245 (version "0.12.11")
1246 (source (origin
1247 (method url-fetch)
1248 (uri (string-append "mirror://gnome/sources/" name "/"
1249 (version-major+minor version) "/"
1250 name "-" version ".tar.xz"))
1251 (sha256
1252 (base32
1253 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1254 (build-system gnu-build-system)
1255 (native-inputs
1256 `(("gettext" ,gettext-minimal)
1257 ("glib:bin" ,glib "bin")
1258 ("gobject-introspection" ,gobject-introspection)
1259 ("gtk-doc" ,gtk-doc)
1260 ("libxml" ,libxml2)
1261 ("pkg-config" ,pkg-config)))
1262 (inputs
1263 `(("gtk+" ,gtk+)
1264 ("gupnp" ,gupnp)))
1265 (synopsis "GUPnP A/V for GNOME")
1266 (description "This package provides a small library for handling
1267 and implementation of UPnP A/V profiles.")
1268 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1269 (license license:lgpl2.0+)))
1270
1271 (define-public libmediaart
1272 (package
1273 (name "libmediaart")
1274 (version "1.9.4")
1275 (source (origin
1276 (method url-fetch)
1277 (uri (string-append "mirror://gnome/sources/" name "/"
1278 (version-major+minor version) "/"
1279 name "-" version ".tar.xz"))
1280 (sha256
1281 (base32
1282 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1283 (build-system gnu-build-system)
1284 (native-inputs
1285 `(("glib:bin" ,glib "bin")
1286 ("pkg-config" ,pkg-config)))
1287 (inputs
1288 `(("gdk-pixbuf" ,gdk-pixbuf)
1289 ("gettext" ,gettext-minimal)
1290 ("gobject-introspection" ,gobject-introspection)
1291 ("gtk+:doc", gtk+ "doc")
1292 ("vala" ,vala)))
1293 (synopsis "Media art library for the GNOME desktop")
1294 (description
1295 "The libmediaart library is the foundation for media art caching,
1296 extraction, and lookup for applications on the desktop.")
1297 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1298 (license license:lgpl2.1+)))
1299
1300 (define-public gnome-initial-setup
1301 (package
1302 (name "gnome-initial-setup")
1303 (version "3.32.1")
1304 (source (origin
1305 (method url-fetch)
1306 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1307 (version-major+minor version)
1308 "/gnome-initial-setup-" version ".tar.xz"))
1309 (sha256
1310 (base32
1311 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1312 (build-system meson-build-system)
1313 (arguments
1314 '(#:configure-flags '(;; Enable camera support for user selfie.
1315 "-Dcheese=auto"
1316 "-Dsystemd=false")
1317 #:phases (modify-phases %standard-phases
1318 (add-after 'unpack 'set-gkbd-file-name
1319 (lambda* (#:key inputs #:allow-other-keys)
1320 ;; Allow the "Preview" button in the keyboard layout
1321 ;; selection dialog to display the layout.
1322 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1323 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1324 (("\"gkbd-keyboard-display")
1325 (string-append "\"" libgnomekbd
1326 "/bin/gkbd-keyboard-display")))
1327 #t))))))
1328 (native-inputs
1329 `(("gettext" ,gettext-minimal)
1330 ("glib:bin" ,glib "bin")
1331 ("gobject-introspection" ,gobject-introspection)
1332 ("gtk+:bin" ,gtk+ "bin")
1333 ("pkg-config" ,pkg-config)))
1334 (inputs
1335 `(("accountsservice" ,accountsservice)
1336 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1337 ("gdm" ,gdm)
1338 ("geoclue" ,geoclue)
1339 ("gnome-desktop" ,gnome-desktop)
1340 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1341 ("gnome-online-accounts" ,gnome-online-accounts)
1342 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1343 ("gstreamer" ,gstreamer)
1344 ("ibus" ,ibus)
1345 ("json-glib" ,json-glib)
1346 ("krb5" ,mit-krb5)
1347 ("libgweather" ,libgweather)
1348 ("libnma" ,libnma)
1349 ("libsecret" ,libsecret)
1350 ("network-manager" ,network-manager)
1351 ("packagekit" ,packagekit)
1352 ("polkit" ,polkit)
1353 ("pwquality" ,libpwquality)
1354 ("rest" ,rest)
1355 ("upower" ,upower)
1356 ("webkitgtk" ,webkitgtk)
1357 ("libgnomekbd" ,libgnomekbd)))
1358 (synopsis "Initial setup wizard for GNOME desktop")
1359 (description "This package provides a set-up wizard when a
1360 user logs into GNOME for the first time. It typically provides a
1361 tour of all gnome components and allows the user to set them up.")
1362 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1363 (license license:gpl2)))
1364
1365 (define-public gnome-user-share
1366 (package
1367 (name "gnome-user-share")
1368 (version "3.33.1")
1369 (source (origin
1370 (method url-fetch)
1371 (uri (string-append "mirror://gnome/sources/" name "/"
1372 (version-major+minor version) "/"
1373 name "-" version ".tar.xz"))
1374 (sha256
1375 (base32
1376 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1377 (build-system meson-build-system)
1378 (arguments
1379 `(#:glib-or-gtk? #t
1380 #:configure-flags
1381 `("-Dsystemd=false"
1382 ;; Enable nautilus extension for file sharing.
1383 "-Dnautilus_extension=true")))
1384 (native-inputs
1385 `(("gettext" ,gettext-minimal)
1386 ("glib:bin" ,glib "bin")
1387 ("gobject-introspection" ,gobject-introspection)
1388 ("gtk+:bin" ,gtk+ "bin")
1389 ("pkg-config" ,pkg-config)
1390 ("yelp-tools" ,yelp-tools)))
1391 (inputs
1392 `(("glib" ,glib)
1393 ("gnome-bluetooth" ,gnome-bluetooth)
1394 ("gtk+" ,gtk+)
1395 ("libcanberra" ,libcanberra)
1396 ("libnotify" ,libnotify)
1397 ("nautilus" ,nautilus))) ; For nautilus extension.
1398 (synopsis "File sharing for GNOME desktop")
1399 (description "GNOME User Share is a small package that binds together
1400 various free software projects to bring easy to use user-level file
1401 sharing to the masses.")
1402 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1403 (license license:gpl2+)))
1404
1405 (define-public sushi
1406 (package
1407 (name "sushi")
1408 (version "3.32.1")
1409 (source (origin
1410 (method url-fetch)
1411 (uri (string-append "mirror://gnome/sources/" name "/"
1412 (version-major+minor version) "/"
1413 name "-" version ".tar.xz"))
1414 (sha256
1415 (base32
1416 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1417 (build-system meson-build-system)
1418 (arguments
1419 `(#:glib-or-gtk? #t
1420 #:phases
1421 (modify-phases %standard-phases
1422 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1423 (lambda* (#:key outputs #:allow-other-keys)
1424 (let ((prog (string-append (assoc-ref outputs "out")
1425 "/bin/sushi")))
1426 ;; Put existing typelibs before sushi's deps, so as to correctly
1427 ;; infer gdk-pixbuf
1428 (wrap-program prog
1429 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1430 #t))))))
1431 (native-inputs
1432 `(("glib:bin" ,glib "bin")
1433 ("gettext" ,gettext-minimal)
1434 ("gobject-introspection" ,gobject-introspection)
1435 ("pkg-config" ,pkg-config)))
1436 (inputs
1437 `(("clutter" ,clutter)
1438 ("clutter-gst" ,clutter-gst)
1439 ("clutter-gtk" ,clutter-gtk)
1440 ("evince" ,evince) ; For file previewing.
1441 ("freetype" ,freetype)
1442 ("gdk-pixbuf" ,gdk-pixbuf)
1443 ("gjs" ,gjs)
1444 ("gst-plugins-base" ,gst-plugins-base)
1445 ("gstreamer" ,gstreamer)
1446 ("gtksourceview" ,gtksourceview-3)
1447 ("harfbuzz" ,harfbuzz)
1448 ("libepoxy" ,libepoxy)
1449 ("libmusicbrainz" ,libmusicbrainz)
1450 ("libxml2" ,libxml2)
1451 ("neon" ,neon)
1452 ("webkitgtk" ,webkitgtk)))
1453 (synopsis "File previewer for the GNOME desktop")
1454 (description "Sushi is a DBus-activated service that allows applications to
1455 preview files on the GNOME desktop.")
1456 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1457 (license license:gpl2+)))
1458
1459 (define-public rygel
1460 (package
1461 (name "rygel")
1462 (version "0.38.3")
1463 (source (origin
1464 (method url-fetch)
1465 (uri (string-append "mirror://gnome/sources/" name "/"
1466 (version-major+minor version) "/"
1467 name "-" version ".tar.xz"))
1468 (sha256
1469 (base32
1470 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1471 (build-system gnu-build-system)
1472 (native-inputs
1473 `(("gettext" ,gettext-minimal)
1474 ("gobject-introspection" ,gobject-introspection)
1475 ("gtk-doc" ,gtk-doc)
1476 ("pkg-config" ,pkg-config)
1477 ("vala" ,vala)))
1478 (inputs
1479 `(("gdk-pixbuf" ,gdk-pixbuf)
1480 ("gssdp" ,gssdp)
1481 ("gstreamer" ,gstreamer)
1482 ("gst-plugins-base" ,gst-plugins-base)
1483 ("gtk+" ,gtk+)
1484 ("gupnp" ,gupnp)
1485 ("gupnp-av" ,gupnp-av)
1486 ("gupnp-dlna" ,gupnp-dlna)
1487 ("libgee" ,libgee)
1488 ("libmediaart" ,libmediaart)
1489 ("libsoup" ,libsoup)
1490 ("libxslt" ,libxslt)
1491 ("libunistring" ,libunistring)
1492 ("tracker" ,tracker)))
1493 (synopsis "Share audio, video, and pictures with other devices")
1494 (description
1495 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1496 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1497 pictures, and to control a media player on your home network.
1498
1499 Rygel achieves interoperability with other devices by trying to conform to the
1500 strict requirements of DLNA and by converting media on-the-fly to formats that
1501 client devices can handle.")
1502 (home-page "https://wiki.gnome.org/Projects/Rygel")
1503 (license (list
1504 ;; For logo (data/icons/*).
1505 license:cc-by-sa3.0
1506 ;; For all others.
1507 license:lgpl2.1+))))
1508
1509 (define-public libnma
1510 (package
1511 (name "libnma")
1512 (version "1.8.28")
1513 (source (origin
1514 (method url-fetch)
1515 (uri (string-append "mirror://gnome/sources/" name "/"
1516 (version-major+minor version) "/"
1517 name "-" version ".tar.xz"))
1518 (sha256
1519 (base32
1520 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1521 (build-system meson-build-system)
1522 (arguments
1523 `(#:phases
1524 (modify-phases %standard-phases
1525 (add-after 'unpack 'patch-docbook-xml
1526 (lambda* (#:key inputs #:allow-other-keys)
1527 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1528 "/xml/dtd/docbook")))
1529 (substitute* "libnma-docs.xml"
1530 (("http://.*/docbookx\\.dtd")
1531 (string-append xmldoc "/docbookx.dtd")))
1532 #t))))))
1533 (native-inputs
1534 `(("docbook-xml" ,docbook-xml-4.3)
1535 ("gettext" ,gettext-minimal)
1536 ("glib:bin" ,glib "bin")
1537 ("gtk-doc" ,gtk-doc)
1538 ("gobject-introspection" ,gobject-introspection)
1539 ("pkg-config" ,pkg-config)
1540 ("vala" ,vala)))
1541 (inputs
1542 `(("gcr" ,gcr)
1543 ("gtk+" ,gtk+)
1544 ("iso-codes" ,iso-codes)
1545 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1546 ("network-manager" ,network-manager)))
1547 (synopsis "Network Manager's applet library")
1548 (description "Libnma is an applet library for Network Manager. It was
1549 initially part of network-manager-applet and has now become a separate
1550 project.")
1551 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1552 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1553 ;; "LGPL-2.1+".
1554 (license license:gpl2+)))
1555
1556 (define-public gnome-menus
1557 (package
1558 (name "gnome-menus")
1559 (version "3.32.0")
1560 (source (origin
1561 (method url-fetch)
1562 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1563 (version-major+minor version) "/"
1564 name "-" version ".tar.xz"))
1565 (sha256
1566 (base32
1567 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1568 (build-system gnu-build-system)
1569 (native-inputs
1570 `(("gettext" ,gettext-minimal)
1571 ("glib" ,glib)
1572 ("pkg-config" ,pkg-config)))
1573 (synopsis "Menu support for GNOME desktop")
1574 (description "GNOME Menus contains the libgnome-menu library, the layout
1575 configuration files for the GNOME menu, as well as a simple menu editor.")
1576 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1577 (license license:lgpl2.0+)))
1578
1579 (define-public deja-dup
1580 (package
1581 (name "deja-dup")
1582 (version "40.6")
1583 (source (origin
1584 (method url-fetch)
1585 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1586 version "/deja-dup-" version ".tar.bz2"))
1587 (sha256
1588 (base32
1589 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1590 (build-system meson-build-system)
1591 (arguments
1592 `(#:glib-or-gtk? #t
1593 #:configure-flags
1594 (list
1595 ;; Otherwise, the RUNPATH will lack the final path component.
1596 (string-append "-Dc_link_args=-Wl,-rpath="
1597 (assoc-ref %outputs "out") "/lib/deja-dup"))
1598 #:phases
1599 (modify-phases %standard-phases
1600 (add-after 'unpack 'patch-paths
1601 (lambda* (#:key inputs #:allow-other-keys)
1602 (let ((python (assoc-ref inputs "python")))
1603 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1604 "libdeja/tests/scripts/instance-error.test")
1605 (("/bin/rm")
1606 (which "rm")))
1607 (substitute* "libdeja/tests/runner.vala"
1608 (("/bin/sh")
1609 (which "sh")))
1610 (substitute* "libdeja/tests/scripts/instance-error.test"
1611 (("`which python3`")
1612 (string-append python "/bin/python3"))))))
1613 (add-after 'unpack 'patch-libgpg-error
1614 (lambda* (#:key inputs #:allow-other-keys)
1615 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1616 (substitute* "meson.build"
1617 (("(gpgerror_libs = ).*" _ var)
1618 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1619 #t))
1620 (add-after 'unpack 'skip-gtk-update-icon-cache
1621 ;; Don't create 'icon-theme.cache'.
1622 (lambda _
1623 (substitute* "data/post-install.sh"
1624 (("gtk-update-icon-cache") "true"))
1625 #t)))))
1626 (inputs
1627 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1628 ("duplicity" ,duplicity)
1629 ("python" ,python)
1630 ("python-pygobject" ,python-pygobject)
1631 ("gtk+" ,gtk+)
1632 ("json-glib" ,json-glib)
1633 ("libnotify" ,libnotify)
1634 ("libgpg-error" ,libgpg-error)
1635 ("libsecret" ,libsecret)
1636 ("libsoup" ,libsoup)
1637 ("packagekit" ,packagekit)))
1638 (native-inputs
1639 `(("appstream-glib" ,appstream-glib)
1640 ("desktop-file-utils" ,desktop-file-utils)
1641 ("gettext" ,gettext-minimal)
1642 ("glib" ,glib "bin") ; for glib-compile-schemas.
1643 ("gobject-introspection" ,gobject-introspection)
1644 ("itstool" ,itstool)
1645 ("pkg-config" ,pkg-config)
1646 ("vala" ,vala)))
1647 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1648 (synopsis "Simple backup tool, for regular encrypted backups")
1649 (description
1650 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1651 uses duplicity as the backend, which supports incremental backups and storage
1652 either on a local, or remote machine via a number of methods.")
1653 (license license:gpl3+)))
1654
1655 (define-public gnome-user-docs
1656 (package
1657 (name "gnome-user-docs")
1658 (version "3.32.3")
1659 (source
1660 (origin
1661 (method url-fetch)
1662 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1663 (version-major+minor version)
1664 "/gnome-user-docs-" version ".tar.xz"))
1665 (sha256
1666 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1667 (build-system gnu-build-system)
1668 (native-inputs
1669 `(("gettext" ,gettext-minimal)
1670 ("itstool" ,itstool)
1671 ("pkg-config" ,pkg-config)
1672 ("xmllint" ,libxml2)))
1673 (synopsis "User documentation for the GNOME desktop")
1674 (description
1675 "The GNOME User Documentation explains how to use the GNOME desktop and its
1676 components. It covers usage and setup of the core GNOME programs by end-users
1677 and system administrators.")
1678 (home-page "https://live.gnome.org/DocumentationProject")
1679 (license license:cc-by3.0)))
1680
1681 (define-public gnome-getting-started-docs
1682 (package
1683 (name "gnome-getting-started-docs")
1684 (version "3.32.2")
1685 (source
1686 (origin
1687 (method url-fetch)
1688 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1689 (version-major+minor version)
1690 "/gnome-getting-started-docs-" version ".tar.xz"))
1691 (sha256
1692 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1693 (build-system gnu-build-system)
1694 (native-inputs
1695 `(("gettext" ,gettext-minimal)
1696 ("itstool" ,itstool)
1697 ("pkg-config" ,pkg-config)
1698 ("xmllint" ,libxml2)))
1699 (synopsis "Help to get new users started with the GNOME desktop")
1700 (description
1701 "The GNOME Getting Started Documentation contains GNOME's intuitive
1702 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1703
1704 It is normally used together with @command{gnome-initial-setup}, but is also
1705 useful as a tutorial and users' guide for new or less experienced users.")
1706 (home-page "https://live.gnome.org/DocumentationProject")
1707 (license license:cc-by-sa3.0)))
1708
1709 (define-public dia
1710 ;; This version from GNOME's repository includes fixes for compiling with
1711 ;; recent versions of the build tools. The latest activity on the
1712 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1713 ;; fixes since.
1714 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1715 (revision "2"))
1716 (package
1717 (name "dia")
1718 (version (git-version "0.97.3" revision commit))
1719 (source (origin
1720 (method git-fetch)
1721 (uri (git-reference
1722 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1723 (commit commit)))
1724 (file-name (git-file-name name version))
1725 (sha256
1726 (base32
1727 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1728 (build-system meson-build-system)
1729 (inputs
1730 `(("graphene" ,graphene)
1731 ("gtk+" ,gtk+-2)
1732 ("libxml2" ,libxml2)
1733 ("libxslt" ,libxslt)
1734 ("poppler" ,poppler)
1735 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1736 ;; ERROR: Unknown method "dependency" in object.
1737 ("python-2" ,python-2)))
1738 (native-inputs
1739 `(("appstream-glib" ,appstream-glib)
1740 ("docbook-xsl" ,docbook-xsl)
1741 ("glib" ,glib "bin")
1742 ("intltool" ,intltool)
1743 ("pkg-config" ,pkg-config)))
1744 (home-page "https://wiki.gnome.org/Apps/Dia")
1745 (synopsis "Diagram creation for GNOME")
1746 (description "Dia can be used to draw different types of diagrams, and
1747 includes support for UML static structure diagrams (class diagrams), entity
1748 relationship modeling, and network diagrams. The program supports various file
1749 formats like PNG, SVG, PDF and EPS.")
1750 (license license:gpl2+))))
1751
1752 ;; This is the unstable release, but it is required for the current stable
1753 ;; release of gvfs (1.38.1).
1754 (define-public libgdata
1755 (package
1756 (name "libgdata")
1757 (version "0.17.9")
1758 (source (origin
1759 (method url-fetch)
1760 (uri (string-append "mirror://gnome/sources/" name "/"
1761 (version-major+minor version) "/"
1762 name "-" version ".tar.xz"))
1763 (sha256
1764 (base32
1765 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1766 (build-system gnu-build-system)
1767 (arguments
1768 '(#:phases
1769 (modify-phases %standard-phases
1770 (add-before 'check 'disable-failing-tests
1771 (lambda _
1772 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1773 ;; They have been removed in libgdata 0.17.6, so just do the same.
1774 (substitute* "gdata/tests/Makefile"
1775 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1776 #t)))))
1777 (native-inputs
1778 `(("glib:bin" ,glib "bin")
1779 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1780 ("intltool" ,intltool)
1781 ("pkg-config" ,pkg-config)
1782 ("uhttpmock" ,uhttpmock)))
1783 (inputs
1784 `(("cyrus-sasl" ,cyrus-sasl)
1785 ("glib-networking" ,glib-networking)))
1786 (propagated-inputs
1787 `(("gcr" ,gcr)
1788 ("glib" ,glib)
1789 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1790 ("json-glib" ,json-glib)
1791 ("liboauth" ,liboauth)
1792 ("libsoup" ,libsoup)
1793 ("libxml2" ,libxml2)))
1794 (home-page "https://wiki.gnome.org/Projects/libgdata")
1795 (synopsis "Library for accessing online service APIs")
1796 (description
1797 "libgdata is a GLib-based library for accessing online service APIs using
1798 the GData protocol — most notably, Google's services. It provides APIs to
1799 access the common Google services, and has full asynchronous support.")
1800 (license license:lgpl2.1+)))
1801
1802 (define-public libgxps
1803 (package
1804 (name "libgxps")
1805 (version "0.3.1")
1806 (source (origin
1807 (method url-fetch)
1808 (uri (string-append "mirror://gnome/sources/" name "/"
1809 (version-major+minor version) "/"
1810 name "-" version ".tar.xz"))
1811 (sha256
1812 (base32
1813 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1814 (build-system meson-build-system)
1815 (native-inputs
1816 `(("gobject-introspection" ,gobject-introspection)
1817 ("pkg-config" ,pkg-config)))
1818 (inputs
1819 `(("gtk+" ,gtk+)
1820 ("libjpeg" ,libjpeg-turbo)
1821 ("lcms" ,lcms)
1822 ("libtiff" ,libtiff)))
1823 (propagated-inputs
1824 ;; In Requires of libgxps.pc.
1825 `(("cairo" ,cairo)
1826 ("glib" ,glib)
1827 ("libarchive" ,libarchive)))
1828 (home-page "https://wiki.gnome.org/Projects/libgxps")
1829 (synopsis "GObject-based library for handling and rendering XPS documents")
1830 (description
1831 "libgxps is a GObject-based library for handling and rendering XPS
1832 documents. This package also contains binaries that can convert XPS documents
1833 to other formats.")
1834 (license license:lgpl2.1+)))
1835
1836 (define-public gnome-characters
1837 (package
1838 (name "gnome-characters")
1839 (version "3.30.0")
1840 (source
1841 (origin
1842 (method url-fetch)
1843 (uri (string-append "mirror://gnome/sources/"
1844 "gnome-characters/" (version-major+minor version)
1845 "/gnome-characters-" version ".tar.xz"))
1846 (sha256
1847 (base32
1848 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1849 (build-system meson-build-system)
1850 (arguments
1851 `(#:glib-or-gtk? #t
1852 #:phases (modify-phases %standard-phases
1853 (add-after 'install 'wrap
1854 (lambda* (#:key outputs #:allow-other-keys)
1855 ;; GNOME Characters needs Typelib files from GTK and
1856 ;; gnome-desktop.
1857 (wrap-program (string-append (assoc-ref outputs "out")
1858 "/bin/gnome-characters")
1859 `("GI_TYPELIB_PATH" ":" prefix
1860 (,(getenv "GI_TYPELIB_PATH"))))
1861 #t)))))
1862 (native-inputs
1863 `(("gettext" ,gettext-minimal)
1864 ("glib:bin" ,glib "bin")
1865 ("gtk+:bin" ,gtk+ "bin")
1866 ("pkg-config" ,pkg-config)
1867 ("python" ,python-minimal)))
1868 (inputs
1869 `(("gjs" ,gjs)
1870 ("gtk+" ,gtk+)
1871 ("libunistring" ,libunistring)
1872 ("gnome-desktop" ,gnome-desktop)))
1873 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1874 (synopsis "Find and insert unusual characters")
1875 (description "Characters is a simple utility application to find
1876 and insert unusual characters. It allows you to quickly find the
1877 character you are looking for by searching for keywords.")
1878 (license license:bsd-3)))
1879
1880 (define-public gnome-common
1881 (package
1882 (name "gnome-common")
1883 (version "3.18.0")
1884 (source
1885 (origin
1886 (method url-fetch)
1887 (uri (string-append "mirror://gnome/sources/" name "/"
1888 (version-major+minor version) "/"
1889 name "-" version ".tar.xz"))
1890 (sha256
1891 (base32
1892 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1893 (build-system gnu-build-system)
1894 (home-page "https://www.gnome.org/")
1895 (synopsis "Bootstrap GNOME modules built from Git")
1896 (description "gnome-common contains various files needed to bootstrap
1897 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1898 can be used to configure a source directory checked out from Git and some
1899 commonly used macros.")
1900 (license license:gpl2+)))
1901
1902 (define-public gnome-contacts
1903 (package
1904 (name "gnome-contacts")
1905 (version "3.34")
1906 (source (origin
1907 (method url-fetch)
1908 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1909 (version-major+minor version) "/"
1910 name "-" version ".tar.xz"))
1911 (sha256
1912 (base32
1913 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1914 (build-system meson-build-system)
1915 (arguments
1916 `(#:configure-flags '("-Dcheese=false")
1917 #:phases
1918 (modify-phases %standard-phases
1919 (add-after 'unpack 'generate-vapis
1920 (lambda* (#:key inputs #:allow-other-keys)
1921 ;; To generate goa's missing .vapi file
1922 (define goa
1923 (assoc-ref inputs "gnome-online-accounts:lib"))
1924
1925 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1926 "--library=goa-1.0"
1927 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1928 #t))
1929 (add-after 'unpack 'skip-gtk-update-icon-cache
1930 ;; Don't create 'icon-theme.cache'.
1931 (lambda _
1932 (substitute* "build-aux/meson_post_install.py"
1933 (("gtk-update-icon-cache") "true"))
1934 #t)))))
1935 (native-inputs
1936 `(("glib:bin" ,glib "bin")
1937 ("pkg-config" ,pkg-config)))
1938 (inputs
1939 `(("docbook-xml" ,docbook-xml)
1940 ("dockbook-xsl" ,docbook-xsl)
1941 ("evolution-data-server" ,evolution-data-server)
1942 ("gettext" ,gettext-minimal)
1943 ("gnome-desktop" ,gnome-desktop)
1944 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1945 ("gobject-introspection" ,gobject-introspection)
1946 ("gst-plugins-base" ,gst-plugins-base)
1947 ("gtk+" ,gtk+)
1948 ("libgee" ,libgee)
1949 ("libxslt" ,libxslt)
1950 ("telepathy-glib" ,telepathy-glib)
1951 ("vala" ,vala)))
1952 (propagated-inputs
1953 `(("folks", folks)
1954 ("telepathy-mission-control" ,telepathy-mission-control)))
1955 (synopsis "GNOME's integrated address book")
1956 (description
1957 "GNOME Contacts organizes your contact information from online and
1958 offline sources, providing a centralized place for managing your contacts.")
1959 (home-page "https://wiki.gnome.org/Apps/Contacts")
1960 (license license:gpl2+)))
1961
1962 (define-public gnome-desktop
1963 (package
1964 (name "gnome-desktop")
1965 (version "3.34.2")
1966 (source
1967 (origin
1968 (method url-fetch)
1969 (uri (string-append "mirror://gnome/sources/" name "/"
1970 (version-major+minor version) "/"
1971 name "-" version ".tar.xz"))
1972 (sha256
1973 (base32
1974 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1975 (build-system meson-build-system)
1976 (arguments
1977 '(#:phases
1978 (modify-phases %standard-phases
1979 (add-before 'configure 'patch-path
1980 (lambda* (#:key inputs #:allow-other-keys)
1981 (let ((libc (assoc-ref inputs "libc")))
1982 (substitute* "libgnome-desktop/gnome-languages.c"
1983 (("\"locale\"")
1984 (string-append "\"" libc "/bin/locale\"")))
1985 #t)))
1986 (add-before 'configure 'patch-bubblewrap
1987 (lambda* (#:key inputs #:allow-other-keys)
1988 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1989 (("\"bwrap\",")
1990 (string-append "\"" (which "bwrap") "\","))
1991 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1992 (string-append "\"--ro-bind\", \""
1993 (%store-directory)
1994 "\", \""
1995 (%store-directory)
1996 "\","))
1997 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1998 #t))
1999 (add-before 'check 'pre-check
2000 (lambda* (#:key inputs #:allow-other-keys)
2001 ;; Tests require a running X server and locales.
2002 (system "Xvfb :1 &")
2003 (setenv "DISPLAY" ":1")
2004 (setenv "GUIX_LOCPATH"
2005 (string-append (assoc-ref inputs "glibc-locales")
2006 "/lib/locale"))
2007 #t)))))
2008 (native-inputs
2009 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2010 ("glibc-locales" ,glibc-locales) ; for tests
2011 ("gobject-introspection" ,gobject-introspection)
2012 ("itstool" ,itstool)
2013 ("intltool" ,intltool)
2014 ("pkg-config" ,pkg-config)
2015 ("xmllint" ,libxml2)
2016 ("xorg-server" ,xorg-server-for-tests)))
2017 (propagated-inputs
2018 ;; Required by gnome-desktop-3.0.pc.
2019 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2020 ("gtk+" ,gtk+)
2021 ("iso-codes" ,iso-codes)
2022 ("libseccomp" ,libseccomp)
2023 ("libx11" ,libx11)
2024 ("xkeyboard-config" ,xkeyboard-config)))
2025 (inputs
2026 `(("gdk-pixbuf" ,gdk-pixbuf)
2027 ("glib" ,glib)
2028 ("bubblewrap" ,bubblewrap)
2029 ("libxext" ,libxext)
2030 ("libxkbfile" ,libxkbfile)
2031 ("libxrandr" ,libxrandr)))
2032 (home-page "https://www.gnome.org/")
2033 (synopsis
2034 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2035 (description
2036 "The libgnome-desktop library provides API shared by several applications
2037 on the desktop, but that cannot live in the platform for various reasons.
2038 There is no API or ABI guarantee, although we are doing our best to provide
2039 stability. Documentation for the API is available with gtk-doc.
2040
2041 The gnome-about program helps find which version of GNOME is installed.")
2042 ; Some bits under the LGPL.
2043 (license license:gpl2+)))
2044
2045 (define-public gnome-doc-utils
2046 (package
2047 (name "gnome-doc-utils")
2048 (version "0.20.10")
2049 (source
2050 (origin
2051 (method url-fetch)
2052 (uri (string-append "mirror://gnome/sources/" name "/"
2053 (version-major+minor version) "/"
2054 name "-" version ".tar.xz"))
2055 (sha256
2056 (base32
2057 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2058 (build-system gnu-build-system)
2059 (native-inputs
2060 `(("intltool" ,intltool)
2061 ("docbook-xml" ,docbook-xml-4.4)
2062 ("python2-libxml2" ,python2-libxml2)
2063 ("libxml2" ,libxml2)
2064 ("libxslt" ,libxslt)
2065 ("pkg-config" ,pkg-config)
2066 ("python-2" ,python-2)))
2067 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2068 (synopsis
2069 "Documentation utilities for the Gnome project")
2070 (description
2071 "Gnome-doc-utils is a collection of documentation utilities for the
2072 Gnome project. It includes xml2po tool which makes it easier to translate
2073 and keep up to date translations of documentation.")
2074 (license license:gpl2+))) ; xslt under lgpl
2075
2076 (define-public gnome-disk-utility
2077 (package
2078 (name "gnome-disk-utility")
2079 (version "3.34.0")
2080 (source (origin
2081 (method url-fetch)
2082 (uri (string-append "mirror://gnome/sources/" name "/"
2083 (version-major+minor version) "/"
2084 name "-" version ".tar.xz"))
2085 (sha256
2086 (base32
2087 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2088 (build-system meson-build-system)
2089 (arguments
2090 '(#:configure-flags '("-Dlogind=libelogind")
2091 #:phases
2092 (modify-phases %standard-phases
2093 (add-after 'unpack 'skip-gtk-update-icon-cache
2094 ;; Don't create 'icon-theme.cache'.
2095 (lambda _
2096 (substitute* "meson_post_install.py"
2097 (("gtk-update-icon-cache") "true"))
2098 #t)))))
2099 (native-inputs
2100 `(("glib:bin" ,glib "bin")
2101 ("intltool" ,intltool)
2102 ("pkg-config" ,pkg-config)
2103 ("docbook-xml" ,docbook-xml)
2104 ("docbook-xsl" ,docbook-xsl)
2105 ("libxml2" ,libxml2)
2106 ("libxslt" ,libxslt)))
2107 (inputs
2108 `(("elogind" ,elogind)
2109 ("glib" ,glib)
2110 ("appstream-glib" ,appstream-glib)
2111 ("gnome-settings-daemon" ,gnome-settings-daemon)
2112 ("gtk+" ,gtk+)
2113 ("libcanberra" ,libcanberra)
2114 ("libdvdread" ,libdvdread)
2115 ("libnotify" ,libnotify)
2116 ("libpwquality" ,libpwquality)
2117 ("libsecret" ,libsecret)
2118 ("udisks" ,udisks)))
2119 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2120 (synopsis "Disk management utility for GNOME")
2121 (description "Disk management utility for GNOME.")
2122 (license license:gpl2+)))
2123
2124 (define-public gnome-font-viewer
2125 (package
2126 (name "gnome-font-viewer")
2127 (version "3.30.0")
2128 (source (origin
2129 (method url-fetch)
2130 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2131 (version-major+minor version)
2132 "/gnome-font-viewer-" version ".tar.xz"))
2133 (sha256
2134 (base32
2135 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2136 (build-system meson-build-system)
2137 (arguments
2138 '(#:phases
2139 (modify-phases %standard-phases
2140 (add-after 'unpack 'patch-post-install-script
2141 (lambda _
2142 (substitute* "meson-postinstall.sh"
2143 (("update-desktop-database") (which "true")))
2144 #t)))))
2145 (native-inputs
2146 `(("gettext" ,gettext-minimal)
2147 ("glib:bin" ,glib "bin")
2148 ("pkg-config" ,pkg-config)))
2149 (inputs
2150 `(("glib" ,glib)
2151 ("gnome-desktop" ,gnome-desktop)
2152 ("gtk+" ,gtk+)))
2153 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2154 (synopsis "GNOME Fonts")
2155 (description "Application to show you the fonts installed on your computer
2156 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2157 the font would look under various sizes.")
2158 (license license:gpl2+)))
2159
2160 (define-public gcr
2161 (package
2162 (name "gcr")
2163 (version "3.34.0")
2164 (source (origin
2165 (method url-fetch)
2166 (uri (string-append "mirror://gnome/sources/" name "/"
2167 (version-major+minor version) "/"
2168 name "-" version ".tar.xz"))
2169 (sha256
2170 (base32
2171 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2172 (build-system gnu-build-system)
2173 (arguments
2174 '(#:phases
2175 (modify-phases %standard-phases
2176 ;; These fail because /var/lib/dbus/machine-id is not present in the
2177 ;; build environment.
2178 (add-after 'unpack 'disable-failing-tests
2179 (lambda _
2180 (substitute* "Makefile.in"
2181 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2182 ""))
2183 #t))
2184 (add-before 'check 'pre-check
2185 (lambda _
2186 ;; Some tests expect to write to $HOME.
2187 (setenv "HOME" "/tmp")
2188 #t)))))
2189 (inputs
2190 `(("dbus" ,dbus)
2191 ("gnupg" ,gnupg) ;called as a child process during tests
2192 ("libgcrypt" ,libgcrypt)))
2193 (native-inputs
2194 `(("python" ,python-wrapper) ;for tests
2195 ("pkg-config" ,pkg-config)
2196 ("gettext" ,gettext-minimal)
2197 ("glib" ,glib "bin")
2198 ("gobject-introspection" ,gobject-introspection)
2199 ("libxml2" ,libxml2)
2200 ("vala" ,vala)
2201 ("xsltproc" ,libxslt)))
2202 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2203 (propagated-inputs
2204 `(("p11-kit" ,p11-kit)
2205 ("glib" ,glib)
2206 ("gtk+" ,gtk+)))
2207 (home-page "https://www.gnome.org")
2208 (synopsis "Libraries for displaying certificates and accessing key stores")
2209 (description
2210 "The GCR package contains libraries used for displaying certificates and
2211 accessing key stores. It also provides the viewer for crypto files on the
2212 GNOME Desktop.")
2213 (license license:lgpl2.1+)))
2214
2215 (define-public gdl
2216 (package
2217 (name "gdl")
2218 (version "3.34.0")
2219 (source (origin
2220 (method git-fetch)
2221 (uri (git-reference
2222 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2223 (commit (string-append "GDL_" (string-map (match-lambda
2224 (#\. #\_)
2225 (c c))
2226 version)))))
2227 (file-name (git-file-name name version))
2228 (sha256
2229 (base32
2230 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2231 (build-system gnu-build-system)
2232 (native-inputs
2233 `(("autoconf" ,autoconf)
2234 ("automake" ,automake)
2235 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2236 ("gnome-common" ,gnome-common)
2237 ("gtk-doc" ,gtk-doc)
2238 ("intltool" ,intltool)
2239 ("pkg-config" ,pkg-config)
2240 ("libtool" ,libtool)
2241 ("which" ,which)))
2242 (inputs
2243 `(("libxml2" ,libxml2)))
2244 (propagated-inputs
2245 ;; The gdl-3.0.pc file 'Requires' GTK+.
2246 `(("gtk+" ,gtk+)))
2247 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2248 (synopsis "GNOME docking library")
2249 (description "This library provides docking features for gtk+.")
2250 (license license:lgpl2.1+)))
2251
2252 ;;; A minimal variant used to break a cycle with Inkscape.
2253 (define-public gdl-minimal
2254 (package
2255 (inherit gdl)
2256 (name "gdl-minimal")
2257 (arguments
2258 '(#:phases
2259 (modify-phases %standard-phases
2260 (add-after 'unpack 'disable-doc-generation
2261 ;; XXX: There is no easy way to disable generating the
2262 ;; documentation.
2263 (lambda _
2264 (substitute* "configure.in"
2265 (("GTK_DOC_CHECK.*") "")
2266 (("docs/.*") ""))
2267 (substitute* "Makefile.am"
2268 (("gdl docs po") "gdl po"))
2269 #t)))))
2270 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2271
2272 (define-public libgnome-keyring
2273 (package
2274 (name "libgnome-keyring")
2275 (version "3.12.0")
2276 (source (origin
2277 (method url-fetch)
2278 (uri (string-append "mirror://gnome/sources/" name "/"
2279 (version-major+minor version) "/"
2280 name "-" version ".tar.xz"))
2281 (sha256
2282 (base32
2283 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2284 (build-system gnu-build-system)
2285 (inputs
2286 `(("libgcrypt" ,libgcrypt)
2287 ("dbus" ,dbus)))
2288 (native-inputs
2289 `(("pkg-config" ,pkg-config)
2290 ("glib" ,glib "bin")
2291 ("intltool" ,intltool)))
2292 (propagated-inputs
2293 ;; Referred to in .h files and .pc.
2294 `(("glib" ,glib)))
2295 (home-page "https://www.gnome.org")
2296 (synopsis "Accessing passwords from the GNOME keyring")
2297 (description
2298 "Client library to access passwords from the GNOME keyring.")
2299
2300 ;; Though a couple of files are LGPLv2.1+.
2301 (license license:lgpl2.0+)))
2302
2303 (define-public gnome-keyring
2304 (package
2305 (name "gnome-keyring")
2306 (version "3.34.0")
2307 (source (origin
2308 (method url-fetch)
2309 (uri (string-append "mirror://gnome/sources/" name "/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2312 (sha256
2313 (base32
2314 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2315 (build-system gnu-build-system)
2316 (arguments
2317 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2318 ;not exist
2319 #:configure-flags
2320 (list
2321 (string-append "--with-pkcs11-config="
2322 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2323 (string-append "--with-pkcs11-modules="
2324 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2325 #:phases
2326 (modify-phases %standard-phases
2327 (add-after 'unpack 'fix-/bin/sh-reference
2328 (lambda _
2329 (substitute* "po/Makefile.in.in"
2330 (("/bin/sh") (which "sh")))
2331 #t))
2332 (add-after 'unpack 'fix-docbook
2333 (lambda* (#:key inputs #:allow-other-keys)
2334 (substitute* "docs/Makefile.am"
2335 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2336 (string-append (assoc-ref inputs "docbook-xsl")
2337 "/xml/xsl/docbook-xsl-"
2338 ,(package-version docbook-xsl)
2339 "/manpages/docbook.xsl")))
2340 (setenv "XML_CATALOG_FILES"
2341 (string-append (assoc-ref inputs "docbook-xml")
2342 "/xml/dtd/docbook/catalog.xml"))
2343 ;; Rerun the whole thing to avoid version mismatch ("This is
2344 ;; Automake 1.15.1, but the definition used by this
2345 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2346 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2347 (invoke "autoconf")
2348 (invoke "aclocal")
2349 (invoke "automake" "-ac"))))))
2350 (inputs
2351 `(("libgcrypt" ,libgcrypt)
2352 ("linux-pam" ,linux-pam)
2353 ("openssh" ,openssh)
2354 ("dbus" ,dbus)
2355 ("gcr" ,gcr)))
2356 (native-inputs
2357 `(("pkg-config" ,pkg-config)
2358 ("glib" ,glib "bin")
2359 ("glib" ,glib) ; for m4 macros
2360 ("python" ,python-2) ;for tests
2361 ("intltool" ,intltool)
2362 ("autoconf" ,autoconf)
2363 ("automake" ,automake)
2364 ("libxslt" ,libxslt) ;for documentation
2365 ("docbook-xml" ,docbook-xml-4.2)
2366 ("docbook-xsl" ,docbook-xsl)))
2367 (home-page "https://www.gnome.org")
2368 (synopsis "Daemon to store passwords and encryption keys")
2369 (description
2370 "gnome-keyring is a program that keeps passwords and other secrets for
2371 users. It is run as a daemon in the session, similar to ssh-agent, and other
2372 applications locate it via an environment variable or D-Bus.
2373
2374 The program can manage several keyrings, each with its own master password,
2375 and there is also a session keyring which is never stored to disk, but
2376 forgotten when the session ends.")
2377 (license license:lgpl2.1+)))
2378
2379 (define-public evince
2380 (package
2381 (name "evince")
2382 (version "3.36.5")
2383 (source (origin
2384 (method url-fetch)
2385 (uri (string-append "mirror://gnome/sources/evince/"
2386 (version-major+minor version) "/"
2387 "evince-" version ".tar.xz"))
2388 (sha256
2389 (base32
2390 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2391 (build-system glib-or-gtk-build-system)
2392 (arguments
2393 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2394 #:phases
2395 (modify-phases %standard-phases
2396 (add-before 'install 'skip-gtk-update-icon-cache
2397 ;; Don't create 'icon-theme.cache'.
2398 (lambda _
2399 (substitute* "data/Makefile"
2400 (("gtk-update-icon-cache") "true"))
2401 #t)))))
2402 (inputs
2403 `(("libarchive" ,libarchive)
2404 ("libgxps" ,libgxps)
2405 ("libspectre" ,libspectre)
2406 ("djvulibre" ,djvulibre)
2407 ("ghostscript" ,ghostscript)
2408 ("poppler" ,poppler)
2409 ("libtiff" ,libtiff)
2410 ;; TODO:
2411 ;; Build libkpathsea as a shared library for DVI support.
2412 ;; ("libkpathsea" ,texlive-bin)
2413 ("gnome-desktop" ,gnome-desktop)
2414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2415 ("gspell" ,gspell)
2416 ("libgnome-keyring" ,libgnome-keyring)
2417 ("adwaita-icon-theme" ,adwaita-icon-theme)
2418 ("gdk-pixbuf" ,gdk-pixbuf)
2419 ("atk" ,atk)
2420 ("pango" ,pango)
2421 ("gtk+" ,gtk+)
2422 ("glib" ,glib)
2423 ("libxml2" ,libxml2)
2424 ("libsm" ,libsm)
2425 ("libice" ,libice)
2426 ("shared-mime-info" ,shared-mime-info)
2427 ("dconf" ,dconf)
2428 ("libcanberra" ,libcanberra)
2429 ("libsecret" ,libsecret)
2430
2431 ;; For tests.
2432 ("dogtail" ,python2-dogtail)))
2433 (native-inputs
2434 `(("itstool" ,itstool)
2435 ("intltool" ,intltool)
2436 ("glib" ,glib "bin")
2437 ("gobject-introspection" ,gobject-introspection)
2438 ("pkg-config" ,pkg-config)
2439 ("xmllint" ,libxml2)))
2440 (home-page "https://www.gnome.org/projects/evince/")
2441 (synopsis "GNOME's document viewer")
2442 (description
2443 "Evince is a document viewer for multiple document formats. It
2444 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2445 of Evince is to replace the multiple document viewers that exist
2446 on the GNOME Desktop with a single simple application.")
2447 (license license:gpl2+)))
2448
2449 (define-public gsettings-desktop-schemas
2450 (package
2451 (name "gsettings-desktop-schemas")
2452 (version "3.34.0")
2453 (source
2454 (origin
2455 (method url-fetch)
2456 (uri (string-append "mirror://gnome/sources/" name "/"
2457 (version-major+minor version) "/"
2458 name "-" version ".tar.xz"))
2459 (sha256
2460 (base32
2461 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2462 (build-system meson-build-system)
2463 (arguments
2464 '(#:phases (modify-phases %standard-phases
2465 (add-after 'unpack 'patch-schemas
2466 (lambda* (#:key inputs #:allow-other-keys)
2467 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2468 (substitute* (find-files "schemas"
2469 "\\.gschema\\.xml\\.in$")
2470 ;; Provide the correct file name of the default GNOME
2471 ;; background, 'adwaita-timed.xml'.
2472 (("@datadir@/backgrounds/gnome")
2473 (string-append theme "/share/backgrounds/gnome"))
2474 ;; Do not reference fonts, that may not exist.
2475 (("'Source Code Pro 10'") "'Monospace 11'"))
2476 #t))))))
2477 (inputs
2478 `(("glib" ,glib)
2479 ("gnome-backgrounds" ,gnome-backgrounds)))
2480 (native-inputs
2481 `(("intltool" ,intltool)
2482 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2483 ("gobject-introspection" ,gobject-introspection)
2484 ("pkg-config" ,pkg-config)))
2485 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2486 (synopsis
2487 "GNOME settings for various desktop components")
2488 (description
2489 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2490 for settings shared by various components of the GNOME desktop.")
2491 (license license:lgpl2.1+)))
2492
2493 (define-public icon-naming-utils
2494 (package
2495 (name "icon-naming-utils")
2496 (version "0.8.90")
2497 (source
2498 (origin
2499 (method url-fetch)
2500 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2501 version ".tar.bz2"))
2502 (sha256
2503 (base32
2504 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2505 (build-system gnu-build-system)
2506 (inputs
2507 `(("perl" ,perl)
2508 ("perl-xml-simple" ,perl-xml-simple)))
2509 (arguments
2510 '(#:phases
2511 (modify-phases %standard-phases
2512 (add-after 'install 'set-load-paths
2513 ;; Tell 'icon-name-mapping' where XML::Simple is.
2514 (lambda* (#:key outputs #:allow-other-keys)
2515 (let* ((out (assoc-ref outputs "out"))
2516 (prog (string-append out "/libexec/icon-name-mapping")))
2517 (wrap-program
2518 prog
2519 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2520 #t)))))
2521 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2522 (synopsis
2523 "Utility to implement the Freedesktop Icon Naming Specification")
2524 (description
2525 "To help with the transition to the Freedesktop Icon Naming
2526 Specification, the icon naming utility maps the icon names used by the
2527 GNOME and KDE desktops to the icon names proposed in the specification.")
2528 (license license:lgpl2.1+)))
2529
2530 (define-public gnome-icon-theme
2531 (package
2532 (name "gnome-icon-theme")
2533 (version "3.12.0")
2534 (source
2535 (origin
2536 (method url-fetch)
2537 (uri (string-append "mirror://gnome/sources/" name "/"
2538 (version-major+minor version) "/"
2539 name "-" version ".tar.xz"))
2540 (sha256
2541 (base32
2542 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2543 (build-system gnu-build-system)
2544 (arguments
2545 '(#:configure-flags
2546 ;; Don't create 'icon-theme.cache'.
2547 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2548 (true (string-append coreutils "/bin/true")))
2549 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2550 (native-inputs
2551 `(("icon-naming-utils" ,icon-naming-utils)
2552 ("intltool" ,intltool)
2553 ("pkg-config" ,pkg-config)))
2554 (home-page "https://wiki.gnome.org/Personalization")
2555 (synopsis "GNOME icon theme")
2556 (description "Icons for the GNOME desktop.")
2557 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2558
2559 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2560 (define-public adwaita-icon-theme
2561 (package (inherit gnome-icon-theme)
2562 (name "adwaita-icon-theme")
2563 (version "3.34.3")
2564 (source (origin
2565 (method url-fetch)
2566 (uri (string-append "mirror://gnome/sources/" name "/"
2567 (version-major+minor version) "/"
2568 name "-" version ".tar.xz"))
2569 (sha256
2570 (base32
2571 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2572 (native-inputs
2573 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2574
2575 (define-public tango-icon-theme
2576 (package
2577 (name "tango-icon-theme")
2578 (version "0.8.90")
2579 (source (origin
2580 (method url-fetch)
2581 (uri (string-append "http://tango.freedesktop.org/releases/"
2582 "tango-icon-theme-" version ".tar.bz2"))
2583 (sha256
2584 (base32
2585 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2586 (build-system gnu-build-system)
2587 (native-inputs
2588 `(("icon-naming-utils" ,icon-naming-utils)
2589 ("intltool" ,intltool)
2590 ("imagemagick" ,imagemagick)
2591 ("pkg-config" ,pkg-config)))
2592 (home-page "http://tango-project.org/")
2593 (synopsis "Tango icon theme")
2594 (description "This is an icon theme that follows the Tango visual
2595 guidelines.")
2596 (license license:public-domain)))
2597
2598 (define-public shared-mime-info
2599 (package
2600 (name "shared-mime-info")
2601 (version "1.15")
2602 (source (origin
2603 (method url-fetch)
2604 (uri (string-append
2605 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2606 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2607 ".tar.xz"))
2608 (sha256
2609 (base32
2610 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2611 (build-system gnu-build-system)
2612 (arguments
2613 ;; The build system appears not to be parallel-safe.
2614 '(#:parallel-build? #f))
2615 (inputs
2616 `(("glib" ,glib)
2617 ("libxml2" ,libxml2)))
2618 (native-inputs
2619 `(("gettext" ,gettext-minimal)
2620 ("itstool" ,itstool)
2621 ("pkg-config" ,pkg-config)))
2622 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2623 (synopsis "Database of common MIME types")
2624 (description
2625 "The shared-mime-info package contains the core database of common types
2626 and the update-mime-database command used to extend it. It requires glib2 to
2627 be installed for building the update command. Additionally, it uses intltool
2628 for translations, though this is only a dependency for the maintainers. This
2629 database is translated at Transifex.")
2630 (license license:gpl2+)))
2631
2632 (define-public system-config-printer
2633 (package
2634 (name "system-config-printer")
2635 (version "1.5.12")
2636 (source
2637 (origin
2638 (method url-fetch)
2639 (uri (string-append
2640 "https://github.com/OpenPrinting/system-config-printer/releases/"
2641 "download/" version
2642 "/system-config-printer-" version ".tar.xz"))
2643 (sha256
2644 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
2645 (build-system glib-or-gtk-build-system)
2646 (arguments
2647 `(#:imported-modules ((guix build python-build-system)
2648 ,@%glib-or-gtk-build-system-modules)
2649 #:phases
2650 (modify-phases %standard-phases
2651 (add-after 'unpack 'patch-Makefile.am
2652 (lambda _
2653 ;; The Makefile generates some scripts, so set a valid shebang
2654 (substitute* "Makefile.am"
2655 (("/bin/bash") (which "bash")))
2656 (delete-file "configure")
2657 #t))
2658 (add-after 'unpack 'patch-docbook-xml
2659 (lambda* (#:key inputs #:allow-other-keys)
2660 ;; Modify the man XML otherwise xmlto tries to access the network
2661 (substitute* "man/system-config-printer.xml"
2662 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2663 (string-append (assoc-ref inputs "docbook-xml")
2664 "/xml/dtd/docbook/")))
2665 #t))
2666 (add-after 'install 'wrap-for-python
2667 (@@ (guix build python-build-system) wrap))
2668 (add-after 'install 'wrap
2669 (lambda* (#:key outputs #:allow-other-keys)
2670 (let ((out (assoc-ref outputs "out"))
2671 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2672 (for-each
2673 (lambda (program)
2674 (wrap-program program
2675 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2676 (map (lambda (name)
2677 (string-append out "/bin/" name))
2678 '("system-config-printer"
2679 "system-config-printer-applet"
2680 "install-printerdriver"
2681 "scp-dbus-service"))))
2682 #t)))))
2683 (inputs
2684 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2685 ("gobject-introspection" ,gobject-introspection)
2686 ("python" ,python)
2687 ("cups" ,cups)
2688 ("gtk+" ,gtk+)
2689 ("python-dbus" ,python-dbus)
2690 ("python-pygobject" ,python-pygobject)
2691 ("python-pycups" ,python-pycups)
2692 ("python-requests" ,python-requests)
2693 ("python-pycairo" ,python-pycairo)
2694 ("libnotify" ,libnotify)
2695 ("packagekit" ,packagekit)))
2696 (native-inputs
2697 `(("pkg-config" ,pkg-config)
2698 ("desktop-file-utils" ,desktop-file-utils)
2699 ("glib" ,glib)
2700 ("autoconf" ,autoconf)
2701 ("automake" ,automake)
2702 ("intltool" ,intltool)
2703 ("xmlto" ,xmlto)
2704 ("docbook-xml" ,docbook-xml-4.1.2)
2705 ("docbook-xsl" ,docbook-xsl)
2706 ("libxml2" ,libxml2)))
2707 (home-page "https://github.com/zdohnal/system-config-printer")
2708 (synopsis "CUPS administration tool")
2709 (description
2710 "system-config-printer is a CUPS administration tool. It's written in
2711 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2712 configuring CUPS.")
2713 (license license:gpl2+)))
2714
2715 (define-public hicolor-icon-theme
2716 (package
2717 (name "hicolor-icon-theme")
2718 (version "0.17")
2719 (source
2720 (origin
2721 (method url-fetch)
2722 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2723 "hicolor-icon-theme-" version ".tar.xz"))
2724 (sha256
2725 (base32
2726 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2727 (build-system gnu-build-system)
2728 (arguments
2729 `(#:tests? #f)) ; no check target
2730 (home-page "https://icon-theme.freedesktop.org/releases/")
2731 (synopsis
2732 "Freedesktop icon theme")
2733 (description
2734 "Freedesktop icon theme.")
2735 (license license:gpl2)))
2736
2737 (define-public libnotify
2738 (package
2739 (name "libnotify")
2740 (version "0.7.7")
2741 (source
2742 (origin
2743 (method url-fetch)
2744 (uri (string-append "mirror://gnome/sources/" name "/"
2745 (version-major+minor version) "/"
2746 name "-" version ".tar.xz"))
2747 (sha256
2748 (base32
2749 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2750 (build-system gnu-build-system)
2751 (arguments
2752 `(#:configure-flags '("--disable-static")))
2753 (propagated-inputs
2754 `(;; In Requires of libnotify.pc.
2755 ("gdk-pixbuf" ,gdk-pixbuf)
2756 ("glib" ,glib)))
2757 (inputs
2758 `(("gtk+" ,gtk+)
2759 ("libpng" ,libpng)))
2760 (native-inputs
2761 `(("pkg-config" ,pkg-config)
2762 ("glib" ,glib "bin")
2763 ("gobject-introspection" ,gobject-introspection)))
2764 (home-page "https://developer-next.gnome.org/libnotify/")
2765 (synopsis
2766 "GNOME desktop notification library")
2767 (description
2768 "Libnotify is a library that sends desktop notifications to a
2769 notification daemon, as defined in the Desktop Notifications spec. These
2770 notifications can be used to inform the user about an event or display
2771 some form of information without getting in the user's way.")
2772 (license license:lgpl2.1+)))
2773
2774 (define-public libpeas
2775 (package
2776 (name "libpeas")
2777 (version "1.24.1")
2778 (source
2779 (origin
2780 (method url-fetch)
2781 (uri (string-append "mirror://gnome/sources/" name "/"
2782 (version-major+minor version) "/"
2783 name "-" version ".tar.xz"))
2784 (sha256
2785 (base32
2786 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2787 (build-system meson-build-system)
2788 (arguments
2789 '(#:phases
2790 (modify-phases %standard-phases
2791 (add-before 'check 'start-xserver
2792 (lambda* (#:key inputs #:allow-other-keys)
2793 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2794 (disp ":1"))
2795 (setenv "DISPLAY" disp)
2796 ;; Tests require a running X server.
2797 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2798 #t))))))
2799 (inputs
2800 `(("gtk+" ,gtk+)
2801 ("glade" ,glade3)
2802 ("python" ,python)
2803 ("python-pygobject" ,python-pygobject)))
2804 (native-inputs
2805 `(("pkg-config" ,pkg-config)
2806 ("gettext" ,gettext-minimal)
2807 ("glib:bin" ,glib "bin")
2808 ("gobject-introspection" ,gobject-introspection)
2809 ("xorg-server" ,xorg-server-for-tests)))
2810 (propagated-inputs
2811 ;; The .pc file "Requires" gobject-introspection.
2812 `(("gobject-introspection" ,gobject-introspection)))
2813 (home-page "https://wiki.gnome.org/Libpeas")
2814 (synopsis "GObject plugin system")
2815 (description
2816 "Libpeas is a gobject-based plugin engine, targeted at giving every
2817 application the chance to assume its own extensibility. It also has a set of
2818 features including, but not limited to: multiple extension points; on-demand
2819 (lazy) programming language support for C, Python and JS; simplicity of the
2820 API.")
2821 (license license:lgpl2.0+)))
2822
2823 (define-public gtkglext
2824 (package
2825 (name "gtkglext")
2826 (version "1.2.0")
2827 (source (origin
2828 (method url-fetch)
2829 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2830 version "/gtkglext-" version ".tar.gz"))
2831 (sha256
2832 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2833 (patches (search-patches
2834 "gtkglext-disable-disable-deprecated.patch"))))
2835 (build-system gnu-build-system)
2836 (arguments
2837 `(#:phases
2838 (modify-phases %standard-phases
2839 ;; Fix a collision between a local variable and a definition from
2840 ;; glibc's string.h.
2841 (add-after 'unpack 'fix-collision
2842 (lambda _
2843 (substitute* "gdk/gdkglshapes.c"
2844 ((" index") " triangle_index"))
2845 #t)))))
2846 (inputs `(("gtk+" ,gtk+-2)
2847 ("mesa" ,mesa)
2848 ("glu" ,glu)
2849 ("libx11" ,libx11)
2850 ("libxt" ,libxt)))
2851 (native-inputs `(("pkg-config" ,pkg-config)
2852 ("glib" ,glib "bin")))
2853 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2854 (home-page "https://projects.gnome.org/gtkglext")
2855 (synopsis "OpenGL extension to GTK+")
2856 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2857 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2858 API add-ons to make GTK+ widgets OpenGL-capable.")
2859 (license license:lgpl2.1+)))
2860
2861 (define-public glade3
2862 (package
2863 (name "glade")
2864 (version "3.36.0")
2865 (source (origin
2866 (method url-fetch)
2867 (uri (string-append "mirror://gnome/sources/" name "/"
2868 (version-major+minor version) "/"
2869 name "-" version ".tar.xz"))
2870 (sha256
2871 (base32
2872 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2873 (build-system glib-or-gtk-build-system)
2874 (arguments
2875 `(#:phases
2876 (modify-phases %standard-phases
2877 (add-before 'configure 'fix-docbook
2878 (lambda* (#:key inputs #:allow-other-keys)
2879 (substitute* "man/Makefile.in"
2880 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2881 (string-append (assoc-ref inputs "docbook-xsl")
2882 "/xml/xsl/docbook-xsl-"
2883 ,(package-version docbook-xsl)
2884 "/manpages/docbook.xsl")))
2885 #t))
2886 (add-before 'check 'pre-check
2887 (lambda _
2888 (setenv "HOME" "/tmp")
2889 ;; Tests require a running X server.
2890 (system "Xvfb :1 &")
2891 (setenv "DISPLAY" ":1")
2892 #t)))))
2893 (inputs
2894 `(("gtk+" ,gtk+)
2895 ("libxml2" ,libxml2)))
2896 (native-inputs
2897 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2898 ("intltool" ,intltool)
2899 ("itstool" ,itstool)
2900 ("libxslt" ,libxslt) ;for xsltproc
2901 ("docbook-xml" ,docbook-xml-4.2)
2902 ("docbook-xsl" ,docbook-xsl)
2903 ("python" ,python-2)
2904 ("pkg-config" ,pkg-config)
2905 ("xorg-server" ,xorg-server-for-tests)))
2906 (home-page "https://glade.gnome.org")
2907 (synopsis "GTK+ rapid application development tool")
2908 (description "Glade is a rapid application development (RAD) tool to
2909 enable quick & easy development of user interfaces for the GTK+ toolkit and
2910 the GNOME desktop environment.")
2911 (license license:lgpl2.0+)))
2912
2913 (define-public libcroco
2914 (package
2915 (name "libcroco")
2916 (version "0.6.13")
2917 (source (origin
2918 (method url-fetch)
2919 (uri (string-append "mirror://gnome/sources/" name "/"
2920 (version-major+minor version) "/"
2921 name "-" version ".tar.xz"))
2922 (sha256
2923 (base32
2924 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2925 (build-system gnu-build-system)
2926 (native-inputs
2927 `(("pkg-config" ,pkg-config)))
2928 (inputs
2929 `(("glib" ,glib)
2930 ("libxml2" ,libxml2)
2931 ("zlib" ,zlib)))
2932 (home-page "https://github.com/GNOME/libcroco")
2933 (synopsis "CSS2 parsing and manipulation library")
2934 (description
2935 "Libcroco is a standalone CSS2 parsing and manipulation library.
2936 The parser provides a low level event driven SAC-like API and a CSS object
2937 model like API. Libcroco provides a CSS2 selection engine and an experimental
2938 XML/CSS rendering engine.")
2939
2940 ;; LGPLv2.1-only.
2941 (license license:lgpl2.1)))
2942
2943 (define-public libgsf
2944 (package
2945 (name "libgsf")
2946 (version "1.14.47")
2947 (source (origin
2948 (method url-fetch)
2949 (uri (string-append "mirror://gnome/sources/" name "/"
2950 (version-major+minor version) "/"
2951 name "-" version ".tar.xz"))
2952 (sha256
2953 (base32
2954 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2955 (build-system gnu-build-system)
2956 (arguments
2957 '(#:configure-flags '("--disable-static")))
2958 (native-inputs
2959 `(("pkg-config" ,pkg-config)
2960 ("gettext" ,gettext-minimal)
2961
2962 ;; For tests.
2963 ("perl" ,perl)
2964 ("perl-xml-parser" ,perl-xml-parser)))
2965 (inputs
2966 `(("zlib" ,zlib)
2967 ("bzip2" ,bzip2)))
2968 (propagated-inputs
2969 `(("gdk-pixbuf" ,gdk-pixbuf)
2970 ("glib" ,glib)
2971 ("libxml2" ,libxml2)))
2972 (home-page "https://www.gnome.org/projects/libgsf")
2973 (synopsis "GNOME's Structured File Library")
2974 (description
2975 "Libgsf aims to provide an efficient extensible I/O abstraction for
2976 dealing with different structured file formats.")
2977
2978 ;; LGPLv2.1-only.
2979 (license license:lgpl2.1)))
2980
2981 (define-public librsvg
2982 (package
2983 (name "librsvg")
2984 (version "2.40.21")
2985 (source (origin
2986 (method url-fetch)
2987 (uri (string-append "mirror://gnome/sources/" name "/"
2988 (version-major+minor version) "/"
2989 name "-" version ".tar.xz"))
2990 (sha256
2991 (base32
2992 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2993 (build-system gnu-build-system)
2994 (arguments
2995 `(#:configure-flags
2996 (list "--disable-static"
2997 "--enable-vala") ; needed for e.g. gnome-mines
2998 #:phases
2999 (modify-phases %standard-phases
3000 (add-before 'configure 'pre-configure
3001 (lambda* (#:key inputs #:allow-other-keys)
3002 (substitute* "gdk-pixbuf-loader/Makefile.in"
3003 ;; By default the gdk-pixbuf loader is installed under
3004 ;; gdk-pixbuf's prefix. Work around that.
3005 (("gdk_pixbuf_moduledir = .*$")
3006 (string-append "gdk_pixbuf_moduledir = "
3007 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3008 "loaders\n"))
3009 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3010 (("gdk_pixbuf_cache_file = .*$")
3011 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3012 #t))
3013 (add-before 'check 'remove-failing-tests
3014 (lambda _
3015 (with-directory-excursion "tests/fixtures/reftests"
3016 (for-each delete-file
3017 '(;; This test fails on i686:
3018 "svg1.1/masking-path-04-b.svg"
3019 ;; This test fails on armhf:
3020 "svg1.1/masking-mask-01-b.svg"
3021 ;; This test fails on aarch64:
3022 "bugs/777834-empty-text-children.svg")))
3023 #t)))))
3024 (native-inputs
3025 `(("pkg-config" ,pkg-config)
3026 ("vala" ,vala)
3027 ("glib" ,glib "bin") ; glib-mkenums, etc.
3028 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3029 (inputs
3030 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3031 ;; this ancient version of librsvg.
3032 ("pango" ,pango-1.42)
3033 ("libcroco" ,libcroco)
3034 ("bzip2" ,bzip2)
3035 ("libgsf" ,libgsf)
3036 ("libxml2" ,libxml2)))
3037 (propagated-inputs
3038 ;; librsvg-2.0.pc refers to all of that.
3039 `(("cairo" ,cairo)
3040 ("gdk-pixbuf" ,gdk-pixbuf)
3041 ("glib" ,glib)))
3042 (home-page "https://wiki.gnome.org/LibRsvg")
3043 (synopsis "Render SVG files using Cairo")
3044 (description
3045 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3046 library.")
3047 (license license:lgpl2.0+)))
3048
3049 (define-public librsvg-next
3050 (package
3051 (name "librsvg")
3052 (version "2.48.8")
3053 (source (origin
3054 (method url-fetch)
3055 (uri (string-append "mirror://gnome/sources/librsvg/"
3056 (version-major+minor version) "/"
3057 "librsvg-" version ".tar.xz"))
3058 (sha256
3059 (base32
3060 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
3061 (modules '((guix build utils)))
3062 (snippet
3063 '(begin (delete-file-recursively "vendor")
3064 #t))))
3065 (build-system cargo-build-system)
3066 (outputs '("out" "doc"))
3067 (arguments
3068 `(#:modules
3069 ((guix build cargo-build-system)
3070 (guix build utils)
3071 ((guix build gnu-build-system) #:prefix gnu:))
3072 #:cargo-inputs
3073 (("rust-bitflags" ,rust-bitflags-1)
3074 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3075 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3076 ("rust-cast" ,rust-cast-0.2)
3077 ("rust-cssparser" ,rust-cssparser-0.27)
3078 ("rust-data-url" ,rust-data-url-0.1)
3079 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
3080 ("rust-encoding" ,rust-encoding-0.2)
3081 ("rust-float-cmp" ,rust-float-cmp-0.6)
3082 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3083 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3084 ("rust-gio" ,rust-gio-0.8)
3085 ("rust-gio-sys" ,rust-gio-sys-0.9)
3086 ("rust-glib" ,rust-glib-0.9)
3087 ("rust-glib-sys" ,rust-glib-sys-0.9)
3088 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3089 ("rust-itertools" ,rust-itertools-0.8)
3090 ("rust-language-tags" ,rust-language-tags-0.2)
3091 ("rust-libc" ,rust-libc-0.2)
3092 ("rust-locale-config" ,rust-locale-config-0.3)
3093 ("rust-markup5ever" ,rust-markup5ever-0.10)
3094 ("rust-nalgebra" ,rust-nalgebra-0.19)
3095 ("rust-num-traits" ,rust-num-traits-0.2)
3096 ("rust-once-cell" ,rust-once-cell-1.2)
3097 ("rust-pkg-config" ,rust-pkg-config-0.3)
3098 ("rust-pango" ,rust-pango-0.8)
3099 ("rust-pango-sys" ,rust-pango-sys-0.9)
3100 ("rust-pangocairo" ,rust-pangocairo-0.9)
3101 ("rust-rayon" ,rust-rayon-1)
3102 ("rust-rctree" ,rust-rctree-0.3)
3103 ("rust-rgb" ,rust-rgb-0.8)
3104 ("rust-regex" ,rust-regex-1)
3105 ("rust-selectors" ,rust-selectors-0.22)
3106 ("rust-url" ,rust-url-2.1)
3107 ("rust-xml5ever" ,rust-xml5ever-0.16))
3108 #:cargo-development-inputs
3109 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
3110 ("rust-criterion" ,rust-criterion-0.3))
3111 #:phases
3112 (modify-phases %standard-phases
3113 (add-after 'unpack 'patch-docbook-xml
3114 (lambda* (#:key inputs #:allow-other-keys)
3115 (with-directory-excursion "doc"
3116 (substitute* "rsvg-docs.xml"
3117 (("http://www.oasis-open.org/docbook/xml/4.3/")
3118 (string-append (assoc-ref inputs "docbook-xml")
3119 "/xml/dtd/docbook/"))))
3120 #t))
3121 (add-after 'unpack 'prepare-for-build
3122 (lambda _
3123 ;; In lieu of #:make-flags
3124 (setenv "CC" ,(cc-for-target))
3125 ;; Something about the build environment resists building
3126 ;; successfully with the '--locked' flag.
3127 (substitute* '("Makefile.am" "Makefile.in")
3128 (("--locked") ""))
3129 #t))
3130 (add-before 'configure 'pre-configure
3131 (lambda _
3132 (substitute* "gdk-pixbuf-loader/Makefile.in"
3133 ;; By default the gdk-pixbuf loader is installed under
3134 ;; gdk-pixbuf's prefix. Work around that.
3135 (("gdk_pixbuf_moduledir = .*$")
3136 (string-append "gdk_pixbuf_moduledir = "
3137 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3138 "loaders\n"))
3139 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3140 (("gdk_pixbuf_cache_file = .*$")
3141 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3142 #t))
3143 (add-after 'configure 'gnu-configure
3144 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3145 ((assoc-ref gnu:%standard-phases 'configure)
3146 #:native-inputs native-inputs
3147 #:inputs inputs
3148 #:outputs outputs
3149 #:configure-flags
3150 (list "--disable-static"
3151 "--enable-vala"
3152 (string-append "--with-html-dir="
3153 (assoc-ref %outputs "doc")
3154 "/share/gtk-doc/html")))))
3155 (add-after 'configure 'dont-vendor-self
3156 (lambda* (#:key vendor-dir #:allow-other-keys)
3157 ;; Don't keep the whole tarball in the vendor directory
3158 (delete-file-recursively
3159 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3160 #t))
3161 (replace 'build
3162 (assoc-ref gnu:%standard-phases 'build))
3163 (replace 'check
3164 (lambda* args
3165 ((assoc-ref gnu:%standard-phases 'check)
3166 #:test-target "check")))
3167 (replace 'install
3168 (assoc-ref gnu:%standard-phases 'install)))))
3169 (native-inputs
3170 `(("docbook-xml" ,docbook-xml-4.3)
3171 ("glib" ,glib "bin")
3172 ("gobject-introspection" ,gobject-introspection)
3173 ("pkg-config" ,pkg-config)
3174 ("python" ,python-wrapper)
3175 ("ruby" ,ruby)
3176 ("vala" ,vala)))
3177 (inputs
3178 `(("bzip2" ,bzip2)
3179 ("fontconfig" ,fontconfig)
3180 ("freetype" ,freetype)
3181 ("harfbuzz" ,harfbuzz)
3182 ("libcroco" ,libcroco)
3183 ("libgsf" ,libgsf)
3184 ("libxml2" ,libxml2)
3185 ("pango" ,pango)))
3186 (propagated-inputs
3187 `(("cairo" ,cairo)
3188 ("gdk-pixbuf" ,gdk-pixbuf)
3189 ("glib" ,glib)))
3190 (synopsis "SVG rendering library")
3191 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3192 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3193 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3194 diagrams.")
3195 (home-page "https://wiki.gnome.org/LibRsvg")
3196 (license license:lgpl2.1+)))
3197
3198 (define-public libidl
3199 (package
3200 (name "libidl")
3201 (version "0.8.14")
3202 (source (origin
3203 (method url-fetch)
3204 (uri (string-append "mirror://gnome/sources/libIDL/"
3205 (version-major+minor version) "/"
3206 "libIDL-" version ".tar.bz2"))
3207 (sha256
3208 (base32
3209 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3210 (build-system gnu-build-system)
3211 (inputs `(("glib" ,glib)))
3212 (native-inputs
3213 `(("pkg-config" ,pkg-config)
3214 ("flex" ,flex)
3215 ("bison" ,bison)))
3216 (home-page "http://freecode.com/projects/libidl")
3217 (synopsis "Create trees of CORBA Interface Definition Language files")
3218 (description "Libidl is a library for creating trees of CORBA Interface
3219 Definition Language (idl) files, which is a specification for defining
3220 portable interfaces. libidl was initially written for orbit (the orb from the
3221 GNOME project, and the primary means of libidl distribution). However, the
3222 functionality was designed to be as reusable and portable as possible.")
3223 (properties `((upstream-name . "libIDL")))
3224 (license license:lgpl2.0+)))
3225
3226
3227 (define-public orbit2
3228 (package
3229 (name "orbit2")
3230 (version "2.14.19")
3231 (source (origin
3232 (method url-fetch)
3233 (uri (let ((upstream-name "ORBit2"))
3234 (string-append "mirror://gnome/sources/" upstream-name "/"
3235 (version-major+minor version) "/"
3236 upstream-name "-" version ".tar.bz2")))
3237 (sha256
3238 (base32
3239 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3240 (build-system gnu-build-system)
3241 (arguments
3242 `(;; The "timeout-server" test hangs when run in parallel.
3243 #:parallel-tests? #f
3244 #:configure-flags
3245 '(;; We don't need static libraries, plus they don't build reproducibly
3246 ;; (non-deterministic ordering of .o files in the archive.)
3247 "--disable-static"
3248
3249 ;; The programmer kindly gives us a hook to turn off deprecation
3250 ;; warnings ...
3251 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3252 ;; ... which they then completly ignore !!
3253 #:phases
3254 (modify-phases %standard-phases
3255 (add-before 'configure 'ignore-deprecations
3256 (lambda _
3257 (substitute* "linc2/src/Makefile.in"
3258 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3259 #t)))))
3260 (inputs `(("glib" ,glib)
3261 ("libidl" ,libidl)))
3262 (native-inputs
3263 `(("pkg-config" ,pkg-config)))
3264 (home-page "https://projects.gnome.org/orbit2/")
3265 (synopsis "CORBA 2.4-compliant Object Request Broker")
3266 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3267 featuring mature C, C++ and Python bindings.")
3268 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3269 ;; a version. SOME of the code files have licence notices for GPLv2+.
3270 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3271 (license license:gpl2+)
3272 (properties `((upstream-name . "ORBit2")))))
3273
3274
3275 (define-public libbonobo
3276 (package
3277 (name "libbonobo")
3278 (version "2.32.1")
3279 (source (origin
3280 (method url-fetch)
3281 (uri (string-append "mirror://gnome/sources/" name "/"
3282 (version-major+minor version)
3283 "/" name "-" version ".tar.bz2"))
3284 (sha256
3285 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3286 (patches (search-patches
3287 "libbonobo-activation-test-race.patch"))))
3288 (build-system gnu-build-system)
3289 (arguments
3290 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3291 `(#:configure-flags
3292 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3293 ;; ... which they then completly ignore !!
3294 #:phases
3295 (modify-phases %standard-phases
3296 (add-before 'configure 'ignore-deprecations
3297 (lambda _
3298 (substitute* "activation-server/Makefile.in"
3299 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3300 #t)))
3301
3302 ;; There's apparently a race condition between the server stub
3303 ;; generation and linking of the example under 'samples/echo' that can
3304 ;; lead do undefined references when building in parallel, as reported
3305 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3306 ;; Thus, disable parallel builds.
3307 #:parallel-build? #f))
3308 (inputs `(("popt" ,popt)
3309 ("libxml2" ,libxml2)))
3310 ;; The following are Required by the .pc file
3311 (propagated-inputs
3312 `(("glib" ,glib)
3313 ("orbit2" ,orbit2)))
3314 (native-inputs
3315 `(("intltool" ,intltool)
3316 ("pkg-config" ,pkg-config)
3317 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3318 ("flex" ,flex)
3319 ("bison" ,bison)))
3320 (home-page "https://developer.gnome.org/libbonobo/")
3321 (synopsis "Framework for creating reusable components for use in GNOME applications")
3322 (description "Bonobo is a framework for creating reusable components for
3323 use in GNOME applications, built on top of CORBA.")
3324 ;; Licence not explicitly stated. Source files contain no licence notices.
3325 ;; Tarball contains text of both GPLv2 and LGPLv2
3326 ;; GPLv2 covers both conditions
3327 (license license:gpl2+)))
3328
3329
3330 (define-public gconf
3331 (package
3332 (name "gconf")
3333 (version "3.2.6")
3334 (source (origin
3335 (method url-fetch)
3336 (uri
3337 (let ((upstream-name "GConf"))
3338 (string-append "mirror://gnome/sources/" upstream-name "/"
3339 (version-major+minor version) "/"
3340 upstream-name "-" version ".tar.xz")))
3341 (sha256
3342 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3343 (build-system gnu-build-system)
3344 (inputs `(("dbus-glib" ,dbus-glib)
3345 ("libxml2" ,libxml2)))
3346 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3347 ("orbit2" ,orbit2)))
3348 (native-inputs
3349 `(("intltool" ,intltool)
3350 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3351 ("pkg-config" ,pkg-config)))
3352 (home-page "https://projects.gnome.org/gconf/")
3353 (synopsis "Store application preferences")
3354 (description "Gconf is a system for storing application preferences. It
3355 is intended for user preferences; not arbitrary data storage.")
3356 (license license:lgpl2.0+)
3357 (properties '((upstream-name . "GConf")))))
3358
3359
3360 (define-public gnome-mime-data
3361 (package
3362 (name "gnome-mime-data")
3363 (version "2.18.0")
3364 (source (origin
3365 (method url-fetch)
3366 (uri (string-append "mirror://gnome/sources/" name "/"
3367 (version-major+minor version) "/"
3368 name "-" version ".tar.bz2"))
3369 (sha256
3370 (base32
3371 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3372 (build-system gnu-build-system)
3373 (native-inputs
3374 `(("perl" ,perl)
3375 ("intltool" ,intltool)))
3376 (arguments
3377 '(#:phases (modify-phases %standard-phases
3378 (add-after 'configure 'use-our-intltool
3379 (lambda _
3380 ;; Do not use the bundled intltool commands, which lack
3381 ;; the "dotless @INC" fixes of our 'intltool' package.
3382 (substitute* (find-files "." "^Makefile$")
3383 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3384 (string-append "INTLTOOL_" tool " = intltool-"
3385 (string-downcase tool) "\n")))
3386 #t)))))
3387 (home-page "https://www.gnome.org")
3388 (synopsis "Base MIME and Application database for GNOME")
3389 (description "GNOME Mime Data is a module which contains the base MIME
3390 and Application database for GNOME. The data stored by this module is
3391 designed to be accessed through the MIME functions in GnomeVFS.")
3392 (license license:gpl2+)))
3393
3394
3395 (define-public gnome-vfs
3396 (package
3397 (name "gnome-vfs")
3398 (version "2.24.4")
3399 (source (origin
3400 (method url-fetch)
3401 (uri (string-append "mirror://gnome/sources/" name "/"
3402 (version-major+minor version) "/"
3403 name "-" version ".tar.bz2"))
3404 (sha256
3405 (base32
3406 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3407 (build-system gnu-build-system)
3408 (arguments
3409 `(#:phases
3410 (modify-phases %standard-phases
3411 (add-before 'configure 'ignore-deprecations
3412 (lambda _
3413 (substitute* '("libgnomevfs/Makefile.in"
3414 "daemon/Makefile.in")
3415 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3416 #t))
3417 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3418 (lambda _
3419 (substitute* "test/test-async-cancel.c"
3420 (("EXIT_FAILURE") "77"))
3421 #t)))))
3422 (inputs `(("libxml2" ,libxml2)
3423 ("dbus-glib" ,dbus-glib)
3424 ("gconf" ,gconf)
3425 ("gnome-mime-data" ,gnome-mime-data)
3426 ("zlib" ,zlib)))
3427 (native-inputs
3428 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3429 ("intltool" ,intltool)
3430 ("pkg-config" ,pkg-config)))
3431 (home-page "https://developer.gnome.org/gnome-vfs/")
3432 (synopsis "Access files and folders in GNOME applications")
3433 (description
3434 "GnomeVFS is the core library used to access files and folders in GNOME
3435 applications. It provides a file system abstraction which allows applications
3436 to access local and remote files with a single consistent API.")
3437 (license license:lgpl2.0+)))
3438
3439
3440
3441 (define-public libgnome
3442 (package
3443 (name "libgnome")
3444 (version "2.32.1")
3445 (source (origin
3446 (method url-fetch)
3447 (uri (string-append "mirror://gnome/sources/" name "/"
3448 (version-major+minor version) "/"
3449 name "-" version ".tar.bz2"))
3450 (sha256
3451 (base32
3452 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3453 (patches (search-patches "libgnome-encoding.patch"))))
3454 (build-system gnu-build-system)
3455 (arguments
3456 `(#:phases
3457 (modify-phases %standard-phases
3458 (add-before 'configure 'enable-deprecated
3459 (lambda _
3460 (substitute* "libgnome/Makefile.in"
3461 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3462 #t)))))
3463 (inputs `(("libxml2" ,libxml2)))
3464 (native-inputs
3465 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3466 ("intltool" ,intltool)
3467 ("pkg-config" ,pkg-config)))
3468 ;; The following are listed as Required in the .pc file
3469 ;; (except for libcanberra -- which seems to be oversight on the part
3470 ;; of the upstream developers -- anything that links against libgnome,
3471 ;; must also link against libcanberra
3472 (propagated-inputs
3473 `(("libcanberra" ,libcanberra)
3474 ("libbonobo" ,libbonobo)
3475 ("gconf" ,gconf)
3476 ("gnome-vfs" ,gnome-vfs)
3477 ("popt" ,popt))) ;gnome-program.h includes popt.h
3478 (home-page "https://developer.gnome.org/libgnome/")
3479 (synopsis "Useful routines for building applications")
3480 (description "The libgnome library provides a number of useful routines
3481 for building modern applications, including session management, activation of
3482 files and URIs, and displaying help.")
3483 (license license:lgpl2.0+)))
3484
3485
3486 (define-public libart-lgpl
3487 (package
3488 (name "libart-lgpl")
3489 (version "2.3.21")
3490 (source (origin
3491 (method url-fetch)
3492 (uri (let ((upstream-name "libart_lgpl"))
3493 (string-append "mirror://gnome/sources/" upstream-name "/"
3494 (version-major+minor version) "/"
3495 upstream-name "-" version ".tar.bz2")))
3496 (sha256
3497 (base32
3498 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3499 (build-system gnu-build-system)
3500 (native-inputs
3501 `(("pkg-config" ,pkg-config)))
3502 (home-page "https://people.gnome.org/~mathieu/libart")
3503 (synopsis "2D drawing library")
3504 (description "Libart is a 2D drawing library intended as a
3505 high-quality vector-based 2D library with antialiasing and alpha composition.")
3506 (license license:lgpl2.0+)))
3507
3508
3509
3510 (define-public libgnomecanvas
3511 (package
3512 (name "libgnomecanvas")
3513 (version "2.30.3")
3514 (source (origin
3515 (method url-fetch)
3516 (uri (string-append "mirror://gnome/sources/" name "/"
3517 (version-major+minor version) "/"
3518 name "-" version ".tar.gz"))
3519 (sha256
3520 (base32
3521 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3522 (build-system gnu-build-system)
3523 ;; Mentioned as Required in the .pc file
3524 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3525 ("gtk+" ,gtk+-2)))
3526 (native-inputs
3527 `(("intltool" ,intltool)
3528 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3529 ("pkg-config" ,pkg-config)))
3530 (home-page "https://developer.gnome.org/libgnomecanvas/")
3531 (synopsis "Flexible widget for creating interactive structured graphics")
3532 (description "The GnomeCanvas widget provides a flexible widget for
3533 creating interactive structured graphics.")
3534 (license license:lgpl2.0+)))
3535
3536 (define-public libgnomecanvasmm
3537 (package
3538 (name "libgnomecanvasmm")
3539 (version "2.26.0")
3540 (source (origin
3541 (method url-fetch)
3542 (uri (string-append "mirror://gnome/sources/" name "/"
3543 (version-major+minor version) "/"
3544 name "-" version ".tar.bz2"))
3545 (sha256
3546 (base32
3547 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3548 (build-system gnu-build-system)
3549 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3550 (native-inputs
3551 `(("gtkmm-2" ,gtkmm-2)
3552 ("pkg-config" ,pkg-config)))
3553 (home-page "https://gtkmm.org")
3554 (synopsis "C++ bindings to the GNOME Canvas library")
3555 (description "C++ bindings to the GNOME Canvas library.")
3556 (license license:lgpl2.0+)))
3557
3558 (define-public libgnomeui
3559 (package
3560 (name "libgnomeui")
3561 (version "2.24.5")
3562 (source (origin
3563 (method url-fetch)
3564 (uri (string-append "mirror://gnome/sources/" name "/"
3565 (version-major+minor version) "/"
3566 name "-" version ".tar.bz2"))
3567 (patches (search-patches "libgnomeui-utf8.patch"))
3568 (sha256
3569 (base32
3570 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3571 (build-system gnu-build-system)
3572 ;; Mentioned as Required in the .pc file
3573 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3574 ("libgnome" ,libgnome)
3575 ("libgnomecanvas" ,libgnomecanvas)
3576 ("libgnome-keyring" ,libgnome-keyring)))
3577 (inputs `(("libjpeg" ,libjpeg-turbo)
3578 ("popt" ,popt)
3579 ("libbonobo" ,libbonobo)
3580 ("libxml2" ,libxml2)
3581 ("libglade" ,libglade)))
3582 (native-inputs
3583 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3584 ("intltool" ,intltool)
3585 ("pkg-config" ,pkg-config)))
3586 (home-page "https://developer.gnome.org/libgnomeui/")
3587 (synopsis "Additional widgets for applications")
3588 (description "The libgnomeui library provides additional widgets for
3589 applications. Many of the widgets from libgnomeui have already been
3590 ported to GTK+.")
3591 (license license:lgpl2.0+)))
3592
3593 (define-public libglade
3594 (package
3595 (name "libglade")
3596 (version "2.6.4")
3597 (source (origin
3598 (method url-fetch)
3599 (uri (string-append "mirror://gnome/sources/" name "/"
3600 (version-major+minor version) "/"
3601 name "-" version ".tar.bz2"))
3602 (sha256
3603 (base32
3604 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3605 (build-system gnu-build-system)
3606 (inputs
3607 `(("python" ,python))) ;; needed for the optional libglade-convert program
3608 (propagated-inputs
3609 `(("gtk+-2" ,gtk+-2)
3610 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3611 (native-inputs
3612 `(("pkg-config" ,pkg-config)))
3613 (home-page "https://developer.gnome.org/libglade")
3614 (synopsis "Load glade interfaces and access the glade built widgets")
3615 (description "Libglade is a library that provides interfaces for loading
3616 graphical interfaces described in glade files and for accessing the
3617 widgets built in the loading process.")
3618 (license license:gpl2+))) ; This is correct. GPL not LGPL
3619
3620 (define-public libgnomeprint
3621 ;; This library has been deprecated since 2006; see
3622 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3623 (package
3624 (name "libgnomeprint")
3625 (version "2.18.8")
3626 (source (origin
3627 (method url-fetch)
3628 (uri (string-append "mirror://gnome/sources/" name "/"
3629 (version-major+minor version) "/"
3630 name "-" version ".tar.bz2"))
3631 (sha256
3632 (base32
3633 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3634 (build-system gnu-build-system)
3635 (inputs
3636 `(("popt" ,popt)
3637 ("libart-lgpl" ,libart-lgpl)
3638 ("gtk+" ,gtk+-2)
3639 ("libxml2" ,libxml2)))
3640 (native-inputs
3641 `(("intltool" ,intltool)
3642 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3643 ("pkg-config" ,pkg-config)))
3644 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3645 (synopsis "Printing framework for GNOME")
3646 (description
3647 "GNOME-print was a printing framework for GNOME. It has been deprecated
3648 since ca. 2006, when GTK+ itself incorporated printing support.")
3649 (license license:lgpl2.0+)))
3650
3651
3652 (define-public libgnomeprintui
3653 ;; Deprecated; see libgnomeprint.
3654 (package
3655 (name "libgnomeprintui")
3656 (version "2.18.6")
3657 (source (origin
3658 (method url-fetch)
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.bz2"))
3662 (sha256
3663 (base32
3664 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3665 (build-system gnu-build-system)
3666 ;; Mentioned as Required in the .pc file
3667 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3668 (inputs `(("gtk+" ,gtk+-2)
3669 ("glib" ,glib)
3670 ("gnome-icon-theme" ,gnome-icon-theme)
3671 ("libgnomecanvas" ,libgnomecanvas)
3672 ("libxml2" ,libxml2)))
3673 (native-inputs
3674 `(("intltool" ,intltool)
3675 ("pkg-config" ,pkg-config)))
3676 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3677 (synopsis "Printing framework for GNOME")
3678 (description (package-description libgnomeprint))
3679 (license license:lgpl2.0+)))
3680
3681 (define-public libbonoboui
3682 (package
3683 (name "libbonoboui")
3684 (version "2.24.5")
3685 (source (origin
3686 (method url-fetch)
3687 (uri (string-append "mirror://gnome/sources/" name "/"
3688 (version-major+minor version) "/"
3689 name "-" version ".tar.bz2"))
3690 (sha256
3691 (base32
3692 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3693 (build-system gnu-build-system)
3694 (arguments
3695 `(#:phases
3696 (modify-phases %standard-phases
3697 (add-before 'check 'start-xserver
3698 (lambda* (#:key inputs #:allow-other-keys)
3699 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3700 (disp ":1"))
3701
3702 (setenv "HOME" (getcwd))
3703 (setenv "DISPLAY" disp)
3704 ;; There must be a running X server and make check doesn't start one.
3705 ;; Therefore we must do it.
3706 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3707 ;; Mentioned as Required by the .pc file
3708 (propagated-inputs `(("libxml2" ,libxml2)))
3709 (inputs
3710 `(("popt" ,popt)
3711 ("pangox-compat" ,pangox-compat)
3712 ("libgnome" ,libgnome)
3713 ("libgnomecanvas" ,libgnomecanvas)
3714 ("libglade" ,libglade)))
3715 (native-inputs
3716 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3717 ("intltool" ,intltool)
3718 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3719 ("pkg-config" ,pkg-config)))
3720 (home-page "https://developer.gnome.org/libbonoboui/")
3721 (synopsis "Some user interface controls using Bonobo")
3722 (description "The Bonobo UI library provides a number of user interface
3723 controls using the Bonobo component framework.")
3724 (license license:lgpl2.0+)))
3725
3726 (define-public libwnck
3727 (package
3728 (name "libwnck")
3729 (version "3.32.0")
3730 (source (origin
3731 (method url-fetch)
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3735 (sha256
3736 (base32
3737 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3738 (build-system meson-build-system)
3739 (native-inputs
3740 `(("pkg-config" ,pkg-config)
3741 ("glib" ,glib "bin") ; for glib-mkenums
3742 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3743 ("intltool" ,intltool)))
3744 (propagated-inputs
3745 `(("gtk+" ,gtk+)
3746 ("libxres" ,libxres)
3747 ("startup-notification" ,startup-notification)))
3748 (home-page "https://developer.gnome.org/libwnck/")
3749 (synopsis "Window Navigator Construction Kit")
3750 (description
3751 "Libwnck is the Window Navigator Construction Kit, a library for use in
3752 writing pagers, tasklists, and more generally applications that are dealing
3753 with window management. It tries hard to respect the Extended Window Manager
3754 Hints specification (EWMH).")
3755 (license license:lgpl2.0+)))
3756
3757 ;; stable version for gtk2, required by xfwm4.
3758 (define-public libwnck-2
3759 (package (inherit libwnck)
3760 (name "libwnck")
3761 (version "2.30.7")
3762 (source (origin
3763 (method url-fetch)
3764 (uri (string-append "mirror://gnome/sources/" name "/"
3765 (version-major+minor version) "/"
3766 name "-" version ".tar.xz"))
3767 (sha256
3768 (base32
3769 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3770 (build-system gnu-build-system)
3771 (native-inputs
3772 `(("pkg-config" ,pkg-config)
3773 ("intltool" ,intltool)))
3774 (propagated-inputs
3775 `(("gtk+" ,gtk+-2)
3776 ("libxres" ,libxres)
3777 ("startup-notification" ,startup-notification)))))
3778
3779 (define-public goffice
3780 (package
3781 (name "goffice")
3782 (version "0.10.47")
3783 (source (origin
3784 (method url-fetch)
3785 (uri (string-append "mirror://gnome/sources/goffice/"
3786 (version-major+minor version) "/"
3787 "goffice-" version ".tar.xz"))
3788 (sha256
3789 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3790 (build-system gnu-build-system)
3791 (outputs '("out"
3792 "doc")) ; 4.0 MiB of gtk-doc
3793 (arguments
3794 '(#:configure-flags (list (string-append "--with-html-dir="
3795 (assoc-ref %outputs "doc")
3796 "/share/gtk-doc/html"))))
3797 (inputs
3798 `(("gtk+" ,gtk+)
3799 ("libgsf" ,libgsf)
3800 ("librsvg" ,librsvg)
3801 ("libxslt" ,libxslt)
3802 ("libxml2" ,libxml2)))
3803 (native-inputs
3804 `(("intltool" ,intltool)
3805 ("glib" ,glib "bin")
3806 ("pkg-config" ,pkg-config)))
3807 (home-page "https://developer.gnome.org/goffice/")
3808 (synopsis "Document-centric objects and utilities")
3809 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3810 (license
3811 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3812 ;; Note: NOT LGPL
3813 (list license:gpl2 license:gpl3))))
3814
3815 (define-public goffice-0.8
3816 (package (inherit goffice)
3817 (version "0.8.17")
3818 (source (origin
3819 (method url-fetch)
3820 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3821 (version-major+minor version) "/"
3822 (package-name goffice) "-" version ".tar.xz"))
3823 (sha256
3824 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3825 (arguments
3826 `(#:phases
3827 (modify-phases %standard-phases
3828 (add-after 'unpack 'fix-pcre-check
3829 (lambda _
3830 ;; Only glib.h can be included directly. See
3831 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3832 (substitute* "configure"
3833 (("glib/gregex\\.h") "glib.h")) #t)))
3834
3835 ,@(package-arguments goffice)))
3836 (propagated-inputs
3837 ;; libgoffice-0.8.pc mentions libgsf-1
3838 `(("libgsf" ,libgsf)))
3839 (inputs
3840 `(("gtk" ,gtk+-2)
3841 ,@(alist-delete "gtk" (package-inputs goffice))))))
3842
3843 (define-public gnumeric
3844 (package
3845 (name "gnumeric")
3846 (version "1.12.46")
3847 (source (origin
3848 (method url-fetch)
3849 (uri (string-append "mirror://gnome/sources/gnumeric/"
3850 (version-major+minor version) "/"
3851 "gnumeric-" version ".tar.xz"))
3852 (sha256
3853 (base32
3854 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3855 (build-system glib-or-gtk-build-system)
3856 (arguments
3857 `(;; The gnumeric developers don't worry much about failing tests.
3858 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3859 #:tests? #f
3860 #:phases
3861 (modify-phases %standard-phases
3862 (add-before
3863 'configure 'pre-conf
3864 (lambda* (#:key outputs #:allow-other-keys)
3865 ;; Make install tries to write into the directory of goffice
3866 ;; I am informed that this only affects the possibility to embed a
3867 ;; spreadsheet inside an Abiword document. So presumably when we
3868 ;; package Abiword we'll have to refer it to this directory.
3869 (substitute* "configure"
3870 (("^GOFFICE_PLUGINS_DIR=.*")
3871 (string-append "GOFFICE_PLUGINS_DIR="
3872 (assoc-ref outputs "out")
3873 "/goffice/plugins"))))))))
3874 (inputs
3875 `(("glib" ,glib)
3876 ("gtk+" ,gtk+)
3877 ("goffice" ,goffice)
3878 ("libgsf" ,libgsf)
3879 ("librsvg" ,librsvg)
3880 ("libxml2" ,libxml2)
3881 ("libxslt" ,libxslt)
3882 ("python" ,python-2)
3883 ("python2-pygobject" ,python2-pygobject)
3884 ("zlib" ,zlib)))
3885 (native-inputs
3886 `(("bison" ,bison)
3887 ("docbook-xml" ,docbook-xml)
3888 ("intltool" ,intltool)
3889 ("itstool" ,itstool)
3890 ("glib:bin" ,glib "bin")
3891 ("pkg-config" ,pkg-config)))
3892 (home-page "http://www.gnumeric.org")
3893 (synopsis "Spreadsheet application")
3894 (description
3895 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3896 interoperable with other spreadsheet applications. It has a vast array of
3897 features beyond typical spreadsheet functionality, such as support for linear
3898 and non-linear solvers, statistical analysis, and telecommunication
3899 engineering.")
3900 (license
3901 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3902 (list license:gpl2 license:gpl3))))
3903
3904 (define-public gnome-themes-standard
3905 (package
3906 (name "gnome-themes-standard")
3907 (version "3.22.3")
3908 (source
3909 (origin
3910 (method url-fetch)
3911 (uri (string-append "mirror://gnome/sources/" name "/"
3912 (version-major+minor version) "/" name "-"
3913 version ".tar.xz"))
3914 (sha256
3915 (base32
3916 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3917 (build-system gnu-build-system)
3918 (arguments
3919 '(#:configure-flags
3920 ;; Don't create 'icon-theme.cache'.
3921 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3922 (true (string-append coreutils "/bin/true")))
3923 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3924 (inputs
3925 `(("gtk+" ,gtk+)
3926 ("gtk+-2" ,gtk+-2)
3927 ("librsvg" ,librsvg)
3928 ("libxml2" ,libxml2)
3929 ("glib" ,glib)))
3930 (native-inputs
3931 `(("intltool" ,intltool)
3932 ("glib:bin" ,glib "bin")
3933 ("pkg-config" ,pkg-config)))
3934 (home-page "https://launchpad.net/gnome-themes-standard")
3935 (synopsis "Default GNOME 3 themes")
3936 (description
3937 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3938 (license license:lgpl2.1+)))
3939
3940 (define-public seahorse
3941 (package
3942 (name "seahorse")
3943 (version "3.34")
3944 (source
3945 (origin
3946 (method url-fetch)
3947 (uri (string-append "mirror://gnome/sources/" name "/"
3948 (version-major+minor version) "/" name "-"
3949 version ".tar.xz"))
3950 (sha256
3951 (base32
3952 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3953 (build-system meson-build-system)
3954 (arguments
3955 '(#:glib-or-gtk? #t
3956 #:phases
3957 (modify-phases %standard-phases
3958 (add-after 'unpack 'skip-gtk-update-icon-cache
3959 ;; Don't create 'icon-theme.cache'.
3960 (lambda _
3961 (substitute* "build-aux/meson_post_install.py"
3962 (("gtk-update-icon-cache") "true"))
3963 #t)))))
3964 (inputs
3965 `(("gtk+" ,gtk+)
3966 ("gcr" ,gcr)
3967 ("gnupg" ,gnupg)
3968 ("gpgme" ,gpgme)
3969 ("openldap" ,openldap)
3970 ("openssh" ,openssh)
3971 ("avahi" ,avahi)
3972 ("libpwquality" ,libpwquality)
3973 ("libsecret" ,libsecret)
3974 ("libsoup" ,libsoup)))
3975 (native-inputs
3976 `(("gettext" ,gettext-minimal)
3977 ("glib:bin" ,glib "bin")
3978 ("itstool" ,itstool)
3979 ("pkg-config" ,pkg-config)
3980 ("vala" ,vala)
3981 ("xmllint" ,libxml2)))
3982 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3983 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3984 (description
3985 "Seahorse is a GNOME application for managing encryption keys and
3986 passwords in the GNOME keyring.")
3987 (license license:gpl2+)))
3988
3989 (define-public vala
3990 (package
3991 (name "vala")
3992 (version "0.46.5")
3993 (source (origin
3994 (method url-fetch)
3995 (uri (string-append "mirror://gnome/sources/" name "/"
3996 (version-major+minor version) "/"
3997 name "-" version ".tar.xz"))
3998 (sha256
3999 (base32
4000 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4001 (build-system gnu-build-system)
4002 (arguments
4003 '(#:phases
4004 (modify-phases %standard-phases
4005 (add-before 'check 'pre-check
4006 (lambda _
4007 (setenv "CC" "gcc")
4008 (substitute* "valadoc/tests/testrunner.sh"
4009 (("export PKG_CONFIG_PATH=" m)
4010 (string-append m "$PKG_CONFIG_PATH:")))
4011 ;; For missing '/etc/machine-id'.
4012 (setenv "DBUS_FATAL_WARNINGS" "0")
4013 #t)))))
4014 (native-inputs
4015 `(("pkg-config" ,pkg-config)
4016 ("flex" ,flex)
4017 ("bison" ,bison)
4018 ("xsltproc" ,libxslt)
4019 ("dbus" ,dbus) ; for dbus tests
4020 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4021 (inputs
4022 `(("graphviz" ,graphviz)))
4023 (propagated-inputs
4024 `(("glib" ,glib))) ; required by libvala-0.40.pc
4025 (home-page "https://live.gnome.org/Vala/")
4026 (synopsis "Compiler for the GObject type system")
4027 (description
4028 "Vala is a programming language that aims to bring modern programming
4029 language features to GNOME developers without imposing any additional runtime
4030 requirements and without using a different ABI compared to applications and
4031 libraries written in C.")
4032 (license license:lgpl2.1+)))
4033
4034 (define-public vala-0.48
4035 (package
4036 (inherit vala)
4037 (version "0.48.7")
4038 (source (origin
4039 (method url-fetch)
4040 (uri (string-append "mirror://gnome/sources/vala/"
4041 (version-major+minor version) "/"
4042 "vala-" version ".tar.xz"))
4043 (sha256
4044 (base32
4045 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
4046
4047 (define-public vte
4048 (package
4049 (name "vte")
4050 (version "0.60.3")
4051 (source (origin
4052 (method url-fetch)
4053 (uri (string-append "mirror://gnome/sources/vte/"
4054 (version-major+minor version) "/"
4055 "vte-" version ".tar.xz"))
4056 (sha256
4057 (base32
4058 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4059 (build-system meson-build-system)
4060 (arguments
4061 `(#:configure-flags
4062 '("-Dvapi=true"
4063 "-D_systemd=false")))
4064 (native-inputs
4065 `(("pkg-config" ,pkg-config)
4066 ("gettext" ,gettext-minimal)
4067 ("vala" ,vala)
4068 ("gobject-introspection" ,gobject-introspection)
4069 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4070 ("gperf" ,gperf)
4071 ("xmllint" ,libxml2)))
4072 (propagated-inputs
4073 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4074 ("gnutls" ,gnutls) ; ditto
4075 ("pcre2" ,pcre2))) ; ditto
4076 (home-page "https://www.gnome.org/")
4077 (synopsis "Virtual Terminal Emulator")
4078 (description
4079 "VTE is a library (libvte) implementing a terminal emulator widget for
4080 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4081 gnome-terminal, but can also be used to embed a console/terminal in games,
4082 editors, IDEs, etc.")
4083 (license license:lgpl2.1+)))
4084
4085 (define-public vte-ng
4086 (package
4087 (inherit vte)
4088 (name "vte-ng")
4089 (version "0.58.2.a")
4090 (home-page "https://github.com/thestinger/vte-ng")
4091 (source (origin
4092 (method git-fetch)
4093 (uri (git-reference (url home-page) (commit version)))
4094 (file-name (git-file-name name version))
4095 (sha256
4096 (base32
4097 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4098 (build-system meson-build-system)
4099 (native-inputs
4100 `(("gtk-doc" ,gtk-doc)
4101 ,@(package-native-inputs vte)))
4102 (arguments
4103 `(#:configure-flags '("-Ddocs=true")))
4104 (synopsis "Enhanced VTE terminal widget")
4105 (description
4106 "VTE is a library (libvte) implementing a terminal emulator widget for
4107 GTK+, this fork provides additional functions exposed for keyboard text
4108 selection and URL hints.")))
4109
4110 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4111 (define-public vte/gtk+-2
4112 (package (inherit vte)
4113 (name "vte")
4114 (version "0.28.2")
4115 (source (origin
4116 (method url-fetch)
4117 (uri (string-append "mirror://gnome/sources/" name "/"
4118 (version-major+minor version) "/"
4119 name "-" version ".tar.xz"))
4120 (sha256
4121 (base32
4122 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4123 (patches (search-patches
4124 "vte-CVE-2012-2738-pt1.patch"
4125 "vte-CVE-2012-2738-pt2.patch"))))
4126 (build-system gnu-build-system)
4127 (arguments
4128 '(#:configure-flags '("--disable-python")))
4129 (native-inputs
4130 `(("pkg-config" ,pkg-config)
4131 ("intltool" ,intltool)
4132 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4133 (propagated-inputs
4134 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4135 ("ncurses" ,ncurses))))) ; required by libvte.la
4136
4137 (define-public vinagre
4138 (package
4139 (name "vinagre")
4140 (version "3.22.0")
4141 (source (origin
4142 (method url-fetch)
4143 (uri (string-append "mirror://gnome/sources/" name "/"
4144 (version-major+minor version) "/"
4145 name "-" version ".tar.xz"))
4146 (patches (search-patches "vinagre-newer-freerdp.patch"
4147 "vinagre-newer-rdp-parameters.patch"))
4148 (sha256
4149 (base32
4150 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4151 (build-system glib-or-gtk-build-system)
4152 (arguments
4153 ;; Disable -Werror and such, to avoid build failures on compilation
4154 ;; warnings.
4155 '(#:configure-flags '("--enable-compile-warnings=minimum")
4156 #:phases
4157 (modify-phases %standard-phases
4158 (add-before 'install 'skip-gtk-update-icon-cache
4159 (lambda _
4160 ;; Don't create 'icon-theme.cache'
4161 (substitute* (find-files "." "^Makefile$")
4162 (("gtk-update-icon-cache") (which "true")))
4163 #t))
4164 (add-after 'unpack 'patch-configure
4165 (lambda _
4166 (substitute* "configure"
4167 (("freerdp") "freerdp2"))
4168 #t)))))
4169 (native-inputs
4170 `(("pkg-config" ,pkg-config)
4171 ("intltool" ,intltool)
4172 ("itstool" ,itstool)
4173 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4174 (inputs
4175 `(("libxml2" ,libxml2)
4176 ("gtk-vnc" ,gtk-vnc)
4177 ("gnome-keyring" ,gnome-keyring)
4178 ("libsecret" ,libsecret)
4179 ("freerdp" ,freerdp)
4180 ("spice" ,spice)
4181 ("spice-gtk" ,spice-gtk)
4182 ("telepathy-glib" ,telepathy-glib)
4183 ("vte" ,vte)))
4184 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4185 (synopsis "Remote desktop viewer for GNOME")
4186 (description "Vinagre is a remote display client supporting the VNC, SPICE
4187 and RDP protocols.")
4188 (license license:gpl3+)))
4189
4190 (define-public dconf
4191 (package
4192 (name "dconf")
4193 (version "0.34.0")
4194 (source (origin
4195 (method url-fetch)
4196 (uri (string-append
4197 "mirror://gnome/sources/" name "/"
4198 (version-major+minor version) "/"
4199 name "-" version ".tar.xz"))
4200 (patches (search-patches "dconf-meson-0.52.patch"))
4201 (sha256
4202 (base32
4203 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
4204 (build-system meson-build-system)
4205 (propagated-inputs
4206 ;; In Requires of dconf.pc.
4207 `(("glib" ,glib)))
4208 (inputs
4209 `(("gtk+" ,gtk+)
4210 ("dbus" ,dbus)))
4211 (native-inputs
4212 `(("bash-completion" ,bash-completion)
4213 ("libxslt" ,libxslt) ;for xsltproc
4214 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4215 ("docbook-xml" ,docbook-xml-4.2)
4216 ("docbook-xsl" ,docbook-xsl)
4217 ("glib:bin" ,glib "bin")
4218 ("gtk-doc" ,gtk-doc)
4219 ("pkg-config" ,pkg-config)
4220 ("vala" ,vala)))
4221 (arguments
4222 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
4223 ; or /etc/machine-id.
4224 #:glib-or-gtk? #t
4225 #:configure-flags '("-Denable-gtk-doc=true")))
4226 (home-page "https://developer.gnome.org/dconf/")
4227 (synopsis "Low-level GNOME configuration system")
4228 (description "Dconf is a low-level configuration system. Its main purpose
4229 is to provide a backend to GSettings on platforms that don't already have
4230 configuration storage systems.")
4231 (license license:lgpl2.1+)))
4232
4233 (define-public json-glib
4234 (package
4235 (name "json-glib")
4236 (version "1.4.4")
4237 (source (origin
4238 (method url-fetch)
4239 (uri (string-append "mirror://gnome/sources/" name "/"
4240 (version-major+minor version) "/"
4241 name "-" version ".tar.xz"))
4242 (sha256
4243 (base32
4244 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4245 (build-system meson-build-system)
4246 (native-inputs
4247 `(("gettext" ,gettext-minimal)
4248 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4249 ("gobject-introspection" ,gobject-introspection)
4250 ("pkg-config" ,pkg-config)))
4251 (propagated-inputs
4252 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4253 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4254 (synopsis "Compiler for the GObject type system")
4255 (description
4256 "JSON-GLib is a C library based on GLib providing serialization and
4257 deserialization support for the JavaScript Object Notation (JSON) format
4258 described by RFC 4627. It provides parser and generator GObject classes and
4259 various wrappers for the complex data types employed by JSON, such as arrays
4260 and objects.")
4261 (license license:lgpl2.1+)))
4262
4263 (define-public libxklavier
4264 (package
4265 (name "libxklavier")
4266 (version "5.4")
4267 (source (origin
4268 ;; Note: There's no tarball at ftp.gnome.org for this version.
4269 (method git-fetch)
4270 (uri (git-reference
4271 (url "https://anongit.freedesktop.org/git/libxklavier")
4272 (commit (string-append "libxklavier-" version))))
4273 (sha256
4274 (base32
4275 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4276 (file-name (git-file-name name version))))
4277 (build-system gnu-build-system)
4278 (arguments
4279 '(#:configure-flags
4280 (list (string-append "--with-xkb-base="
4281 (assoc-ref %build-inputs "xkeyboard-config")
4282 "/share/X11/xkb")
4283 "--disable-xmodmap-support")))
4284 (native-inputs
4285 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4286 ("gobject-introspection" ,gobject-introspection)
4287 ("pkg-config" ,pkg-config)
4288 ("gtk-doc" ,gtk-doc)
4289 ("intltool" ,intltool)
4290 ("which" ,which)
4291 ("autoconf" ,autoconf)
4292 ("automake" ,automake)
4293 ("libtool" ,libtool)))
4294 (propagated-inputs
4295 ;; Required by libxklavier.pc.
4296 `(("glib" ,glib)
4297 ("libxml2" ,libxml2)))
4298 (inputs
4299 `(("iso-codes" ,iso-codes)
4300 ("libxi" ,libxi)
4301 ("libxkbfile" ,libxkbfile)
4302 ("xkbcomp" ,xkbcomp)
4303 ("xkeyboard-config" ,xkeyboard-config)))
4304 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4305 (synopsis "High-level API for X Keyboard Extension")
4306 (description
4307 "LibXklavier is a library providing high-level API for X Keyboard
4308 Extension known as XKB. This library is intended to support XFree86 and other
4309 commercial X servers. It is useful for creating XKB-related software (layout
4310 indicators etc).")
4311 (license license:lgpl2.0+)))
4312
4313 (define-public python2-rsvg
4314 ;; XXX: This is actually a subset of gnome-python-desktop.
4315 (package
4316 (name "python2-rsvg")
4317 (version "2.32.0")
4318 (source
4319 (origin
4320 (method url-fetch)
4321 (uri (string-append
4322 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4323 version ".tar.bz2"))
4324 (sha256
4325 (base32
4326 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4327 (build-system gnu-build-system)
4328 (native-inputs
4329 `(("pkg-config" ,pkg-config)))
4330 (inputs
4331 `(("python" ,python-2)
4332 ("python2-pygtk" ,python2-pygtk)
4333 ("librsvg" ,librsvg)))
4334 (home-page "https://www.gnome.org")
4335 (synopsis "Python bindings to librsvg")
4336 (description
4337 "This package provides Python bindings to librsvg, the SVG rendering
4338 library.")
4339
4340 ;; This is the license of the rsvg bindings. The license of each module
4341 ;; of gnome-python-desktop is given in 'COPYING'.
4342 (license license:lgpl2.1+)))
4343
4344 (define-public glib-networking
4345 (package
4346 (name "glib-networking")
4347 (version "2.62.2")
4348 (source (origin
4349 (method url-fetch)
4350 (uri (string-append "mirror://gnome/sources/glib-networking/"
4351 (version-major+minor version) "/"
4352 "glib-networking-" version ".tar.xz"))
4353 (sha256
4354 (base32
4355 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4356 (build-system meson-build-system)
4357 (arguments
4358 `(#:configure-flags '("-Dlibproxy_support=false")))
4359 (native-inputs
4360 `(("pkg-config" ,pkg-config)
4361 ("intltool" ,intltool)))
4362 (inputs
4363 `(("glib" ,glib)
4364 ("gnutls" ,gnutls)
4365 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4366 (home-page "https://www.gnome.org")
4367 (synopsis "Network-related GIO modules")
4368 (description
4369 "This package contains various network related extensions for the GIO
4370 library.")
4371 (license license:lgpl2.0+)))
4372
4373 (define-public rest
4374 (package
4375 (name "rest")
4376 (version "0.8.1")
4377 (source (origin
4378 (method url-fetch)
4379 (uri (string-append "mirror://gnome/sources/rest/"
4380 (version-major+minor version) "/"
4381 name "-" version ".tar.xz"))
4382 (sha256
4383 (base32
4384 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4385 (build-system gnu-build-system)
4386 (arguments
4387 '(#:tests? #f ; tests require internet connection
4388 #:configure-flags
4389 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4390 (native-inputs
4391 `(("glib-mkenums" ,glib "bin")
4392 ("gobject-introspection" ,gobject-introspection)
4393 ("pkg-config" ,pkg-config)))
4394 (propagated-inputs
4395 ;; rest-0.7.pc refers to all these.
4396 `(("glib" ,glib)
4397 ("libsoup" ,libsoup)
4398 ("libxml2" ,libxml2)))
4399 (home-page "https://www.gtk.org/")
4400 (synopsis "RESTful web api query library")
4401 (description
4402 "This library was designed to make it easier to access web services that
4403 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4404 libxml to ease remote use of the RESTful API.")
4405 (license license:lgpl2.1+)))
4406
4407 (define-public libsoup
4408 (package
4409 (name "libsoup")
4410 (version "2.70.0")
4411 (source (origin
4412 (method url-fetch)
4413 (uri (string-append "mirror://gnome/sources/libsoup/"
4414 (version-major+minor version) "/"
4415 "libsoup-" version ".tar.xz"))
4416 (sha256
4417 (base32
4418 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
4419 (build-system meson-build-system)
4420 (outputs '("out" "doc"))
4421 (arguments
4422 `(#:modules ((guix build utils)
4423 (guix build meson-build-system)
4424 (ice-9 popen))
4425
4426 #:configure-flags '("-Dgtk_doc=true")
4427 #:phases
4428 (modify-phases %standard-phases
4429 (add-after 'unpack 'adjust-tests
4430 (lambda _
4431 ;; This test fails due to missing /etc/nsswitch.conf
4432 ;; in the build environment.
4433 (substitute* "tests/socket-test.c"
4434 ((".*/sockets/unconnected.*") ""))
4435
4436 ;; These fail because "subdomain.localhost" does not resolve in
4437 ;; the build environment.
4438 (substitute* "tests/hsts-test.c"
4439 ((".*/hsts/basic.*") "")
4440 ((".*/hsts/subdomains.*") "")
4441 ((".*/hsts/superdomain.*") "")
4442 ((".*/hsts/utf8-address.*") ""))
4443 (substitute* "tests/hsts-db-test.c"
4444 ((".*/hsts-db/subdomains.*") ""))
4445
4446 ;; Generate a self-signed certificate that has "localhost" as its
4447 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4448 ;; 3.5.12, tests such as "ssl-tests" fail:
4449 ;;
4450 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4451 ;;
4452 ;; 'certtool' is interactive so we have to pipe it the answers.
4453 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4454 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4455 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4456 (for-each (lambda (line)
4457 (display line pipe)
4458 (newline pipe))
4459 '("" ;Common name
4460 "" ;UID
4461 "Guix" ;Organizational unit name
4462 "GNU" ;Organization name
4463 "" ;Locality name
4464 "" ;State or province
4465 "" ;Country
4466 "" ;subject's domain component (DC)
4467 "" ;E-mail
4468 "" ;serial number
4469 "-1" ;expiration time
4470 "N" ;belong to authority?
4471 "N" ;web client certificate?
4472 "N" ;IPsec IKE?
4473 "Y" ;web server certificate?
4474 "localhost" ;dnsName of subject
4475 "" ;dnsName of subject (end)
4476 "" ;URI of subject
4477 "127.0.0.1" ;IP address of subject
4478 "" ;signing?
4479 "" ;encryption (RSA)?
4480 "" ;data encryption?
4481 "" ;sign OCSP requests?
4482 "" ;sign code?
4483 "" ;time stamping?
4484 "" ;email protection?
4485 "" ;URI of the CRL distribution point
4486 "y" ;above info OK?
4487 ))
4488 (close-pipe pipe))
4489 #t))
4490 (add-after 'install 'move-doc
4491 (lambda* (#:key outputs #:allow-other-keys)
4492 (let ((out (assoc-ref outputs "out"))
4493 (doc (assoc-ref outputs "doc")))
4494 (mkdir-p (string-append doc "/share"))
4495 (copy-recursively (string-append out "/share/gtk-doc")
4496 (string-append doc "/share/gtk-doc"))
4497 (delete-file-recursively (string-append out "/share/gtk-doc"))
4498 #t))))))
4499 (native-inputs
4500 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4501 ("gobject-introspection" ,gobject-introspection)
4502 ("gtk-doc" ,gtk-doc)
4503 ("intltool" ,intltool)
4504 ("pkg-config" ,pkg-config)
4505 ("python" ,python-wrapper)
4506 ("vala" ,vala)
4507 ("php" ,php)
4508 ("curl" ,curl)
4509 ("gnutls" ,gnutls) ;for 'certtool'
4510 ("httpd" ,httpd)))
4511 (propagated-inputs
4512 ;; libsoup-2.4.pc refers to all these.
4513 `(("brotli" ,google-brotli)
4514 ("glib" ,glib)
4515 ("libpsl" ,libpsl)
4516 ("libxml2" ,libxml2)
4517 ("sqlite" ,sqlite)
4518 ("zlib" ,zlib)))
4519 (inputs
4520 `(("glib-networking" ,glib-networking)
4521 ("mit-krb5" ,mit-krb5)))
4522 (home-page "https://live.gnome.org/LibSoup/")
4523 (synopsis "GLib-based HTTP Library")
4524 (description
4525 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4526 and the GLib main loop, to integrate well with GNOME applications.")
4527 (license license:lgpl2.0+)))
4528
4529
4530 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4531 (define-public libsoup-minimal
4532 (package
4533 (inherit libsoup)
4534 (name "libsoup-minimal")
4535 (outputs (delete "doc" (package-outputs libsoup)))
4536 (arguments
4537 (substitute-keyword-arguments (package-arguments libsoup)
4538 ((#:configure-flags configure-flags)
4539 `(delete "-Dgtk_doc=true" ,configure-flags))
4540 ((#:phases phases)
4541 `(modify-phases ,phases
4542 (delete 'move-doc)))))
4543 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4544
4545 (define-public libsecret
4546 (package
4547 (name "libsecret")
4548 (version "0.20.3")
4549 (source (origin
4550 (method url-fetch)
4551 (uri (string-append
4552 "mirror://gnome/sources/libsecret/"
4553 (version-major+minor version) "/"
4554 "libsecret-" version ".tar.xz"))
4555 (sha256
4556 (base32
4557 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
4558 (build-system gnu-build-system)
4559 (outputs '("out" "doc"))
4560 (arguments
4561 `(#:tests? #f ; FIXME: Testing hangs.
4562 #:configure-flags
4563 (list (string-append "--with-html-dir="
4564 (assoc-ref %outputs "doc")
4565 "/share/gtk-doc/html"))))
4566 (native-inputs
4567 `(("gettext" ,gettext-minimal)
4568 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4569 ("gobject-introspection" ,gobject-introspection)
4570 ("pkg-config" ,pkg-config)
4571 ("vala" ,vala)
4572 ("xsltproc" ,libxslt)))
4573 ;; These are needed for the tests.
4574 ;; FIXME: Add gjs once available.
4575 ;("dbus" ,dbus)
4576 ;("python2" ,python-2)
4577 ;("python2-dbus" ,python2-dbus)
4578 ;("python2-pygobject" ,python2-pygobject)
4579 ;("python2-pygobject-2" ,python2-pygobject-2)))
4580 (propagated-inputs
4581 `(("glib" ,glib))) ; required by libsecret-1.pc
4582 (inputs
4583 `(("docbook-xsl" ,docbook-xsl)
4584 ("libgcrypt" ,libgcrypt)
4585 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4586 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4587 (synopsis "GObject bindings for \"Secret Service\" API")
4588 (description
4589 "Libsecret is a GObject based library for storing and retrieving passwords
4590 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4591 (license license:lgpl2.1+)))
4592
4593 (define-public five-or-more
4594 (package
4595 (name "five-or-more")
4596 (version "3.32.2")
4597 (source
4598 (origin
4599 (method url-fetch)
4600 (uri (string-append "mirror://gnome/sources/five-or-more/"
4601 (version-major+minor version) "/"
4602 "five-or-more-" version ".tar.xz"))
4603 (sha256
4604 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4605 (build-system meson-build-system)
4606 (arguments
4607 '(#:glib-or-gtk? #t
4608 #:phases
4609 (modify-phases %standard-phases
4610 (add-after 'unpack 'skip-gtk-update-icon-cache
4611 (lambda _
4612 (substitute* "meson_post_install.py"
4613 (("gtk-update-icon-cache") (which "true")))
4614 #t)))))
4615 (native-inputs
4616 `(("pkg-config" ,pkg-config)
4617 ("appstream-glib" ,appstream-glib)
4618 ("desktop-file-utils" ,desktop-file-utils)
4619 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4620 ("intltool" ,intltool)
4621 ("itstool" ,itstool)
4622 ("vala" ,vala)
4623 ("xmllint" ,libxml2)))
4624 (inputs
4625 `(("gtk+" ,gtk+)
4626 ("libgnome-games-support" ,libgnome-games-support)
4627 ("librsvg" ,librsvg)))
4628 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4629 (synopsis "Logic puzzle game")
4630 (description "Five or More is a game where you try to align
4631 five or more objects of the same color and shape causing them to disappear.
4632 On every turn more objects will appear, until the board is full.
4633 Try to last as long as possible.")
4634 (license license:gpl2+)))
4635
4636 (define-public gnome-mines
4637 (package
4638 (name "gnome-mines")
4639 (version "3.36.1")
4640 (source
4641 (origin
4642 (method url-fetch)
4643 (uri (string-append "mirror://gnome/sources/" name "/"
4644 (version-major+minor version) "/"
4645 name "-" version ".tar.xz"))
4646 (sha256
4647 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4648 (build-system meson-build-system)
4649 (arguments
4650 '(#:glib-or-gtk? #t
4651 #:phases
4652 (modify-phases %standard-phases
4653 (add-after 'unpack 'skip-gtk-update-icon-cache
4654 (lambda _
4655 (substitute* "build-aux/meson_post_install.py"
4656 (("gtk-update-icon-cache") (which "true")))
4657 #t)))))
4658 (native-inputs
4659 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4660 ("pkg-config" ,pkg-config)
4661 ("desktop-file-utils" ,desktop-file-utils)
4662 ("intltool" ,intltool)
4663 ("itstool" ,itstool)
4664 ("vala" ,vala)
4665 ("yelp" ,yelp)
4666 ("appstream-glib" ,appstream-glib)))
4667 (inputs
4668 `(("gtk+" ,gtk+)
4669 ("libgnome-games-support" ,libgnome-games-support)
4670 ("librsvg" ,librsvg)))
4671 (home-page "https://wiki.gnome.org/Apps/Mines")
4672 (synopsis "Minesweeper game")
4673 (description
4674 "Mines (previously gnomine) is a puzzle game where you locate mines
4675 floating in an ocean using only your brain and a little bit of luck.")
4676 (license license:gpl2+)))
4677
4678 (define-public gnome-multi-writer
4679 (package
4680 (name "gnome-multi-writer")
4681 (version "3.35.90")
4682 (source
4683 (origin
4684 (method url-fetch)
4685 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4686 (version-major+minor version) "/"
4687 "gnome-multi-writer-" version ".tar.xz"))
4688 (sha256
4689 (base32
4690 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4691 (build-system meson-build-system)
4692 (arguments
4693 '(#:glib-or-gtk? #t
4694 #:phases
4695 (modify-phases %standard-phases
4696 (add-after 'unpack 'skip-post-install
4697 (lambda _
4698 (substitute* "meson.build"
4699 (("meson.add_install_script" &) (string-append "# " &)))
4700 #t)))))
4701 (native-inputs
4702 `(("glib:bin" ,glib "bin")
4703 ("pkg-config" ,pkg-config)))
4704 (inputs
4705 `(("gtk+" ,gtk+)
4706 ("glib" ,glib) ; for gio
4707 ("gusb" ,gusb)
4708 ("udisks" ,udisks)
4709 ("libgudev" ,libgudev)
4710 ("libcanberra" ,libcanberra)
4711 ("polkit" ,polkit)))
4712 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4713 (synopsis "Write to multiple USB devices at once")
4714 (description
4715 "MultiWriter can be used to write an ISO file to multiple USB devices at
4716 once.")
4717 (license license:gpl2+)))
4718
4719 (define-public gnome-sudoku
4720 (package
4721 (name "gnome-sudoku")
4722 (version "3.34.1")
4723 (source
4724 (origin
4725 (method url-fetch)
4726 (uri (string-append "mirror://gnome/sources/" name "/"
4727 (version-major+minor version) "/"
4728 name "-" version ".tar.xz"))
4729 (sha256
4730 (base32
4731 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4732 (build-system meson-build-system)
4733 (arguments
4734 '(#:glib-or-gtk? #t
4735 #:phases
4736 (modify-phases %standard-phases
4737 (add-after 'unpack 'skip-gtk-update-icon-cache
4738 (lambda _
4739 (substitute* "build-aux/post_install.py"
4740 (("gtk-update-icon-cache") (which "true")))
4741 #t)))))
4742 (native-inputs
4743 `(("pkg-config" ,pkg-config)
4744 ("desktop-file-utils" ,desktop-file-utils)
4745 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4746 ("intltool" ,intltool)
4747 ("itstool" ,itstool)
4748 ("vala" ,vala)
4749 ("xmllint" ,libxml2)))
4750 (inputs
4751 `(("gtk+" ,gtk+)
4752 ("json-glib" ,json-glib)
4753 ("libgee" ,libgee)
4754 ("librsvg" ,librsvg)
4755 ("qqwing" ,qqwing)))
4756 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4757 (synopsis "Japanese logic game")
4758 (description
4759 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4760 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4761 possible while still providing features that make playing difficult Sudoku
4762 more fun.")
4763 (license license:gpl2+)))
4764
4765 (define-public gnome-terminal
4766 (package
4767 (name "gnome-terminal")
4768 (version "3.34.2")
4769 (source
4770 (origin
4771 (method url-fetch)
4772 (uri (string-append "mirror://gnome/sources/" name "/"
4773 (version-major+minor version) "/"
4774 name "-" version ".tar.xz"))
4775 (sha256
4776 (base32
4777 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4778 (build-system glib-or-gtk-build-system)
4779 (arguments
4780 '(#:configure-flags
4781 (list "--disable-migration" "--disable-search-provider"
4782 "--without-nautilus-extension")
4783 #:phases
4784 (modify-phases %standard-phases
4785 (add-before 'configure 'patch-/bin/true
4786 (lambda _
4787 (substitute* "configure"
4788 (("/bin/true") (which "true"))))))))
4789 (native-inputs
4790 `(("pkg-config" ,pkg-config)
4791 ("desktop-file-utils" ,desktop-file-utils)
4792 ("intltool" ,intltool)
4793 ("itstool" ,itstool)
4794 ("xmllint" ,libxml2)))
4795 (propagated-inputs
4796 `(("dconf" ,dconf)))
4797 (inputs
4798 `(("gtk+" ,gtk+)
4799 ("vte" ,vte)
4800 ("gnutls" ,gnutls)
4801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4802 ("util-linux" ,util-linux "lib")
4803 ("vala" ,vala)))
4804 (home-page "https://wiki.gnome.org/Apps/Terminal")
4805 (synopsis "Terminal emulator")
4806 (description
4807 "GNOME Terminal is a terminal emulator application for accessing a
4808 UNIX shell environment which can be used to run programs available on
4809 your system.
4810
4811 It supports several profiles, multiple tabs and implements several
4812 keyboard shortcuts.")
4813 (license license:gpl3+)))
4814
4815 (define-public colord
4816 (package
4817 (name "colord")
4818 (version "1.4.4")
4819 (source
4820 (origin
4821 (method url-fetch)
4822 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4823 "colord-" version ".tar.xz"))
4824 (sha256
4825 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4826 (build-system meson-build-system)
4827 (arguments
4828 '(;; FIXME: One test fails:
4829 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4830 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4831 ;; application/x-zerosize
4832 #:tests? #f
4833 #:glib-or-gtk? #t
4834 #:configure-flags (list "-Dlocalstatedir=/var"
4835 ;; No dep on systemd.
4836 "-Dsystemd=false"
4837 ;; Wants to install to global completion dir;
4838 ;; punt.
4839 "-Dbash_completion=false"
4840 "-Ddaemon_user=colord"
4841 "-Dsane=true"
4842 "-Dvapi=true"
4843 ;; Requires spotread.
4844 "-Dargyllcms_sensor=false"
4845 ;; TODO: Requires docbook2x.
4846 "-Dman=false")
4847 #:phases
4848 (modify-phases %standard-phases
4849 (add-before 'configure 'patch-build-system
4850 (lambda* (#:key outputs #:allow-other-keys)
4851 (substitute* "rules/meson.build"
4852 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4853 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4854 #t))
4855 (add-before 'configure 'set-sqlite3-file-name
4856 (lambda* (#:key inputs #:allow-other-keys)
4857 ;; "colormgr dump" works by invoking the "sqlite3" command.
4858 ;; Record its absolute file name.
4859 (let ((sqlite (assoc-ref inputs "sqlite")))
4860 (substitute* "client/cd-util.c"
4861 (("\"sqlite3\"")
4862 (string-append "\"" sqlite "/bin/sqlite3\"")))
4863 #t))))))
4864 (native-inputs
4865 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4866 ("gettext" ,gettext-minimal)
4867 ("gobject-introspection" ,gobject-introspection)
4868 ("gtk-doc" ,gtk-doc)
4869 ("pkg-config" ,pkg-config)
4870 ("vala" ,vala)))
4871 (propagated-inputs
4872 ;; colord.pc refers to all these.
4873 `(("glib" ,glib)
4874 ("lcms" ,lcms)
4875 ("udev" ,eudev)))
4876 (inputs
4877 `(("dbus-glib" ,dbus-glib)
4878 ("gusb" ,gusb)
4879 ("libgudev" ,libgudev)
4880 ("libusb" ,libusb)
4881 ("polkit" ,polkit)
4882 ("python" ,python-wrapper)
4883 ("sqlite" ,sqlite)
4884 ("sane-backends" ,sane-backends)))
4885 (home-page "https://www.freedesktop.org/software/colord/")
4886 (synopsis "Color management service")
4887 (description "Colord is a system service that makes it easy to manage,
4888 install and generate color profiles to accurately color manage input and
4889 output devices.")
4890 (license license:gpl2+)))
4891
4892 (define-public geoclue
4893 (package
4894 (name "geoclue")
4895 (version "2.5.6")
4896 (source
4897 (origin
4898 (method url-fetch)
4899 (uri
4900 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4901 version "/geoclue-" version ".tar.bz2"))
4902 (sha256
4903 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4904 (patches (search-patches "geoclue-config.patch"))))
4905 (build-system meson-build-system)
4906 (arguments
4907 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4908 (native-inputs
4909 `(("pkg-config" ,pkg-config)
4910 ("gobject-introspection" ,gobject-introspection)
4911 ("modem-manager" ,modem-manager)
4912 ("libnotify" ,libnotify)
4913 ("gtk-doc", gtk-doc)
4914 ("intltool" ,intltool)))
4915 (inputs
4916 `(("avahi" ,avahi)
4917 ("glib:bin" ,glib "bin")
4918 ("glib-networking" ,glib-networking)
4919 ("json-glib" ,json-glib)
4920 ("libsoup" ,libsoup)))
4921 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4922 (synopsis "Geolocation service")
4923 (description "Geoclue is a D-Bus service that provides location
4924 information. The primary goal of the Geoclue project is to make creating
4925 location-aware applications as simple as possible, while the secondary goal is
4926 to ensure that no application can access location information without explicit
4927 permission from user.")
4928 (license license:gpl2+)))
4929
4930 (define-public geocode-glib
4931 (package
4932 (name "geocode-glib")
4933 (version "3.26.2")
4934 (source (origin
4935 (method url-fetch)
4936 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4937 (version-major+minor version) "/"
4938 "geocode-glib-" version ".tar.xz"))
4939 (sha256
4940 (base32
4941 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
4942 (build-system meson-build-system)
4943 (arguments
4944 `(#:phases
4945 (modify-phases %standard-phases
4946 ;; The tests require a bunch of locales.
4947 (add-before 'check 'set-locales
4948 (lambda* (#:key inputs #:allow-other-keys)
4949 (setenv "GUIX_LOCPATH"
4950 (string-append (assoc-ref inputs "glibc-locales")
4951 "/lib/locale"))
4952 #t)))))
4953 (native-inputs
4954 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4955 ("glibc-locales" ,glibc-locales) ; for tests
4956 ("gettext" ,gettext-minimal)
4957 ("gobject-introspection" ,gobject-introspection)
4958 ("gtk-doc" ,gtk-doc)
4959 ("pkg-config" ,pkg-config)
4960 ("json-glib" ,json-glib)))
4961 (propagated-inputs
4962 ;; geocode-glib-1.0.pc refers to GIO.
4963 `(("glib" ,glib)))
4964 (inputs
4965 `(("libsoup" ,libsoup)))
4966 (home-page "https://github.com/GNOME/geocode-glib/")
4967 (synopsis "Geocoding and reverse-geocoding library")
4968 (description
4969 "geocode-glib is a convenience library for geocoding (finding longitude,
4970 and latitude from an address) and reverse geocoding (finding an address from
4971 coordinates) using the Nominatim service. geocode-glib caches requests for
4972 faster results and to avoid unnecessary server load.")
4973 (license license:lgpl2.0+)))
4974
4975 (define-public upower
4976 (package
4977 (name "upower")
4978 (version "0.99.11")
4979 (source (origin
4980 (method url-fetch)
4981 (uri (string-append "https://upower.freedesktop.org/releases/"
4982 "upower-" version ".tar.xz"))
4983 (sha256
4984 (base32
4985 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4986 (patches (search-patches "upower-builddir.patch"))
4987 (modules '((guix build utils)))
4988 (snippet
4989 '(begin
4990 ;; Upstream commit
4991 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4992 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4993 ;; 'dbus-configuration-directory' in (gnu services dbus)
4994 ;; expects it in etc/. Thus, move it back to its previous
4995 ;; location.
4996 (substitute* "src/Makefile.in"
4997 (("^dbusconfdir =.*$")
4998 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4999 #t))))
5000 (build-system glib-or-gtk-build-system)
5001 (arguments
5002 '(#:phases
5003 (modify-phases %standard-phases
5004 (add-before 'check 'pre-check
5005 (lambda* (#:key inputs #:allow-other-keys)
5006 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5007 "/lib")))
5008 (setenv "LD_LIBRARY_PATH" umockdev))
5009 #t)))
5010 #:configure-flags (list "--localstatedir=/var"
5011 (string-append "--with-udevrulesdir="
5012 (assoc-ref %outputs "out")
5013 "/lib/udev/rules.d"))))
5014 (native-inputs
5015 `(("gobject-introspection" ,gobject-introspection)
5016 ("pkg-config" ,pkg-config)
5017 ("intltool" ,intltool)
5018 ("python" ,python)
5019
5020 ;; For tests.
5021 ("python-dbus" ,python-dbus)
5022 ("python-dbusmock" ,python-dbusmock)
5023 ("python-pygobject" ,python-pygobject)
5024 ("umockdev" ,umockdev)
5025
5026 ;; For man pages.
5027 ("libxslt" ,libxslt) ;for 'xsltproc'
5028 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5029 ("docbook-xsl" ,docbook-xsl)))
5030 (inputs
5031 `(("dbus-glib" ,dbus-glib)
5032 ("libgudev" ,libgudev)
5033 ("libusb" ,libusb)))
5034 (propagated-inputs
5035 ;; In Requires of upower-glib.pc.
5036 `(("glib" ,glib)))
5037 (home-page "https://upower.freedesktop.org/")
5038 (synopsis "System daemon for managing power devices")
5039 (description
5040 "UPower is an abstraction for enumerating power devices,
5041 listening to device events and querying history and statistics. Any
5042 application or service on the system can access the org.freedesktop.UPower
5043 service via the system message bus.")
5044 (license license:gpl2+)))
5045
5046 (define-public libgweather
5047 (package
5048 (name "libgweather")
5049 (version "3.34.0")
5050 (source (origin
5051 (method url-fetch)
5052 (uri (string-append "mirror://gnome/sources/" name "/"
5053 (version-major+minor version) "/"
5054 name "-" version ".tar.xz"))
5055 (sha256
5056 (base32
5057 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5058 (build-system meson-build-system)
5059 (arguments
5060 `(#:tests? #f ; one of two tests requires network access
5061 #:configure-flags
5062 `(,(string-append "-Dzoneinfo_dir="
5063 (assoc-ref %build-inputs "tzdata")
5064 "/share/zoneinfo"))))
5065 (native-inputs
5066 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5067 ("gobject-introspection" ,gobject-introspection)
5068 ("pkg-config" ,pkg-config)
5069 ("vala" ,vala)
5070 ("intltool" ,intltool)))
5071 (propagated-inputs
5072 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5073 ;; libsoup.
5074 `(("gtk+" ,gtk+)
5075 ("gdk-pixbuf" ,gdk-pixbuf)
5076 ("libxml2" ,libxml2)
5077 ("libsoup" ,libsoup)
5078 ("geocode-glib" ,geocode-glib)))
5079 (inputs
5080 `(("tzdata" ,tzdata)))
5081 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5082 (synopsis "Location, time zone, and weather library for GNOME")
5083 (description
5084 "libgweather is a library to access weather information from online
5085 services for numerous locations.")
5086 (license license:gpl2+)))
5087
5088 (define-public gnome-settings-daemon
5089 (package
5090 (name "gnome-settings-daemon")
5091 (version "3.34.1")
5092 (source
5093 (origin
5094 (method url-fetch)
5095 (uri (string-append "mirror://gnome/sources/" name "/"
5096 (version-major+minor version) "/"
5097 name "-" version ".tar.xz"))
5098 (sha256
5099 (base32
5100 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
5101 (build-system meson-build-system)
5102 (arguments
5103 `(#:glib-or-gtk? #t
5104 #:configure-flags
5105 (list (string-append "-Dudev_dir="
5106 (assoc-ref %outputs "out")
5107 "/lib/udev/rules.d/")
5108 "-Dsystemd=false"
5109 ;; Otherwise, the RUNPATH will lack the final path component.
5110 (string-append "-Dc_link_args=-Wl,-rpath="
5111 (assoc-ref %outputs "out")
5112 "/lib/gnome-settings-daemon-3.0"))
5113 ;; Color management test can't reach the colord system service.
5114 #:tests? #f))
5115 (native-inputs
5116 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5117 ("pkg-config" ,pkg-config)
5118 ("intltool" ,intltool)
5119 ("xsltproc" ,libxslt)
5120 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5121 ("docbook-xml" ,docbook-xml-4.2)
5122 ("docbook-xsl" ,docbook-xsl)))
5123 (inputs
5124 `(("alsa-lib" ,alsa-lib)
5125 ("colord" ,colord)
5126 ("libgudev" ,libgudev)
5127 ("upower" ,upower)
5128 ("polkit" ,polkit)
5129 ("pulseaudio" ,pulseaudio)
5130 ("libcanberra" ,libcanberra)
5131 ("libx11" ,libx11)
5132 ("libxtst" ,libxtst)
5133 ("lcms" ,lcms)
5134 ("libnotify" ,libnotify)
5135 ("geoclue" ,geoclue)
5136 ("geocode-glib" ,geocode-glib)
5137 ("libgweather" ,libgweather)
5138 ("gnome-desktop" ,gnome-desktop)
5139 ("nss" ,nss)
5140 ("cups" ,cups)
5141 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5142 ("libwacom" ,libwacom)
5143 ("librsvg" ,librsvg)
5144 ("xf86-input-wacom" ,xf86-input-wacom)
5145 ("wayland" ,wayland)
5146 ("network-manager" ,network-manager)
5147 ("gcr" ,gcr)
5148 ("modem-manager" ,modem-manager)))
5149 (home-page "https://www.gnome.org")
5150 (synopsis "GNOME settings daemon")
5151 (description
5152 "This package contains the daemon responsible for setting the various
5153 parameters of a GNOME session and the applications that run under it. It
5154 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5155 settings, themes, mouse settings, and startup of other daemons.")
5156 (license license:gpl2+)))
5157
5158 (define-public totem-pl-parser
5159 (package
5160 (name "totem-pl-parser")
5161 (version "3.26.5")
5162 (source (origin
5163 (method url-fetch)
5164 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5165 (version-major+minor version) "/"
5166 "totem-pl-parser-" version ".tar.xz"))
5167 (sha256
5168 (base32
5169 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5170 (build-system meson-build-system)
5171 (arguments
5172 ;; FIXME: Tests require gvfs.
5173 `(#:tests? #f))
5174 (native-inputs
5175 `(("intltool" ,intltool)
5176 ("glib" ,glib "bin")
5177 ("gobject-introspection" ,gobject-introspection)
5178 ("pkg-config" ,pkg-config)))
5179 (propagated-inputs
5180 `(("glib" ,glib)
5181 ("gmime" ,gmime)
5182 ("libarchive" ,libarchive)
5183 ("libgcrypt" ,libgcrypt)
5184 ("libxml2" ,libxml2)))
5185 (inputs
5186 `(("libsoup" ,libsoup)))
5187 (home-page "https://projects.gnome.org/totem")
5188 (synopsis "Library to parse and save media playlists for GNOME")
5189 (description "Totem-pl-parser is a GObjects-based library to parse and save
5190 playlists in a variety of formats.")
5191 (license license:lgpl2.0+)))
5192
5193 (define-public aisleriot
5194 (package
5195 (name "aisleriot")
5196 (version "3.22.9")
5197 (source (origin
5198 (method url-fetch)
5199 (uri (string-append "mirror://gnome/sources/aisleriot/"
5200 (version-major+minor version) "/"
5201 "aisleriot-" version ".tar.xz"))
5202 (sha256
5203 (base32
5204 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5205 (build-system glib-or-gtk-build-system)
5206 (arguments
5207 '(#:configure-flags
5208 '("--with-platform=gtk-only"
5209 "--with-card-theme-formats=svg")))
5210 (native-inputs
5211 `(("desktop-file-utils" ,desktop-file-utils)
5212 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5213 ("intltool" ,intltool)
5214 ("itstool" ,itstool)
5215 ("pkg-config" ,pkg-config)
5216 ("xmllint" ,libxml2)))
5217 (inputs
5218 `(("gtk+" ,gtk+)
5219 ("guile" ,guile-2.2)
5220 ("libcanberra" ,libcanberra)
5221 ("librsvg" ,librsvg)))
5222 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5223 (synopsis "Solitaire card games")
5224 (description
5225 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5226 which are easy to play with the aid of a mouse.")
5227 (license license:gpl3+)))
5228
5229 (define-public amtk
5230 (package
5231 (name "amtk")
5232 (version "5.0.2")
5233 (source (origin
5234 (method url-fetch)
5235 (uri (string-append "mirror://gnome/sources/amtk/"
5236 (version-major+minor version) "/"
5237 "amtk-" version ".tar.xz"))
5238 (sha256
5239 (base32
5240 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5241 (build-system gnu-build-system)
5242 (arguments
5243 '(#:configure-flags '("--enable-gtk-doc")))
5244 (native-inputs
5245 `(("gobject-introspection" ,gobject-introspection)
5246 ("glib:bin" ,glib "bin") ; for glib-mkenums
5247 ("gtk-doc" ,gtk-doc)
5248 ("pkg-config" ,pkg-config)))
5249 (inputs
5250 `(("glib" ,glib)
5251 ("gtk+" ,gtk+)))
5252 (home-page "https://wiki.gnome.org/Projects/Amtk")
5253 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5254 (description
5255 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5256 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5257 both a traditional UI or a modern UI with a GtkHeaderBar.")
5258 (license license:lgpl2.1+)))
5259
5260 (define-public devhelp
5261 (package
5262 (name "devhelp")
5263 (version "3.34.0")
5264 (source (origin
5265 (method url-fetch)
5266 (uri (string-append "mirror://gnome/sources/" name "/"
5267 (version-major+minor version) "/"
5268 name "-" version ".tar.xz"))
5269 (sha256
5270 (base32
5271 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5272 (build-system meson-build-system)
5273 (arguments
5274 '(#:glib-or-gtk? #t
5275 #:phases
5276 (modify-phases %standard-phases
5277 (add-after 'unpack 'skip-gtk-update-icon-cache
5278 ;; Don't create 'icon-theme.cache'.
5279 (lambda _
5280 (substitute* "meson_post_install.py"
5281 (("gtk-update-icon-cache") "true"))
5282 #t)))))
5283 (native-inputs
5284 `(("intltool" ,intltool)
5285 ("itstool" ,itstool)
5286 ("gobject-introspection" ,gobject-introspection)
5287 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5288 ("pkg-config" ,pkg-config)))
5289 (inputs
5290 `(("amtk" ,amtk)
5291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5292 ("webkitgtk" ,webkitgtk)))
5293 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5294 (synopsis "API documentation browser for GNOME")
5295 (description
5296 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5297 natively with GTK-Doc (the API reference system developed for GTK+ and used
5298 throughout GNOME for API documentation).")
5299 (license license:gpl2+)))
5300
5301 (define-public cogl
5302 (package
5303 (name "cogl")
5304 (version "1.22.8")
5305 (source
5306 (origin
5307 (method url-fetch)
5308 (uri (string-append "mirror://gnome/sources/cogl/"
5309 (version-major+minor version) "/"
5310 "cogl-" version ".tar.xz"))
5311 (sha256
5312 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5313 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5314 ;; cogl, corresponding changes may be appropriate in mutter as well.
5315 (build-system gnu-build-system)
5316 (native-inputs
5317 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5318 ("gobject-introspection" ,gobject-introspection)
5319 ("xorg-server" ,xorg-server-for-tests)
5320 ("pkg-config" ,pkg-config)))
5321 (propagated-inputs
5322 `(("glib" ,glib)
5323 ("gdk-pixbuf" ,gdk-pixbuf)
5324 ("libx11" ,libx11)
5325 ("libxext" ,libxext)
5326 ("libxfixes" ,libxfixes)
5327 ("libxdamage" ,libxdamage)
5328 ("libxcomposite" ,libxcomposite)
5329 ("libxrandr" ,libxrandr)))
5330 (inputs
5331 `(("mesa" ,mesa)
5332 ("cairo" ,cairo)
5333 ("pango" ,pango)
5334 ("gstreamer" ,gstreamer)
5335 ("gst-plugins-base" ,gst-plugins-base)
5336 ("wayland" ,wayland)))
5337 (arguments
5338 `(#:disallowed-references (,xorg-server-for-tests)
5339 #:configure-flags (list "--enable-cogl-gst"
5340 "--enable-wayland-egl-platform"
5341 "--enable-wayland-egl-server"
5342
5343 ;; Arrange to pass an absolute file name to
5344 ;; dlopen for libGL.so.
5345 (string-append "--with-gl-libname="
5346 (assoc-ref %build-inputs "mesa")
5347 "/lib/libGL.so"))
5348 #:phases
5349 (modify-phases %standard-phases
5350 (add-after 'unpack 'fix-build-with-mesa-20
5351 (lambda _
5352 ;; Work around a problem with Mesa 20 where some macros used by
5353 ;; Cogl went missing from eglext.h. This can likely be removed
5354 ;; for newer versions of Cogl or Mesa.
5355 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5356 (substitute* '("configure"
5357 "cogl/winsys/cogl-winsys-egl-kms.c")
5358 (("#include <EGL/eglext.h>" all)
5359 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5360 #t))
5361 (add-before 'check 'start-xorg-server
5362 (lambda* (#:key tests? inputs #:allow-other-keys)
5363 (if tests?
5364 (begin
5365 ;; The test suite requires a running X server.
5366 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5367 (assoc-ref inputs "xorg-server")))
5368 (setenv "DISPLAY" ":1")
5369 #t)
5370 (format #t "test suite not run~%"))
5371 #t)))))
5372 (home-page "https://www.cogl3d.org")
5373 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5374 (description
5375 "Cogl is a small library for using 3D graphics hardware to draw pretty
5376 pictures. The API departs from the flat state machine style of OpenGL and is
5377 designed to make it easy to write orthogonal components that can render
5378 without stepping on each others toes.")
5379 (license (list license:expat ; most of the code
5380 license:bsd-3 ; cogl/cogl-point-in-poly.c
5381 license:sgifreeb2.0 ; cogl-path/tesselator/
5382 license:asl2.0)))) ; examples/android/
5383
5384 (define-public clutter
5385 (package
5386 (name "clutter")
5387 (version "1.26.2")
5388 (source
5389 (origin
5390 (method url-fetch)
5391 (uri (string-append "mirror://gnome/sources/" name "/"
5392 (version-major+minor version) "/"
5393 name "-" version ".tar.xz"))
5394 (sha256
5395 (base32
5396 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5397 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5398 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5399 (build-system gnu-build-system)
5400 (outputs '("out"
5401 "doc")) ;9 MiB of gtk-doc HTML pages
5402 (native-inputs
5403 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5404 ("gobject-introspection" ,gobject-introspection)
5405 ("pkg-config" ,pkg-config)
5406 ("xsltproc" ,libxslt)))
5407 (propagated-inputs
5408 `(("cogl" ,cogl)
5409 ("cairo" ,cairo)
5410 ("atk" ,atk)
5411 ("gtk+" ,gtk+)
5412 ("json-glib" ,json-glib)
5413 ("glib" ,glib)
5414 ("libxcomposite" ,libxcomposite)
5415 ("libxdamage" ,libxdamage)
5416 ("libxext" ,libxext)
5417 ("xinput" ,xinput)))
5418 (inputs
5419 `(("libxkbcommon" ,libxkbcommon)
5420 ("udev" ,eudev)))
5421 (arguments
5422 `(#:configure-flags (list "--enable-x11-backend=yes"
5423
5424 ;; This produces share/doc/{clutter,cally}.
5425 (string-append "--with-html-dir="
5426 (assoc-ref %outputs "doc")
5427 "/share/doc"))
5428 ;; XXX FIXME: Get test suite working. It would probably fail in the
5429 ;; same way the cogl tests fail, since clutter is based on cogl.
5430 #:tests? #f))
5431 (home-page "http://www.clutter-project.org")
5432 (synopsis "OpenGL-based interactive canvas library")
5433 (description
5434 "Clutter is an OpenGL-based interactive canvas library, designed for
5435 creating fast, mainly 2D single window applications such as media box UIs,
5436 presentations, kiosk style applications and so on.")
5437 (license license:lgpl2.0+)))
5438
5439 (define-public clutter-gtk
5440 (package
5441 (name "clutter-gtk")
5442 (version "1.8.4")
5443 (source
5444 (origin
5445 (method url-fetch)
5446 (uri (string-append "mirror://gnome/sources/" name "/"
5447 (version-major+minor version) "/"
5448 name "-" version ".tar.xz"))
5449 (sha256
5450 (base32
5451 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5452 (build-system gnu-build-system)
5453 (native-inputs
5454 `(("pkg-config" ,pkg-config)
5455 ("gobject-introspection" ,gobject-introspection)))
5456 (propagated-inputs
5457 ;; clutter-gtk.pc refers to all these.
5458 `(("clutter" ,clutter)
5459 ("gtk+" ,gtk+)))
5460 (home-page "http://www.clutter-project.org")
5461 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5462 (description
5463 "Clutter is an OpenGL-based interactive canvas library, designed for
5464 creating fast, mainly 2D single window applications such as media box UIs,
5465 presentations, kiosk style applications and so on.")
5466 (license license:lgpl2.0+)))
5467
5468 (define-public clutter-gst
5469 (package
5470 (name "clutter-gst")
5471 (version "3.0.27")
5472 (source
5473 (origin
5474 (method url-fetch)
5475 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5476 (version-major+minor version) "/"
5477 "clutter-gst-" version ".tar.xz"))
5478 (sha256
5479 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5480 (build-system gnu-build-system)
5481 (native-inputs
5482 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5483 ("pkg-config" ,pkg-config)
5484 ("gobject-introspection" ,gobject-introspection)))
5485 (inputs
5486 `(("clutter" ,clutter)
5487 ("gstreamer" ,gstreamer)
5488 ("gst-plugins-base" ,gst-plugins-base)))
5489 (home-page "http://www.clutter-project.org")
5490 (synopsis "Integration library for using GStreamer with Clutter")
5491 (description
5492 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5493 It provides a GStreamer sink to upload frames to GL and an actor that
5494 implements the ClutterGstPlayer interface using playbin. Clutter is an
5495 OpenGL-based interactive canvas library.")
5496 (license license:lgpl2.0+)))
5497
5498 (define-public libchamplain
5499 (package
5500 (name "libchamplain")
5501 (version "0.12.16")
5502 (source (origin
5503 (method url-fetch)
5504 (uri (string-append
5505 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5506 version ".tar.xz"))
5507 (sha256
5508 (base32
5509 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5510 (build-system gnu-build-system)
5511 (arguments '(#:configure-flags '("--enable-vala")))
5512 (native-inputs
5513 `(("gobject-introspection" ,gobject-introspection)
5514 ("pkg-config" ,pkg-config)
5515 ("vala" ,vala)))
5516 (propagated-inputs
5517 `(("libsoup" ,libsoup)
5518 ("sqlite" ,sqlite)
5519 ("clutter" ,clutter)
5520 ("clutter-gtk" ,clutter-gtk)
5521 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5522 ("cairo" ,cairo)
5523 ("gtk+3" ,gtk+)
5524 ("glib" ,glib)))
5525 (home-page "https://projects.gnome.org/libchamplain/")
5526 (synopsis "C library providing a ClutterActor to display maps")
5527 (description
5528 "libchamplain is a C library providing a ClutterActor to display maps.
5529 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5530 and Perl bindings are also available. It supports numerous free map sources
5531 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5532 (license license:lgpl2.1+)))
5533
5534 (define-public gom
5535 (package
5536 (name "gom")
5537 (version "0.3.2")
5538 (source
5539 (origin
5540 (method url-fetch)
5541 (uri (string-append "mirror://gnome/sources/gom/"
5542 (version-major+minor version) "/"
5543 "gom-" version ".tar.xz"))
5544 (sha256
5545 (base32
5546 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5547 (build-system gnu-build-system)
5548 (native-inputs
5549 `(("intltool" ,intltool)
5550 ("pkg-config" ,pkg-config)
5551 ("gobject-introspection" ,gobject-introspection)))
5552 (inputs
5553 `(("glib" ,glib)
5554 ("gdk-pixbuf" ,gdk-pixbuf)
5555 ("sqlite" ,sqlite)))
5556 ;; XXX TODO: Figure out how to run the test suite.
5557 (arguments `(#:tests? #f))
5558 (home-page "https://wiki.gnome.org/Projects/Gom")
5559 (synopsis "Object mapper from GObjects to SQLite")
5560 (description
5561 "Gom provides an object mapper from GObjects to SQLite. It helps you
5562 write applications that need to store structured data as well as make complex
5563 queries upon that data.")
5564 (license license:lgpl2.1+)))
5565
5566 (define-public libgnome-games-support
5567 (package
5568 (name "libgnome-games-support")
5569 (version "1.4.4")
5570 (source (origin
5571 (method url-fetch)
5572 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5573 (version-major+minor version) "/"
5574 "libgnome-games-support-" version ".tar.xz"))
5575 (sha256
5576 (base32
5577 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5578 (build-system gnu-build-system)
5579 (arguments
5580 '(#:phases
5581 (modify-phases %standard-phases
5582 (add-before 'check 'pre-check
5583 (lambda _
5584 ;; Tests require a writable HOME.
5585 (setenv "HOME" (getcwd))
5586 #t)))))
5587 (native-inputs
5588 `(("intltool" ,intltool)
5589 ("pkg-config" ,pkg-config)
5590 ("vala" ,vala)))
5591 (propagated-inputs
5592 ;; Required by libgnome-games-support-1.0.pc
5593 `(("gtk+" ,gtk+)
5594 ("libgee" ,libgee)))
5595 (home-page "https://www.gnome.org/")
5596 (synopsis "Useful functionality shared among GNOME games")
5597 (description
5598 "libgnome-games-support is a small library intended for internal use by
5599 GNOME Games, but it may be used by others.")
5600 (license license:lgpl3+)))
5601
5602 (define-public gnome-klotski
5603 (package
5604 (name "gnome-klotski")
5605 (version "3.34.0")
5606 (source (origin
5607 (method url-fetch)
5608 (uri (string-append "mirror://gnome/sources/" name "/"
5609 (version-major+minor version) "/"
5610 name "-" version ".tar.xz"))
5611 (sha256
5612 (base32
5613 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5614 (build-system meson-build-system)
5615 (arguments
5616 '(#:glib-or-gtk? #t
5617 #:phases
5618 (modify-phases %standard-phases
5619 (add-after 'unpack 'skip-gtk-update-icon-cache
5620 ;; Don't create 'icon-theme.cache'.
5621 (lambda _
5622 (substitute* "build-aux/meson_post_install.py"
5623 (("gtk-update-icon-cache") (which "true")))
5624 #t)))))
5625 (native-inputs
5626 `(("desktop-file-utils" ,desktop-file-utils)
5627 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5628 ("intltool" ,intltool)
5629 ("itstool" ,itstool)
5630 ("pkg-config" ,pkg-config)
5631 ("vala" ,vala)
5632 ("xmllint" ,libxml2)))
5633 (inputs
5634 `(("gtk+" ,gtk+)
5635 ("libgnome-games-support" ,libgnome-games-support)
5636 ("librsvg" ,librsvg)))
5637 (home-page "https://wiki.gnome.org/Apps/Klotski")
5638 (synopsis "Sliding block puzzles")
5639 (description
5640 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5641 the patterned block to the area bordered by green markers. To do so, you will
5642 need to slide other blocks out of the way. Complete each puzzle in as few moves
5643 as possible!")
5644 (license license:gpl2+)))
5645
5646 (define-public grilo
5647 (package
5648 (name "grilo")
5649 (version "0.3.12")
5650 (source
5651 (origin
5652 (method url-fetch)
5653 (uri (string-append "mirror://gnome/sources/grilo/"
5654 (version-major+minor version) "/"
5655 "grilo-" version ".tar.xz"))
5656 (sha256
5657 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5658 (build-system meson-build-system)
5659 (native-inputs
5660 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5661 ("intltool" ,intltool)
5662 ("pkg-config" ,pkg-config)
5663 ("gobject-introspection" ,gobject-introspection)
5664 ("gtk-doc" ,gtk-doc)
5665 ("vala" ,vala)))
5666 (inputs
5667 `(("cyrus-sasl" ,cyrus-sasl)
5668 ("glib" ,glib)
5669 ("gtk+" ,gtk+)
5670 ("libxml2" ,libxml2)
5671 ("liboauth" ,liboauth)
5672 ("libsoup" ,libsoup)
5673 ("totem-pl-parser" ,totem-pl-parser)))
5674 (native-search-paths
5675 (list (search-path-specification
5676 (variable "GRL_PLUGIN_PATH")
5677 (files (list (string-append "lib/grilo-"
5678 (version-major+minor version)))))))
5679 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5680 (synopsis "Framework for discovering and browsing media")
5681 (description
5682 "Grilo is a framework focused on making media discovery and browsing easy
5683 for application developers.")
5684 (license license:lgpl2.1+)))
5685
5686 (define-public grilo-plugins
5687 (package
5688 (name "grilo-plugins")
5689 (version "0.3.11")
5690 (source
5691 (origin
5692 (method url-fetch)
5693 (uri (string-append "mirror://gnome/sources/" name "/"
5694 (version-major+minor version) "/"
5695 name "-" version ".tar.xz"))
5696 (sha256
5697 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5698 (build-system meson-build-system)
5699 (native-inputs
5700 `(("gettext" ,gettext-minimal)
5701 ("glib:bin" ,glib "bin")
5702 ("gtk+:bin" ,gtk+ "bin")
5703 ("itstool" ,itstool)
5704 ("pkg-config" ,pkg-config)))
5705 ;; TODO: ahavi, gstreamer
5706 (inputs
5707 `(("grilo" ,grilo)
5708 ;("gmime" ,gmime) ; unused
5709 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5710 ("gom" ,gom)
5711 ;("gssdp" ,gssdp) ; unused
5712 ;("gupnp" ,gupnp) ; unused
5713 ;("gupnp-av" ,gupnp-av) ; unused
5714 ("json-glib" ,json-glib)
5715 ("avahi" ,avahi)
5716 ("libgdata" ,libgdata)
5717 ("libmediaart" ,libmediaart)
5718 ;("librest" ,rest) ; unused
5719 ("libsoup" ,libsoup)
5720 ("totam-pl-parser" ,totem-pl-parser)
5721 ("tracker" ,tracker))) ; unused because it's too old
5722 (arguments
5723 `(#:glib-or-gtk? #t
5724 ;;Disable lua-factory as it needs missing dependencies
5725 #:configure-flags '("-Denable-lua-factory=no")))
5726 (home-page "https://live.gnome.org/Grilo")
5727 (synopsis "Plugins for the Grilo media discovery library")
5728 (description
5729 "Grilo is a framework focused on making media discovery and browsing easy
5730 for application developers. This package provides plugins for common media
5731 discovery protocols.")
5732 (license license:lgpl2.1+)))
5733
5734 (define-public totem
5735 (package
5736 (name "totem")
5737 (version "3.34.1")
5738 (source
5739 (origin
5740 (method url-fetch)
5741 (uri (string-append "mirror://gnome/sources/totem/"
5742 (version-major+minor version) "/"
5743 "totem-" version ".tar.xz"))
5744 (sha256
5745 (base32
5746 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5747 (build-system meson-build-system)
5748 (native-inputs
5749 `(("pkg-config" ,pkg-config)
5750 ("desktop-file-utils" ,desktop-file-utils)
5751 ("gobject-introspection" ,gobject-introspection)
5752 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5753 ("intltool" ,intltool)
5754 ("itstool" ,itstool)
5755 ("xmllint" ,libxml2)
5756 ("xorg-server" ,xorg-server-for-tests)))
5757 (propagated-inputs
5758 `(("dconf" ,dconf)))
5759 (inputs
5760 `(("gtk+" ,gtk+)
5761 ("gdk-pixbuf" ,gdk-pixbuf)
5762 ("atk" ,atk)
5763 ("cairo" ,cairo)
5764 ("dbus-glib" ,dbus-glib)
5765 ("clutter" ,clutter)
5766 ("clutter-gtk" ,clutter-gtk)
5767 ("clutter-gst" ,clutter-gst)
5768 ("xorgproto" ,xorgproto)
5769 ("libxxf86vm" ,libxxf86vm)
5770 ("libxtst" ,libxtst)
5771 ("libxrandr" ,libxrandr)
5772 ("libxml2" ,libxml2)
5773 ("libsoup" ,libsoup)
5774 ("libpeas" ,libpeas)
5775 ("librsvg" ,librsvg)
5776 ("lirc" ,lirc)
5777 ("gnome-desktop" ,gnome-desktop)
5778 ("gstreamer" ,gstreamer)
5779 ("gst-plugins-base" ,gst-plugins-base)
5780 ("gst-plugins-good" ,gst-plugins-good)
5781 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5782 ("adwaita-icon-theme" ,adwaita-icon-theme)
5783 ("python" ,python)
5784 ("python-pygobject" ,python-pygobject)
5785 ("totem-pl-parser" ,totem-pl-parser)
5786 ("grilo" ,grilo)
5787 ("grilo-plugins" ,grilo-plugins)
5788 ("vala" ,vala)))
5789 (arguments
5790 `(#:glib-or-gtk? #t
5791
5792 ;; Disable automatic GStreamer plugin installation via PackageKit and
5793 ;; all that.
5794 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5795
5796 ;; Do not build .a files for the plugins, it's
5797 ;; completely useless. This saves 2 MiB.
5798 "--default-library" "shared")
5799 #:phases
5800 (modify-phases %standard-phases
5801 (add-after 'unpack 'skip-gtk-update-icon-cache
5802 ;; Don't create 'icon-theme.cache'.
5803 (lambda _
5804 (substitute* "meson_post_install.py"
5805 (("gtk-update-icon-cache") "true"))
5806 #t))
5807 (add-before
5808 'install 'disable-cache-generation
5809 (lambda _
5810 (setenv "DESTDIR" "/")
5811 #t))
5812 (add-before
5813 'check 'pre-check
5814 (lambda _
5815 ;; Tests require a running X server.
5816 (system "Xvfb :1 &")
5817 (setenv "DISPLAY" ":1")
5818 #t))
5819 (add-after
5820 'install 'wrap-totem
5821 (lambda* (#:key inputs outputs #:allow-other-keys)
5822 (let ((out (assoc-ref outputs "out"))
5823 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5824 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5825 (wrap-program (string-append out "/bin/totem")
5826 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5827 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5828 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5829 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5830 #t)))))
5831 (home-page "https://wiki.gnome.org/Apps/Videos")
5832 (synopsis "Simple media player for GNOME based on GStreamer")
5833 (description "Totem is a simple yet featureful media player for GNOME
5834 which can read a large number of file formats.")
5835 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5836 ;; to be used and distributed together with GStreamer and Totem. See
5837 ;; file://COPYING in the source distribution for details.
5838 (license license:gpl2+)))
5839
5840 (define-public rhythmbox
5841 (package
5842 (name "rhythmbox")
5843 (version "3.4.4")
5844 (source (origin
5845 (method url-fetch)
5846 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5847 (version-major+minor version) "/"
5848 "rhythmbox-" version ".tar.xz"))
5849 (sha256
5850 (base32
5851 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5852 (build-system glib-or-gtk-build-system)
5853 (arguments
5854 `(#:configure-flags
5855 (list "--enable-lirc"
5856 "--enable-python"
5857 "--enable-vala"
5858 "--with-brasero"
5859 "--with-gudev"
5860 "--with-libsecret")
5861 #:phases
5862 (modify-phases %standard-phases
5863 (add-after
5864 'install 'wrap-rhythmbox
5865 (lambda* (#:key inputs outputs #:allow-other-keys)
5866 (let ((out (assoc-ref outputs "out"))
5867 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5868 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5869 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5870 (python-path (getenv "PYTHONPATH")))
5871 (wrap-program (string-append out "/bin/rhythmbox")
5872 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5873 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5874 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5875 `("PYTHONPATH" ":" prefix (,python-path))))
5876 #t)))))
5877 (propagated-inputs
5878 `(("dconf" ,dconf)))
5879 (native-inputs
5880 `(("itstool" ,itstool)
5881 ("intltool" ,intltool)
5882 ("glib" ,glib "bin")
5883 ("gobject-introspection" ,gobject-introspection)
5884 ("desktop-file-utils" ,desktop-file-utils)
5885 ("pkg-config" ,pkg-config)
5886 ("xmllint" ,libxml2)))
5887 (inputs
5888 `(("json-glib" ,json-glib)
5889 ("tdb" ,tdb)
5890 ("gnome-desktop" ,gnome-desktop)
5891 ("python" ,python)
5892 ("python-pygobject" ,python2-pygobject)
5893 ("vala" ,vala)
5894 ("gmime" ,gmime)
5895 ("adwaita-icon-theme" ,adwaita-icon-theme)
5896 ("grilo" ,grilo)
5897 ("grilo-plugins" ,grilo-plugins)
5898 ("gstreamer" ,gstreamer)
5899 ("gst-plugins-base" ,gst-plugins-base)
5900 ("gst-plugins-good" ,gst-plugins-good)
5901 ("totem-pl-parser" ,totem-pl-parser)
5902 ("libgudev" ,libgudev)
5903 ;;("libmtp" ,libmtp) FIXME: Not detected
5904 ("libsecret" ,libsecret)
5905 ("libsoup" ,libsoup)
5906 ("libnotify" ,libnotify)
5907 ("libpeas" ,libpeas)
5908 ("lirc" ,lirc)
5909 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5910 ;;("clutter" ,clutter)
5911 ;;("clutter-gtk" ,clutter-gtk)
5912 ;;("clutter-gst" ,clutter-gst)
5913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5914 ("atk" ,atk)
5915 ("pango" ,pango)
5916 ("gtk+" ,gtk+)
5917 ;; TODO:
5918 ;; * libgpod
5919 ;; * mx
5920 ("brasero" ,brasero)))
5921 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5922 (synopsis "Music player for GNOME")
5923 (description "Rhythmbox is a music playing application for GNOME. It
5924 supports playlists, song ratings, and any codecs installed through gstreamer.")
5925 (license license:gpl2+)))
5926
5927 (define-public eog
5928 (package
5929 (name "eog")
5930 (version "3.34.1")
5931 (source (origin
5932 (method url-fetch)
5933 (uri (string-append "mirror://gnome/sources/" name "/"
5934 (version-major+minor version) "/"
5935 name "-" version ".tar.xz"))
5936 (sha256
5937 (base32
5938 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5939 (build-system meson-build-system)
5940 (arguments
5941 `(#:configure-flags
5942 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5943 (list (string-append "-Dc_link_args=-Wl,-rpath="
5944 (assoc-ref %outputs "out") "/lib/eog"))
5945 #:phases
5946 (modify-phases %standard-phases
5947 (add-after 'unpack 'skip-gtk-update-icon-cache
5948 ;; Don't create 'icon-theme.cache'.
5949 (lambda _
5950 (substitute* "meson_post_install.py"
5951 (("gtk-update-icon-cache") "true"))
5952 #t))
5953 (add-after 'install 'wrap-eog
5954 (lambda* (#:key outputs #:allow-other-keys)
5955 (let ((out (assoc-ref outputs "out"))
5956 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5957 (wrap-program (string-append out "/bin/eog")
5958 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5959 #t)))))
5960 (propagated-inputs
5961 `(("dconf" ,dconf)))
5962 (native-inputs
5963 `(("intltool" ,intltool)
5964 ("itstool" ,itstool)
5965 ("glib" ,glib "bin")
5966 ("gobject-introspection" ,gobject-introspection)
5967 ("pkg-config" ,pkg-config)
5968 ("xmllint" ,libxml2)))
5969 (inputs
5970 `(("gnome-desktop" ,gnome-desktop)
5971 ("shared-mime-info" ,shared-mime-info)
5972 ("adwaita-icon-theme" ,adwaita-icon-theme)
5973 ("exempi" ,exempi)
5974 ("lcms" ,lcms)
5975 ("libexif" ,libexif)
5976 ("libpeas" ,libpeas)
5977 ("libjpeg" ,libjpeg-turbo)
5978 ("librsvg" ,librsvg-next)
5979 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5980 ("gtk+" ,gtk+)))
5981 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5982 (synopsis "GNOME image viewer")
5983 (description "Eye of GNOME is the GNOME image viewer. It
5984 supports image conversion, rotation, and slideshows.")
5985 (license license:gpl2+)))
5986
5987 (define-public eog-plugins
5988 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5989 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5990 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5991 ;; 'XDG_DATA_DIRS' appropriately set.
5992 (package
5993 (name "eog-plugins")
5994 (version "3.26.4")
5995 (source (origin
5996 (method url-fetch)
5997 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5998 (version-major+minor version) "/"
5999 "eog-plugins-" version ".tar.xz"))
6000 (sha256
6001 (base32
6002 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6003 (build-system gnu-build-system)
6004 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6005 (synopsis "Extensions for the Eye of GNOME image viewer")
6006 (native-inputs
6007 `(("pkg-config" ,pkg-config)
6008 ("gettext" ,gettext-minimal)))
6009 (inputs
6010 `(("eog" ,eog)
6011 ("glib" ,glib)
6012 ("gtk+" ,gtk+)
6013 ("libpeas" ,libpeas)
6014 ("libexif" ,libexif)
6015 ("libchamplain" ,libchamplain)))
6016 (description
6017 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6018 notably:
6019
6020 @itemize
6021 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6022 @item @dfn{Map}, which displays a map of where the picture was taken on the
6023 side panel;
6024 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6025 @end itemize\n")
6026
6027 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6028 ;; long suspicious byte stream that goes to a
6029 ;; ".gresource.eog_postasa_plugin" ELF section.
6030 (license license:gpl2+)))
6031
6032 (define-public libgudev
6033 (package
6034 (name "libgudev")
6035 (version "232")
6036 (source (origin
6037 (method url-fetch)
6038 (uri (string-append "mirror://gnome/sources/" name "/"
6039 version "/" name "-" version ".tar.xz"))
6040 (sha256
6041 (base32
6042 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6043 (build-system gnu-build-system)
6044 (arguments
6045 '(#:configure-flags
6046 ;; umockdev depends on libgudev.
6047 (list "--disable-umockdev")))
6048 (native-inputs
6049 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6050 ("gobject-introspection" ,gobject-introspection)
6051 ("pkg-config" ,pkg-config)))
6052 (propagated-inputs
6053 `(("glib" ,glib))) ; required by gudev-1.0.pc
6054 (inputs
6055 `(("udev" ,eudev)))
6056 (home-page "https://wiki.gnome.org/Projects/libgudev")
6057 (synopsis "GObject bindings for libudev")
6058 (description
6059 "This library provides GObject bindings for libudev. It was originally
6060 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6061 (license license:lgpl2.1+)))
6062
6063 (define-public gvfs
6064 (package
6065 (name "gvfs")
6066 (version "1.40.1")
6067 (source (origin
6068 (method url-fetch)
6069 (uri (string-append "mirror://gnome/sources/gvfs/"
6070 (version-major+minor version) "/"
6071 "gvfs-" version ".tar.xz"))
6072 (sha256
6073 (base32
6074 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6075 ;; This patch may be removed when upgrading to version 1.46.x.
6076 (patches
6077 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6078 (build-system meson-build-system)
6079 (arguments
6080 '(#:glib-or-gtk? #t
6081 #:configure-flags
6082 (list "-Dsystemduserunitdir=no"
6083 "-Dtmpfilesdir=no"
6084 ;; Otherwise, the RUNPATH will lack the final path component.
6085 (string-append "-Dc_link_args=-Wl,-rpath="
6086 (assoc-ref %outputs "out") "/lib/gvfs"))))
6087 (native-inputs
6088 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6089 ("gettext" ,gettext-minimal)
6090 ("gtk-doc" ,gtk-doc)
6091 ("pkg-config" ,pkg-config)
6092 ("xsltproc" ,libxslt)))
6093 (inputs
6094 `(("avahi" ,avahi)
6095 ("docbook-xml" ,docbook-xml-4.2)
6096 ("docbook-xsl" ,docbook-xsl)
6097 ("dbus" ,dbus)
6098 ("elogind" ,elogind)
6099 ("fuse" ,fuse)
6100 ("gcr" ,gcr)
6101 ("glib" ,glib)
6102 ("gnome-online-accounts" ,gnome-online-accounts)
6103 ("libarchive" ,libarchive)
6104 ("libbluray" ,libbluray)
6105 ("libcap" ,libcap)
6106 ("libcdio-paranoia" ,libcdio-paranoia)
6107 ("libgcrypt" ,libgcrypt)
6108 ("libgdata" ,libgdata)
6109 ("libgphoto2" ,libgphoto2)
6110 ("libgudev" ,libgudev)
6111 ("libimobiledevice" ,libimobiledevice)
6112 ("libmtp" ,libmtp)
6113 ("libnfs" ,libnfs)
6114 ("libsecret" ,libsecret)
6115 ("libsmbclient" ,samba)
6116 ("libsoup" ,libsoup)
6117 ("libxml2" ,libxml2)
6118 ("openssh" ,openssh)
6119 ("polkit" ,polkit)
6120 ("udisks" ,udisks)))
6121 (home-page "https://wiki.gnome.org/gvfs/")
6122 (synopsis "Userspace virtual file system for GIO")
6123 (description
6124 "GVFS is a userspace virtual file system designed to work with the I/O
6125 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6126 to all applications using the GIO API. It also supports exposing the GVFS
6127 mounts to non-GIO applications using FUSE.
6128
6129 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6130 DAV, and others.")
6131 (license license:lgpl2.0+)))
6132
6133 (define-public gusb
6134 (package
6135 (name "gusb")
6136 (version "0.3.0")
6137 (source (origin
6138 (method git-fetch)
6139 (uri (git-reference
6140 (url "https://github.com/hughsie/libgusb")
6141 (commit version)))
6142 (file-name (git-file-name name version))
6143 (sha256
6144 (base32
6145 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6146 (build-system meson-build-system)
6147 (native-inputs
6148 `(("gobject-introspection" ,gobject-introspection)
6149 ("pkg-config" ,pkg-config)
6150 ("vala" ,vala)
6151 ("gtk-doc" ,gtk-doc)))
6152 (propagated-inputs
6153 ;; Both of these are required by gusb.pc.
6154 `(("glib" ,glib)
6155 ("libusb" ,libusb)))
6156 (arguments
6157 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6158 (home-page "https://github.com/hughsie/libgusb")
6159 (synopsis "GLib binding for libusb1")
6160 (description
6161 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6162 asynchronous control, bulk and interrupt transfers with proper cancellation
6163 and integration into a mainloop. This makes it easy to integrate low level
6164 USB transfers with your high-level application or system daemon.")
6165 (license license:lgpl2.1+)))
6166
6167 (define-public simple-scan
6168 (package
6169 (name "simple-scan")
6170 (version "3.36.4")
6171 (source
6172 (origin
6173 (method url-fetch)
6174 (uri (string-append "mirror://gnome/sources/simple-scan/"
6175 (version-major+minor version) "/"
6176 "simple-scan-" version ".tar.xz"))
6177 (sha256
6178 (base32 "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn"))))
6179 (build-system meson-build-system)
6180 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6181 (arguments
6182 '(#:glib-or-gtk? #t))
6183 (inputs
6184 `(("gtk" ,gtk+)
6185 ("zlib" ,zlib)
6186 ("cairo" ,cairo)
6187 ("colord" ,colord)
6188 ("gdk-pixbuf" ,gdk-pixbuf)
6189 ("gusb" ,gusb)
6190 ("libsane" ,sane-backends)))
6191 (native-inputs
6192 `(("gettext" ,gettext-minimal)
6193 ("itstool" ,itstool)
6194 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6195 ("pkg-config" ,pkg-config)
6196 ("vala" ,vala)
6197 ("xmllint" ,libxml2)))
6198 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6199 (synopsis "Document and image scanner")
6200 (description
6201 "Document Scanner is an easy-to-use application that lets you connect your
6202 scanner and quickly capture images and documents in an appropriate format. It
6203 supports any scanner for which a suitable SANE driver is available, which is
6204 almost all of them.")
6205 (license license:gpl3+)))
6206
6207 (define-public eolie
6208 (package
6209 (name "eolie")
6210 (version "0.9.98.1")
6211 (source (origin
6212 (method url-fetch)
6213 (uri (string-append "https://adishatz.org/eolie/eolie-"
6214 version ".tar.xz"))
6215 (sha256
6216 (base32
6217 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
6218 (build-system meson-build-system)
6219 (arguments
6220 `(#:glib-or-gtk? #t
6221 #:phases
6222 (modify-phases %standard-phases
6223 (add-after 'unpack 'skip-gtk-update-icon-cache
6224 ;; Don't create 'icon-theme.cache'.
6225 (lambda _
6226 (substitute* "meson_post_install.py"
6227 (("gtk-update-icon-cache") "true"))
6228 #t))
6229 (add-after 'wrap 'wrap-more
6230 (lambda* (#:key inputs outputs #:allow-other-keys)
6231 (let* ((out (assoc-ref outputs "out"))
6232 ;; These libraries must be on LD_LIBRARY_PATH.
6233 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6234 "atk" "gtk+" "gsettings-desktop-schemas"
6235 "gobject-introspection"))
6236 (path (string-join
6237 (map (lambda (lib)
6238 (string-append (assoc-ref inputs lib) "/lib"))
6239 libs)
6240 ":")))
6241 (wrap-program (string-append out "/bin/eolie")
6242 `("LD_LIBRARY_PATH" ":" prefix (,path))
6243 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6244 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6245 #t)))))
6246 (native-inputs
6247 `(("intltool" ,intltool)
6248 ("itstool" ,itstool)
6249 ("pkg-config" ,pkg-config)
6250 ("python" ,python)
6251 ("glib:bin" ,glib "bin")))
6252 (inputs
6253 `(("gobject-introspection" ,gobject-introspection)
6254 ("glib-networking" ,glib-networking)
6255 ("cairo" ,cairo)
6256 ("gtk+" ,gtk+)
6257 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6258 ("python" ,python-wrapper)
6259 ("python-dateutil" ,python-dateutil)
6260 ("python-pyfxa" ,python-pyfxa)
6261 ("python-pygobject" ,python-pygobject)
6262 ("python-pycairo" ,python-pycairo)
6263 ("python-pycrypto" ,python-pycrypto)
6264 ("libsecret" ,libsecret)
6265 ("gtkspell3" ,gtkspell3)
6266 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6267 ("webkitgtk" ,webkitgtk)))
6268 (home-page "https://wiki.gnome.org/Apps/Eolie")
6269 (synopsis "Web browser for GNOME")
6270 (description
6271 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6272 a secret password store, an adblocker, and a modern UI.")
6273 (license license:gpl3+)))
6274
6275 (define-public epiphany
6276 (package
6277 (name "epiphany")
6278 (version "3.34.4")
6279 (source (origin
6280 (method url-fetch)
6281 (uri (string-append "mirror://gnome/sources/epiphany/"
6282 (version-major+minor version) "/"
6283 "epiphany-" version ".tar.xz"))
6284 (sha256
6285 (base32
6286 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6287
6288 (build-system meson-build-system)
6289 (arguments
6290 '(#:glib-or-gtk? #t
6291 #:phases
6292 (modify-phases %standard-phases
6293 (add-after 'unpack 'skip-gtk-update-icon-cache
6294 ;; Don't create 'icon-theme.cache'.
6295 (lambda _
6296 (substitute* "post_install.py"
6297 (("gtk-update-icon-cache") "true"))
6298 #t))
6299 (add-after 'unpack 'disable-failing-tests
6300 (lambda _
6301 (substitute* "tests/meson.build"
6302 ;; embed_shell fails, because webkitgtk apparently no longer supports
6303 ;; overriding the ftp schema
6304 ;; web_app_utils fails due to missing network access
6305 (("(embed_shell|web_app_utils)_test,")
6306 "find_program('sh'), args: ['-c', 'exit 77'],"))
6307 #t))
6308 (add-before 'check 'pre-check
6309 (lambda _
6310 ;; Tests require a running X server.
6311 (system "Xvfb :1 &")
6312 (setenv "DISPLAY" ":1")
6313 #t)))
6314 #:configure-flags
6315 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6316 (list (string-append "-Dc_link_args=-Wl,-rpath="
6317 (assoc-ref %outputs "out") "/lib/epiphany"))))
6318 (propagated-inputs
6319 `(("dconf" ,dconf)))
6320 (native-inputs
6321 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6322 ("glib:bin" ,glib "bin") ; for glib-mkenums
6323 ("intltool" ,intltool)
6324 ("itstool" ,itstool)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)
6327 ("xorg-server" ,xorg-server-for-tests)))
6328 (inputs
6329 `(("avahi" ,avahi)
6330 ("gcr" ,gcr)
6331 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6332 ("glib-networking" ,glib-networking)
6333 ("gnome-desktop" ,gnome-desktop)
6334 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6335 ("json-glib" ,json-glib)
6336 ("iso-codes" ,iso-codes)
6337 ("libdazzle" ,libdazzle)
6338 ("libnotify" ,libnotify)
6339 ("libsecret" ,libsecret)
6340 ("libxslt" ,libxslt)
6341 ("nettle" ,nettle) ; for hogweed
6342 ("sqlite" ,sqlite)
6343 ("webkitgtk" ,webkitgtk)))
6344 (home-page "https://wiki.gnome.org/Apps/Web")
6345 (synopsis "GNOME web browser")
6346 (description
6347 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6348 principles are simplicity and standards compliance.")
6349 (license license:gpl2+)))
6350
6351 (define-public d-feet
6352 (package
6353 (name "d-feet")
6354 (version "0.3.14")
6355 (source (origin
6356 (method url-fetch)
6357 (uri (string-append "mirror://gnome/sources/" name "/"
6358 (version-major+minor version) "/"
6359 name "-" version ".tar.xz"))
6360 (sha256
6361 (base32
6362 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6363 (build-system glib-or-gtk-build-system)
6364 (arguments
6365 '(#:out-of-source? #f ; tests need to run in the source directory.
6366 #:phases
6367 (modify-phases %standard-phases
6368 (add-before
6369 'check 'pre-check
6370 (lambda _
6371 ;; The test suite requires a running X server.
6372 (system "Xvfb :1 &")
6373 (setenv "DISPLAY" ":1")
6374 ;; Don't fail on missing '/etc/machine-id'.
6375 (setenv "DBUS_FATAL_WARNINGS" "0")
6376 ;; tests.py and window.py don't meet E402:
6377 ;; E402 module level import not at top of file
6378 (substitute* "src/tests/Makefile"
6379 (("--ignore=E123") "--ignore=E123,E402"))
6380 #t))
6381 (add-after
6382 'install 'wrap-program
6383 (lambda* (#:key outputs #:allow-other-keys)
6384 (let ((prog (string-append (assoc-ref outputs "out")
6385 "/bin/d-feet")))
6386 (wrap-program prog
6387 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6388 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6389 #t))))))
6390 (native-inputs
6391 `(("intltool" ,intltool)
6392 ("itstool" ,itstool)
6393 ("pkg-config" ,pkg-config)
6394 ("python-pep8" ,python-pep8)
6395 ("xmllint" ,libxml2)
6396 ("xorg-server" ,xorg-server-for-tests)))
6397 (inputs
6398 `(("gobject-introspection" ,gobject-introspection)
6399 ("gtk+" ,gtk+)
6400 ("python" ,python-wrapper)
6401 ("hicolor-icon-theme" ,hicolor-icon-theme)
6402 ("python-pygobject" ,python-pygobject)))
6403 (home-page "https://wiki.gnome.org/Apps/DFeet")
6404 (synopsis "D-Bus debugger")
6405 (description
6406 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6407 of running programs and invoke methods on those interfaces.")
6408 (license license:gpl2+)))
6409
6410 (define-public yelp-xsl
6411 (package
6412 (name "yelp-xsl")
6413 (version "3.34.2")
6414 (source (origin
6415 (method url-fetch)
6416 (uri (string-append "mirror://gnome/sources/" name "/"
6417 (version-major+minor version) "/"
6418 name "-" version ".tar.xz"))
6419 (sha256
6420 (base32
6421 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6422 (build-system gnu-build-system)
6423 (native-inputs
6424 `(("gettext-minimal" ,gettext-minimal)
6425 ("itstool" ,itstool)
6426 ("xmllint" ,libxml2)))
6427 (home-page "https://wiki.gnome.org/Apps/Yelp")
6428 (synopsis "XSL stylesheets for Yelp")
6429 (description
6430 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
6431 to format Docbook and Mallard documents.")
6432 (license license:gpl2+)))
6433
6434 (define-public yelp
6435 (package
6436 (name "yelp")
6437 (version "3.32.2")
6438 (source (origin
6439 (method url-fetch)
6440 (uri (string-append "mirror://gnome/sources/" name "/"
6441 (version-major+minor version) "/"
6442 name "-" version ".tar.xz"))
6443 (sha256
6444 (base32
6445 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6446 (build-system glib-or-gtk-build-system)
6447 (native-inputs
6448 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6449 ("intltool" ,intltool)
6450 ("itstool" ,itstool)
6451 ("pkg-config" ,pkg-config)))
6452 (propagated-inputs
6453 `(("dconf" ,dconf)))
6454 (inputs
6455 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6456 ("libxslt" ,libxslt)
6457 ("sqlite" ,sqlite)
6458 ("webkitgtk" ,webkitgtk)
6459 ("yelp-xsl" ,yelp-xsl)))
6460 (home-page "https://wiki.gnome.org/Apps/Yelp")
6461 (synopsis "GNOME help browser")
6462 (description
6463 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6464 man, info, and HTML documents. It can locate documents according to the
6465 freedesktop.org help system specification.")
6466 (license license:gpl2+)))
6467
6468 (define-public yelp-tools
6469 (package
6470 (name "yelp-tools")
6471 (version "3.32.2")
6472 (source (origin
6473 (method url-fetch)
6474 (uri (string-append "mirror://gnome/sources/" name "/"
6475 (version-major+minor version) "/"
6476 name "-" version ".tar.xz"))
6477 (sha256
6478 (base32
6479 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6480 (build-system gnu-build-system)
6481 (native-inputs
6482 `(("pkg-config" ,pkg-config)))
6483 (propagated-inputs
6484 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6485 `(("itstool" ,itstool)
6486 ("xmllint" ,libxml2)
6487 ("xsltproc" ,libxslt)))
6488 (inputs
6489 `(("yelp-xsl" ,yelp-xsl)))
6490 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6491 (synopsis "Yelp documentation tools")
6492 (description
6493 "Yelp-tools is a collection of scripts and build utilities to help create,
6494 manage, and publish documentation for Yelp and the web. Most of the heavy
6495 lifting is done by packages like yelp-xsl and itstool. This package just
6496 wraps things up in a developer-friendly way.")
6497 (license license:gpl2+)))
6498
6499 (define-public libgee
6500 (package
6501 (name "libgee")
6502 (version "0.20.3")
6503 (source (origin
6504 (method url-fetch)
6505 (uri (string-append "mirror://gnome/sources/libgee/"
6506 (version-major+minor version) "/"
6507 "libgee-" version ".tar.xz"))
6508 (sha256
6509 (base32
6510 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6511 (build-system gnu-build-system)
6512 (arguments
6513 `(#:phases
6514 (modify-phases %standard-phases
6515 (add-after 'unpack 'fix-introspection-install-dir
6516 (lambda* (#:key outputs #:allow-other-keys)
6517 (let ((out (assoc-ref outputs "out")))
6518 (substitute* "gee/Makefile.in"
6519 (("@INTROSPECTION_GIRDIR@")
6520 (string-append out "/share/gir-1.0/"))
6521 (("@INTROSPECTION_TYPELIBDIR@")
6522 (string-append out "/lib/girepository-1.0/")))))))))
6523 (native-inputs
6524 `(("glib" ,glib "bin")
6525 ("pkg-config" ,pkg-config)))
6526 (inputs
6527 `(("glib" ,glib)
6528 ("gobject-introspection" ,gobject-introspection)))
6529 (home-page "https://wiki.gnome.org/Projects/Libgee")
6530 (synopsis "GObject collection library")
6531 (description
6532 "Libgee is a utility library providing GObject-based interfaces and
6533 classes for commonly used data structures.")
6534 (license license:lgpl2.1+)))
6535
6536 (define-public gexiv2
6537 (package
6538 (name "gexiv2")
6539 (version "0.12.1")
6540 (source (origin
6541 (method url-fetch)
6542 (uri (string-append "mirror://gnome/sources/" name "/"
6543 (version-major+minor version) "/"
6544 name "-" version ".tar.xz"))
6545 (sha256
6546 (base32
6547 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6548 (build-system meson-build-system)
6549 (native-inputs
6550 `(("gcr" ,gcr)
6551 ("glib" ,glib "bin")
6552 ("pkg-config" ,pkg-config)
6553 ("vala" ,vala)))
6554 (propagated-inputs
6555 ;; Listed in "Requires" section of gexiv2.pc
6556 `(("exiv2" ,exiv2)))
6557 (inputs
6558 `(("glib" ,glib)
6559 ("gobject-introspection" ,gobject-introspection)))
6560 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6561 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6562 (description
6563 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6564 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6565 metadata in photo and video files of various formats.")
6566 (license license:gpl2+)))
6567
6568 (define-public shotwell
6569 (package
6570 (name "shotwell")
6571 (version "0.30.9")
6572 (source (origin
6573 (method url-fetch)
6574 (uri (string-append "mirror://gnome/sources/shotwell/"
6575 (version-major+minor version) "/"
6576 "shotwell-" version ".tar.xz"))
6577 (sha256
6578 (base32
6579 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6580 (build-system meson-build-system)
6581 (arguments
6582 '(#:glib-or-gtk? #t
6583 #:phases
6584 (modify-phases %standard-phases
6585 (add-after 'unpack 'skip-gtk-update-icon-cache
6586 (lambda _
6587 (substitute* "build-aux/meson/postinstall.py"
6588 (("gtk-update-icon-cache") (which "true"))
6589 (("update-desktop-database") (which "true")))
6590 #t)))))
6591 (propagated-inputs
6592 `(("dconf" ,dconf)))
6593 (native-inputs
6594 `(("gettext" ,gettext-minimal)
6595 ("glib:bin" ,glib "bin")
6596 ("itstool" ,itstool)
6597 ("pkg-config" ,pkg-config)
6598 ("vala" ,vala)))
6599 (inputs
6600 `(("gcr" ,gcr)
6601 ("gexiv2" ,gexiv2)
6602 ("gst-plugins-base" ,gst-plugins-base)
6603 ("gstreamer" ,gstreamer)
6604 ("json-glib" ,json-glib)
6605 ("libgdata" ,libgdata)
6606 ("libgee" ,libgee)
6607 ("libgphoto2" ,libgphoto2)
6608 ("libgudev" ,libgudev)
6609 ("libraw" ,libraw)
6610 ("libsoup" ,libsoup)
6611 ("libxml2" ,libxml2)
6612 ("sqlite" ,sqlite)
6613 ("webkitgtk" ,webkitgtk)))
6614 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6615 (synopsis "Photo manager for GNOME 3")
6616 (description
6617 "Shotwell is a digital photo manager designed for the GNOME desktop
6618 environment. It allows you to import photos from disk or camera, organize
6619 them by keywords and events, view them in full-window or fullscreen mode, and
6620 share them with others via social networking and more.")
6621 (license license:lgpl2.1+)))
6622
6623 (define-public file-roller
6624 (package
6625 (name "file-roller")
6626 (version "3.32.3")
6627 (source (origin
6628 (method url-fetch)
6629 (uri (string-append "mirror://gnome/sources/file-roller/"
6630 (version-major+minor version) "/"
6631 "file-roller-" version ".tar.xz"))
6632 (sha256
6633 (base32
6634 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6635 (build-system meson-build-system)
6636 (native-inputs
6637 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6638 ("intltool" ,intltool)
6639 ("itstool" ,itstool)
6640 ("pkg-config" ,pkg-config)
6641 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6642 ("glib:bin" ,glib "bin")))
6643 ;; TODO: Add libnautilus.
6644 (inputs
6645 `(("gtk+" ,gtk+)
6646 ("gdk-pixbuf" ,gdk-pixbuf)
6647 ("json-glib" ,json-glib)
6648 ("libarchive" ,libarchive)
6649 ("libnotify" ,libnotify)
6650 ("nettle" ,nettle)
6651 ("libxml2" ,libxml2)))
6652 (synopsis "Graphical archive manager for GNOME")
6653 (description "File Roller is an archive manager for the GNOME desktop
6654 environment that allows users to view, unpack, and create compressed archives
6655 such as gzip tarballs.")
6656 (home-page "http://fileroller.sourceforge.net/")
6657 (license license:gpl2+)))
6658
6659 (define-public gnome-session
6660 (package
6661 (name "gnome-session")
6662 (version "3.34.2")
6663 (source (origin
6664 (method url-fetch)
6665 (uri (string-append "mirror://gnome/sources/" name "/"
6666 (version-major+minor version) "/"
6667 name "-" version ".tar.xz"))
6668 (sha256
6669 (base32
6670 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6671 (arguments
6672 '(#:glib-or-gtk? #t
6673 #:phases
6674 (modify-phases %standard-phases
6675 (add-before 'configure 'pre-configure
6676 (lambda* (#:key outputs #:allow-other-keys)
6677 ;; Use elogind instead of systemd.
6678 (substitute* "meson.build"
6679 (("libsystemd-login") "libelogind")
6680 (("and libsystemd_daemon_dep.found.*") ","))
6681 (substitute* "gnome-session/gsm-systemd.c"
6682 (("#include <systemd/sd-login.h>")
6683 "#include <elogind/sd-login.h>"))
6684 ;; Remove uses of the systemd daemon.
6685 (substitute* "gnome-session/gsm-autostart-app.c"
6686 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6687 #t))
6688 (add-after 'install 'wrap-gnome-session
6689 (lambda* (#:key inputs outputs #:allow-other-keys)
6690 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6691 (let ((glib (assoc-ref inputs "glib:bin"))
6692 (out (assoc-ref outputs "out")))
6693 (wrap-program (string-append out "/bin/gnome-session")
6694 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6695 #t))))
6696
6697 #:configure-flags
6698 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6699 "-Dman=false" ; FIXME: disabled because of docbook validation error
6700 "-Dsystemd_journal=false")))
6701 (build-system meson-build-system)
6702 (native-inputs
6703 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6704 ("pkg-config" ,pkg-config)
6705 ("intltool" ,intltool)
6706 ("xsltproc" ,libxslt)
6707 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6708 ("docbook-xsl" ,docbook-xsl)
6709 ("docbook-xml" ,docbook-xml)
6710 ("xmlto" ,xmlto)))
6711 (inputs
6712 `(("elogind" ,elogind)
6713 ("gnome-desktop" ,gnome-desktop)
6714 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6715 ("gtk+" ,gtk+)
6716 ("json-glib" ,json-glib)
6717 ("libsm" ,libsm)
6718 ("libxcomposite" ,libxcomposite)
6719 ("libxtst" ,libxtst)
6720 ("mesa" ,mesa)
6721 ("upower" ,upower)
6722 ("xtrans" ,xtrans)))
6723 (synopsis "Session manager for GNOME")
6724 (description
6725 "This package contains the GNOME session manager, as well as a
6726 configuration program to choose applications starting on login.")
6727 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6728 (license license:gpl2+)))
6729
6730 (define-public gjs
6731 (package
6732 (name "gjs")
6733 (version "1.58.3")
6734 (source (origin
6735 (method url-fetch)
6736 (uri (string-append "mirror://gnome/sources/" name "/"
6737 (version-major+minor version) "/"
6738 name "-" version ".tar.xz"))
6739 (sha256
6740 (base32
6741 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6742 (build-system gnu-build-system)
6743 (arguments
6744 '(#:phases
6745 (modify-phases %standard-phases
6746 (add-before
6747 'check 'pre-check
6748 (lambda _
6749 ;; The test suite requires a running X server.
6750 (system "Xvfb :1 &")
6751 (setenv "DISPLAY" ":1")
6752
6753 ;; For the missing /etc/machine-id.
6754 (setenv "DBUS_FATAL_WARNINGS" "0")
6755
6756 ;; Our mozjs-38 package does not compile the required Intl API
6757 ;; support for these failing tests.
6758 (substitute* "installed-tests/js/testLocale.js"
6759 ((".*toBeDefined.*") "")
6760 ((".*expect\\(datestr\\).*") ""))
6761 (substitute* "installed-tests/scripts/testCommandLine.sh"
6762 (("Valentín") "")
6763 (("☭") ""))
6764 #t)))))
6765 (native-inputs
6766 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6767 ("pkg-config" ,pkg-config)
6768 ("xmllint" ,libxml2)
6769 ;; For testing
6770 ("dbus-launch" ,dbus)
6771 ("dconf" ,dconf) ; required to properly store settings
6772 ("uuidgen" ,util-linux)
6773 ("xvfb" ,xorg-server-for-tests)))
6774 (propagated-inputs
6775 ;; These are all in the Requires.private field of gjs-1.0.pc.
6776 `(("cairo" ,cairo)
6777 ("gobject-introspection" ,gobject-introspection)
6778 ("mozjs" ,mozjs-60)))
6779 (inputs
6780 `(("gtk+" ,gtk+)
6781 ("readline" ,readline)))
6782 (synopsis "Javascript bindings for GNOME")
6783 (home-page "https://live.gnome.org/Gjs")
6784 (description
6785 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6786 javascript engine and the GObject introspection framework.")
6787 (license license:gpl2+)))
6788
6789 (define-public gedit
6790 (package
6791 (name "gedit")
6792 (version "3.34.1")
6793 (source (origin
6794 (method url-fetch)
6795 (uri (string-append "mirror://gnome/sources/" name "/"
6796 (version-major+minor version) "/"
6797 name "-" version ".tar.xz"))
6798 (sha256
6799 (base32
6800 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6801 (build-system meson-build-system)
6802 (arguments
6803 `(#:glib-or-gtk? #t
6804 #:configure-flags
6805 ;; Otherwise, the RUNPATH will lack the final path component.
6806 (list (string-append "-Dc_link_args=-Wl,-rpath="
6807 (assoc-ref %outputs "out") "/lib/gedit"))
6808
6809 ;; XXX: Generated .h files are sometimes used before being built.
6810 #:parallel-build? #f
6811
6812 #:phases
6813 (modify-phases %standard-phases
6814 (add-after 'unpack 'skip-gtk-update-icon-cache
6815 ;; Don't create 'icon-theme.cache'.
6816 (lambda _
6817 (substitute* "build-aux/meson/post_install.py"
6818 (("gtk-update-icon-cache") (which "true")))
6819 #t))
6820 (add-after 'unpack 'patch-libgd-fetch
6821 (lambda* (#:key inputs #:allow-other-keys)
6822 (let ((libgd (assoc-ref inputs "libgd")))
6823 ;; Calling git is unnecessary because libgd is fetched as a
6824 ;; native input to this package.
6825 (substitute* "meson.build"
6826 ((".*git.*") ""))
6827 (copy-recursively libgd "subprojects/libgd")
6828 #t)))
6829 (add-after 'install 'wrap-gedit
6830 (lambda* (#:key inputs outputs #:allow-other-keys)
6831 (let ((out (assoc-ref outputs "out"))
6832 (gtksourceview (assoc-ref inputs "gtksourceview"))
6833 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6834 (python-path (getenv "PYTHONPATH")))
6835 (wrap-program (string-append out "/bin/gedit")
6836 ;; For plugins.
6837 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6838 `("PYTHONPATH" ":" prefix (,python-path))
6839 ;; For language-specs.
6840 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6841 "/share")))))
6842 #t)))))
6843 (propagated-inputs
6844 `(("dconf" ,dconf)))
6845 (native-inputs
6846 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6847 ("intltool" ,intltool)
6848 ("itstool" ,itstool)
6849 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6850 ("gobject-introspection" ,gobject-introspection)
6851 ("libgd"
6852 ,(origin
6853 (method git-fetch)
6854 (uri (git-reference
6855 (url "https://gitlab.gnome.org/GNOME/libgd")
6856 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6857 (file-name (git-file-name "libgd" version))
6858 (sha256
6859 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6860 ("pkg-config" ,pkg-config)))
6861 (inputs
6862 `(("glib" ,glib)
6863 ("gspell" ,gspell)
6864 ("gtk+" ,gtk+)
6865 ("gtksourceview" ,gtksourceview)
6866 ("libpeas" ,libpeas)
6867 ("libxml2" ,libxml2)
6868 ("iso-codes" ,iso-codes)
6869 ("python-pygobject" ,python-pygobject)
6870 ("python" ,python)
6871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6872 ("libx11" ,libx11)
6873 ("vala" ,vala)
6874 ("adwaita-icon-theme" ,adwaita-icon-theme)
6875 ("libsoup" ,libsoup)
6876 ("gnome-desktop" ,gnome-desktop)))
6877 (home-page "https://wiki.gnome.org/Apps/Gedit")
6878 (synopsis "GNOME text editor")
6879 (description "While aiming at simplicity and ease of use, gedit is a
6880 powerful general purpose text editor.")
6881 (license license:gpl2+)))
6882
6883 (define-public zenity
6884 (package
6885 (name "zenity")
6886 (version "3.32.0")
6887 (source (origin
6888 (method url-fetch)
6889 (uri (string-append "mirror://gnome/sources/zenity/"
6890 (version-major+minor version) "/"
6891 "zenity-" version ".tar.xz"))
6892 (sha256
6893 (base32
6894 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6895 (build-system gnu-build-system)
6896 (native-inputs
6897 `(("gettext" ,gettext-minimal)
6898 ("itstool" ,itstool)
6899 ("pkg-config" ,pkg-config)))
6900 (inputs
6901 `(("libnotify" ,libnotify)
6902 ("webkitgtk" ,webkitgtk)))
6903 (synopsis "Display graphical dialog boxes from shell scripts")
6904 (home-page "https://www.gnome.org")
6905 (description
6906 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6907 to display dialog boxes from the commandline and shell scripts.")
6908 (license license:lgpl2.0+)))
6909
6910 (define-public mutter
6911 (package
6912 (name "mutter")
6913 (version "3.34.2")
6914 (source (origin
6915 (method url-fetch)
6916 (uri (string-append "mirror://gnome/sources/" name "/"
6917 (version-major+minor version) "/"
6918 name "-" version ".tar.xz"))
6919 (sha256
6920 (base32
6921 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6922 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6923 ;; versions of cogl and clutter. As a result, many of the inputs,
6924 ;; propagated-inputs, and configure flags used in cogl and clutter are
6925 ;; needed here as well.
6926 (build-system meson-build-system)
6927 (arguments
6928 '(;; XXX: All mutter tests fail with the following error:
6929 ;; Settings schema 'org.gnome.mutter' is not installed
6930 #:tests? #f
6931 #:glib-or-gtk? #t
6932 #:configure-flags
6933 ;; TODO: Enable profiler when Sysprof is packaged.
6934 (list "-Dprofiler=false"
6935 ;; Otherwise, the RUNPATH will lack the final path component.
6936 (string-append "-Dc_link_args=-Wl,-rpath="
6937 (assoc-ref %outputs "out") "/lib:"
6938 (assoc-ref %outputs "out") "/lib/mutter-5")
6939
6940 ;; The following flags are needed for the bundled clutter
6941 (string-append "-Dxwayland_path="
6942 (assoc-ref %build-inputs "xorg-server-xwayland")
6943 "/bin/Xwayland")
6944
6945 ;; the remaining flags are needed for the bundled cogl
6946 (string-append "-Dopengl_libname="
6947 (assoc-ref %build-inputs "mesa")
6948 "/lib/libGL.so"))
6949 #:phases (modify-phases %standard-phases
6950 (add-after 'unpack 'fix-build-with-mesa-20
6951 (lambda _
6952 ;; Mimic upstream commit a444a4c5f58ea516ad for
6953 ;; compatibility with Mesa 20. Remove for 3.36.
6954 (substitute* '("src/backends/meta-egl-ext.h"
6955 "src/backends/meta-egl.c"
6956 "src/backends/meta-egl.h")
6957 (("#include <EGL/eglext\\.h>" all)
6958 (string-append all "\n#include <EGL/eglmesaext.h>")))
6959 (substitute* "cogl/cogl/meson.build"
6960 (("#include <EGL/eglext\\.h>" all)
6961 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6962 #t)))))
6963 (native-inputs
6964 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6965 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6966 ("gobject-introspection" ,gobject-introspection)
6967 ("intltool" ,intltool)
6968 ("pkg-config" ,pkg-config)
6969 ("xorg-server" ,xorg-server-for-tests)
6970 ;; For git build
6971 ("autoconf" ,autoconf)
6972 ("automake" ,automake)
6973 ("libtool" ,libtool)))
6974 (propagated-inputs
6975 `(;; libmutter.pc refers to these:
6976 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6977 ("gtk+" ,gtk+)
6978 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6979 ("atk" ,atk)
6980 ("cairo" ,cairo)
6981 ("gdk-pixbuf" ,gdk-pixbuf)
6982 ("glib" ,glib)
6983 ("json-glib" ,json-glib)
6984 ("libinput" ,libinput)
6985 ("libx11" ,libx11)
6986 ("libxcomposite" ,libxcomposite)
6987 ("libxdamage" ,libxdamage)
6988 ("libxext" ,libxext)
6989 ("libxfixes" ,libxfixes)
6990 ("libxkbcommon" ,libxkbcommon)
6991 ("libxrandr" ,libxrandr)
6992 ("mesa" ,mesa)
6993 ("pango" ,pango)
6994 ("udev" ,eudev)
6995 ("xinput" ,xinput)))
6996 (inputs
6997 `(("elogind" ,elogind)
6998 ("gnome-desktop" ,gnome-desktop)
6999 ("gnome-settings-daemon" ,gnome-settings-daemon)
7000 ("libcanberra-gtk" ,libcanberra)
7001 ("libgudev" ,libgudev)
7002 ("libice" ,libice)
7003 ("libsm" ,libsm)
7004 ("libwacom" ,libwacom)
7005 ("libxkbfile" ,libxkbfile)
7006 ("libxrandr" ,libxrandr)
7007 ("libxtst" ,libxtst)
7008 ("pipewire" ,pipewire)
7009 ("startup-notification" ,startup-notification)
7010 ("upower-glib" ,upower)
7011 ("xkeyboard-config" ,xkeyboard-config)
7012 ("xorg-server-xwayland" ,xorg-server-xwayland)
7013 ("zenity" ,zenity)))
7014 (synopsis "Window and compositing manager")
7015 (home-page "https://www.gnome.org")
7016 (description
7017 "Mutter is a window and compositing manager that displays and manages your
7018 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7019 Clutter toolkit with solid window-management logic inherited from the Metacity
7020 window manager.")
7021 (license license:gpl2+)))
7022
7023 (define-public gnome-online-accounts
7024 (package
7025 (name "gnome-online-accounts")
7026 (version "3.36.0")
7027 (source (origin
7028 (method url-fetch)
7029 (uri (string-append "mirror://gnome/sources/" name "/"
7030 (version-major+minor version) "/"
7031 name "-" version ".tar.xz"))
7032 (sha256
7033 (base32
7034 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7035 (outputs '("out" "lib"))
7036 (build-system glib-or-gtk-build-system)
7037 (arguments
7038 `(#:configure-flags
7039 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7040 #:phases
7041 (modify-phases %standard-phases
7042 (add-before 'configure 'patch-libgoa-output
7043 (lambda* (#:key outputs #:allow-other-keys)
7044 (let ((lib (assoc-ref outputs "lib")))
7045 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7046 (("@prefix@") lib)
7047 (("@exec_prefix@") lib)
7048 (("@libdir@") (string-append lib "/lib"))
7049 (("@includedir@") (string-append lib "/include"))
7050 (("@datadir@") (string-append lib "/share")))
7051 ;; Make sure gobject-introspection knows about the output
7052 ;; too (see <https://bugs.gnu.org/36535>).
7053 (setenv "outputs" "out lib")
7054 #t))))))
7055 (native-inputs
7056 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7057 ("gobject-introspection" ,gobject-introspection)
7058 ("intltool" ,intltool)
7059 ("pkg-config" ,pkg-config)
7060 ("vala" ,vala)
7061 ("xsltproc" ,libxslt)))
7062 (propagated-inputs
7063 `(("glib" ,glib) ; required by goa-1.0.pc
7064 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7065 (inputs
7066 `(("docbook-xsl" ,docbook-xsl)
7067 ("json-glib" ,json-glib)
7068 ("libsecret" ,libsecret)
7069 ("rest" ,rest)
7070 ("webkitgtk" ,webkitgtk)))
7071 (synopsis "Single sign-on framework for GNOME")
7072 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7073 (description
7074 "GNOME Online Accounts provides interfaces so that applications and
7075 libraries in GNOME can access the user's online accounts. It has providers for
7076 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7077 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7078 (license license:lgpl2.0+)))
7079
7080 (define-public evolution-data-server
7081 (package
7082 (name "evolution-data-server")
7083 (version "3.34.2")
7084 (source (origin
7085 (method url-fetch)
7086 (uri (string-append "mirror://gnome/sources/" name "/"
7087 (version-major+minor version) "/"
7088 name "-" version ".tar.xz"))
7089 (patches (search-patches "evolution-data-server-locales.patch"
7090 "evolution-data-server-libical-compat.patch"))
7091 (sha256
7092 (base32
7093 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7094 (build-system cmake-build-system)
7095 (arguments
7096 '(#:configure-flags
7097 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7098 (runpaths (map (lambda (s)
7099 (string-append lib "/evolution-data-server/" s))
7100 '("addressbook-backends" "calendar-backends"
7101 "camel-providers" "credential-modules"
7102 "registry-modules"))))
7103 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7104 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7105 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7106 "-DENABLE_VALA_BINDINGS=ON"
7107 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7108 (string-append lib "/evolution-data-server;")
7109 (string-join runpaths ";"))
7110 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7111 #:phases
7112 (modify-phases %standard-phases
7113 (add-after 'unpack 'disable-failing-tests
7114 (lambda _
7115 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7116 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7117 (delete-file-recursively "tests/book-migration")
7118 (substitute* "tests/CMakeLists.txt"
7119 (("add_subdirectory\\(book-migration\\)") ""))
7120 #t))
7121 (add-after 'unpack 'patch-paths
7122 (lambda _
7123 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7124 "tests/libedata-book/data-test-utils.c"
7125 "tests/libedata-book/test-book-cache-utils.c"
7126 "tests/libedata-cal/test-cal-cache-utils.c")
7127 (("/bin/rm") (which "rm")))
7128 #t))
7129 (add-before 'configure 'dont-override-rpath
7130 (lambda _
7131 (substitute* "CMakeLists.txt"
7132 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7133 ;; Remove it so the configure flag is respected.
7134 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7135 #t)))))
7136 (native-inputs
7137 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7138 ("gobject-introspection" ,gobject-introspection)
7139 ("gperf" ,gperf)
7140 ("intltool" ,intltool)
7141 ("pkg-config" ,pkg-config)
7142 ("vala" ,vala)
7143 ("python" ,python-wrapper)))
7144 (propagated-inputs
7145 ;; These are all in the Requires field of .pc files.
7146 `(("gtk+" ,gtk+)
7147 ("libical" ,libical)
7148 ("libsecret" ,libsecret)
7149 ("libsoup" ,libsoup)
7150 ("nss" ,nss)
7151 ("sqlite" ,sqlite)))
7152 (inputs
7153 `(("bdb" ,bdb)
7154 ("gcr" ,gcr)
7155 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7156 ("json-glib" ,json-glib)
7157 ("libcanberra" ,libcanberra)
7158 ("libgweather" ,libgweather)
7159 ("mit-krb5" ,mit-krb5)
7160 ("openldap" ,openldap)
7161 ("webkitgtk" ,webkitgtk)))
7162 (synopsis "Store address books and calendars")
7163 (home-page "https://wiki.gnome.org/Apps/Evolution")
7164 (description
7165 "This package provides a unified backend for programs that work with
7166 contacts, tasks, and calendar information. It was originally developed for
7167 Evolution (hence the name), but is now used by other packages as well.")
7168 (license license:lgpl2.0)))
7169
7170 (define-public caribou
7171 (package
7172 (name "caribou")
7173 (version "0.4.21")
7174 (source (origin
7175 (method url-fetch)
7176 (uri (string-append "mirror://gnome/sources/" name "/"
7177 (version-major+minor version) "/"
7178 name "-" version ".tar.xz"))
7179 (sha256
7180 (base32
7181 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7182 (build-system glib-or-gtk-build-system)
7183 (arguments
7184 '(#:phases
7185 (modify-phases %standard-phases
7186 (add-before
7187 'build 'pre-build
7188 (lambda* (#:key outputs #:allow-other-keys)
7189 (let ((out (assoc-ref outputs "out")))
7190 ;; Use absolute shared library path in Caribou-1.0.typelib.
7191 (substitute* "libcaribou/Makefile"
7192 (("--shared-library=libcaribou.so")
7193 (string-append "--shared-library="
7194 out "/lib/libcaribou.so")))
7195 #t)))
7196 (add-after 'install 'wrap-programs
7197 (lambda* (#:key outputs #:allow-other-keys)
7198 (let* ((out (assoc-ref outputs "out"))
7199 (python-path (getenv "PYTHONPATH"))
7200 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7201 (for-each
7202 (lambda (prog)
7203 (wrap-program prog
7204 `("PYTHONPATH" ":" prefix (,python-path))
7205 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7206 (list (string-append out "/bin/caribou-preferences")
7207 (string-append out "/libexec/antler-keyboard"))))
7208 #t)))))
7209 (native-inputs
7210 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7211 ("gobject-introspection" ,gobject-introspection)
7212 ("intltool" ,intltool)
7213 ("pkg-config" ,pkg-config)
7214 ("python" ,python)
7215 ("vala" ,vala)
7216 ("xsltproc" ,libxslt)))
7217 (propagated-inputs
7218 ;; caribou-1.0.pc refers to all these.
7219 `(("libgee" ,libgee)
7220 ("libxklavier" ,libxklavier)
7221 ("libxtst" ,libxtst)
7222 ("gtk+" ,gtk+)))
7223 (inputs
7224 `(("clutter" ,clutter)
7225 ("dconf" ,dconf)
7226 ("gtk+-2" ,gtk+-2)
7227 ("python-pygobject" ,python-pygobject)))
7228 (synopsis "Text entry and UI navigation application")
7229 (home-page "https://wiki.gnome.org/Projects/Caribou")
7230 (description
7231 "Caribou is an input assistive technology intended for switch and pointer
7232 users.")
7233 (license license:lgpl2.1)))
7234
7235 (define-public network-manager
7236 (package
7237 (name "network-manager")
7238 (version "1.24.0")
7239 (source (origin
7240 (method url-fetch)
7241 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7242 (version-major+minor version) "/"
7243 "NetworkManager-" version ".tar.xz"))
7244 (patches (search-patches "network-manager-plugin-path.patch"))
7245 (sha256
7246 (base32
7247 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7248 (modules '((guix build utils)))
7249 (snippet
7250 '(begin
7251 (substitute* "src/devices/wwan/nm-modem-manager.c"
7252 (("systemd") "elogind"))
7253 #t))))
7254 (build-system meson-build-system)
7255 (outputs '("out"
7256 "doc")) ; 8 MiB of gtk-doc HTML
7257 (arguments
7258 `(#:configure-flags
7259 (let ((out (assoc-ref %outputs "out"))
7260 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7261 "/sbin/dhclient")))
7262 (list
7263 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7264 ;; component.
7265 (string-append "-Dc_link_args=-Wl,-rpath="
7266 out "/lib:"
7267 out "/lib/NetworkManager/" ,version)
7268 "-Dsystemd_journal=false"
7269 "-Dsession_tracking=elogind"
7270 "-Dsuspend_resume=elogind"
7271 "-Dsystemdsystemunitdir=no"
7272 "-Dsession_tracking_consolekit=false"
7273 "-Ddhcpcd=no"
7274 "-Ddhcpcanon=no"
7275 "-Dcrypto=gnutls"
7276 "-Diwd=true"
7277 "-Dlibaudit=yes"
7278 "-Dqt=false"
7279 "-Ddocs=true"
7280 "--sysconfdir=/etc"
7281 "--localstatedir=/var"
7282 (string-append "-Dudev_dir="
7283 out "/lib/udev")
7284 (string-append "-Ddbus_conf_dir="
7285 out "/etc/dbus-1/system.d")
7286
7287 (string-append "-Ddhclient=" dhclient)))
7288 #:phases
7289 (modify-phases %standard-phases
7290 (add-before 'configure 'pre-configure
7291 (lambda _
7292 ;; These tests try to test aspects of network-manager's
7293 ;; functionality within restricted containers, but they don't
7294 ;; cope with being already in the Guix build jail as that jail
7295 ;; lacks some features that they would like to proxy over (like
7296 ;; a /sys mount).
7297 (substitute* "src/platform/tests/meson.build"
7298 ((".*test-address-linux.*") "")
7299 ((".*test-cleanup-linux.*") "")
7300 ((".*test-link-linux.*") "")
7301 ((".*test-route-linux.*") ""))
7302 (substitute* "src/devices/tests/meson.build"
7303 ((".*test-acd.*") "")
7304 ((".*test-lldp.*") ""))
7305 #t))
7306 (add-after 'unpack 'patch-docbook-xml
7307 (lambda* (#:key inputs #:allow-other-keys)
7308 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7309 "/xml/dtd/docbook")))
7310 (substitute* (find-files "." ".*\\.(xsl|xml)")
7311 (("http://.*/docbookx\\.dtd")
7312 (string-append xmldoc "/docbookx.dtd")))
7313 #t)))
7314 (add-before 'check 'pre-check
7315 (lambda _
7316 ;; For the missing /etc/machine-id.
7317 (setenv "DBUS_FATAL_WARNINGS" "0")
7318 #t))
7319 (add-before 'install 'no-polkit-magic
7320 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7321 (lambda _
7322 (setenv "PKEXEC_UID" "something")
7323 #t))
7324 (add-after 'install 'move-doc
7325 (lambda* (#:key outputs #:allow-other-keys)
7326 (let ((out (assoc-ref outputs "out"))
7327 (doc (assoc-ref outputs "doc")))
7328 (mkdir-p (string-append doc "/share"))
7329 (for-each (lambda (directory)
7330 (copy-recursively (string-append out directory)
7331 (string-append doc directory))
7332 (delete-file-recursively
7333 (string-append out directory)))
7334 '("/share/doc" "/share/gtk-doc"))
7335 #t))))))
7336 (propagated-inputs
7337 `(("glib" ,glib)))
7338 (native-inputs
7339 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7340 ("gtk-doc" ,gtk-doc)
7341 ("gobject-introspection" ,gobject-introspection)
7342 ("docbook-xml" ,docbook-xml)
7343 ("docbook-xsl" ,docbook-xsl)
7344 ("intltool" ,intltool)
7345 ("libxslt" ,libxslt)
7346 ("libxml2" ,libxml2)
7347 ("pkg-config" ,pkg-config)
7348 ("vala" ,vala)
7349 ;; For testing.
7350 ("python" ,python-wrapper)
7351 ("python-dbus" ,python-dbus)
7352 ("python-pygobject" ,python-pygobject)))
7353 (inputs
7354 `(("curl" ,curl)
7355 ("cyrus-sasl" ,cyrus-sasl)
7356 ("dbus-glib" ,dbus-glib)
7357 ("dnsmasq" ,dnsmasq)
7358 ("eudev" ,eudev)
7359 ("gnutls" ,gnutls)
7360 ("iptables" ,iptables)
7361 ("isc-dhcp" ,isc-dhcp)
7362 ("iwd" ,iwd) ; wpa_supplicant alternative
7363 ("jansson" ,jansson)
7364 ("libaudit" ,audit)
7365 ("libgcrypt" ,libgcrypt)
7366 ("libgudev" ,libgudev)
7367 ("libndp" ,libndp)
7368 ("libnl" ,libnl)
7369 ("libsoup" ,libsoup)
7370 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7371 ("modem-manager" ,modem-manager)
7372 ("newt" ,newt) ;for the 'nmtui' console interface
7373 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7374 ("polkit" ,polkit)
7375 ("ppp" ,ppp)
7376 ("readline" ,readline)
7377 ("util-linux" ,util-linux)
7378 ("elogind" ,elogind)))
7379 (synopsis "Network connection manager")
7380 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7381 (description
7382 "NetworkManager is a system network service that manages your network
7383 devices and connections, attempting to keep active network connectivity when
7384 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7385 devices, and provides VPN integration with a variety of different VPN
7386 services.")
7387 ;; “This NetworkManager project consists of the daemon, client tools, and
7388 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7389 ;; GPL-2.0+.”
7390 (license (list license:gpl2+
7391 license:lgpl2.1+))
7392 (properties '((upstream-name . "NetworkManager")))))
7393
7394 (define-public network-manager-openvpn
7395 (package
7396 (name "network-manager-openvpn")
7397 (version "1.8.12")
7398 (source (origin
7399 (method url-fetch)
7400 (uri (string-append
7401 "mirror://gnome/sources/NetworkManager-openvpn/"
7402 (version-major+minor version)
7403 "/NetworkManager-openvpn-" version ".tar.xz"))
7404 (sha256
7405 (base32
7406 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7407 (build-system gnu-build-system)
7408 (arguments
7409 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7410 #:phases
7411 (modify-phases %standard-phases
7412 (add-after 'configure 'patch-path
7413 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7414 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7415 "/sbin/openvpn"))
7416 (modprobe (string-append (assoc-ref inputs "kmod")
7417 "/bin/modprobe"))
7418 (pretty-ovpn (string-append "\"" ovpn "\"")))
7419 (for-each
7420 (lambda (file)
7421 (substitute* file
7422 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7423 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7424 (("\"/sbin/openvpn\"") pretty-ovpn)
7425 (("/sbin/modprobe") modprobe)))
7426 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7427 #t)))))
7428 (native-inputs
7429 `(("pkg-config" ,pkg-config)
7430 ("intltool" ,intltool)))
7431 (inputs
7432 `(("gtk+" ,gtk+)
7433 ("kmod" ,kmod)
7434 ("openvpn" ,openvpn)
7435 ("network-manager" ,network-manager)
7436 ("libnma" ,libnma)
7437 ("libsecret" ,libsecret)))
7438 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7439 (synopsis "OpenVPN plug-in for NetworkManager")
7440 (description
7441 "This extension of NetworkManager allows it to take care of connections
7442 to virtual private networks (VPNs) via OpenVPN.")
7443 (license license:gpl2+)
7444 (properties `((upstream-name . "NetworkManager-openvpn")))))
7445
7446 (define-public network-manager-vpnc
7447 (package
7448 (name "network-manager-vpnc")
7449 (version "1.2.6")
7450 (source (origin
7451 (method url-fetch)
7452 (uri (string-append
7453 "mirror://gnome/sources/NetworkManager-vpnc/"
7454 (version-major+minor version)
7455 "/NetworkManager-vpnc-" version ".tar.xz"))
7456 (sha256
7457 (base32
7458 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7459 (build-system gnu-build-system)
7460 (arguments
7461 `(#:configure-flags '("--enable-absolute-paths"
7462 "--localstatedir=/var"
7463 ;; libnm-glib has been removed from network-manager
7464 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7465 "--with-libnm-glib=no")
7466 #:phases
7467 (modify-phases %standard-phases
7468 (add-after 'configure 'patch-path
7469 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7470 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7471 "/sbin/vpnc"))
7472 (modprobe (string-append (assoc-ref inputs "kmod")
7473 "/bin/modprobe"))
7474 (pretty-ovpn (string-append "\"" vpnc "\"")))
7475 (substitute* "src/nm-vpnc-service.c"
7476 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7477 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7478 (("\"/sbin/vpnc\"") pretty-ovpn)
7479 (("/sbin/modprobe") modprobe)))
7480 #t)))))
7481 (native-inputs
7482 `(("pkg-config" ,pkg-config)
7483 ("intltool" ,intltool)))
7484 (inputs
7485 `(("gtk+" ,gtk+)
7486 ("kmod" ,kmod)
7487 ("vpnc" ,vpnc)
7488 ("network-manager" ,network-manager)
7489 ("libnma" ,libnma)
7490 ("libsecret" ,libsecret)))
7491 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7492 (synopsis "VPNC plug-in for NetworkManager")
7493 (description
7494 "Support for configuring virtual private networks based on VPNC.
7495 Compatible with Cisco VPN concentrators configured to use IPsec.")
7496 (license license:gpl2+)
7497 (properties `((upstream-name . "NetworkManager-vpnc")))))
7498
7499 (define-public network-manager-openconnect
7500 (package
7501 (name "network-manager-openconnect")
7502 (version "1.2.6")
7503 (source (origin
7504 (method url-fetch)
7505 (uri (string-append
7506 "mirror://gnome/sources/NetworkManager-openconnect/"
7507 (version-major+minor version)
7508 "/NetworkManager-openconnect-" version ".tar.xz"))
7509 (sha256
7510 (base32
7511 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7512 (build-system gnu-build-system)
7513 (arguments
7514 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7515 #:phases
7516 (modify-phases %standard-phases
7517 (add-after 'configure 'patch-path
7518 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7519 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7520 "/sbin/openconnect"))
7521 (modprobe (string-append (assoc-ref inputs "kmod")
7522 "/bin/modprobe"))
7523 (pretty-ovpn (string-append "\"" openconnect "\"")))
7524 (substitute* "src/nm-openconnect-service.c"
7525 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7526 (("/sbin/modprobe") modprobe)))
7527 #t)))))
7528 (native-inputs
7529 `(("intltool" ,intltool)
7530 ("libnma" ,libnma)
7531 ("pkg-config" ,pkg-config)))
7532 (inputs
7533 `(("gcr" ,gcr)
7534 ("gtk+" ,gtk+)
7535 ("kmod" ,kmod)
7536 ("libsecret" ,libsecret)
7537 ("libxml2" ,libxml2)
7538 ("lz4" ,lz4)
7539 ("network-manager" ,network-manager)
7540 ("openconnect" ,openconnect)))
7541 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7542 (synopsis "OpenConnect plug-in for NetworkManager")
7543 (description
7544 "This extension of NetworkManager allows it to take care of connections
7545 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7546 Cisco's AnyConnect SSL VPN.")
7547 (license license:gpl2+)
7548 (properties `((upstream-name . "NetworkManager-openconnect")
7549
7550 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7551 ;; file refers to account "nm-openconnect". Specify it here
7552 ;; so that 'network-manager-service-type' creates it.
7553 (user-accounts . ("nm-openconnect"))))))
7554
7555 (define-public mobile-broadband-provider-info
7556 (package
7557 (name "mobile-broadband-provider-info")
7558 (version "20190116")
7559 (source (origin
7560 (method url-fetch)
7561 (uri (string-append
7562 "mirror://gnome/sources/"
7563 "mobile-broadband-provider-info/" version "/"
7564 "mobile-broadband-provider-info-" version ".tar.xz"))
7565 (sha256
7566 (base32
7567 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7568 (build-system gnu-build-system)
7569 (arguments
7570 `(#:tests? #f)) ; no tests
7571 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7572 (synopsis "Database of broadband connection configuration")
7573 (description "Database of broadband connection configuration.")
7574 (license license:public-domain)))
7575
7576 (define-public network-manager-applet
7577 (package
7578 (name "network-manager-applet")
7579 (version "1.16.0")
7580 (source (origin
7581 (method url-fetch)
7582 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7583 (version-major+minor version) "/"
7584 "network-manager-applet-" version ".tar.xz"))
7585 (sha256
7586 (base32
7587 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7588 (build-system meson-build-system)
7589 (arguments
7590 '(#:glib-or-gtk? #t))
7591 (native-inputs
7592 `(("intltool" ,intltool)
7593 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7594 ("gobject-introspection" ,gobject-introspection)
7595 ("gtk-doc" ,gtk-doc)
7596 ("pkg-config" ,pkg-config)))
7597 (propagated-inputs
7598 ;; libnm-gtk.pc refers to all these.
7599 `(("dbus-glib" ,dbus-glib)
7600 ("gtk+" ,gtk+)
7601 ("network-manager" ,network-manager)
7602 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7603 ("libnma" ,libnma)))
7604 (inputs
7605 `(("gcr" ,gcr)
7606 ("libgudev" ,libgudev)
7607 ("libnotify" ,libnotify)
7608 ("libsecret" ,libsecret)
7609 ("libselinux" ,libselinux)
7610 ("jansson" ,jansson) ; for team support
7611 ("modem-manager" ,modem-manager)))
7612 (synopsis "Applet for managing network connections")
7613 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7614 (description
7615 "This package contains a systray applet for NetworkManager. It displays
7616 the available networks and allows users to easily switch between them.")
7617 (license license:gpl2+)))
7618
7619 (define-public libxml++
7620 (package
7621 (name "libxml++")
7622 (version "3.0.1")
7623 (source (origin
7624 (method url-fetch)
7625 (uri (string-append "mirror://gnome/sources/" name "/"
7626 (version-major+minor version) "/"
7627 name "-" version ".tar.xz"))
7628 (sha256
7629 (base32
7630 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7631 (build-system gnu-build-system)
7632 ;; libxml++-3.0.pc refers to all these.
7633 (propagated-inputs
7634 `(("libxml2" ,libxml2)
7635 ("glibmm" ,glibmm)))
7636 (native-inputs
7637 `(("perl" ,perl)
7638 ("pkg-config" ,pkg-config)))
7639 (home-page "http://libxmlplusplus.sourceforge.net/")
7640 (synopsis "C++ wrapper for XML parser library libxml2")
7641 (description
7642 "This package provides a C++ wrapper for the XML parser library
7643 libxml2.")
7644 (license license:lgpl2.1+)))
7645
7646 (define-public libxml++-2
7647 (package
7648 (inherit libxml++)
7649 (name "libxml++")
7650 (version "2.40.1")
7651 (source (origin
7652 (method url-fetch)
7653 (uri (string-append "mirror://gnome/sources/" name "/"
7654 (version-major+minor version) "/"
7655 name "-" version ".tar.xz"))
7656 (sha256
7657 (base32
7658 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7659
7660 (define-public gdm
7661 (package
7662 (name "gdm")
7663 (version "3.34.1")
7664 (source (origin
7665 (method url-fetch)
7666 (uri (string-append "mirror://gnome/sources/" name "/"
7667 (version-major+minor version) "/"
7668 name "-" version ".tar.xz"))
7669 (sha256
7670 (base32
7671 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7672 (patches (search-patches "gdm-default-session.patch"))))
7673 (build-system glib-or-gtk-build-system)
7674 (arguments
7675 '(#:configure-flags
7676 `("--without-plymouth"
7677 "--disable-systemd-journal"
7678
7679 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7680 ;; instead of having to replace it (i.e., stopping the mingetty
7681 ;; service for TTY 1 before starting GDM).
7682 "--with-initial-vt=7"
7683
7684 ;; Use '/etc/environment' for locale settings instead of the
7685 ;; systemd-specific '/etc/locale.conf'.
7686 "--with-lang-file=/etc/environment"
7687
7688 ,(string-append "--with-udevdir="
7689 (assoc-ref %outputs "out") "/lib/udev")
7690
7691 "--localstatedir=/var"
7692 ,(string-append "--with-default-path="
7693 (string-join '("/run/setuid-programs"
7694 "/run/current-system/profile/bin"
7695 "/run/current-system/profile/sbin")
7696 ":"))
7697 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7698 ;; XDG_DATA_DIRS so that it finds its schemas.
7699 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7700 #:phases
7701 (modify-phases %standard-phases
7702 (add-before
7703 'configure 'pre-configure
7704 (lambda* (#:key inputs outputs #:allow-other-keys)
7705 ;; We don't have <systemd/sd-daemon.h>.
7706 (substitute* '("common/gdm-log.c"
7707 "daemon/gdm-server.c"
7708 "daemon/gdm-session-worker.c"
7709 "daemon/gdm-session-worker-job.c")
7710 (("#include <systemd/sd-daemon\\.h>") ""))
7711 ;; Use elogind for sd-login.
7712 (substitute* '("common/gdm-common.c"
7713 "daemon/gdm-local-display-factory.c"
7714 "daemon/gdm-manager.c"
7715 "libgdm/gdm-user-switching.c")
7716 (("#include <systemd/sd-login\\.h>")
7717 "#include <elogind/sd-login.h>"))
7718 ;; Check for elogind.
7719 (substitute* '("configure")
7720 (("libsystemd")
7721 "libelogind"))
7722 ;; Look for system-installed sessions in
7723 ;; /run/current-system/profile/share.
7724 (substitute* '("libgdm/gdm-sessions.c"
7725 "daemon/gdm-session.c"
7726 "daemon/gdm-display.c"
7727 "daemon/gdm-launch-environment.c")
7728 (("DATADIR \"/x")
7729 "\"/run/current-system/profile/share/x")
7730 (("DATADIR \"/wayland")
7731 "\"/run/current-system/profile/share/wayland")
7732 (("DATADIR \"/gnome")
7733 "\"/run/current-system/profile/share/gnome"))
7734 (let ((propagate '("GDM_CUSTOM_CONF"
7735 "GDM_DBUS_DAEMON"
7736 "GDM_X_SERVER"
7737 "GDM_X_SESSION"
7738 ;; XXX: Remove this once GNOME Shell is
7739 ;; a dependency of GDM.
7740 "XDG_DATA_DIRS")))
7741 (substitute* "daemon/gdm-session.c"
7742 (("set_up_session_environment \\(self\\);")
7743 (apply string-append
7744 "set_up_session_environment (self);\n"
7745 (map (lambda (name)
7746 (string-append
7747 "gdm_session_set_environment_variable "
7748 "(self, \"" name "\","
7749 "g_getenv (\"" name "\"));\n"))
7750 propagate)))))
7751 ;; Find the configuration file using an environment variable.
7752 (substitute* '("common/gdm-settings.c")
7753 (("GDM_CUSTOM_CONF")
7754 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7755 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7756 " : GDM_CUSTOM_CONF)")))
7757 ;; Use service-supplied path to X.
7758 (substitute* '("daemon/gdm-server.c")
7759 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7760 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7761 (substitute* '("daemon/gdm-wayland-session.c"
7762 "daemon/gdm-x-session.c")
7763 (("\"dbus-daemon\"")
7764 "g_getenv (\"GDM_DBUS_DAEMON\")")
7765 (("X_SERVER")
7766 "g_getenv (\"GDM_X_SERVER\")")
7767 (("GDMCONFDIR \"/Xsession\"")
7768 "g_getenv (\"GDM_X_SESSION\")"))
7769 ;; Use an absolute path for GNOME Session.
7770 (substitute* "daemon/gdm-launch-environment.c"
7771 (("\"gnome-session\"")
7772 (string-append "\"" (assoc-ref inputs "gnome-session")
7773 "/bin/gnome-session\"")))
7774 ;; Do not automatically select the placeholder session.
7775 (substitute* "daemon/gdm-session.c"
7776 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7777 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7778 "(g_strcmp0(search_dirs[i], \""
7779 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7780 "\") == 0 && "
7781 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7782 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7783 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7784 #t))
7785 ;; GDM requires that there be at least one desktop entry
7786 ;; file. This phase installs a hidden one that simply
7787 ;; fails. This enables users to use GDM with a
7788 ;; '~/.xsession' script with no other desktop entry files.
7789 ;; See <https://bugs.gnu.org/35068>.
7790 (add-after 'install 'install-placeholder-desktop-entry
7791 (lambda* (#:key inputs outputs #:allow-other-keys)
7792 (let* ((out (assoc-ref outputs "out"))
7793 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7794 (fail (string-append sessions "/fail.desktop")))
7795 (mkdir-p sessions)
7796 (with-output-to-file fail
7797 (lambda ()
7798 (for-each
7799 display
7800 '("[Desktop Entry]\n"
7801 "Encoding=UTF-8\n"
7802 "Type=Application\n"
7803 "Name=Fail\n"
7804 "Comment=This session fails immediately.\n"
7805 "NoDisplay=true\n"
7806 "Exec=false\n"))))
7807 #t)))
7808 ;; GDM needs GNOME Session to run these applications. We link
7809 ;; their autostart files in `share/gdm/greeter/autostart'
7810 ;; because GDM explicitly tells GNOME Session to look there.
7811 ;;
7812 ;; XXX: GNOME Shell should be linked here too, but currently
7813 ;; GNOME Shell depends on GDM.
7814 (add-after 'install 'link-autostart-files
7815 (lambda* (#:key inputs outputs #:allow-other-keys)
7816 (let* ((out (assoc-ref outputs "out"))
7817 (autostart (string-append out "/share/gdm/"
7818 "greeter/autostart"))
7819 (settings (assoc-ref inputs "gnome-settings-daemon")))
7820 (mkdir-p autostart)
7821 (with-directory-excursion autostart
7822 (for-each (lambda (desktop)
7823 (symlink desktop (basename desktop)))
7824 (find-files (string-append settings "/etc/xdg"))))
7825 #t))))))
7826 (native-inputs
7827 `(("dconf" ,dconf)
7828 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7829 ("gobject-introspection" ,gobject-introspection)
7830 ("intltool" ,intltool)
7831 ("itstool" ,itstool)
7832 ("pkg-config" ,pkg-config)
7833 ("xmllint" ,libxml2)))
7834 (inputs
7835 `(("accountsservice" ,accountsservice)
7836 ("check" ,check) ; for testing
7837 ("elogind" ,elogind)
7838 ("gnome-session" ,gnome-session)
7839 ("gnome-settings-daemon" ,gnome-settings-daemon)
7840 ("gtk+" ,gtk+)
7841 ("iso-codes" ,iso-codes)
7842 ("libcanberra" ,libcanberra)
7843 ("linux-pam" ,linux-pam)))
7844 (synopsis "Display manager for GNOME")
7845 (home-page "https://wiki.gnome.org/Projects/GDM/")
7846 (description
7847 "GNOME Display Manager is a system service that is responsible for
7848 providing graphical log-ins and managing local and remote displays.")
7849 (license license:gpl2+)))
7850
7851 (define-public libgtop
7852 (package
7853 (name "libgtop")
7854 (version "2.40.0")
7855 (source (origin
7856 (method url-fetch)
7857 (uri (string-append "mirror://gnome/sources/libgtop/"
7858 (version-major+minor version) "/"
7859 "libgtop-" version ".tar.xz"))
7860 (sha256
7861 (base32
7862 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7863 (build-system gnu-build-system)
7864 (native-inputs
7865 `(("gobject-introspection" ,gobject-introspection)
7866 ("intltool" ,intltool)
7867 ("perl" ,perl)
7868 ("pkg-config" ,pkg-config)))
7869 (propagated-inputs
7870 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7871 (synopsis "Portable system access library")
7872 (home-page "https://www.gnome.org/")
7873 (description
7874 "LibGTop is a library to get system specific data such as CPU and memory
7875 usage and information about running processes.")
7876 (license license:gpl2+)))
7877
7878 (define-public gnome-bluetooth
7879 (package
7880 (name "gnome-bluetooth")
7881 (version "3.34.0")
7882 (source (origin
7883 (method url-fetch)
7884 (uri (string-append "mirror://gnome/sources/" name "/"
7885 (version-major+minor version) "/"
7886 name "-" version ".tar.xz"))
7887 (sha256
7888 (base32
7889 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7890 (build-system meson-build-system)
7891 (native-inputs
7892 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7893 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7894 ("gobject-introspection" ,gobject-introspection)
7895 ("intltool" ,intltool)
7896 ("pkg-config" ,pkg-config)
7897 ("xmllint" ,libxml2)))
7898 (propagated-inputs
7899 ;; gnome-bluetooth-1.0.pc refers to all these.
7900 `(("glib" ,glib)
7901 ("gtk+" ,gtk+)))
7902 (inputs
7903 `(("eudev" ,eudev)
7904 ("libcanberra" ,libcanberra)
7905 ("libnotify" ,libnotify)))
7906 (synopsis "GNOME Bluetooth subsystem")
7907 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7908 (description
7909 "This package contains tools for managing and manipulating Bluetooth
7910 devices using the GNOME desktop.")
7911 (license license:lgpl2.1+)))
7912
7913 (define-public gnome-control-center
7914 (package
7915 (name "gnome-control-center")
7916 (version "3.34.2")
7917 (source (origin
7918 (method url-fetch)
7919 (uri (string-append "mirror://gnome/sources/" name "/"
7920 (version-major+minor version) "/"
7921 name "-" version ".tar.xz"))
7922 (sha256
7923 (base32
7924 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7925 (build-system meson-build-system)
7926 (arguments
7927 '(#:glib-or-gtk? #t
7928 #:configure-flags
7929 (list "-Dcheese=false"
7930 (string-append "-Dgnome_session_libexecdir="
7931 (assoc-ref %build-inputs "gnome-session")
7932 "/libexec"))
7933 #:phases
7934 (modify-phases %standard-phases
7935 (add-before 'configure 'patch-paths
7936 (lambda* (#:key inputs #:allow-other-keys)
7937 (let ((libc (assoc-ref inputs "libc"))
7938 (tzdata (assoc-ref inputs "tzdata"))
7939 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7940 (nm-applet (assoc-ref inputs "network-manager-applet"))
7941 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7942 (substitute* "panels/datetime/tz.h"
7943 (("/usr/share/zoneinfo/zone.tab")
7944 (string-append tzdata "/share/zoneinfo/zone.tab")))
7945 (substitute* "tests/datetime/test-endianess.c"
7946 (("/usr/share/locale")
7947 (string-append libc "/share/locale")))
7948 (substitute* "panels/region/cc-region-panel.c"
7949 (("\"gkbd-keyboard-display")
7950 (string-append "\"" libgnomekbd
7951 "/bin/gkbd-keyboard-display")))
7952 (substitute* '("panels/network/net-device-wifi.c"
7953 "panels/network/net-device.c"
7954 "panels/network/connection-editor/net-connection-editor.c")
7955 (("\"nm-connection-editor")
7956 (string-append "\"" nm-applet
7957 "/bin/nm-connection-editor")))
7958 (substitute* '("panels/user-accounts/run-passwd.c")
7959 (("/usr/bin/passwd")
7960 "/run/setuid-programs/passwd"))
7961 (substitute* "panels/info/cc-info-overview-panel.c"
7962 (("DATADIR \"/gnome/gnome-version.xml\"")
7963 (string-append "\"" gnome-desktop
7964 "/share/gnome/gnome-version.xml\"")))
7965 #t)))
7966 (add-after 'unpack 'skip-gtk-update-icon-cache
7967 ;; Don't create 'icon-theme.cache'.
7968 (lambda _
7969 (substitute* "build-aux/meson/meson_post_install.py"
7970 (("gtk-update-icon-cache") (which "true")))
7971 #t)))))
7972 (native-inputs
7973 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7974 ("intltool" ,intltool)
7975 ("pkg-config" ,pkg-config)
7976 ("xsltproc" ,libxslt)
7977 ;; For tests
7978 ("hicolor-icon-theme" ,hicolor-icon-theme)
7979 ("python-dbusmock" ,python-dbusmock)
7980 ("xorg-server" ,xorg-server-for-tests)))
7981 (inputs
7982 `(("accountsservice" ,accountsservice)
7983 ("clutter-gtk" ,clutter-gtk)
7984 ("colord-gtk" ,colord-gtk)
7985 ("cups" ,cups)
7986 ("dconf" ,dconf)
7987 ("docbook-xsl" ,docbook-xsl)
7988 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7989 ("gnome-bluetooth" ,gnome-bluetooth)
7990 ("gnome-desktop" ,gnome-desktop)
7991 ("gnome-online-accounts" ,gnome-online-accounts)
7992 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7993 ("gnome-session" ,gnome-session)
7994 ("gnome-settings-daemon" ,gnome-settings-daemon)
7995 ("grilo" ,grilo)
7996 ("gsound" ,gsound)
7997 ("ibus" ,ibus)
7998 ("libcanberra" ,libcanberra)
7999 ("libgnomekbd" ,libgnomekbd)
8000 ("libgudev" ,libgudev)
8001 ("libgtop" ,libgtop)
8002 ("libnma" ,libnma)
8003 ("libpwquality" ,libpwquality)
8004 ("libsecret" ,libsecret)
8005 ("libsoup" ,libsoup)
8006 ("libxml2" ,libxml2)
8007 ("libwacom" ,libwacom)
8008 ("mesa" ,mesa)
8009 ("mit-krb5" ,mit-krb5)
8010 ("modem-manager" ,modem-manager)
8011 ("network-manager-applet" ,network-manager-applet)
8012 ("polkit" ,polkit)
8013 ("pulseaudio" ,pulseaudio)
8014 ("smbclient" ,samba)
8015 ("tzdata" ,tzdata)
8016 ("udisks" ,udisks)
8017 ("upower" ,upower)))
8018 (synopsis "Utilities to configure the GNOME desktop")
8019 (home-page "https://www.gnome.org/")
8020 (description
8021 "This package contains configuration applets for the GNOME desktop,
8022 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8023 properties, sound setup, desktop theme and background, user interface
8024 properties, screen resolution, and other GNOME parameters.")
8025 (license license:gpl2+)))
8026
8027 (define-public gnome-shell
8028 (package
8029 (name "gnome-shell")
8030 (version "3.34.2")
8031 (source (origin
8032 (method url-fetch)
8033 (uri (string-append "mirror://gnome/sources/" name "/"
8034 (version-major+minor version) "/"
8035 name "-" version ".tar.xz"))
8036 (sha256
8037 (base32
8038 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8039 (patches (search-patches "gnome-shell-theme.patch"
8040 "gnome-shell-disable-test.patch"))
8041 (modules '((guix build utils)))
8042 (snippet
8043 #~(begin
8044 ;; Copy images for use on the GDM log-in screen.
8045 (copy-file #$(file-append %artwork-repository
8046 "/slim/0.x/background.png")
8047 "data/theme/guix-background.png")
8048 (copy-file #$(file-append %artwork-repository
8049 "/logo/Guix-horizontal-white.svg")
8050 "data/theme/guix-logo.svg")
8051 #t))))
8052 (build-system meson-build-system)
8053 (arguments
8054 `(#:glib-or-gtk? #t
8055 #:disallowed-references ((,glib "bin")
8056 ,inkscape ,libxslt
8057 ,ruby-sass)
8058 #:configure-flags
8059 (list "-Dsystemd=false"
8060 ;; Otherwise, the RUNPATH will lack the final path component.
8061 (string-append "-Dc_link_args=-Wl,-rpath="
8062 (assoc-ref %outputs "out")
8063 "/lib/gnome-shell"))
8064
8065 #:modules ((guix build meson-build-system)
8066 (guix build utils)
8067 (srfi srfi-1))
8068
8069 #:phases
8070 (modify-phases %standard-phases
8071 (add-after 'unpack 'fix-keysdir
8072 (lambda* (#:key outputs #:allow-other-keys)
8073 (let* ((out (assoc-ref outputs "out"))
8074 (keysdir (string-append
8075 out "/share/gnome-control-center/keybindings")))
8076 (substitute* "meson.build"
8077 (("keysdir =.*")
8078 (string-append "keysdir = '" keysdir "'\n")))
8079 #t)))
8080 (add-before 'configure 'convert-logo-to-png
8081 (lambda* (#:key inputs #:allow-other-keys)
8082 ;; Convert the logo from SVG to PNG.
8083 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8084 "data/theme/guix-logo.svg")))
8085 (add-before 'configure 'record-absolute-file-names
8086 (lambda* (#:key inputs #:allow-other-keys)
8087 (substitute* "js/misc/ibusManager.js"
8088 (("'ibus-daemon'")
8089 (string-append "'" (assoc-ref inputs "ibus")
8090 "/bin/ibus-daemon'")))
8091 (substitute* "js/ui/status/keyboard.js"
8092 (("'gkbd-keyboard-display'")
8093 (string-append "'" (assoc-ref inputs "libgnomekbd")
8094 "/bin/gkbd-keyboard-display'")))
8095 #t))
8096 (add-before 'check 'pre-check
8097 (lambda* (#:key inputs #:allow-other-keys)
8098 ;; Tests require a running X server.
8099 (system "Xvfb :1 &")
8100 (setenv "DISPLAY" ":1")
8101 #t))
8102 (add-after 'install 'wrap-programs
8103 (lambda* (#:key inputs outputs #:allow-other-keys)
8104 (let ((out (assoc-ref outputs "out"))
8105 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8106 (python-path (getenv "PYTHONPATH")))
8107 (wrap-program (string-append out "/bin/gnome-shell")
8108 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8109 ;; FIXME: gnome-shell loads these libraries with unqualified
8110 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8111 ;; alternative might be to patch gnome-shell.
8112 `("LD_LIBRARY_PATH" ":" prefix
8113 ,(map (lambda (pkg)
8114 (string-append (assoc-ref inputs pkg) "/lib"))
8115 '("gdk-pixbuf"
8116 "gnome-bluetooth" "librsvg" "libgweather"))))
8117 (for-each
8118 (lambda (prog)
8119 (wrap-program (string-append out "/bin/" prog)
8120 `("PYTHONPATH" ":" prefix (,python-path))
8121 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8122 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8123 #t)))
8124 (replace 'glib-or-gtk-wrap
8125 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8126 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8127 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8128 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8129 ;; phase. Fix that since we don't need these.
8130 (wrap #:inputs (fold alist-delete inputs
8131 '("inkscape" "intltool" "glib:bin"))
8132 #:outputs outputs)))))))
8133 (native-inputs
8134 `(("asciidoc" ,asciidoc)
8135 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8136 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8137 ("gobject-introspection" ,gobject-introspection)
8138 ("inkscape" ,inkscape)
8139 ("intltool" ,intltool)
8140 ("pkg-config" ,pkg-config)
8141 ("python" ,python)
8142 ("ruby-sass" ,ruby-sass)
8143 ("sassc" ,sassc)
8144 ("xsltproc" ,libxslt)
8145 ;; For tests
8146 ("xorg-server" ,xorg-server-for-tests)))
8147 (inputs
8148 `(("accountsservice" ,accountsservice)
8149 ("caribou" ,caribou)
8150 ("docbook-xsl" ,docbook-xsl)
8151 ("evolution-data-server" ,evolution-data-server)
8152 ("gcr" ,gcr)
8153 ("gdm" ,gdm)
8154 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8155 ("gjs" ,gjs)
8156 ("gnome-autoar" ,gnome-autoar)
8157 ("gnome-bluetooth" ,gnome-bluetooth)
8158 ("gnome-desktop" ,gnome-desktop)
8159 ("gnome-settings-daemon" ,gnome-settings-daemon)
8160 ("gst-plugins-base" ,gst-plugins-base)
8161 ("ibus" ,ibus)
8162 ("libcanberra" ,libcanberra)
8163 ("libcroco" ,libcroco)
8164 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8165 ("libgweather" ,libgweather)
8166 ("libnma" ,libnma)
8167 ("libsoup" ,libsoup)
8168 ("mesa-headers" ,mesa-headers)
8169 ("mutter" ,mutter)
8170 ("network-manager-applet" ,network-manager-applet)
8171 ("polkit" ,polkit)
8172 ("pulseaudio" ,pulseaudio)
8173 ("python-pygobject" ,python-pygobject)
8174 ("startup-notification" ,startup-notification)
8175 ("telepathy-logger" ,telepathy-logger)
8176 ("upower" ,upower)
8177 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8178 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8179 ("librsvg" ,librsvg)
8180 ("geoclue" ,geoclue)))
8181 (synopsis "Desktop shell for GNOME")
8182 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8183 (description
8184 "GNOME Shell provides core user interface functions for the GNOME desktop,
8185 like switching to windows and launching applications.")
8186 (license license:gpl2+)))
8187
8188 (define-public gtk-vnc
8189 (package
8190 (name "gtk-vnc")
8191 (version "1.0.0")
8192 (source
8193 (origin
8194 (method url-fetch)
8195 (uri
8196 (string-append "mirror://gnome/sources/" name "/"
8197 (version-major+minor version) "/"
8198 name "-" version ".tar.xz"))
8199 (sha256
8200 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8201 (build-system meson-build-system)
8202 (arguments
8203 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8204 (native-inputs
8205 `(("gjs" ,gjs)
8206 ("glib:bin" ,glib "bin")
8207 ("gobject-introspection" ,gobject-introspection)
8208 ("intltool" ,intltool)
8209 ("node" ,node)
8210 ("perl" ,perl)
8211 ("pkg-config" ,pkg-config)
8212 ("python" ,python-wrapper)
8213 ("vala" ,vala)))
8214 (inputs
8215 `(("cairo" ,cairo)
8216 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8217 ("glib" ,glib)
8218 ("gnutls" ,gnutls)
8219 ("libgcrypt" ,libgcrypt)
8220 ("libsasl" ,cyrus-sasl)
8221 ("pulseaudio" ,pulseaudio)
8222 ("x11" ,libx11)
8223 ("zlib" ,zlib)))
8224 (propagated-inputs
8225 `(("gtk+" ,gtk+)))
8226 (synopsis "VNC client viewer widget for GTK+")
8227 (description "GTK-VNC is a project providing client side APIs for the RFB
8228 protocol / VNC remote desktop technology. It is built using coroutines allowing
8229 it to be completely asynchronous while remaining single threaded. It provides a
8230 core C library, and bindings for Python (PyGTK).")
8231 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8232 (license license:lgpl2.1+)))
8233
8234 (define-public gnome-autoar
8235 (package
8236 (name "gnome-autoar")
8237 (version "0.2.4")
8238 (source (origin
8239 (method url-fetch)
8240 (uri (string-append "mirror://gnome/sources/" name "/"
8241 (version-major+minor version) "/"
8242 name "-" version ".tar.xz"))
8243 (sha256
8244 (base32
8245 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8246 (build-system glib-or-gtk-build-system)
8247 (native-inputs
8248 `(("gobject-introspection" ,gobject-introspection)
8249 ("pkg-config" ,pkg-config)))
8250 (propagated-inputs
8251 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8252 (inputs
8253 `(("gtk+" ,gtk+)))
8254 (synopsis "Archives integration support for GNOME")
8255 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8256 (description
8257 "GNOME Autoar is a library which makes creating and extracting archives
8258 easy, safe, and automatic.")
8259 (license license:lgpl2.1+)))
8260
8261 (define-public tracker
8262 (package
8263 (name "tracker")
8264 (version "2.3.5")
8265 (source (origin
8266 (method url-fetch)
8267 (uri (string-append "mirror://gnome/sources/tracker/"
8268 (version-major+minor version) "/"
8269 "tracker-" version ".tar.xz"))
8270 (sha256
8271 (base32
8272 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8273 (build-system meson-build-system)
8274 (arguments
8275 `(#:glib-or-gtk? #t
8276 #:configure-flags
8277 ;; Otherwise, the RUNPATH will lack the final path component.
8278 (list (string-append "-Dc_link_args=-Wl,-rpath="
8279 (assoc-ref %outputs "out") "/lib:"
8280 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8281 #:phases
8282 (modify-phases %standard-phases
8283 (add-before 'check 'pre-check
8284 (lambda _
8285 ;; Some tests expect to write to $HOME.
8286 (setenv "HOME" "/tmp")
8287 #t)))))
8288 (native-inputs
8289 `(("glib:bin" ,glib "bin")
8290 ("gobject-introspection" ,gobject-introspection)
8291 ("python-pygobject" ,python-pygobject)
8292 ("intltool" ,intltool)
8293 ("pkg-config" ,pkg-config)
8294 ("vala" ,vala)))
8295 (inputs
8296 `(("dbus" ,dbus)
8297 ("sqlite" ,sqlite)
8298 ("libxml2" ,libxml2)
8299 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8300 ("json-glib" ,json-glib)
8301 ("libsoup" ,libsoup)))
8302 (synopsis "Metadata database, indexer and search tool")
8303 (home-page "https://wiki.gnome.org/Projects/Tracker")
8304 (description
8305 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8306
8307 It is a middleware component aimed at desktop application developers who want
8308 their apps to browse and search user content. It's not designed to be used
8309 directly by desktop users, but it provides a commandline tool named
8310 @command{tracker} for the adventurous.
8311
8312 Tracker allows your application to instantly perform full-text searches across
8313 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8314 example. This is achieved by indexing the user's home directory in the
8315 background.
8316
8317 Tracker also allows your application to query and list content that the user
8318 has stored. For example, GNOME Music displays all the music files that are
8319 found by Tracker. This means that GNOME Music doesn't need to maintain a
8320 database of its own.
8321
8322 If you need to go beyond simple searches, Tracker is also a linked data
8323 endpoint and it understands SPARQL. ")
8324 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8325 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8326 ;; libstemmer is bsd-3 and the rest is gpl2+.
8327 (license (list license:gpl2+
8328 license:bsd-3
8329 license:lgpl2.1+))))
8330
8331 (define-public tracker-miners
8332 (package
8333 (name "tracker-miners")
8334 (version "2.3.4")
8335 (source (origin
8336 (method url-fetch)
8337 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8338 (version-major+minor version)
8339 "/tracker-miners-" version ".tar.xz"))
8340 (sha256
8341 (base32
8342 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8343 (build-system meson-build-system)
8344 (arguments
8345 `(#:glib-or-gtk? #t
8346 #:configure-flags
8347 (list "-Dminer_rss=false" ; libgrss is required.
8348 ;; Ensure the RUNPATH contains all installed library locations.
8349 (string-append "-Dc_link_args=-Wl,-rpath="
8350 (assoc-ref %outputs "out")
8351 "/lib/tracker-miners-2.0")
8352 ;; TODO: Enable functional tests. Currently, the following error
8353 ;; appears:
8354 ;; Exception: The functional tests require DConf to be the default
8355 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8356 "-Dfunctional_tests=false")))
8357 (native-inputs
8358 `(("dbus" ,dbus)
8359 ("intltool" ,intltool)
8360 ("glib:bin" ,glib "bin")
8361 ("gobject-introspection" ,gobject-introspection)
8362 ("pkg-config" ,pkg-config)
8363 ("python-pygobject" ,python-pygobject)))
8364 (inputs
8365 `(("exempi" ,exempi)
8366 ("ffmpeg" ,ffmpeg)
8367 ("flac" ,flac)
8368 ("giflib" ,giflib)
8369 ("glib" ,glib)
8370 ("gstreamer" ,gstreamer)
8371 ("icu4c" ,icu4c)
8372 ("libcue" ,libcue)
8373 ("libexif" ,libexif)
8374 ("libgsf" ,libgsf)
8375 ("libgxps" ,libgxps)
8376 ("libiptcdata" ,libiptcdata)
8377 ("libjpeg" ,libjpeg-turbo)
8378 ("libosinfo" ,libosinfo)
8379 ("libpng" ,libpng)
8380 ("libseccomp" ,libseccomp)
8381 ("libtiff" ,libtiff)
8382 ("libvorbis" ,libvorbis)
8383 ("libxml2" ,libxml2)
8384 ("poppler" ,poppler)
8385 ("taglib" ,taglib)
8386 ("totem-pl-parser" ,totem-pl-parser)
8387 ("tracker" ,tracker)
8388 ("upower" ,upower)
8389 ("zlib" ,zlib)))
8390 (synopsis "Metadata database, indexer and search tool")
8391 (home-page "https://wiki.gnome.org/Projects/Tracker")
8392 (description
8393 "Tracker is an advanced framework for first class objects with associated
8394 metadata and tags. It provides a one stop solution for all metadata, tags,
8395 shared object databases, search tools and indexing.")
8396 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8397 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8398 (license (list license:gpl2+
8399 license:lgpl2.1+
8400 license:lgpl2.0+))))
8401
8402 (define-public nautilus
8403 (package
8404 (name "nautilus")
8405 (version "3.34.2")
8406 (source (origin
8407 (method url-fetch)
8408 (uri (string-append "mirror://gnome/sources/" name "/"
8409 (version-major+minor version) "/"
8410 name "-" version ".tar.xz"))
8411 (sha256
8412 (base32
8413 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8414 (build-system meson-build-system)
8415 (arguments
8416 '(#:glib-or-gtk? #t
8417 #:phases
8418 (modify-phases %standard-phases
8419 (add-after 'unpack 'skip-gtk-update-icon-cache
8420 ;; Don't create 'icon-theme.cache'.
8421 (lambda _
8422 (substitute* "build-aux/meson/postinstall.py"
8423 (("gtk-update-icon-cache") "true"))
8424 #t)))
8425 ;; XXX: FAIL: check-nautilus
8426 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8427 #:tests? #f))
8428 (native-inputs
8429 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8430 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8431 ("gobject-introspection" ,gobject-introspection)
8432 ("intltool" ,intltool)
8433 ("pkg-config" ,pkg-config)))
8434 (inputs
8435 `(("dconf" ,dconf)
8436 ("gexiv2" ,gexiv2)
8437 ("gvfs" ,gvfs)
8438 ("exempi" ,exempi)
8439 ("gnome-desktop" ,gnome-desktop)
8440 ("gnome-autoar" ,gnome-autoar)
8441 ("gst-plugins-base" ,gst-plugins-base)
8442 ("libseccomp" ,libseccomp)
8443 ("libselinux" ,libselinux)
8444 ("tracker" ,tracker)
8445 ("tracker-miners" ,tracker-miners)
8446 ;; XXX: gtk+ is required by libnautilus-extension.pc
8447 ;;
8448 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8449 ;; package. See:
8450 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8451 ("gtk+" ,gtk+)
8452 ("libexif" ,libexif)
8453 ("libxml2" ,libxml2)))
8454 (synopsis "File manager for GNOME")
8455 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8456 (description
8457 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8458 design and behaviour, giving the user a simple way to navigate and manage its
8459 files.")
8460 (license license:gpl2+)))
8461
8462 (define-public baobab
8463 (package
8464 (name "baobab")
8465 (version "3.32.0")
8466 (source (origin
8467 (method url-fetch)
8468 (uri (string-append
8469 "mirror://gnome/sources/" name "/"
8470 (version-major+minor version) "/"
8471 name "-" version ".tar.xz"))
8472 (sha256
8473 (base32
8474 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8475 (build-system meson-build-system)
8476 (arguments
8477 '(#:glib-or-gtk? #t))
8478 (native-inputs
8479 `(("intltool" ,intltool)
8480 ("pkg-config" ,pkg-config)
8481 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8482 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8483 ("itstool" ,itstool)
8484 ("xmllint" ,libxml2)
8485 ("glib" ,glib "bin")
8486 ("vala" ,vala)))
8487 (inputs
8488 `(("gtk+" ,gtk+)))
8489 (synopsis "Disk usage analyzer for GNOME")
8490 (description
8491 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8492 usage in the GNOME desktop environment. It can easily scan device volumes or
8493 a specific user-requested directory branch (local or remote). Once the scan
8494 is complete it provides a graphical representation of each selected folder.")
8495 (home-page "https://wiki.gnome.org/Apps/Baobab")
8496 (license license:gpl2+)))
8497
8498 (define-public gnome-backgrounds
8499 (package
8500 (name "gnome-backgrounds")
8501 (version "3.34.0")
8502 (source
8503 (origin
8504 (method url-fetch)
8505 (uri (string-append "mirror://gnome/sources/" name "/"
8506 (version-major+minor version) "/"
8507 name "-" version ".tar.xz"))
8508 (sha256
8509 (base32
8510 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8511 (build-system meson-build-system)
8512 (native-inputs
8513 `(("intltool" ,intltool)))
8514 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8515 (synopsis "Background images for the GNOME desktop")
8516 (description
8517 "GNOME backgrounds package contains a collection of graphics files which
8518 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8519 the package creates the proper framework and directory structure so that you
8520 can add your own files to the collection.")
8521 (license (list license:gpl2+
8522 license:cc-by2.0
8523 license:cc-by-sa2.0
8524 license:cc-by-sa3.0))))
8525
8526 (define-public gnome-screenshot
8527 (package
8528 (name "gnome-screenshot")
8529 (version "3.34.0")
8530 (source
8531 (origin
8532 (method url-fetch)
8533 (uri (string-append "mirror://gnome/sources/" name "/"
8534 (version-major+minor version) "/"
8535 name "-" version ".tar.xz"))
8536 (sha256
8537 (base32
8538 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8539 (build-system meson-build-system)
8540 (arguments
8541 '(#:phases
8542 (modify-phases %standard-phases
8543 (add-after 'unpack 'skip-gtk-update-icon-cache
8544 ;; Don't create 'icon-theme.cache'.
8545 (lambda _
8546 (substitute* "build-aux/postinstall.py"
8547 (("gtk-update-icon-cache") "true"))
8548 #t)))))
8549 (native-inputs
8550 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8551 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8552 ("intltool" ,intltool)
8553 ("appstream-glib" ,appstream-glib)
8554 ("pkg-config" ,pkg-config)))
8555 (inputs
8556 `(("gtk+" ,gtk+)
8557 ("libcanberra" ,libcanberra)
8558 ("libx11" ,libx11)
8559 ("libxext" ,libxext)))
8560 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8561 (synopsis "Take pictures of your screen")
8562 (description
8563 "GNOME Screenshot is a utility used for taking screenshots of the entire
8564 screen, a window or a user defined area of the screen, with optional
8565 beautifying border effects.")
8566 (license license:gpl2+)))
8567
8568 (define-public dconf-editor
8569 (package
8570 (name "dconf-editor")
8571 (version "3.34.2")
8572 (source
8573 (origin
8574 (method url-fetch)
8575 (uri (string-append "mirror://gnome/sources/" name "/"
8576 (version-major+minor version) "/"
8577 name "-" version ".tar.xz"))
8578 (sha256
8579 (base32
8580 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8581 (build-system meson-build-system)
8582 (native-inputs
8583 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8584 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8585 ("intltool" ,intltool)
8586 ("pkg-config" ,pkg-config)
8587 ("vala" ,vala)))
8588 (inputs
8589 `(("dconf" ,dconf)
8590 ("gtk+" ,gtk+)
8591 ("libxml2" ,libxml2)))
8592 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8593 (synopsis "Graphical editor for GNOME's dconf configuration system")
8594 (description
8595 "Dconf-editor is a graphical tool for browsing and editing the dconf
8596 configuration system for GNOME. It allows users to configure desktop
8597 software that do not provide their own configuration interface.")
8598 (license license:lgpl2.1+)))
8599
8600 (define-public gnome-default-applications
8601 (package
8602 (name "gnome-default-applications")
8603 (version "0")
8604 (build-system trivial-build-system)
8605 (source #f)
8606 (propagated-inputs
8607 `(("nautilus" ,nautilus)
8608 ("evince" ,evince)))
8609 (arguments
8610 `(#:modules ((guix build utils))
8611 #:builder
8612 (begin
8613 (use-modules (guix build utils))
8614 (let* ((out (assoc-ref %outputs "out"))
8615 (apps (string-append out "/share/applications")))
8616 (mkdir-p apps)
8617 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8618 (lambda (port)
8619 (format port "[Default Applications]\n")
8620 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8621 (format port "application/pdf=evince.desktop\n")
8622 (format port "application/postscript=evince.desktop\n")))
8623 #t))))
8624 (synopsis "Default MIME type associations for the GNOME desktop")
8625 (description
8626 "Given many installed packages which might handle a given MIME type, a
8627 user running the GNOME desktop probably has some preferences: for example,
8628 that folders be opened by default by the Nautilus file manager, not the Baobab
8629 disk usage analyzer. This package establishes that set of default MIME type
8630 associations for GNOME.")
8631 (license license:gpl3+)
8632 (home-page #f)))
8633
8634 (define-public libgovirt
8635 (package
8636 (name "libgovirt")
8637 (version "0.3.6")
8638 (source (origin
8639 (method url-fetch)
8640 (uri (string-append "mirror://gnome/sources/" name "/"
8641 (version-major+minor version) "/"
8642 name "-" version ".tar.xz"))
8643 (sha256
8644 (base32
8645 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8646 (build-system glib-or-gtk-build-system)
8647 (native-inputs
8648 `(("gettext" ,gettext-minimal)
8649 ("glib:bin" ,glib "bin")
8650 ("gobject-introspection" ,gobject-introspection)
8651 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8652 ("gtk+:bin" ,gtk+ "bin")
8653 ("pkg-config" ,pkg-config)))
8654 (inputs
8655 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8656 ("librest" ,rest)))
8657 (synopsis "GoVirt Library")
8658 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8659 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8660 (license license:gpl2+)))
8661
8662 (define-public gnome-weather
8663 (package
8664 (name "gnome-weather")
8665 (version "3.34.0")
8666 (source (origin
8667 (method url-fetch)
8668 (uri (string-append "mirror://gnome/sources/" name "/"
8669 (version-major+minor version) "/"
8670 name "-" version ".tar.xz"))
8671 (sha256
8672 (base32
8673 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8674 (build-system meson-build-system)
8675 (native-inputs
8676 `(("gettext" ,gettext-minimal)
8677 ("glib:bin" ,glib "bin")
8678 ("gobject-introspection" ,gobject-introspection)
8679 ("gtk+:bin" ,gtk+ "bin")
8680 ("pkg-config" ,pkg-config)))
8681 (inputs
8682 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8683 ("appstream-glib" ,appstream-glib)
8684 ("geoclue" ,geoclue)
8685 ("gdk-pixbuf" ,gdk-pixbuf)
8686 ("gjs" ,gjs)
8687 ("gnome-desktop" ,gnome-desktop)
8688 ("libgweather" ,libgweather)))
8689 (arguments
8690 `(#:glib-or-gtk? #t
8691 #:phases
8692 (modify-phases %standard-phases
8693 (add-after 'install 'fix-desktop-file
8694 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8695 ;; See https://issues.guix.gnu.org/issue/39324.
8696 (lambda* (#:key outputs #:allow-other-keys)
8697 (let* ((out (assoc-ref outputs "out"))
8698 (applications (string-append out "/share/applications")))
8699 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8700 (("Exec=.*") "Exec=gnome-weather\n"))
8701 #t)))
8702 (add-after 'install 'wrap
8703 (lambda* (#:key inputs outputs #:allow-other-keys)
8704 (let ((out (assoc-ref outputs "out"))
8705 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8706 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8707 (wrap-program (string-append out "/bin/gnome-weather")
8708 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8709 #t))))))
8710 (synopsis "Weather monitoring for GNOME desktop")
8711 (description "GNOME Weather is a small application that allows you to
8712 monitor the current weather conditions for your city, or anywhere in the
8713 world.")
8714 (home-page "https://wiki.gnome.org/Apps/Weather")
8715 (license license:gpl2+)))
8716
8717 (define-public gnome
8718 (package
8719 (name "gnome")
8720 (version (package-version gnome-shell))
8721 (source #f)
8722 (build-system trivial-build-system)
8723 (arguments '(#:builder (begin (mkdir %output) #t)))
8724 (propagated-inputs
8725 ;; TODO: Add or remove packages according to:
8726 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8727 `(
8728 ;; GNOME-Core-OS-Services
8729 ("accountsservice" ,accountsservice)
8730 ("network-manager" ,network-manager)
8731 ("packagekit" ,packagekit)
8732 ("upower" ,upower)
8733 ;; GNOME-Core-Shell
8734 ("adwaita-icon-theme" ,adwaita-icon-theme)
8735 ("gdm" ,gdm)
8736 ("glib-networking" ,glib-networking)
8737 ("gnome-backgrounds" ,gnome-backgrounds)
8738 ("gnome-bluetooth" ,gnome-bluetooth)
8739 ("gnome-color-manager" ,gnome-color-manager)
8740 ("gnome-control-center" ,gnome-control-center)
8741 ("gnome-desktop" ,gnome-desktop)
8742 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8743 ("gnome-initial-setup" ,gnome-initial-setup)
8744 ("gnome-keyring" ,gnome-keyring)
8745 ("gnome-menus" ,gnome-menus)
8746 ("gnome-session" ,gnome-session)
8747 ("gnome-settings-daemon" ,gnome-settings-daemon)
8748 ("gnome-shell-extensions" ,gnome-shell-extensions)
8749 ("gnome-shell" ,gnome-shell)
8750 ("gnome-themes-extra" ,gnome-themes-extra)
8751 ("gnome-user-docs" ,gnome-user-docs)
8752 ("gnome-user-share" ,gnome-user-share)
8753 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8754 ("gvfs" ,gvfs)
8755 ("mutter" ,mutter)
8756 ("orca" ,orca)
8757 ("rygel" ,rygel)
8758 ("sushi" ,sushi)
8759 ;; GNOME-Core-Utilities
8760 ("baobab" ,baobab)
8761 ("cheese" ,cheese)
8762 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8763 ;; only works on x86_64, so exclude it on other architectures.
8764 ,@(if (string-prefix? "x86_64" (%current-system))
8765 `(("eog" ,eog))
8766 '())
8767 ("epiphany" ,epiphany)
8768 ("evince" ,evince)
8769 ("file-roller" ,file-roller)
8770 ("gedit" ,gedit)
8771 ("gnome-boxes" ,gnome-boxes)
8772 ("gnome-calculator" ,gnome-calculator)
8773 ("gnome-calendar" ,gnome-calendar)
8774 ("gnome-characters" ,gnome-characters)
8775 ("gnome-clocks" ,gnome-clocks)
8776 ("gnome-contacts" ,gnome-contacts)
8777 ("gnome-disk-utility" ,gnome-disk-utility)
8778 ("gnome-font-viewer" ,gnome-font-viewer)
8779 ("gnome-maps" ,gnome-maps)
8780 ; TODO: ("gnome-music" ,gnome-music)
8781 ; TODO: ("gnome-photos" ,gnome-photos)
8782 ("gnome-screenshot" ,gnome-screenshot)
8783 ("gnome-system-monitor" ,gnome-system-monitor)
8784 ("gnome-terminal" ,gnome-terminal)
8785 ("gnome-weather" ,gnome-weather)
8786 ("nautilus" ,nautilus)
8787 ("simple-scan" ,simple-scan)
8788 ("totem" ,totem)
8789 ("yelp" ,yelp)
8790 ;; Others
8791 ("hicolor-icon-theme" ,hicolor-icon-theme)
8792 ("gnome-online-accounts" ,gnome-online-accounts)
8793
8794 ;; Packages not part of GNOME proper but that are needed for a good
8795 ;; experience. See <https://bugs.gnu.org/39646>.
8796 ;; XXX: Find out exactly which ones are needed and why.
8797 ("font-cantarell" ,font-cantarell)
8798 ("font-dejavu" ,font-dejavu)
8799 ("at-spi2-core" ,at-spi2-core)
8800 ("dbus" ,dbus)
8801 ("dconf" ,dconf)
8802 ("desktop-file-utils" ,desktop-file-utils)
8803 ("gnome-default-applications" ,gnome-default-applications)
8804 ("gnome-themes-standard" ,gnome-themes-standard)
8805 ("gst-plugins-base" ,gst-plugins-base)
8806 ("gst-plugins-good" ,gst-plugins-good)
8807 ("gucharmap" ,gucharmap)
8808 ("pinentry-gnome3" ,pinentry-gnome3)
8809 ("pulseaudio" ,pulseaudio)
8810 ("shared-mime-info" ,shared-mime-info)
8811 ("system-config-printer" ,system-config-printer)
8812 ("xdg-user-dirs" ,xdg-user-dirs)
8813 ("yelp" ,yelp)
8814 ("zenity" ,zenity)))
8815 (synopsis "The GNU desktop environment")
8816 (home-page "https://www.gnome.org/")
8817 (description
8818 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8819 applications for browsing the web, editing text and images, creating
8820 documents and diagrams, playing media, scanning, and much more.")
8821 (license license:gpl2+)))
8822
8823 (define-public byzanz
8824 ;; The last stable release of Byzanz was in 2011, but there have been many
8825 ;; useful commits made to the Byzanz repository since then that it would be
8826 ;; silly to use such an old release.
8827 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8828 (package
8829 (name "byzanz")
8830 (version (string-append "0.2-1." (string-take commit 7)))
8831 (source (origin
8832 (method git-fetch)
8833 (uri (git-reference
8834 (url "https://git.gnome.org/browse/byzanz")
8835 (commit commit)))
8836 (file-name (string-append name "-" version "-checkout"))
8837 (sha256
8838 (base32
8839 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8840 (build-system glib-or-gtk-build-system)
8841 (arguments
8842 '(#:phases
8843 (modify-phases %standard-phases
8844 (add-before 'bootstrap 'build-without-Werror
8845 (lambda _
8846 ;; The build system cleverly detects that we're not building from
8847 ;; a release tarball and turns on -Werror for GCC.
8848 ;; Unsurprisingly, there is a warning during compilation that
8849 ;; causes the build to fail unnecessarily, so we remove the flag.
8850 (substitute* '("configure.ac")
8851 (("-Werror") ""))
8852 #t)))))
8853 (native-inputs
8854 `(("autoconf" ,autoconf)
8855 ("automake" ,automake)
8856 ("gnome-common" ,gnome-common)
8857 ("intltool" ,intltool)
8858 ("libtool" ,libtool)
8859 ("pkg-config" ,pkg-config)
8860 ("which" ,which)))
8861 (inputs
8862 `(("glib" ,glib)
8863 ("gstreamer" ,gstreamer)
8864 ("gst-plugins-base" ,gst-plugins-base)
8865 ("gtk+" ,gtk+)))
8866 (synopsis "Desktop recording program")
8867 (description "Byzanz is a simple desktop recording program with a
8868 command-line interface. It can record part or all of an X display for a
8869 specified duration and save it as a GIF encoded animated image file.")
8870 (home-page "https://git.gnome.org/browse/byzanz")
8871 (license license:gpl2+))))
8872
8873 (define-public gsound
8874 (package
8875 (name "gsound")
8876 (version "1.0.2")
8877 (source (origin
8878 (method url-fetch)
8879 (uri (string-append "mirror://gnome/sources/" name "/"
8880 (version-major+minor version) "/"
8881 name "-" version ".tar.xz"))
8882 (sha256
8883 (base32
8884 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8885 (build-system glib-or-gtk-build-system)
8886 (native-inputs
8887 `(("pkg-config" ,pkg-config)
8888 ("gobject-introspection" ,gobject-introspection)
8889 ("vala" ,vala)))
8890 (inputs
8891 `(("glib" ,glib)
8892 ("libcanberra" ,libcanberra)))
8893 (home-page "https://wiki.gnome.org/Projects/GSound")
8894 (synopsis "GObject wrapper for libcanberra")
8895 (description
8896 "GSound is a small library for playing system sounds. It's designed to be
8897 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8898 library.")
8899 (license license:lgpl2.1+)))
8900
8901 (define-public libzapojit
8902 (package
8903 (name "libzapojit")
8904 (version "0.0.3")
8905 (source (origin
8906 (method url-fetch)
8907 (uri (string-append "mirror://gnome/sources/" name "/"
8908 (version-major+minor version) "/"
8909 name "-" version ".tar.xz"))
8910 (sha256
8911 (base32
8912 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8913 (build-system gnu-build-system)
8914 (native-inputs
8915 `(("gobject-introspection" ,gobject-introspection)
8916 ("intltool" ,intltool)
8917 ("pkg-config" ,pkg-config)))
8918 (inputs
8919 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8920 ("json-glib" ,json-glib)
8921 ("rest" ,rest)))
8922 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8923 (synopsis "Library for accessing SkyDrive and Hotmail")
8924 (description
8925 "Libzapojit is a GLib-based library for accessing online service APIs of
8926 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8927 (license license:lgpl2.1+)))
8928
8929 (define-public gnome-clocks
8930 (package
8931 (name "gnome-clocks")
8932 (version "3.34.0")
8933 (source (origin
8934 (method url-fetch)
8935 (uri (string-append "mirror://gnome/sources/" name "/"
8936 (version-major+minor version) "/"
8937 name "-" version ".tar.xz"))
8938 (sha256
8939 (base32
8940 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8941 (build-system meson-build-system)
8942 (arguments
8943 '(#:glib-or-gtk? #t
8944 #:phases
8945 (modify-phases %standard-phases
8946 (add-after 'unpack 'skip-gtk-update-icon-cache
8947 ;; Don't create 'icon-theme.cache'.
8948 (lambda _
8949 (substitute* "build-aux/post-install.py"
8950 (("gtk-update-icon-cache") "true"))
8951 #t)))))
8952 (native-inputs
8953 `(("vala" ,vala)
8954 ("pkg-config" ,pkg-config)
8955 ("glib" ,glib "bin") ; for glib-compile-resources
8956 ("desktop-file-utils" ,desktop-file-utils)
8957 ("gettext" ,gettext-minimal)
8958 ("itstool" ,itstool)))
8959 (inputs
8960 `(("glib" ,glib)
8961 ("gtk+" ,gtk+)
8962 ("gsound" ,gsound)
8963 ("geoclue" ,geoclue)
8964 ("geocode-glib" ,geocode-glib)
8965 ("libgweather" ,libgweather)
8966 ("gnome-desktop" ,gnome-desktop)))
8967 (home-page "https://wiki.gnome.org/Apps/Clocks")
8968 (synopsis "GNOME's clock application")
8969 (description
8970 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8971 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8972 (license license:gpl3+)))
8973
8974 (define-public gnome-calendar
8975 (package
8976 (name "gnome-calendar")
8977 (version "3.34.2")
8978 (source (origin
8979 (method url-fetch)
8980 (uri (string-append "mirror://gnome/sources/" name "/"
8981 (version-major+minor version) "/"
8982 name "-" version ".tar.xz"))
8983 (sha256
8984 (base32
8985 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8986 (build-system meson-build-system)
8987 (arguments
8988 '(#:glib-or-gtk? #t
8989 ;; gnome-calendar has to be installed before the tests can be run
8990 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8991 #:tests? #f
8992 #:phases
8993 (modify-phases %standard-phases
8994 (add-after 'unpack 'skip-gtk-update-icon-cache
8995 ;; Don't create 'icon-theme.cache'.
8996 (lambda _
8997 (substitute* "build-aux/meson/meson_post_install.py"
8998 (("gtk-update-icon-cache") "true"))
8999 #t)))))
9000 (native-inputs
9001 `(("gettext" ,gettext-minimal)
9002 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9003 ("pkg-config" ,pkg-config)))
9004 (inputs
9005 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9006 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9007 ("libdazzle" ,libdazzle)
9008 ("libedataserverui" ,evolution-data-server)
9009 ("libgweather" ,libgweather)
9010 ("geoclue" ,geoclue)))
9011 (propagated-inputs
9012 `(("evolution-data-server" ,evolution-data-server)))
9013 (home-page "https://wiki.gnome.org/Apps/Calendar")
9014 (synopsis "GNOME's calendar application")
9015 (description
9016 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9017 desktop. It supports multiple calendars, month, week and year view.")
9018 (license license:gpl3+)))
9019
9020 (define-public gnome-todo
9021 (package
9022 (name "gnome-todo")
9023 (version "3.28.1")
9024 (source (origin
9025 (method url-fetch)
9026 (uri (string-append "mirror://gnome/sources/" name "/"
9027 (version-major+minor version) "/"
9028 name "-" version ".tar.xz"))
9029 (sha256
9030 (base32
9031 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9032 (patches
9033 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9034 (build-system meson-build-system)
9035 (arguments
9036 '(#:glib-or-gtk? #t
9037 #:phases (modify-phases %standard-phases
9038 (add-after
9039 'install 'wrap-gnome-todo
9040 (lambda* (#:key inputs outputs #:allow-other-keys)
9041 (let ((out (assoc-ref outputs "out"))
9042 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9043 (python-path (getenv "PYTHONPATH")))
9044 (wrap-program (string-append out "/bin/gnome-todo")
9045 ;; XXX: gi plugins are broken.
9046 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9047 ;; For plugins.
9048 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9049 `("PYTHONPATH" ":" prefix (,python-path))))
9050 #t)))))
9051 (native-inputs
9052 `(("gettext" ,gettext-minimal)
9053 ("gobject-introspection" ,gobject-introspection)
9054 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9055 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9056 ("pkg-config" ,pkg-config)))
9057 (inputs
9058 `(("rest" ,rest) ; For Todoist plugin
9059 ("json-glib" ,json-glib) ; For Todoist plugin
9060 ("libedataserverui" ,evolution-data-server)
9061 ("libical" ,libical)
9062 ("libpeas" ,libpeas)
9063 ("python-pygobject" ,python-pygobject)
9064 ("evolution-data-server" ,evolution-data-server)
9065 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9066 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9067 (home-page "https://wiki.gnome.org/Apps/Todo")
9068 (synopsis "GNOME's ToDo Application")
9069 (description
9070 "GNOME To Do is a simplistic personal task manager designed to perfectly
9071 fit the GNOME desktop.")
9072 (license license:gpl3+)))
9073
9074 (define-public gnome-dictionary
9075 (package
9076 (name "gnome-dictionary")
9077 (version "3.26.1")
9078 (source (origin
9079 (method url-fetch)
9080 (uri (string-append "mirror://gnome/sources/" name "/"
9081 (version-major+minor version) "/"
9082 name "-" version ".tar.xz"))
9083 (sha256
9084 (base32
9085 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9086 (build-system meson-build-system)
9087 (arguments '(#:glib-or-gtk? #t
9088 #:phases (modify-phases %standard-phases
9089 (add-after 'unpack 'patch-install-script
9090 (lambda _
9091 ;; This script attempts to compile glib schemas
9092 ;; and create an empty MIME database. We do
9093 ;; that elsewhere, so prevent it from running.
9094 (substitute* "build-aux/post-install.sh"
9095 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9096 #t)))))
9097 (native-inputs
9098 `(("glib:bin" ,glib "bin")
9099 ("gobject-introspection" ,gobject-introspection)
9100 ("intltool" ,intltool)
9101 ("itstool" ,itstool)
9102 ("pkg-config" ,pkg-config)
9103 ("xmllint" ,libxml2)))
9104 (inputs
9105 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9106 ("gtk+" ,gtk+)))
9107 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9108 (synopsis "Look up words in dictionary sources")
9109 (description
9110 "GNOME Dictionary can look for the definition or translation of a word in
9111 existing databases over the internet.")
9112 (license license:gpl3+)))
9113
9114 (define-public gnome-tweaks
9115 (package
9116 (name "gnome-tweaks")
9117 (version "3.34.0")
9118 (source (origin
9119 (method url-fetch)
9120 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9121 (version-major+minor version) "/"
9122 "gnome-tweaks-" version ".tar.xz"))
9123 (patches
9124 (list (search-patch "gnome-tweaks-search-paths.patch")))
9125 (sha256
9126 (base32
9127 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9128 (build-system meson-build-system)
9129 (arguments
9130 `(#:glib-or-gtk? #t
9131 #:configure-flags '("-Dlocalstatedir=/tmp"
9132 "-Dsysconfdir=/tmp")
9133 #:imported-modules ((guix build python-build-system)
9134 ,@%meson-build-system-modules)
9135 #:phases
9136 (modify-phases %standard-phases
9137 (add-after 'unpack 'skip-gtk-update-icon-cache
9138 ;; Don't create 'icon-theme.cache'.
9139 (lambda _
9140 (substitute* "meson-postinstall.py"
9141 (("gtk-update-icon-cache") "true"))
9142 #t))
9143 (add-after 'install 'wrap
9144 (@@ (guix build python-build-system) wrap))
9145 (add-after 'wrap 'wrap-gi-typelib
9146 (lambda* (#:key inputs outputs #:allow-other-keys)
9147 (let ((out (assoc-ref outputs "out"))
9148 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9149 (wrap-program (string-append out "/bin/gnome-tweaks")
9150 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9151 #t)))))
9152 (native-inputs
9153 `(("intltool" ,intltool)
9154 ("pkg-config" ,pkg-config)))
9155 (inputs
9156 `(("gnome-desktop" ,gnome-desktop)
9157 ("gtk+" ,gtk+)
9158 ("gobject-introspection" ,gobject-introspection)
9159 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9160 ("libhandy" ,libhandy)
9161 ("libnotify" ,libnotify)
9162 ("libsoup" ,libsoup)
9163 ("nautilus" ,nautilus)
9164 ("python" ,python)
9165 ("python-pygobject" ,python-pygobject)))
9166 (synopsis "Customize advanced GNOME 3 options")
9167 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9168 (description
9169 "GNOME Tweaks allows adjusting advanced configuration settings in
9170 GNOME 3. This includes things like the fonts used in user interface elements,
9171 alternative user interface themes, changes in window management behavior,
9172 GNOME Shell appearance and extension, etc.")
9173 (license license:gpl3+)))
9174
9175 (define-public gnome-shell-extensions
9176 (package
9177 (name "gnome-shell-extensions")
9178 (version "3.34.2")
9179 (source (origin
9180 (method url-fetch)
9181 (uri (string-append "mirror://gnome/sources/" name "/"
9182 (version-major+minor version) "/"
9183 name "-" version ".tar.xz"))
9184 (sha256
9185 (base32
9186 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9187 (build-system meson-build-system)
9188 (arguments
9189 '(#:configure-flags '("-Dextension_set=all")))
9190 (native-inputs
9191 `(("glib:bin" ,glib "bin")
9192 ("intltool" ,intltool)
9193 ("pkg-config" ,pkg-config)))
9194 (propagated-inputs
9195 `(("glib" ,glib)))
9196 (synopsis "Extensions for GNOME Shell")
9197 (description "GNOME Shell extensions modify and extend GNOME Shell
9198 functionality and behavior.")
9199 (home-page "https://extensions.gnome.org/")
9200 (license license:gpl3+)))
9201
9202 (define-public arc-theme
9203 (package
9204 (name "arc-theme")
9205 (version "20190917")
9206 (source (origin
9207 (method git-fetch)
9208 (uri (git-reference
9209 (url "https://github.com/NicoHood/arc-theme")
9210 (commit version)))
9211 (file-name (git-file-name name version))
9212 (sha256
9213 (base32
9214 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
9215 (build-system gnu-build-system)
9216 (arguments
9217 '(#:phases
9218 (modify-phases %standard-phases
9219 ;; autogen.sh calls configure at the end of the script.
9220 (replace 'bootstrap
9221 (lambda _ (invoke "autoreconf" "-vfi")))
9222 (add-before 'build 'set-home ;placate Inkscape
9223 (lambda _
9224 (setenv "HOME" (getcwd))
9225 #t)))))
9226 (native-inputs
9227 `(("autoconf" ,autoconf)
9228 ("automake" ,automake)
9229 ("glib" ,glib "bin") ; for glib-compile-resources
9230 ("gnome-shell" ,gnome-shell)
9231 ("gtk+" ,gtk+)
9232 ("inkscape" ,inkscape)
9233 ("optipng" ,optipng)
9234 ("pkg-config" ,pkg-config)
9235 ("sassc" ,sassc/libsass-3.5)))
9236 (synopsis "A flat GTK+ theme with transparent elements")
9237 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9238 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9239 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9240 (home-page "https://github.com/horst3180/arc-theme")
9241 ;; No "or later" language found.
9242 (license license:gpl3+)))
9243
9244 (define-public faba-icon-theme
9245 (package
9246 (name "faba-icon-theme")
9247 (version "4.3")
9248 (source
9249 (origin
9250 (method git-fetch)
9251 (uri (git-reference
9252 (url "https://github.com/snwh/faba-icon-theme")
9253 (commit (string-append "v" version))))
9254 (file-name (git-file-name name version))
9255 (sha256
9256 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9257 (build-system meson-build-system)
9258 (arguments
9259 `(#:phases
9260 (modify-phases %standard-phases
9261 (add-before 'configure 'disable-post-install
9262 (lambda _
9263 (substitute* "meson.build"
9264 (("meson.add_install_script.*") "")))))))
9265 (native-inputs
9266 `(("autoconf" ,autoconf)
9267 ("automake" ,automake)))
9268 (synopsis "Faba icon theme")
9269 (description
9270 "Faba is a minimal icon set used as a basis for other themes such as
9271 Moka")
9272 (home-page "https://snwh.org/moka")
9273 (license (list license:lgpl3+
9274 license:cc-by-sa4.0))))
9275
9276 (define-public moka-icon-theme
9277 (package
9278 (inherit faba-icon-theme)
9279 (name "moka-icon-theme")
9280 (version "5.4.0")
9281 (source
9282 (origin
9283 (method git-fetch)
9284 (uri (git-reference
9285 (url "https://github.com/snwh/moka-icon-theme")
9286 (commit (string-append "v" version))))
9287 (file-name (git-file-name name version))
9288 (sha256
9289 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9290 (propagated-inputs
9291 ;; Moka is based on Faba by using it as a fallback icon set instead of
9292 ;; bundling it, so we need to add it as a propagated input.
9293 `(("faba-icon-theme" ,faba-icon-theme)))
9294 (synopsis "Moka icon theme")
9295 (description "Moka is a stylized desktop icon set, designed to be clear,
9296 simple and consistent.")
9297 (license (list license:gpl3+
9298 license:cc-by-sa4.0))))
9299
9300 (define-public arc-icon-theme
9301 (package
9302 (name "arc-icon-theme")
9303 (version "20161122")
9304 (source
9305 (origin
9306 (method git-fetch)
9307 (uri (git-reference
9308 (url "https://github.com/horst3180/arc-icon-theme")
9309 (commit version)))
9310 (file-name (git-file-name name version))
9311 (sha256
9312 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9313 (build-system gnu-build-system)
9314 (arguments
9315 `(#:phases
9316 (modify-phases %standard-phases
9317 (add-after 'unpack 'disable-configure-during-bootstrap
9318 (lambda _
9319 (substitute* "autogen.sh"
9320 (("^\"\\$srcdir/configure\".*") ""))
9321 #t)))))
9322 (native-inputs
9323 `(("autoconf" ,autoconf)
9324 ("automake" ,automake)))
9325 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9326 (propagated-inputs
9327 `(("moka-icon-theme" ,moka-icon-theme)))
9328 (synopsis "Arc icon theme")
9329 (description "The Arc icon theme provides a set of icons matching the
9330 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9331 the Moka icon theme.")
9332 (home-page "https://github.com/horst3180/arc-icon-theme")
9333 (license license:gpl3+)))
9334
9335 (define-public folks
9336 (package
9337 (name "folks")
9338 (version "0.13.1")
9339 (source (origin
9340 (method url-fetch)
9341 (uri (string-append
9342 "mirror://gnome/sources/folks/"
9343 (version-major+minor version) "/"
9344 "folks-" version ".tar.xz"))
9345 (sha256
9346 (base32
9347 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9348 (build-system meson-build-system)
9349 (arguments
9350 '(#:phases
9351 (modify-phases %standard-phases
9352 (add-after 'unpack 'skip-gtk-update-icon-cache
9353 ;; Don't create 'icon-theme.cache'.
9354 (lambda _
9355 (substitute* "meson_post_install.py"
9356 (("gtk-update-icon-cache") "true"))
9357 #t)))))
9358 (inputs
9359 `(("bdb" ,bdb)
9360 ("dbus-glib" ,dbus-glib)
9361 ("evolution-data-server" ,evolution-data-server)
9362 ("glib" ,glib)
9363 ("libgee" ,libgee)
9364 ("readline" ,readline)
9365 ("telepathy-glib" ,telepathy-glib)))
9366 (native-inputs
9367 `(("glib:bin" ,glib "bin")
9368 ("gobject-introspection" ,gobject-introspection)
9369 ("intltool" ,intltool)
9370 ("pkg-config" ,pkg-config)
9371 ("vala" ,vala)))
9372 (synopsis "Library to aggregate data about people")
9373 (description "Libfolks is a library that aggregates information about people
9374 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9375 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9376 etc.) to create metacontacts. It's written in Vala, which generates C code when
9377 compiled.")
9378 (home-page "https://wiki.gnome.org/Projects/Folks")
9379 (license license:lgpl2.1+)))
9380
9381 (define-public gfbgraph
9382 (package
9383 (name "gfbgraph")
9384 (version "0.2.4")
9385 (source (origin
9386 (method url-fetch)
9387 (uri (string-append
9388 "mirror://gnome/sources/gfbgraph/"
9389 (version-major+minor version) "/"
9390 "gfbgraph-" version ".tar.xz"))
9391 (sha256
9392 (base32
9393 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9394 (build-system glib-or-gtk-build-system)
9395 (arguments
9396 `(#:tests? #f ; tests appear to require the network
9397 #:configure-flags '("--disable-static"
9398 "--enable-gtk-doc"
9399 "--enable-introspection")))
9400 (native-inputs
9401 `(("gobject-introspection" ,gobject-introspection)
9402 ("gtk-doc" ,gtk-doc)
9403 ("pkg-config" ,pkg-config)
9404
9405 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9406 ("autoconf" ,autoconf)
9407 ("automake" ,automake)
9408 ("libtool" ,libtool)
9409 ("which" ,which)))
9410 (inputs
9411 `(("json-glib" ,json-glib)
9412 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9413 ("rest" ,rest)))
9414 (synopsis "GLib/GObject wrapper for the Facebook API")
9415 (description "This library allows you to use the Facebook API from
9416 GLib/GObject code.")
9417 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9418 (license license:lgpl2.1+)))
9419
9420 (define-public libgnomekbd
9421 (package
9422 (name "libgnomekbd")
9423 (version "3.26.1")
9424 (source (origin
9425 (method url-fetch)
9426 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9427 (version-major+minor version) "/"
9428 "libgnomekbd-" version ".tar.xz"))
9429 (sha256
9430 (base32
9431 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9432 (build-system gnu-build-system)
9433 (native-inputs
9434 `(("pkg-config" ,pkg-config)
9435 ("glib" ,glib "bin")
9436 ("intltool" ,intltool)))
9437 (propagated-inputs
9438 ;; Referred to in .h files and .pc.
9439 `(("glib" ,glib)
9440 ("gtk+" ,gtk+)
9441 ("libxklavier" ,libxklavier)))
9442 (home-page "https://www.gnome.org")
9443 (synopsis "GNOME keyboard configuration library")
9444 (description
9445 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9446 environment, which can notably display keyboard layouts.")
9447 (license license:lgpl2.0+)))
9448
9449 ;;; This package is no longer maintained:
9450 ;;; https://wiki.gnome.org/Attic/LibUnique
9451 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9452 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9453 (define-public libunique
9454 (package
9455 (name "libunique")
9456 (version "3.0.2")
9457 (source (origin
9458 (method url-fetch)
9459 (uri (string-append "mirror://gnome/sources/" name "/"
9460 (version-major+minor version) "/"
9461 name "-" version ".tar.xz"))
9462 (sha256
9463 (base32
9464 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9465 (build-system glib-or-gtk-build-system)
9466 (arguments
9467 `(#:configure-flags '("--disable-static"
9468 "--disable-dbus" ; use gdbus
9469 "--enable-introspection")))
9470 (native-inputs
9471 `(("pkg-config" ,pkg-config)
9472 ("gobject-introspection" ,gobject-introspection)
9473 ("glib:bin" ,glib "bin")
9474 ("gtk-doc" ,gtk-doc)))
9475 (propagated-inputs
9476 ;; Referred to in .h files and .pc.
9477 `(("gtk+" ,gtk+)))
9478 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9479 (synopsis "Library for writing single instance applications")
9480 (description
9481 "Libunique is a library for writing single instance applications. If you
9482 launch a single instance application twice, the second instance will either just
9483 quit or will send a message to the running instance. Libunique makes it easy to
9484 write this kind of application, by providing a base class, taking care of all
9485 the IPC machinery needed to send messages to a running instance, and also
9486 handling the startup notification side.")
9487 (license license:lgpl2.1+)))
9488
9489 (define-public gnome-calculator
9490 (package
9491 (name "gnome-calculator")
9492 (version "3.34.1")
9493 (source
9494 (origin
9495 (method url-fetch)
9496 (uri (string-append "mirror://gnome/sources/" name "/"
9497 (version-major+minor version) "/"
9498 name "-" version ".tar.xz"))
9499 (sha256
9500 (base32
9501 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9502 (build-system meson-build-system)
9503 (arguments '(#:glib-or-gtk? #t))
9504 (native-inputs
9505 `(("gettext" ,gettext-minimal)
9506 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9507 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9508 ("itstool" ,itstool)
9509 ("vala" ,vala)
9510 ("pkg-config" ,pkg-config)))
9511 (inputs
9512 `(("glib" ,glib)
9513 ("gtksourceview" ,gtksourceview)
9514 ("libgee" ,libgee)
9515 ("libsoup" ,libsoup)
9516 ("libxml2" ,libxml2)
9517 ("mpc" ,mpc)
9518 ("mpfr" ,mpfr)))
9519 (home-page "https://wiki.gnome.org/Apps/Calculator")
9520 (synopsis "Desktop calculator")
9521 (description
9522 "Calculator is an application that solves mathematical equations and
9523 is suitable as a default application in a Desktop environment.")
9524 (license license:gpl3)))
9525
9526 (define-public xpad
9527 (package
9528 (name "xpad")
9529 (version "5.1.0")
9530 (source
9531 (origin
9532 (method url-fetch)
9533 (uri (string-append "https://launchpad.net/xpad/trunk/"
9534 version "/+download/"
9535 name "-" version ".tar.bz2"))
9536 (sha256
9537 (base32
9538 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9539 (build-system gnu-build-system)
9540 (native-inputs
9541 `(("autoconf" ,autoconf)
9542 ("automake" ,automake)
9543 ("gtk+:bin" ,gtk+ "bin")
9544 ("intltool" ,intltool)
9545 ("pkg-config" ,pkg-config)))
9546 (inputs
9547 `(("gtksourceview" ,gtksourceview-3)
9548 ("libsm" ,libsm)))
9549 (home-page "https://wiki.gnome.org/Apps/Xpad")
9550 (synopsis "Virtual sticky note")
9551 (description
9552 "Xpad is a sticky note that strives to be simple, fault tolerant,
9553 and customizable. Xpad consists of independent pad windows, each is
9554 basically a text box in which notes can be written.")
9555 (license license:gpl3+)))
9556
9557 (define-public gucharmap
9558 (let ((unicode-files
9559 '(("Blocks.txt"
9560 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9561 ("DerivedAge.txt"
9562 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9563 ("NamesList.txt"
9564 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9565 ("Scripts.txt"
9566 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9567 ("UnicodeData.txt"
9568 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9569 ("Unihan.zip"
9570 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9571 (package
9572 (name "gucharmap")
9573 (version "12.0.1")
9574 (source
9575 (origin
9576 (method url-fetch)
9577 (uri (string-append "mirror://gnome/sources/" name "/"
9578 (version-major+minor version) "/"
9579 name "-" version ".tar.xz"))
9580 (sha256
9581 (base32
9582 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9583 (build-system glib-or-gtk-build-system)
9584 (arguments
9585 `(#:modules ((ice-9 match)
9586 (guix build glib-or-gtk-build-system)
9587 (guix build utils))
9588 #:configure-flags
9589 (list "--with-unicode-data=../unicode-data")
9590 #:phases
9591 (modify-phases %standard-phases
9592 (add-after 'unpack 'prepare-unicode-data
9593 (lambda* (#:key inputs #:allow-other-keys)
9594 (mkdir-p "../unicode-data")
9595 (with-directory-excursion "../unicode-data"
9596 (for-each (match-lambda
9597 ((file _)
9598 (install-file (assoc-ref inputs file) ".")))
9599 ',unicode-files))
9600 #t)))))
9601 (native-inputs
9602 `(("desktop-file-utils" ,desktop-file-utils)
9603 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9604 ("gobject-introspection" ,gobject-introspection)
9605 ("intltool" ,intltool)
9606 ("itstool" ,itstool)
9607 ("pkg-config" ,pkg-config)
9608 ,@(map (match-lambda
9609 ((file hash)
9610 `(,file
9611 ,(origin
9612 (method url-fetch)
9613 (uri (string-append
9614 "http://www.unicode.org/Public/12.0.0/ucd/"
9615 file))
9616 (sha256 (base32 hash))))))
9617 unicode-files)
9618 ("unzip" ,unzip)))
9619 (inputs
9620 `(("gtk+" ,gtk+)
9621 ("xmllint" ,libxml2)))
9622 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9623 (synopsis "Unicode character picker and font browser")
9624 (description
9625 "This program allows you to browse through all the available Unicode
9626 characters and categories for the installed fonts, and to examine their
9627 detailed properties. It is an easy way to find the character you might
9628 only know by its Unicode name or code point.")
9629 (license license:gpl3+))))
9630
9631 (define-public bluefish
9632 (package
9633 (name "bluefish")
9634 (version "2.2.11")
9635 (source
9636 (origin
9637 (method url-fetch)
9638 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9639 "bluefish-" version ".tar.gz"))
9640 (sha256
9641 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9642 (build-system gnu-build-system)
9643 (native-inputs
9644 `(("desktop-file-utils" ,desktop-file-utils)
9645 ("intltool" ,intltool)
9646 ("pkg-config" ,pkg-config)))
9647 (inputs
9648 `(("enchant" ,enchant)
9649 ("gtk+" ,gtk+)
9650 ("python" ,python-wrapper)
9651 ("xmllint" ,libxml2)
9652 ("gucharmap" ,gucharmap)))
9653 (home-page "http://bluefish.openoffice.nl")
9654 (synopsis "Web development studio")
9655 (description
9656 "Bluefish is an editor targeted towards programmers and web developers,
9657 with many options to write web sites, scripts and other code.
9658 Bluefish supports many programming and markup languages.")
9659 (license license:gpl3+)))
9660
9661 (define-public gnome-system-monitor
9662 (package
9663 (name "gnome-system-monitor")
9664 (version "3.32.1")
9665 (source
9666 (origin
9667 (method url-fetch)
9668 (uri (string-append "mirror://gnome/sources/" name "/"
9669 (version-major+minor version) "/"
9670 name "-" version ".tar.xz"))
9671 (sha256
9672 (base32
9673 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9674 (build-system meson-build-system)
9675 (arguments
9676 '(#:glib-or-gtk? #t
9677 #:configure-flags '("-Dsystemd=false")))
9678 (native-inputs
9679 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9680 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9681 ("intltool" ,intltool)
9682 ("itstool" ,itstool)
9683 ("libgtop" ,libgtop)
9684 ("polkit" ,polkit)
9685 ("pkg-config" ,pkg-config)))
9686 (inputs
9687 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9688 ("gtk+" ,gtk+)
9689 ("gtkmm" ,gtkmm)
9690 ("librsvg" ,librsvg)
9691 ("libxml2" ,libxml2)
9692 ("libwnck" ,libwnck)))
9693 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9694 (synopsis "Process viewer and system resource monitor for GNOME")
9695 (description
9696 "GNOME System Monitor is a GNOME process viewer and system monitor with
9697 an attractive, easy-to-use interface. It has features, such as a tree view
9698 for process dependencies, icons for processes, the ability to hide processes,
9699 graphical time histories of CPU/memory/swap usage and the ability to
9700 kill/reinice processes.")
9701 (license license:gpl2+)))
9702
9703 (define-public python-pyatspi
9704 (package
9705 (name "python-pyatspi")
9706 (version "2.34.0")
9707 (source (origin
9708 (method url-fetch)
9709 (uri (string-append
9710 "mirror://gnome/sources/pyatspi/"
9711 (version-major+minor version)
9712 "/pyatspi-" version ".tar.xz"))
9713 (sha256
9714 (base32
9715 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9716 (build-system gnu-build-system)
9717 (arguments
9718 `(#:phases
9719 (modify-phases %standard-phases
9720 (add-before 'build 'fix-atk-load
9721 (lambda _
9722 (substitute* "pyatspi/__init__.py"
9723 (("from gi.repository import Atspi")
9724 "gi.require_version('Gtk', '3.0')
9725 from gi.repository import Gtk
9726 from gi.repository import Atspi"))
9727 #t)))))
9728 (native-inputs
9729 `(("pkg-config" ,pkg-config)))
9730 (inputs
9731 `(("python" ,python)))
9732 (propagated-inputs
9733 `(("python-pygobject" ,python-pygobject)))
9734 (synopsis "Python client bindings for D-Bus AT-SPI")
9735 (home-page "https://wiki.linuxfoundation.org/accessibility\
9736 /atk/at-spi/at-spi_on_d-bus")
9737 (description
9738 "This package includes a python client library for the AT-SPI D-Bus
9739 accessibility infrastructure.")
9740 (license license:lgpl2.0)
9741 (properties '((upstream-name . "pyatspi")))))
9742
9743 (define-public python2-pyatspi
9744 (package
9745 (inherit python-pyatspi)
9746 (name "python2-pyatspi")
9747 (inputs
9748 `(("python" ,python-2)))
9749 (propagated-inputs
9750 `(("python-pygobject" ,python2-pygobject)))))
9751
9752 (define-public orca
9753 (package
9754 (name "orca")
9755 (version "3.34.1")
9756 (source (origin
9757 (method url-fetch)
9758 (uri (string-append
9759 "mirror://gnome/sources/" name "/"
9760 (version-major+minor version) "/"
9761 name "-" version ".tar.xz"))
9762 (sha256
9763 (base32
9764 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9765 (build-system glib-or-gtk-build-system)
9766 (arguments
9767 '(#:phases
9768 (modify-phases %standard-phases
9769 (add-before 'configure 'qualify-xkbcomp
9770 (lambda* (#:key inputs #:allow-other-keys)
9771 (let ((xkbcomp (string-append
9772 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9773 (substitute* "src/orca/orca.py"
9774 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9775 #t))
9776 (add-after 'install 'wrap-orca
9777 (lambda* (#:key outputs #:allow-other-keys)
9778 (let* ((out (assoc-ref outputs "out"))
9779 (prog (string-append out "/bin/orca")))
9780 (wrap-program prog
9781 `("GI_TYPELIB_PATH" ":" prefix
9782 (,(getenv "GI_TYPELIB_PATH")))
9783 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9784 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9785 `("PYTHONPATH" ":" prefix
9786 (,(getenv "PYTHONPATH")))))
9787 #t)))))
9788 (native-inputs
9789 `(("intltool" ,intltool)
9790 ("itstool" ,itstool)
9791 ("pkg-config" ,pkg-config)
9792 ("xmllint" ,libxml2)))
9793 (inputs
9794 `(("at-spi2-atk" ,at-spi2-atk)
9795 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9796 ("gstreamer" ,gstreamer)
9797 ("gst-plugins-base" ,gst-plugins-base)
9798 ("gst-plugins-good" ,gst-plugins-good)
9799 ("gtk+" ,gtk+)
9800 ("python" ,python)
9801 ("python-pygobject" ,python-pygobject)
9802 ("python-pyatspi" ,python-pyatspi)
9803 ("python-speechd" ,speech-dispatcher)
9804 ("xkbcomp" ,xkbcomp)))
9805 (synopsis
9806 "Screen reader for individuals who are blind or visually impaired")
9807 (home-page "https://wiki.gnome.org/Projects/Orca")
9808 (description
9809 "Orca is a screen reader that provides access to the graphical desktop
9810 via speech and refreshable braille. Orca works with applications and toolkits
9811 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9812 (license license:lgpl2.1+)))
9813
9814 (define-public gspell
9815 (package
9816 (name "gspell")
9817 (version "1.8.2")
9818 (source (origin
9819 (method url-fetch)
9820 (uri (string-append "mirror://gnome/sources/" name "/"
9821 (version-major+minor version) "/"
9822 name "-" version ".tar.xz"))
9823 (sha256
9824 (base32
9825 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9826 (patches (search-patches "gspell-dash-test.patch"))))
9827 (build-system glib-or-gtk-build-system)
9828 (arguments
9829 '(#:configure-flags (list "--enable-vala")
9830 #:phases
9831 (modify-phases %standard-phases
9832 (add-before 'check 'pre-check
9833 (lambda* (#:key inputs #:allow-other-keys)
9834 ;; Tests require a running X server.
9835 (system "Xvfb :1 &")
9836 (setenv "DISPLAY" ":1")
9837
9838 ;; For the missing /etc/machine-id.
9839 (setenv "DBUS_FATAL_WARNINGS" "0")
9840
9841 ;; Allow Enchant and its Aspell backend to find the en_US
9842 ;; dictionary.
9843 (setenv "ASPELL_DICT_DIR"
9844 (string-append (assoc-ref inputs "aspell-dict-en")
9845 "/lib/aspell"))
9846 #t)))))
9847 (inputs
9848 `(("gtk+" ,gtk+)
9849 ("glib" ,glib)
9850 ("iso-codes" ,iso-codes)))
9851 (native-inputs
9852 `(("glib" ,glib "bin")
9853 ("gobject-introspection" ,gobject-introspection)
9854 ("pkg-config" ,pkg-config)
9855 ("vala" ,vala) ;for VAPI, needed by Geary
9856 ("xmllint" ,libxml2)
9857
9858 ;; For tests.
9859 ("aspell-dict-en" ,aspell-dict-en)
9860 ("xorg-server" ,xorg-server-for-tests)))
9861 (propagated-inputs
9862 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9863 (home-page "https://wiki.gnome.org/Projects/gspell")
9864 (synopsis "GNOME's alternative spell checker")
9865 (description
9866 "gspell provides a flexible API to add spell-checking to a GTK+
9867 application. It provides a GObject API, spell-checking to text entries and
9868 text views, and buttons to choose the language.")
9869 (license license:gpl2+)))
9870
9871 (define-public gnome-planner
9872 (package
9873 (name "gnome-planner")
9874 (version "0.14.6")
9875 (source (origin
9876 (method url-fetch)
9877 (uri (string-append "mirror://gnome/sources/planner/"
9878 (version-major+minor version) "/planner-"
9879 version ".tar.xz"))
9880 (sha256
9881 (base32
9882 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9883 (build-system glib-or-gtk-build-system)
9884 (arguments
9885 ;; Disable the Python bindings because the Planner program functions
9886 ;; without them, and (as of 2017-06-13) we have not packaged all of
9887 ;; packages that are necessary for building the Python bindings.
9888 `(#:configure-flags
9889 (list "--disable-python"
9890 ,@(if (string=? "aarch64-linux" (%current-system))
9891 '("--build=aarch64-unknown-linux-gnu")
9892 '()))))
9893 (inputs
9894 `(("libgnomecanvas" ,libgnomecanvas)
9895 ("libgnomeui" ,libgnomeui)
9896 ("libglade" ,libglade)
9897 ("gnome-vfs" ,gnome-vfs)
9898 ("gconf" ,gconf)
9899 ("libxml2" ,libxml2)
9900 ("libxslt" ,libxslt)
9901 ("gtk+" ,gtk+)
9902 ("glib" ,glib)))
9903 (native-inputs
9904 `(("intltool" ,intltool)
9905 ("scrollkeeper" ,scrollkeeper)
9906 ("pkg-config" ,pkg-config)))
9907 (home-page "https://wiki.gnome.org/Apps/Planner")
9908 (synopsis "Project management software for the GNOME desktop")
9909 (description
9910 "GNOME Planner is a project management tool based on the Work Breakdown
9911 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9912 the resources, tasks, and constraints that you define, Planner generates
9913 various views into a project. For example, Planner can show a Gantt chart of
9914 the project. It can show a detailed summary of tasks including their
9915 duration, cost, and current progress. It can also show a report of resource
9916 utilization that highlights under-utilized and over-utilized resources. These
9917 views can be printed as PDF or PostScript files, or exported to HTML.")
9918 (license license:gpl2+)))
9919
9920 (define-public lollypop
9921 (package
9922 (name "lollypop")
9923 (version "1.2.32")
9924 (source
9925 (origin
9926 (method url-fetch)
9927 (uri (string-append "https://adishatz.org/lollypop/"
9928 "lollypop-" version ".tar.xz"))
9929 (sha256
9930 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9931 (build-system meson-build-system)
9932 (arguments
9933 `(#:imported-modules
9934 (,@%meson-build-system-modules
9935 (guix build python-build-system))
9936 #:modules
9937 ((guix build meson-build-system)
9938 ((guix build python-build-system) #:prefix python:)
9939 (guix build utils))
9940 #:glib-or-gtk? #t
9941 #:tests? #f ; no test suite
9942 #:phases
9943 (modify-phases %standard-phases
9944 (add-after 'install 'wrap-program
9945 (lambda* (#:key outputs #:allow-other-keys)
9946 (let ((out (assoc-ref outputs "out"))
9947 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9948 (wrap-program (string-append out "/bin/lollypop")
9949 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9950 #t))
9951 (add-after 'install 'wrap-python
9952 (assoc-ref python:%standard-phases 'wrap)))))
9953 (native-inputs
9954 `(("intltool" ,intltool)
9955 ("itstool" ,itstool)
9956 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9957 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9958 ("pkg-config" ,pkg-config)))
9959 (inputs
9960 `(("gobject-introspection" ,gobject-introspection)
9961 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9962 ("gst-plugins-base" ,gst-plugins-base)
9963 ("libnotify" ,libnotify)
9964 ("libsecret" ,libsecret)
9965 ("libsoup" ,libsoup)
9966 ("python" ,python)
9967 ("python-beautifulsoup4" ,python-beautifulsoup4)
9968 ("python-gst" ,python-gst)
9969 ("python-pil" ,python-pillow)
9970 ("python-pycairo" ,python-pycairo)
9971 ("python-pygobject" ,python-pygobject)
9972 ("python-pylast" ,python-pylast)
9973 ("totem-pl-parser" ,totem-pl-parser)
9974 ("webkitgtk" ,webkitgtk)))
9975 (propagated-inputs
9976 `(;; gst-plugins-base is required to start Lollypop,
9977 ;; the others are required to play streaming.
9978 ("gst-plugins-good" ,gst-plugins-good)
9979 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9980 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9981 (synopsis "GNOME music playing application")
9982 (description
9983 "Lollypop is a music player designed to play well with GNOME desktop.
9984 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9985 from artists and tracks from the web. It also fetches cover artworks
9986 automatically and it can stream songs from online music services and charts.")
9987 (license license:gpl3+)))
9988
9989 (define-public gnome-video-effects
9990 (package
9991 (name "gnome-video-effects")
9992 (version "0.4.3")
9993 (source (origin
9994 (method url-fetch)
9995 (uri (string-append "mirror://gnome/sources/" name "/"
9996 (version-major+minor version) "/" name "-"
9997 version ".tar.xz"))
9998 (sha256
9999 (base32
10000 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
10001 (build-system glib-or-gtk-build-system)
10002 (arguments
10003 `(#:out-of-source? #f))
10004 (native-inputs
10005 `(("glib:bin" ,glib "bin")
10006 ("intltool" ,intltool)
10007 ("gettext" ,gettext-minimal)
10008 ("pkg-config" ,pkg-config)))
10009 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10010 (synopsis "Video effects for Cheese and other GNOME applications")
10011 (description
10012 "A collection of GStreamer video filters and effects to be used in
10013 photo-booth-like software, such as Cheese.")
10014 (license license:gpl2+)))
10015
10016 (define-public cheese
10017 (package
10018 (name "cheese")
10019 (version "3.34.0")
10020 (source (origin
10021 (method url-fetch)
10022 (uri (string-append "mirror://gnome/sources/" name "/"
10023 (version-major+minor version) "/" name "-"
10024 version ".tar.xz"))
10025 (sha256
10026 (base32
10027 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
10028 (arguments
10029 `(#:glib-or-gtk? #t
10030 ;; Tests require GDK.
10031 #:tests? #f
10032 #:phases
10033 (modify-phases %standard-phases
10034 (add-after 'unpack 'skip-gtk-update-icon-cache
10035 (lambda _
10036 ;; Don't create 'icon-theme.cache'
10037 (substitute* "meson_post_install.py"
10038 (("gtk-update-icon-cache") (which "true")))
10039 #t))
10040 (add-after 'install 'wrap-cheese
10041 (lambda* (#:key inputs outputs #:allow-other-keys)
10042 (let ((out (assoc-ref outputs "out"))
10043 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10044 (wrap-program (string-append out "/bin/cheese")
10045 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10046 #t)))))
10047 (build-system meson-build-system)
10048 (native-inputs
10049 `(("docbook-xsl" ,docbook-xsl)
10050 ("glib:bin" ,glib "bin")
10051 ("gtk-doc" ,gtk-doc)
10052 ("intltool" ,intltool)
10053 ("itstool" ,itstool)
10054 ("libxml2" ,libxml2)
10055 ("libxslt" ,libxslt)
10056 ("pkg-config" ,pkg-config)
10057 ("vala" ,vala)))
10058 (propagated-inputs
10059 `(("gnome-video-effects" ,gnome-video-effects)
10060 ("clutter" ,clutter)
10061 ("clutter-gst" ,clutter-gst)
10062 ("clutter-gtk" ,clutter-gtk)
10063 ("libcanberra" ,libcanberra)
10064 ("gdk-pixbuf" ,gdk-pixbuf)
10065 ("glib" ,glib)
10066 ("gstreamer" ,gstreamer)))
10067 (inputs
10068 `(("gnome-desktop" ,gnome-desktop)
10069 ("gobject-introspection" ,gobject-introspection)
10070 ("gst-plugins-base" ,gst-plugins-base)
10071 ("gst-plugins-bad" ,gst-plugins-bad)
10072 ("gtk+" ,gtk+)
10073 ("libx11" ,libx11)
10074 ("libxtst" ,libxtst)))
10075 (home-page "https://wiki.gnome.org/Apps/Cheese")
10076 (synopsis "Webcam photo booth software for GNOME")
10077 (description
10078 "Cheese uses your webcam to take photos and videos. Cheese can also
10079 apply fancy special effects and lets you share the fun with others.")
10080 (license license:gpl2+)))
10081
10082 (define-public sound-juicer
10083 (package
10084 (name "sound-juicer")
10085 (version "3.24.0")
10086 (source
10087 (origin
10088 (method url-fetch)
10089 (uri (string-append "mirror://gnome/sources/" name "/"
10090 (version-major+minor version) "/"
10091 name "-" version ".tar.xz"))
10092 (sha256
10093 (base32
10094 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10095 (build-system glib-or-gtk-build-system)
10096 (native-inputs
10097 `(("desktop-file-utils" ,desktop-file-utils)
10098 ("intltool" ,intltool)
10099 ("itstool" ,itstool)
10100 ("pkg-config" ,pkg-config)
10101 ("xmllint" ,libxml2)))
10102 (inputs
10103 `(("gtk+" ,gtk+)
10104 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10105 ("gstreamer" ,gstreamer)
10106 ("gst-plugins-base" ,gst-plugins-base)
10107 ("gst-plugins-good" ,gst-plugins-good)
10108 ("iso-codes" ,iso-codes)
10109 ("libbrasero-media3" ,brasero)
10110 ("libcanberra" ,libcanberra)
10111 ("libdiscid" ,libdiscid)
10112 ("libmusicbrainz" ,libmusicbrainz)
10113 ("neon" ,neon)))
10114 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10115 (synopsis "Audio music cd ripper")
10116 (description "Sound Juicer extracts audio from compact discs and convert it
10117 into audio files that a personal computer or digital audio player can play.
10118 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10119 mp3, Ogg Vorbis and FLAC")
10120 (license license:gpl2+)))
10121
10122 (define-public soundconverter
10123 (package
10124 (name "soundconverter")
10125 (version "3.0.2")
10126 (source
10127 (origin
10128 (method url-fetch)
10129 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10130 version "/+download/"
10131 "soundconverter-" version ".tar.xz"))
10132
10133 (sha256
10134 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10135 (build-system glib-or-gtk-build-system)
10136 (arguments
10137 `(#:imported-modules ((guix build python-build-system)
10138 (guix build glib-or-gtk-build-system)
10139 ,@%gnu-build-system-modules)
10140
10141 #:modules ((guix build glib-or-gtk-build-system)
10142 (guix build utils)
10143 ((guix build gnu-build-system) #:prefix gnu:)
10144 ((guix build python-build-system) #:prefix python:))
10145
10146 #:phases
10147 (modify-phases %standard-phases
10148 (add-after 'install 'wrap-soundconverter-for-python
10149 (assoc-ref python:%standard-phases 'wrap))
10150 (add-after 'install 'wrap-soundconverter
10151 (lambda* (#:key inputs outputs #:allow-other-keys)
10152 (let ((out (assoc-ref outputs "out"))
10153 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10154 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10155 (wrap-program (string-append out "/bin/soundconverter")
10156 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10157 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10158 #t)))))
10159 (native-inputs
10160 `(("intltool" ,intltool)
10161 ("pkg-config" ,pkg-config)
10162 ("glib:bin" ,glib "bin")))
10163 (inputs
10164 `(("gtk+" ,gtk+)
10165 ("python" ,python)
10166 ("python-pygobject" ,python-pygobject)
10167 ("gstreamer" ,gstreamer)
10168 ("gst-plugins-base" ,gst-plugins-base)))
10169 (home-page "https://soundconverter.org/")
10170 (synopsis "Convert between audio formats with a graphical interface")
10171 (description
10172 "SoundConverter supports converting between many audio formats including
10173 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10174 configurable file renaming. ")
10175 (license license:gpl3)))
10176
10177 (define-public workrave
10178 (package
10179 (name "workrave")
10180 (version "1.10.42")
10181 (source
10182 (origin
10183 (method git-fetch)
10184 (uri (git-reference
10185 (url "https://github.com/rcaelers/workrave")
10186 (commit (string-append "v" (string-map
10187 (match-lambda (#\. #\_) (chr chr))
10188 version)))))
10189 (file-name (git-file-name name version))
10190 (sha256
10191 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10192 (build-system glib-or-gtk-build-system)
10193 (arguments
10194 ;; The only tests are maintainer tests (in po/), which fail.
10195 `(#:tests? #f))
10196 (inputs `(("glib" ,glib)
10197 ("gtk+" ,gtk+)
10198 ("gdk-pixbuf" ,gdk-pixbuf)
10199 ("gtkmm" ,gtkmm)
10200 ("glibmm" ,glibmm)
10201 ("libx11" ,libx11)
10202 ("libxtst" ,libxtst)
10203 ("dconf" ,dconf)
10204 ("libice" ,libice)
10205 ("libsm" ,libsm)
10206 ("libxscrnsaver" ,libxscrnsaver)))
10207 (native-inputs `(("boost" ,boost)
10208 ("pkg-config" ,pkg-config)
10209 ("gettext" ,gettext-minimal)
10210 ("autoconf" ,autoconf)
10211 ("autoconf-archive" , autoconf-archive)
10212 ("automake" ,automake)
10213 ("libtool" ,libtool)
10214 ("intltool" ,intltool)
10215 ("gobject-introspection" ,gobject-introspection)
10216 ("python3" ,python-3)
10217 ("python-jinja2" ,python-jinja2)))
10218 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10219 (description
10220 "Workrave is a program that assists in the recovery and prevention of
10221 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10222 micro-pauses and rest breaks, and restricts you to your daily limit.")
10223 (home-page "http://www.workrave.org")
10224 (license license:gpl3+)))
10225
10226 (define-public ghex
10227 (package
10228 (name "ghex")
10229 (version "3.18.4")
10230 (source (origin
10231 (method url-fetch)
10232 (uri (string-append "mirror://gnome/sources/ghex/"
10233 (version-major+minor version) "/"
10234 "ghex-" version ".tar.xz"))
10235 (sha256
10236 (base32
10237 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10238 (build-system meson-build-system)
10239 (arguments
10240 '(#:glib-or-gtk? #t
10241 #:phases
10242 (modify-phases %standard-phases
10243 (add-after 'unpack 'skip-gtk-update-icon-cache
10244 ;; Don't create 'icon-theme.cache'.
10245 (lambda _
10246 (substitute* "meson_post_install.py"
10247 (("gtk-update-icon-cache") (which "true")))
10248 #t)))))
10249 (native-inputs
10250 `(("pkg-config" ,pkg-config)
10251 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10252 ("gnome-common" ,gnome-common)
10253 ("which" ,which)
10254 ("intltool" ,intltool)
10255 ("yelp-tools" ,yelp-tools)
10256 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10257 (inputs
10258 `(("atk" ,atk)
10259 ("gtk" ,gtk+)))
10260 (synopsis "GNOME hexadecimal editor")
10261 (description "The GHex program can view and edit files in two ways:
10262 hexadecimal or ASCII. It is useful for editing binary files in general.")
10263 (home-page "https://wiki.gnome.org/Apps/Ghex")
10264 (license license:gpl2)))
10265
10266 (define-public libdazzle
10267 (package
10268 (name "libdazzle")
10269 (version "3.37.1")
10270 (source (origin
10271 (method url-fetch)
10272 (uri (string-append "mirror://gnome/sources/libdazzle/"
10273 (version-major+minor version) "/"
10274 "libdazzle-" version ".tar.xz"))
10275 (sha256
10276 (base32
10277 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10278 (build-system meson-build-system)
10279 (arguments
10280 `(#:phases
10281 (modify-phases %standard-phases
10282 (add-before 'check 'pre-check
10283 (lambda _
10284 ;; Tests require a running X server.
10285 (system "Xvfb :1 &")
10286 (setenv "DISPLAY" ":1")
10287 #t)))))
10288 (native-inputs
10289 `(("glib" ,glib "bin") ; glib-compile-resources
10290 ("pkg-config" ,pkg-config)
10291 ;; For tests.
10292 ("xorg-server" ,xorg-server-for-tests)))
10293 (inputs
10294 `(("glib" ,glib)
10295 ("gobject-introspection" ,gobject-introspection)
10296 ("gtk+" ,gtk+)
10297 ("vala" ,vala)))
10298 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10299 (synopsis "Companion library to GObject and Gtk+")
10300 (description "The libdazzle library is a companion library to GObject and
10301 Gtk+. It provides various features that the authors wish were in the
10302 underlying library but cannot for various reasons. In most cases, they are
10303 wildly out of scope for those libraries. In other cases, they are not quite
10304 generic enough to work for everyone.")
10305 (license license:gpl3+)))
10306
10307 (define-public evolution
10308 (package
10309 (name "evolution")
10310 (version "3.34.2")
10311 (source (origin
10312 (method url-fetch)
10313 (uri (string-append "mirror://gnome/sources/evolution/"
10314 (version-major+minor version) "/"
10315 "evolution-" version ".tar.xz"))
10316 (sha256
10317 (base32
10318 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10319 (build-system cmake-build-system)
10320 (arguments
10321 `(#:imported-modules (,@%cmake-build-system-modules
10322 (guix build glib-or-gtk-build-system))
10323 #:modules ((guix build cmake-build-system)
10324 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10325 (guix build utils))
10326 #:configure-flags
10327 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10328 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10329 ; in four years and cannot be built.
10330 #:phases
10331 (modify-phases %standard-phases
10332 ;; The build system attempts to install user interface modules to the
10333 ;; output directory of the "evolution-data-server" package. This
10334 ;; change redirects that change.
10335 (add-after 'unpack 'patch-ui-module-dir
10336 (lambda* (#:key outputs #:allow-other-keys)
10337 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10338 (("\\$\\{edsuimoduledir\\}")
10339 (string-append (assoc-ref outputs "out")
10340 "/lib/evolution-data-server/ui-modules")))
10341 #t))
10342 (add-after 'install 'glib-or-gtk-compile-schemas
10343 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10344 (add-after 'install 'glib-or-gtk-wrap
10345 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10346 (native-inputs
10347 `(("glib" ,glib "bin") ; glib-mkenums
10348 ("pkg-config" ,pkg-config)
10349 ("intltool" ,intltool)
10350 ("itstool" ,itstool)))
10351 (inputs
10352 `(("enchant" ,enchant)
10353 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10354 ("gcr" ,gcr)
10355 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10356 ("gnome-autoar" ,gnome-autoar)
10357 ("gnome-desktop" ,gnome-desktop)
10358 ("gspell" ,gspell)
10359 ("highlight" ,highlight)
10360 ("libcanberra" ,libcanberra)
10361 ("libgweather" ,libgweather)
10362 ("libnotify" ,libnotify)
10363 ("libsoup" ,libsoup)
10364 ("nss" ,nss)
10365 ("openldap" ,openldap)
10366 ("webkitgtk" ,webkitgtk)
10367 ("ytnef" ,ytnef)))
10368 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10369 (synopsis "Manage your email, contacts and schedule")
10370 (description "Evolution is a personal information management application
10371 that provides integrated mail, calendaring and address book
10372 functionality.")
10373 ;; See COPYING for details.
10374 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10375 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10376 license:lgpl2.1+)))) ; smime/lib/*
10377
10378 (define-public gthumb
10379 (package
10380 (name "gthumb")
10381 (version "3.8.2")
10382 (source (origin
10383 (method url-fetch)
10384 (uri (string-append "mirror://gnome/sources/gthumb/"
10385 (version-major+minor version) "/"
10386 "gthumb-" version ".tar.xz"))
10387 (sha256
10388 (base32
10389 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10390 (build-system meson-build-system)
10391 (arguments
10392 `(#:glib-or-gtk? #t
10393 #:configure-flags
10394 ;; Ensure the RUNPATH contains all installed library locations.
10395 (list (string-append "-Dc_link_args=-Wl,-rpath="
10396 (assoc-ref %outputs "out")
10397 "/lib/gthumb/extensions")
10398 (string-append "-Dcpp_link_args=-Wl,-rpath="
10399 (assoc-ref %outputs "out")
10400 "/lib/gthumb/extensions"))))
10401 (native-inputs
10402 `(("pkg-config" ,pkg-config)
10403 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10404 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10405 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10406 ("intltool" ,intltool)
10407 ("itstool" ,itstool)))
10408 (inputs
10409 `(("exiv2" ,exiv2)
10410 ("gtk" ,gtk+)
10411 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10412 ("gstreamer" ,gstreamer)
10413 ("clutter" ,clutter)
10414 ("clutter-gst" ,clutter-gst)
10415 ("clutter-gtk" ,clutter-gtk)
10416 ("libjpeg" ,libjpeg-turbo)
10417 ("libtiff" ,libtiff)
10418 ("libraw" ,libraw)))
10419 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10420 (synopsis "GNOME image viewer and browser")
10421 (description "GThumb is an image viewer, browser, organizer, editor and
10422 advanced image management tool")
10423 (license license:gpl2+)))
10424
10425 (define-public terminator
10426 (package
10427 (name "terminator")
10428 (version "1.91")
10429 (source (origin
10430 (method url-fetch)
10431 (uri (string-append "https://launchpad.net/" name "/"
10432 "gtk3/" version "/" "+download/"
10433 name "-" version ".tar.gz"))
10434 (sha256
10435 (base32
10436 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10437 (build-system python-build-system)
10438 (native-inputs
10439 `(("intltool" ,intltool)
10440 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10441 ("gettext" ,gettext-minimal)
10442 ("pkg-config" ,pkg-config)))
10443 (inputs
10444 `(("cairo" ,cairo)
10445 ("gobject-introspection" ,gobject-introspection)
10446 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10447 ("python2-pycairo" ,python2-pycairo)
10448 ("python2-pygobject" ,python2-pygobject)
10449 ("python2-psutil" ,python2-psutil)
10450 ("vte" ,vte)))
10451 (arguments
10452 `(#:python ,python-2 ; Python 3 isn't supported
10453 #:imported-modules ((guix build glib-or-gtk-build-system)
10454 ,@%python-build-system-modules)
10455 #:modules ((guix build python-build-system)
10456 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10457 (guix build utils))
10458 #:phases
10459 (modify-phases %standard-phases
10460 (add-after
10461 'install 'wrap-program
10462 (lambda* (#:key outputs #:allow-other-keys)
10463 (let ((prog (string-append (assoc-ref outputs "out")
10464 "/bin/terminator")))
10465 (wrap-program prog
10466 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10467 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10468 #t)))
10469 (add-after 'wrap-program 'glib-or-gtk-wrap
10470 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10471 (home-page "https://gnometerminator.blogspot.com/")
10472 (synopsis "Store and run multiple GNOME terminals in one window")
10473 (description
10474 "Terminator allows you to run multiple GNOME terminals in a grid and
10475 +tabs, and it supports drag and drop re-ordering of terminals.")
10476 (license license:gpl2)))
10477
10478 (define-public libhandy
10479 (package
10480 (name "libhandy")
10481 (version "0.90.0")
10482 (source
10483 (origin
10484 (method git-fetch)
10485 (uri (git-reference
10486 (url "https://gitlab.gnome.org/GNOME/libhandy")
10487 (commit version)))
10488 (file-name (git-file-name name version))
10489 (sha256
10490 (base32 "1zpfbn2x27lp69w819afxf3ylkgfz9k44srfgmkbb2c33r14ajwy"))))
10491 (build-system meson-build-system)
10492 (arguments
10493 `(#:configure-flags
10494 '("-Dglade_catalog=disabled"
10495 "-Dgtk_doc=true")
10496 #:phases
10497 (modify-phases %standard-phases
10498 (add-before 'check 'pre-check
10499 (lambda _
10500 ;; Tests require a running X server.
10501 (system "Xvfb :1 &")
10502 (setenv "DISPLAY" ":1")
10503 #t)))))
10504 (inputs
10505 `(("gtk+" ,gtk+)))
10506 (native-inputs
10507 `(("glib:bin" ,glib "bin")
10508 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10509 ("vala" ,vala)
10510 ("gtk-doc" ,gtk-doc)
10511 ("pkg-config" ,pkg-config)
10512 ("gettext" ,gettext-minimal)
10513
10514 ;; Test suite dependencies.
10515 ("xorg-server" ,xorg-server-for-tests)
10516 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10517 (home-page "https://source.puri.sm/Librem5/libhandy")
10518 (synopsis "Library full of GTK+ widgets for mobile phones")
10519 (description "The aim of the handy library is to help with developing user
10520 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10521 for usage on small and big screens.")
10522 (license license:lgpl2.1+)))
10523
10524 (define-public libgit2-glib
10525 (package
10526 (name "libgit2-glib")
10527 (version "0.99.0.1")
10528 (source (origin
10529 (method url-fetch)
10530 (uri (string-append "mirror://gnome/sources/" name "/"
10531 (version-major+minor version) "/"
10532 name "-" version ".tar.xz"))
10533 (sha256
10534 (base32
10535 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10536 (build-system meson-build-system)
10537 (native-inputs
10538 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10539 ("gobject-introspection" ,gobject-introspection)
10540 ("pkg-config" ,pkg-config)
10541 ("python-pygobject" ,python-pygobject)
10542 ("python-wrapper" ,python-wrapper)
10543 ("vala" ,vala)))
10544 (inputs
10545 `(("glib" ,glib)
10546 ("libssh2" ,libssh2)))
10547 (propagated-inputs
10548 `(;; In Requires of libgit2-glib.pc.
10549 ("libgit2" ,libgit2)))
10550 (synopsis "GLib wrapper around the libgit2 Git access library")
10551 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10552 access library. It only implements the core plumbing functions, not really the
10553 higher level porcelain stuff.")
10554 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10555 (license license:gpl2+)))
10556
10557 (define-public gitg
10558 (package
10559 (name "gitg")
10560 (version "3.32.1")
10561 (source (origin
10562 (method url-fetch)
10563 (uri (string-append "mirror://gnome/sources/" name "/"
10564 (version-major+minor version) "/"
10565 name "-" version ".tar.xz"))
10566 (sha256
10567 (base32
10568 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10569 (build-system meson-build-system)
10570 (arguments
10571 `(#:glib-or-gtk? #t
10572 #:phases
10573 (modify-phases %standard-phases
10574 (add-after 'unpack 'disable-post-install-partially
10575 (lambda _
10576 (substitute* "meson_post_install.py"
10577 (("'python'") ; there are no python sources to compile
10578 (string-append "'" (which "true") "'"))
10579 (("gtk-update-icon-cache") (which "true")))
10580 #t))
10581 (add-after 'unpack 'fix-test-sources
10582 (lambda _
10583 (substitute* "tests/libgitg/test-commit.vala"
10584 (("/bin/bash") (which "bash")))
10585 #t))
10586 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10587 (lambda* (#:key outputs #:allow-other-keys)
10588 (let ((prog (string-append (assoc-ref outputs "out")
10589 "/bin/gitg")))
10590 (wrap-program prog
10591 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10592 #t))))))
10593 (inputs
10594 `(("glib" ,glib)
10595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10596 ("gtk+" ,gtk+)
10597 ("gtkspell3" ,gtkspell3)
10598 ("gtksourceview" ,gtksourceview-3)
10599 ("json-glib" ,json-glib)
10600 ("libdazzle" ,libdazzle)
10601 ("libgee" ,libgee)
10602 ("libgit2-glib" ,libgit2-glib)
10603 ("libpeas" ,libpeas)
10604 ("libsecret" ,libsecret)
10605 ("libsoup" ,libsoup)
10606 ("libxml2" ,libxml2)))
10607 (native-inputs
10608 `(("glib:bin" ,glib "bin")
10609 ("gtk+:bin" ,gtk+ "bin")
10610 ("gobject-introspection" ,gobject-introspection)
10611 ("intltool" ,intltool)
10612 ("pkg-config" ,pkg-config)
10613 ("vala" ,vala)))
10614 (synopsis "Graphical user interface for git")
10615 (description
10616 "gitg is a graphical user interface for git. It aims at being a small,
10617 fast and convenient tool to visualize the history of git repositories.
10618 Besides visualization, gitg also provides several utilities to manage your
10619 repository and commit your work.")
10620 (home-page "https://wiki.gnome.org/Apps/Gitg")
10621 (license license:gpl2+)))
10622
10623 (define-public gamin
10624 (package
10625 (name "gamin")
10626 (version "0.1.10")
10627 (source (origin
10628 (method url-fetch)
10629 (uri (string-append "mirror://gnome/sources/" name "/"
10630 (version-major+minor version) "/"
10631 name "-" version ".tar.bz2"))
10632 (sha256
10633 (base32
10634 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10635 (build-system gnu-build-system)
10636 (arguments
10637 `(#:phases
10638 (modify-phases %standard-phases
10639 (add-after 'unpack 'remove-deprecated-macro
10640 (lambda _
10641 (substitute* '("server/gam_node.c"
10642 "server/gam_subscription.h"
10643 "server/gam_node.h"
10644 "server/gam_subscription.c")
10645 (("G_CONST_RETURN") "const"))
10646 #t)))))
10647 (inputs
10648 `(("glib" ,glib)))
10649 (native-inputs
10650 `(("intltool" ,intltool)
10651 ("pkg-config" ,pkg-config)))
10652 (home-page "https://people.gnome.org/~veillard/gamin/")
10653 (synopsis "File alteration monitor")
10654 (description
10655 "Gamin is a file and directory monitoring system defined to be a subset
10656 of the FAM (File Alteration Monitor) system. This is a service provided by a
10657 library which detects when a file or a directory has been modified.")
10658 (license license:gpl2+)))
10659
10660 (define-public gnome-mahjongg
10661 (package
10662 (name "gnome-mahjongg")
10663 (version "3.35.1")
10664 (source (origin
10665 (method git-fetch)
10666 (uri (git-reference
10667 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10668 (commit version)))
10669 (file-name (git-file-name name version))
10670 (sha256
10671 (base32
10672 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10673 (build-system meson-build-system)
10674 (arguments
10675 `(#:glib-or-gtk? #t))
10676 (native-inputs
10677 `(("appstream-glib" ,appstream-glib)
10678 ("gettext" ,gettext-minimal)
10679 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10680 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10681 ("itstool" ,itstool)
10682 ("pkg-config" ,pkg-config)
10683 ("vala" ,vala)))
10684 (propagated-inputs
10685 `(("dconf" ,dconf)))
10686 (inputs
10687 `(("glib" ,glib)
10688 ("gtk+" ,gtk+)
10689 ("librsvg" ,librsvg)))
10690 (synopsis "Mahjongg tile-matching game")
10691 (description "GNOME Mahjongg is a game based on the classic Chinese
10692 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10693 and a high score table.")
10694 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10695 (license license:gpl2+)))
10696
10697 (define-public gnome-themes-extra
10698 (package
10699 (name "gnome-themes-extra")
10700 (version "3.28")
10701 (source
10702 (origin
10703 (method url-fetch)
10704 (uri (string-append "mirror://gnome/sources/" name "/"
10705 (version-major+minor version) "/" name "-"
10706 version ".tar.xz"))
10707 (sha256
10708 (base32
10709 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10710 (build-system gnu-build-system)
10711 (arguments
10712 '(#:configure-flags
10713 ;; Don't create 'icon-theme.cache'.
10714 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10715 (true (string-append coreutils "/bin/true")))
10716 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10717 (native-inputs
10718 `(("glib:bin" ,glib "bin")
10719 ("intltool" ,intltool)
10720 ("pkg-config" ,pkg-config)))
10721 (inputs
10722 `(("glib" ,glib)
10723 ("gtk+" ,gtk+)
10724 ("gtk+-2" ,gtk+-2)
10725 ("librsvg" ,librsvg)
10726 ("libxml2" ,libxml2)))
10727 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10728 (synopsis "GNOME Extra Themes")
10729 (description "This package provides themes and related elements that don't
10730 really fit in other upstream packages. It offers legacy support for GTK+ 2
10731 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10732 index files needed for Adwaita to be used outside of GNOME.")
10733 (license license:lgpl2.1+)))
10734
10735 (define-public polari
10736 (package
10737 (name "polari")
10738 (version "3.36.3")
10739 (source (origin
10740 (method url-fetch)
10741 (uri (string-append "mirror://gnome/sources/polari/"
10742 (version-major+minor version)
10743 "/polari-" version ".tar.xz"))
10744 (sha256
10745 (base32
10746 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
10747 (build-system meson-build-system)
10748 (arguments
10749 `(#:glib-or-gtk? #t
10750 #:phases
10751 (modify-phases %standard-phases
10752 (add-after 'unpack 'skip-gtk-update-icon-cache
10753 (lambda _
10754 (substitute* "meson/meson-postinstall.sh"
10755 (("gtk-update-icon-cache") (which "true")))
10756 #t))
10757 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10758 (lambda* (#:key outputs #:allow-other-keys)
10759 (let ((prog (string-append (assoc-ref outputs "out")
10760 "/bin/polari")))
10761 (wrap-program prog
10762 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10763 #t))))))
10764 (inputs
10765 `(("glib" ,glib)
10766 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10767 ("gspell" ,gspell)
10768 ("gtk+" ,gtk+)
10769 ("gjs" ,gjs)
10770 ("libsecret" ,libsecret)
10771 ("libsoup" ,libsoup)
10772 ("telepathy-glib" ,telepathy-glib)
10773 ("telepathy-logger" ,telepathy-logger)))
10774 (native-inputs
10775 `(("glib:bin" ,glib "bin")
10776 ("gobject-introspection" ,gobject-introspection)
10777 ("intltool" ,intltool)
10778 ("pkg-config" ,pkg-config)
10779 ("yelp-tools" ,yelp-tools)))
10780 (propagated-inputs
10781 `(("telepathy-idle" ,telepathy-idle)
10782 ("telepathy-mission-control" ,telepathy-mission-control)))
10783 (synopsis "Simple IRC Client")
10784 (description
10785 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10786 integrate seamlessly with the GNOME desktop.")
10787 (home-page "https://wiki.gnome.org/Apps/Polari")
10788 (license license:gpl2+)))
10789
10790 (define-public gnome-boxes
10791 (package
10792 (name "gnome-boxes")
10793 (version "3.36.6")
10794 (source
10795 (origin
10796 (method url-fetch)
10797 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10798 (version-major+minor version) "/"
10799 "gnome-boxes-" version ".tar.xz"))
10800 (sha256
10801 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10802 (build-system meson-build-system)
10803 (arguments
10804 '(#:glib-or-gtk? #t
10805 #:configure-flags (list "-Drdp=false"
10806 (string-append "-Dc_link_args=-Wl,-rpath="
10807 (assoc-ref %outputs "out")
10808 "/lib/gnome-boxes"))))
10809 (native-inputs
10810 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10811 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10812 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10813 ("itstool" ,itstool)
10814 ("intltool" ,intltool)
10815 ("vala" ,vala)
10816 ("pkg-config" ,pkg-config)))
10817 (inputs
10818 `(("libarchive" ,libarchive)
10819 ("glib-networking" ,glib-networking) ;for TLS support
10820 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10821 ("gtk" ,gtk+)
10822 ("gtk-vnc" ,gtk-vnc)
10823 ("libosinfo" ,libosinfo)
10824 ("libsecret" ,libsecret)
10825 ("libsoup" ,libsoup)
10826 ("libusb" ,libusb)
10827 ("libvirt" ,libvirt)
10828 ("libvirt-glib" ,libvirt-glib)
10829 ("libxml" ,libxml2)
10830 ("spice-gtk" ,spice-gtk)
10831 ("sparql-query" ,sparql-query)
10832 ("vte" ,vte)
10833 ("webkitgtk" ,webkitgtk)
10834 ("tracker" ,tracker)
10835 ("libgudev" ,libgudev)))
10836 (home-page "https://wiki.gnome.org/Apps/Boxes")
10837 (synopsis "View, access, and manage remote and virtual systems")
10838 (description "GNOME Boxes is a simple application to view, access, and
10839 manage remote and virtual systems. Note that this application requires the
10840 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10841 @command{info '(guix) Virtualization Services'} to learn how to configure
10842 these services on the Guix System.")
10843 (license (list
10844 ;; For data/icons/empty-boxes.png.
10845 license:cc-by2.0
10846 ;; For all others.
10847 license:lgpl2.0+))))
10848
10849 (define-public geary
10850 (package
10851 (name "geary")
10852 (version "3.34.1")
10853 (source (origin
10854 (method git-fetch)
10855 (uri (git-reference
10856 (url "https://gitlab.gnome.org/GNOME/geary")
10857 (commit version)))
10858 (file-name (git-file-name name version))
10859 (sha256
10860 (base32
10861 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10862 (build-system meson-build-system)
10863 (arguments
10864 `(#:glib-or-gtk? #t
10865 #:phases (modify-phases %standard-phases
10866 (add-after 'unpack 'disable-failing-tests
10867 (lambda _
10868 (substitute* "test/meson.build"
10869 (("test\\('client-tests', geary_test_client_bin\\)")
10870 ""))
10871 #t))
10872 (add-after 'unpack 'disable-postinstall-script
10873 (lambda _
10874 (substitute* "meson.build"
10875 (("meson.add_install_script\\(\
10876 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10877 ""))
10878 #t))
10879 (add-before 'check 'setup-xvfb
10880 (lambda _
10881 (system "Xvfb :1 &")
10882 (setenv "DISPLAY" ":1")
10883 #t)))))
10884 (inputs
10885 `(("enchant" ,enchant)
10886 ("folks" ,folks)
10887 ("gcr" ,gcr)
10888 ("glib" ,glib)
10889 ("gmime" ,gmime-2.6)
10890 ("gnome-online-accounts:lib"
10891 ,gnome-online-accounts "lib")
10892 ("gspell" ,gspell)
10893 ("gtk+" ,gtk+)
10894 ("iso-codes" ,iso-codes)
10895 ("json-glib" ,json-glib)
10896 ("libcanberra" ,libcanberra)
10897 ("libgee" ,libgee)
10898 ("libhandy" ,libhandy)
10899 ("libpeas" ,libpeas)
10900 ("libsecret" ,libsecret)
10901 ("libunwind" ,libunwind)
10902 ("sqlite" ,sqlite)
10903 ("webkitgtk" ,webkitgtk)
10904 ("ytnef" ,ytnef)))
10905 (native-inputs
10906 `(("appstream-glib" ,appstream-glib)
10907 ("cmake-minimal" ,cmake-minimal)
10908 ("desktop-file-utils" ,desktop-file-utils)
10909 ("gettext" ,gettext-minimal)
10910 ("glib:bin" ,glib "bin")
10911 ("gobject-introspection" ,gobject-introspection)
10912 ("itstool" ,itstool)
10913 ("libarchive" ,libarchive)
10914 ("libxml2" ,libxml2)
10915 ("pkg-config" ,pkg-config)
10916 ("vala" ,vala)
10917 ("xvfb" ,xorg-server-for-tests)))
10918 (synopsis "GNOME email application built around conversations")
10919 (description
10920 "Geary collects related messages together into conversations,
10921 making it easy to find and follow your discussions. Full-text and keyword
10922 search makes it easy to find the email you are looking for. Geary's
10923 full-featured composer lets you send rich, styled text with images, links, and
10924 lists, but also send lightweight, easy to read text messages. Geary
10925 automatically picks up your existing GNOME Online Accounts, and adding more is
10926 easy. Geary has a clean, fast, modern interface that works like you want it
10927 to.")
10928 (home-page "https://wiki.gnome.org/Apps/Geary")
10929 (license (list
10930 ;; geary
10931 license:lgpl2.1+
10932 ;; icons
10933 license:cc-by3.0
10934 license:cc-by-sa3.0
10935 license:public-domain
10936 ;; snowball
10937 license:bsd-2))))
10938
10939 (define-public glabels
10940 (package
10941 (name "glabels")
10942 (version "3.4.1")
10943 (source
10944 (origin
10945 (method url-fetch)
10946 (uri (string-append "mirror://gnome/sources/" name "/"
10947 (version-major+minor version) "/"
10948 "glabels-" version ".tar.xz"))
10949 (sha256
10950 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10951 (build-system glib-or-gtk-build-system)
10952 (native-inputs
10953 `(("gettext" ,gettext-minimal)
10954 ("glib:bin" ,glib "bin")
10955 ("intltool" ,intltool)
10956 ("itstool" ,itstool)
10957 ("pkg-config" ,pkg-config)))
10958 (inputs
10959 `(("gtk+" ,gtk+)
10960 ("librsvg" ,librsvg)
10961 ("libxml2" ,libxml2)))
10962 (home-page "https://glabels.org/")
10963 (synopsis "Program for creating labels and business cards")
10964 (description
10965 "gLabels is a program for creating labels and business cards. It is
10966 designed to work with various laser/ink-jet peel-off label and business
10967 card sheets that you’ll find at most office supply stores.")
10968 (license license:gpl3+)))
10969
10970 (define-public libratbag
10971 (package
10972 (name "libratbag")
10973 (version "0.14")
10974 (source
10975 (origin
10976 (method git-fetch)
10977 (uri (git-reference
10978 (url "https://github.com/libratbag/libratbag")
10979 (commit (string-append "v" version))))
10980 (file-name (git-file-name name version))
10981 (sha256
10982 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
10983 (build-system meson-build-system)
10984 (arguments
10985 `(#:configure-flags
10986 (list "-Dsystemd=false"
10987 "-Dlogind-provider=elogind")
10988 #:phases
10989 (modify-phases %standard-phases
10990 (add-after 'install 'wrap
10991 (lambda* (#:key inputs outputs #:allow-other-keys)
10992 (let* ((out (assoc-ref outputs "out"))
10993 (site (string-append
10994 "/lib/python"
10995 ,(version-major+minor (package-version python))
10996 "/site-packages"))
10997 (evdev (string-append
10998 (assoc-ref inputs "python-evdev") site))
10999 (pygo (string-append
11000 (assoc-ref inputs "python-pygobject") site))
11001 (python-wrap
11002 `("PYTHONPATH" = (,evdev ,pygo))))
11003 (wrap-program (string-append out "/bin/" "ratbagctl")
11004 python-wrap)
11005 #t))))))
11006 (native-inputs
11007 `(("check" ,check)
11008 ("pkg-config" ,pkg-config)
11009 ("swig" ,swig)
11010 ("valgrind" ,valgrind)))
11011 (inputs
11012 `(("glib" ,glib)
11013 ("json-glib" ,json-glib)
11014 ("libevdev" ,libevdev)
11015 ("libsystemd" ,elogind)
11016 ("libunistring" ,libunistring)
11017 ("python-evdev" ,python-evdev)
11018 ("python-pygobject" ,python-pygobject)
11019 ("udev" ,eudev)))
11020 (home-page "https://github.com/libratbag/libratbag")
11021 (synopsis "DBus daemon and utility for configuring gaming mice")
11022 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11023 configure input devices, mainly gaming mice. The daemon provides a generic
11024 way to access the various features exposed by these mice and abstracts away
11025 hardware-specific and kernel-specific quirks. There is also the
11026 @command{ratbagctl} command line interface for configuring devices.
11027
11028 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11029 Steelseries.
11030
11031 The ratbagd DBus service can be enabled by adding the following service to
11032 your operating-system definition:
11033
11034 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11035 (license license:expat)))
11036
11037 (define-public piper
11038 (package
11039 (name "piper")
11040 (version "0.5.1")
11041 (source
11042 (origin
11043 (method git-fetch)
11044 (uri (git-reference
11045 (url "https://github.com/libratbag/piper")
11046 (commit version)))
11047 (sha256
11048 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11049 (file-name (git-file-name name version))))
11050 (build-system meson-build-system)
11051 (native-inputs
11052 `(("gettext" ,gettext-minimal)
11053 ("glib:bin" ,glib "bin")
11054 ("gobject-introspection" ,gobject-introspection)
11055 ("pkg-config" ,pkg-config)
11056 ("python-flake8" ,python-flake8)))
11057 (inputs
11058 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11059 ("gtk" ,gtk+)
11060 ("gtk:bin" ,gtk+ "bin")
11061 ("librsvg" ,librsvg)
11062 ("python-evdev" ,python-evdev)
11063 ("python-lxml" ,python-lxml)
11064 ("python-pycairo" ,python-pycairo)
11065 ("python-pygobject" ,python-pygobject)))
11066 (arguments
11067 `(#:imported-modules ((guix build python-build-system)
11068 ,@%meson-build-system-modules)
11069 #:modules (((guix build python-build-system) #:prefix python:)
11070 (guix build meson-build-system)
11071 (guix build utils))
11072 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11073 #:phases
11074 (modify-phases %standard-phases
11075 (add-after 'unpack 'dont-update-gtk-icon-cache
11076 (lambda _
11077 (substitute* "meson.build"
11078 (("meson.add_install_script('meson_install.sh')") ""))
11079 #t))
11080 ;; TODO: Switch to wrap-script when it is fixed.
11081 (add-after 'install 'wrap-python
11082 (assoc-ref python:%standard-phases 'wrap))
11083 (add-after 'wrap-python 'wrap
11084 (lambda* (#:key outputs #:allow-other-keys)
11085 (wrap-program
11086 (string-append (assoc-ref outputs "out" )"/bin/piper")
11087 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11088 #t)))))
11089 (home-page "https://github.com/libratbag/piper/")
11090 (synopsis "Configure bindings and LEDs on gaming mice")
11091 (description "Piper is a GTK+ application for configuring gaming mice with
11092 onboard configuration for key bindings via libratbag. Piper requires
11093 a @command{ratbagd} daemon running with root privileges. It can be run
11094 manually as root, but is preferably configured as a DBus service that can
11095 launch on demand. This can be configured by enabling the following service,
11096 provided there is a DBus service present:
11097
11098 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11099 (license license:gpl2)))
11100
11101 (define-public parlatype
11102 (package
11103 (name "parlatype")
11104 (version "2.1")
11105 (source
11106 (origin
11107 (method git-fetch)
11108 (uri (git-reference
11109 (url "https://github.com/gkarsay/parlatype.git")
11110 (commit (string-append "v" version))))
11111 (file-name (git-file-name name version))
11112 (sha256
11113 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11114 (build-system meson-build-system)
11115 (arguments
11116 `(#:glib-or-gtk? #t
11117 #:tests? #f ;require internet access
11118 #:phases
11119 (modify-phases %standard-phases
11120 (add-after 'install 'wrap-parlatype
11121 ;; Add gstreamer plugin provided in this package to system's
11122 ;; plugins.
11123 (lambda* (#:key outputs #:allow-other-keys)
11124 (let* ((out (assoc-ref outputs "out"))
11125 (gst-plugin-path (string-append
11126 out "/lib/gstreamer-1.0/"
11127 ":"
11128 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11129 (wrap-program (string-append out "/bin/parlatype")
11130 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11131 #t)))))
11132 (native-inputs
11133 `(("appstream-glib" ,appstream-glib)
11134 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11135 ("gettext" ,gettext-minimal)
11136 ("glib" ,glib "bin") ;for glib-compile-resources
11137 ("pkg-config" ,pkg-config)
11138 ("yelp-tools" ,yelp-tools)))
11139 (inputs
11140 `(("gst-plugins-base" ,gst-plugins-base)
11141 ("gst-plugins-good" ,gst-plugins-good)
11142 ("gstreamer" ,gstreamer)
11143 ("gtk+" ,gtk+)
11144 ("pocketsphinx" ,pocketsphinx)
11145 ("pulseaudio" ,pulseaudio)
11146 ("sphinxbase" ,sphinxbase)))
11147 (home-page "http://gkarsay.github.io/parlatype/")
11148 (synopsis "GNOME audio player for transcription")
11149 (description "Parlatype is an audio player for the GNOME desktop
11150 environment. Its main purpose is the manual transcription of spoken
11151 audio files.")
11152 (license license:gpl3+)))
11153
11154 (define-public jsonrpc-glib
11155 (package
11156 (name "jsonrpc-glib")
11157 (version "3.34.0")
11158 (source (origin
11159 (method url-fetch)
11160 (uri (string-append "mirror://gnome/sources/" name "/"
11161 (version-major+minor version) "/"
11162 name "-" version ".tar.xz"))
11163 (sha256
11164 (base32
11165 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11166 (build-system meson-build-system)
11167 (inputs
11168 `(("json-glib" ,json-glib)
11169 ("glib" ,glib)))
11170 (native-inputs
11171 `(("pkg-config" ,pkg-config)
11172 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11173 ("gobject-introspection" ,gobject-introspection)
11174 ("vala" ,vala)))
11175 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11176 (synopsis "JSON-RPC library for GLib")
11177 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11178 peers in either a synchronous or asynchronous fashion. It also allows
11179 communicating using the GVariant serialization format instead of JSON when
11180 both peers support it. You might want that when communicating on a single
11181 host to avoid parser overhead and memory-allocator fragmentation.")
11182 (license license:lgpl2.1+)))
11183
11184 (define-public feedbackd
11185 (package
11186 (name "feedbackd")
11187 (version "0.0.0+git20200527")
11188 (source (origin
11189 (method git-fetch)
11190 (uri (git-reference
11191 (url "https://source.puri.sm/Librem5/feedbackd.git")
11192 (commit (string-append "v" version))))
11193 (file-name (git-file-name name version))
11194 (sha256
11195 (base32
11196 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11197 (build-system meson-build-system)
11198 (native-inputs
11199 `(("glib:bin" ,glib "bin")
11200 ("gobject-introspection" ,gobject-introspection)
11201 ("pkg-config" ,pkg-config)
11202 ("vala" ,vala)))
11203 (inputs
11204 `(("dbus" ,dbus)
11205 ("gsound" ,gsound)
11206 ("json-glib" ,json-glib)
11207 ("libgudev" ,libgudev)))
11208 (propagated-inputs
11209 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11210 (synopsis "Haptic/visual/audio feedback via DBus")
11211 (description "Feedbackd provides a DBus daemon to act on events to provide
11212 haptic, visual and audio feedback. It offers the libfeedbackd library and
11213 GObject introspection bindings.")
11214 (home-page "https://source.puri.sm/Librem5/feedbackd")
11215 (license (list license:lgpl2.1+ ; libfeedbackd
11216 license:lgpl3+)))) ; the rest
11217
11218 (define-public sysprof
11219 (package
11220 (name "sysprof")
11221 (version "3.36.0")
11222 (source
11223 (origin
11224 (method url-fetch)
11225 (uri (string-append "mirror://gnome/sources/sysprof/"
11226 (version-major+minor version) "/"
11227 "sysprof-" version ".tar.xz"))
11228 (sha256
11229 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11230 (build-system meson-build-system)
11231 (arguments
11232 `(#:configure-flags
11233 (list (string-append "-Dsystemdunitdir="
11234 %output
11235 "/share/systemd"))
11236 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11237 #:phases
11238 (modify-phases %standard-phases
11239 (add-after 'unpack 'patch-install-script
11240 (lambda _
11241 (substitute* "build-aux/meson/post_install.sh"
11242 (("gtk-update-icon-cache") "true")
11243 (("update-desktop-database") "true"))
11244 #t)))))
11245 (inputs
11246 `(("glib" ,glib)
11247 ("gtk+" ,gtk+)
11248 ("libdazzle" ,libdazzle)
11249 ("polkit" ,polkit)))
11250 (native-inputs
11251 `(("gettext" ,gettext-minimal)
11252 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11253 ("itstool" ,itstool)
11254 ("pkg-config" ,pkg-config)
11255 ("xmllint" ,libxml2)))
11256 ;; This home page is so woefully out of date as to be essentially useless.
11257 ;; (home-page "http://www.sysprof.com")
11258 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11259 (synopsis "System-wide performance profiler for GNU/Linux")
11260 (description
11261 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11262 GNU/Linux system including the kernel and all user-space applications. This
11263 helps find the function(s) in which a program spends most of its time.
11264
11265 It uses the kernel's built-in @code{ptrace} feature and handles shared
11266 libraries. Applications do not need to be recompiled--or even restarted.")
11267 (license license:gpl3+)))
11268
11269 (define-public gnome-builder
11270 (package
11271 (name "gnome-builder")
11272 (version "3.36.1")
11273 (source (origin
11274 (method url-fetch)
11275 (uri (string-append "mirror://gnome/sources/" name "/"
11276 (version-major+minor version) "/"
11277 name "-" version ".tar.xz"))
11278 (sha256
11279 (base32
11280 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11281 (build-system meson-build-system)
11282 (arguments
11283 `(#:configure-flags (list "-Dnetwork_tests=false"
11284 ;; TODO: Enable all plugins...
11285 "-Dplugin_clang=false"
11286 "-Dplugin_flatpak=false"
11287 "-Dplugin_glade=false"
11288 ;; ... except this one.
11289 "-Dplugin_update_manager=false")
11290 #:phases
11291 (modify-phases %standard-phases
11292 (add-after 'unpack 'patch-meson
11293 (lambda* (#:key inputs #:allow-other-keys)
11294 (substitute* "build-aux/meson/post_install.py"
11295 (("gtk-update-icon-cache") "true")
11296 (("update-desktop-database") "true"))
11297 (substitute* "src/libide/meson.build"
11298 (("/usr/lib")
11299 (string-append (assoc-ref inputs "python-pygobject")
11300 "/lib")))
11301 #t))
11302 (add-before 'check 'pre-check
11303 (lambda _
11304 (system "Xvfb :1 &")
11305 (setenv "DISPLAY" ":1")
11306 #t)))))
11307 (inputs
11308 `(("devhelp" ,devhelp)
11309 ("gspell" ,gspell)
11310 ("gtk+" ,gtk+)
11311 ("json-glib" ,json-glib)
11312 ("jsonrpc-glib" ,jsonrpc-glib)
11313 ("libdazzle" ,libdazzle)
11314 ("libgit2-glib" ,libgit2-glib)
11315 ("libpeas" ,libpeas)
11316 ("python-pygobject" ,python-pygobject)
11317 ("sysprof" ,sysprof)
11318 ("template-glib" ,template-glib)
11319 ("vte" ,vte)
11320 ("webkitgtk" ,webkitgtk)))
11321 (propagated-inputs
11322 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11323 (native-inputs
11324 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11325 ("glib:bin" ,glib "bin")
11326 ("gettext" ,gettext-minimal)
11327 ("pkg-config" ,pkg-config)
11328 ("vala" ,vala)
11329 ("xorg-server" ,xorg-server-for-tests)))
11330 (home-page "https://wiki.gnome.org/Apps/Builder")
11331 (synopsis "Toolsmith for GNOME-based applications")
11332 (description "Builder aims to be an integrated development
11333 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11334 auto-completion, a mini code map, documentation browsing, Git integration, an
11335 integrated profiler via Sysprof, debugging support, and more.")
11336 (license license:gpl3+)))
11337
11338 (define-public komikku
11339 (package
11340 (name "komikku")
11341 (version "0.19.0")
11342 (source
11343 (origin
11344 (method git-fetch)
11345 (uri (git-reference
11346 (url "https://gitlab.com/valos/Komikku/")
11347 (commit (string-append "v" version))))
11348 (file-name (git-file-name name version))
11349 (sha256
11350 (base32
11351 "16d7k500nd9klnjqqcgk3glhv2sy78yndkz3n0x7lynvblsy45kk"))))
11352 (build-system meson-build-system)
11353 (arguments
11354 `(#:glib-or-gtk? #t
11355 #:phases
11356 (modify-phases %standard-phases
11357 (add-after 'unpack 'patch-sources
11358 (lambda _
11359 (substitute* "komikku/utils.py"
11360 (("from komikku\\.servers import get_servers_list")
11361 ;; code following that line should migrate old databases
11362 ;; but the line itself results in an import error
11363 "return data_dir_path"))))
11364 (add-after 'unpack 'skip-gtk-update-icon-cache
11365 (lambda _
11366 (substitute* "meson_post_install.py"
11367 (("gtk-update-icon-cache") (which "true")))
11368 #t))
11369 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11370 (lambda* (#:key outputs #:allow-other-keys)
11371 (let ((prog (string-append (assoc-ref outputs "out")
11372 "/bin/komikku")))
11373 (wrap-program prog
11374 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11375 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11376 #t))))))
11377 (inputs
11378 `(("gtk+" ,gtk+)
11379 ("libhandy" ,libhandy)
11380 ("libnotify" ,libnotify)
11381 ("libsecret" ,libsecret)
11382 ("python-beautifulsoup4" ,python-beautifulsoup4)
11383 ("python-cloudscraper" ,python-cloudscraper)
11384 ("python-dateparser" ,python-dateparser)
11385 ("python-keyring" ,python-keyring)
11386 ("python-lxml" ,python-lxml)
11387 ("python-magic" ,python-magic)
11388 ("python-pillow" ,python-pillow)
11389 ("python-pure-protobuf" ,python-pure-protobuf)
11390 ("python-pycairo" ,python-pycairo)
11391 ("python-pygobject" ,python-pygobject)
11392 ("python-unidecode" ,python-unidecode)))
11393 (native-inputs
11394 `(("desktop-file-utils" ,desktop-file-utils)
11395 ("gettext" ,gettext-minimal)
11396 ("glib:bin" ,glib "bin")
11397 ("gobject-introspection" ,gobject-introspection)
11398 ("pkg-config" ,pkg-config)))
11399 (home-page "https://gitlab.com/valos/Komikku")
11400 (synopsis "Manga reader for GNOME")
11401 (description "Komikku is an online/offline manga reader for GNOME,
11402 developed with the aim of being used with the Librem 5 phone.")
11403 (license license:gpl3+)))