1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
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 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 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 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 Nils Gillmann <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018 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 Brendan Tildesley <brendan.tildesley@openmailbox.org>
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 Timothy Sample <samplet@ngyro.com>
37 ;;; This file is part of GNU Guix.
39 ;;; GNU Guix is free software; you can redistribute it and/or modify it
40 ;;; under the terms of the GNU General Public License as published by
41 ;;; the Free Software Foundation; either version 3 of the License, or (at
42 ;;; your option) any later version.
44 ;;; GNU Guix is distributed in the hope that it will be useful, but
45 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 ;;; GNU General Public License for more details.
49 ;;; You should have received a copy of the GNU General Public License
50 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
52 (define-module (gnu packages gnome)
53 #:use-module ((guix licenses) #:prefix license:)
54 #:use-module (guix packages)
55 #:use-module (guix download)
56 #:use-module (guix git-download)
57 #:use-module (guix utils)
58 #:use-module (guix build-system cmake)
59 #:use-module (guix build-system gnu)
60 #:use-module (guix build-system glib-or-gtk)
61 #:use-module (guix build-system meson)
62 #:use-module (guix build-system trivial)
63 #:use-module (gnu packages)
64 #:use-module (gnu packages admin)
65 #:use-module (gnu packages aspell)
66 #:use-module (gnu packages autotools)
67 #:use-module (gnu packages avahi)
68 #:use-module (gnu packages base)
69 #:use-module (gnu packages bison)
70 #:use-module (gnu packages build-tools)
71 #:use-module (gnu packages calendar)
72 #:use-module (gnu packages check)
73 #:use-module (gnu packages cmake)
74 #:use-module (gnu packages cups)
75 #:use-module (gnu packages curl)
76 #:use-module (gnu packages cyrus-sasl)
77 #:use-module (gnu packages databases)
78 #:use-module (gnu packages dbm)
79 #:use-module (gnu packages djvu)
80 #:use-module (gnu packages dns)
81 #:use-module (gnu packages documentation)
82 #:use-module (gnu packages flex)
83 #:use-module (gnu packages docbook)
84 #:use-module (gnu packages enchant)
85 #:use-module (gnu packages fontutils)
86 #:use-module (gnu packages game-development)
87 #:use-module (gnu packages gcc)
88 #:use-module (gnu packages gettext)
89 #:use-module (gnu packages glib)
90 #:use-module (gnu packages gnupg)
91 #:use-module (gnu packages gnuzilla)
92 #:use-module (gnu packages gstreamer)
93 #:use-module (gnu packages gtk)
94 #:use-module (gnu packages gperf)
95 #:use-module (gnu packages guile)
96 #:use-module (gnu packages openldap)
97 #:use-module (gnu packages pdf)
98 #:use-module (gnu packages polkit)
99 #:use-module (gnu packages popt)
100 #:use-module (gnu packages ghostscript)
101 #:use-module (gnu packages inkscape)
102 #:use-module (gnu packages ibus)
103 #:use-module (gnu packages iso-codes)
104 #:use-module (gnu packages libcanberra)
105 #:use-module (gnu packages libunistring)
106 #:use-module (gnu packages linux)
107 #:use-module (gnu packages libusb)
108 #:use-module (gnu packages lirc)
109 #:use-module (gnu packages lua)
110 #:use-module (gnu packages image)
111 #:use-module (gnu packages imagemagick)
112 #:use-module (gnu packages music)
113 #:use-module (gnu packages networking)
114 #:use-module (gnu packages ninja)
115 #:use-module (gnu packages password-utils)
116 #:use-module (gnu packages pcre)
117 #:use-module (gnu packages perl)
118 #:use-module (gnu packages photo)
119 #:use-module (gnu packages pkg-config)
120 #:use-module (gnu packages pulseaudio)
121 #:use-module (gnu packages python)
122 #:use-module (gnu packages python-crypto)
123 #:use-module (gnu packages python-web)
124 #:use-module (gnu packages python-xyz)
125 #:use-module (gnu packages rdesktop)
126 #:use-module (gnu packages scanner)
127 #:use-module (gnu packages selinux)
128 #:use-module (gnu packages slang)
129 #:use-module (gnu packages sqlite)
130 #:use-module (gnu packages ssh)
131 #:use-module (gnu packages xml)
132 #:use-module (gnu packages gl)
133 #:use-module (gnu packages graphviz)
134 #:use-module (gnu packages compression)
135 #:use-module (gnu packages spice)
136 #:use-module (gnu packages tex)
137 #:use-module (gnu packages time)
138 #:use-module (gnu packages tls)
139 #:use-module (gnu packages web)
140 #:use-module (gnu packages webkit)
141 #:use-module (gnu packages xiph)
142 #:use-module (gnu packages xorg)
143 #:use-module (gnu packages xdisorg)
144 #:use-module (gnu packages freedesktop)
145 #:use-module (gnu packages mail)
146 #:use-module (gnu packages kerberos)
147 #:use-module (gnu packages multiprecision)
148 #:use-module (gnu packages backup)
149 #:use-module (gnu packages nettle)
150 #:use-module (gnu packages ncurses)
151 #:use-module (gnu packages video)
152 #:use-module (gnu packages cdrom)
153 #:use-module (gnu packages samba)
154 #:use-module (gnu packages readline)
155 #:use-module (gnu packages fonts)
156 #:use-module (gnu packages speech)
157 #:use-module (gnu packages version-control)
158 #:use-module (gnu packages virtualization)
159 #:use-module (gnu packages vpn)
160 #:use-module (gnu packages web)
161 #:use-module (gnu packages xorg)
162 #:use-module (ice-9 match)
163 #:use-module (srfi srfi-1))
165 (define-public brasero
171 (uri (string-append "mirror://gnome/sources/" name "/"
172 (version-major+minor version) "/"
173 name "-" version ".tar.xz"))
176 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
177 (build-system glib-or-gtk-build-system)
179 `(#:configure-flags (list
180 (string-append "--with-girdir="
181 (assoc-ref %outputs "out")
183 (string-append "--with-typelibdir="
184 (assoc-ref %outputs "out")
185 "/lib/girepository-1.0"))
187 (modify-phases %standard-phases
188 (add-before 'configure 'embed-growisofs
189 (lambda* (#:key inputs #:allow-other-keys)
190 (substitute* "plugins/growisofs/burn-growisofs.c"
191 (("\"growisofs") (string-append "\"" (which "growisofs"))))
194 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
196 `(("intltool" ,intltool)
197 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
198 ("gobject-introspection" ,gobject-introspection)
199 ("pkg-config" ,pkg-config)))
201 `(("dvd+rw-tools" ,dvd+rw-tools)
203 ("gnome-doc-utils" ,gnome-doc-utils)
204 ("gstreamer" ,gstreamer)
205 ("gst-plugins-base" ,gst-plugins-base)
208 ("libcanberra" ,libcanberra)
210 ("libnotify" ,libnotify)
214 ("totem-pl-parser" ,totem-pl-parser)))
215 (home-page "https://projects.gnome.org/brasero/")
216 (synopsis "CD/DVD burning tool for Gnome")
217 (description "Brasero is an application to burn CD/DVD for the Gnome
218 Desktop. It is designed to be as simple as possible and has some unique
219 features to enable users to create their discs easily and quickly.")
220 (license license:gpl2+)))
222 (define-public deja-dup
228 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
231 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
233 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
234 (build-system glib-or-gtk-build-system)
236 `(#:modules ((guix build gnu-build-system)
237 ((guix build cmake-build-system) #:prefix cmake:)
238 (guix build glib-or-gtk-build-system)
240 #:imported-modules (,@%glib-or-gtk-build-system-modules
241 (guix build cmake-build-system))
243 #:configure-flags (list (string-append
244 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
246 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
248 (modify-phases %standard-phases
249 (add-after 'unpack 'patch-lockfile-deletion
251 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
255 (assoc-ref cmake:%standard-phases 'configure))
256 (delete 'check) ;; Fails due to issues with DBus
257 (add-after 'install 'wrap-deja-dup
258 (lambda* (#:key inputs outputs #:allow-other-keys)
259 (let ((python (assoc-ref inputs "python"))
260 (python-path (getenv "PYTHONPATH"))
261 (duplicity (assoc-ref inputs "duplicity"))
262 (out (assoc-ref outputs "out")))
265 (wrap-program program
266 `("PATH" ":" prefix (,(string-append python "/bin")
267 ,(string-append duplicity "/bin"))))
268 (wrap-program program
269 `("PYTHONPATH" ":" prefix (,python-path))))
271 (find-files (string-append out "/bin")))
274 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
275 ("gobject-introspection" ,gobject-introspection)
276 ("duplicity" ,duplicity)
277 ("python" ,python2-minimal)
278 ("python-pygobject" ,python2-pygobject)
280 ("libnotify" ,libnotify)
282 ("libsecret" ,libsecret)
283 ("packagekit" ,packagekit)))
285 `(("pkg-config" ,pkg-config)
287 ("gettext" ,gettext-minimal)
289 ("intltool" ,intltool)
291 (home-page "https://launchpad.net/deja-dup")
292 (synopsis "Simple backup tool, for regular encrypted backups")
294 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
295 uses duplicity as the backend, which supports incremental backups and storage
296 either on a local, or remote machine via a number of methods.")
297 (license license:gpl3+)))
300 ;; This version from GNOME's repository includes fixes for compiling with
301 ;; recent versions of the build tools. The latest activity on the
302 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
304 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
307 (version (string-append "0.97.2-" (string-take commit 7)))
311 (url "https://git.gnome.org/browse/dia")
313 (file-name (string-append name "-" version "-checkout"))
316 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
317 (build-system gnu-build-system)
319 `(("glib" ,glib "bin")
321 ("gdk-pixbuf" ,gdk-pixbuf)
324 ("freetype" ,freetype)
325 ("libart-lgpl" ,libart-lgpl)))
327 `(("intltool" ,intltool)
328 ("pkg-config" ,pkg-config)
329 ("automake" ,automake)
330 ("autoconf" ,autoconf)
333 ("python-wrapper" ,python-wrapper)))
336 (modify-phases %standard-phases
337 (add-after 'unpack 'run-autogen
339 (system* "sh" "autogen.sh"))))))
340 (home-page "https://wiki.gnome.org/Apps/Dia")
341 (synopsis "Diagram creation for GNOME")
342 (description "Dia can be used to draw different types of diagrams, and
343 includes support for UML static structure diagrams (class diagrams), entity
344 relationship modeling, and network diagrams. The program supports various file
345 formats like PNG, SVG, PDF and EPS.")
346 (license license:gpl2+))))
348 (define-public libgdata
354 (uri (string-append "mirror://gnome/sources/" name "/"
355 (version-major+minor version) "/"
356 name "-" version ".tar.xz"))
359 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
361 (search-patches "libgdata-fix-tests.patch"
362 "libgdata-glib-duplicate-tests.patch"))))
363 (build-system gnu-build-system)
366 (modify-phases %standard-phases
367 (add-before 'check 'disable-failing-tests
369 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
370 ;; They have been removed in libgdata 0.17.6, so just do the same.
371 (substitute* "gdata/tests/Makefile"
372 (("picasaweb\\$\\(EXEEXT\\) ") ""))
375 `(("glib:bin" ,glib "bin")
376 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
377 ("intltool" ,intltool)
378 ("pkg-config" ,pkg-config)
379 ("uhttpmock" ,uhttpmock)))
381 `(("cyrus-sasl" ,cyrus-sasl)
383 ("glib-networking" ,glib-networking)
384 ("json-glib" ,json-glib)
385 ("libsoup" ,libsoup)))
388 ("gnome-online-accounts" ,gnome-online-accounts)
389 ("liboauth" ,liboauth)
390 ("libxml2" ,libxml2)))
391 (home-page "https://wiki.gnome.org/Projects/libgdata")
392 (synopsis "Library for accessing online service APIs")
394 "libgdata is a GLib-based library for accessing online service APIs using
395 the GData protocol — most notably, Google's services. It provides APIs to
396 access the common Google services, and has full asynchronous support.")
397 (license license:lgpl2.1+)))
399 (define-public libgxps
405 (uri (string-append "mirror://gnome/sources/" name "/"
406 (version-major+minor version) "/"
407 name "-" version ".tar.xz"))
410 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
411 (build-system meson-build-system)
413 `(("gobject-introspection" ,gobject-introspection)
414 ("pkg-config" ,pkg-config)))
417 ("libjpeg" ,libjpeg-turbo)
422 ;; In Requires of libgxps.pc.
425 ("libarchive" ,libarchive)))
426 (home-page "https://wiki.gnome.org/Projects/libgxps")
427 (synopsis "GObject-based library for handling and rendering XPS documents")
429 "libgxps is a GObject-based library for handling and rendering XPS
430 documents. This package also contains binaries that can convert XPS documents
432 (license license:lgpl2.1+)))
434 (define-public gnome-common
436 (name "gnome-common")
441 (uri (string-append "mirror://gnome/sources/" name "/"
442 (version-major+minor version) "/"
443 name "-" version ".tar.xz"))
446 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
447 (build-system gnu-build-system)
448 (home-page "https://www.gnome.org/")
449 (synopsis "Bootstrap GNOME modules built from Git")
450 (description "gnome-common contains various files needed to bootstrap
451 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
452 can be used to configure a source directory checked out from Git and some
453 commonly used macros.")
454 (license license:gpl2+)))
456 (define-public gnome-desktop
458 (name "gnome-desktop")
463 (uri (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
468 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
469 (build-system gnu-build-system)
472 (modify-phases %standard-phases
473 (add-before 'configure 'patch-path
474 (lambda* (#:key inputs #:allow-other-keys)
475 (let ((libc (assoc-ref inputs "libc")))
476 (substitute* "libgnome-desktop/gnome-languages.c"
478 (string-append "\"" libc "/bin/locale\"")))
481 `(("gobject-introspection" ,gobject-introspection)
483 ("intltool" ,intltool)
484 ("pkg-config" ,pkg-config)
485 ("xmllint" ,libxml2)))
487 ;; Required by gnome-desktop-3.0.pc.
488 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
491 `(("gdk-pixbuf" ,gdk-pixbuf)
493 ("iso-codes" ,iso-codes)
496 ("libxkbfile" ,libxkbfile)
497 ("libxrandr" ,libxrandr)
498 ("xkeyboard-config" ,xkeyboard-config)))
499 (home-page "https://www.gnome.org/")
501 "Libgnome-desktop, gnome-about, and desktop-wide documents")
503 "The libgnome-desktop library provides API shared by several applications
504 on the desktop, but that cannot live in the platform for various reasons.
505 There is no API or ABI guarantee, although we are doing our best to provide
506 stability. Documentation for the API is available with gtk-doc.
508 The gnome-about program helps find which version of GNOME is installed.")
509 ; Some bits under the LGPL.
510 (license license:gpl2+)))
512 (define-public gnome-doc-utils
514 (name "gnome-doc-utils")
519 (uri (string-append "mirror://gnome/sources/" name "/"
520 (version-major+minor version) "/"
521 name "-" version ".tar.xz"))
524 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
525 (build-system gnu-build-system)
527 `(("intltool" ,intltool)
528 ("docbook-xml" ,docbook-xml-4.4)
529 ("python2-libxml2" ,python2-libxml2)
532 ("pkg-config" ,pkg-config)
533 ("python-2" ,python-2)))
534 (home-page "https://wiki.gnome.org/GnomeDocUtils")
536 "Documentation utilities for the Gnome project")
538 "Gnome-doc-utils is a collection of documentation utilities for the
539 Gnome project. It includes xml2po tool which makes it easier to translate
540 and keep up to date translations of documentation.")
541 (license license:gpl2+))) ; xslt under lgpl
543 (define-public gnome-disk-utility
545 (name "gnome-disk-utility")
549 (uri (string-append "mirror://gnome/sources/" name "/"
550 (version-major+minor version) "/"
551 name "-" version ".tar.xz"))
554 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
555 (build-system meson-build-system)
557 `(("glib:bin" ,glib "bin")
558 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
559 ("intltool" ,intltool)
560 ("pkg-config" ,pkg-config)
561 ("docbook-xml" ,docbook-xml)
562 ("docbook-xsl" ,docbook-xsl)
564 ("libxslt" ,libxslt)))
567 ("appstream-glib" ,appstream-glib)
568 ("gnome-settings-daemon" ,gnome-settings-daemon)
570 ("libcanberra" ,libcanberra)
571 ("libdvdread" ,libdvdread)
572 ("libnotify" ,libnotify)
573 ("libpwquality" ,libpwquality)
574 ("libsecret" ,libsecret)
576 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
577 (synopsis "Disk management utility for GNOME")
578 (description "Disk management utility for GNOME.")
579 (license license:gpl2+)))
587 (uri (string-append "mirror://gnome/sources/" name "/"
588 (version-major+minor version) "/"
589 name "-" version ".tar.xz"))
592 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
594 (search-patches "gcr-disable-failing-tests.patch"
595 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
596 (build-system gnu-build-system)
598 '(#:phases (modify-phases %standard-phases
601 (lambda* (#:key inputs #:allow-other-keys)
602 (substitute* "build/tap-driver"
603 (("/usr/bin/env python") (which "python"))))))))
606 ("gnupg" ,gnupg) ;called as a child process during tests
607 ("libgcrypt" ,libgcrypt)))
609 `(("python" ,python-2) ;for tests
610 ("pkg-config" ,pkg-config)
612 ("gobject-introspection" ,gobject-introspection)
613 ("intltool" ,intltool)
614 ("xsltproc" ,libxslt)))
615 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
617 `(("p11-kit" ,p11-kit)
620 (home-page "https://www.gnome.org")
621 (synopsis "Libraries for displaying certificates and accessing key stores")
623 "The GCR package contains libraries used for displaying certificates and
624 accessing key stores. It also provides the viewer for crypto files on the
626 (license license:lgpl2.1+)))
628 (define-public libgnome-keyring
630 (name "libgnome-keyring")
634 (uri (string-append "mirror://gnome/sources/" name "/"
635 (version-major+minor version) "/"
636 name "-" version ".tar.xz"))
639 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
640 (build-system gnu-build-system)
642 `(("libgcrypt" ,libgcrypt)
645 `(("pkg-config" ,pkg-config)
647 ("intltool" ,intltool)))
649 ;; Referred to in .h files and .pc.
651 (home-page "https://www.gnome.org")
652 (synopsis "Accessing passwords from the GNOME keyring")
654 "Client library to access passwords from the GNOME keyring.")
656 ;; Though a couple of files are LGPLv2.1+.
657 (license license:lgpl2.0+)))
659 (define-public gnome-keyring
661 (name "gnome-keyring")
665 (uri (string-append "mirror://gnome/sources/" name "/"
666 (version-major+minor version) "/"
667 name "-" version ".tar.xz"))
670 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
671 (build-system gnu-build-system)
673 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
677 (string-append "--with-pkcs11-config="
678 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
679 (string-append "--with-pkcs11-modules="
680 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
682 (modify-phases %standard-phases
685 (lambda* (#:key inputs #:allow-other-keys)
686 (substitute* "build/tap-driver"
687 (("/usr/bin/env python") (which "python")))))
689 'configure 'fix-docbook
690 (lambda* (#:key inputs #:allow-other-keys)
691 (substitute* "docs/Makefile.am"
692 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
693 (string-append (assoc-ref inputs "docbook-xsl")
694 "/xml/xsl/docbook-xsl-"
695 ,(package-version docbook-xsl)
696 "/manpages/docbook.xsl")))
697 (setenv "XML_CATALOG_FILES"
698 (string-append (assoc-ref inputs "docbook-xml")
699 "/xml/dtd/docbook/catalog.xml"))
701 ;; Rerun the whole thing to avoid version mismatch ("This is
702 ;; Automake 1.15.1, but the definition used by this
703 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
704 ;; use 'autoreconf' because it insists on running 'libtoolize'.
707 (invoke "automake" "-ac"))))))
709 `(("libgcrypt" ,libgcrypt)
710 ("linux-pam" ,linux-pam)
714 `(("pkg-config" ,pkg-config)
716 ("python" ,python-2) ;for tests
717 ("intltool" ,intltool)
718 ("autoconf" ,autoconf)
719 ("automake" ,automake)
720 ("libxslt" ,libxslt) ;for documentation
721 ("docbook-xml" ,docbook-xml-4.2)
722 ("docbook-xsl" ,docbook-xsl)))
723 (home-page "https://www.gnome.org")
724 (synopsis "Daemon to store passwords and encryption keys")
726 "gnome-keyring is a program that keeps passwords and other secrets for
727 users. It is run as a daemon in the session, similar to ssh-agent, and other
728 applications locate it via an environment variable or D-Bus.
730 The program can manage several keyrings, each with its own master password,
731 and there is also a session keyring which is never stored to disk, but
732 forgotten when the session ends.")
733 (license license:lgpl2.1+)))
735 (define-public evince
741 (uri (string-append "mirror://gnome/sources/" name "/"
742 (version-major+minor version) "/"
743 name "-" version ".tar.xz"))
746 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
747 (build-system glib-or-gtk-build-system)
749 `(#:configure-flags '("--disable-nautilus")
751 (modify-phases %standard-phases
752 (add-before 'install 'skip-gtk-update-icon-cache
753 ;; Don't create 'icon-theme.cache'.
755 (substitute* "data/Makefile"
756 (("gtk-update-icon-cache") "true"))
759 `(("libarchive" ,libarchive)
761 ("libspectre" ,libspectre)
762 ("djvulibre" ,djvulibre)
763 ("ghostscript" ,ghostscript)
767 ;; Build libkpathsea as a shared library for DVI support.
768 ;; ("libkpathsea" ,texlive-bin)
769 ("gnome-desktop" ,gnome-desktop)
770 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
771 ("libgnome-keyring" ,libgnome-keyring)
772 ("adwaita-icon-theme" ,adwaita-icon-theme)
773 ("gdk-pixbuf" ,gdk-pixbuf)
781 ("shared-mime-info" ,shared-mime-info)
783 ("libcanberra" ,libcanberra)
784 ("libsecret" ,libsecret)
786 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
787 ;; propagated from there.
791 ("dogtail" ,python2-dogtail)))
793 `(("itstool" ,itstool)
794 ("intltool" ,intltool)
796 ("pkg-config" ,pkg-config)
797 ("xmllint" ,libxml2)))
799 "https://www.gnome.org/projects/evince/")
800 (synopsis "GNOME's document viewer")
802 "Evince is a document viewer for multiple document formats. It
803 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
804 of Evince is to replace the multiple document viewers that exist
805 on the GNOME Desktop with a single simple application.")
806 (license license:gpl2+)))
808 (define-public gsettings-desktop-schemas
810 (name "gsettings-desktop-schemas")
815 (uri (string-append "mirror://gnome/sources/" name "/"
816 (version-major+minor version) "/"
817 name "-" version ".tar.xz"))
820 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
821 (build-system gnu-build-system)
825 `(("intltool" ,intltool)
826 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
827 ("gobject-introspection" ,gobject-introspection)
828 ("pkg-config" ,pkg-config)))
829 (home-page "https://launchpad.net/gsettings-desktop-schemas")
831 "GNOME settings for various desktop components")
833 "Gsettings-desktop-schemas contains a collection of GSettings schemas
834 for settings shared by various components of the GNOME desktop.")
835 (license license:lgpl2.1+)))
837 (define-public icon-naming-utils
839 (name "icon-naming-utils")
844 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
848 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
849 (build-system gnu-build-system)
852 ("perl-xml-simple" ,perl-xml-simple)))
855 (modify-phases %standard-phases
856 (add-after 'install 'set-load-paths
857 ;; Tell 'icon-name-mapping' where XML::Simple is.
858 (lambda* (#:key outputs #:allow-other-keys)
859 (let* ((out (assoc-ref outputs "out"))
860 (prog (string-append out "/libexec/icon-name-mapping")))
863 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
865 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
867 "Utility to implement the Freedesktop Icon Naming Specification")
869 "To help with the transition to the Freedesktop Icon Naming
870 Specification, the icon naming utility maps the icon names used by the
871 GNOME and KDE desktops to the icon names proposed in the specification.")
872 (license license:lgpl2.1+)))
874 (define-public gnome-icon-theme
876 (name "gnome-icon-theme")
881 (uri (string-append "mirror://gnome/sources/" name "/"
882 (version-major+minor version) "/"
883 name "-" version ".tar.xz"))
886 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
887 (build-system gnu-build-system)
890 ;; Don't create 'icon-theme.cache'.
891 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
892 (true (string-append coreutils "/bin/true")))
893 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
895 `(("icon-naming-utils" ,icon-naming-utils)
896 ("intltool" ,intltool)
897 ("pkg-config" ,pkg-config)))
898 (home-page "https://art.gnome.org/")
902 "Icons for the GNOME desktop.")
903 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
905 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
906 (define-public adwaita-icon-theme
907 (package (inherit gnome-icon-theme)
908 (name "adwaita-icon-theme")
912 (uri (string-append "mirror://gnome/sources/" name "/"
913 (version-major+minor version) "/"
914 name "-" version ".tar.xz"))
917 "17fpahgh5dyckgz7rwqvzgnhx53cx9kr2xw0szprc6bnqy977fi8"))))
919 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
921 (define-public tango-icon-theme
923 (name "tango-icon-theme")
927 (uri (string-append "http://tango.freedesktop.org/releases/"
928 "tango-icon-theme-" version ".tar.bz2"))
931 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
932 (build-system gnu-build-system)
934 `(("icon-naming-utils" ,icon-naming-utils)
935 ("intltool" ,intltool)
936 ("imagemagick" ,imagemagick)
937 ("pkg-config" ,pkg-config)))
938 (home-page "http://tango-project.org/")
939 (synopsis "Tango icon theme")
940 (description "This is an icon theme that follows the Tango visual
942 (license license:public-domain)))
944 (define-public shared-mime-info
946 (name "shared-mime-info")
950 (uri (string-append "https://freedesktop.org/~hadess/"
951 "shared-mime-info-" version ".tar.xz"))
954 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
955 (build-system gnu-build-system)
957 ;; The build system appears not to be parallel-safe.
958 '(#:parallel-build? #f))
961 ("libxml2" ,libxml2)))
963 `(("intltool" ,intltool)
964 ("pkg-config" ,pkg-config)))
965 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
966 (synopsis "Database of common MIME types")
968 "The shared-mime-info package contains the core database of common types
969 and the update-mime-database command used to extend it. It requires glib2 to
970 be installed for building the update command. Additionally, it uses intltool
971 for translations, though this is only a dependency for the maintainers. This
972 database is translated at Transifex.")
973 (license license:gpl2+)))
975 (define-public hicolor-icon-theme
977 (name "hicolor-icon-theme")
982 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
983 "hicolor-icon-theme-" version ".tar.xz"))
986 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
987 (build-system gnu-build-system)
989 `(#:tests? #f)) ; no check target
990 (home-page "https://icon-theme.freedesktop.org/releases/")
992 "Freedesktop icon theme")
994 "Freedesktop icon theme.")
995 (license license:gpl2)))
997 (define-public libnotify
1004 (uri (string-append "mirror://gnome/sources/" name "/"
1005 (version-major+minor version) "/"
1006 name "-" version ".tar.xz"))
1009 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1010 (build-system gnu-build-system)
1012 `(("gdk-pixbuf" ,gdk-pixbuf)
1015 ("libpng" ,libpng)))
1017 `(("pkg-config" ,pkg-config)
1018 ("glib" ,glib "bin")
1019 ("gobject-introspection" ,gobject-introspection)))
1020 (home-page "https://developer-next.gnome.org/libnotify/")
1022 "GNOME desktop notification library")
1024 "Libnotify is a library that sends desktop notifications to a
1025 notification daemon, as defined in the Desktop Notifications spec. These
1026 notifications can be used to inform the user about an event or display
1027 some form of information without getting in the user's way.")
1028 (license license:lgpl2.1+)))
1030 (define-public libpeas
1037 (uri (string-append "mirror://gnome/sources/" name "/"
1038 (version-major+minor version) "/"
1039 name "-" version ".tar.xz"))
1042 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1043 (build-system gnu-build-system)
1048 ("python-pygobject" ,python-pygobject)))
1050 `(("pkg-config" ,pkg-config)
1051 ("glib:bin" ,glib "bin")
1052 ("gobject-introspection" ,gobject-introspection)
1053 ("intltool" ,intltool)))
1055 ;; The .pc file "Requires" gobject-introspection.
1056 `(("gobject-introspection" ,gobject-introspection)))
1057 (home-page "https://wiki.gnome.org/Libpeas")
1058 (synopsis "GObject plugin system")
1060 "Libpeas is a gobject-based plugin engine, targeted at giving every
1061 application the chance to assume its own extensibility. It also has a set of
1062 features including, but not limited to: multiple extension points; on-demand
1063 (lazy) programming language support for C, Python and JS; simplicity of the
1065 (license license:lgpl2.0+)))
1067 (define-public gtkglext
1073 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1074 version "/gtkglext-" version ".tar.gz"))
1076 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1077 (patches (search-patches
1078 "gtkglext-disable-disable-deprecated.patch"))))
1079 (build-system gnu-build-system)
1082 (modify-phases %standard-phases
1083 ;; Fix a collision between a local variable and a definition from
1084 ;; glibc's string.h.
1085 (add-after 'unpack 'fix-collision
1087 (substitute* "gdk/gdkglshapes.c"
1088 ((" index") " triangle_index"))
1090 (inputs `(("gtk+" ,gtk+-2)
1095 (native-inputs `(("pkg-config" ,pkg-config)
1096 ("glib" ,glib "bin")))
1097 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1098 (home-page "https://projects.gnome.org/gtkglext")
1099 (synopsis "OpenGL extension to GTK+")
1100 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1101 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1102 API add-ons to make GTK+ widgets OpenGL-capable.")
1103 (license license:lgpl2.1+)))
1105 (define-public glade3
1111 (uri (string-append "mirror://gnome/sources/" name "/"
1112 (version-major+minor version) "/"
1113 name "-" version ".tar.xz"))
1116 "1vdbqqvf6nrkqml4awrq4pzfwsm5v39wdzg943nys6lmf1am9l87"))))
1117 (build-system glib-or-gtk-build-system)
1119 `(#:tests? #f ; needs X, GL, and software rendering
1121 (modify-phases %standard-phases
1122 (add-before 'configure 'fix-docbook
1123 (lambda* (#:key inputs #:allow-other-keys)
1124 (substitute* "man/Makefile.in"
1125 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1126 (string-append (assoc-ref inputs "docbook-xsl")
1127 "/xml/xsl/docbook-xsl-"
1128 ,(package-version docbook-xsl)
1129 "/manpages/docbook.xsl")))
1133 ("libxml2" ,libxml2)))
1135 `(("intltool" ,intltool)
1136 ("itstool" ,itstool)
1137 ("libxslt" ,libxslt) ;for xsltproc
1138 ("docbook-xml" ,docbook-xml-4.2)
1139 ("docbook-xsl" ,docbook-xsl)
1140 ("python" ,python-2)
1141 ("pkg-config" ,pkg-config)))
1142 (home-page "https://glade.gnome.org")
1143 (synopsis "GTK+ rapid application development tool")
1144 (description "Glade is a rapid application development (RAD) tool to
1145 enable quick & easy development of user interfaces for the GTK+ toolkit and
1146 the GNOME desktop environment.")
1147 (license license:lgpl2.0+)))
1149 (define-public libcroco
1155 (uri (string-append "mirror://gnome/sources/" name "/"
1156 (version-major+minor version) "/"
1157 name "-" version ".tar.xz"))
1159 (search-patches "libcroco-CVE-2017-7960.patch"
1160 "libcroco-CVE-2017-7961.patch"))
1163 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1164 (build-system gnu-build-system)
1166 `(("pkg-config" ,pkg-config)))
1169 ("libxml2" ,libxml2)
1171 (home-page "https://github.com/GNOME/libcroco")
1172 (synopsis "CSS2 parsing and manipulation library")
1174 "Libcroco is a standalone CSS2 parsing and manipulation library.
1175 The parser provides a low level event driven SAC-like API and a CSS object
1176 model like API. Libcroco provides a CSS2 selection engine and an experimental
1177 XML/CSS rendering engine.")
1180 (license license:lgpl2.1)))
1182 (define-public libgsf
1188 (uri (string-append "mirror://gnome/sources/" name "/"
1189 (version-major+minor version) "/"
1190 name "-" version ".tar.xz"))
1193 "1ppzfk3zmmgrg9jh8vc4dacddbfngjslq2wpj94pcr3i0c8dxgk8"))))
1194 (build-system gnu-build-system)
1196 `(("intltool" ,intltool)
1197 ("pkg-config" ,pkg-config)))
1199 `(("python" ,python)
1203 `(("gdk-pixbuf" ,gdk-pixbuf)
1205 ("libxml2" ,libxml2)))
1206 (home-page "https://www.gnome.org/projects/libgsf")
1207 (synopsis "GNOME's Structured File Library")
1209 "Libgsf aims to provide an efficient extensible I/O abstraction for
1210 dealing with different structured file formats.")
1213 (license license:lgpl2.1)))
1215 (define-public librsvg
1221 (uri (string-append "mirror://gnome/sources/" name "/"
1222 (version-major+minor version) "/"
1223 name "-" version ".tar.xz"))
1226 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1227 (build-system gnu-build-system)
1230 (modify-phases %standard-phases
1231 (add-before 'configure 'pre-configure
1232 (lambda* (#:key inputs #:allow-other-keys)
1233 (substitute* "gdk-pixbuf-loader/Makefile.in"
1234 ;; By default the gdk-pixbuf loader is installed under
1235 ;; gdk-pixbuf's prefix. Work around that.
1236 (("gdk_pixbuf_moduledir = .*$")
1237 (string-append "gdk_pixbuf_moduledir = "
1238 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1240 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1241 (("gdk_pixbuf_cache_file = .*$")
1242 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1244 (add-after 'unpack 'remove-failing-tests
1246 (with-directory-excursion "tests/fixtures/reftests"
1247 (for-each delete-file
1248 '(;; This test fails on i686:
1249 "svg1.1/masking-path-04-b.svg"
1250 "svg1.1/masking-path-04-b-ref.png"
1251 ;; This test fails on armhf:
1252 "svg1.1/masking-mask-01-b.svg"
1253 "svg1.1/masking-mask-01-b-ref.png"
1254 ;; This test fails on aarch64:
1255 "bugs/777834-empty-text-children.svg"
1256 "bugs/777834-empty-text-children-ref.png")))
1259 `(("pkg-config" ,pkg-config)
1260 ("glib" ,glib "bin") ; glib-mkenums, etc.
1261 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1264 ("libcroco" ,libcroco)
1267 ("libxml2" ,libxml2)))
1269 ;; librsvg-2.0.pc refers to all of that.
1271 ("gdk-pixbuf" ,gdk-pixbuf)
1273 (home-page "https://wiki.gnome.org/LibRsvg")
1274 (synopsis "Render SVG files using Cairo")
1276 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1278 (license license:lgpl2.0+)))
1280 (define-public libidl
1286 (uri (let ((upstream-name "libIDL"))
1287 (string-append "mirror://gnome/sources/" upstream-name "/"
1288 (version-major+minor version) "/"
1289 upstream-name "-" version ".tar.bz2")))
1292 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1293 (build-system gnu-build-system)
1294 (inputs `(("glib" ,glib)))
1296 `(("pkg-config" ,pkg-config)
1299 (home-page "http://freecode.com/projects/libidl")
1300 (synopsis "Create trees of CORBA Interface Definition Language files")
1301 (description "Libidl is a library for creating trees of CORBA Interface
1302 Definition Language (idl) files, which is a specification for defining
1303 portable interfaces. libidl was initially written for orbit (the orb from the
1304 GNOME project, and the primary means of libidl distribution). However, the
1305 functionality was designed to be as reusable and portable as possible.")
1306 (license license:lgpl2.0+)))
1309 (define-public orbit2
1315 (uri (let ((upstream-name "ORBit2"))
1316 (string-append "mirror://gnome/sources/" upstream-name "/"
1317 (version-major+minor version) "/"
1318 upstream-name "-" version ".tar.bz2")))
1321 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1322 (build-system gnu-build-system)
1325 '(;; We don't need static libraries, plus they don't build reproducibly
1326 ;; (non-deterministic ordering of .o files in the archive.)
1329 ;; The programmer kindly gives us a hook to turn off deprecation
1331 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1332 ;; ... which they then completly ignore !!
1334 (modify-phases %standard-phases
1335 (add-before 'configure 'ignore-deprecations
1337 (substitute* "linc2/src/Makefile.in"
1338 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1340 (inputs `(("glib" ,glib)
1341 ("libidl" ,libidl)))
1343 `(("pkg-config" ,pkg-config)))
1344 (home-page "https://projects.gnome.org/orbit2/")
1345 (synopsis "CORBA 2.4-compliant Object Request Broker")
1346 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1347 featuring mature C, C++ and Python bindings.")
1348 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1349 ;; a version. SOME of the code files have licence notices for GPLv2+.
1350 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1351 (license license:gpl2+)
1352 (properties `((upstream-name . "ORBit2")))))
1355 (define-public libbonobo
1361 (uri (string-append "mirror://gnome/sources/" name "/"
1362 (version-major+minor version)
1363 "/" name "-" version ".tar.bz2"))
1365 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1366 (patches (search-patches
1367 "libbonobo-activation-test-race.patch"))))
1368 (build-system gnu-build-system)
1370 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1372 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1373 ;; ... which they then completly ignore !!
1375 (modify-phases %standard-phases
1376 (add-before 'configure 'ignore-deprecations
1378 (substitute* "activation-server/Makefile.in"
1379 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1382 ;; There's apparently a race condition between the server stub
1383 ;; generation and linking of the example under 'samples/echo' that can
1384 ;; lead do undefined references when building in parallel, as reported
1385 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1386 ;; Thus, disable parallel builds.
1387 #:parallel-build? #f))
1388 (inputs `(("popt" ,popt)
1389 ("libxml2" ,libxml2)))
1390 ;; The following are Required by the .pc file
1393 ("orbit2" ,orbit2)))
1395 `(("intltool" ,intltool)
1396 ("pkg-config" ,pkg-config)
1397 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1400 (home-page "https://developer.gnome.org/libbonobo/")
1401 (synopsis "Framework for creating reusable components for use in GNOME applications")
1402 (description "Bonobo is a framework for creating reusable components for
1403 use in GNOME applications, built on top of CORBA.")
1404 ;; Licence not explicitly stated. Source files contain no licence notices.
1405 ;; Tarball contains text of both GPLv2 and LGPLv2
1406 ;; GPLv2 covers both conditions
1407 (license license:gpl2+)))
1410 (define-public gconf
1417 (let ((upstream-name "GConf"))
1418 (string-append "mirror://gnome/sources/" upstream-name "/"
1419 (version-major+minor version) "/"
1420 upstream-name "-" version ".tar.xz")))
1422 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1423 (build-system gnu-build-system)
1424 (inputs `(("dbus-glib" ,dbus-glib)
1425 ("libxml2" ,libxml2)))
1426 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1427 ("orbit2" ,orbit2)))
1429 `(("intltool" ,intltool)
1430 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1431 ("pkg-config" ,pkg-config)))
1432 (home-page "https://projects.gnome.org/gconf/")
1433 (synopsis "Store application preferences")
1434 (description "Gconf is a system for storing application preferences. It
1435 is intended for user preferences; not arbitrary data storage.")
1436 (license license:lgpl2.0+)
1437 (properties '((upstream-name . "GConf")))))
1440 (define-public gnome-mime-data
1442 (name "gnome-mime-data")
1446 (uri (string-append "mirror://gnome/sources/" name "/"
1447 (version-major+minor version) "/"
1448 name "-" version ".tar.bz2"))
1451 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1452 (build-system gnu-build-system)
1455 ("intltool" ,intltool)))
1457 '(#:phases (modify-phases %standard-phases
1458 (add-after 'configure 'use-our-intltool
1460 ;; Do not use the bundled intltool commands, which lack
1461 ;; the "dotless @INC" fixes of our 'intltool' package.
1462 (substitute* (find-files "." "^Makefile$")
1463 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1464 (string-append "INTLTOOL_" tool " = intltool-"
1465 (string-downcase tool) "\n")))
1467 (home-page "https://www.gnome.org")
1468 (synopsis "Base MIME and Application database for GNOME")
1469 (description "GNOME Mime Data is a module which contains the base MIME
1470 and Application database for GNOME. The data stored by this module is
1471 designed to be accessed through the MIME functions in GnomeVFS.")
1472 (license license:gpl2+)))
1475 (define-public gnome-vfs
1481 (uri (string-append "mirror://gnome/sources/" name "/"
1482 (version-major+minor version) "/"
1483 name "-" version ".tar.bz2"))
1486 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1487 (build-system gnu-build-system)
1490 (modify-phases %standard-phases
1491 (add-before 'configure 'ignore-deprecations
1493 (substitute* '("libgnomevfs/Makefile.in"
1494 "daemon/Makefile.in")
1495 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1497 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1499 (substitute* "test/test-async-cancel.c"
1500 (("EXIT_FAILURE") "77"))
1502 (inputs `(("libxml2" ,libxml2)
1503 ("dbus-glib" ,dbus-glib)
1505 ("gnome-mime-data" ,gnome-mime-data)
1508 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1509 ("intltool" ,intltool)
1510 ("pkg-config" ,pkg-config)))
1511 (home-page "https://developer.gnome.org/gnome-vfs/")
1512 (synopsis "Access files and folders in GNOME applications")
1514 "GnomeVFS is the core library used to access files and folders in GNOME
1515 applications. It provides a file system abstraction which allows applications
1516 to access local and remote files with a single consistent API.")
1517 (license license:lgpl2.0+)))
1521 (define-public libgnome
1527 (uri (string-append "mirror://gnome/sources/" name "/"
1528 (version-major+minor version) "/"
1529 name "-" version ".tar.bz2"))
1532 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1533 (patches (search-patches "libgnome-encoding.patch"))))
1534 (build-system gnu-build-system)
1537 (modify-phases %standard-phases
1538 (add-before 'configure 'enable-deprecated
1540 (substitute* "libgnome/Makefile.in"
1541 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1543 (inputs `(("libxml2" ,libxml2)))
1545 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1546 ("intltool" ,intltool)
1547 ("pkg-config" ,pkg-config)))
1548 ;; The following are listed as Required in the .pc file
1549 ;; (except for libcanberra -- which seems to be oversight on the part
1550 ;; of the upstream developers -- anything that links against libgnome,
1551 ;; must also link against libcanberra
1553 `(("libcanberra" ,libcanberra)
1554 ("libbonobo" ,libbonobo)
1556 ("gnome-vfs" ,gnome-vfs)
1557 ("popt" ,popt))) ;gnome-program.h includes popt.h
1558 (home-page "https://developer.gnome.org/libgnome/")
1559 (synopsis "Useful routines for building applications")
1560 (description "The libgnome library provides a number of useful routines
1561 for building modern applications, including session management, activation of
1562 files and URIs, and displaying help.")
1563 (license license:lgpl2.0+)))
1566 (define-public libart-lgpl
1568 (name "libart-lgpl")
1572 (uri (let ((upstream-name "libart_lgpl"))
1573 (string-append "mirror://gnome/sources/" upstream-name "/"
1574 (version-major+minor version) "/"
1575 upstream-name "-" version ".tar.bz2")))
1578 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1579 (build-system gnu-build-system)
1581 `(("pkg-config" ,pkg-config)))
1582 (home-page "https://people.gnome.org/~mathieu/libart")
1583 (synopsis "2D drawing library")
1584 (description "Libart is a 2D drawing library intended as a
1585 high-quality vector-based 2D library with antialiasing and alpha composition.")
1586 (license license:lgpl2.0+)))
1590 (define-public libgnomecanvas
1592 (name "libgnomecanvas")
1596 (uri (string-append "mirror://gnome/sources/" name "/"
1597 (version-major+minor version) "/"
1598 name "-" version ".tar.gz"))
1601 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1602 (build-system gnu-build-system)
1603 ;; Mentioned as Required in the .pc file
1604 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1607 `(("intltool" ,intltool)
1608 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1609 ("pkg-config" ,pkg-config)))
1610 (home-page "https://developer.gnome.org/libgnomecanvas/")
1611 (synopsis "Flexible widget for creating interactive structured graphics")
1612 (description "The GnomeCanvas widget provides a flexible widget for
1613 creating interactive structured graphics.")
1614 (license license:lgpl2.0+)))
1616 (define-public libgnomecanvasmm
1618 (name "libgnomecanvasmm")
1622 (uri (string-append "mirror://gnome/sources/" name "/"
1623 (version-major+minor version) "/"
1624 name "-" version ".tar.bz2"))
1627 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1628 (build-system gnu-build-system)
1630 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1631 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1633 `(("gtkmm-2" ,gtkmm-2)
1634 ("pkg-config" ,pkg-config)))
1635 (home-page "https://gtkmm.org")
1636 (synopsis "C++ bindings to the GNOME Canvas library")
1637 (description "C++ bindings to the GNOME Canvas library.")
1638 (license license:lgpl2.0+)))
1640 (define-public libgnomeui
1646 (uri (string-append "mirror://gnome/sources/" name "/"
1647 (version-major+minor version) "/"
1648 name "-" version ".tar.bz2"))
1649 (patches (search-patches "libgnomeui-utf8.patch"))
1652 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1653 (build-system gnu-build-system)
1654 ;; Mentioned as Required in the .pc file
1655 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1656 ("libgnome" ,libgnome)
1657 ("libgnomecanvas" ,libgnomecanvas)
1658 ("libgnome-keyring" ,libgnome-keyring)))
1659 (inputs `(("libjpeg" ,libjpeg)
1661 ("libbonobo" ,libbonobo)
1662 ("libxml2" ,libxml2)
1663 ("libglade" ,libglade)))
1665 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1666 ("intltool" ,intltool)
1667 ("pkg-config" ,pkg-config)))
1668 (home-page "https://developer.gnome.org/libgnomeui/")
1669 (synopsis "Additional widgets for applications")
1670 (description "The libgnomeui library provides additional widgets for
1671 applications. Many of the widgets from libgnomeui have already been
1673 (license license:lgpl2.0+)))
1675 (define-public libglade
1681 (uri (string-append "mirror://gnome/sources/" name "/"
1682 (version-major+minor version) "/"
1683 name "-" version ".tar.bz2"))
1686 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1687 (build-system gnu-build-system)
1689 `(("python" ,python))) ;; needed for the optional libglade-convert program
1691 `(("gtk+-2" ,gtk+-2)
1692 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1694 `(("pkg-config" ,pkg-config)))
1695 (home-page "https://developer.gnome.org/libglade")
1696 (synopsis "Load glade interfaces and access the glade built widgets")
1697 (description "Libglade is a library that provides interfaces for loading
1698 graphical interfaces described in glade files and for accessing the
1699 widgets built in the loading process.")
1700 (license license:gpl2+))) ; This is correct. GPL not LGPL
1702 (define-public libgnomeprint
1703 ;; This library has been deprecated since 2006; see
1704 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1706 (name "libgnomeprint")
1710 (uri (string-append "mirror://gnome/sources/" name "/"
1711 (version-major+minor version) "/"
1712 name "-" version ".tar.bz2"))
1715 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1716 (build-system gnu-build-system)
1719 ("libart-lgpl" ,libart-lgpl)
1721 ("libxml2" ,libxml2)))
1723 `(("intltool" ,intltool)
1724 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1725 ("pkg-config" ,pkg-config)))
1726 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1727 (synopsis "Printing framework for GNOME")
1729 "GNOME-print was a printing framework for GNOME. It has been deprecated
1730 since ca. 2006, when GTK+ itself incorporated printing support.")
1731 (license license:lgpl2.0+)))
1734 (define-public libgnomeprintui
1735 ;; Deprecated; see libgnomeprint.
1737 (name "libgnomeprintui")
1741 (uri (string-append "mirror://gnome/sources/" name "/"
1742 (version-major+minor version) "/"
1743 name "-" version ".tar.bz2"))
1746 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1747 (build-system gnu-build-system)
1748 ;; Mentioned as Required in the .pc file
1749 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1750 (inputs `(("gtk+" ,gtk+-2)
1752 ("gnome-icon-theme" ,gnome-icon-theme)
1753 ("libgnomecanvas" ,libgnomecanvas)
1754 ("libxml2" ,libxml2)))
1756 `(("intltool" ,intltool)
1757 ("pkg-config" ,pkg-config)))
1758 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1759 (synopsis "Printing framework for GNOME")
1760 (description (package-description libgnomeprint))
1761 (license license:lgpl2.0+)))
1763 (define-public libbonoboui
1765 (name "libbonoboui")
1769 (uri (string-append "mirror://gnome/sources/" name "/"
1770 (version-major+minor version) "/"
1771 name "-" version ".tar.bz2"))
1774 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1775 (build-system gnu-build-system)
1778 (modify-phases %standard-phases
1779 (add-before 'check 'start-xserver
1780 (lambda* (#:key inputs #:allow-other-keys)
1781 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1784 (setenv "HOME" (getcwd))
1785 (setenv "DISPLAY" disp)
1786 ;; There must be a running X server and make check doesn't start one.
1787 ;; Therefore we must do it.
1788 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1789 ;; Mentioned as Required by the .pc file
1790 (propagated-inputs `(("libxml2" ,libxml2)))
1793 ("pangox-compat" ,pangox-compat)
1794 ("libgnome" ,libgnome)
1795 ("libgnomecanvas" ,libgnomecanvas)
1796 ("libglade" ,libglade)))
1798 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1799 ("intltool" ,intltool)
1800 ("xorg-server" ,xorg-server) ; For running the tests
1801 ("pkg-config" ,pkg-config)))
1802 (home-page "https://developer.gnome.org/libbonoboui/")
1803 (synopsis "Some user interface controls using Bonobo")
1804 (description "The Bonobo UI library provides a number of user interface
1805 controls using the Bonobo component framework.")
1806 (license license:lgpl2.0+)))
1808 (define-public libwnck
1814 (uri (string-append "mirror://gnome/sources/" name "/"
1815 (version-major+minor version) "/"
1816 name "-" version ".tar.xz"))
1819 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
1820 (build-system gnu-build-system)
1822 `(("pkg-config" ,pkg-config)
1823 ("intltool" ,intltool)))
1826 ("libxres" ,libxres)
1827 ("startup-notification" ,startup-notification)))
1828 (home-page "https://developer.gnome.org/libwnck/")
1829 (synopsis "Window Navigator Construction Kit")
1831 "Libwnck is the Window Navigator Construction Kit, a library for use in
1832 writing pagers, tasklists, and more generally applications that are dealing
1833 with window management. It tries hard to respect the Extended Window Manager
1834 Hints specification (EWMH).")
1835 (license license:lgpl2.0+)))
1837 ;; stable version for gtk2, required by xfwm4.
1838 (define-public libwnck-2
1839 (package (inherit libwnck)
1844 (uri (string-append "mirror://gnome/sources/" name "/"
1845 (version-major+minor version) "/"
1846 name "-" version ".tar.xz"))
1849 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1852 ("libxres" ,libxres)
1853 ("startup-notification" ,startup-notification)))))
1855 (define-public goffice
1861 (uri (string-append "mirror://gnome/sources/" name "/"
1862 (version-major+minor version) "/"
1863 name "-" version ".tar.xz"))
1865 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
1866 (build-system gnu-build-system)
1868 "doc")) ;4.0 MiB of gtk-doc
1870 '(#:configure-flags (list (string-append "--with-html-dir="
1871 (assoc-ref %outputs "doc")
1872 "/share/gtk-doc/html"))))
1876 ("librsvg" ,librsvg)
1877 ("libxslt" ,libxslt)
1878 ("libxml2" ,libxml2)))
1880 `(("intltool" ,intltool)
1881 ("glib" ,glib "bin")
1882 ("pkg-config" ,pkg-config)))
1883 (home-page "https://developer.gnome.org/goffice/")
1884 (synopsis "Document-centric objects and utilities")
1885 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1887 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1889 (list license:gpl2 license:gpl3))))
1891 (define-public goffice-0.8
1892 (package (inherit goffice)
1896 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1897 (version-major+minor version) "/"
1898 (package-name goffice) "-" version ".tar.xz"))
1900 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1903 (modify-phases %standard-phases
1904 (add-after 'unpack 'fix-pcre-check
1906 ;; Only glib.h can be included directly. See
1907 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1908 (substitute* "configure"
1909 (("glib/gregex\\.h") "glib.h")) #t)))
1911 ,@(package-arguments goffice)))
1913 ;; libgoffice-0.8.pc mentions libgsf-1
1914 `(("libgsf" ,libgsf)))
1917 ,@(alist-delete "gtk" (package-inputs goffice))))))
1919 (define-public gnumeric
1925 (uri (string-append "mirror://gnome/sources/" name "/"
1926 (version-major+minor version) "/"
1927 name "-" version ".tar.xz"))
1930 "0j28qpbz9a9p80x27kcwxl5n1hf36nn2fa7dxwrbhcdx4rgy5grw"))))
1931 (build-system glib-or-gtk-build-system)
1933 `(;; The gnumeric developers don't worry much about failing tests.
1934 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1937 (modify-phases %standard-phases
1939 'configure 'pre-conf
1940 (lambda* (#:key outputs #:allow-other-keys)
1941 ;; Make install tries to write into the directory of goffice
1942 ;; I am informed that this only affects the possibility to embed a
1943 ;; spreadsheet inside an Abiword document. So presumably when we
1944 ;; package Abiword we'll have to refer it to this directory.
1945 (substitute* "configure"
1946 (("^GOFFICE_PLUGINS_DIR=.*")
1947 (string-append "GOFFICE_PLUGINS_DIR="
1948 (assoc-ref outputs "out")
1949 "/goffice/plugins"))))))))
1953 ("goffice" ,goffice)
1955 ("librsvg" ,librsvg)
1956 ("libxml2" ,libxml2)
1957 ("libxslt" ,libxslt)
1958 ("python" ,python-2)
1959 ("python2-pygobject" ,python2-pygobject)
1963 ("docbook-xml" ,docbook-xml)
1964 ("intltool" ,intltool)
1965 ("itstool" ,itstool)
1966 ("glib:bin" ,glib "bin")
1967 ("pkg-config" ,pkg-config)))
1968 (home-page "http://www.gnumeric.org")
1969 (synopsis "Spreadsheet application")
1971 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1972 interoperable with other spreadsheet applications. It has a vast array of
1973 features beyond typical spreadsheet functionality, such as support for linear
1974 and non-linear solvers, statistical analysis, and telecommunication
1977 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1978 (list license:gpl2 license:gpl3))))
1980 (define-public gnome-themes-standard
1982 (name "gnome-themes-standard")
1987 (uri (string-append "mirror://gnome/sources/" name "/"
1988 (version-major+minor version) "/" name "-"
1992 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1993 (build-system gnu-build-system)
1996 ;; Don't create 'icon-theme.cache'.
1997 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1998 (true (string-append coreutils "/bin/true")))
1999 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2003 ("librsvg" ,librsvg)
2004 ("libxml2" ,libxml2)
2007 `(("intltool" ,intltool)
2008 ("glib:bin" ,glib "bin")
2009 ("pkg-config" ,pkg-config)))
2010 (home-page "https://launchpad.net/gnome-themes-standard")
2011 (synopsis "Default GNOME 3 themes")
2013 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2014 (license license:lgpl2.1+)))
2016 (define-public seahorse
2023 (uri (string-append "mirror://gnome/sources/" name "/"
2024 (version-major+minor version) "/" name "-"
2028 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2029 (build-system glib-or-gtk-build-system)
2035 ("openldap" ,openldap)
2036 ("openssh" ,openssh)
2037 ("libsecret" ,libsecret)
2038 ("libsoup" ,libsoup)))
2040 `(("intltool" ,intltool)
2041 ("glib:bin" ,glib "bin")
2042 ("itstool" ,itstool)
2043 ("pkg-config" ,pkg-config)
2044 ("xmllint" ,libxml2)))
2045 (home-page "https://launchpad.net/gnome-themes-standard")
2046 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2048 "Seahorse is a GNOME application for managing encryption keys and
2049 passwords in the GNOME keyring.")
2050 (license license:gpl2+)))
2058 (uri (string-append "mirror://gnome/sources/" name "/"
2059 (version-major+minor version) "/"
2060 name "-" version ".tar.xz"))
2063 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2064 (build-system gnu-build-system)
2067 (modify-phases %standard-phases
2068 (add-before 'check 'pre-check
2071 (substitute* "valadoc/tests/testrunner.sh"
2072 (("export PKG_CONFIG_PATH=" m)
2073 (string-append m "$PKG_CONFIG_PATH:")))
2074 ;; For missing '/etc/machine-id'.
2075 (setenv "DBUS_FATAL_WARNINGS" "0")
2078 `(("pkg-config" ,pkg-config)
2081 ("xsltproc" ,libxslt)
2084 ("dbus" ,dbus) ; for dbus tests
2085 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2087 `(("graphviz" ,graphviz)))
2089 `(("glib" ,glib))) ; required by libvala-0.40.pc
2090 (home-page "https://live.gnome.org/Vala/")
2091 (synopsis "Compiler for the GObject type system")
2093 "Vala is a programming language that aims to bring modern programming
2094 language features to GNOME developers without imposing any additional runtime
2095 requirements and without using a different ABI compared to applications and
2096 libraries written in C.")
2097 (license license:lgpl2.1+)))
2105 (uri (string-append "mirror://gnome/sources/" name "/"
2106 (version-major+minor version) "/"
2107 name "-" version ".tar.xz"))
2110 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2111 (build-system gnu-build-system)
2113 `(("pkg-config" ,pkg-config)
2114 ("intltool" ,intltool)
2116 ("gobject-introspection" ,gobject-introspection)
2117 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2119 ("xmllint" ,libxml2)))
2121 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2122 ("gnutls" ,gnutls) ;ditto
2123 ("pcre2" ,pcre2))) ;ditto
2124 (home-page "https://www.gnome.org/")
2125 (synopsis "Virtual Terminal Emulator")
2127 "VTE is a library (libvte) implementing a terminal emulator widget for
2128 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2129 gnome-terminal, but can also be used to embed a console/terminal in games,
2130 editors, IDEs, etc.")
2131 (license license:lgpl2.1+)))
2133 (define-public vte-ng
2137 (version "0.54.2.a")
2138 (home-page "https://github.com/thestinger/vte-ng")
2141 (uri (git-reference (url home-page) (commit version)))
2142 (file-name (git-file-name name version))
2145 "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags"))))
2147 `(("gtk-doc" ,gtk-doc)
2149 ("autoconf" ,autoconf)
2150 ("automake" ,automake)
2151 ("libtool" ,libtool)
2152 ,@(package-native-inputs vte)))
2154 `(#:phases (modify-phases %standard-phases
2157 (setenv "NOCONFIGURE" "true")
2158 (invoke "sh" "autogen.sh"))))))
2159 (synopsis "Enhanced VTE terminal widget")
2161 "VTE is a library (libvte) implementing a terminal emulator widget for
2162 GTK+, this fork provides additional functions exposed for keyboard text
2163 selection and URL hints.")))
2165 ;; provides vte 2.90, required for some terminal emulators
2166 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2167 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2168 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2169 ;; pantheon-terminal, roxterm are not currently packaged
2170 (define-public vte-0.36
2171 (package (inherit vte)
2176 (uri (string-append "mirror://gnome/sources/" name "/"
2177 (version-major+minor version) "/"
2178 name "-" version ".tar.xz"))
2181 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2184 ("ncurses" ,ncurses)))))
2186 ;; stable version for gtk2, required by xfce4-terminal.
2187 (define-public vte/gtk+-2
2188 (package (inherit vte)
2193 (uri (string-append "mirror://gnome/sources/" name "/"
2194 (version-major+minor version) "/"
2195 name "-" version ".tar.xz"))
2198 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2199 (patches (search-patches
2200 "vte-CVE-2012-2738-pt1.patch"
2201 "vte-CVE-2012-2738-pt2.patch"))))
2203 '(#:configure-flags '("--disable-python")))
2205 `(("pkg-config" ,pkg-config)
2206 ("intltool" ,intltool)
2207 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2209 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2210 ("ncurses" ,ncurses))))) ; required by libvte.la
2212 (define-public vinagre
2218 (uri (string-append "mirror://gnome/sources/" name "/"
2219 (version-major+minor version) "/"
2220 name "-" version ".tar.xz"))
2221 (patches (search-patches "vinagre-newer-freerdp.patch"
2222 "vinagre-newer-rdp-parameters.patch"))
2225 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2226 (build-system glib-or-gtk-build-system)
2229 (modify-phases %standard-phases
2230 (add-before 'install 'skip-gtk-update-icon-cache
2232 ;; Don't create 'icon-theme.cache'
2233 (substitute* (find-files "." "^Makefile$")
2234 (("gtk-update-icon-cache") (which "true")))
2236 (add-after 'unpack 'patch-configure
2238 (substitute* "configure"
2239 (("freerdp") "freerdp2"))
2242 `(("pkg-config" ,pkg-config)
2243 ("intltool" ,intltool)
2244 ("itstool" ,itstool)
2245 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2247 `(("libxml2" ,libxml2)
2248 ("gtk-vnc" ,gtk-vnc)
2249 ("gnome-keyring" ,gnome-keyring)
2250 ("libsecret" ,libsecret)
2251 ("freerdp" ,freerdp)
2253 ("spice-gtk" ,spice-gtk)
2254 ("telepathy-glib" ,telepathy-glib)
2256 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2257 (synopsis "Remote desktop viewer for GNOME")
2258 (description "Vinagre is a remote display client supporting the VNC, SPICE
2259 and RDP protocols.")
2260 (license license:gpl3+)))
2262 (define-public dconf
2269 "mirror://gnome/sources/" name "/"
2270 (version-major+minor version) "/"
2271 name "-" version ".tar.xz"))
2274 "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1"))))
2275 (build-system meson-build-system)
2277 ;; In Requires of dconf.pc.
2283 `(("libxslt" ,libxslt) ;for xsltproc
2284 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2285 ("docbook-xml" ,docbook-xml-4.2)
2286 ("docbook-xsl" ,docbook-xsl)
2287 ("glib:bin" ,glib "bin")
2288 ("gtk-doc" ,gtk-doc)
2289 ("pkg-config" ,pkg-config)
2292 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2293 ; or /etc/machine-id.
2295 #:configure-flags '("-Denable-gtk-doc=true")))
2296 (home-page "https://developer.gnome.org/dconf")
2297 (synopsis "Low-level GNOME configuration system")
2298 (description "Dconf is a low-level configuration system. Its main purpose
2299 is to provide a backend to GSettings on platforms that don't already have
2300 configuration storage systems.")
2301 (license license:lgpl2.1+)))
2303 (define-public json-glib
2309 (uri (string-append "mirror://gnome/sources/" name "/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2314 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2315 (build-system meson-build-system)
2317 `(("gettext" ,gettext-minimal)
2318 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2319 ("gobject-introspection" ,gobject-introspection)
2320 ("pkg-config" ,pkg-config)))
2322 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2323 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2324 (synopsis "Compiler for the GObject type system")
2326 "JSON-GLib is a C library based on GLib providing serialization and
2327 deserialization support for the JavaScript Object Notation (JSON) format
2328 described by RFC 4627. It provides parser and generator GObject classes and
2329 various wrappers for the complex data types employed by JSON, such as arrays
2331 (license license:lgpl2.1+)))
2333 (define-public libxklavier
2335 (name "libxklavier")
2339 (uri (string-append "mirror://gnome/sources/" name "/"
2340 version "/" name "-" version ".tar.xz"))
2343 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2344 (build-system gnu-build-system)
2347 (list (string-append "--with-xkb-base="
2348 (assoc-ref %build-inputs "xkeyboard-config")
2349 "/share/X11/xkb"))))
2351 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2352 ("gobject-introspection" ,gobject-introspection)
2353 ("pkg-config" ,pkg-config)))
2355 ;; Required by libxklavier.pc.
2357 ("libxml2" ,libxml2)))
2359 `(("iso-codes" ,iso-codes)
2361 ("libxkbfile" ,libxkbfile)
2362 ("xkbcomp" ,xkbcomp)
2363 ("xkeyboard-config" ,xkeyboard-config)))
2364 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2365 (synopsis "High-level API for X Keyboard Extension")
2367 "LibXklavier is a library providing high-level API for X Keyboard
2368 Extension known as XKB. This library is intended to support XFree86 and other
2369 commercial X servers. It is useful for creating XKB-related software (layout
2371 (license license:lgpl2.0+)))
2373 (define-public python2-rsvg
2374 ;; XXX: This is actually a subset of gnome-python-desktop.
2376 (name "python2-rsvg")
2382 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2383 version ".tar.bz2"))
2386 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2387 (build-system gnu-build-system)
2389 `(("pkg-config" ,pkg-config)))
2391 `(("python" ,python-2)
2392 ("python2-pygtk" ,python2-pygtk)
2393 ("librsvg" ,librsvg)))
2394 (home-page "https://www.gnome.org")
2395 (synopsis "Python bindings to librsvg")
2397 "This packages provides Python bindings to librsvg, the SVG rendering
2400 ;; This is the license of the rsvg bindings. The license of each module
2401 ;; of gnome-python-desktop is given in 'COPYING'.
2402 (license license:lgpl2.1+)))
2404 (define-public glib-networking
2406 (name "glib-networking")
2410 (uri (string-append "mirror://gnome/sources/glib-networking/"
2411 (version-major+minor version) "/"
2412 name "-" version ".tar.xz"))
2415 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2416 (patches (search-patches "glib-networking-connection.patch"))))
2417 (build-system meson-build-system)
2419 `(#:configure-flags '("-Dlibproxy_support=false")
2420 #:phases (modify-phases %standard-phases
2421 (add-before 'check 'disable-TLSv1.3
2423 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2424 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2425 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2428 `(("pkg-config" ,pkg-config)
2429 ("intltool" ,intltool)))
2433 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2434 ("p11-kit" ,p11-kit)))
2435 (home-page "https://www.gnome.org")
2436 (synopsis "Network-related GIO modules")
2438 "This package contains various network related extensions for the GIO
2440 (license license:lgpl2.0+)))
2448 (uri (string-append "mirror://gnome/sources/rest/"
2449 (version-major+minor version) "/"
2450 name "-" version ".tar.xz"))
2453 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2454 (build-system gnu-build-system)
2456 '(#:tests? #f ; tests require internet connection
2458 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2460 `(("glib-mkenums" ,glib "bin")
2461 ("gobject-introspection" ,gobject-introspection)
2462 ("pkg-config" ,pkg-config)))
2464 ;; rest-0.7.pc refers to all these.
2466 ("libsoup" ,libsoup)
2467 ("libxml2" ,libxml2)))
2468 (home-page "https://www.gtk.org/")
2469 (synopsis "RESTful web api query library")
2471 "This library was designed to make it easier to access web services that
2472 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2473 libxml to ease remote use of the RESTful API.")
2474 (license license:lgpl2.1+)))
2476 (define-public libsoup
2482 (uri (string-append "mirror://gnome/sources/libsoup/"
2483 (version-major+minor version) "/"
2484 name "-" version ".tar.xz"))
2487 "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm"))))
2488 (build-system gnu-build-system)
2489 (outputs '("out" "doc"))
2491 `(#:modules ((guix build utils)
2492 (guix build gnu-build-system)
2496 (list (string-append "--with-html-dir="
2497 (assoc-ref %outputs "doc")
2498 "/share/gtk-doc/html")
2499 (string-append "--with-apache-module-dir="
2500 (assoc-ref %build-inputs "httpd")
2503 (modify-phases %standard-phases
2504 (add-before 'configure 'disable-unconnected-socket-test
2505 ;; This test fails due to missing /etc/nsswitch.conf
2506 ;; in the build environment.
2508 (substitute* "tests/socket-test.c"
2509 ((".*/sockets/unconnected.*") ""))
2511 (add-before 'check 'pre-check
2513 ;; The 'check-local' target runs 'env LANG=C sort -u',
2514 ;; unset 'LC_ALL' to make 'LANG' working.
2516 ;; HTTPD in Guix uses mod_event and does not build prefork.
2517 (substitute* "tests/httpd.conf"
2518 (("^LoadModule mpm_prefork_module.*$") "\n"))
2520 ;; Generate a self-signed certificate that has "localhost" as its
2521 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2522 ;; 3.5.12, tests such as "ssl-tests" fail:
2524 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2526 ;; 'certtool' is interactive so we have to pipe it the answers.
2527 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2528 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2529 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2530 (for-each (lambda (line)
2535 "Guix" ;Organizational unit name
2536 "GNU" ;Organization name
2538 "" ;State or province
2540 "" ;subject's domain component (DC)
2543 "-1" ;expiration time
2544 "N" ;belong to authority?
2545 "N" ;web client certificate?
2547 "Y" ;web server certificate?
2548 "localhost" ;dnsName of subject
2549 "" ;dnsName of subject (end)
2551 "127.0.0.1" ;IP address of subject
2553 "" ;encryption (RSA)?
2554 "" ;data encryption?
2555 "" ;sign OCSP requests?
2558 "" ;email protection?
2559 "" ;URI of the CRL distribution point
2567 ;; Install vala bindings into $out.
2568 (string-append "vapidir=" %output
2572 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2573 ("gobject-introspection" ,gobject-introspection)
2574 ("intltool" ,intltool)
2575 ("pkg-config" ,pkg-config)
2576 ("python" ,python-wrapper)
2578 ;; These are needed for the tests.
2579 ;; FIXME: Add PHP once available.
2581 ("gnutls" ,gnutls) ;for 'certtool'
2584 ;; libsoup-2.4.pc refers to all these.
2586 ("libxml2" ,libxml2)))
2588 `(("glib-networking" ,glib-networking)
2590 ("sqlite" ,sqlite)))
2591 (home-page "https://live.gnome.org/LibSoup/")
2592 (synopsis "GLib-based HTTP Library")
2594 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2595 and the GLib main loop, to integrate well with GNOME applications.")
2596 (license license:lgpl2.0+)))
2598 (define-public libsecret
2605 "mirror://gnome/sources/libsecret/"
2606 (version-major+minor version) "/"
2607 name "-" version ".tar.xz"))
2610 "11ylmcfx6ff7xd1gpi58i2nbma83lz2xg0g2dq23w6snqhgzwrhd"))))
2611 (build-system gnu-build-system)
2612 (outputs '("out" "doc"))
2614 `(#:tests? #f ; FIXME: Testing hangs.
2616 (list (string-append "--with-html-dir="
2617 (assoc-ref %outputs "doc")
2618 "/share/gtk-doc/html"))))
2620 `(("gettext" ,gettext-minimal)
2621 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2622 ("gobject-introspection" ,gobject-introspection)
2623 ("pkg-config" ,pkg-config)
2625 ("xsltproc" ,libxslt)))
2626 ;; These are needed for the tests.
2627 ;; FIXME: Add gjs once available.
2629 ;("python2" ,python-2)
2630 ;("python2-dbus" ,python2-dbus)
2631 ;("python2-pygobject" ,python2-pygobject)
2632 ;("python2-pygobject-2" ,python2-pygobject-2)))
2634 `(("glib" ,glib))) ; required by libsecret-1.pc
2636 `(("docbook-xsl" ,docbook-xsl)
2637 ("libgcrypt" ,libgcrypt)
2638 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2639 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2640 (synopsis "GObject bindings for \"Secret Service\" API")
2642 "Libsecret is a GObject based library for storing and retrieving passwords
2643 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2644 (license license:lgpl2.1+)))
2646 (define-public five-or-more
2648 (name "five-or-more")
2653 (uri (string-append "mirror://gnome/sources/" name "/"
2654 (version-major+minor version) "/"
2655 name "-" version ".tar.xz"))
2658 "0wkp08xsqr9p9cgdfghi424diajs016b2h4bsfcr5y9xc3rgf93w"))))
2659 (build-system glib-or-gtk-build-system)
2661 `(("pkg-config" ,pkg-config)
2662 ("desktop-file-utils" ,desktop-file-utils)
2663 ("intltool" ,intltool)
2664 ("itstool" ,itstool)
2665 ("xmllint" ,libxml2)))
2668 ("librsvg" ,librsvg)))
2669 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2670 (synopsis "Logic puzzle game")
2671 (description "Five or More is a game where you try to align
2672 five or more objects of the same color and shape causing them to disappear.
2673 On every turn more objects will appear, until the board is full.
2674 Try to last as long as possible.")
2675 (license license:gpl2+)))
2677 (define-public gnome-mines
2679 (name "gnome-mines")
2684 (uri (string-append "mirror://gnome/sources/" name "/"
2685 (version-major+minor version) "/"
2686 name "-" version ".tar.xz"))
2689 "1sfxdvns8nppdagnhpd9vd7n77sk5rdji3kdqnc78c2p1npiw11b"))))
2690 (build-system glib-or-gtk-build-system)
2693 (modify-phases %standard-phases
2694 (add-before 'configure 'patch-/bin/true
2696 (substitute* "configure"
2697 (("/bin/true") (which "true"))))))))
2699 `(("pkg-config" ,pkg-config)
2700 ("desktop-file-utils" ,desktop-file-utils)
2701 ("intltool" ,intltool)
2702 ("itstool" ,itstool)
2703 ("xmllint" ,libxml2)))
2706 ("libgnome-games-support" ,libgnome-games-support)
2707 ("librsvg" ,librsvg)))
2708 (home-page "https://wiki.gnome.org/Apps/Mines")
2709 (synopsis "Minesweeper game")
2711 "Mines (previously gnomine) is a puzzle game where you locate mines
2712 floating in an ocean using only your brain and a little bit of luck.")
2713 (license license:gpl2+)))
2715 (define-public gnome-sudoku
2717 (name "gnome-sudoku")
2722 (uri (string-append "mirror://gnome/sources/" name "/"
2723 (version-major+minor version) "/"
2724 name "-" version ".tar.xz"))
2727 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2728 (build-system glib-or-gtk-build-system)
2730 `(("pkg-config" ,pkg-config)
2731 ("desktop-file-utils" ,desktop-file-utils)
2732 ("intltool" ,intltool)
2733 ("itstool" ,itstool)
2734 ("xmllint" ,libxml2)))
2737 ("json-glib" ,json-glib)
2739 ("librsvg" ,librsvg)
2740 ("qqwing" ,qqwing)))
2741 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2742 (synopsis "Japanese logic game")
2744 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2745 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2746 possible while still providing features that make playing difficult Sudoku
2748 (license license:gpl2+)))
2750 (define-public gnome-terminal
2752 (name "gnome-terminal")
2757 (uri (string-append "mirror://gnome/sources/" name "/"
2758 (version-major+minor version) "/"
2759 name "-" version ".tar.xz"))
2762 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2763 (build-system glib-or-gtk-build-system)
2766 (list "--disable-migration" "--disable-search-provider"
2767 "--without-nautilus-extension")
2769 (modify-phases %standard-phases
2770 (add-before 'configure 'patch-/bin/true
2772 (substitute* "configure"
2773 (("/bin/true") (which "true"))))))))
2775 `(("pkg-config" ,pkg-config)
2776 ("desktop-file-utils" ,desktop-file-utils)
2777 ("intltool" ,intltool)
2778 ("itstool" ,itstool)
2779 ("xmllint" ,libxml2)))
2781 `(("dconf" ,dconf)))
2786 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2787 ("util-linux" ,util-linux)
2789 (home-page "https://wiki.gnome.org/Apps/Terminal")
2790 (synopsis "Terminal emulator")
2792 "GNOME Terminal is a terminal emulator application for accessing a
2793 UNIX shell environment which can be used to run programs available on
2796 It supports several profiles, multiple tabs and implements several
2797 keyboard shortcuts.")
2798 (license license:gpl3+)))
2800 (define-public colord
2807 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2808 name "-" version ".tar.xz"))
2811 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2812 (build-system glib-or-gtk-build-system)
2814 '(;; The tests want to run valgrind. Punt for now.
2816 #:configure-flags (list "--localstatedir=/var"
2817 ;; GUSB not packaged yet.
2819 ;; No dep on systemd.
2820 "--disable-systemd-login"
2821 ;; Wants to install to global completion dir;
2823 "--disable-bash-completion"
2824 ;; colord-gtk not packaged yet.
2825 "--disable-session-example"
2826 "--with-daemon-user=colord"
2828 (string-append "--with-udevrulesdir="
2829 (assoc-ref %outputs "out")
2830 "/lib/udev/rules.d"))
2832 (modify-phases %standard-phases
2833 (add-before 'configure 'patch-/bin/true
2835 (substitute* "configure"
2836 (("/bin/true") (which "true")))
2837 (substitute* "src/Makefile.in"
2838 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2839 "if test -w $(DESTDIR)$(localstatedir);")))))))
2841 `(("pkg-config" ,pkg-config)
2842 ("gobject-introspection" ,gobject-introspection)
2843 ("libtool" ,libtool)
2844 ("intltool" ,intltool)))
2846 ;; colord.pc refers to all these.
2851 `(("dbus-glib" ,dbus-glib)
2852 ("libgudev" ,libgudev)
2856 ("sane-backends" ,sane-backends)))
2857 (home-page "https://www.freedesktop.org/software/colord/")
2858 (synopsis "Color management service")
2859 (description "Colord is a system service that makes it easy to manage,
2860 install and generate color profiles to accurately color manage input and
2862 (license license:gpl2+)))
2864 (define-public geoclue
2871 (uri (string-append "https://www.freedesktop.org/software/" name
2872 "/releases/" (version-major+minor version) "/"
2873 name "-" version ".tar.xz"))
2876 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
2877 (patches (search-patches "geoclue-config.patch"))))
2878 (build-system glib-or-gtk-build-system)
2880 '(;; The tests want to run the system bus.
2882 #:configure-flags (list ;; Disable bits requiring ModemManager.
2883 "--disable-3g-source"
2884 "--disable-cdma-source"
2885 "--disable-modem-gps-source"
2886 "--with-dbus-service-user=geoclue")
2888 (modify-phases %standard-phases
2889 (add-before 'configure 'patch-/bin/true
2891 (substitute* "configure"
2892 (("/bin/true") (which "true")))
2895 `(("pkg-config" ,pkg-config)
2896 ("gobject-introspection" ,gobject-introspection)
2897 ("intltool" ,intltool)))
2901 ("json-glib" ,json-glib)
2902 ("libsoup" ,libsoup)))
2903 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
2904 (synopsis "Geolocation service")
2905 (description "Geoclue is a D-Bus service that provides location
2906 information. The primary goal of the Geoclue project is to make creating
2907 location-aware applications as simple as possible, while the secondary goal is
2908 to ensure that no application can access location information without explicit
2909 permission from user.")
2910 (license license:gpl2+)))
2912 (define-public geocode-glib
2914 (name "geocode-glib")
2918 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2919 (version-major+minor version) "/"
2920 name "-" version ".tar.xz"))
2923 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2924 (build-system gnu-build-system)
2926 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2927 ;; work for the builder. Punt.
2930 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2931 ("gobject-introspection" ,gobject-introspection)
2932 ("pkg-config" ,pkg-config)
2933 ("json-glib" ,json-glib)))
2935 ;; geocode-glib-1.0.pc refers to GIO.
2938 `(("libsoup" ,libsoup)))
2939 (home-page "https://github.com/GNOME/geocode-glib/")
2940 (synopsis "Geocoding and reverse-geocoding library")
2942 "geocode-glib is a convenience library for geocoding (finding longitude,
2943 and latitude from an address) and reverse geocoding (finding an address from
2944 coordinates) using the Nominatim service. geocode-glib caches requests for
2945 faster results and to avoid unnecessary server load.")
2946 (license license:lgpl2.0+)))
2948 (define-public upower
2954 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
2955 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
2956 "upower-" version ".tar.xz"))
2959 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
2960 (patches (search-patches "upower-builddir.patch"))))
2961 (build-system glib-or-gtk-build-system)
2963 '( ;; The tests want to contact the system bus, which can't be done in the
2964 ;; build environment. The integration test can run, but the last of
2965 ;; the up-self-tests doesn't. Disable tests for now.
2967 #:configure-flags (list "--localstatedir=/var"
2968 (string-append "--with-udevrulesdir="
2969 (assoc-ref %outputs "out")
2970 "/lib/udev/rules.d"))))
2972 `(("gobject-introspection" ,gobject-introspection)
2973 ("pkg-config" ,pkg-config)
2974 ("intltool" ,intltool)
2978 ("libxslt" ,libxslt) ;for 'xsltproc'
2979 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2980 ("docbook-xsl" ,docbook-xsl)))
2982 `(("dbus-glib" ,dbus-glib)
2983 ("libgudev" ,libgudev)
2984 ("libusb" ,libusb)))
2986 ;; In Requires of upower-glib.pc.
2988 (home-page "https://upower.freedesktop.org/")
2989 (synopsis "System daemon for managing power devices")
2991 "UPower is an abstraction for enumerating power devices,
2992 listening to device events and querying history and statistics. Any
2993 application or service on the system can access the org.freedesktop.UPower
2994 service via the system message bus.")
2995 (license license:gpl2+)))
2997 (define-public libgweather
2999 (name "libgweather")
3003 (uri (string-append "mirror://gnome/sources/" name "/"
3004 (version-major+minor version) "/"
3005 name "-" version ".tar.xz"))
3008 "1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw"))))
3009 (build-system gnu-build-system)
3012 `(,(string-append "--with-zoneinfo-dir="
3013 (assoc-ref %build-inputs "tzdata")
3016 (modify-phases %standard-phases
3017 (add-before 'check 'pre-check
3018 (lambda* (#:key inputs #:allow-other-keys)
3019 (substitute* "data/check-timezones.sh"
3020 (("/usr/share/zoneinfo/zone.tab")
3021 (string-append (assoc-ref inputs "tzdata")
3022 "/share/zoneinfo/zone.tab")))
3028 ;; Install vala bindings into $out.
3029 (string-append "vapidir=" %output
3033 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3034 ("gobject-introspection" ,gobject-introspection)
3035 ("pkg-config" ,pkg-config)
3037 ("intltool" ,intltool)))
3039 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3042 ("gdk-pixbuf" ,gdk-pixbuf)
3043 ("libxml2" ,libxml2)
3044 ("libsoup" ,libsoup)))
3046 `(("tzdata" ,tzdata)
3047 ("geocode-glib" ,geocode-glib)))
3048 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3049 (synopsis "Location, time zone, and weather library for GNOME")
3051 "libgweather is a library to access weather information from online
3052 services for numerous locations.")
3053 (license license:gpl2+)))
3055 (define-public gnome-settings-daemon
3057 (name "gnome-settings-daemon")
3062 (uri (string-append "mirror://gnome/sources/" name "/"
3063 (version-major+minor version) "/"
3064 name "-" version ".tar.xz"))
3067 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
3068 (build-system glib-or-gtk-build-system)
3070 `(;; Color management test can't reach the colord system service.
3073 `(("pkg-config" ,pkg-config)
3074 ("intltool" ,intltool)
3075 ("xsltproc" ,libxslt)
3076 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3077 ("docbook-xml" ,docbook-xml-4.2)
3078 ("docbook-xsl" ,docbook-xsl)))
3080 `(("colord" ,colord)
3081 ("libgudev" ,libgudev)
3084 ("pulseaudio" ,pulseaudio)
3085 ("libcanberra" ,libcanberra)
3087 ("libxtst" ,libxtst)
3089 ("libnotify" ,libnotify)
3090 ("geoclue" ,geoclue)
3091 ("geocode-glib" ,geocode-glib)
3092 ("libgweather" ,libgweather)
3093 ("gnome-desktop" ,gnome-desktop)
3096 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3097 ("libwacom" ,libwacom)
3098 ("librsvg" ,librsvg)
3099 ("xf86-input-wacom" ,xf86-input-wacom)
3100 ("network-manager" ,network-manager)))
3101 (home-page "https://www.gnome.org")
3102 (synopsis "GNOME settings daemon")
3104 "This package contains the daemon responsible for setting the various
3105 parameters of a GNOME session and the applications that run under it. It
3106 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3107 settings, themes, mouse settings, and startup of other daemons.")
3108 (license license:gpl2+)))
3110 (define-public totem-pl-parser
3112 (name "totem-pl-parser")
3116 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3117 (version-major+minor version) "/"
3118 "totem-pl-parser-" version ".tar.xz"))
3121 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3122 (build-system gnu-build-system)
3124 ;; FIXME: Tests require gvfs.
3127 `(("intltool" ,intltool)
3128 ("glib" ,glib "bin")
3129 ("gobject-introspection" ,gobject-introspection)
3130 ("pkg-config" ,pkg-config)))
3134 ("libxml2" ,libxml2)))
3136 `(("libarchive" ,libarchive)
3137 ("libgcrypt" ,libgcrypt)
3139 ("libsoup" ,libsoup)))
3140 (home-page "https://projects.gnome.org/totem")
3141 (synopsis "Library to parse and save media playlists for GNOME")
3142 (description "Totem-pl-parser is a GObjects-based library to parse and save
3143 playlists in a variety of formats.")
3144 (license license:lgpl2.0+)))
3146 (define-public aisleriot
3152 (uri (string-append "mirror://gnome/sources/" name "/"
3153 (version-major+minor version) "/"
3154 name "-" version ".tar.xz"))
3157 "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh"))))
3158 (build-system glib-or-gtk-build-system)
3161 '("--with-platform=gtk-only"
3162 "--with-card-theme-formats=svg")))
3164 `(("desktop-file-utils" ,desktop-file-utils)
3165 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3166 ("intltool" ,intltool)
3167 ("itstool" ,itstool)
3168 ("pkg-config" ,pkg-config)
3169 ("xmllint" ,libxml2)))
3172 ("guile" ,guile-2.2)
3173 ("libcanberra" ,libcanberra)
3174 ("librsvg" ,librsvg)))
3175 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3176 (synopsis "Solitaire card games")
3178 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3179 which are easy to play with the aid of a mouse.")
3180 (license license:gpl3+)))
3182 (define-public devhelp
3188 (uri (string-append "mirror://gnome/sources/" name "/"
3189 (version-major+minor version) "/"
3190 name "-" version ".tar.xz"))
3193 "0f4fmkqzn95zmc2paljma33fkj74qj1m6n23qrc5hfwmgx7p3wkb"))))
3194 (build-system glib-or-gtk-build-system)
3196 `(("intltool" ,intltool)
3197 ("pkg-config" ,pkg-config)))
3199 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3200 ("webkitgtk" ,webkitgtk)))
3201 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3202 (synopsis "API documentation browser for GNOME")
3204 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3205 natively with GTK-Doc (the API reference system developed for GTK+ and used
3206 throughout GNOME for API documentation).")
3207 (license license:gpl2+)))
3216 (uri (string-append "mirror://gnome/sources/" name "/"
3217 (version-major+minor version) "/"
3218 name "-" version ".tar.xz"))
3221 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3222 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3223 ;; cogl, corresponding changes may be appropriate in mutter as well.
3224 (build-system gnu-build-system)
3226 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3227 ("gobject-introspection" ,gobject-introspection)
3228 ;;("xorg-server" ,xorg-server) ; for the test suite
3229 ("pkg-config" ,pkg-config)))
3232 ("gdk-pixbuf" ,gdk-pixbuf)
3234 ("libxext" ,libxext)
3235 ("libxfixes" ,libxfixes)
3236 ("libxdamage" ,libxdamage)
3237 ("libxcomposite" ,libxcomposite)
3238 ("libxrandr" ,libxrandr)))
3243 ("gstreamer" ,gstreamer)
3244 ("gst-plugins-base" ,gst-plugins-base)
3245 ("wayland" ,wayland)))
3247 `(#:configure-flags (list "--enable-cogl-gst"
3248 "--enable-wayland-egl-platform"
3249 "--enable-wayland-egl-server"
3251 ;; Arrange to pass an absolute file name to
3252 ;; dlopen for libGL.so.
3253 (string-append "--with-gl-libname="
3254 (assoc-ref %build-inputs "mesa")
3256 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3257 ;; _FontTransOpen: Unable to Parse address
3258 ;; ${prefix}/share/fonts/X11/misc/
3262 (modify-phases %standard-phases
3263 (add-before 'check 'start-xorg-server
3264 (lambda* (#:key inputs #:allow-other-keys)
3265 ;; The test suite requires a running X server.
3266 (system (format #f "~a/bin/Xvfb :1 &"
3267 (assoc-ref inputs "xorg-server")))
3268 (setenv "DISPLAY" ":1")
3270 (home-page "http://www.cogl3d.org")
3271 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3273 "Cogl is a small library for using 3D graphics hardware to draw pretty
3274 pictures. The API departs from the flat state machine style of OpenGL and is
3275 designed to make it easy to write orthogonal components that can render
3276 without stepping on each others toes.")
3277 (license (list license:expat ; most of the code
3278 license:bsd-3 ; cogl/cogl-point-in-poly.c
3279 license:sgifreeb2.0 ; cogl-path/tesselator/
3280 license:asl2.0)))) ; examples/android/
3282 (define-public clutter
3289 (uri (string-append "mirror://gnome/sources/" name "/"
3290 (version-major+minor version) "/"
3291 name "-" version ".tar.xz"))
3294 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3295 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3296 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3297 (build-system gnu-build-system)
3299 "doc")) ;9 MiB of gtk-doc HTML pages
3301 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3302 ("gobject-introspection" ,gobject-introspection)
3303 ("pkg-config" ,pkg-config)
3304 ("xsltproc" ,libxslt)))
3310 ("json-glib" ,json-glib)
3312 ("libxcomposite" ,libxcomposite)
3313 ("libxdamage" ,libxdamage)
3314 ("libxext" ,libxext)
3315 ("xinput" ,xinput)))
3317 `(("libxkbcommon" ,libxkbcommon)
3320 `(#:configure-flags (list "--enable-x11-backend=yes"
3322 ;; This produces share/doc/{clutter,cally}.
3323 (string-append "--with-html-dir="
3324 (assoc-ref %outputs "doc")
3326 ;; XXX FIXME: Get test suite working. It would probably fail in the
3327 ;; same way the cogl tests fail, since clutter is based on cogl.
3329 (home-page "http://www.clutter-project.org")
3330 (synopsis "Open GL based interactive canvas library")
3332 "Clutter is an Open GL based interactive canvas library, designed for
3333 creating fast, mainly 2D single window applications such as media box UIs,
3334 presentations, kiosk style applications and so on.")
3335 (license license:lgpl2.0+)))
3337 (define-public clutter-gtk
3339 (name "clutter-gtk")
3344 (uri (string-append "mirror://gnome/sources/" name "/"
3345 (version-major+minor version) "/"
3346 name "-" version ".tar.xz"))
3349 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3350 (build-system gnu-build-system)
3352 `(("pkg-config" ,pkg-config)
3353 ("gobject-introspection" ,gobject-introspection)))
3355 ;; clutter-gtk.pc refers to all these.
3356 `(("clutter" ,clutter)
3358 (home-page "http://www.clutter-project.org")
3359 (synopsis "Open GL based interactive canvas library GTK+ widget")
3361 "Clutter is an Open GL based interactive canvas library, designed for
3362 creating fast, mainly 2D single window applications such as media box UIs,
3363 presentations, kiosk style applications and so on.")
3364 (license license:lgpl2.0+)))
3366 (define-public clutter-gst
3368 (name "clutter-gst")
3373 (uri (string-append "mirror://gnome/sources/" name "/"
3374 (version-major+minor version) "/"
3375 name "-" version ".tar.xz"))
3378 "0fnblqm4igdx4rn3681bp1gm1y2i00if3iblhlm0zv6ck9nqlqfq"))))
3379 (build-system gnu-build-system)
3381 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3382 ("pkg-config" ,pkg-config)
3383 ("gobject-introspection" ,gobject-introspection)))
3385 `(("clutter" ,clutter)
3386 ("gstreamer" ,gstreamer)
3387 ("gst-plugins-base" ,gst-plugins-base)))
3388 (home-page "http://www.clutter-project.org")
3389 (synopsis "Integration library for using GStreamer with Clutter")
3391 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3392 It provides a GStreamer sink to upload frames to GL and an actor that
3393 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3394 GL based interactive canvas library.")
3395 (license license:lgpl2.0+)))
3397 (define-public libchamplain
3399 (name "libchamplain")
3404 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3408 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3409 (build-system gnu-build-system)
3410 (arguments '(#:configure-flags '("--enable-vala")))
3412 `(("gobject-introspection" ,gobject-introspection)
3413 ("pkg-config" ,pkg-config)
3416 `(("libsoup" ,libsoup)
3418 ("clutter" ,clutter)
3419 ("clutter-gtk" ,clutter-gtk)
3420 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3424 (home-page "https://projects.gnome.org/libchamplain/")
3425 (synopsis "C library providing a ClutterActor to display maps")
3427 "libchamplain is a C library providing a ClutterActor to display maps.
3428 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3429 and Perl bindings are also available. It supports numerous free map sources
3430 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3431 (license license:lgpl2.1+)))
3440 (uri (string-append "mirror://gnome/sources/" name "/"
3441 (version-major+minor version) "/"
3442 name "-" version ".tar.xz"))
3445 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3446 (build-system gnu-build-system)
3448 `(("intltool" ,intltool)
3449 ("pkg-config" ,pkg-config)
3450 ("gobject-introspection" ,gobject-introspection)))
3453 ("gdk-pixbuf" ,gdk-pixbuf)
3454 ("sqlite" ,sqlite)))
3455 ;; XXX TODO: Figure out how to run the test suite.
3456 (arguments `(#:tests? #f))
3457 (home-page "https://wiki.gnome.org/Projects/Gom")
3458 (synopsis "Object mapper from GObjects to SQLite")
3460 "Gom provides an object mapper from GObjects to SQLite. It helps you
3461 write applications that need to store structured data as well as make complex
3462 queries upon that data.")
3463 (license license:lgpl2.1+)))
3465 (define-public libgnome-games-support
3467 (name "libgnome-games-support")
3471 (uri (string-append "mirror://gnome/sources/" name "/"
3472 (version-major+minor version) "/"
3473 name "-" version ".tar.xz"))
3476 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
3477 (build-system gnu-build-system)
3480 (modify-phases %standard-phases
3481 (add-before 'check 'pre-check
3483 ;; Tests require a writable HOME.
3484 (setenv "HOME" (getcwd))
3487 `(("intltool" ,intltool)
3488 ("pkg-config" ,pkg-config)
3491 ;; Required by libgnome-games-support-1.0.pc
3493 ("libgee" ,libgee)))
3494 (home-page "https://www.gnome.org/")
3495 (synopsis "Useful functionality shared among GNOME games")
3497 "libgnome-games-support is a small library intended for internal use by
3498 GNOME Games, but it may be used by others.")
3499 (license license:lgpl3+)))
3501 (define-public gnome-klotski
3503 (name "gnome-klotski")
3507 (uri (string-append "mirror://gnome/sources/" name "/"
3508 (version-major+minor version) "/"
3509 name "-" version ".tar.xz"))
3512 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3513 (build-system glib-or-gtk-build-system)
3515 `(("desktop-file-utils" ,desktop-file-utils)
3516 ("intltool" ,intltool)
3517 ("itstool" ,itstool)
3518 ("pkg-config" ,pkg-config)
3519 ("xmllint" ,libxml2)))
3522 ("libgnome-games-support" ,libgnome-games-support)
3523 ("librsvg" ,librsvg)))
3524 (home-page "https://wiki.gnome.org/Apps/Klotski")
3525 (synopsis "Sliding block puzzles")
3527 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3528 the patterned block to the area bordered by green markers. To do so, you will
3529 need to slide other blocks out of the way. Complete each puzzle in as few moves
3531 (license license:gpl2+)))
3533 (define-public grilo
3540 (uri (string-append "mirror://gnome/sources/" name "/"
3541 (version-major+minor version) "/"
3542 name "-" version ".tar.xz"))
3545 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3546 (build-system gnu-build-system)
3548 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3549 ("intltool" ,intltool)
3550 ("pkg-config" ,pkg-config)
3551 ("gobject-introspection" ,gobject-introspection)))
3553 `(("cyrus-sasl" ,cyrus-sasl)
3556 ("libxml2" ,libxml2)
3557 ("liboauth" ,liboauth)
3558 ("libsoup" ,libsoup)
3560 ("totem-pl-parser" ,totem-pl-parser)))
3563 (modify-phases %standard-phases
3564 (add-after 'unpack 'fix-introspection-install-dir
3565 (lambda* (#:key outputs #:allow-other-keys)
3566 (let ((out (assoc-ref outputs "out")))
3567 (substitute* '("src/Makefile.in"
3568 "libs/pls/Makefile.in"
3569 "libs/net/Makefile.in")
3570 (("@INTROSPECTION_GIRDIR@")
3571 (string-append out "/share/gir-1.0/"))
3572 (("@INTROSPECTION_TYPELIBDIR@")
3573 (string-append out "/lib/girepository-1.0/")))
3575 (native-search-paths
3576 (list (search-path-specification
3577 (variable "GRL_PLUGIN_PATH")
3578 (files (list (string-append "lib/grilo-"
3579 (version-major+minor version)))))))
3580 (home-page "https://live.gnome.org/Grilo")
3581 (synopsis "Framework for discovering and browsing media")
3583 "Grilo is a framework focused on making media discovery and browsing easy
3584 for application developers.")
3585 (license license:lgpl2.1+)))
3587 (define-public grilo-plugins
3589 (name "grilo-plugins")
3594 (uri (string-append "mirror://gnome/sources/" name "/"
3595 (version-major+minor version) "/"
3596 name "-" version ".tar.xz"))
3599 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3600 (build-system gnu-build-system)
3602 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3603 ("intltool" ,intltool)
3604 ("itstool" ,itstool)
3605 ("pkg-config" ,pkg-config)))
3608 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3610 ("libxml2" ,libxml2)
3613 ;; XXX TODO: Add oauth
3614 ;; XXX TODO: Add goa
3615 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3616 ;; XXX TODO: Add lua (needs help finding it)
3617 ("json-glib" ,json-glib)
3620 ("libsoup" ,libsoup)
3621 ("libarchive" ,libarchive)
3622 ("totem-pl-parser" ,totem-pl-parser)))
3624 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3627 ,(version-major+minor version)))
3628 ;; XXX FIXME: Try to get the test suite working. It appears to require
3629 ;; a working system dbus. Inside the build container, all tests fail
3630 ;; with: "assertion failed: (source)". Outside of the build container,
3631 ;; most tests succeed.
3633 (home-page "https://live.gnome.org/Grilo")
3634 (synopsis "Plugins for the Grilo media discovery library")
3636 "Grilo is a framework focused on making media discovery and browsing easy
3637 for application developers.")
3638 (license license:lgpl2.1+)))
3640 (define-public totem
3647 (uri (string-append "mirror://gnome/sources/" name "/"
3648 (version-major+minor version) "/"
3649 name "-" version ".tar.xz"))
3652 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3653 (patches (search-patches "totem-meson-easy-codec.patch"))))
3654 (build-system meson-build-system)
3656 `(("pkg-config" ,pkg-config)
3657 ("desktop-file-utils" ,desktop-file-utils)
3658 ("gobject-introspection" ,gobject-introspection)
3659 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3660 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3661 ("intltool" ,intltool)
3662 ("itstool" ,itstool)
3663 ("xmllint" ,libxml2)))
3665 `(("dconf" ,dconf)))
3668 ("gdk-pixbuf" ,gdk-pixbuf)
3671 ("dbus-glib" ,dbus-glib)
3672 ("clutter" ,clutter)
3673 ("clutter-gtk" ,clutter-gtk)
3674 ("clutter-gst" ,clutter-gst)
3675 ("xorgproto" ,xorgproto)
3676 ("libxxf86vm" ,libxxf86vm)
3677 ("libxtst" ,libxtst)
3678 ("libxrandr" ,libxrandr)
3679 ("libxml2" ,libxml2)
3680 ("libsoup" ,libsoup)
3681 ("libpeas" ,libpeas)
3682 ("librsvg" ,librsvg)
3684 ("gnome-desktop" ,gnome-desktop)
3685 ("gstreamer" ,gstreamer)
3686 ("gst-plugins-base" ,gst-plugins-base)
3687 ("gst-plugins-good" ,gst-plugins-good)
3688 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3689 ("adwaita-icon-theme" ,adwaita-icon-theme)
3690 ;; XXX We use python-2 because libxml2 because itstool (which needs
3691 ;; libxml) currently uses python-2.
3692 ("python" ,python-2)
3693 ("python-pygobject" ,python2-pygobject)
3694 ;; XXX TODO pylint needed for python support
3695 ("totem-pl-parser" ,totem-pl-parser)
3697 ("grilo-plugins" ,grilo-plugins)
3703 ;; Disable parallel builds until
3704 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3705 ;; fixed. Try enabling it when updating this package in case
3706 ;; upstream has fixed it.
3707 #:parallel-build? #f
3709 ;; Disable automatic GStreamer plugin installation via PackageKit and
3711 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3713 ;; Do not build .a files for the plugins, it's
3714 ;; completely useless. This saves 2 MiB.
3715 "--default-library" "shared")
3718 (modify-phases %standard-phases
3720 'install 'disable-cache-generation
3722 (setenv "DESTDIR" "/")
3725 'install 'wrap-totem
3726 (lambda* (#:key inputs outputs #:allow-other-keys)
3727 (let ((out (assoc-ref outputs "out"))
3728 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3729 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3730 (wrap-program (string-append out "/bin/totem")
3731 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3732 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3733 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3734 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3736 (home-page "https://wiki.gnome.org/Apps/Videos")
3737 (synopsis "Simple media player for GNOME based on GStreamer")
3738 (description "Totem is a simple yet featureful media player for GNOME
3739 which can read a large number of file formats.")
3740 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3741 ;; to be used and distributed together with GStreamer and Totem. See
3742 ;; file://COPYING in the source distribution for details.
3743 (license license:gpl2+)))
3745 (define-public rhythmbox
3751 (uri (string-append "mirror://gnome/sources/" name "/"
3752 (version-major+minor version) "/"
3753 name "-" version ".tar.xz"))
3756 ;; fmradio: Fix build with GStreamer master
3760 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3761 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3764 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
3767 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3768 (build-system glib-or-gtk-build-system)
3771 (list "--enable-lirc"
3778 (modify-phases %standard-phases
3780 'install 'wrap-rhythmbox
3781 (lambda* (#:key inputs outputs #:allow-other-keys)
3782 (let ((out (assoc-ref outputs "out"))
3783 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3784 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3785 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3786 (python-path (getenv "PYTHONPATH")))
3787 (wrap-program (string-append out "/bin/rhythmbox")
3788 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3789 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3790 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3791 `("PYTHONPATH" ":" prefix (,python-path))))
3794 `(("dconf" ,dconf)))
3796 `(("itstool" ,itstool)
3797 ("intltool" ,intltool)
3798 ("glib" ,glib "bin")
3799 ("gobject-introspection" ,gobject-introspection)
3800 ("desktop-file-utils" ,desktop-file-utils)
3801 ("pkg-config" ,pkg-config)
3802 ("xmllint" ,libxml2)))
3804 `(("json-glib" ,json-glib)
3806 ("gnome-desktop" ,gnome-desktop)
3808 ("python-pygobject" ,python2-pygobject)
3812 ("adwaita-icon-theme" ,adwaita-icon-theme)
3814 ("grilo-plugins" ,grilo-plugins)
3815 ("gstreamer" ,gstreamer)
3816 ("gst-plugins-base" ,gst-plugins-base)
3817 ("gst-plugins-good" ,gst-plugins-good)
3818 ("totem-pl-parser" ,totem-pl-parser)
3819 ("libgudev" ,libgudev)
3820 ;;("libmtp" ,libmtp) FIXME: Not detected
3821 ("libsecret" ,libsecret)
3822 ("libsoup" ,libsoup)
3823 ("libnotify" ,libnotify)
3824 ("libpeas" ,libpeas)
3826 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3827 ;;("clutter" ,clutter)
3828 ;;("clutter-gtk" ,clutter-gtk)
3829 ;;("clutter-gst" ,clutter-gst)
3830 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3837 ("brasero" ,brasero)))
3838 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3839 (synopsis "Music player for GNOME")
3840 (description "Rhythmbox is a music playing application for GNOME. It
3841 supports playlists, song ratings, and any codecs installed through gstreamer.")
3842 (license license:gpl2+)))
3850 (uri (string-append "mirror://gnome/sources/" name "/"
3851 (version-major+minor version) "/"
3852 name "-" version ".tar.xz"))
3855 "1b87i31mxzayd3knn9zg00y816d093qrbyx556w8a03xz96ksgmm"))))
3856 (build-system glib-or-gtk-build-system)
3859 (modify-phases %standard-phases
3862 (lambda* (#:key outputs #:allow-other-keys)
3863 (let ((out (assoc-ref outputs "out"))
3864 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3865 (wrap-program (string-append out "/bin/eog")
3866 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3869 `(("dconf" ,dconf)))
3871 `(("intltool" ,intltool)
3872 ("itstool" ,itstool)
3873 ("glib" ,glib "bin")
3874 ("gobject-introspection" ,gobject-introspection)
3875 ("pkg-config" ,pkg-config)
3876 ("xmllint" ,libxml2)))
3878 `(("gnome-desktop" ,gnome-desktop)
3879 ("shared-mime-info" ,shared-mime-info)
3880 ("adwaita-icon-theme" ,adwaita-icon-theme)
3883 ("libexif" ,libexif)
3884 ("libpeas" ,libpeas)
3885 ("libjpeg" ,libjpeg)
3886 ("librsvg" ,librsvg)
3887 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3889 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3890 (synopsis "GNOME image viewer")
3891 (description "Eye of GNOME is the GNOME image viewer. It
3892 supports image conversion, rotation, and slideshows.")
3893 (license license:gpl2+)))
3895 (define-public eog-plugins
3896 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3897 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3898 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3899 ;; 'XDG_DATA_DIRS' appropriately set.
3901 (name "eog-plugins")
3905 (uri (string-append "mirror://gnome/sources/" name "/"
3906 (version-major+minor version) "/"
3907 name "-" version ".tar.xz"))
3910 "1w8zw7kwfvlwlyb1k1inqdvbwnzq959sqawlmnwfb8ykn98hbk8y"))))
3911 (build-system gnu-build-system)
3912 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3913 (synopsis "Extensions for the Eye of GNOME image viewer")
3915 `(("pkg-config" ,pkg-config)
3916 ("gettext" ,gnu-gettext)))
3921 ("libpeas" ,libpeas)
3922 ("libexif" ,libexif)
3923 ("libchamplain" ,libchamplain)))
3925 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3929 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3930 @item @dfn{Map}, which displays a map of where the picture was taken on the
3932 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3935 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3936 ;; long suspicious byte stream that goes to a
3937 ;; ".gresource.eog_postasa_plugin" ELF section.
3938 (license license:gpl2+)))
3940 (define-public libgudev
3946 (uri (string-append "mirror://gnome/sources/" name "/"
3947 version "/" name "-" version ".tar.xz"))
3950 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3951 (build-system gnu-build-system)
3953 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3954 ("gobject-introspection" ,gobject-introspection)
3955 ("pkg-config" ,pkg-config)))
3957 `(("glib" ,glib))) ; required by gudev-1.0.pc
3960 (home-page "https://wiki.gnome.org/Projects/libgudev")
3961 (synopsis "GObject bindings for libudev")
3963 "This library provides GObject bindings for libudev. It was originally
3964 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3965 (license license:lgpl2.1+)))
3973 (uri (string-append "mirror://gnome/sources/" name "/"
3974 (version-major+minor version) "/"
3975 name "-" version ".tar.xz"))
3978 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3979 (build-system gnu-build-system)
3981 '(#:tests? #f)) ; XXX: requiring `pidof'
3983 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3984 ("intltool" ,intltool)
3985 ("pkg-config" ,pkg-config)
3986 ("xsltproc" ,libxslt)))
3989 ("docbook-xml" ,docbook-xml-4.2)
3990 ("docbook-xsl" ,docbook-xsl)
3995 ("libarchive" ,libarchive)
3996 ("libbluray" ,libbluray)
3998 ("libcdio-paranoia" ,libcdio-paranoia)
3999 ("libgcrypt" ,libgcrypt)
4000 ("libgphoto2" ,libgphoto2)
4001 ("libgudev" ,libgudev)
4003 ("libsecret" ,libsecret)
4004 ("libsmbclient" ,samba)
4005 ("libsoup" ,libsoup)
4006 ("libxml2" ,libxml2)
4007 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4009 ("udisks" ,udisks)))
4010 (home-page "https://wiki.gnome.org/gvfs/")
4011 (synopsis "Userspace virtual file system for GIO")
4013 "GVFS is a userspace virtual file system designed to work with the I/O
4014 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4015 to all applications using the GIO API. It also supports exposing the GVFS
4016 mounts to non-GIO applications using FUSE.
4018 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4020 (license license:lgpl2.0+)))
4028 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4032 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4033 (build-system meson-build-system)
4035 `(("gobject-introspection" ,gobject-introspection)
4036 ("pkg-config" ,pkg-config)
4038 ("gtk-doc" ,gtk-doc)))
4040 ;; Both of these are required by gusb.pc.
4042 ("libusb" ,libusb)))
4044 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4045 (home-page "https://github.com/hughsie/libgusb")
4046 (synopsis "GLib binding for libusb1")
4048 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4049 asynchronous control, bulk and interrupt transfers with proper cancellation
4050 and integration into a mainloop. This makes it easy to integrate low level
4051 USB transfers with your high-level application or system daemon.")
4052 (license license:lgpl2.1+)))
4054 (define-public simple-scan
4056 (name "simple-scan")
4060 (uri (string-append "https://launchpad.net/simple-scan/"
4061 (version-major+minor version) "/"
4062 version "/+download/simple-scan-"
4066 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4067 (build-system glib-or-gtk-build-system)
4072 ("gdk-pixbuf" ,gdk-pixbuf)
4074 ("libsane" ,sane-backends)))
4076 `(("gettext" ,gettext-minimal)
4077 ("itstool" ,itstool)
4079 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4080 ("pkg-config" ,pkg-config)
4082 ("xmllint" ,libxml2)))
4084 '(#:configure-flags '("--disable-packagekit")
4086 (modify-phases %standard-phases
4087 (add-after 'unpack 'clean
4089 ;; Remove a left-over reference to PackageKit.
4091 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4093 ;; There are some generated C files erroneously
4094 ;; included in the source distribution, and this
4095 ;; one breaks the build by referring to a
4096 ;; non-existent header (packagekit.h)
4097 (delete-file "src/ui.c"))))))
4098 (home-page "https://launchpad.net/simple-scan")
4099 (synopsis "Document and image scanner")
4100 (description "Simple Scan is an easy-to-use application, designed to let
4101 users connect their scanner and quickly have the image/document in an
4102 appropriate format. Simple Scan is basically a frontend for SANE - which is
4103 the same backend as XSANE uses. This means that all existing scanners will
4104 work and the interface is well tested.")
4105 (license license:gpl3+)))
4107 (define-public eolie
4113 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4114 "uploads/020f3f686e2b938731752a1d9f5bfa7e/"
4115 "eolie-" version ".tar.xz"))
4118 "0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42"))))
4119 (build-system meson-build-system)
4123 (modify-phases %standard-phases
4124 (add-after 'wrap 'wrap-more
4125 (lambda* (#:key inputs outputs #:allow-other-keys)
4126 (let* ((out (assoc-ref outputs "out"))
4127 ;; These libraries must be on LD_LIBRARY_PATH.
4128 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4129 "atk" "gtk+" "gsettings-desktop-schemas"
4130 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4131 "gobject-introspection"))
4134 (string-append (assoc-ref inputs lib) "/lib"))
4137 (wrap-program (string-append out "/bin/eolie")
4138 `("LD_LIBRARY_PATH" ":" prefix (,path))
4139 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4140 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4143 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4144 ("intltool" ,intltool)
4145 ("itstool" ,itstool)
4146 ("pkg-config" ,pkg-config)
4148 ("glib:bin" ,glib "bin")
4149 ("gtk+" ,gtk+ "bin")))
4151 `(("gobject-introspection" ,gobject-introspection)
4152 ("glib-networking" ,glib-networking)
4155 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4156 ("python" ,python-wrapper)
4157 ("python-dateutil" ,python-dateutil)
4158 ("python-pyfxa" ,python-pyfxa)
4159 ("python-pygobject" ,python-pygobject)
4160 ("python-pycairo" ,python-pycairo)
4161 ("python-pycrypto" ,python-pycrypto)
4162 ("libsecret" ,libsecret)
4163 ("gtkspell3" ,gtkspell3)
4164 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4165 ("webkitgtk" ,webkitgtk-2.22)))
4166 (home-page "https://wiki.gnome.org/Apps/Eolie")
4167 (synopsis "Web browser for GNOME")
4169 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4170 a secret password store, an adblocker, and a modern UI.")
4171 (license license:gpl3+)))
4173 (define-public epiphany
4176 (version "3.28.3.1")
4179 (uri (string-append "mirror://gnome/sources/" name "/"
4180 (version-major+minor version) "/"
4181 name "-" version ".tar.xz"))
4184 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4186 (build-system meson-build-system)
4188 ;; FIXME: tests run under Xvfb, but fail with:
4189 ;; /src/bookmarks/ephy-bookmarks/create:
4190 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4196 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4197 (list (string-append "-Dc_link_args=-Wl,-rpath="
4198 (assoc-ref %outputs "out") "/lib/epiphany"))))
4200 `(("dconf" ,dconf)))
4202 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4203 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4204 ("glib:bin" ,glib "bin") ; for glib-mkenums
4205 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4206 ("intltool" ,intltool)
4207 ("itstool" ,itstool)
4208 ("pkg-config" ,pkg-config)
4209 ("xmllint" ,libxml2)))
4213 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4214 ("glib-networking" ,glib-networking)
4215 ("gnome-desktop" ,gnome-desktop)
4216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4217 ("json-glib" ,json-glib)
4218 ("iso-codes" ,iso-codes)
4219 ("libnotify" ,libnotify)
4220 ("libsecret" ,libsecret)
4221 ("libxslt" ,libxslt)
4222 ("nettle" ,nettle) ; for hogweed
4224 ("webkitgtk" ,webkitgtk-2.22)))
4225 (home-page "https://wiki.gnome.org/Apps/Web")
4226 (synopsis "GNOME web browser")
4228 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4229 principles are simplicity and standards compliance.")
4230 (license license:gpl2+)))
4232 (define-public d-feet
4238 (uri (string-append "mirror://gnome/sources/" name "/"
4239 (version-major+minor version) "/"
4240 name "-" version ".tar.xz"))
4243 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4244 (build-system glib-or-gtk-build-system)
4246 '(#:out-of-source? #f ; tests need to run in the source directory.
4248 (modify-phases %standard-phases
4252 ;; The test suite requires a running X server.
4253 (system "Xvfb :1 &")
4254 (setenv "DISPLAY" ":1")
4255 ;; Don't fail on missing '/etc/machine-id'.
4256 (setenv "DBUS_FATAL_WARNINGS" "0")
4257 ;; tests.py and window.py don't meet E402:
4258 ;; E402 module level import not at top of file
4259 (substitute* "src/tests/Makefile"
4260 (("--ignore=E123") "--ignore=E123,E402"))
4263 'install 'wrap-program
4264 (lambda* (#:key outputs #:allow-other-keys)
4265 (let ((prog (string-append (assoc-ref outputs "out")
4268 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4269 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4272 `(("intltool" ,intltool)
4273 ("itstool" ,itstool)
4274 ("pkg-config" ,pkg-config)
4275 ("python-pep8" ,python-pep8)
4276 ("xmllint" ,libxml2)
4277 ("xorg-server" ,xorg-server)))
4279 `(("gobject-introspection" ,gobject-introspection)
4281 ("python" ,python-wrapper)
4282 ("python-pygobject" ,python-pygobject)))
4283 (home-page "https://wiki.gnome.org/Apps/DFeet")
4284 (synopsis "D-Bus debugger")
4286 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4287 of running programs and invoke methods on those interfaces.")
4288 (license license:gpl2+)))
4290 (define-public yelp-xsl
4296 (uri (string-append "mirror://gnome/sources/" name "/"
4297 (version-major+minor version) "/"
4298 name "-" version ".tar.xz"))
4301 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4302 (build-system gnu-build-system)
4304 `(("intltool" ,intltool)
4305 ("itstool" ,itstool)
4306 ("xmllint" ,libxml2)))
4307 (home-page "https://wiki.gnome.org/Apps/Yelp")
4308 (synopsis "XSL stylesheets for Yelp")
4310 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4311 to format Docbook and Mallard documents.")
4312 (license license:gpl2+)))
4320 (uri (string-append "mirror://gnome/sources/" name "/"
4321 (version-major+minor version) "/"
4322 name "-" version ".tar.xz"))
4325 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4326 (build-system glib-or-gtk-build-system)
4328 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4329 ("intltool" ,intltool)
4330 ("itstool" ,itstool)
4331 ("pkg-config" ,pkg-config)))
4333 `(("dconf" ,dconf)))
4335 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4336 ("libxslt" ,libxslt)
4338 ("webkitgtk" ,webkitgtk)
4339 ("yelp-xsl" ,yelp-xsl)))
4340 (home-page "https://wiki.gnome.org/Apps/Yelp")
4341 (synopsis "GNOME help browser")
4343 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4344 man, info, and HTML documents. It can locate documents according to the
4345 freedesktop.org help system specification.")
4346 (license license:gpl2+)))
4348 (define-public yelp-tools
4354 (uri (string-append "mirror://gnome/sources/" name "/"
4355 (version-major+minor version) "/"
4356 name "-" version ".tar.xz"))
4359 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4360 (build-system gnu-build-system)
4362 `(("pkg-config" ,pkg-config)))
4364 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4365 `(("itstool" ,itstool)
4366 ("xmllint" ,libxml2)
4367 ("xsltproc" ,libxslt)))
4369 `(("yelp-xsl" ,yelp-xsl)))
4370 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4371 (synopsis "Yelp documentation tools")
4373 "Yelp-tools is a collection of scripts and build utilities to help create,
4374 manage, and publish documentation for Yelp and the web. Most of the heavy
4375 lifting is done by packages like yelp-xsl and itstool. This package just
4376 wraps things up in a developer-friendly way.")
4377 (license license:gpl2+)))
4379 (define-public libgee
4385 (uri (string-append "mirror://gnome/sources/" name "/"
4386 (version-major+minor version) "/"
4387 name "-" version ".tar.xz"))
4390 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4391 (build-system gnu-build-system)
4394 (modify-phases %standard-phases
4395 (add-after 'unpack 'fix-introspection-install-dir
4396 (lambda* (#:key outputs #:allow-other-keys)
4397 (let ((out (assoc-ref outputs "out")))
4398 (substitute* "gee/Makefile.in"
4399 (("@INTROSPECTION_GIRDIR@")
4400 (string-append out "/share/gir-1.0/"))
4401 (("@INTROSPECTION_TYPELIBDIR@")
4402 (string-append out "/lib/girepository-1.0/")))))))))
4404 `(("glib" ,glib "bin")
4405 ("pkg-config" ,pkg-config)))
4408 ("gobject-introspection" ,gobject-introspection)))
4409 (home-page "https://wiki.gnome.org/Projects/Libgee")
4410 (synopsis "GObject collection library")
4412 "Libgee is a utility library providing GObject-based interfaces and
4413 classes for commonly used data structures.")
4414 (license license:lgpl2.1+)))
4416 (define-public gexiv2
4422 (uri (string-append "mirror://gnome/sources/" name "/"
4423 (version-major+minor version) "/"
4424 name "-" version ".tar.xz"))
4427 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4428 (build-system meson-build-system)
4430 `(("glib" ,glib "bin")
4431 ("pkg-config" ,pkg-config)))
4433 ;; Listed in "Requires" section of gexiv2.pc
4434 `(("exiv2" ,exiv2)))
4437 ("gobject-introspection" ,gobject-introspection)))
4438 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4439 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4441 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4442 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4443 metadata in photo and video files of various formats.")
4444 (license license:gpl2+)))
4446 (define-public shotwell
4452 (uri (string-append "mirror://gnome/sources/" name "/"
4453 (version-major+minor version) "/"
4454 name "-" version ".tar.xz"))
4457 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4458 (build-system glib-or-gtk-build-system)
4460 `(("dconf" ,dconf)))
4462 `(("pkg-config" ,pkg-config)
4463 ("itstool" ,itstool)
4464 ("gettext" ,gettext-minimal)
4465 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4466 ("itstool" ,itstool)
4469 `(("glib:bin" ,glib "bin")
4470 ("gstreamer" ,gstreamer)
4471 ("gst-plugins-base" ,gst-plugins-base)
4472 ("libgdata" ,libgdata)
4476 ("json-glib" ,json-glib)
4477 ("webkitgtk" ,webkitgtk)
4479 ("libsoup" ,libsoup)
4480 ("libxml2" ,libxml2)
4481 ("libgudev" ,libgudev)
4482 ("libgphoto2" ,libgphoto2)
4484 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4485 (synopsis "Photo manager for GNOME 3")
4487 "Shotwell is a digital photo manager designed for the GNOME desktop
4488 environment. It allows you to import photos from disk or camera, organize
4489 them by keywords and events, view them in full-window or fullscreen mode, and
4490 share them with others via social networking and more.")
4491 (license license:lgpl2.1+)))
4493 (define-public file-roller
4495 (name "file-roller")
4499 (uri (string-append "mirror://gnome/sources/" name "/"
4500 (version-major+minor version) "/"
4501 name "-" version ".tar.xz"))
4504 "19d8pc5z2xzhnicgaysxmwx3ghwzl4cw8kygd6nsw69g3j77nrry"))))
4505 (build-system glib-or-gtk-build-system)
4508 (modify-phases %standard-phases
4509 (add-before 'install 'skip-gtk-update-icon-cache
4511 ;; Don't create 'icon-theme.cache'
4512 (substitute* (find-files "data" "^Makefile$")
4513 (("gtk-update-icon-cache") (which "true")))
4516 `(("intltool" ,intltool)
4517 ("pkg-config" ,pkg-config)))
4518 ;; TODO: Add libnautilus.
4521 ("gdk-pixbuf" ,gdk-pixbuf)
4522 ("json-glib" ,json-glib)
4523 ("libarchive" ,libarchive)
4524 ("libnotify" ,libnotify)
4526 ("itstool" ,itstool)
4527 ("libxml2" ,libxml2)))
4528 (synopsis "Graphical archive manager for GNOME")
4529 (description "File Roller is an archive manager for the GNOME desktop
4530 environment that allows users to view, unpack, and create compressed archives
4531 such as gzip tarballs.")
4532 (home-page "http://fileroller.sourceforge.net/")
4533 (license license:gpl2+)))
4535 (define-public gnome-session
4537 (name "gnome-session")
4541 (uri (string-append "mirror://gnome/sources/" name "/"
4542 (version-major+minor version) "/"
4543 name "-" version ".tar.xz"))
4546 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4549 (modify-phases %standard-phases
4550 (add-before 'configure 'pre-configure
4551 (lambda* (#:key outputs #:allow-other-keys)
4552 ;; Use elogind instead of systemd.
4553 (substitute* "configure"
4554 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4556 (("systemd") "elogind"))
4557 (substitute* "gnome-session/gsm-systemd.c"
4558 (("#include <systemd/sd-login.h>")
4559 "#include <elogind/sd-login.h>"))
4560 ;; Remove uses of the systemd journal.
4561 (substitute* "gnome-session/main.c"
4562 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4563 (substitute* "gnome-session/gsm-manager.c"
4564 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4565 (substitute* "gnome-session/gsm-autostart-app.c"
4566 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4568 (add-after 'install 'wrap-gnome-session
4569 (lambda* (#:key inputs outputs #:allow-other-keys)
4570 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4571 (let ((glib (assoc-ref inputs "glib:bin"))
4572 (out (assoc-ref outputs "out")))
4573 (wrap-program (string-append out "/bin/gnome-session")
4574 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4576 (add-after 'install 'disable-hardware-acceleration-check
4577 (lambda* (#:key outputs #:allow-other-keys)
4578 ;; Do not abort if hardware acceleration is missing. This allows
4579 ;; GNOME to run in QEMU and on low-end devices.
4580 (let ((out (assoc-ref outputs "out")))
4581 (substitute* (string-append out
4582 "/share/xsessions/gnome.desktop")
4584 "gnome-session --disable-acceleration-check"))
4588 '("--enable-elogind")))
4589 (build-system glib-or-gtk-build-system)
4591 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4592 ("pkg-config" ,pkg-config)
4593 ("intltool" ,intltool)
4594 ("xsltproc" ,libxslt)))
4596 `(("elogind" ,elogind)
4597 ("gnome-desktop" ,gnome-desktop)
4598 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4600 ("json-glib" ,json-glib)
4602 ("libxcomposite" ,libxcomposite)
4603 ("libxtst" ,libxtst)
4606 ("xtrans" ,xtrans)))
4607 (synopsis "Session manager for GNOME")
4609 "This package contains the GNOME session manager, as well as a
4610 configuration program to choose applications starting on login.")
4611 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4612 (license license:gpl2+)))
4620 (uri (string-append "mirror://gnome/sources/" name "/"
4621 (version-major+minor version) "/"
4622 name "-" version ".tar.xz"))
4625 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4626 (build-system gnu-build-system)
4629 (modify-phases %standard-phases
4633 ;; The test suite requires a running X server.
4634 (system "Xvfb :1 &")
4635 (setenv "DISPLAY" ":1")
4637 ;; For the missing /etc/machine-id.
4638 (setenv "DBUS_FATAL_WARNINGS" "0")
4640 ;; Our mozjs-38 package does not compile the required Intl API
4641 ;; support for these failing tests.
4642 (substitute* "installed-tests/js/testLocale.js"
4643 ((".*toBeDefined.*") "")
4644 ((".*expect\\(datestr\\).*") ""))
4647 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4648 ("pkg-config" ,pkg-config)
4649 ("xmllint" ,libxml2)
4651 ("dbus-launch" ,dbus)
4652 ("uuidgen" ,util-linux)
4653 ("xvfb" ,xorg-server)))
4655 ;; These are all in the Requires.private field of gjs-1.0.pc.
4657 ("gobject-introspection" ,gobject-introspection)
4658 ("mozjs" ,mozjs-38)))
4661 ("readline" ,readline)))
4662 (synopsis "Javascript bindings for GNOME")
4663 (home-page "https://live.gnome.org/Gjs")
4665 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4666 javascript engine and the GObject introspection framework.")
4667 (license license:gpl2+)))
4669 (define-public gedit
4675 (uri (string-append "mirror://gnome/sources/" name "/"
4676 (version-major+minor version) "/"
4677 name "-" version ".tar.xz"))
4680 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4681 (build-system glib-or-gtk-build-system)
4684 (modify-phases %standard-phases
4686 'install 'wrap-gedit
4687 (lambda* (#:key inputs outputs #:allow-other-keys)
4688 (let ((out (assoc-ref outputs "out"))
4689 (gtksourceview (assoc-ref inputs "gtksourceview"))
4690 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4691 (python-path (getenv "PYTHONPATH")))
4692 (wrap-program (string-append out "/bin/gedit")
4694 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4695 `("PYTHONPATH" ":" prefix (,python-path))
4696 ;; For language-specs.
4697 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4701 `(("dconf" ,dconf)))
4703 `(("intltool" ,intltool)
4704 ("itstool" ,itstool)
4705 ("gobject-introspection" ,gobject-introspection)
4706 ("pkg-config" ,pkg-config)))
4711 ("gtksourceview" ,gtksourceview)
4712 ("libpeas" ,libpeas)
4713 ("libxml2" ,libxml2)
4714 ("iso-codes" ,iso-codes)
4715 ("python-pygobject" ,python-pygobject)
4717 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4720 ("adwaita-icon-theme" ,adwaita-icon-theme)
4721 ("libsoup" ,libsoup)
4722 ("gnome-desktop" ,gnome-desktop)))
4723 (home-page "https://wiki.gnome.org/Apps/Gedit")
4724 (synopsis "GNOME text editor")
4725 (description "While aiming at simplicity and ease of use, gedit is a
4726 powerful general purpose text editor.")
4727 (license license:gpl2+)))
4729 (define-public zenity
4735 (uri (string-append "mirror://gnome/sources/" name "/"
4736 (version-major+minor version) "/"
4737 name "-" version ".tar.xz"))
4740 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4741 (build-system gnu-build-system)
4743 `(("gettext" ,gettext-minimal)
4744 ("itstool" ,itstool)
4745 ("pkg-config" ,pkg-config)))
4747 `(("libnotify" ,libnotify)
4748 ("webkitgtk" ,webkitgtk)))
4749 (synopsis "Display graphical dialog boxes from shell scripts")
4750 (home-page "https://www.gnome.org")
4752 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4753 to display dialog boxes from the commandline and shell scripts.")
4754 (license license:lgpl2.0+)))
4756 (define-public mutter
4762 (uri (string-append "mirror://gnome/sources/" name "/"
4763 (version-major+minor version) "/"
4764 name "-" version ".tar.xz"))
4767 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4768 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4769 ;; versions of cogl and clutter. As a result, many of the inputs,
4770 ;; propagated-inputs, and configure flags used in cogl and clutter are
4771 ;; needed here as well.
4772 (build-system gnu-build-system)
4775 ;; XXX: build fails with [-Werror]:
4776 ;; backends/meta-cursor-renderer.c:112:5: error:
4777 ;; implicit declaration of function ?roundf?
4778 (list "--enable-compile-warnings=minimum"
4780 "--enable-native-backend"
4782 ;; The following flags are needed for the bundled clutter
4783 "--enable-x11-backend=yes"
4785 (string-append "--with-xwayland-path="
4786 (assoc-ref %build-inputs "xorg-server-xwayland")
4789 ;; the remaining flags are needed for the bundled cogl
4791 (string-append "--with-gl-libname="
4792 (assoc-ref %build-inputs "mesa")
4795 (modify-phases %standard-phases
4796 ;; Replace references to systemd libraries to elogind references.
4797 (add-before 'configure 'use-elogind
4799 (substitute* (list "configure"
4800 "src/backends/native/meta-launcher.c"
4802 (("systemd") "elogind"))
4805 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4806 ("gobject-introspection" ,gobject-introspection)
4807 ("intltool" ,intltool)
4808 ("pkg-config" ,pkg-config)
4810 ("autoconf" ,autoconf)
4811 ("automake" ,automake)
4812 ("libtool" ,libtool)))
4814 `(;; libmutter.pc refers to these:
4815 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4817 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4820 ("gdk-pixbuf" ,gdk-pixbuf)
4823 ("json-glib" ,json-glib)
4824 ("libinput" ,libinput)
4826 ("libxcomposite" ,libxcomposite)
4827 ("libxdamage" ,libxdamage)
4828 ("libxext" ,libxext)
4829 ("libxfixes" ,libxfixes)
4830 ("libxkbcommon" ,libxkbcommon)
4831 ("libxrandr" ,libxrandr)
4835 ("xinput" ,xinput)))
4837 `(("elogind" ,elogind)
4838 ("gnome-desktop" ,gnome-desktop)
4839 ("libcanberra-gtk" ,libcanberra)
4840 ("libgudev" ,libgudev)
4843 ("libxkbfile" ,libxkbfile)
4844 ("libxrandr" ,libxrandr)
4845 ("libxtst" ,libxtst)
4846 ("startup-notification" ,startup-notification)
4847 ("upower-glib" ,upower)
4848 ("xkeyboard-config" ,xkeyboard-config)
4849 ("xorg-server-xwayland" ,xorg-server-xwayland)
4850 ("zenity" ,zenity)))
4851 (synopsis "Window and compositing manager")
4852 (home-page "https://www.gnome.org")
4854 "Mutter is a window and compositing manager that displays and manages your
4855 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4856 Clutter toolkit with solid window-management logic inherited from the Metacity
4858 (license license:gpl2+)))
4860 (define-public gnome-online-accounts
4862 (name "gnome-online-accounts")
4866 (uri (string-append "mirror://gnome/sources/" name "/"
4867 (version-major+minor version) "/"
4868 name "-" version ".tar.xz"))
4871 "1l8p1ghknmkmjpnpl7jr53j66qbzpikickzbmrz0aczyhq6pdy29"))))
4872 (build-system glib-or-gtk-build-system)
4874 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4875 ("gobject-introspection" ,gobject-introspection)
4876 ("intltool" ,intltool)
4877 ("pkg-config" ,pkg-config)
4878 ("xsltproc" ,libxslt)))
4880 `(("glib" ,glib) ; required by goa-1.0.pc
4881 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4883 `(("docbook-xsl" ,docbook-xsl)
4884 ("json-glib" ,json-glib)
4885 ("libsecret" ,libsecret)
4887 ("webkitgtk" ,webkitgtk)))
4888 (synopsis "Single sign-on framework for GNOME")
4889 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4891 "GNOME Online Accounts provides interfaces so that applications and
4892 libraries in GNOME can access the user's online accounts. It has providers for
4893 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4894 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4895 (license license:lgpl2.0+)))
4897 (define-public evolution-data-server
4899 (name "evolution-data-server")
4903 (uri (string-append "mirror://gnome/sources/" name "/"
4904 (version-major+minor version) "/"
4905 name "-" version ".tar.xz"))
4908 "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"))))
4909 (build-system cmake-build-system)
4911 '(;; XXX FIXME: 11/85 tests are failing.
4914 (let* ((lib (string-append (assoc-ref %outputs "out")
4916 (runpaths (map (lambda (s) (string-append
4917 lib "/evolution-data-server/" s))
4918 '("addressbook-backends" "calendar-backends"
4919 "camel-providers" "credential-modules"
4920 "registry-modules"))))
4921 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4922 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4923 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4924 "-DENABLE_VALA_BINDINGS=ON"
4925 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
4926 ;; "-std=gnu++11" when our default compiler is >= GCC6.
4927 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
4928 ;; evolution-data-server has been updated to qualify ICU types
4929 ;; explicitly, as required by ICU 61 and later. See:
4930 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
4931 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
4932 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
4933 (string-append lib "/evolution-data-server;")
4934 (string-join runpaths ";"))
4935 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
4937 (modify-phases %standard-phases
4938 (add-after 'unpack 'patch-paths
4940 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4941 (("/bin/rm") (which "rm")))
4943 (add-before 'configure 'dont-override-rpath
4945 (substitute* "CMakeLists.txt"
4946 ;; CMakeLists.txt hard-codes runpath to just the libdir.
4947 ;; Remove it so the configure flag is respected.
4948 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
4951 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4952 ("gobject-introspection" ,gobject-introspection)
4954 ("intltool" ,intltool)
4955 ("pkg-config" ,pkg-config)
4957 ("python" ,python-wrapper)))
4959 ;; These are all in the Requires field of .pc files.
4961 ("libical" ,libical)
4962 ("libsecret" ,libsecret)
4963 ("libsoup" ,libsoup)
4965 ("sqlite" ,sqlite)))
4969 ("gnome-online-accounts" ,gnome-online-accounts)
4970 ("json-glib" ,json-glib)
4971 ("libgweather" ,libgweather)
4972 ("mit-krb5" ,mit-krb5)
4973 ("openldap" ,openldap)
4974 ("webkitgtk" ,webkitgtk)))
4975 (synopsis "Store address books and calendars")
4976 (home-page "https://wiki.gnome.org/Apps/Evolution")
4978 "This package provides a unified backend for programs that work with
4979 contacts, tasks, and calendar information. It was originally developed for
4980 Evolution (hence the name), but is now used by other packages as well.")
4981 (license license:lgpl2.0)))
4983 (define-public caribou
4989 (uri (string-append "mirror://gnome/sources/" name "/"
4990 (version-major+minor version) "/"
4991 name "-" version ".tar.xz"))
4994 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4995 (build-system glib-or-gtk-build-system)
4998 (modify-phases %standard-phases
5001 (lambda* (#:key outputs #:allow-other-keys)
5002 (let ((out (assoc-ref outputs "out")))
5003 ;; Use absolute shared library path in Caribou-1.0.typelib.
5004 (substitute* "libcaribou/Makefile"
5005 (("--shared-library=libcaribou.so")
5006 (string-append "--shared-library="
5007 out "/lib/libcaribou.so")))
5009 (add-after 'install 'wrap-programs
5010 (lambda* (#:key outputs #:allow-other-keys)
5011 (let* ((out (assoc-ref outputs "out"))
5012 (python-path (getenv "PYTHONPATH"))
5013 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5017 `("PYTHONPATH" ":" prefix (,python-path))
5018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5019 (list (string-append out "/bin/caribou-preferences")
5020 (string-append out "/libexec/antler-keyboard"))))
5023 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5024 ("gobject-introspection" ,gobject-introspection)
5025 ("intltool" ,intltool)
5026 ("pkg-config" ,pkg-config)
5027 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5029 ("xsltproc" ,libxslt)))
5031 ;; caribou-1.0.pc refers to all these.
5032 `(("libgee" ,libgee)
5033 ("libxklavier" ,libxklavier)
5034 ("libxtst" ,libxtst)
5037 `(("clutter" ,clutter)
5040 ("python-pygobject" ,python2-pygobject)))
5041 (synopsis "Text entry and UI navigation application")
5042 (home-page "https://wiki.gnome.org/Projects/Caribou")
5044 "Caribou is an input assistive technology intended for switch and pointer
5046 (license license:lgpl2.1)))
5048 (define-public network-manager
5050 (name "network-manager")
5054 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5055 (version-major+minor version) "/"
5056 "NetworkManager-" version ".tar.xz"))
5059 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
5062 (use-modules (guix build utils))
5063 (substitute* "configure"
5064 ;; Replace libsystemd-login with libelogind.
5065 (("libsystemd-login") "libelogind"))
5066 (substitute* "src/devices/wwan/nm-modem-manager.c"
5067 (("systemd") "elogind"))
5068 (substitute* "src/nm-session-monitor.c"
5069 (("systemd") "elogind"))
5070 (substitute* "./src/nm-logging.c"
5071 (("systemd") "elogind"))
5073 (build-system gnu-build-system)
5075 "doc")) ; 8 MiB of gtk-doc HTML
5078 (let ((out (assoc-ref %outputs "out"))
5079 (doc (assoc-ref %outputs "doc"))
5080 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5082 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5083 "--with-consolekit=no"
5084 "--with-crypto=gnutls"
5085 "--disable-config-plugin-ibft"
5087 "--localstatedir=/var"
5088 (string-append "--with-udev-dir="
5090 (string-append "--with-dbus-sys-dir="
5091 out "/etc/dbus-1/system.d")
5092 (string-append "--with-html-dir="
5093 doc "/share/gtk-doc/html")
5094 (string-append "--with-dhclient=" dhclient)))
5096 (modify-phases %standard-phases
5097 (add-before 'configure 'pre-configure
5099 ;; These tests try to test aspects of network-manager's
5100 ;; functionality within restricted containers, but they don't
5101 ;; cope with being already in the Guix build jail as that jail
5102 ;; lacks some features that they would like to proxy over (like
5104 (substitute* '("Makefile.in")
5105 (("src/platform/tests/test-address-linux") " ")
5106 (("src/platform/tests/test-cleanup-linux") " ")
5107 (("src/platform/tests/test-link-linux") " ")
5108 (("src/platform/tests/test-route-linux") " ")
5109 (("src/devices/tests/test-arping") " ")
5110 (("src/devices/tests/test-lldp") " ")
5111 (("src/tests/test-route-manager-linux") " "))
5113 (add-before 'check 'pre-check
5115 ;; For the missing /etc/machine-id.
5116 (setenv "DBUS_FATAL_WARNINGS" "0")
5120 (zero? (system* "make"
5124 "nmstatedir=/tmp/nm"
5129 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5130 ("gobject-introspection" ,gobject-introspection)
5131 ("docbook-xsl" ,docbook-xsl)
5132 ("intltool" ,intltool)
5133 ("libxslt" ,libxslt)
5134 ("libxml2" ,libxml2)
5135 ("pkg-config" ,pkg-config)
5137 ("python" ,python-wrapper)
5138 ("python-dbus" ,python-dbus)
5139 ("python-pygobject" ,python-pygobject)))
5142 ("cyrus-sasl" ,cyrus-sasl)
5143 ("dbus-glib" ,dbus-glib)
5144 ("dnsmasq" ,dnsmasq)
5147 ("iptables" ,iptables)
5148 ("isc-dhcp" ,isc-dhcp)
5149 ("jansson" ,jansson)
5150 ("libgcrypt" ,libgcrypt)
5151 ("libgudev" ,libgudev)
5154 ("libsoup" ,libsoup)
5155 ("modem-manager" ,modem-manager)
5156 ("newt" ,newt) ;for the 'nmtui' console interface
5159 ("readline" ,readline)
5160 ("util-linux" ,util-linux)
5161 ("elogind" ,elogind)))
5162 (synopsis "Network connection manager")
5163 (home-page "https://www.gnome.org/projects/NetworkManager/")
5165 "NetworkManager is a system network service that manages your network
5166 devices and connections, attempting to keep active network connectivity when
5167 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5168 devices, and provides VPN integration with a variety of different VPN
5170 (license license:gpl2+)
5171 (properties '((upstream-name . "NetworkManager")))))
5173 (define-public network-manager-openvpn
5175 (name "network-manager-openvpn")
5180 "mirror://gnome/sources/NetworkManager-openvpn/"
5181 (version-major+minor version)
5182 "/NetworkManager-openvpn-" version ".tar.xz"))
5185 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5186 (build-system gnu-build-system)
5188 '(#:configure-flags '("--enable-absolute-paths")))
5190 `(("pkg-config" ,pkg-config)
5191 ("intltool" ,intltool)))
5194 ("openvpn" ,openvpn)
5195 ("network-manager" ,network-manager)
5196 ("network-manager-applet" ,network-manager-applet) ;for libnma
5197 ("libsecret" ,libsecret)))
5198 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5199 (synopsis "OpenVPN plug-in for NetworkManager")
5201 "This extension of NetworkManager allows it to take care of connections
5202 to virtual private networks (VPNs) via OpenVPN.")
5203 (license license:gpl2+)
5204 (properties `((upstream-name . "NetworkManager-openvpn")))))
5206 (define-public mobile-broadband-provider-info
5208 (name "mobile-broadband-provider-info")
5209 (version "20170310")
5213 "mirror://gnome/sources/"
5214 "mobile-broadband-provider-info/" version "/"
5215 "mobile-broadband-provider-info-" version ".tar.xz"))
5218 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5219 (build-system gnu-build-system)
5221 `(#:tests? #f)) ; No tests
5222 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5223 (synopsis "Database of broadband connection configuration")
5224 (description "Database of broadband connection configuration.")
5225 (license license:public-domain)))
5227 (define-public network-manager-applet
5229 (name "network-manager-applet")
5233 (uri (string-append "mirror://gnome/sources/" name "/"
5234 (version-major+minor version) "/"
5235 name "-" version ".tar.xz"))
5238 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5239 (build-system glib-or-gtk-build-system)
5240 (arguments '(#:configure-flags '("--disable-migration")))
5242 `(("intltool" ,intltool)
5243 ("gobject-introspection" ,gobject-introspection)
5244 ("pkg-config" ,pkg-config)))
5246 ;; libnm-gtk.pc refers to all these.
5247 `(("dbus-glib" ,dbus-glib)
5249 ("network-manager" ,network-manager)))
5251 `(("iso-codes" ,iso-codes)
5252 ("libgudev" ,libgudev)
5253 ("libnotify" ,libnotify)
5254 ("libsecret" ,libsecret)
5255 ("libselinux" ,libselinux)
5256 ("jansson" ,jansson) ; for team support
5257 ("modem-manager" ,modem-manager)))
5258 (synopsis "Applet for managing network connections")
5259 (home-page "https://www.gnome.org/projects/NetworkManager/")
5261 "This package contains a systray applet for NetworkManager. It displays
5262 the available networks and allows users to easily switch between them.")
5263 (license license:gpl2+)))
5265 (define-public libxml++
5271 (uri (string-append "mirror://gnome/sources/" name "/"
5272 (version-major+minor version) "/"
5273 name "-" version ".tar.xz"))
5276 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5277 (build-system gnu-build-system)
5278 ;; libxml++-3.0.pc refers to all these.
5280 `(("libxml2" ,libxml2)
5281 ("glibmm" ,glibmm)))
5284 ("pkg-config" ,pkg-config)))
5285 (home-page "http://libxmlplusplus.sourceforge.net/")
5286 (synopsis "C++ wrapper for XML parser library libxml2")
5288 "This package provides a C++ wrapper for the XML parser library
5290 (license license:lgpl2.1+)))
5292 (define-public libxml++-2
5299 (uri (string-append "mirror://gnome/sources/" name "/"
5300 (version-major+minor version) "/"
5301 name "-" version ".tar.xz"))
5304 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5309 (version "3.26.2.1")
5312 (uri (string-append "mirror://gnome/sources/" name "/"
5313 (version-major+minor version) "/"
5314 name "-" version ".tar.xz"))
5315 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5318 "0mxdal6hh345xk2xqmw5192jgpprkbcv1d4bwmnl4arcc00cpp8p"))))
5319 (build-system glib-or-gtk-build-system)
5322 `("--without-plymouth"
5323 "--disable-systemd-journal"
5325 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5326 ;; instead of having to replace it (i.e., stopping the mingetty
5327 ;; service for TTY 1 before starting GDM).
5328 "--with-initial-vt=7"
5330 ;; By default, GDM expects distributions to install a custom Xsession
5331 ;; script. It provides a generic one if --enable-gdm-xsession is set.
5332 "--enable-gdm-xsession"
5334 ;; Use '/etc/environment' for locale settings instead of the
5335 ;; systemd-specific '/etc/locale.conf'.
5336 "--with-lang-file=/etc/environment"
5338 "--localstatedir=/var"
5339 ,(string-append "--with-default-path="
5340 (string-join '("/run/setuid-programs"
5341 "/run/current-system/profile/bin"
5342 "/run/current-system/profile/sbin")
5344 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5345 ;; XDG_DATA_DIRS so that it finds its schemas.
5346 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5348 (modify-phases %standard-phases
5350 'configure 'pre-configure
5352 ;; We don't have <systemd/sd-daemon.h>.
5353 (substitute* '("common/gdm-log.c"
5354 "daemon/gdm-server.c"
5355 "daemon/gdm-session-worker.c"
5356 "daemon/gdm-session-worker-job.c")
5357 (("#include <systemd/sd-daemon\\.h>") ""))
5358 ;; Use elogind for sd-login.
5359 (substitute* '("common/gdm-common.c"
5360 "daemon/gdm-manager.c"
5361 "libgdm/gdm-user-switching.c")
5362 (("#include <systemd/sd-login\\.h>")
5363 "#include <elogind/sd-login.h>"))
5364 ;; Check for elogind.
5365 (substitute* '("configure")
5368 ;; Look for system-installed sessions in
5369 ;; /run/current-system/profile/share.
5370 (substitute* '("libgdm/gdm-sessions.c"
5371 "daemon/gdm-session.c"
5372 "daemon/gdm-display.c"
5373 "daemon/gdm-launch-environment.c")
5375 "\"/run/current-system/profile/share/x")
5376 (("DATADIR \"/wayland")
5377 "\"/run/current-system/profile/share/wayland")
5378 (("DATADIR \"/gnome")
5379 "\"/run/current-system/profile/share/gnome"))
5380 (substitute* '("daemon/gdm-session.c")
5381 (("set_up_session_environment \\(self\\);")
5383 "set_up_session_environment (self);\n"
5384 ;; Propagate GDM_X_SERVER environment variable (which is set
5385 ;; by the GDM service, as it's a function of what X modules
5386 ;; the user decides to have available) down to worker
5388 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5389 " g_getenv (\"GDM_X_SERVER\"));\n"
5390 ;; FIXME: Really glib should be declaring XDG_CONFIG_DIRS as a
5391 ;; variable, but it doesn't do that right now. Anyway
5392 ;; /run/current-system/profile/share/gnome-session/sessions/gnome.desktop
5393 ;; requires that a number of .desktop files be present, and
5394 ;; these special .desktop files are in $XDG_CONFIG_DIRS (which
5395 ;; defaults to /etc/xdg if it's not set). Here we need to
5396 ;; provide a value such that the GNOME session's requirements
5397 ;; are met (provided GNOME is installed of course).
5398 "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n"
5399 " \"/run/current-system/profile/etc/xdg\");\n"
5400 ;; The session bus (which GDM will initialize from the this
5401 ;; session environment) needs to know where to find the system
5403 "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n"
5404 " \"/run/current-system/profile/share\");\n"
5406 ;; Look for custom GDM conf in /run/current-system.
5407 (substitute* '("common/gdm-settings-desktop-backend.c")
5408 (("GDM_CUSTOM_CONF")
5409 "\"/run/current-system/etc/gdm/custom.conf\""))
5410 ;; Use service-supplied path to X.
5411 (substitute* '("daemon/gdm-server.c")
5412 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5413 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5414 (substitute* '("daemon/gdm-x-session.c")
5416 "g_getenv (\"GDM_X_SERVER\")"))
5420 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5421 ("gobject-introspection" ,gobject-introspection)
5422 ("intltool" ,intltool)
5423 ("itstool" ,itstool)
5424 ("pkg-config" ,pkg-config)
5425 ("xmllint" ,libxml2)))
5427 `(("accountsservice" ,accountsservice)
5428 ("check" ,check) ; for testing
5429 ("elogind" ,elogind)
5431 ("iso-codes" ,iso-codes)
5432 ("libcanberra" ,libcanberra)
5433 ("linux-pam" ,linux-pam)))
5434 (synopsis "Display manager for GNOME")
5435 (home-page "https://wiki.gnome.org/Projects/GDM/")
5437 "GNOME Display Manager is a system service that is responsible for
5438 providing graphical log-ins and managing local and remote displays.")
5439 (license license:gpl2+)))
5441 (define-public libgtop
5447 (uri (string-append "mirror://gnome/sources/" name "/"
5448 (version-major+minor version) "/"
5449 name "-" version ".tar.xz"))
5452 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5453 (build-system gnu-build-system)
5455 `(("gobject-introspection" ,gobject-introspection)
5456 ("intltool" ,intltool)
5458 ("pkg-config" ,pkg-config)))
5460 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5461 (synopsis "Portable system access library")
5462 (home-page "https://www.gnome.org/")
5464 "LibGTop is a library to get system specific data such as CPU and memory
5465 usage and information about running processes.")
5466 (license license:gpl2+)))
5468 (define-public gnome-bluetooth
5470 (name "gnome-bluetooth")
5474 (uri (string-append "mirror://gnome/sources/" name "/"
5475 (version-major+minor version) "/"
5476 name "-" version ".tar.xz"))
5479 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5480 (build-system glib-or-gtk-build-system)
5482 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5483 ("gobject-introspection" ,gobject-introspection)
5484 ("intltool" ,intltool)
5485 ("pkg-config" ,pkg-config)
5486 ("xmllint" ,libxml2)))
5488 ;; gnome-bluetooth-1.0.pc refers to all these.
5492 `(("libcanberra" ,libcanberra)
5493 ("libnotify" ,libnotify)))
5494 (synopsis "GNOME Bluetooth subsystem")
5495 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5497 "This package contains tools for managing and manipulating Bluetooth
5498 devices using the GNOME desktop.")
5499 (license license:lgpl2.1+)))
5501 (define-public gnome-control-center
5503 (name "gnome-control-center")
5507 (uri (string-append "mirror://gnome/sources/" name "/"
5508 (version-major+minor version) "/"
5509 name "-" version ".tar.xz"))
5512 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5513 (build-system glib-or-gtk-build-system)
5516 (modify-phases %standard-phases
5517 (add-before 'configure 'patch-paths
5518 (lambda* (#:key inputs #:allow-other-keys)
5519 (let ((libc (assoc-ref inputs "libc"))
5520 (tzdata (assoc-ref inputs "tzdata")))
5521 (substitute* "panels/datetime/tz.h"
5522 (("/usr/share/zoneinfo/zone.tab")
5523 (string-append tzdata "/share/zoneinfo/zone.tab")))
5524 (substitute* "panels/datetime/test-endianess.c"
5525 (("/usr/share/locale")
5526 (string-append libc "/share/locale")))
5529 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5530 ("intltool" ,intltool)
5531 ("pkg-config" ,pkg-config)
5532 ("xsltproc" ,libxslt)))
5534 `(("accountsservice" ,accountsservice)
5535 ("clutter-gtk" ,clutter-gtk)
5536 ("colord-gtk" ,colord-gtk)
5539 ("docbook-xsl" ,docbook-xsl)
5540 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5541 ("gnome-bluetooth" ,gnome-bluetooth)
5542 ("gnome-desktop" ,gnome-desktop)
5543 ("gnome-online-accounts" ,gnome-online-accounts)
5544 ("gnome-settings-daemon" ,gnome-settings-daemon)
5547 ("libcanberra" ,libcanberra)
5548 ("libgudev" ,libgudev)
5549 ("libgtop" ,libgtop)
5550 ("libpwquality" ,libpwquality)
5551 ("libsoup" ,libsoup)
5552 ("libxml2" ,libxml2)
5553 ("libwacom" ,libwacom)
5555 ("mit-krb5" ,mit-krb5)
5556 ("modem-manager" ,modem-manager)
5557 ("network-manager-applet" ,network-manager-applet)
5559 ("pulseaudio" ,pulseaudio)
5560 ("smbclient" ,samba)
5562 ("upower" ,upower)))
5563 (synopsis "Utilities to configure the GNOME desktop")
5564 (home-page "https://www.gnome.org/")
5566 "This package contains configuration applets for the GNOME desktop,
5567 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5568 properties, sound setup, desktop theme and background, user interface
5569 properties, screen resolution, and other GNOME parameters.")
5570 (license license:gpl2+)))
5572 (define-public gnome-shell
5574 (name "gnome-shell")
5578 (uri (string-append "mirror://gnome/sources/" name "/"
5579 (version-major+minor version) "/"
5580 name "-" version ".tar.xz"))
5583 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
5584 (build-system glib-or-gtk-build-system)
5587 (modify-phases %standard-phases
5589 (lambda* (#:key outputs #:allow-other-keys)
5590 (let* ((out (assoc-ref outputs "out"))
5591 (keysdir (string-append
5592 out "/share/gnome-control-center/keybindings")))
5593 (zero? (system* "make"
5594 (string-append "keysdir=" keysdir)
5597 'install 'wrap-programs
5598 (lambda* (#:key outputs #:allow-other-keys)
5599 (let ((out (assoc-ref outputs "out"))
5600 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5601 (python-path (getenv "PYTHONPATH")))
5602 (wrap-program (string-append out "/bin/gnome-shell")
5603 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5606 (wrap-program (string-append out "/bin/" prog)
5607 `("PYTHONPATH" ":" prefix (,python-path))
5608 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5609 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5612 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5613 ("gobject-introspection" ,gobject-introspection)
5614 ("intltool" ,intltool)
5615 ("pkg-config" ,pkg-config)
5617 ("xsltproc" ,libxslt)))
5619 `(("accountsservice" ,accountsservice)
5620 ("caribou" ,caribou)
5621 ("docbook-xsl" ,docbook-xsl)
5622 ("evolution-data-server" ,evolution-data-server)
5626 ("gnome-bluetooth" ,gnome-bluetooth)
5627 ("gnome-control-center" ,gnome-control-center)
5628 ("gnome-desktop" ,gnome-desktop)
5629 ("gnome-settings-daemon" ,gnome-settings-daemon)
5630 ("gst-plugins-base" ,gst-plugins-base)
5632 ("libcanberra" ,libcanberra)
5633 ("libcroco" ,libcroco)
5634 ("libgweather" ,libgweather)
5635 ("libsoup" ,libsoup)
5636 ("mesa-headers" ,mesa-headers)
5638 ("network-manager-applet" ,network-manager-applet)
5640 ("pulseaudio" ,pulseaudio)
5641 ("python-pygobject" ,python-pygobject)
5642 ("startup-notification" ,startup-notification)
5643 ("telepathy-logger" ,telepathy-logger)
5645 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5646 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5647 ("librsvg" ,librsvg)
5648 ("geoclue" ,geoclue)
5649 ;; XXX: required by libgjs.la.
5650 ("readline" ,readline)))
5651 (synopsis "Desktop shell for GNOME")
5652 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5654 "GNOME Shell provides core user interface functions for the GNOME desktop,
5655 like switching to windows and launching applications.")
5656 (license license:gpl2+)))
5658 (define-public gtk-vnc
5665 (uri (string-append "mirror://gnome/sources/" name "/"
5666 (version-major+minor version) "/"
5667 name "-" version ".tar.xz"))
5670 "1cdaywj5lqnl5b22qzd7k7lmacsnmk8b8rc4drk6gvqmcrlsljzk"))))
5671 (build-system gnu-build-system)
5673 '(#:configure-flags '("--with-gtk=3.0")))
5675 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5677 `(("cyrus-sasl" ,cyrus-sasl)
5679 ("libgcrypt" ,libgcrypt)
5680 ("pulseaudio" ,pulseaudio)))
5682 `(("glib:bin" ,glib "bin")
5683 ("gobject-introspection" ,gobject-introspection)
5684 ("intltool" ,intltool)
5685 ("pkg-config" ,pkg-config)
5686 ("python-wrapper" ,python-wrapper)
5688 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5689 (synopsis "VNC viewer widget for GTK+")
5691 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5692 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5693 GTK-VNC implements client side RFB protocol and authentication extensions such
5694 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5695 (license license:lgpl2.1+)))
5697 (define-public gnome-autoar
5699 (name "gnome-autoar")
5703 (uri (string-append "mirror://gnome/sources/" name "/"
5704 (version-major+minor version) "/"
5705 name "-" version ".tar.xz"))
5708 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
5709 (build-system glib-or-gtk-build-system)
5711 `(("gnome-common" ,gnome-common)
5712 ("gobject-introspection" ,gobject-introspection)
5713 ("pkg-config" ,pkg-config)))
5715 `(("libarchive" ,libarchive))) ; XXX document why
5718 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5719 (synopsis "Archives integration support for GNOME")
5720 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5722 "GNOME Autoar is a library which makes creating and extracting archives
5723 easy, safe, and automatic.")
5724 (license license:lgpl2.1+)))
5726 (define-public tracker
5732 (uri (string-append "mirror://gnome/sources/" name "/"
5733 (version-major+minor version) "/"
5734 name "-" version ".tar.xz"))
5737 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
5738 (build-system glib-or-gtk-build-system)
5740 `(("gnome-common" ,gnome-common)
5741 ("gobject-introspection" ,gobject-introspection)
5742 ("intltool" ,intltool)
5743 ("pkg-config" ,pkg-config)
5748 ("gstreamer" ,gstreamer)
5749 ("gst-plugins-base" ,gst-plugins-base)
5750 ("sqlite" ,sqlite-with-fts5)
5751 ("nettle" ,nettle) ; XXX why is this needed?
5752 ("poppler" ,poppler)
5754 ("libexif" ,libexif)
5756 ("libtiff" ,libtiff)
5757 ("libvorbis" ,libvorbis)
5759 ("totem-pl-parser" ,totem-pl-parser)
5762 ("libxml2" ,libxml2)
5764 ("libunistring" ,libunistring)
5766 ("json-glib" ,json-glib)
5767 ("openjpeg" ,openjpeg-1)
5768 ("libosinfo" ,libosinfo)
5770 ("libseccomp" ,libseccomp)
5771 ("libsoup" ,libsoup)
5772 ("libuuid" ,util-linux)))
5773 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5774 (synopsis "Metadata database, indexer and search tool")
5775 (home-page "https://wiki.gnome.org/Projects/Tracker")
5777 "Tracker is an advanced framework for first class objects with associated
5778 metadata and tags. It provides a one stop solution for all metadata, tags,
5779 shared object databases, search tools and indexing.")
5780 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5781 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5782 (license (list license:gpl2+
5784 license:lgpl2.0+))))
5786 (define-public nautilus
5792 (uri (string-append "mirror://gnome/sources/" name "/"
5793 (version-major+minor version) "/"
5794 name "-" version ".tar.xz"))
5797 "1d0l4vgcjqj4671hb6s2a56baqlasbxn3wl6vfrpdsk5qq299jbr"))))
5798 (build-system meson-build-system)
5801 ;; XXX: FAIL: check-nautilus
5802 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5805 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5806 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5807 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5808 ("gobject-introspection" ,gobject-introspection)
5809 ("intltool" ,intltool)
5810 ("pkg-config" ,pkg-config)))
5815 ("gnome-desktop" ,gnome-desktop)
5816 ("gnome-autoar" ,gnome-autoar)
5817 ("libselinux" ,libselinux)
5818 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5819 ("tracker" ,tracker)
5820 ;; XXX: gtk+ is required by libnautilus-extension.pc
5822 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5824 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5826 ("libexif" ,libexif)
5827 ("libxml2" ,libxml2)))
5828 (synopsis "File manager for GNOME")
5829 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5831 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5832 design and behaviour, giving the user a simple way to navigate and manage its
5834 (license license:gpl2+)))
5836 (define-public baobab
5843 "mirror://gnome/sources/" name "/"
5844 (version-major+minor version) "/"
5845 name "-" version ".tar.xz"))
5848 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
5849 (build-system meson-build-system)
5851 '(#:glib-or-gtk? #t))
5853 `(("intltool" ,intltool)
5854 ("pkg-config" ,pkg-config)
5855 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5856 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5857 ("itstool" ,itstool)
5858 ("xmllint" ,libxml2)
5859 ("glib" ,glib "bin")
5863 (synopsis "Disk usage analyzer for GNOME")
5865 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5866 usage in the GNOME desktop environment. It can easily scan device volumes or
5867 a specific user-requested directory branch (local or remote). Once the scan
5868 is complete it provides a graphical representation of each selected folder.")
5869 (home-page "https://wiki.gnome.org/Apps/Baobab")
5870 (license license:gpl2+)))
5872 (define-public gnome-backgrounds
5874 (name "gnome-backgrounds")
5879 (uri (string-append "mirror://gnome/sources/" name "/"
5880 (version-major+minor version) "/"
5881 name "-" version ".tar.xz"))
5884 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
5885 (build-system meson-build-system)
5887 `(("intltool" ,intltool)))
5888 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5889 (synopsis "Background images for the GNOME desktop")
5891 "GNOME backgrounds package contains a collection of graphics files which
5892 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5893 the package creates the proper framework and directory structure so that you
5894 can add your own files to the collection.")
5895 (license (list license:gpl2+
5898 license:cc-by-sa3.0))))
5900 (define-public gnome-screenshot
5902 (name "gnome-screenshot")
5907 (uri (string-append "mirror://gnome/sources/" name "/"
5908 (version-major+minor version) "/"
5909 name "-" version ".tar.xz"))
5912 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5913 (build-system glib-or-gtk-build-system)
5915 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5916 ("intltool" ,intltool)
5917 ("pkg-config" ,pkg-config)))
5920 ("libcanberra" ,libcanberra)
5922 ("libxext" ,libxext)))
5923 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5924 (synopsis "Take pictures of your screen")
5926 "GNOME Screenshot is a utility used for taking screenshots of the entire
5927 screen, a window or a user defined area of the screen, with optional
5928 beautifying border effects.")
5929 (license license:gpl2+)))
5931 (define-public dconf-editor
5933 (name "dconf-editor")
5938 (uri (string-append "mirror://gnome/sources/" name "/"
5939 (version-major+minor version) "/"
5940 name "-" version ".tar.xz"))
5943 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
5944 (build-system glib-or-gtk-build-system)
5947 (modify-phases %standard-phases
5948 (add-before 'install 'skip-gtk-update-icon-cache
5950 ;; Don't create 'icon-theme.cache'.
5951 (substitute* "editor/Makefile"
5952 (("gtk-update-icon-cache") "true"))
5955 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5956 ("intltool" ,intltool)
5957 ("pkg-config" ,pkg-config)))
5961 ("libxml2" ,libxml2)))
5962 (home-page "https://git.gnome.org/browse/dconf-editor")
5963 (synopsis "Graphical editor for GNOME's dconf configuration system")
5965 "Dconf-editor is a graphical tool for browsing and editing the dconf
5966 configuration system for GNOME. It allows users to configure desktop
5967 software that do not provide their own configuration interface.")
5968 (license license:lgpl2.1+)))
5970 (define-public gnome-default-applications
5972 (name "gnome-default-applications")
5974 (build-system trivial-build-system)
5977 `(("nautilus" ,nautilus)
5978 ("evince" ,evince)))
5980 `(#:modules ((guix build utils))
5983 (use-modules (guix build utils))
5984 (let* ((out (assoc-ref %outputs "out"))
5985 (apps (string-append out "/share/applications")))
5987 (call-with-output-file (string-append apps "/defaults.list")
5989 (format port "[Default Applications]\n")
5990 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
5991 (format port "application/pdf=evince.desktop\n")
5992 (format port "application/postscript=evince.desktop\n")))
5994 (synopsis "Default MIME type associations for the GNOME desktop")
5996 "Given many installed packages which might handle a given MIME type, a
5997 user running the GNOME desktop probably has some preferences: for example,
5998 that folders be opened by default by the Nautilus file manager, not the Baobab
5999 disk usage analyzer. This package establishes that set of default MIME type
6000 associations for GNOME.")
6001 (license license:gpl3+)
6004 (define-public gnome
6007 (version (package-version gnome-shell))
6009 (build-system trivial-build-system)
6010 (arguments '(#:builder (begin (mkdir %output) #t)))
6012 ;; TODO: Add more packages according to:
6013 ;; <https://packages.debian.org/jessie/gnome-core>.
6014 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6016 ("font-cantarell" ,font-cantarell)
6017 ("font-dejavu" ,font-dejavu)
6018 ("at-spi2-core" ,at-spi2-core)
6021 ("desktop-file-utils" ,desktop-file-utils)
6023 ("epiphany" ,epiphany)
6025 ("file-roller" ,file-roller)
6027 ("glib-networking" ,glib-networking)
6028 ("gnome-backgrounds" ,gnome-backgrounds)
6029 ("gnome-bluetooth" ,gnome-bluetooth)
6030 ("gnome-calculator" ,gnome-calculator)
6031 ("gnome-control-center" ,gnome-control-center)
6032 ("gnome-disk-utility" ,gnome-disk-utility)
6033 ("gnome-default-applications" ,gnome-default-applications)
6034 ("gnome-keyring" ,gnome-keyring)
6035 ("gnome-online-accounts" ,gnome-online-accounts)
6036 ("gnome-session" ,gnome-session)
6037 ("gnome-settings-daemon" ,gnome-settings-daemon)
6038 ("gnome-shell" ,gnome-shell)
6039 ("gnome-system-monitor" ,gnome-system-monitor)
6040 ("gnome-terminal" ,gnome-terminal)
6041 ("gnome-themes-standard" ,gnome-themes-standard)
6042 ("gst-plugins-base" ,gst-plugins-base)
6043 ("gst-plugins-good" ,gst-plugins-good)
6044 ("gucharmap" ,gucharmap)
6046 ("hicolor-icon-theme" ,hicolor-icon-theme)
6047 ("nautilus" ,nautilus)
6048 ("pinentry-gnome3" ,pinentry-gnome3)
6049 ("pulseaudio" ,pulseaudio)
6050 ("shared-mime-info" ,shared-mime-info)
6052 ("xdg-user-dirs" ,xdg-user-dirs)
6054 ("zenity" ,zenity)))
6055 (synopsis "The GNU desktop environment")
6056 (home-page "https://www.gnome.org/")
6058 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6059 applications for browsing the web, editing text and images, creating
6060 documents and diagrams, playing media, scanning, and much more.")
6061 (license license:gpl2+)))
6063 (define-public byzanz
6064 ;; The last stable release of Byzanz was in 2011, but there have been many
6065 ;; useful commits made to the Byzanz repository since then that it would be
6066 ;; silly to use such an old release.
6067 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6070 (version (string-append "0.2-1." (string-take commit 7)))
6074 (url "https://git.gnome.org/browse/byzanz")
6076 (file-name (string-append name "-" version "-checkout"))
6079 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6080 (build-system glib-or-gtk-build-system)
6083 (modify-phases %standard-phases
6086 ;; The build system cleverly detects that we're not building from
6087 ;; a release tarball and turns on -Werror for GCC.
6088 ;; Unsurprisingly, there is a warning during compilation that
6089 ;; causes the build to fail unnecessarily, so we remove the flag.
6090 (substitute* '("configure.ac")
6092 ;; The autogen.sh script in gnome-common will run ./configure
6093 ;; by default, which is problematic because source shebangs
6094 ;; have not yet been patched.
6095 (setenv "NOCONFIGURE" "t")
6096 (zero? (system* "sh" "autogen.sh")))))))
6098 `(("autoconf" ,autoconf)
6099 ("automake" ,automake)
6100 ("gnome-common" ,gnome-common)
6101 ("intltool" ,intltool)
6102 ("libtool" ,libtool)
6103 ("pkg-config" ,pkg-config)
6107 ("gstreamer" ,gstreamer)
6108 ("gst-plugins-base" ,gst-plugins-base)
6110 (synopsis "Desktop recording program")
6111 (description "Byzanz is a simple desktop recording program with a
6112 command-line interface. It can record part or all of an X display for a
6113 specified duration and save it as a GIF encoded animated image file.")
6114 (home-page "https://git.gnome.org/browse/byzanz")
6115 (license license:gpl2+))))
6117 (define-public gsound
6123 (uri (string-append "mirror://gnome/sources/" name "/"
6124 (version-major+minor version) "/"
6125 name "-" version ".tar.xz"))
6128 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6129 (build-system glib-or-gtk-build-system)
6131 `(("pkg-config" ,pkg-config)
6132 ("gobject-introspection" ,gobject-introspection)
6136 ("libcanberra" ,libcanberra)))
6137 (home-page "https://wiki.gnome.org/Projects/GSound")
6138 (synopsis "GObject wrapper for libcanberra")
6140 "GSound is a small library for playing system sounds. It's designed to be
6141 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6143 (license license:lgpl2.1+)))
6145 (define-public libzapojit
6151 (uri (string-append "mirror://gnome/sources/" name "/"
6152 (version-major+minor version) "/"
6153 name "-" version ".tar.xz"))
6156 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6157 (build-system gnu-build-system)
6159 `(("gobject-introspection" ,gobject-introspection)
6160 ("intltool" ,intltool)
6161 ("pkg-config" ,pkg-config)))
6163 `(("gnome-online-accounts" ,gnome-online-accounts)
6164 ("json-glib" ,json-glib)
6166 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6167 (synopsis "Library for accessing SkyDrive and Hotmail")
6169 "Libzapojit is a GLib-based library for accessing online service APIs of
6170 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6171 (license license:lgpl2.1+)))
6173 (define-public gnome-clocks
6175 (name "gnome-clocks")
6179 (uri (string-append "mirror://gnome/sources/" name "/"
6180 (version-major+minor version) "/"
6181 name "-" version ".tar.xz"))
6184 "1xqirnf7xkiv5vj3ng4slpyh50ihn625vhdgskfzx83a3pgxin1b"))))
6185 (build-system meson-build-system)
6187 '(#:glib-or-gtk? #t))
6190 ("pkg-config" ,pkg-config)
6191 ("glib" ,glib "bin") ; for glib-compile-resources
6192 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6193 ("desktop-file-utils" ,desktop-file-utils)
6194 ("gettext" ,gettext-minimal)
6195 ("itstool" ,itstool)))
6200 ("geoclue" ,geoclue)
6201 ("geocode-glib" ,geocode-glib)
6202 ("libgweather" ,libgweather)
6203 ("gnome-desktop" ,gnome-desktop)))
6204 (home-page "https://wiki.gnome.org/Apps/Clocks")
6205 (synopsis "GNOME's clock application")
6207 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6208 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6209 (license license:gpl3+)))
6211 (define-public gnome-calendar
6213 (name "gnome-calendar")
6217 (uri (string-append "mirror://gnome/sources/" name "/"
6218 (version-major+minor version) "/"
6219 name "-" version ".tar.xz"))
6222 "1clnfvvsaqw9vpxrs6qrxzmgpaw9x2nkjik2x2vwvm07pdvhddxn"))))
6223 (build-system meson-build-system)
6226 ;; gnome-calendar has to be installed before the tests can be run
6227 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6230 `(("gettext" ,gettext-minimal)
6231 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6232 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6233 ("pkg-config" ,pkg-config)))
6235 `(("evolution-data-server" ,evolution-data-server)
6236 ("gnome-online-accounts" ,gnome-online-accounts)
6237 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6238 (home-page "https://wiki.gnome.org/Apps/Calendar")
6239 (synopsis "GNOME's calendar application")
6241 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6242 desktop. It supports multiple calendars, month, week and year view.")
6243 (license license:gpl3+)))
6245 (define-public gnome-todo
6251 (uri (string-append "mirror://gnome/sources/" name "/"
6252 (version-major+minor version) "/"
6253 name "-" version ".tar.xz"))
6254 (patches (search-patches "gnome-todo-libical-compat.patch"))
6257 "106xx1w18pxjmj5k0k2qjzi6b3c3kaz7b5kyrpknykibnr401ff9"))))
6258 (build-system meson-build-system)
6261 #:phases (modify-phases %standard-phases
6263 'install 'wrap-gnome-todo
6264 (lambda* (#:key inputs outputs #:allow-other-keys)
6265 (let ((out (assoc-ref outputs "out"))
6266 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6267 (python-path (getenv "PYTHONPATH")))
6268 (wrap-program (string-append out "/bin/gnome-todo")
6269 ;; XXX: gi plugins are broken.
6270 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6272 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6273 `("PYTHONPATH" ":" prefix (,python-path))))
6276 `(("gettext" ,gettext-minimal)
6277 ("gobject-introspection" ,gobject-introspection)
6278 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6279 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6280 ("pkg-config" ,pkg-config)))
6282 `(("rest" ,rest) ; For Todoist plugin
6283 ("json-glib" ,json-glib) ; For Todoist plugin
6284 ("libical" ,libical)
6285 ("libpeas" ,libpeas)
6286 ("python-pygobject" ,python-pygobject)
6287 ("evolution-data-server" ,evolution-data-server)
6288 ("gnome-online-accounts" ,gnome-online-accounts)
6289 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6290 (home-page "https://wiki.gnome.org/Apps/Todo")
6291 (synopsis "GNOME's ToDo Application")
6293 "GNOME To Do is a simplistic personal task manager designed to perfectly
6294 fit the GNOME desktop.")
6295 (license license:gpl3+)))
6297 (define-public gnome-dictionary
6299 (name "gnome-dictionary")
6303 (uri (string-append "mirror://gnome/sources/" name "/"
6304 (version-major+minor version) "/"
6305 name "-" version ".tar.xz"))
6308 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6309 (build-system meson-build-system)
6310 (arguments '(#:glib-or-gtk? #t
6311 #:phases (modify-phases %standard-phases
6312 (add-after 'unpack 'patch-install-script
6314 ;; This script attempts to compile glib schemas
6315 ;; and create an empty MIME database. We do
6316 ;; that elsewhere, so prevent it from running.
6317 (substitute* "build-aux/post-install.sh"
6318 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6321 `(("glib:bin" ,glib "bin")
6322 ("gobject-introspection" ,gobject-introspection)
6323 ("intltool" ,intltool)
6324 ("itstool" ,itstool)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)))
6328 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6330 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6331 (synopsis "Look up words in dictionary sources")
6333 "GNOME Dictionary can look for the definition or translation of a word in
6334 existing databases over the internet.")
6335 (license license:gpl3+)))
6337 (define-public gnome-tweak-tool
6339 (name "gnome-tweak-tool")
6343 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6344 (version-major+minor version) "/"
6345 "gnome-tweak-tool-" version ".tar.xz"))
6347 (search-patch "gnome-tweak-tool-search-paths.patch")))
6350 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
6351 (build-system glib-or-gtk-build-system)
6353 `(#:configure-flags '("--localstatedir=/tmp"
6354 "--sysconfdir=/tmp")
6355 #:imported-modules ((guix build python-build-system)
6356 ,@%glib-or-gtk-build-system-modules)
6357 #:phases (modify-phases %standard-phases
6360 (lambda* (#:key outputs #:allow-other-keys)
6361 (invoke "meson" "build"
6362 "--prefix" (assoc-ref outputs "out"))))
6364 (lambda _ (invoke "ninja" "-C" "build" "test")))
6366 (lambda* (#:key outputs #:allow-other-keys)
6367 (invoke "ninja" "-C" "build" "install")))
6368 (add-after 'install 'wrap-program
6369 (lambda* (#:key outputs #:allow-other-keys)
6370 (let ((out (assoc-ref outputs "out"))
6371 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6372 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6373 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6375 (add-after 'install 'wrap
6376 (@@ (guix build python-build-system) wrap)))))
6378 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6379 ("intltool" ,intltool)
6380 ("meson" ,meson-for-build)
6382 ("pkg-config" ,pkg-config)))
6384 `(("gnome-desktop" ,gnome-desktop)
6386 ("gobject-introspection" ,gobject-introspection)
6387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6388 ("libnotify" ,libnotify)
6389 ("libsoup" ,libsoup)
6390 ("nautilus" ,nautilus)
6392 ("python-pygobject" ,python-pygobject)))
6393 (synopsis "Customize advanced GNOME 3 options")
6394 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6396 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6397 GNOME 3. This includes things like the fonts used in user interface elements,
6398 alternative user interface themes, changes in window management behavior,
6399 GNOME Shell appearance and extension, etc.")
6400 (license license:gpl3+)))
6402 (define-public gnome-shell-extensions
6404 (name "gnome-shell-extensions")
6408 (uri (string-append "mirror://gnome/sources/" name "/"
6409 (version-major+minor version) "/"
6410 name "-" version ".tar.xz"))
6413 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
6414 (build-system gnu-build-system)
6416 '(#:configure-flags '("--enable-extensions=all")))
6418 `(("intltool" ,intltool)
6419 ("pkg-config" ,pkg-config)))
6422 ("glib" ,glib "bin")))
6423 (synopsis "Extensions for GNOME Shell")
6424 (description "GNOME Shell extensions modify and extend GNOME Shell
6425 functionality and behavior.")
6426 (home-page "https://extensions.gnome.org/")
6427 (license license:gpl3+)))
6429 (define-public arc-theme
6432 (version "20181022")
6436 (url "https://github.com/NicoHood/arc-theme.git")
6438 (file-name (git-file-name name version))
6441 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6442 (build-system gnu-build-system)
6445 (modify-phases %standard-phases
6446 ;; autogen.sh calls configure at the end of the script.
6448 (lambda _ (invoke "autoreconf" "-vfi"))))))
6450 `(("autoconf" ,autoconf)
6451 ("automake" ,automake)
6452 ("glib" ,glib "bin") ; for glib-compile-resources
6453 ("gnome-shell" ,gnome-shell)
6455 ("inkscape" ,inkscape)
6456 ("optipng" ,optipng)
6457 ("pkg-config" ,pkg-config)
6459 (synopsis "A flat GTK+ theme with transparent elements")
6460 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6461 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6462 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6463 (home-page "https://github.com/horst3180/arc-theme")
6464 ;; No "or later" language found.
6465 (license license:gpl3+)))
6467 (define-public faba-icon-theme
6469 (name "faba-icon-theme")
6474 (uri (string-append "https://github.com/moka-project/"
6475 name "/archive/v" version ".tar.gz"))
6476 (file-name (string-append name "-" version ".tar.gz"))
6479 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6480 (build-system meson-build-system)
6483 (modify-phases %standard-phases
6484 (add-before 'configure 'disable-post-install
6486 (substitute* "meson.build"
6487 (("meson.add_install_script.*") "")))))))
6489 `(("autoconf" ,autoconf)
6490 ("automake" ,automake)))
6491 (synopsis "Faba icon theme")
6493 "Faba is a minimal icon set used as a basis for other themes such as
6495 (home-page "https://snwh.org/moka")
6496 (license (list license:lgpl3+
6497 license:cc-by-sa4.0))))
6499 (define-public moka-icon-theme
6501 (inherit faba-icon-theme)
6502 (name "moka-icon-theme")
6506 (uri (string-append "https://github.com/moka-project"
6507 "/moka-icon-theme/archive/v"
6509 (file-name (string-append name "-" version ".tar.gz"))
6512 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6514 ;; Moka is based on Faba by using it as a fallback icon set instead of
6515 ;; bundling it, so we need to add it as a propagated input.
6516 `(("faba-icon-theme" ,faba-icon-theme)))
6517 (synopsis "Moka icon theme")
6518 (description "Moka is a stylized desktop icon set, designed to be clear,
6519 simple and consistent.")
6520 (license (list license:gpl3+
6521 license:cc-by-sa4.0))))
6523 (define-public arc-icon-theme
6525 (name "arc-icon-theme")
6526 (version "20161122")
6529 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6530 "/archive/" version ".tar.gz"))
6531 (file-name (string-append name "-" version ".tar.gz"))
6534 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6535 (build-system gnu-build-system)
6538 (modify-phases %standard-phases
6539 (add-after 'unpack 'disable-configure-during-bootstrap
6541 (substitute* "autogen.sh"
6542 (("^\"\\$srcdir/configure\".*") ""))
6545 `(("autoconf" ,autoconf)
6546 ("automake" ,automake)))
6547 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6549 `(("moka-icon-theme" ,moka-icon-theme)))
6550 (synopsis "Arc icon theme")
6551 (description "The Arc icon theme provides a set of icons matching the
6552 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6553 the Moka icon theme.")
6554 (home-page "https://github.com/horst3180/arc-icon-theme")
6555 (license license:gpl3+)))
6557 (define-public folks
6564 "mirror://gnome/sources/" name "/"
6565 (version-major+minor version) "/"
6566 name "-" version ".tar.xz"))
6569 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6570 (build-system glib-or-gtk-build-system)
6573 ("dbus-glib" ,dbus-glib)
6574 ("evolution-data-server" ,evolution-data-server)
6577 ("telepathy-glib" ,telepathy-glib)))
6579 `(("gobject-introspection" ,gobject-introspection)
6580 ("intltool" ,intltool)
6581 ("pkg-config" ,pkg-config)
6583 (synopsis "Library to aggregate data about people")
6584 (description "Libfolks is a library that aggregates information about people
6585 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6586 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6587 etc.) to create metacontacts. It's written in Vala, which generates C code when
6589 (home-page "https://wiki.gnome.org/Projects/Folks")
6590 (license license:lgpl2.1+)))
6592 (define-public gfbgraph
6599 "mirror://gnome/sources/" name "/"
6600 (version-major+minor version) "/"
6601 name "-" version ".tar.xz"))
6604 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6605 (build-system glib-or-gtk-build-system)
6607 `(#:tests? #f ; Tests appear to require the network.
6608 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6609 #:configure-flags '("--disable-gtk-doc"
6611 "--enable-introspection")))
6613 `(("pkg-config" ,pkg-config)
6614 ("gobject-introspection" ,gobject-introspection)))
6616 `(("json-glib" ,json-glib)
6617 ("gnome-online-accounts" ,gnome-online-accounts)
6619 (synopsis "GLib/GObject wrapper for the Facebook API")
6620 (description "This library allows you to use the Facebook API from
6621 GLib/GObject code.")
6622 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6623 (license license:lgpl2.1+)))
6625 (define-public libgnomekbd
6627 (name "libgnomekbd")
6628 (version "3.22.0.1")
6631 (uri (string-append "mirror://gnome/sources/" name "/"
6632 (version-major+minor version) "/"
6633 name "-" version ".tar.xz"))
6636 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6637 (build-system gnu-build-system)
6639 `(("pkg-config" ,pkg-config)
6640 ("glib" ,glib "bin")
6641 ("intltool" ,intltool)))
6643 ;; Referred to in .h files and .pc.
6646 ("libxklavier" ,libxklavier)))
6647 (home-page "https://www.gnome.org")
6648 (synopsis "GNOME keyboard configuration library")
6650 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6651 environment, which can notably display keyboard layouts.")
6652 (license license:lgpl2.0+)))
6654 ;;; This package is no longer maintained:
6655 ;;; https://wiki.gnome.org/Attic/LibUnique
6656 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6657 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6658 (define-public libunique
6664 (uri (string-append "mirror://gnome/sources/" name "/"
6665 (version-major+minor version) "/"
6666 name "-" version ".tar.xz"))
6669 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6670 (build-system glib-or-gtk-build-system)
6672 `(#:configure-flags '("--disable-static"
6673 "--disable-dbus" ; use gdbus
6674 "--enable-introspection")))
6676 `(("pkg-config" ,pkg-config)
6677 ("gobject-introspection" ,gobject-introspection)
6678 ("glib:bin" ,glib "bin")
6679 ("gtk-doc" ,gtk-doc)))
6681 ;; Referred to in .h files and .pc.
6683 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6684 (synopsis "Library for writing single instance applications")
6686 "Libunique is a library for writing single instance applications. If you
6687 launch a single instance application twice, the second instance will either just
6688 quit or will send a message to the running instance. Libunique makes it easy to
6689 write this kind of application, by providing a base class, taking care of all
6690 the IPC machinery needed to send messages to a running instance, and also
6691 handling the startup notification side.")
6692 (license license:lgpl2.1+)))
6694 (define-public gnome-calculator
6696 (name "gnome-calculator")
6701 (uri (string-append "mirror://gnome/sources/" name "/"
6702 (version-major+minor version) "/"
6703 name "-" version ".tar.xz"))
6706 "1iv3b3mvqxm17r5gv15dyq6gz08w0ljhzgbf22xnnfnpzhvmn8b2"))))
6707 (build-system glib-or-gtk-build-system)
6709 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6710 ("intltool" ,intltool)
6711 ("itstool" ,itstool)
6712 ("pkg-config" ,pkg-config)))
6714 `(("gtksourceview" ,gtksourceview)
6715 ("libsoup" ,libsoup)
6718 (home-page "https://wiki.gnome.org/Apps/Calculator")
6719 (synopsis "Desktop calculator")
6721 "Calculator is an application that solves mathematical equations and
6722 is suitable as a default application in a Desktop environment.")
6723 (license license:gpl3)))
6732 (uri (string-append "https://launchpad.net/xpad/trunk/"
6733 version "/+download/"
6734 name "-" version ".tar.bz2"))
6737 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
6738 (build-system gnu-build-system)
6740 `(("autoconf" ,autoconf)
6741 ("automake" ,automake)
6742 ("gtk+:bin" ,gtk+ "bin")
6743 ("intltool" ,intltool)
6744 ("pkg-config" ,pkg-config)))
6746 `(("gtksourceview" ,gtksourceview)
6748 (home-page "https://wiki.gnome.org/Apps/Xpad")
6749 (synopsis "Virtual sticky note")
6751 "Xpad is a sticky note that strives to be simple, fault tolerant,
6752 and customizable. Xpad consists of independent pad windows, each is
6753 basically a text box in which notes can be written.")
6754 (license license:gpl3+)))
6756 (define-public gucharmap
6763 (uri (string-append "mirror://gnome/sources/" name "/"
6764 (version-major+minor version) "/"
6765 name "-" version ".tar.xz"))
6768 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6769 (build-system glib-or-gtk-build-system)
6771 `(("desktop-file-utils" ,desktop-file-utils)
6772 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6773 ("gobject-introspection" ,gobject-introspection)
6774 ("intltool" ,intltool)
6775 ("itstool" ,itstool)
6776 ("pkg-config" ,pkg-config)))
6779 ("xmllint" ,libxml2)))
6780 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6781 (synopsis "Unicode character picker and font browser")
6783 "This program allows you to browse through all the available Unicode
6784 characters and categories for the installed fonts, and to examine their
6785 detailed properties. It is an easy way to find the character you might
6786 only know by its Unicode name or code point.")
6787 (license license:gpl3+)))
6789 (define-public bluefish
6796 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6797 name "-" version ".tar.gz"))
6800 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
6801 (build-system gnu-build-system)
6803 `(("desktop-file-utils" ,desktop-file-utils)
6804 ("intltool" ,intltool)
6805 ("pkg-config" ,pkg-config)))
6807 `(("enchant" ,enchant)
6809 ("python" ,python-2)
6810 ("xmllint" ,libxml2)
6811 ("gucharmap" ,gucharmap)))
6812 (home-page "http://bluefish.openoffice.nl")
6813 (synopsis "Web development studio")
6815 "Bluefish is an editor targeted towards programmers and web developers,
6816 with many options to write web sites, scripts and other code.
6817 Bluefish supports many programming and markup languages.")
6818 (license license:gpl3+)))
6820 (define-public gnome-system-monitor
6822 (name "gnome-system-monitor")
6827 (uri (string-append "mirror://gnome/sources/" name "/"
6828 (version-major+minor version) "/"
6829 name "-" version ".tar.xz"))
6832 "1cz6s0cvagj422f9dc231nvg8jsfkva5s81skpq4q5jyrb1ahj7q"))))
6833 (build-system glib-or-gtk-build-system)
6835 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6836 ("intltool" ,intltool)
6837 ("itstool" ,itstool)
6838 ("libgtop" ,libgtop)
6839 ("pkg-config" ,pkg-config)))
6841 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6844 ("librsvg" ,librsvg)
6845 ("libxml2" ,libxml2)))
6846 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6847 (synopsis "Process viewer and system resource monitor for GNOME")
6849 "GNOME System Monitor is a GNOME process viewer and system monitor with
6850 an attractive, easy-to-use interface. It has features, such as a tree view
6851 for process dependencies, icons for processes, the ability to hide processes,
6852 graphical time histories of CPU/memory/swap usage and the ability to
6853 kill/reinice processes.")
6854 (license license:gpl2+)))
6856 (define-public python-pyatspi
6858 (name "python-pyatspi")
6863 "mirror://gnome/sources/pyatspi/"
6864 (version-major+minor version)
6865 "/pyatspi-" version ".tar.xz"))
6868 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6869 (build-system gnu-build-system)
6871 `(("pkg-config" ,pkg-config)))
6873 `(("python" ,python)
6874 ("python-pygobject" ,python-pygobject)))
6875 (synopsis "Python client bindings for D-Bus AT-SPI")
6876 (home-page "https://wiki.linuxfoundation.org/accessibility\
6877 /atk/at-spi/at-spi_on_d-bus")
6879 "This package includes a python client library for the AT-SPI D-Bus
6880 accessibility infrastructure.")
6881 (license license:lgpl2.0)
6882 (properties '((upstream-name . "pyatspi")))))
6891 "mirror://gnome/sources/" name "/"
6892 (version-major+minor version) "/"
6893 name "-" version ".tar.xz"))
6896 "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7"))))
6897 (build-system glib-or-gtk-build-system)
6900 (modify-phases %standard-phases
6901 (add-before 'configure 'qualify-xkbcomp
6902 (lambda* (#:key inputs #:allow-other-keys)
6903 (let ((xkbcomp (string-append
6904 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6905 (substitute* "src/orca/orca.py"
6906 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6908 (add-after 'install 'wrap-orca
6909 (lambda* (#:key outputs #:allow-other-keys)
6910 (let* ((out (assoc-ref outputs "out"))
6911 (prog (string-append out "/bin/orca")))
6913 `("GI_TYPELIB_PATH" ":" prefix
6914 (,(getenv "GI_TYPELIB_PATH")))
6915 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6916 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6917 `("PYTHONPATH" ":" prefix
6918 (,(getenv "PYTHONPATH")))))
6921 `(("intltool" ,intltool)
6922 ("itstool" ,itstool)
6923 ("pkg-config" ,pkg-config)
6924 ("xmllint" ,libxml2)))
6926 `(("at-spi2-atk" ,at-spi2-atk)
6927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6928 ("gstreamer" ,gstreamer)
6929 ("gst-plugins-base" ,gst-plugins-base)
6930 ("gst-plugins-good" ,gst-plugins-good)
6933 ("python-pygobject" ,python-pygobject)
6934 ("python-pyatspi" ,python-pyatspi)
6935 ("python-speechd" ,speech-dispatcher)
6936 ("xkbcomp" ,xkbcomp)))
6938 "Screen reader for individuals who are blind or visually impaired")
6939 (home-page "https://wiki.gnome.org/Projects/Orca")
6941 "Orca is a screen reader that provides access to the graphical desktop
6942 via speech and refreshable braille. Orca works with applications and toolkits
6943 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6944 (license license:lgpl2.1+)))
6946 (define-public gspell
6952 (uri (string-append "mirror://gnome/sources/" name "/"
6953 (version-major+minor version) "/"
6954 name "-" version ".tar.xz"))
6957 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
6958 (patches (search-patches "gspell-dash-test.patch"))))
6959 (build-system glib-or-gtk-build-system)
6962 (modify-phases %standard-phases
6963 (add-before 'check 'pre-check
6964 (lambda* (#:key inputs #:allow-other-keys)
6965 ;; Tests require a running X server.
6966 (system "Xvfb :1 &")
6967 (setenv "DISPLAY" ":1")
6969 ;; For the missing /etc/machine-id.
6970 (setenv "DBUS_FATAL_WARNINGS" "0")
6972 ;; Allow Enchant and its Aspell backend to find the en_US
6974 (setenv "ASPELL_DICT_DIR"
6975 (string-append (assoc-ref inputs "aspell-dict-en")
6981 ("iso-codes" ,iso-codes)))
6983 `(("glib" ,glib "bin")
6984 ("pkg-config" ,pkg-config)
6985 ("xmllint" ,libxml2)
6988 ("aspell-dict-en" ,aspell-dict-en)
6989 ("xorg-server" ,xorg-server)))
6991 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
6992 (home-page "https://wiki.gnome.org/Projects/gspell")
6993 (synopsis "GNOME's alternative spell checker")
6995 "gspell provides a flexible API to add spell-checking to a GTK+
6996 application. It provides a GObject API, spell-checking to text entries and
6997 text views, and buttons to choose the language.")
6998 (license license:gpl2+)))
7000 (define-public gnome-planner
7002 (name "gnome-planner")
7006 (uri (string-append "mirror://gnome/sources/planner/"
7007 (version-major+minor version) "/planner-"
7011 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7012 (build-system glib-or-gtk-build-system)
7014 ;; Disable the Python bindings because the Planner program functions
7015 ;; without them, and (as of 2017-06-13) we have not packaged all of
7016 ;; packages that are necessary for building the Python bindings.
7018 (list "--disable-python"
7019 ,@(if (string=? "aarch64-linux" (%current-system))
7020 '("--build=aarch64-unknown-linux-gnu")
7023 `(("libgnomecanvas" ,libgnomecanvas)
7024 ("libgnomeui" ,libgnomeui)
7025 ("libglade" ,libglade)
7026 ("gnome-vfs" ,gnome-vfs)
7028 ("libxml2" ,libxml2)
7029 ("libxslt" ,libxslt)
7033 `(("intltool" ,intltool)
7034 ("scrollkeeper" ,scrollkeeper)
7035 ("pkg-config" ,pkg-config)))
7036 (home-page "https://wiki.gnome.org/Apps/Planner")
7037 (synopsis "Project management software for the GNOME desktop")
7039 "GNOME Planner is a project management tool based on the Work Breakdown
7040 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7041 the resources, tasks, and constraints that you define, Planner generates
7042 various views into a project. For example, Planner can show a Gantt chart of
7043 the project. It can show a detailed summary of tasks including their
7044 duration, cost, and current progress. It can also show a report of resource
7045 utilization that highlights under-utilized and over-utilized resources. These
7046 views can be printed as PDF or PostScript files, or exported to HTML.")
7047 (license license:gpl2+)))
7049 (define-public lollypop
7056 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7057 "e4df2ed75c5ed71d64afcc668e579b2a/"
7058 name "-" version ".tar.xz"))
7061 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7062 (build-system meson-build-system)
7064 `(#:imported-modules ((guix build python-build-system)
7065 ,@%meson-build-system-modules)
7067 #:tests? #f ; no test suite
7069 (modify-phases %standard-phases
7070 (add-after 'install 'wrap-program
7071 (lambda* (#:key outputs #:allow-other-keys)
7072 (let ((out (assoc-ref outputs "out"))
7073 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7074 (wrap-program (string-append out "/bin/lollypop")
7075 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7077 (add-after 'install 'wrap
7078 (@@ (guix build python-build-system) wrap)))))
7080 `(("intltool" ,intltool)
7081 ("itstool" ,itstool)
7082 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7083 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7084 ("pkg-config" ,pkg-config)))
7086 `(("gobject-introspection" ,gobject-introspection)
7087 ("gst-plugins-base" ,gst-plugins-base)
7088 ("libnotify" ,libnotify)
7089 ("libsecret" ,libsecret)
7090 ("libsoup" ,libsoup)
7092 ("python-beautifulsoup4" ,python-beautifulsoup4)
7093 ("python-gst" ,python-gst)
7094 ("python-pycairo" ,python-pycairo)
7095 ("python-pygobject" ,python-pygobject)
7096 ("python-pylast" ,python-pylast)
7097 ("totem-pl-parser" ,totem-pl-parser)
7098 ("webkitgtk" ,webkitgtk)))
7100 `(;; gst-plugins-base is required to start Lollypop,
7101 ;; the others are required to play streaming.
7102 ("gst-plugins-good" ,gst-plugins-good)
7103 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7104 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7105 (synopsis "GNOME music playing application")
7107 "Lollypop is a music player designed to play well with GNOME desktop.
7108 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7109 from artists and tracks from the web. It also fetches cover artworks
7110 automatically and it can stream songs from online music services and charts.")
7111 (license license:gpl3+)))
7113 (define-public gnome-video-effects
7115 (name "gnome-video-effects")
7119 (uri (string-append "mirror://gnome/sources/" name "/"
7120 (version-major+minor version) "/" name "-"
7124 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7125 (build-system glib-or-gtk-build-system)
7127 `(#:out-of-source? #f))
7129 `(("glib:bin" ,glib "bin")
7130 ("intltool" ,intltool)
7131 ("gettext" ,gettext-minimal)
7132 ("pkg-config" ,pkg-config)))
7133 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7134 (synopsis "Video effects for Cheese and other GNOME applications")
7136 "A collection of GStreamer video filters and effects to be used in
7137 photo-booth-like software, such as Cheese.")
7138 (license license:gpl2+)))
7140 (define-public cheese
7146 (uri (string-append "mirror://gnome/sources/" name "/"
7147 (version-major+minor version) "/" name "-"
7151 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7153 ;; Tests require GDK.
7156 (modify-phases %standard-phases
7157 (add-before 'install 'skip-gtk-update-icon-cache
7159 ;; Don't create 'icon-theme.cache'
7160 (substitute* "Makefile"
7161 (("gtk-update-icon-cache") (which "true")))
7163 (add-after 'install 'wrap-cheese
7164 (lambda* (#:key inputs outputs #:allow-other-keys)
7165 (let ((out (assoc-ref outputs "out"))
7166 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7167 (wrap-program (string-append out "/bin/cheese")
7168 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7170 (build-system glib-or-gtk-build-system)
7172 `(("glib:bin" ,glib "bin")
7173 ("intltool" ,intltool)
7174 ("itstool" ,itstool)
7175 ("libxml2" ,libxml2)
7176 ("pkg-config" ,pkg-config)
7179 `(("gnome-video-effects" ,gnome-video-effects)))
7181 `(("clutter" ,clutter)
7182 ("clutter-gst" ,clutter-gst)
7183 ("clutter-gtk" ,clutter-gtk)
7184 ("gdk-pixbuf" ,gdk-pixbuf)
7186 ("gnome-desktop" ,gnome-desktop)
7187 ("gobject-introspection" ,gobject-introspection)
7188 ("gstreamer" ,gstreamer)
7189 ("gst-plugins-base" ,gst-plugins-base)
7190 ("gst-plugins-bad" ,gst-plugins-bad)
7192 ("libcanberra" ,libcanberra)
7194 ("libxtst" ,libxtst)))
7195 (home-page "https://wiki.gnome.org/Apps/Cheese")
7196 (synopsis "Webcam photo booth software for GNOME")
7198 "Cheese uses your webcam to take photos and videos. Cheese can also
7199 apply fancy special effects and lets you share the fun with others.")
7200 (license license:gpl2+)))
7202 (define-public sound-juicer
7204 (name "sound-juicer")
7209 (uri (string-append "mirror://gnome/sources/" name "/"
7210 (version-major+minor version) "/"
7211 name "-" version ".tar.xz"))
7214 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7215 (build-system glib-or-gtk-build-system)
7217 `(("desktop-file-utils" ,desktop-file-utils)
7218 ("intltool" ,intltool)
7219 ("itstool" ,itstool)
7220 ("pkg-config" ,pkg-config)
7221 ("xmllint" ,libxml2)))
7224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7225 ("gstreamer" ,gstreamer)
7226 ("gst-plugins-base" ,gst-plugins-base)
7227 ("gst-plugins-good" ,gst-plugins-good)
7228 ("iso-codes" ,iso-codes)
7229 ("libbrasero-media3" ,brasero)
7230 ("libcanberra" ,libcanberra)
7231 ("libdiscid" ,libdiscid)
7232 ("libmusicbrainz" ,libmusicbrainz)
7234 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7235 (synopsis "Audio music cd ripper")
7236 (description "Sound Juicer extracts audio from compact discs and convert it
7237 into audio files that a personal computer or digital audio player can play.
7238 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7239 mp3, Ogg Vorbis and FLAC")
7240 (license license:gpl2+)))
7242 (define-public soundconverter
7244 (name "soundconverter")
7249 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7250 version "/+download/"
7251 "soundconverter-" version ".tar.xz"))
7255 "1wrxf5py54xplrf97qp24pzbis0cvax5c6k0c7vr3z3ry8r7gd7c"))
7258 "soundconverter-remove-gconf-dependency.patch"))))
7259 (build-system glib-or-gtk-build-system)
7261 `(#:imported-modules ((guix build python-build-system)
7262 (guix build glib-or-gtk-build-system)
7263 ,@%gnu-build-system-modules)
7265 #:modules ((guix build glib-or-gtk-build-system)
7267 ((guix build gnu-build-system) #:prefix gnu:)
7268 ((guix build python-build-system) #:prefix python:))
7271 (modify-phases %standard-phases
7272 (add-after 'unpack 'fix-POTFILES.in
7274 (substitute* "po/POTFILES.in"
7275 ;; This file doesn't exist, so without removing it, the 'check
7276 ;; phase fails for the po directory
7277 (("soundconverter/gconfstore\\.py") ""))))
7278 (add-after 'install 'wrap-soundconverter-for-python
7279 (assoc-ref python:%standard-phases 'wrap))
7280 (add-after 'install 'wrap-soundconverter
7281 (lambda* (#:key inputs outputs #:allow-other-keys)
7282 (let ((out (assoc-ref outputs "out"))
7283 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7284 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7285 (wrap-program (string-append out "/bin/soundconverter")
7286 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7287 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7290 `(("intltool" ,intltool)
7291 ("pkg-config" ,pkg-config)
7292 ("glib:bin" ,glib "bin")))
7296 ("python-pygobject" ,python-pygobject)
7297 ("gstreamer" ,gstreamer)
7298 ("gst-plugins-base" ,gst-plugins-base)))
7299 (home-page "http://soundconverter.org/")
7300 (synopsis "Convert between audio formats with a graphical interface")
7302 "SoundConverter supports converting between many audio formats including
7303 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7304 configurable file renaming. ")
7305 (license license:gpl3)))
7307 (define-public workrave
7308 (let ((commit "v1_10_21"))
7311 (version (string-map (match-lambda
7314 (string-drop commit 1)))
7318 (url "https://github.com/rcaelers/workrave.git")
7320 (file-name (git-file-name name version))
7323 "150qca8c552fakjlzkgarsxgp87l1xcwn19svqsa9d0cygqxjgia"))))
7324 (build-system glib-or-gtk-build-system)
7325 (propagated-inputs `(("glib" ,glib)
7327 ("gdk-pixbuf" ,gdk-pixbuf)
7331 ("libxtst" ,libxtst)
7333 ("libice" ,libice)))
7334 (inputs `(("libsm" ,libsm)
7335 ("python-cheetah" ,python2-cheetah)))
7336 (native-inputs `(("glib" ,glib "bin")
7337 ("pkg-config" ,pkg-config)
7338 ("gettext" ,gnu-gettext)
7339 ("autoconf" ,autoconf)
7340 ("autoconf-archive" , autoconf-archive)
7341 ("automake" ,automake)
7342 ("libtool" ,libtool)
7343 ("intltool" ,intltool)
7344 ("libxscrnsaver" ,libxscrnsaver)
7345 ("gobject-introspection" ,gobject-introspection)
7346 ("python2" ,python-2)))
7347 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7349 "Workrave is a program that assists in the recovery and prevention of
7350 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7351 micro-pauses and rest breaks, and restricts you to your daily limit.")
7352 (home-page "http://www.workrave.org")
7353 (license license:gpl3+))))
7361 (uri (string-append "mirror://gnome/sources/" name "/"
7362 (version-major+minor version) "/"
7363 name "-" version ".tar.xz"))
7366 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7367 (build-system glib-or-gtk-build-system)
7369 `(("pkg-config" ,pkg-config)
7370 ("gnome-common" ,gnome-common)
7372 ("intltool" ,intltool)
7373 ("yelp-tools" ,yelp-tools)
7374 ("desktop-file-utils" ,desktop-file-utils))) ;for 'desktop-file-validate'
7378 (synopsis "GNOME hexadecimal editor")
7379 (description "The GHex program can view and edit files in two ways:
7380 hexadecimal or ASCII. It is useful for editing binary files in general.")
7381 (home-page "https://wiki.gnome.org/Apps/Ghex")
7382 (license license:gpl2)))
7384 (define-public libdazzle
7390 (uri (string-append "mirror://gnome/sources/" name "/"
7391 (version-major+minor version) "/"
7392 name "-" version ".tar.xz"))
7395 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7396 (build-system meson-build-system)
7399 (modify-phases %standard-phases
7400 (add-after 'unpack 'disable-failing-test
7402 ;; Disable failing test.
7403 (substitute* "tests/meson.build"
7404 (("test\\('test-application") "#"))
7406 (add-before 'check 'pre-check
7408 ;; Tests require a running X server.
7409 (system "Xvfb :1 &")
7410 (setenv "DISPLAY" ":1")
7413 `(("glib" ,glib "bin") ; glib-compile-resources
7414 ("pkg-config" ,pkg-config)
7416 ("xorg-server" ,xorg-server)))
7419 ("gobject-introspection" ,gobject-introspection)
7422 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7423 (synopsis "Companion library to GObject and Gtk+")
7424 (description "The libdazzle library is a companion library to GObject and
7425 Gtk+. It provides various features that the authors wish were in the
7426 underlying library but cannot for various reasons. In most cases, they are
7427 wildly out of scope for those libraries. In other cases, they are not quite
7428 generic enough to work for everyone.")
7429 (license license:gpl3+)))