1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 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, 2019 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, 2019 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 (gnu packages)
54 #:use-module (gnu packages admin)
55 #:use-module (gnu packages aspell)
56 #:use-module (gnu packages autotools)
57 #:use-module (gnu packages avahi)
58 #:use-module (gnu packages backup)
59 #:use-module (gnu packages base)
60 #:use-module (gnu packages bison)
61 #:use-module (gnu packages build-tools)
62 #:use-module (gnu packages calendar)
63 #:use-module (gnu packages cdrom)
64 #:use-module (gnu packages check)
65 #:use-module (gnu packages cmake)
66 #:use-module (gnu packages compression)
67 #:use-module (gnu packages cups)
68 #:use-module (gnu packages curl)
69 #:use-module (gnu packages cyrus-sasl)
70 #:use-module (gnu packages databases)
71 #:use-module (gnu packages dbm)
72 #:use-module (gnu packages djvu)
73 #:use-module (gnu packages dns)
74 #:use-module (gnu packages docbook)
75 #:use-module (gnu packages documentation)
76 #:use-module (gnu packages enchant)
77 #:use-module (gnu packages flex)
78 #:use-module (gnu packages fonts)
79 #:use-module (gnu packages fontutils)
80 #:use-module (gnu packages freedesktop)
81 #:use-module (gnu packages game-development)
82 #:use-module (gnu packages gcc)
83 #:use-module (gnu packages gettext)
84 #:use-module (gnu packages ghostscript)
85 #:use-module (gnu packages gl)
86 #:use-module (gnu packages glib)
87 #:use-module (gnu packages gnupg)
88 #:use-module (gnu packages gnuzilla)
89 #:use-module (gnu packages gperf)
90 #:use-module (gnu packages graphviz)
91 #:use-module (gnu packages gstreamer)
92 #:use-module (gnu packages gtk)
93 #:use-module (gnu packages guile)
94 #:use-module (gnu packages ibus)
95 #:use-module (gnu packages image)
96 #:use-module (gnu packages imagemagick)
97 #:use-module (gnu packages inkscape)
98 #:use-module (gnu packages iso-codes)
99 #:use-module (gnu packages kerberos)
100 #:use-module (gnu packages libcanberra)
101 #:use-module (gnu packages libunistring)
102 #:use-module (gnu packages libusb)
103 #:use-module (gnu packages linux)
104 #:use-module (gnu packages lirc)
105 #:use-module (gnu packages lua)
106 #:use-module (gnu packages mail)
107 #:use-module (gnu packages multiprecision)
108 #:use-module (gnu packages music)
109 #:use-module (gnu packages ncurses)
110 #:use-module (gnu packages nettle)
111 #:use-module (gnu packages networking)
112 #:use-module (gnu packages ninja)
113 #:use-module (gnu packages openldap)
114 #:use-module (gnu packages password-utils)
115 #:use-module (gnu packages pcre)
116 #:use-module (gnu packages pdf)
117 #:use-module (gnu packages perl)
118 #:use-module (gnu packages photo)
119 #:use-module (gnu packages pkg-config)
120 #:use-module (gnu packages polkit)
121 #:use-module (gnu packages popt)
122 #:use-module (gnu packages pulseaudio)
123 #:use-module (gnu packages python)
124 #:use-module (gnu packages python-crypto)
125 #:use-module (gnu packages python-web)
126 #:use-module (gnu packages python-xyz)
127 #:use-module (gnu packages rdesktop)
128 #:use-module (gnu packages readline)
129 #:use-module (gnu packages ruby)
130 #:use-module (gnu packages samba)
131 #:use-module (gnu packages scanner)
132 #:use-module (gnu packages selinux)
133 #:use-module (gnu packages slang)
134 #:use-module (gnu packages speech)
135 #:use-module (gnu packages spice)
136 #:use-module (gnu packages sqlite)
137 #:use-module (gnu packages ssh)
138 #:use-module (gnu packages tex)
139 #:use-module (gnu packages time)
140 #:use-module (gnu packages tls)
141 #:use-module (gnu packages version-control)
142 #:use-module (gnu packages video)
143 #:use-module (gnu packages virtualization)
144 #:use-module (gnu packages vpn)
145 #:use-module (gnu packages web)
146 #:use-module (gnu packages web)
147 #:use-module (gnu packages webkit)
148 #:use-module (gnu packages xdisorg)
149 #:use-module (gnu packages xiph)
150 #:use-module (gnu packages xml)
151 #:use-module (gnu packages xorg)
152 #:use-module (gnu packages xorg)
153 #:use-module (gnu artwork)
154 #:use-module (guix build-system cmake)
155 #:use-module (guix build-system glib-or-gtk)
156 #:use-module (guix build-system gnu)
157 #:use-module (guix build-system meson)
158 #:use-module (guix build-system trivial)
159 #:use-module (guix download)
160 #:use-module (guix git-download)
161 #:use-module ((guix licenses) #:prefix license:)
162 #:use-module (guix packages)
163 #:use-module (guix utils)
164 #:use-module (guix gexp)
165 #:use-module (ice-9 match)
166 #:use-module (srfi srfi-1))
168 (define-public brasero
174 (uri (string-append "mirror://gnome/sources/" name "/"
175 (version-major+minor version) "/"
176 name "-" version ".tar.xz"))
179 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
180 (build-system glib-or-gtk-build-system)
182 `(#:configure-flags (list
183 (string-append "--with-girdir="
184 (assoc-ref %outputs "out")
186 (string-append "--with-typelibdir="
187 (assoc-ref %outputs "out")
188 "/lib/girepository-1.0"))
190 (modify-phases %standard-phases
191 (add-before 'configure 'embed-growisofs
192 (lambda* (#:key inputs #:allow-other-keys)
193 (substitute* "plugins/growisofs/burn-growisofs.c"
194 (("\"growisofs") (string-append "\"" (which "growisofs"))))
197 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
199 `(("intltool" ,intltool)
200 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
201 ("gobject-introspection" ,gobject-introspection)
202 ("pkg-config" ,pkg-config)))
204 `(("dvd+rw-tools" ,dvd+rw-tools)
206 ("gnome-doc-utils" ,gnome-doc-utils)
207 ("gstreamer" ,gstreamer)
208 ("gst-plugins-base" ,gst-plugins-base)
211 ("libcanberra" ,libcanberra)
213 ("libnotify" ,libnotify)
217 ("totem-pl-parser" ,totem-pl-parser)))
218 (home-page "https://projects.gnome.org/brasero/")
219 (synopsis "CD/DVD burning tool for Gnome")
220 (description "Brasero is an application to burn CD/DVD for the Gnome
221 Desktop. It is designed to be as simple as possible and has some unique
222 features to enable users to create their discs easily and quickly.")
223 (license license:gpl2+)))
225 (define-public deja-dup
231 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
234 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
236 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
237 (build-system glib-or-gtk-build-system)
239 `(#:modules ((guix build gnu-build-system)
240 ((guix build cmake-build-system) #:prefix cmake:)
241 (guix build glib-or-gtk-build-system)
243 #:imported-modules (,@%glib-or-gtk-build-system-modules
244 (guix build cmake-build-system))
246 #:configure-flags (list (string-append
247 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
249 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
251 (modify-phases %standard-phases
252 (add-after 'unpack 'patch-lockfile-deletion
254 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
258 (assoc-ref cmake:%standard-phases 'configure))
259 (delete 'check) ;; Fails due to issues with DBus
260 (add-after 'install 'wrap-deja-dup
261 (lambda* (#:key inputs outputs #:allow-other-keys)
262 (let ((python (assoc-ref inputs "python"))
263 (python-path (getenv "PYTHONPATH"))
264 (duplicity (assoc-ref inputs "duplicity"))
265 (out (assoc-ref outputs "out")))
268 (wrap-program program
269 `("PATH" ":" prefix (,(string-append python "/bin")
270 ,(string-append duplicity "/bin"))))
271 (wrap-program program
272 `("PYTHONPATH" ":" prefix (,python-path))))
274 (find-files (string-append out "/bin")))
277 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
278 ("gobject-introspection" ,gobject-introspection)
279 ("duplicity" ,duplicity)
281 ("python-pygobject" ,python2-pygobject)
283 ("libnotify" ,libnotify)
285 ("libsecret" ,libsecret)
286 ("packagekit" ,packagekit)))
288 `(("pkg-config" ,pkg-config)
290 ("gettext" ,gettext-minimal)
292 ("intltool" ,intltool)
294 (home-page "https://launchpad.net/deja-dup")
295 (synopsis "Simple backup tool, for regular encrypted backups")
297 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
298 uses duplicity as the backend, which supports incremental backups and storage
299 either on a local, or remote machine via a number of methods.")
300 (license license:gpl3+)))
303 ;; This version from GNOME's repository includes fixes for compiling with
304 ;; recent versions of the build tools. The latest activity on the
305 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
307 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
310 (version (string-append "0.97.2-" (string-take commit 7)))
314 (url "https://git.gnome.org/browse/dia")
316 (file-name (string-append name "-" version "-checkout"))
319 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
320 (build-system gnu-build-system)
322 `(("glib" ,glib "bin")
324 ("gdk-pixbuf" ,gdk-pixbuf)
327 ("freetype" ,freetype)
328 ("libart-lgpl" ,libart-lgpl)))
330 `(("intltool" ,intltool)
331 ("pkg-config" ,pkg-config)
332 ("automake" ,automake)
333 ("autoconf" ,autoconf)
336 ("python-wrapper" ,python-wrapper)))
339 (modify-phases %standard-phases
340 (add-after 'unpack 'run-autogen
342 (system* "sh" "autogen.sh"))))))
343 (home-page "https://wiki.gnome.org/Apps/Dia")
344 (synopsis "Diagram creation for GNOME")
345 (description "Dia can be used to draw different types of diagrams, and
346 includes support for UML static structure diagrams (class diagrams), entity
347 relationship modeling, and network diagrams. The program supports various file
348 formats like PNG, SVG, PDF and EPS.")
349 (license license:gpl2+))))
351 (define-public libgdata
357 (uri (string-append "mirror://gnome/sources/" name "/"
358 (version-major+minor version) "/"
359 name "-" version ".tar.xz"))
362 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
364 (search-patches "libgdata-fix-tests.patch"
365 "libgdata-glib-duplicate-tests.patch"))))
366 (build-system gnu-build-system)
369 (modify-phases %standard-phases
370 (add-before 'check 'disable-failing-tests
372 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
373 ;; They have been removed in libgdata 0.17.6, so just do the same.
374 (substitute* "gdata/tests/Makefile"
375 (("picasaweb\\$\\(EXEEXT\\) ") ""))
378 `(("glib:bin" ,glib "bin")
379 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
380 ("intltool" ,intltool)
381 ("pkg-config" ,pkg-config)
382 ("uhttpmock" ,uhttpmock)))
384 `(("cyrus-sasl" ,cyrus-sasl)
386 ("glib-networking" ,glib-networking)
387 ("json-glib" ,json-glib)
388 ("libsoup" ,libsoup)))
391 ("gnome-online-accounts" ,gnome-online-accounts)
392 ("liboauth" ,liboauth)
393 ("libxml2" ,libxml2)))
394 (home-page "https://wiki.gnome.org/Projects/libgdata")
395 (synopsis "Library for accessing online service APIs")
397 "libgdata is a GLib-based library for accessing online service APIs using
398 the GData protocol — most notably, Google's services. It provides APIs to
399 access the common Google services, and has full asynchronous support.")
400 (license license:lgpl2.1+)))
402 (define-public libgxps
408 (uri (string-append "mirror://gnome/sources/" name "/"
409 (version-major+minor version) "/"
410 name "-" version ".tar.xz"))
413 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
414 (build-system meson-build-system)
416 `(("gobject-introspection" ,gobject-introspection)
417 ("pkg-config" ,pkg-config)))
420 ("libjpeg" ,libjpeg-turbo)
425 ;; In Requires of libgxps.pc.
428 ("libarchive" ,libarchive)))
429 (home-page "https://wiki.gnome.org/Projects/libgxps")
430 (synopsis "GObject-based library for handling and rendering XPS documents")
432 "libgxps is a GObject-based library for handling and rendering XPS
433 documents. This package also contains binaries that can convert XPS documents
435 (license license:lgpl2.1+)))
437 (define-public gnome-common
439 (name "gnome-common")
444 (uri (string-append "mirror://gnome/sources/" name "/"
445 (version-major+minor version) "/"
446 name "-" version ".tar.xz"))
449 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
450 (build-system gnu-build-system)
451 (home-page "https://www.gnome.org/")
452 (synopsis "Bootstrap GNOME modules built from Git")
453 (description "gnome-common contains various files needed to bootstrap
454 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
455 can be used to configure a source directory checked out from Git and some
456 commonly used macros.")
457 (license license:gpl2+)))
459 (define-public gnome-desktop
461 (name "gnome-desktop")
466 (uri (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.xz"))
471 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
472 (build-system gnu-build-system)
475 (modify-phases %standard-phases
476 (add-before 'configure 'patch-path
477 (lambda* (#:key inputs #:allow-other-keys)
478 (let ((libc (assoc-ref inputs "libc")))
479 (substitute* "libgnome-desktop/gnome-languages.c"
481 (string-append "\"" libc "/bin/locale\"")))
484 `(("gobject-introspection" ,gobject-introspection)
486 ("intltool" ,intltool)
487 ("pkg-config" ,pkg-config)
488 ("xmllint" ,libxml2)))
490 ;; Required by gnome-desktop-3.0.pc.
491 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
494 `(("gdk-pixbuf" ,gdk-pixbuf)
496 ("iso-codes" ,iso-codes)
499 ("libxkbfile" ,libxkbfile)
500 ("libxrandr" ,libxrandr)
501 ("xkeyboard-config" ,xkeyboard-config)))
502 (home-page "https://www.gnome.org/")
504 "Libgnome-desktop, gnome-about, and desktop-wide documents")
506 "The libgnome-desktop library provides API shared by several applications
507 on the desktop, but that cannot live in the platform for various reasons.
508 There is no API or ABI guarantee, although we are doing our best to provide
509 stability. Documentation for the API is available with gtk-doc.
511 The gnome-about program helps find which version of GNOME is installed.")
512 ; Some bits under the LGPL.
513 (license license:gpl2+)))
515 (define-public gnome-doc-utils
517 (name "gnome-doc-utils")
522 (uri (string-append "mirror://gnome/sources/" name "/"
523 (version-major+minor version) "/"
524 name "-" version ".tar.xz"))
527 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
528 (build-system gnu-build-system)
530 `(("intltool" ,intltool)
531 ("docbook-xml" ,docbook-xml-4.4)
532 ("python2-libxml2" ,python2-libxml2)
535 ("pkg-config" ,pkg-config)
536 ("python-2" ,python-2)))
537 (home-page "https://wiki.gnome.org/GnomeDocUtils")
539 "Documentation utilities for the Gnome project")
541 "Gnome-doc-utils is a collection of documentation utilities for the
542 Gnome project. It includes xml2po tool which makes it easier to translate
543 and keep up to date translations of documentation.")
544 (license license:gpl2+))) ; xslt under lgpl
546 (define-public gnome-disk-utility
548 (name "gnome-disk-utility")
552 (uri (string-append "mirror://gnome/sources/" name "/"
553 (version-major+minor version) "/"
554 name "-" version ".tar.xz"))
557 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
558 (build-system meson-build-system)
560 `(("glib:bin" ,glib "bin")
561 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
562 ("intltool" ,intltool)
563 ("pkg-config" ,pkg-config)
564 ("docbook-xml" ,docbook-xml)
565 ("docbook-xsl" ,docbook-xsl)
567 ("libxslt" ,libxslt)))
570 ("appstream-glib" ,appstream-glib)
571 ("gnome-settings-daemon" ,gnome-settings-daemon)
573 ("libcanberra" ,libcanberra)
574 ("libdvdread" ,libdvdread)
575 ("libnotify" ,libnotify)
576 ("libpwquality" ,libpwquality)
577 ("libsecret" ,libsecret)
579 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
580 (synopsis "Disk management utility for GNOME")
581 (description "Disk management utility for GNOME.")
582 (license license:gpl2+)))
590 (uri (string-append "mirror://gnome/sources/" name "/"
591 (version-major+minor version) "/"
592 name "-" version ".tar.xz"))
595 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
597 (search-patches "gcr-disable-failing-tests.patch"
598 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
599 (build-system gnu-build-system)
601 '(#:phases (modify-phases %standard-phases
604 (lambda* (#:key inputs #:allow-other-keys)
605 (substitute* "build/tap-driver"
606 (("/usr/bin/env python") (which "python"))))))))
609 ("gnupg" ,gnupg) ;called as a child process during tests
610 ("libgcrypt" ,libgcrypt)))
612 `(("python" ,python-2) ;for tests
613 ("pkg-config" ,pkg-config)
615 ("gobject-introspection" ,gobject-introspection)
616 ("intltool" ,intltool)
617 ("xsltproc" ,libxslt)))
618 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
620 `(("p11-kit" ,p11-kit)
623 (home-page "https://www.gnome.org")
624 (synopsis "Libraries for displaying certificates and accessing key stores")
626 "The GCR package contains libraries used for displaying certificates and
627 accessing key stores. It also provides the viewer for crypto files on the
629 (license license:lgpl2.1+)))
631 (define-public libgnome-keyring
633 (name "libgnome-keyring")
637 (uri (string-append "mirror://gnome/sources/" name "/"
638 (version-major+minor version) "/"
639 name "-" version ".tar.xz"))
642 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
643 (build-system gnu-build-system)
645 `(("libgcrypt" ,libgcrypt)
648 `(("pkg-config" ,pkg-config)
650 ("intltool" ,intltool)))
652 ;; Referred to in .h files and .pc.
654 (home-page "https://www.gnome.org")
655 (synopsis "Accessing passwords from the GNOME keyring")
657 "Client library to access passwords from the GNOME keyring.")
659 ;; Though a couple of files are LGPLv2.1+.
660 (license license:lgpl2.0+)))
662 (define-public gnome-keyring
664 (name "gnome-keyring")
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
673 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
674 (build-system gnu-build-system)
676 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
680 (string-append "--with-pkcs11-config="
681 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
682 (string-append "--with-pkcs11-modules="
683 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
685 (modify-phases %standard-phases
688 (lambda* (#:key inputs #:allow-other-keys)
689 (substitute* "build/tap-driver"
690 (("/usr/bin/env python") (which "python")))))
692 'configure 'fix-docbook
693 (lambda* (#:key inputs #:allow-other-keys)
694 (substitute* "docs/Makefile.am"
695 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
696 (string-append (assoc-ref inputs "docbook-xsl")
697 "/xml/xsl/docbook-xsl-"
698 ,(package-version docbook-xsl)
699 "/manpages/docbook.xsl")))
700 (setenv "XML_CATALOG_FILES"
701 (string-append (assoc-ref inputs "docbook-xml")
702 "/xml/dtd/docbook/catalog.xml"))
704 ;; Rerun the whole thing to avoid version mismatch ("This is
705 ;; Automake 1.15.1, but the definition used by this
706 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
707 ;; use 'autoreconf' because it insists on running 'libtoolize'.
710 (invoke "automake" "-ac"))))))
712 `(("libgcrypt" ,libgcrypt)
713 ("linux-pam" ,linux-pam)
717 `(("pkg-config" ,pkg-config)
719 ("python" ,python-2) ;for tests
720 ("intltool" ,intltool)
721 ("autoconf" ,autoconf)
722 ("automake" ,automake)
723 ("libxslt" ,libxslt) ;for documentation
724 ("docbook-xml" ,docbook-xml-4.2)
725 ("docbook-xsl" ,docbook-xsl)))
726 (home-page "https://www.gnome.org")
727 (synopsis "Daemon to store passwords and encryption keys")
729 "gnome-keyring is a program that keeps passwords and other secrets for
730 users. It is run as a daemon in the session, similar to ssh-agent, and other
731 applications locate it via an environment variable or D-Bus.
733 The program can manage several keyrings, each with its own master password,
734 and there is also a session keyring which is never stored to disk, but
735 forgotten when the session ends.")
736 (license license:lgpl2.1+)))
738 (define-public evince
744 (uri (string-append "mirror://gnome/sources/" name "/"
745 (version-major+minor version) "/"
746 name "-" version ".tar.xz"))
749 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
750 (build-system glib-or-gtk-build-system)
752 `(#:configure-flags '("--disable-nautilus")
754 (modify-phases %standard-phases
755 (add-before 'install 'skip-gtk-update-icon-cache
756 ;; Don't create 'icon-theme.cache'.
758 (substitute* "data/Makefile"
759 (("gtk-update-icon-cache") "true"))
762 `(("libarchive" ,libarchive)
764 ("libspectre" ,libspectre)
765 ("djvulibre" ,djvulibre)
766 ("ghostscript" ,ghostscript)
770 ;; Build libkpathsea as a shared library for DVI support.
771 ;; ("libkpathsea" ,texlive-bin)
772 ("gnome-desktop" ,gnome-desktop)
773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
774 ("libgnome-keyring" ,libgnome-keyring)
775 ("adwaita-icon-theme" ,adwaita-icon-theme)
776 ("gdk-pixbuf" ,gdk-pixbuf)
784 ("shared-mime-info" ,shared-mime-info)
786 ("libcanberra" ,libcanberra)
787 ("libsecret" ,libsecret)
789 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
790 ;; propagated from there.
794 ("dogtail" ,python2-dogtail)))
796 `(("itstool" ,itstool)
797 ("intltool" ,intltool)
799 ("pkg-config" ,pkg-config)
800 ("xmllint" ,libxml2)))
802 "https://www.gnome.org/projects/evince/")
803 (synopsis "GNOME's document viewer")
805 "Evince is a document viewer for multiple document formats. It
806 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
807 of Evince is to replace the multiple document viewers that exist
808 on the GNOME Desktop with a single simple application.")
809 (license license:gpl2+)))
811 (define-public gsettings-desktop-schemas
813 (name "gsettings-desktop-schemas")
818 (uri (string-append "mirror://gnome/sources/" name "/"
819 (version-major+minor version) "/"
820 name "-" version ".tar.xz"))
823 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
824 (build-system gnu-build-system)
828 `(("intltool" ,intltool)
829 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
830 ("gobject-introspection" ,gobject-introspection)
831 ("pkg-config" ,pkg-config)))
832 (home-page "https://launchpad.net/gsettings-desktop-schemas")
834 "GNOME settings for various desktop components")
836 "Gsettings-desktop-schemas contains a collection of GSettings schemas
837 for settings shared by various components of the GNOME desktop.")
838 (license license:lgpl2.1+)))
840 (define-public icon-naming-utils
842 (name "icon-naming-utils")
847 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
851 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
852 (build-system gnu-build-system)
855 ("perl-xml-simple" ,perl-xml-simple)))
858 (modify-phases %standard-phases
859 (add-after 'install 'set-load-paths
860 ;; Tell 'icon-name-mapping' where XML::Simple is.
861 (lambda* (#:key outputs #:allow-other-keys)
862 (let* ((out (assoc-ref outputs "out"))
863 (prog (string-append out "/libexec/icon-name-mapping")))
866 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
868 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
870 "Utility to implement the Freedesktop Icon Naming Specification")
872 "To help with the transition to the Freedesktop Icon Naming
873 Specification, the icon naming utility maps the icon names used by the
874 GNOME and KDE desktops to the icon names proposed in the specification.")
875 (license license:lgpl2.1+)))
877 (define-public gnome-icon-theme
879 (name "gnome-icon-theme")
884 (uri (string-append "mirror://gnome/sources/" name "/"
885 (version-major+minor version) "/"
886 name "-" version ".tar.xz"))
889 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
890 (build-system gnu-build-system)
893 ;; Don't create 'icon-theme.cache'.
894 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
895 (true (string-append coreutils "/bin/true")))
896 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
898 `(("icon-naming-utils" ,icon-naming-utils)
899 ("intltool" ,intltool)
900 ("pkg-config" ,pkg-config)))
901 (home-page "https://art.gnome.org/")
905 "Icons for the GNOME desktop.")
906 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
908 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
909 (define-public adwaita-icon-theme
910 (package (inherit gnome-icon-theme)
911 (name "adwaita-icon-theme")
915 (uri (string-append "mirror://gnome/sources/" name "/"
916 (version-major+minor version) "/"
917 name "-" version ".tar.xz"))
920 "17fpahgh5dyckgz7rwqvzgnhx53cx9kr2xw0szprc6bnqy977fi8"))))
922 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
924 (define-public tango-icon-theme
926 (name "tango-icon-theme")
930 (uri (string-append "http://tango.freedesktop.org/releases/"
931 "tango-icon-theme-" version ".tar.bz2"))
934 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
935 (build-system gnu-build-system)
937 `(("icon-naming-utils" ,icon-naming-utils)
938 ("intltool" ,intltool)
939 ("imagemagick" ,imagemagick)
940 ("pkg-config" ,pkg-config)))
941 (home-page "http://tango-project.org/")
942 (synopsis "Tango icon theme")
943 (description "This is an icon theme that follows the Tango visual
945 (license license:public-domain)))
947 (define-public shared-mime-info
949 (name "shared-mime-info")
953 (uri (string-append "https://freedesktop.org/~hadess/"
954 "shared-mime-info-" version ".tar.xz"))
957 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
958 (build-system gnu-build-system)
960 ;; The build system appears not to be parallel-safe.
961 '(#:parallel-build? #f))
964 ("libxml2" ,libxml2)))
966 `(("intltool" ,intltool)
967 ("pkg-config" ,pkg-config)))
968 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
969 (synopsis "Database of common MIME types")
971 "The shared-mime-info package contains the core database of common types
972 and the update-mime-database command used to extend it. It requires glib2 to
973 be installed for building the update command. Additionally, it uses intltool
974 for translations, though this is only a dependency for the maintainers. This
975 database is translated at Transifex.")
976 (license license:gpl2+)))
978 (define-public system-config-printer
980 (name "system-config-printer")
985 "https://github.com/zdohnal/system-config-printer/releases/"
987 "/system-config-printer-" version ".tar.xz"))
990 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
991 (build-system glib-or-gtk-build-system)
993 `(#:imported-modules ((guix build python-build-system)
994 ,@%glib-or-gtk-build-system-modules)
996 (modify-phases %standard-phases
997 (add-after 'unpack 'patch-Makefile.am
999 ;; The Makefile generates some scripts, so set a valid shebang
1000 (substitute* "Makefile.am"
1001 (("/bin/bash") (which "bash")))
1002 (delete-file "configure")
1004 (add-after 'unpack 'patch-docbook-xml
1005 (lambda* (#:key inputs #:allow-other-keys)
1006 ;; Modify the man XML otherwise xmlto tries to access the network
1007 (substitute* "man/system-config-printer.xml"
1008 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1009 (string-append (assoc-ref inputs "docbook-xml")
1010 "/xml/dtd/docbook/")))
1012 (add-after 'install 'wrap-for-python
1013 (@@ (guix build python-build-system) wrap))
1014 (add-after 'install 'wrap
1015 (lambda* (#:key outputs #:allow-other-keys)
1016 (let ((out (assoc-ref outputs "out"))
1017 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1020 (wrap-program program
1021 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1023 (string-append out "/bin/" name))
1024 '("system-config-printer"
1025 "system-config-printer-applet"
1026 "install-printerdriver"
1027 "scp-dbus-service"))))
1030 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1031 ("gobject-introspection" ,gobject-introspection)
1034 ("python-dbus" ,python-dbus)
1035 ("python-pygobject" ,python-pygobject)
1036 ("python-pycups" ,python-pycups)
1037 ("python-requests" ,python-requests)
1038 ("python-pycairo" ,python-pycairo)
1039 ("libnotify" ,libnotify)
1040 ("packagekit" ,packagekit)))
1042 `(("pkg-config" ,pkg-config)
1043 ("desktop-file-utils" ,desktop-file-utils)
1045 ("autoconf" ,autoconf)
1046 ("automake" ,automake)
1047 ("intltool" ,intltool)
1049 ("docbook-xml" ,docbook-xml-4.1.2)
1050 ("docbook-xsl" ,docbook-xsl)
1051 ("libxml2" ,libxml2)))
1052 (home-page "https://github.com/zdohnal/system-config-printer")
1053 (synopsis "CUPS administration tool")
1055 "system-config-printer is a CUPS administration tool. It's written in
1056 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1058 (license license:gpl2+)))
1060 (define-public hicolor-icon-theme
1062 (name "hicolor-icon-theme")
1067 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1068 "hicolor-icon-theme-" version ".tar.xz"))
1071 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1072 (build-system gnu-build-system)
1074 `(#:tests? #f)) ; no check target
1075 (home-page "https://icon-theme.freedesktop.org/releases/")
1077 "Freedesktop icon theme")
1079 "Freedesktop icon theme.")
1080 (license license:gpl2)))
1082 (define-public libnotify
1089 (uri (string-append "mirror://gnome/sources/" name "/"
1090 (version-major+minor version) "/"
1091 name "-" version ".tar.xz"))
1094 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1095 (build-system gnu-build-system)
1097 `(("gdk-pixbuf" ,gdk-pixbuf)
1100 ("libpng" ,libpng)))
1102 `(("pkg-config" ,pkg-config)
1103 ("glib" ,glib "bin")
1104 ("gobject-introspection" ,gobject-introspection)))
1105 (home-page "https://developer-next.gnome.org/libnotify/")
1107 "GNOME desktop notification library")
1109 "Libnotify is a library that sends desktop notifications to a
1110 notification daemon, as defined in the Desktop Notifications spec. These
1111 notifications can be used to inform the user about an event or display
1112 some form of information without getting in the user's way.")
1113 (license license:lgpl2.1+)))
1115 (define-public libpeas
1122 (uri (string-append "mirror://gnome/sources/" name "/"
1123 (version-major+minor version) "/"
1124 name "-" version ".tar.xz"))
1127 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1128 (build-system gnu-build-system)
1133 ("python-pygobject" ,python-pygobject)))
1135 `(("pkg-config" ,pkg-config)
1136 ("glib:bin" ,glib "bin")
1137 ("gobject-introspection" ,gobject-introspection)
1138 ("intltool" ,intltool)))
1140 ;; The .pc file "Requires" gobject-introspection.
1141 `(("gobject-introspection" ,gobject-introspection)))
1142 (home-page "https://wiki.gnome.org/Libpeas")
1143 (synopsis "GObject plugin system")
1145 "Libpeas is a gobject-based plugin engine, targeted at giving every
1146 application the chance to assume its own extensibility. It also has a set of
1147 features including, but not limited to: multiple extension points; on-demand
1148 (lazy) programming language support for C, Python and JS; simplicity of the
1150 (license license:lgpl2.0+)))
1152 (define-public gtkglext
1158 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1159 version "/gtkglext-" version ".tar.gz"))
1161 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1162 (patches (search-patches
1163 "gtkglext-disable-disable-deprecated.patch"))))
1164 (build-system gnu-build-system)
1167 (modify-phases %standard-phases
1168 ;; Fix a collision between a local variable and a definition from
1169 ;; glibc's string.h.
1170 (add-after 'unpack 'fix-collision
1172 (substitute* "gdk/gdkglshapes.c"
1173 ((" index") " triangle_index"))
1175 (inputs `(("gtk+" ,gtk+-2)
1180 (native-inputs `(("pkg-config" ,pkg-config)
1181 ("glib" ,glib "bin")))
1182 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1183 (home-page "https://projects.gnome.org/gtkglext")
1184 (synopsis "OpenGL extension to GTK+")
1185 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1186 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1187 API add-ons to make GTK+ widgets OpenGL-capable.")
1188 (license license:lgpl2.1+)))
1190 (define-public glade3
1196 (uri (string-append "mirror://gnome/sources/" name "/"
1197 (version-major+minor version) "/"
1198 name "-" version ".tar.xz"))
1201 "1vdbqqvf6nrkqml4awrq4pzfwsm5v39wdzg943nys6lmf1am9l87"))))
1202 (build-system glib-or-gtk-build-system)
1204 `(#:tests? #f ; needs X, GL, and software rendering
1206 (modify-phases %standard-phases
1207 (add-before 'configure 'fix-docbook
1208 (lambda* (#:key inputs #:allow-other-keys)
1209 (substitute* "man/Makefile.in"
1210 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1211 (string-append (assoc-ref inputs "docbook-xsl")
1212 "/xml/xsl/docbook-xsl-"
1213 ,(package-version docbook-xsl)
1214 "/manpages/docbook.xsl")))
1218 ("libxml2" ,libxml2)))
1220 `(("intltool" ,intltool)
1221 ("itstool" ,itstool)
1222 ("libxslt" ,libxslt) ;for xsltproc
1223 ("docbook-xml" ,docbook-xml-4.2)
1224 ("docbook-xsl" ,docbook-xsl)
1225 ("python" ,python-2)
1226 ("pkg-config" ,pkg-config)))
1227 (home-page "https://glade.gnome.org")
1228 (synopsis "GTK+ rapid application development tool")
1229 (description "Glade is a rapid application development (RAD) tool to
1230 enable quick & easy development of user interfaces for the GTK+ toolkit and
1231 the GNOME desktop environment.")
1232 (license license:lgpl2.0+)))
1234 (define-public libcroco
1240 (uri (string-append "mirror://gnome/sources/" name "/"
1241 (version-major+minor version) "/"
1242 name "-" version ".tar.xz"))
1244 (search-patches "libcroco-CVE-2017-7960.patch"
1245 "libcroco-CVE-2017-7961.patch"))
1248 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1249 (build-system gnu-build-system)
1251 `(("pkg-config" ,pkg-config)))
1254 ("libxml2" ,libxml2)
1256 (home-page "https://github.com/GNOME/libcroco")
1257 (synopsis "CSS2 parsing and manipulation library")
1259 "Libcroco is a standalone CSS2 parsing and manipulation library.
1260 The parser provides a low level event driven SAC-like API and a CSS object
1261 model like API. Libcroco provides a CSS2 selection engine and an experimental
1262 XML/CSS rendering engine.")
1265 (license license:lgpl2.1)))
1267 (define-public libgsf
1273 (uri (string-append "mirror://gnome/sources/" name "/"
1274 (version-major+minor version) "/"
1275 name "-" version ".tar.xz"))
1278 "1ppzfk3zmmgrg9jh8vc4dacddbfngjslq2wpj94pcr3i0c8dxgk8"))))
1279 (build-system gnu-build-system)
1281 `(("intltool" ,intltool)
1282 ("pkg-config" ,pkg-config)))
1284 `(("python" ,python)
1288 `(("gdk-pixbuf" ,gdk-pixbuf)
1290 ("libxml2" ,libxml2)))
1291 (home-page "https://www.gnome.org/projects/libgsf")
1292 (synopsis "GNOME's Structured File Library")
1294 "Libgsf aims to provide an efficient extensible I/O abstraction for
1295 dealing with different structured file formats.")
1298 (license license:lgpl2.1)))
1300 (define-public librsvg
1306 (uri (string-append "mirror://gnome/sources/" name "/"
1307 (version-major+minor version) "/"
1308 name "-" version ".tar.xz"))
1311 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1312 (build-system gnu-build-system)
1315 (modify-phases %standard-phases
1316 (add-before 'configure 'pre-configure
1317 (lambda* (#:key inputs #:allow-other-keys)
1318 (substitute* "gdk-pixbuf-loader/Makefile.in"
1319 ;; By default the gdk-pixbuf loader is installed under
1320 ;; gdk-pixbuf's prefix. Work around that.
1321 (("gdk_pixbuf_moduledir = .*$")
1322 (string-append "gdk_pixbuf_moduledir = "
1323 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1325 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1326 (("gdk_pixbuf_cache_file = .*$")
1327 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1329 (add-after 'unpack 'remove-failing-tests
1331 (with-directory-excursion "tests/fixtures/reftests"
1332 (for-each delete-file
1333 '(;; This test fails on i686:
1334 "svg1.1/masking-path-04-b.svg"
1335 "svg1.1/masking-path-04-b-ref.png"
1336 ;; This test fails on armhf:
1337 "svg1.1/masking-mask-01-b.svg"
1338 "svg1.1/masking-mask-01-b-ref.png"
1339 ;; This test fails on aarch64:
1340 "bugs/777834-empty-text-children.svg"
1341 "bugs/777834-empty-text-children-ref.png")))
1344 `(("pkg-config" ,pkg-config)
1345 ("glib" ,glib "bin") ; glib-mkenums, etc.
1346 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1349 ("libcroco" ,libcroco)
1352 ("libxml2" ,libxml2)))
1354 ;; librsvg-2.0.pc refers to all of that.
1356 ("gdk-pixbuf" ,gdk-pixbuf)
1358 (home-page "https://wiki.gnome.org/LibRsvg")
1359 (synopsis "Render SVG files using Cairo")
1361 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1363 (license license:lgpl2.0+)))
1365 (define-public libidl
1371 (uri (let ((upstream-name "libIDL"))
1372 (string-append "mirror://gnome/sources/" upstream-name "/"
1373 (version-major+minor version) "/"
1374 upstream-name "-" version ".tar.bz2")))
1377 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1378 (build-system gnu-build-system)
1379 (inputs `(("glib" ,glib)))
1381 `(("pkg-config" ,pkg-config)
1384 (home-page "http://freecode.com/projects/libidl")
1385 (synopsis "Create trees of CORBA Interface Definition Language files")
1386 (description "Libidl is a library for creating trees of CORBA Interface
1387 Definition Language (idl) files, which is a specification for defining
1388 portable interfaces. libidl was initially written for orbit (the orb from the
1389 GNOME project, and the primary means of libidl distribution). However, the
1390 functionality was designed to be as reusable and portable as possible.")
1391 (license license:lgpl2.0+)))
1394 (define-public orbit2
1400 (uri (let ((upstream-name "ORBit2"))
1401 (string-append "mirror://gnome/sources/" upstream-name "/"
1402 (version-major+minor version) "/"
1403 upstream-name "-" version ".tar.bz2")))
1406 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1407 (build-system gnu-build-system)
1410 '(;; We don't need static libraries, plus they don't build reproducibly
1411 ;; (non-deterministic ordering of .o files in the archive.)
1414 ;; The programmer kindly gives us a hook to turn off deprecation
1416 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1417 ;; ... which they then completly ignore !!
1419 (modify-phases %standard-phases
1420 (add-before 'configure 'ignore-deprecations
1422 (substitute* "linc2/src/Makefile.in"
1423 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1425 (inputs `(("glib" ,glib)
1426 ("libidl" ,libidl)))
1428 `(("pkg-config" ,pkg-config)))
1429 (home-page "https://projects.gnome.org/orbit2/")
1430 (synopsis "CORBA 2.4-compliant Object Request Broker")
1431 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1432 featuring mature C, C++ and Python bindings.")
1433 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1434 ;; a version. SOME of the code files have licence notices for GPLv2+.
1435 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1436 (license license:gpl2+)
1437 (properties `((upstream-name . "ORBit2")))))
1440 (define-public libbonobo
1446 (uri (string-append "mirror://gnome/sources/" name "/"
1447 (version-major+minor version)
1448 "/" name "-" version ".tar.bz2"))
1450 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1451 (patches (search-patches
1452 "libbonobo-activation-test-race.patch"))))
1453 (build-system gnu-build-system)
1455 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1457 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1458 ;; ... which they then completly ignore !!
1460 (modify-phases %standard-phases
1461 (add-before 'configure 'ignore-deprecations
1463 (substitute* "activation-server/Makefile.in"
1464 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1467 ;; There's apparently a race condition between the server stub
1468 ;; generation and linking of the example under 'samples/echo' that can
1469 ;; lead do undefined references when building in parallel, as reported
1470 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1471 ;; Thus, disable parallel builds.
1472 #:parallel-build? #f))
1473 (inputs `(("popt" ,popt)
1474 ("libxml2" ,libxml2)))
1475 ;; The following are Required by the .pc file
1478 ("orbit2" ,orbit2)))
1480 `(("intltool" ,intltool)
1481 ("pkg-config" ,pkg-config)
1482 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1485 (home-page "https://developer.gnome.org/libbonobo/")
1486 (synopsis "Framework for creating reusable components for use in GNOME applications")
1487 (description "Bonobo is a framework for creating reusable components for
1488 use in GNOME applications, built on top of CORBA.")
1489 ;; Licence not explicitly stated. Source files contain no licence notices.
1490 ;; Tarball contains text of both GPLv2 and LGPLv2
1491 ;; GPLv2 covers both conditions
1492 (license license:gpl2+)))
1495 (define-public gconf
1502 (let ((upstream-name "GConf"))
1503 (string-append "mirror://gnome/sources/" upstream-name "/"
1504 (version-major+minor version) "/"
1505 upstream-name "-" version ".tar.xz")))
1507 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1508 (build-system gnu-build-system)
1509 (inputs `(("dbus-glib" ,dbus-glib)
1510 ("libxml2" ,libxml2)))
1511 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1512 ("orbit2" ,orbit2)))
1514 `(("intltool" ,intltool)
1515 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1516 ("pkg-config" ,pkg-config)))
1517 (home-page "https://projects.gnome.org/gconf/")
1518 (synopsis "Store application preferences")
1519 (description "Gconf is a system for storing application preferences. It
1520 is intended for user preferences; not arbitrary data storage.")
1521 (license license:lgpl2.0+)
1522 (properties '((upstream-name . "GConf")))))
1525 (define-public gnome-mime-data
1527 (name "gnome-mime-data")
1531 (uri (string-append "mirror://gnome/sources/" name "/"
1532 (version-major+minor version) "/"
1533 name "-" version ".tar.bz2"))
1536 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1537 (build-system gnu-build-system)
1540 ("intltool" ,intltool)))
1542 '(#:phases (modify-phases %standard-phases
1543 (add-after 'configure 'use-our-intltool
1545 ;; Do not use the bundled intltool commands, which lack
1546 ;; the "dotless @INC" fixes of our 'intltool' package.
1547 (substitute* (find-files "." "^Makefile$")
1548 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1549 (string-append "INTLTOOL_" tool " = intltool-"
1550 (string-downcase tool) "\n")))
1552 (home-page "https://www.gnome.org")
1553 (synopsis "Base MIME and Application database for GNOME")
1554 (description "GNOME Mime Data is a module which contains the base MIME
1555 and Application database for GNOME. The data stored by this module is
1556 designed to be accessed through the MIME functions in GnomeVFS.")
1557 (license license:gpl2+)))
1560 (define-public gnome-vfs
1566 (uri (string-append "mirror://gnome/sources/" name "/"
1567 (version-major+minor version) "/"
1568 name "-" version ".tar.bz2"))
1571 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1572 (build-system gnu-build-system)
1575 (modify-phases %standard-phases
1576 (add-before 'configure 'ignore-deprecations
1578 (substitute* '("libgnomevfs/Makefile.in"
1579 "daemon/Makefile.in")
1580 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1582 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1584 (substitute* "test/test-async-cancel.c"
1585 (("EXIT_FAILURE") "77"))
1587 (inputs `(("libxml2" ,libxml2)
1588 ("dbus-glib" ,dbus-glib)
1590 ("gnome-mime-data" ,gnome-mime-data)
1593 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1594 ("intltool" ,intltool)
1595 ("pkg-config" ,pkg-config)))
1596 (home-page "https://developer.gnome.org/gnome-vfs/")
1597 (synopsis "Access files and folders in GNOME applications")
1599 "GnomeVFS is the core library used to access files and folders in GNOME
1600 applications. It provides a file system abstraction which allows applications
1601 to access local and remote files with a single consistent API.")
1602 (license license:lgpl2.0+)))
1606 (define-public libgnome
1612 (uri (string-append "mirror://gnome/sources/" name "/"
1613 (version-major+minor version) "/"
1614 name "-" version ".tar.bz2"))
1617 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1618 (patches (search-patches "libgnome-encoding.patch"))))
1619 (build-system gnu-build-system)
1622 (modify-phases %standard-phases
1623 (add-before 'configure 'enable-deprecated
1625 (substitute* "libgnome/Makefile.in"
1626 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1628 (inputs `(("libxml2" ,libxml2)))
1630 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1631 ("intltool" ,intltool)
1632 ("pkg-config" ,pkg-config)))
1633 ;; The following are listed as Required in the .pc file
1634 ;; (except for libcanberra -- which seems to be oversight on the part
1635 ;; of the upstream developers -- anything that links against libgnome,
1636 ;; must also link against libcanberra
1638 `(("libcanberra" ,libcanberra)
1639 ("libbonobo" ,libbonobo)
1641 ("gnome-vfs" ,gnome-vfs)
1642 ("popt" ,popt))) ;gnome-program.h includes popt.h
1643 (home-page "https://developer.gnome.org/libgnome/")
1644 (synopsis "Useful routines for building applications")
1645 (description "The libgnome library provides a number of useful routines
1646 for building modern applications, including session management, activation of
1647 files and URIs, and displaying help.")
1648 (license license:lgpl2.0+)))
1651 (define-public libart-lgpl
1653 (name "libart-lgpl")
1657 (uri (let ((upstream-name "libart_lgpl"))
1658 (string-append "mirror://gnome/sources/" upstream-name "/"
1659 (version-major+minor version) "/"
1660 upstream-name "-" version ".tar.bz2")))
1663 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1664 (build-system gnu-build-system)
1666 `(("pkg-config" ,pkg-config)))
1667 (home-page "https://people.gnome.org/~mathieu/libart")
1668 (synopsis "2D drawing library")
1669 (description "Libart is a 2D drawing library intended as a
1670 high-quality vector-based 2D library with antialiasing and alpha composition.")
1671 (license license:lgpl2.0+)))
1675 (define-public libgnomecanvas
1677 (name "libgnomecanvas")
1681 (uri (string-append "mirror://gnome/sources/" name "/"
1682 (version-major+minor version) "/"
1683 name "-" version ".tar.gz"))
1686 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1687 (build-system gnu-build-system)
1688 ;; Mentioned as Required in the .pc file
1689 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1692 `(("intltool" ,intltool)
1693 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1694 ("pkg-config" ,pkg-config)))
1695 (home-page "https://developer.gnome.org/libgnomecanvas/")
1696 (synopsis "Flexible widget for creating interactive structured graphics")
1697 (description "The GnomeCanvas widget provides a flexible widget for
1698 creating interactive structured graphics.")
1699 (license license:lgpl2.0+)))
1701 (define-public libgnomecanvasmm
1703 (name "libgnomecanvasmm")
1707 (uri (string-append "mirror://gnome/sources/" name "/"
1708 (version-major+minor version) "/"
1709 name "-" version ".tar.bz2"))
1712 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1713 (build-system gnu-build-system)
1715 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1716 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1718 `(("gtkmm-2" ,gtkmm-2)
1719 ("pkg-config" ,pkg-config)))
1720 (home-page "https://gtkmm.org")
1721 (synopsis "C++ bindings to the GNOME Canvas library")
1722 (description "C++ bindings to the GNOME Canvas library.")
1723 (license license:lgpl2.0+)))
1725 (define-public libgnomeui
1731 (uri (string-append "mirror://gnome/sources/" name "/"
1732 (version-major+minor version) "/"
1733 name "-" version ".tar.bz2"))
1734 (patches (search-patches "libgnomeui-utf8.patch"))
1737 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1738 (build-system gnu-build-system)
1739 ;; Mentioned as Required in the .pc file
1740 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1741 ("libgnome" ,libgnome)
1742 ("libgnomecanvas" ,libgnomecanvas)
1743 ("libgnome-keyring" ,libgnome-keyring)))
1744 (inputs `(("libjpeg" ,libjpeg)
1746 ("libbonobo" ,libbonobo)
1747 ("libxml2" ,libxml2)
1748 ("libglade" ,libglade)))
1750 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1751 ("intltool" ,intltool)
1752 ("pkg-config" ,pkg-config)))
1753 (home-page "https://developer.gnome.org/libgnomeui/")
1754 (synopsis "Additional widgets for applications")
1755 (description "The libgnomeui library provides additional widgets for
1756 applications. Many of the widgets from libgnomeui have already been
1758 (license license:lgpl2.0+)))
1760 (define-public libglade
1766 (uri (string-append "mirror://gnome/sources/" name "/"
1767 (version-major+minor version) "/"
1768 name "-" version ".tar.bz2"))
1771 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1772 (build-system gnu-build-system)
1774 `(("python" ,python))) ;; needed for the optional libglade-convert program
1776 `(("gtk+-2" ,gtk+-2)
1777 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1779 `(("pkg-config" ,pkg-config)))
1780 (home-page "https://developer.gnome.org/libglade")
1781 (synopsis "Load glade interfaces and access the glade built widgets")
1782 (description "Libglade is a library that provides interfaces for loading
1783 graphical interfaces described in glade files and for accessing the
1784 widgets built in the loading process.")
1785 (license license:gpl2+))) ; This is correct. GPL not LGPL
1787 (define-public libgnomeprint
1788 ;; This library has been deprecated since 2006; see
1789 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1791 (name "libgnomeprint")
1795 (uri (string-append "mirror://gnome/sources/" name "/"
1796 (version-major+minor version) "/"
1797 name "-" version ".tar.bz2"))
1800 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1801 (build-system gnu-build-system)
1804 ("libart-lgpl" ,libart-lgpl)
1806 ("libxml2" ,libxml2)))
1808 `(("intltool" ,intltool)
1809 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1810 ("pkg-config" ,pkg-config)))
1811 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1812 (synopsis "Printing framework for GNOME")
1814 "GNOME-print was a printing framework for GNOME. It has been deprecated
1815 since ca. 2006, when GTK+ itself incorporated printing support.")
1816 (license license:lgpl2.0+)))
1819 (define-public libgnomeprintui
1820 ;; Deprecated; see libgnomeprint.
1822 (name "libgnomeprintui")
1826 (uri (string-append "mirror://gnome/sources/" name "/"
1827 (version-major+minor version) "/"
1828 name "-" version ".tar.bz2"))
1831 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1832 (build-system gnu-build-system)
1833 ;; Mentioned as Required in the .pc file
1834 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1835 (inputs `(("gtk+" ,gtk+-2)
1837 ("gnome-icon-theme" ,gnome-icon-theme)
1838 ("libgnomecanvas" ,libgnomecanvas)
1839 ("libxml2" ,libxml2)))
1841 `(("intltool" ,intltool)
1842 ("pkg-config" ,pkg-config)))
1843 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1844 (synopsis "Printing framework for GNOME")
1845 (description (package-description libgnomeprint))
1846 (license license:lgpl2.0+)))
1848 (define-public libbonoboui
1850 (name "libbonoboui")
1854 (uri (string-append "mirror://gnome/sources/" name "/"
1855 (version-major+minor version) "/"
1856 name "-" version ".tar.bz2"))
1859 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1860 (build-system gnu-build-system)
1863 (modify-phases %standard-phases
1864 (add-before 'check 'start-xserver
1865 (lambda* (#:key inputs #:allow-other-keys)
1866 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1869 (setenv "HOME" (getcwd))
1870 (setenv "DISPLAY" disp)
1871 ;; There must be a running X server and make check doesn't start one.
1872 ;; Therefore we must do it.
1873 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1874 ;; Mentioned as Required by the .pc file
1875 (propagated-inputs `(("libxml2" ,libxml2)))
1878 ("pangox-compat" ,pangox-compat)
1879 ("libgnome" ,libgnome)
1880 ("libgnomecanvas" ,libgnomecanvas)
1881 ("libglade" ,libglade)))
1883 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1884 ("intltool" ,intltool)
1885 ("xorg-server" ,xorg-server) ; For running the tests
1886 ("pkg-config" ,pkg-config)))
1887 (home-page "https://developer.gnome.org/libbonoboui/")
1888 (synopsis "Some user interface controls using Bonobo")
1889 (description "The Bonobo UI library provides a number of user interface
1890 controls using the Bonobo component framework.")
1891 (license license:lgpl2.0+)))
1893 (define-public libwnck
1899 (uri (string-append "mirror://gnome/sources/" name "/"
1900 (version-major+minor version) "/"
1901 name "-" version ".tar.xz"))
1904 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
1905 (build-system gnu-build-system)
1907 `(("pkg-config" ,pkg-config)
1908 ("intltool" ,intltool)))
1911 ("libxres" ,libxres)
1912 ("startup-notification" ,startup-notification)))
1913 (home-page "https://developer.gnome.org/libwnck/")
1914 (synopsis "Window Navigator Construction Kit")
1916 "Libwnck is the Window Navigator Construction Kit, a library for use in
1917 writing pagers, tasklists, and more generally applications that are dealing
1918 with window management. It tries hard to respect the Extended Window Manager
1919 Hints specification (EWMH).")
1920 (license license:lgpl2.0+)))
1922 ;; stable version for gtk2, required by xfwm4.
1923 (define-public libwnck-2
1924 (package (inherit libwnck)
1929 (uri (string-append "mirror://gnome/sources/" name "/"
1930 (version-major+minor version) "/"
1931 name "-" version ".tar.xz"))
1934 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1937 ("libxres" ,libxres)
1938 ("startup-notification" ,startup-notification)))))
1940 (define-public goffice
1946 (uri (string-append "mirror://gnome/sources/" name "/"
1947 (version-major+minor version) "/"
1948 name "-" version ".tar.xz"))
1950 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
1951 (build-system gnu-build-system)
1953 "doc")) ;4.0 MiB of gtk-doc
1955 '(#:configure-flags (list (string-append "--with-html-dir="
1956 (assoc-ref %outputs "doc")
1957 "/share/gtk-doc/html"))))
1961 ("librsvg" ,librsvg)
1962 ("libxslt" ,libxslt)
1963 ("libxml2" ,libxml2)))
1965 `(("intltool" ,intltool)
1966 ("glib" ,glib "bin")
1967 ("pkg-config" ,pkg-config)))
1968 (home-page "https://developer.gnome.org/goffice/")
1969 (synopsis "Document-centric objects and utilities")
1970 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1972 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1974 (list license:gpl2 license:gpl3))))
1976 (define-public goffice-0.8
1977 (package (inherit goffice)
1981 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1982 (version-major+minor version) "/"
1983 (package-name goffice) "-" version ".tar.xz"))
1985 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1988 (modify-phases %standard-phases
1989 (add-after 'unpack 'fix-pcre-check
1991 ;; Only glib.h can be included directly. See
1992 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1993 (substitute* "configure"
1994 (("glib/gregex\\.h") "glib.h")) #t)))
1996 ,@(package-arguments goffice)))
1998 ;; libgoffice-0.8.pc mentions libgsf-1
1999 `(("libgsf" ,libgsf)))
2002 ,@(alist-delete "gtk" (package-inputs goffice))))))
2004 (define-public gnumeric
2010 (uri (string-append "mirror://gnome/sources/" name "/"
2011 (version-major+minor version) "/"
2012 name "-" version ".tar.xz"))
2015 "0j28qpbz9a9p80x27kcwxl5n1hf36nn2fa7dxwrbhcdx4rgy5grw"))))
2016 (build-system glib-or-gtk-build-system)
2018 `(;; The gnumeric developers don't worry much about failing tests.
2019 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2022 (modify-phases %standard-phases
2024 'configure 'pre-conf
2025 (lambda* (#:key outputs #:allow-other-keys)
2026 ;; Make install tries to write into the directory of goffice
2027 ;; I am informed that this only affects the possibility to embed a
2028 ;; spreadsheet inside an Abiword document. So presumably when we
2029 ;; package Abiword we'll have to refer it to this directory.
2030 (substitute* "configure"
2031 (("^GOFFICE_PLUGINS_DIR=.*")
2032 (string-append "GOFFICE_PLUGINS_DIR="
2033 (assoc-ref outputs "out")
2034 "/goffice/plugins"))))))))
2038 ("goffice" ,goffice)
2040 ("librsvg" ,librsvg)
2041 ("libxml2" ,libxml2)
2042 ("libxslt" ,libxslt)
2043 ("python" ,python-2)
2044 ("python2-pygobject" ,python2-pygobject)
2048 ("docbook-xml" ,docbook-xml)
2049 ("intltool" ,intltool)
2050 ("itstool" ,itstool)
2051 ("glib:bin" ,glib "bin")
2052 ("pkg-config" ,pkg-config)))
2053 (home-page "http://www.gnumeric.org")
2054 (synopsis "Spreadsheet application")
2056 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2057 interoperable with other spreadsheet applications. It has a vast array of
2058 features beyond typical spreadsheet functionality, such as support for linear
2059 and non-linear solvers, statistical analysis, and telecommunication
2062 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2063 (list license:gpl2 license:gpl3))))
2065 (define-public gnome-themes-standard
2067 (name "gnome-themes-standard")
2072 (uri (string-append "mirror://gnome/sources/" name "/"
2073 (version-major+minor version) "/" name "-"
2077 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2078 (build-system gnu-build-system)
2081 ;; Don't create 'icon-theme.cache'.
2082 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2083 (true (string-append coreutils "/bin/true")))
2084 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2088 ("librsvg" ,librsvg)
2089 ("libxml2" ,libxml2)
2092 `(("intltool" ,intltool)
2093 ("glib:bin" ,glib "bin")
2094 ("pkg-config" ,pkg-config)))
2095 (home-page "https://launchpad.net/gnome-themes-standard")
2096 (synopsis "Default GNOME 3 themes")
2098 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2099 (license license:lgpl2.1+)))
2101 (define-public seahorse
2108 (uri (string-append "mirror://gnome/sources/" name "/"
2109 (version-major+minor version) "/" name "-"
2113 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2114 (build-system glib-or-gtk-build-system)
2120 ("openldap" ,openldap)
2121 ("openssh" ,openssh)
2122 ("libsecret" ,libsecret)
2123 ("libsoup" ,libsoup)))
2125 `(("intltool" ,intltool)
2126 ("glib:bin" ,glib "bin")
2127 ("itstool" ,itstool)
2128 ("pkg-config" ,pkg-config)
2129 ("xmllint" ,libxml2)))
2130 (home-page "https://launchpad.net/gnome-themes-standard")
2131 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2133 "Seahorse is a GNOME application for managing encryption keys and
2134 passwords in the GNOME keyring.")
2135 (license license:gpl2+)))
2143 (uri (string-append "mirror://gnome/sources/" name "/"
2144 (version-major+minor version) "/"
2145 name "-" version ".tar.xz"))
2148 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2149 (build-system gnu-build-system)
2152 (modify-phases %standard-phases
2153 (add-before 'check 'pre-check
2156 (substitute* "valadoc/tests/testrunner.sh"
2157 (("export PKG_CONFIG_PATH=" m)
2158 (string-append m "$PKG_CONFIG_PATH:")))
2159 ;; For missing '/etc/machine-id'.
2160 (setenv "DBUS_FATAL_WARNINGS" "0")
2163 `(("pkg-config" ,pkg-config)
2166 ("xsltproc" ,libxslt)
2169 ("dbus" ,dbus) ; for dbus tests
2170 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2172 `(("graphviz" ,graphviz)))
2174 `(("glib" ,glib))) ; required by libvala-0.40.pc
2175 (home-page "https://live.gnome.org/Vala/")
2176 (synopsis "Compiler for the GObject type system")
2178 "Vala is a programming language that aims to bring modern programming
2179 language features to GNOME developers without imposing any additional runtime
2180 requirements and without using a different ABI compared to applications and
2181 libraries written in C.")
2182 (license license:lgpl2.1+)))
2190 (uri (string-append "mirror://gnome/sources/" name "/"
2191 (version-major+minor version) "/"
2192 name "-" version ".tar.xz"))
2195 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2196 (build-system gnu-build-system)
2198 `(("pkg-config" ,pkg-config)
2199 ("intltool" ,intltool)
2201 ("gobject-introspection" ,gobject-introspection)
2202 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2204 ("xmllint" ,libxml2)))
2206 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2207 ("gnutls" ,gnutls) ;ditto
2208 ("pcre2" ,pcre2))) ;ditto
2209 (home-page "https://www.gnome.org/")
2210 (synopsis "Virtual Terminal Emulator")
2212 "VTE is a library (libvte) implementing a terminal emulator widget for
2213 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2214 gnome-terminal, but can also be used to embed a console/terminal in games,
2215 editors, IDEs, etc.")
2216 (license license:lgpl2.1+)))
2218 (define-public vte-ng
2222 (version "0.54.2.a")
2223 (home-page "https://github.com/thestinger/vte-ng")
2226 (uri (git-reference (url home-page) (commit version)))
2227 (file-name (git-file-name name version))
2230 "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags"))))
2232 `(("gtk-doc" ,gtk-doc)
2234 ("autoconf" ,autoconf)
2235 ("automake" ,automake)
2236 ("libtool" ,libtool)
2237 ,@(package-native-inputs vte)))
2239 `(#:phases (modify-phases %standard-phases
2242 (setenv "NOCONFIGURE" "true")
2243 (invoke "sh" "autogen.sh"))))))
2244 (synopsis "Enhanced VTE terminal widget")
2246 "VTE is a library (libvte) implementing a terminal emulator widget for
2247 GTK+, this fork provides additional functions exposed for keyboard text
2248 selection and URL hints.")))
2250 ;; provides vte 2.90, required for some terminal emulators
2251 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2252 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2253 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2254 ;; pantheon-terminal, roxterm are not currently packaged
2255 (define-public vte-0.36
2256 (package (inherit vte)
2261 (uri (string-append "mirror://gnome/sources/" name "/"
2262 (version-major+minor version) "/"
2263 name "-" version ".tar.xz"))
2266 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2269 ("ncurses" ,ncurses)))))
2271 ;; stable version for gtk2, required by xfce4-terminal.
2272 (define-public vte/gtk+-2
2273 (package (inherit vte)
2278 (uri (string-append "mirror://gnome/sources/" name "/"
2279 (version-major+minor version) "/"
2280 name "-" version ".tar.xz"))
2283 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2284 (patches (search-patches
2285 "vte-CVE-2012-2738-pt1.patch"
2286 "vte-CVE-2012-2738-pt2.patch"))))
2288 '(#:configure-flags '("--disable-python")))
2290 `(("pkg-config" ,pkg-config)
2291 ("intltool" ,intltool)
2292 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2294 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2295 ("ncurses" ,ncurses))))) ; required by libvte.la
2297 (define-public vinagre
2303 (uri (string-append "mirror://gnome/sources/" name "/"
2304 (version-major+minor version) "/"
2305 name "-" version ".tar.xz"))
2306 (patches (search-patches "vinagre-newer-freerdp.patch"
2307 "vinagre-newer-rdp-parameters.patch"))
2310 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2311 (build-system glib-or-gtk-build-system)
2314 (modify-phases %standard-phases
2315 (add-before 'install 'skip-gtk-update-icon-cache
2317 ;; Don't create 'icon-theme.cache'
2318 (substitute* (find-files "." "^Makefile$")
2319 (("gtk-update-icon-cache") (which "true")))
2321 (add-after 'unpack 'patch-configure
2323 (substitute* "configure"
2324 (("freerdp") "freerdp2"))
2327 `(("pkg-config" ,pkg-config)
2328 ("intltool" ,intltool)
2329 ("itstool" ,itstool)
2330 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2332 `(("libxml2" ,libxml2)
2333 ("gtk-vnc" ,gtk-vnc)
2334 ("gnome-keyring" ,gnome-keyring)
2335 ("libsecret" ,libsecret)
2336 ("freerdp" ,freerdp)
2338 ("spice-gtk" ,spice-gtk)
2339 ("telepathy-glib" ,telepathy-glib)
2341 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2342 (synopsis "Remote desktop viewer for GNOME")
2343 (description "Vinagre is a remote display client supporting the VNC, SPICE
2344 and RDP protocols.")
2345 (license license:gpl3+)))
2347 (define-public dconf
2354 "mirror://gnome/sources/" name "/"
2355 (version-major+minor version) "/"
2356 name "-" version ".tar.xz"))
2359 "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1"))))
2360 (build-system meson-build-system)
2362 ;; In Requires of dconf.pc.
2368 `(("libxslt" ,libxslt) ;for xsltproc
2369 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2370 ("docbook-xml" ,docbook-xml-4.2)
2371 ("docbook-xsl" ,docbook-xsl)
2372 ("glib:bin" ,glib "bin")
2373 ("gtk-doc" ,gtk-doc)
2374 ("pkg-config" ,pkg-config)
2377 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2378 ; or /etc/machine-id.
2380 #:configure-flags '("-Denable-gtk-doc=true")))
2381 (home-page "https://developer.gnome.org/dconf")
2382 (synopsis "Low-level GNOME configuration system")
2383 (description "Dconf is a low-level configuration system. Its main purpose
2384 is to provide a backend to GSettings on platforms that don't already have
2385 configuration storage systems.")
2386 (license license:lgpl2.1+)))
2388 (define-public json-glib
2394 (uri (string-append "mirror://gnome/sources/" name "/"
2395 (version-major+minor version) "/"
2396 name "-" version ".tar.xz"))
2399 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2400 (build-system meson-build-system)
2402 `(("gettext" ,gettext-minimal)
2403 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2404 ("gobject-introspection" ,gobject-introspection)
2405 ("pkg-config" ,pkg-config)))
2407 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2408 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2409 (synopsis "Compiler for the GObject type system")
2411 "JSON-GLib is a C library based on GLib providing serialization and
2412 deserialization support for the JavaScript Object Notation (JSON) format
2413 described by RFC 4627. It provides parser and generator GObject classes and
2414 various wrappers for the complex data types employed by JSON, such as arrays
2416 (license license:lgpl2.1+)))
2418 (define-public libxklavier
2420 (name "libxklavier")
2424 (uri (string-append "mirror://gnome/sources/" name "/"
2425 version "/" name "-" version ".tar.xz"))
2428 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2429 (build-system gnu-build-system)
2432 (list (string-append "--with-xkb-base="
2433 (assoc-ref %build-inputs "xkeyboard-config")
2434 "/share/X11/xkb"))))
2436 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2437 ("gobject-introspection" ,gobject-introspection)
2438 ("pkg-config" ,pkg-config)))
2440 ;; Required by libxklavier.pc.
2442 ("libxml2" ,libxml2)))
2444 `(("iso-codes" ,iso-codes)
2446 ("libxkbfile" ,libxkbfile)
2447 ("xkbcomp" ,xkbcomp)
2448 ("xkeyboard-config" ,xkeyboard-config)))
2449 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2450 (synopsis "High-level API for X Keyboard Extension")
2452 "LibXklavier is a library providing high-level API for X Keyboard
2453 Extension known as XKB. This library is intended to support XFree86 and other
2454 commercial X servers. It is useful for creating XKB-related software (layout
2456 (license license:lgpl2.0+)))
2458 (define-public python2-rsvg
2459 ;; XXX: This is actually a subset of gnome-python-desktop.
2461 (name "python2-rsvg")
2467 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2468 version ".tar.bz2"))
2471 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2472 (build-system gnu-build-system)
2474 `(("pkg-config" ,pkg-config)))
2476 `(("python" ,python-2)
2477 ("python2-pygtk" ,python2-pygtk)
2478 ("librsvg" ,librsvg)))
2479 (home-page "https://www.gnome.org")
2480 (synopsis "Python bindings to librsvg")
2482 "This packages provides Python bindings to librsvg, the SVG rendering
2485 ;; This is the license of the rsvg bindings. The license of each module
2486 ;; of gnome-python-desktop is given in 'COPYING'.
2487 (license license:lgpl2.1+)))
2489 (define-public glib-networking
2491 (name "glib-networking")
2495 (uri (string-append "mirror://gnome/sources/glib-networking/"
2496 (version-major+minor version) "/"
2497 name "-" version ".tar.xz"))
2500 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2501 (patches (search-patches "glib-networking-connection.patch"))))
2502 (build-system meson-build-system)
2504 `(#:configure-flags '("-Dlibproxy_support=false")
2505 #:phases (modify-phases %standard-phases
2506 (add-before 'check 'disable-TLSv1.3
2508 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2509 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2510 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2513 `(("pkg-config" ,pkg-config)
2514 ("intltool" ,intltool)))
2518 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2519 ("p11-kit" ,p11-kit)))
2520 (home-page "https://www.gnome.org")
2521 (synopsis "Network-related GIO modules")
2523 "This package contains various network related extensions for the GIO
2525 (license license:lgpl2.0+)))
2533 (uri (string-append "mirror://gnome/sources/rest/"
2534 (version-major+minor version) "/"
2535 name "-" version ".tar.xz"))
2538 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2539 (build-system gnu-build-system)
2541 '(#:tests? #f ; tests require internet connection
2543 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2545 `(("glib-mkenums" ,glib "bin")
2546 ("gobject-introspection" ,gobject-introspection)
2547 ("pkg-config" ,pkg-config)))
2549 ;; rest-0.7.pc refers to all these.
2551 ("libsoup" ,libsoup)
2552 ("libxml2" ,libxml2)))
2553 (home-page "https://www.gtk.org/")
2554 (synopsis "RESTful web api query library")
2556 "This library was designed to make it easier to access web services that
2557 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2558 libxml to ease remote use of the RESTful API.")
2559 (license license:lgpl2.1+)))
2561 (define-public libsoup
2567 (uri (string-append "mirror://gnome/sources/libsoup/"
2568 (version-major+minor version) "/"
2569 name "-" version ".tar.xz"))
2572 "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm"))))
2573 (build-system gnu-build-system)
2574 (outputs '("out" "doc"))
2576 `(#:modules ((guix build utils)
2577 (guix build gnu-build-system)
2581 (list (string-append "--with-html-dir="
2582 (assoc-ref %outputs "doc")
2583 "/share/gtk-doc/html")
2584 (string-append "--with-apache-module-dir="
2585 (assoc-ref %build-inputs "httpd")
2588 (modify-phases %standard-phases
2589 (add-before 'configure 'disable-unconnected-socket-test
2590 ;; This test fails due to missing /etc/nsswitch.conf
2591 ;; in the build environment.
2593 (substitute* "tests/socket-test.c"
2594 ((".*/sockets/unconnected.*") ""))
2596 (add-before 'check 'pre-check
2598 ;; The 'check-local' target runs 'env LANG=C sort -u',
2599 ;; unset 'LC_ALL' to make 'LANG' working.
2601 ;; HTTPD in Guix uses mod_event and does not build prefork.
2602 (substitute* "tests/httpd.conf"
2603 (("^LoadModule mpm_prefork_module.*$") "\n"))
2605 ;; Generate a self-signed certificate that has "localhost" as its
2606 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2607 ;; 3.5.12, tests such as "ssl-tests" fail:
2609 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2611 ;; 'certtool' is interactive so we have to pipe it the answers.
2612 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2613 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2614 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2615 (for-each (lambda (line)
2620 "Guix" ;Organizational unit name
2621 "GNU" ;Organization name
2623 "" ;State or province
2625 "" ;subject's domain component (DC)
2628 "-1" ;expiration time
2629 "N" ;belong to authority?
2630 "N" ;web client certificate?
2632 "Y" ;web server certificate?
2633 "localhost" ;dnsName of subject
2634 "" ;dnsName of subject (end)
2636 "127.0.0.1" ;IP address of subject
2638 "" ;encryption (RSA)?
2639 "" ;data encryption?
2640 "" ;sign OCSP requests?
2643 "" ;email protection?
2644 "" ;URI of the CRL distribution point
2652 ;; Install vala bindings into $out.
2653 (string-append "vapidir=" %output
2657 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2658 ("gobject-introspection" ,gobject-introspection)
2659 ("intltool" ,intltool)
2660 ("pkg-config" ,pkg-config)
2661 ("python" ,python-wrapper)
2663 ;; These are needed for the tests.
2664 ;; FIXME: Add PHP once available.
2666 ("gnutls" ,gnutls) ;for 'certtool'
2669 ;; libsoup-2.4.pc refers to all these.
2671 ("libxml2" ,libxml2)))
2673 `(("glib-networking" ,glib-networking)
2675 ("sqlite" ,sqlite)))
2676 (home-page "https://live.gnome.org/LibSoup/")
2677 (synopsis "GLib-based HTTP Library")
2679 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2680 and the GLib main loop, to integrate well with GNOME applications.")
2681 (license license:lgpl2.0+)))
2683 (define-public libsecret
2690 "mirror://gnome/sources/libsecret/"
2691 (version-major+minor version) "/"
2692 name "-" version ".tar.xz"))
2695 "11ylmcfx6ff7xd1gpi58i2nbma83lz2xg0g2dq23w6snqhgzwrhd"))))
2696 (build-system gnu-build-system)
2697 (outputs '("out" "doc"))
2699 `(#:tests? #f ; FIXME: Testing hangs.
2701 (list (string-append "--with-html-dir="
2702 (assoc-ref %outputs "doc")
2703 "/share/gtk-doc/html"))))
2705 `(("gettext" ,gettext-minimal)
2706 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2707 ("gobject-introspection" ,gobject-introspection)
2708 ("pkg-config" ,pkg-config)
2710 ("xsltproc" ,libxslt)))
2711 ;; These are needed for the tests.
2712 ;; FIXME: Add gjs once available.
2714 ;("python2" ,python-2)
2715 ;("python2-dbus" ,python2-dbus)
2716 ;("python2-pygobject" ,python2-pygobject)
2717 ;("python2-pygobject-2" ,python2-pygobject-2)))
2719 `(("glib" ,glib))) ; required by libsecret-1.pc
2721 `(("docbook-xsl" ,docbook-xsl)
2722 ("libgcrypt" ,libgcrypt)
2723 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2724 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2725 (synopsis "GObject bindings for \"Secret Service\" API")
2727 "Libsecret is a GObject based library for storing and retrieving passwords
2728 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2729 (license license:lgpl2.1+)))
2731 (define-public five-or-more
2733 (name "five-or-more")
2738 (uri (string-append "mirror://gnome/sources/" name "/"
2739 (version-major+minor version) "/"
2740 name "-" version ".tar.xz"))
2743 "0wkp08xsqr9p9cgdfghi424diajs016b2h4bsfcr5y9xc3rgf93w"))))
2744 (build-system glib-or-gtk-build-system)
2746 `(("pkg-config" ,pkg-config)
2747 ("desktop-file-utils" ,desktop-file-utils)
2748 ("intltool" ,intltool)
2749 ("itstool" ,itstool)
2750 ("xmllint" ,libxml2)))
2753 ("librsvg" ,librsvg)))
2754 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2755 (synopsis "Logic puzzle game")
2756 (description "Five or More is a game where you try to align
2757 five or more objects of the same color and shape causing them to disappear.
2758 On every turn more objects will appear, until the board is full.
2759 Try to last as long as possible.")
2760 (license license:gpl2+)))
2762 (define-public gnome-mines
2764 (name "gnome-mines")
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2774 "1sfxdvns8nppdagnhpd9vd7n77sk5rdji3kdqnc78c2p1npiw11b"))))
2775 (build-system glib-or-gtk-build-system)
2778 (modify-phases %standard-phases
2779 (add-before 'configure 'patch-/bin/true
2781 (substitute* "configure"
2782 (("/bin/true") (which "true"))))))))
2784 `(("pkg-config" ,pkg-config)
2785 ("desktop-file-utils" ,desktop-file-utils)
2786 ("intltool" ,intltool)
2787 ("itstool" ,itstool)
2788 ("xmllint" ,libxml2)))
2791 ("libgnome-games-support" ,libgnome-games-support)
2792 ("librsvg" ,librsvg)))
2793 (home-page "https://wiki.gnome.org/Apps/Mines")
2794 (synopsis "Minesweeper game")
2796 "Mines (previously gnomine) is a puzzle game where you locate mines
2797 floating in an ocean using only your brain and a little bit of luck.")
2798 (license license:gpl2+)))
2800 (define-public gnome-sudoku
2802 (name "gnome-sudoku")
2807 (uri (string-append "mirror://gnome/sources/" name "/"
2808 (version-major+minor version) "/"
2809 name "-" version ".tar.xz"))
2812 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2813 (build-system glib-or-gtk-build-system)
2815 `(("pkg-config" ,pkg-config)
2816 ("desktop-file-utils" ,desktop-file-utils)
2817 ("intltool" ,intltool)
2818 ("itstool" ,itstool)
2819 ("xmllint" ,libxml2)))
2822 ("json-glib" ,json-glib)
2824 ("librsvg" ,librsvg)
2825 ("qqwing" ,qqwing)))
2826 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2827 (synopsis "Japanese logic game")
2829 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2830 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2831 possible while still providing features that make playing difficult Sudoku
2833 (license license:gpl2+)))
2835 (define-public gnome-terminal
2837 (name "gnome-terminal")
2842 (uri (string-append "mirror://gnome/sources/" name "/"
2843 (version-major+minor version) "/"
2844 name "-" version ".tar.xz"))
2847 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2848 (build-system glib-or-gtk-build-system)
2851 (list "--disable-migration" "--disable-search-provider"
2852 "--without-nautilus-extension")
2854 (modify-phases %standard-phases
2855 (add-before 'configure 'patch-/bin/true
2857 (substitute* "configure"
2858 (("/bin/true") (which "true"))))))))
2860 `(("pkg-config" ,pkg-config)
2861 ("desktop-file-utils" ,desktop-file-utils)
2862 ("intltool" ,intltool)
2863 ("itstool" ,itstool)
2864 ("xmllint" ,libxml2)))
2866 `(("dconf" ,dconf)))
2871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2872 ("util-linux" ,util-linux)
2874 (home-page "https://wiki.gnome.org/Apps/Terminal")
2875 (synopsis "Terminal emulator")
2877 "GNOME Terminal is a terminal emulator application for accessing a
2878 UNIX shell environment which can be used to run programs available on
2881 It supports several profiles, multiple tabs and implements several
2882 keyboard shortcuts.")
2883 (license license:gpl3+)))
2885 (define-public colord
2892 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2893 name "-" version ".tar.xz"))
2896 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2897 (build-system glib-or-gtk-build-system)
2899 '(;; The tests want to run valgrind. Punt for now.
2901 #:configure-flags (list "--localstatedir=/var"
2902 ;; GUSB not packaged yet.
2904 ;; No dep on systemd.
2905 "--disable-systemd-login"
2906 ;; Wants to install to global completion dir;
2908 "--disable-bash-completion"
2909 ;; colord-gtk not packaged yet.
2910 "--disable-session-example"
2911 "--with-daemon-user=colord"
2913 (string-append "--with-udevrulesdir="
2914 (assoc-ref %outputs "out")
2915 "/lib/udev/rules.d"))
2917 (modify-phases %standard-phases
2918 (add-before 'configure 'patch-/bin/true
2920 (substitute* "configure"
2921 (("/bin/true") (which "true")))
2922 (substitute* "src/Makefile.in"
2923 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2924 "if test -w $(DESTDIR)$(localstatedir);")))))))
2926 `(("pkg-config" ,pkg-config)
2927 ("gobject-introspection" ,gobject-introspection)
2928 ("libtool" ,libtool)
2929 ("intltool" ,intltool)))
2931 ;; colord.pc refers to all these.
2936 `(("dbus-glib" ,dbus-glib)
2937 ("libgudev" ,libgudev)
2941 ("sane-backends" ,sane-backends)))
2942 (home-page "https://www.freedesktop.org/software/colord/")
2943 (synopsis "Color management service")
2944 (description "Colord is a system service that makes it easy to manage,
2945 install and generate color profiles to accurately color manage input and
2947 (license license:gpl2+)))
2949 (define-public geoclue
2956 (uri (string-append "https://www.freedesktop.org/software/" name
2957 "/releases/" (version-major+minor version) "/"
2958 name "-" version ".tar.xz"))
2961 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
2962 (patches (search-patches "geoclue-config.patch"))))
2963 (build-system glib-or-gtk-build-system)
2965 '(;; The tests want to run the system bus.
2967 #:configure-flags (list ;; Disable bits requiring ModemManager.
2968 "--disable-3g-source"
2969 "--disable-cdma-source"
2970 "--disable-modem-gps-source"
2971 "--with-dbus-service-user=geoclue")
2973 (modify-phases %standard-phases
2974 (add-before 'configure 'patch-/bin/true
2976 (substitute* "configure"
2977 (("/bin/true") (which "true")))
2980 `(("pkg-config" ,pkg-config)
2981 ("gobject-introspection" ,gobject-introspection)
2982 ("intltool" ,intltool)))
2986 ("json-glib" ,json-glib)
2987 ("libsoup" ,libsoup)))
2988 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
2989 (synopsis "Geolocation service")
2990 (description "Geoclue is a D-Bus service that provides location
2991 information. The primary goal of the Geoclue project is to make creating
2992 location-aware applications as simple as possible, while the secondary goal is
2993 to ensure that no application can access location information without explicit
2994 permission from user.")
2995 (license license:gpl2+)))
2997 (define-public geocode-glib
2999 (name "geocode-glib")
3003 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3004 (version-major+minor version) "/"
3005 name "-" version ".tar.xz"))
3008 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
3009 (build-system gnu-build-system)
3011 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
3012 ;; work for the builder. Punt.
3015 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3016 ("gobject-introspection" ,gobject-introspection)
3017 ("pkg-config" ,pkg-config)
3018 ("json-glib" ,json-glib)))
3020 ;; geocode-glib-1.0.pc refers to GIO.
3023 `(("libsoup" ,libsoup)))
3024 (home-page "https://github.com/GNOME/geocode-glib/")
3025 (synopsis "Geocoding and reverse-geocoding library")
3027 "geocode-glib is a convenience library for geocoding (finding longitude,
3028 and latitude from an address) and reverse geocoding (finding an address from
3029 coordinates) using the Nominatim service. geocode-glib caches requests for
3030 faster results and to avoid unnecessary server load.")
3031 (license license:lgpl2.0+)))
3033 (define-public upower
3039 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3040 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
3041 "upower-" version ".tar.xz"))
3044 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
3045 (patches (search-patches "upower-builddir.patch"))))
3046 (build-system glib-or-gtk-build-system)
3048 '( ;; The tests want to contact the system bus, which can't be done in the
3049 ;; build environment. The integration test can run, but the last of
3050 ;; the up-self-tests doesn't. Disable tests for now.
3052 #:configure-flags (list "--localstatedir=/var"
3053 (string-append "--with-udevrulesdir="
3054 (assoc-ref %outputs "out")
3055 "/lib/udev/rules.d"))))
3057 `(("gobject-introspection" ,gobject-introspection)
3058 ("pkg-config" ,pkg-config)
3059 ("intltool" ,intltool)
3063 ("libxslt" ,libxslt) ;for 'xsltproc'
3064 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3065 ("docbook-xsl" ,docbook-xsl)))
3067 `(("dbus-glib" ,dbus-glib)
3068 ("libgudev" ,libgudev)
3069 ("libusb" ,libusb)))
3071 ;; In Requires of upower-glib.pc.
3073 (home-page "https://upower.freedesktop.org/")
3074 (synopsis "System daemon for managing power devices")
3076 "UPower is an abstraction for enumerating power devices,
3077 listening to device events and querying history and statistics. Any
3078 application or service on the system can access the org.freedesktop.UPower
3079 service via the system message bus.")
3080 (license license:gpl2+)))
3082 (define-public libgweather
3084 (name "libgweather")
3088 (uri (string-append "mirror://gnome/sources/" name "/"
3089 (version-major+minor version) "/"
3090 name "-" version ".tar.xz"))
3093 "1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw"))))
3094 (build-system gnu-build-system)
3097 `(,(string-append "--with-zoneinfo-dir="
3098 (assoc-ref %build-inputs "tzdata")
3101 (modify-phases %standard-phases
3102 (add-before 'check 'pre-check
3103 (lambda* (#:key inputs #:allow-other-keys)
3104 (substitute* "data/check-timezones.sh"
3105 (("/usr/share/zoneinfo/zone.tab")
3106 (string-append (assoc-ref inputs "tzdata")
3107 "/share/zoneinfo/zone.tab")))
3113 ;; Install vala bindings into $out.
3114 (string-append "vapidir=" %output
3118 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3119 ("gobject-introspection" ,gobject-introspection)
3120 ("pkg-config" ,pkg-config)
3122 ("intltool" ,intltool)))
3124 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3127 ("gdk-pixbuf" ,gdk-pixbuf)
3128 ("libxml2" ,libxml2)
3129 ("libsoup" ,libsoup)))
3131 `(("tzdata" ,tzdata)
3132 ("geocode-glib" ,geocode-glib)))
3133 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3134 (synopsis "Location, time zone, and weather library for GNOME")
3136 "libgweather is a library to access weather information from online
3137 services for numerous locations.")
3138 (license license:gpl2+)))
3140 (define-public gnome-settings-daemon
3142 (name "gnome-settings-daemon")
3147 (uri (string-append "mirror://gnome/sources/" name "/"
3148 (version-major+minor version) "/"
3149 name "-" version ".tar.xz"))
3152 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
3153 (build-system glib-or-gtk-build-system)
3155 `(;; Color management test can't reach the colord system service.
3158 `(("pkg-config" ,pkg-config)
3159 ("intltool" ,intltool)
3160 ("xsltproc" ,libxslt)
3161 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3162 ("docbook-xml" ,docbook-xml-4.2)
3163 ("docbook-xsl" ,docbook-xsl)))
3165 `(("colord" ,colord)
3166 ("libgudev" ,libgudev)
3169 ("pulseaudio" ,pulseaudio)
3170 ("libcanberra" ,libcanberra)
3172 ("libxtst" ,libxtst)
3174 ("libnotify" ,libnotify)
3175 ("geoclue" ,geoclue)
3176 ("geocode-glib" ,geocode-glib)
3177 ("libgweather" ,libgweather)
3178 ("gnome-desktop" ,gnome-desktop)
3181 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3182 ("libwacom" ,libwacom)
3183 ("librsvg" ,librsvg)
3184 ("xf86-input-wacom" ,xf86-input-wacom)
3185 ("network-manager" ,network-manager)))
3186 (home-page "https://www.gnome.org")
3187 (synopsis "GNOME settings daemon")
3189 "This package contains the daemon responsible for setting the various
3190 parameters of a GNOME session and the applications that run under it. It
3191 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3192 settings, themes, mouse settings, and startup of other daemons.")
3193 (license license:gpl2+)))
3195 (define-public totem-pl-parser
3197 (name "totem-pl-parser")
3201 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3202 (version-major+minor version) "/"
3203 "totem-pl-parser-" version ".tar.xz"))
3206 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3207 (build-system gnu-build-system)
3209 ;; FIXME: Tests require gvfs.
3212 `(("intltool" ,intltool)
3213 ("glib" ,glib "bin")
3214 ("gobject-introspection" ,gobject-introspection)
3215 ("pkg-config" ,pkg-config)))
3219 ("libxml2" ,libxml2)))
3221 `(("libarchive" ,libarchive)
3222 ("libgcrypt" ,libgcrypt)
3224 ("libsoup" ,libsoup)))
3225 (home-page "https://projects.gnome.org/totem")
3226 (synopsis "Library to parse and save media playlists for GNOME")
3227 (description "Totem-pl-parser is a GObjects-based library to parse and save
3228 playlists in a variety of formats.")
3229 (license license:lgpl2.0+)))
3231 (define-public aisleriot
3237 (uri (string-append "mirror://gnome/sources/" name "/"
3238 (version-major+minor version) "/"
3239 name "-" version ".tar.xz"))
3242 "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh"))))
3243 (build-system glib-or-gtk-build-system)
3246 '("--with-platform=gtk-only"
3247 "--with-card-theme-formats=svg")))
3249 `(("desktop-file-utils" ,desktop-file-utils)
3250 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3251 ("intltool" ,intltool)
3252 ("itstool" ,itstool)
3253 ("pkg-config" ,pkg-config)
3254 ("xmllint" ,libxml2)))
3257 ("guile" ,guile-2.2)
3258 ("libcanberra" ,libcanberra)
3259 ("librsvg" ,librsvg)))
3260 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3261 (synopsis "Solitaire card games")
3263 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3264 which are easy to play with the aid of a mouse.")
3265 (license license:gpl3+)))
3267 (define-public devhelp
3273 (uri (string-append "mirror://gnome/sources/" name "/"
3274 (version-major+minor version) "/"
3275 name "-" version ".tar.xz"))
3278 "0f4fmkqzn95zmc2paljma33fkj74qj1m6n23qrc5hfwmgx7p3wkb"))))
3279 (build-system glib-or-gtk-build-system)
3281 `(("intltool" ,intltool)
3282 ("pkg-config" ,pkg-config)))
3284 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3285 ("webkitgtk" ,webkitgtk)))
3286 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3287 (synopsis "API documentation browser for GNOME")
3289 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3290 natively with GTK-Doc (the API reference system developed for GTK+ and used
3291 throughout GNOME for API documentation).")
3292 (license license:gpl2+)))
3301 (uri (string-append "mirror://gnome/sources/" name "/"
3302 (version-major+minor version) "/"
3303 name "-" version ".tar.xz"))
3306 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3307 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3308 ;; cogl, corresponding changes may be appropriate in mutter as well.
3309 (build-system gnu-build-system)
3311 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3312 ("gobject-introspection" ,gobject-introspection)
3313 ;;("xorg-server" ,xorg-server) ; for the test suite
3314 ("pkg-config" ,pkg-config)))
3317 ("gdk-pixbuf" ,gdk-pixbuf)
3319 ("libxext" ,libxext)
3320 ("libxfixes" ,libxfixes)
3321 ("libxdamage" ,libxdamage)
3322 ("libxcomposite" ,libxcomposite)
3323 ("libxrandr" ,libxrandr)))
3328 ("gstreamer" ,gstreamer)
3329 ("gst-plugins-base" ,gst-plugins-base)
3330 ("wayland" ,wayland)))
3332 `(#:configure-flags (list "--enable-cogl-gst"
3333 "--enable-wayland-egl-platform"
3334 "--enable-wayland-egl-server"
3336 ;; Arrange to pass an absolute file name to
3337 ;; dlopen for libGL.so.
3338 (string-append "--with-gl-libname="
3339 (assoc-ref %build-inputs "mesa")
3341 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3342 ;; _FontTransOpen: Unable to Parse address
3343 ;; ${prefix}/share/fonts/X11/misc/
3347 (modify-phases %standard-phases
3348 (add-before 'check 'start-xorg-server
3349 (lambda* (#:key inputs #:allow-other-keys)
3350 ;; The test suite requires a running X server.
3351 (system (format #f "~a/bin/Xvfb :1 &"
3352 (assoc-ref inputs "xorg-server")))
3353 (setenv "DISPLAY" ":1")
3355 (home-page "http://www.cogl3d.org")
3356 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3358 "Cogl is a small library for using 3D graphics hardware to draw pretty
3359 pictures. The API departs from the flat state machine style of OpenGL and is
3360 designed to make it easy to write orthogonal components that can render
3361 without stepping on each others toes.")
3362 (license (list license:expat ; most of the code
3363 license:bsd-3 ; cogl/cogl-point-in-poly.c
3364 license:sgifreeb2.0 ; cogl-path/tesselator/
3365 license:asl2.0)))) ; examples/android/
3367 (define-public clutter
3374 (uri (string-append "mirror://gnome/sources/" name "/"
3375 (version-major+minor version) "/"
3376 name "-" version ".tar.xz"))
3379 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3380 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3381 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3382 (build-system gnu-build-system)
3384 "doc")) ;9 MiB of gtk-doc HTML pages
3386 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3387 ("gobject-introspection" ,gobject-introspection)
3388 ("pkg-config" ,pkg-config)
3389 ("xsltproc" ,libxslt)))
3395 ("json-glib" ,json-glib)
3397 ("libxcomposite" ,libxcomposite)
3398 ("libxdamage" ,libxdamage)
3399 ("libxext" ,libxext)
3400 ("xinput" ,xinput)))
3402 `(("libxkbcommon" ,libxkbcommon)
3405 `(#:configure-flags (list "--enable-x11-backend=yes"
3407 ;; This produces share/doc/{clutter,cally}.
3408 (string-append "--with-html-dir="
3409 (assoc-ref %outputs "doc")
3411 ;; XXX FIXME: Get test suite working. It would probably fail in the
3412 ;; same way the cogl tests fail, since clutter is based on cogl.
3414 (home-page "http://www.clutter-project.org")
3415 (synopsis "Open GL based interactive canvas library")
3417 "Clutter is an Open GL based interactive canvas library, designed for
3418 creating fast, mainly 2D single window applications such as media box UIs,
3419 presentations, kiosk style applications and so on.")
3420 (license license:lgpl2.0+)))
3422 (define-public clutter-gtk
3424 (name "clutter-gtk")
3429 (uri (string-append "mirror://gnome/sources/" name "/"
3430 (version-major+minor version) "/"
3431 name "-" version ".tar.xz"))
3434 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3435 (build-system gnu-build-system)
3437 `(("pkg-config" ,pkg-config)
3438 ("gobject-introspection" ,gobject-introspection)))
3440 ;; clutter-gtk.pc refers to all these.
3441 `(("clutter" ,clutter)
3443 (home-page "http://www.clutter-project.org")
3444 (synopsis "Open GL based interactive canvas library GTK+ widget")
3446 "Clutter is an Open GL based interactive canvas library, designed for
3447 creating fast, mainly 2D single window applications such as media box UIs,
3448 presentations, kiosk style applications and so on.")
3449 (license license:lgpl2.0+)))
3451 (define-public clutter-gst
3453 (name "clutter-gst")
3458 (uri (string-append "mirror://gnome/sources/" name "/"
3459 (version-major+minor version) "/"
3460 name "-" version ".tar.xz"))
3463 "0fnblqm4igdx4rn3681bp1gm1y2i00if3iblhlm0zv6ck9nqlqfq"))))
3464 (build-system gnu-build-system)
3466 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3467 ("pkg-config" ,pkg-config)
3468 ("gobject-introspection" ,gobject-introspection)))
3470 `(("clutter" ,clutter)
3471 ("gstreamer" ,gstreamer)
3472 ("gst-plugins-base" ,gst-plugins-base)))
3473 (home-page "http://www.clutter-project.org")
3474 (synopsis "Integration library for using GStreamer with Clutter")
3476 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3477 It provides a GStreamer sink to upload frames to GL and an actor that
3478 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3479 GL based interactive canvas library.")
3480 (license license:lgpl2.0+)))
3482 (define-public libchamplain
3484 (name "libchamplain")
3489 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3493 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3494 (build-system gnu-build-system)
3495 (arguments '(#:configure-flags '("--enable-vala")))
3497 `(("gobject-introspection" ,gobject-introspection)
3498 ("pkg-config" ,pkg-config)
3501 `(("libsoup" ,libsoup)
3503 ("clutter" ,clutter)
3504 ("clutter-gtk" ,clutter-gtk)
3505 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3509 (home-page "https://projects.gnome.org/libchamplain/")
3510 (synopsis "C library providing a ClutterActor to display maps")
3512 "libchamplain is a C library providing a ClutterActor to display maps.
3513 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3514 and Perl bindings are also available. It supports numerous free map sources
3515 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3516 (license license:lgpl2.1+)))
3525 (uri (string-append "mirror://gnome/sources/" name "/"
3526 (version-major+minor version) "/"
3527 name "-" version ".tar.xz"))
3530 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3531 (build-system gnu-build-system)
3533 `(("intltool" ,intltool)
3534 ("pkg-config" ,pkg-config)
3535 ("gobject-introspection" ,gobject-introspection)))
3538 ("gdk-pixbuf" ,gdk-pixbuf)
3539 ("sqlite" ,sqlite)))
3540 ;; XXX TODO: Figure out how to run the test suite.
3541 (arguments `(#:tests? #f))
3542 (home-page "https://wiki.gnome.org/Projects/Gom")
3543 (synopsis "Object mapper from GObjects to SQLite")
3545 "Gom provides an object mapper from GObjects to SQLite. It helps you
3546 write applications that need to store structured data as well as make complex
3547 queries upon that data.")
3548 (license license:lgpl2.1+)))
3550 (define-public libgnome-games-support
3552 (name "libgnome-games-support")
3556 (uri (string-append "mirror://gnome/sources/" name "/"
3557 (version-major+minor version) "/"
3558 name "-" version ".tar.xz"))
3561 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
3562 (build-system gnu-build-system)
3565 (modify-phases %standard-phases
3566 (add-before 'check 'pre-check
3568 ;; Tests require a writable HOME.
3569 (setenv "HOME" (getcwd))
3572 `(("intltool" ,intltool)
3573 ("pkg-config" ,pkg-config)
3576 ;; Required by libgnome-games-support-1.0.pc
3578 ("libgee" ,libgee)))
3579 (home-page "https://www.gnome.org/")
3580 (synopsis "Useful functionality shared among GNOME games")
3582 "libgnome-games-support is a small library intended for internal use by
3583 GNOME Games, but it may be used by others.")
3584 (license license:lgpl3+)))
3586 (define-public gnome-klotski
3588 (name "gnome-klotski")
3592 (uri (string-append "mirror://gnome/sources/" name "/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3597 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3598 (build-system glib-or-gtk-build-system)
3600 `(("desktop-file-utils" ,desktop-file-utils)
3601 ("intltool" ,intltool)
3602 ("itstool" ,itstool)
3603 ("pkg-config" ,pkg-config)
3604 ("xmllint" ,libxml2)))
3607 ("libgnome-games-support" ,libgnome-games-support)
3608 ("librsvg" ,librsvg)))
3609 (home-page "https://wiki.gnome.org/Apps/Klotski")
3610 (synopsis "Sliding block puzzles")
3612 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3613 the patterned block to the area bordered by green markers. To do so, you will
3614 need to slide other blocks out of the way. Complete each puzzle in as few moves
3616 (license license:gpl2+)))
3618 (define-public grilo
3625 (uri (string-append "mirror://gnome/sources/" name "/"
3626 (version-major+minor version) "/"
3627 name "-" version ".tar.xz"))
3630 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3631 (build-system gnu-build-system)
3633 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3634 ("intltool" ,intltool)
3635 ("pkg-config" ,pkg-config)
3636 ("gobject-introspection" ,gobject-introspection)))
3638 `(("cyrus-sasl" ,cyrus-sasl)
3641 ("libxml2" ,libxml2)
3642 ("liboauth" ,liboauth)
3643 ("libsoup" ,libsoup)
3645 ("totem-pl-parser" ,totem-pl-parser)))
3648 (modify-phases %standard-phases
3649 (add-after 'unpack 'fix-introspection-install-dir
3650 (lambda* (#:key outputs #:allow-other-keys)
3651 (let ((out (assoc-ref outputs "out")))
3652 (substitute* '("src/Makefile.in"
3653 "libs/pls/Makefile.in"
3654 "libs/net/Makefile.in")
3655 (("@INTROSPECTION_GIRDIR@")
3656 (string-append out "/share/gir-1.0/"))
3657 (("@INTROSPECTION_TYPELIBDIR@")
3658 (string-append out "/lib/girepository-1.0/")))
3660 (native-search-paths
3661 (list (search-path-specification
3662 (variable "GRL_PLUGIN_PATH")
3663 (files (list (string-append "lib/grilo-"
3664 (version-major+minor version)))))))
3665 (home-page "https://live.gnome.org/Grilo")
3666 (synopsis "Framework for discovering and browsing media")
3668 "Grilo is a framework focused on making media discovery and browsing easy
3669 for application developers.")
3670 (license license:lgpl2.1+)))
3672 (define-public grilo-plugins
3674 (name "grilo-plugins")
3679 (uri (string-append "mirror://gnome/sources/" name "/"
3680 (version-major+minor version) "/"
3681 name "-" version ".tar.xz"))
3684 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3685 (build-system gnu-build-system)
3687 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3688 ("intltool" ,intltool)
3689 ("itstool" ,itstool)
3690 ("pkg-config" ,pkg-config)))
3693 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3695 ("libxml2" ,libxml2)
3698 ;; XXX TODO: Add oauth
3699 ;; XXX TODO: Add goa
3700 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3701 ;; XXX TODO: Add lua (needs help finding it)
3702 ("json-glib" ,json-glib)
3705 ("libsoup" ,libsoup)
3706 ("libarchive" ,libarchive)
3707 ("totem-pl-parser" ,totem-pl-parser)))
3709 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3712 ,(version-major+minor version)))
3713 ;; XXX FIXME: Try to get the test suite working. It appears to require
3714 ;; a working system dbus. Inside the build container, all tests fail
3715 ;; with: "assertion failed: (source)". Outside of the build container,
3716 ;; most tests succeed.
3718 (home-page "https://live.gnome.org/Grilo")
3719 (synopsis "Plugins for the Grilo media discovery library")
3721 "Grilo is a framework focused on making media discovery and browsing easy
3722 for application developers.")
3723 (license license:lgpl2.1+)))
3725 (define-public totem
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3737 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3738 (patches (search-patches "totem-meson-easy-codec.patch"))))
3739 (build-system meson-build-system)
3741 `(("pkg-config" ,pkg-config)
3742 ("desktop-file-utils" ,desktop-file-utils)
3743 ("gobject-introspection" ,gobject-introspection)
3744 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3745 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3746 ("intltool" ,intltool)
3747 ("itstool" ,itstool)
3748 ("xmllint" ,libxml2)))
3750 `(("dconf" ,dconf)))
3753 ("gdk-pixbuf" ,gdk-pixbuf)
3756 ("dbus-glib" ,dbus-glib)
3757 ("clutter" ,clutter)
3758 ("clutter-gtk" ,clutter-gtk)
3759 ("clutter-gst" ,clutter-gst)
3760 ("xorgproto" ,xorgproto)
3761 ("libxxf86vm" ,libxxf86vm)
3762 ("libxtst" ,libxtst)
3763 ("libxrandr" ,libxrandr)
3764 ("libxml2" ,libxml2)
3765 ("libsoup" ,libsoup)
3766 ("libpeas" ,libpeas)
3767 ("librsvg" ,librsvg)
3769 ("gnome-desktop" ,gnome-desktop)
3770 ("gstreamer" ,gstreamer)
3771 ("gst-plugins-base" ,gst-plugins-base)
3772 ("gst-plugins-good" ,gst-plugins-good)
3773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3774 ("adwaita-icon-theme" ,adwaita-icon-theme)
3775 ;; XXX We use python-2 because libxml2 because itstool (which needs
3776 ;; libxml) currently uses python-2.
3777 ("python" ,python-2)
3778 ("python-pygobject" ,python2-pygobject)
3779 ;; XXX TODO pylint needed for python support
3780 ("totem-pl-parser" ,totem-pl-parser)
3782 ("grilo-plugins" ,grilo-plugins)
3788 ;; Disable parallel builds until
3789 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3790 ;; fixed. Try enabling it when updating this package in case
3791 ;; upstream has fixed it.
3792 #:parallel-build? #f
3794 ;; Disable automatic GStreamer plugin installation via PackageKit and
3796 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3798 ;; Do not build .a files for the plugins, it's
3799 ;; completely useless. This saves 2 MiB.
3800 "--default-library" "shared")
3803 (modify-phases %standard-phases
3805 'install 'disable-cache-generation
3807 (setenv "DESTDIR" "/")
3810 'install 'wrap-totem
3811 (lambda* (#:key inputs outputs #:allow-other-keys)
3812 (let ((out (assoc-ref outputs "out"))
3813 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3814 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3815 (wrap-program (string-append out "/bin/totem")
3816 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3817 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3818 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3819 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3821 (home-page "https://wiki.gnome.org/Apps/Videos")
3822 (synopsis "Simple media player for GNOME based on GStreamer")
3823 (description "Totem is a simple yet featureful media player for GNOME
3824 which can read a large number of file formats.")
3825 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3826 ;; to be used and distributed together with GStreamer and Totem. See
3827 ;; file://COPYING in the source distribution for details.
3828 (license license:gpl2+)))
3830 (define-public rhythmbox
3836 (uri (string-append "mirror://gnome/sources/" name "/"
3837 (version-major+minor version) "/"
3838 name "-" version ".tar.xz"))
3841 ;; fmradio: Fix build with GStreamer master
3845 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3846 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3849 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
3852 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3853 (build-system glib-or-gtk-build-system)
3856 (list "--enable-lirc"
3863 (modify-phases %standard-phases
3865 'install 'wrap-rhythmbox
3866 (lambda* (#:key inputs outputs #:allow-other-keys)
3867 (let ((out (assoc-ref outputs "out"))
3868 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3869 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3870 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3871 (python-path (getenv "PYTHONPATH")))
3872 (wrap-program (string-append out "/bin/rhythmbox")
3873 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3874 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3875 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3876 `("PYTHONPATH" ":" prefix (,python-path))))
3879 `(("dconf" ,dconf)))
3881 `(("itstool" ,itstool)
3882 ("intltool" ,intltool)
3883 ("glib" ,glib "bin")
3884 ("gobject-introspection" ,gobject-introspection)
3885 ("desktop-file-utils" ,desktop-file-utils)
3886 ("pkg-config" ,pkg-config)
3887 ("xmllint" ,libxml2)))
3889 `(("json-glib" ,json-glib)
3891 ("gnome-desktop" ,gnome-desktop)
3893 ("python-pygobject" ,python2-pygobject)
3897 ("adwaita-icon-theme" ,adwaita-icon-theme)
3899 ("grilo-plugins" ,grilo-plugins)
3900 ("gstreamer" ,gstreamer)
3901 ("gst-plugins-base" ,gst-plugins-base)
3902 ("gst-plugins-good" ,gst-plugins-good)
3903 ("totem-pl-parser" ,totem-pl-parser)
3904 ("libgudev" ,libgudev)
3905 ;;("libmtp" ,libmtp) FIXME: Not detected
3906 ("libsecret" ,libsecret)
3907 ("libsoup" ,libsoup)
3908 ("libnotify" ,libnotify)
3909 ("libpeas" ,libpeas)
3911 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3912 ;;("clutter" ,clutter)
3913 ;;("clutter-gtk" ,clutter-gtk)
3914 ;;("clutter-gst" ,clutter-gst)
3915 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3922 ("brasero" ,brasero)))
3923 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3924 (synopsis "Music player for GNOME")
3925 (description "Rhythmbox is a music playing application for GNOME. It
3926 supports playlists, song ratings, and any codecs installed through gstreamer.")
3927 (license license:gpl2+)))
3935 (uri (string-append "mirror://gnome/sources/" name "/"
3936 (version-major+minor version) "/"
3937 name "-" version ".tar.xz"))
3940 "1b87i31mxzayd3knn9zg00y816d093qrbyx556w8a03xz96ksgmm"))))
3941 (build-system glib-or-gtk-build-system)
3944 (modify-phases %standard-phases
3947 (lambda* (#:key outputs #:allow-other-keys)
3948 (let ((out (assoc-ref outputs "out"))
3949 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3950 (wrap-program (string-append out "/bin/eog")
3951 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3954 `(("dconf" ,dconf)))
3956 `(("intltool" ,intltool)
3957 ("itstool" ,itstool)
3958 ("glib" ,glib "bin")
3959 ("gobject-introspection" ,gobject-introspection)
3960 ("pkg-config" ,pkg-config)
3961 ("xmllint" ,libxml2)))
3963 `(("gnome-desktop" ,gnome-desktop)
3964 ("shared-mime-info" ,shared-mime-info)
3965 ("adwaita-icon-theme" ,adwaita-icon-theme)
3968 ("libexif" ,libexif)
3969 ("libpeas" ,libpeas)
3970 ("libjpeg" ,libjpeg)
3971 ("librsvg" ,librsvg)
3972 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3974 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3975 (synopsis "GNOME image viewer")
3976 (description "Eye of GNOME is the GNOME image viewer. It
3977 supports image conversion, rotation, and slideshows.")
3978 (license license:gpl2+)))
3980 (define-public eog-plugins
3981 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3982 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3983 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3984 ;; 'XDG_DATA_DIRS' appropriately set.
3986 (name "eog-plugins")
3990 (uri (string-append "mirror://gnome/sources/" name "/"
3991 (version-major+minor version) "/"
3992 name "-" version ".tar.xz"))
3995 "1w8zw7kwfvlwlyb1k1inqdvbwnzq959sqawlmnwfb8ykn98hbk8y"))))
3996 (build-system gnu-build-system)
3997 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3998 (synopsis "Extensions for the Eye of GNOME image viewer")
4000 `(("pkg-config" ,pkg-config)
4001 ("gettext" ,gnu-gettext)))
4006 ("libpeas" ,libpeas)
4007 ("libexif" ,libexif)
4008 ("libchamplain" ,libchamplain)))
4010 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4014 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4015 @item @dfn{Map}, which displays a map of where the picture was taken on the
4017 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4020 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4021 ;; long suspicious byte stream that goes to a
4022 ;; ".gresource.eog_postasa_plugin" ELF section.
4023 (license license:gpl2+)))
4025 (define-public libgudev
4031 (uri (string-append "mirror://gnome/sources/" name "/"
4032 version "/" name "-" version ".tar.xz"))
4035 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
4036 (build-system gnu-build-system)
4038 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4039 ("gobject-introspection" ,gobject-introspection)
4040 ("pkg-config" ,pkg-config)))
4042 `(("glib" ,glib))) ; required by gudev-1.0.pc
4045 (home-page "https://wiki.gnome.org/Projects/libgudev")
4046 (synopsis "GObject bindings for libudev")
4048 "This library provides GObject bindings for libudev. It was originally
4049 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4050 (license license:lgpl2.1+)))
4058 (uri (string-append "mirror://gnome/sources/" name "/"
4059 (version-major+minor version) "/"
4060 name "-" version ".tar.xz"))
4063 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
4064 (build-system gnu-build-system)
4066 '(#:tests? #f)) ; XXX: requiring `pidof'
4068 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4069 ("intltool" ,intltool)
4070 ("pkg-config" ,pkg-config)
4071 ("xsltproc" ,libxslt)))
4074 ("docbook-xml" ,docbook-xml-4.2)
4075 ("docbook-xsl" ,docbook-xsl)
4080 ("libarchive" ,libarchive)
4081 ("libbluray" ,libbluray)
4083 ("libcdio-paranoia" ,libcdio-paranoia)
4084 ("libgcrypt" ,libgcrypt)
4085 ("libgphoto2" ,libgphoto2)
4086 ("libgudev" ,libgudev)
4088 ("libsecret" ,libsecret)
4089 ("libsmbclient" ,samba)
4090 ("libsoup" ,libsoup)
4091 ("libxml2" ,libxml2)
4092 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4094 ("udisks" ,udisks)))
4095 (home-page "https://wiki.gnome.org/gvfs/")
4096 (synopsis "Userspace virtual file system for GIO")
4098 "GVFS is a userspace virtual file system designed to work with the I/O
4099 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4100 to all applications using the GIO API. It also supports exposing the GVFS
4101 mounts to non-GIO applications using FUSE.
4103 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4105 (license license:lgpl2.0+)))
4113 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4117 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4118 (build-system meson-build-system)
4120 `(("gobject-introspection" ,gobject-introspection)
4121 ("pkg-config" ,pkg-config)
4123 ("gtk-doc" ,gtk-doc)))
4125 ;; Both of these are required by gusb.pc.
4127 ("libusb" ,libusb)))
4129 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4130 (home-page "https://github.com/hughsie/libgusb")
4131 (synopsis "GLib binding for libusb1")
4133 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4134 asynchronous control, bulk and interrupt transfers with proper cancellation
4135 and integration into a mainloop. This makes it easy to integrate low level
4136 USB transfers with your high-level application or system daemon.")
4137 (license license:lgpl2.1+)))
4139 (define-public simple-scan
4141 (name "simple-scan")
4145 (uri (string-append "https://launchpad.net/simple-scan/"
4146 (version-major+minor version) "/"
4147 version "/+download/simple-scan-"
4151 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4152 (build-system glib-or-gtk-build-system)
4157 ("gdk-pixbuf" ,gdk-pixbuf)
4159 ("libsane" ,sane-backends)))
4161 `(("gettext" ,gettext-minimal)
4162 ("itstool" ,itstool)
4164 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4165 ("pkg-config" ,pkg-config)
4167 ("xmllint" ,libxml2)))
4169 '(#:configure-flags '("--disable-packagekit")
4171 (modify-phases %standard-phases
4172 (add-after 'unpack 'clean
4174 ;; Remove a left-over reference to PackageKit.
4176 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4178 ;; There are some generated C files erroneously
4179 ;; included in the source distribution, and this
4180 ;; one breaks the build by referring to a
4181 ;; non-existent header (packagekit.h)
4182 (delete-file "src/ui.c"))))))
4183 (home-page "https://launchpad.net/simple-scan")
4184 (synopsis "Document and image scanner")
4185 (description "Simple Scan is an easy-to-use application, designed to let
4186 users connect their scanner and quickly have the image/document in an
4187 appropriate format. Simple Scan is basically a frontend for SANE - which is
4188 the same backend as XSANE uses. This means that all existing scanners will
4189 work and the interface is well tested.")
4190 (license license:gpl3+)))
4192 (define-public eolie
4198 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4199 "uploads/020f3f686e2b938731752a1d9f5bfa7e/"
4200 "eolie-" version ".tar.xz"))
4203 "0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42"))))
4204 (build-system meson-build-system)
4208 (modify-phases %standard-phases
4209 (add-after 'wrap 'wrap-more
4210 (lambda* (#:key inputs outputs #:allow-other-keys)
4211 (let* ((out (assoc-ref outputs "out"))
4212 ;; These libraries must be on LD_LIBRARY_PATH.
4213 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4214 "atk" "gtk+" "gsettings-desktop-schemas"
4215 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4216 "gobject-introspection"))
4219 (string-append (assoc-ref inputs lib) "/lib"))
4222 (wrap-program (string-append out "/bin/eolie")
4223 `("LD_LIBRARY_PATH" ":" prefix (,path))
4224 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4225 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4228 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4229 ("intltool" ,intltool)
4230 ("itstool" ,itstool)
4231 ("pkg-config" ,pkg-config)
4233 ("glib:bin" ,glib "bin")
4234 ("gtk+" ,gtk+ "bin")))
4236 `(("gobject-introspection" ,gobject-introspection)
4237 ("glib-networking" ,glib-networking)
4240 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4241 ("python" ,python-wrapper)
4242 ("python-dateutil" ,python-dateutil)
4243 ("python-pyfxa" ,python-pyfxa)
4244 ("python-pygobject" ,python-pygobject)
4245 ("python-pycairo" ,python-pycairo)
4246 ("python-pycrypto" ,python-pycrypto)
4247 ("libsecret" ,libsecret)
4248 ("gtkspell3" ,gtkspell3)
4249 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4250 ("webkitgtk" ,webkitgtk-2.22)))
4251 (home-page "https://wiki.gnome.org/Apps/Eolie")
4252 (synopsis "Web browser for GNOME")
4254 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4255 a secret password store, an adblocker, and a modern UI.")
4256 (license license:gpl3+)))
4258 (define-public epiphany
4261 (version "3.28.3.1")
4264 (uri (string-append "mirror://gnome/sources/" name "/"
4265 (version-major+minor version) "/"
4266 name "-" version ".tar.xz"))
4269 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4271 (build-system meson-build-system)
4273 ;; FIXME: tests run under Xvfb, but fail with:
4274 ;; /src/bookmarks/ephy-bookmarks/create:
4275 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4281 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4282 (list (string-append "-Dc_link_args=-Wl,-rpath="
4283 (assoc-ref %outputs "out") "/lib/epiphany"))))
4285 `(("dconf" ,dconf)))
4287 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4288 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4289 ("glib:bin" ,glib "bin") ; for glib-mkenums
4290 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4291 ("intltool" ,intltool)
4292 ("itstool" ,itstool)
4293 ("pkg-config" ,pkg-config)
4294 ("xmllint" ,libxml2)))
4298 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4299 ("glib-networking" ,glib-networking)
4300 ("gnome-desktop" ,gnome-desktop)
4301 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4302 ("json-glib" ,json-glib)
4303 ("iso-codes" ,iso-codes)
4304 ("libnotify" ,libnotify)
4305 ("libsecret" ,libsecret)
4306 ("libxslt" ,libxslt)
4307 ("nettle" ,nettle) ; for hogweed
4309 ("webkitgtk" ,webkitgtk-2.22)))
4310 (home-page "https://wiki.gnome.org/Apps/Web")
4311 (synopsis "GNOME web browser")
4313 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4314 principles are simplicity and standards compliance.")
4315 (license license:gpl2+)))
4317 (define-public d-feet
4323 (uri (string-append "mirror://gnome/sources/" name "/"
4324 (version-major+minor version) "/"
4325 name "-" version ".tar.xz"))
4328 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4329 (build-system glib-or-gtk-build-system)
4331 '(#:out-of-source? #f ; tests need to run in the source directory.
4333 (modify-phases %standard-phases
4337 ;; The test suite requires a running X server.
4338 (system "Xvfb :1 &")
4339 (setenv "DISPLAY" ":1")
4340 ;; Don't fail on missing '/etc/machine-id'.
4341 (setenv "DBUS_FATAL_WARNINGS" "0")
4342 ;; tests.py and window.py don't meet E402:
4343 ;; E402 module level import not at top of file
4344 (substitute* "src/tests/Makefile"
4345 (("--ignore=E123") "--ignore=E123,E402"))
4348 'install 'wrap-program
4349 (lambda* (#:key outputs #:allow-other-keys)
4350 (let ((prog (string-append (assoc-ref outputs "out")
4353 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4354 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4357 `(("intltool" ,intltool)
4358 ("itstool" ,itstool)
4359 ("pkg-config" ,pkg-config)
4360 ("python-pep8" ,python-pep8)
4361 ("xmllint" ,libxml2)
4362 ("xorg-server" ,xorg-server)))
4364 `(("gobject-introspection" ,gobject-introspection)
4366 ("python" ,python-wrapper)
4367 ("python-pygobject" ,python-pygobject)))
4368 (home-page "https://wiki.gnome.org/Apps/DFeet")
4369 (synopsis "D-Bus debugger")
4371 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4372 of running programs and invoke methods on those interfaces.")
4373 (license license:gpl2+)))
4375 (define-public yelp-xsl
4381 (uri (string-append "mirror://gnome/sources/" name "/"
4382 (version-major+minor version) "/"
4383 name "-" version ".tar.xz"))
4386 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4387 (build-system gnu-build-system)
4389 `(("intltool" ,intltool)
4390 ("itstool" ,itstool)
4391 ("xmllint" ,libxml2)))
4392 (home-page "https://wiki.gnome.org/Apps/Yelp")
4393 (synopsis "XSL stylesheets for Yelp")
4395 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4396 to format Docbook and Mallard documents.")
4397 (license license:gpl2+)))
4405 (uri (string-append "mirror://gnome/sources/" name "/"
4406 (version-major+minor version) "/"
4407 name "-" version ".tar.xz"))
4410 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4411 (build-system glib-or-gtk-build-system)
4413 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4414 ("intltool" ,intltool)
4415 ("itstool" ,itstool)
4416 ("pkg-config" ,pkg-config)))
4418 `(("dconf" ,dconf)))
4420 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4421 ("libxslt" ,libxslt)
4423 ("webkitgtk" ,webkitgtk)
4424 ("yelp-xsl" ,yelp-xsl)))
4425 (home-page "https://wiki.gnome.org/Apps/Yelp")
4426 (synopsis "GNOME help browser")
4428 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4429 man, info, and HTML documents. It can locate documents according to the
4430 freedesktop.org help system specification.")
4431 (license license:gpl2+)))
4433 (define-public yelp-tools
4439 (uri (string-append "mirror://gnome/sources/" name "/"
4440 (version-major+minor version) "/"
4441 name "-" version ".tar.xz"))
4444 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4445 (build-system gnu-build-system)
4447 `(("pkg-config" ,pkg-config)))
4449 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4450 `(("itstool" ,itstool)
4451 ("xmllint" ,libxml2)
4452 ("xsltproc" ,libxslt)))
4454 `(("yelp-xsl" ,yelp-xsl)))
4455 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4456 (synopsis "Yelp documentation tools")
4458 "Yelp-tools is a collection of scripts and build utilities to help create,
4459 manage, and publish documentation for Yelp and the web. Most of the heavy
4460 lifting is done by packages like yelp-xsl and itstool. This package just
4461 wraps things up in a developer-friendly way.")
4462 (license license:gpl2+)))
4464 (define-public libgee
4470 (uri (string-append "mirror://gnome/sources/" name "/"
4471 (version-major+minor version) "/"
4472 name "-" version ".tar.xz"))
4475 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4476 (build-system gnu-build-system)
4479 (modify-phases %standard-phases
4480 (add-after 'unpack 'fix-introspection-install-dir
4481 (lambda* (#:key outputs #:allow-other-keys)
4482 (let ((out (assoc-ref outputs "out")))
4483 (substitute* "gee/Makefile.in"
4484 (("@INTROSPECTION_GIRDIR@")
4485 (string-append out "/share/gir-1.0/"))
4486 (("@INTROSPECTION_TYPELIBDIR@")
4487 (string-append out "/lib/girepository-1.0/")))))))))
4489 `(("glib" ,glib "bin")
4490 ("pkg-config" ,pkg-config)))
4493 ("gobject-introspection" ,gobject-introspection)))
4494 (home-page "https://wiki.gnome.org/Projects/Libgee")
4495 (synopsis "GObject collection library")
4497 "Libgee is a utility library providing GObject-based interfaces and
4498 classes for commonly used data structures.")
4499 (license license:lgpl2.1+)))
4501 (define-public gexiv2
4507 (uri (string-append "mirror://gnome/sources/" name "/"
4508 (version-major+minor version) "/"
4509 name "-" version ".tar.xz"))
4512 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4513 (build-system meson-build-system)
4515 `(("glib" ,glib "bin")
4516 ("pkg-config" ,pkg-config)))
4518 ;; Listed in "Requires" section of gexiv2.pc
4519 `(("exiv2" ,exiv2)))
4522 ("gobject-introspection" ,gobject-introspection)))
4523 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4524 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4526 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4527 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4528 metadata in photo and video files of various formats.")
4529 (license license:gpl2+)))
4531 (define-public shotwell
4537 (uri (string-append "mirror://gnome/sources/" name "/"
4538 (version-major+minor version) "/"
4539 name "-" version ".tar.xz"))
4542 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4543 (build-system glib-or-gtk-build-system)
4545 `(("dconf" ,dconf)))
4547 `(("pkg-config" ,pkg-config)
4548 ("itstool" ,itstool)
4549 ("gettext" ,gettext-minimal)
4550 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4551 ("itstool" ,itstool)
4554 `(("glib:bin" ,glib "bin")
4555 ("gstreamer" ,gstreamer)
4556 ("gst-plugins-base" ,gst-plugins-base)
4557 ("libgdata" ,libgdata)
4561 ("json-glib" ,json-glib)
4562 ("webkitgtk" ,webkitgtk)
4564 ("libsoup" ,libsoup)
4565 ("libxml2" ,libxml2)
4566 ("libgudev" ,libgudev)
4567 ("libgphoto2" ,libgphoto2)
4569 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4570 (synopsis "Photo manager for GNOME 3")
4572 "Shotwell is a digital photo manager designed for the GNOME desktop
4573 environment. It allows you to import photos from disk or camera, organize
4574 them by keywords and events, view them in full-window or fullscreen mode, and
4575 share them with others via social networking and more.")
4576 (license license:lgpl2.1+)))
4578 (define-public file-roller
4580 (name "file-roller")
4584 (uri (string-append "mirror://gnome/sources/" name "/"
4585 (version-major+minor version) "/"
4586 name "-" version ".tar.xz"))
4589 "19d8pc5z2xzhnicgaysxmwx3ghwzl4cw8kygd6nsw69g3j77nrry"))))
4590 (build-system glib-or-gtk-build-system)
4593 (modify-phases %standard-phases
4594 (add-before 'install 'skip-gtk-update-icon-cache
4596 ;; Don't create 'icon-theme.cache'
4597 (substitute* (find-files "data" "^Makefile$")
4598 (("gtk-update-icon-cache") (which "true")))
4601 `(("intltool" ,intltool)
4602 ("pkg-config" ,pkg-config)))
4603 ;; TODO: Add libnautilus.
4606 ("gdk-pixbuf" ,gdk-pixbuf)
4607 ("json-glib" ,json-glib)
4608 ("libarchive" ,libarchive)
4609 ("libnotify" ,libnotify)
4611 ("itstool" ,itstool)
4612 ("libxml2" ,libxml2)))
4613 (synopsis "Graphical archive manager for GNOME")
4614 (description "File Roller is an archive manager for the GNOME desktop
4615 environment that allows users to view, unpack, and create compressed archives
4616 such as gzip tarballs.")
4617 (home-page "http://fileroller.sourceforge.net/")
4618 (license license:gpl2+)))
4620 (define-public gnome-session
4622 (name "gnome-session")
4626 (uri (string-append "mirror://gnome/sources/" name "/"
4627 (version-major+minor version) "/"
4628 name "-" version ".tar.xz"))
4631 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4634 (modify-phases %standard-phases
4635 (add-before 'configure 'pre-configure
4636 (lambda* (#:key outputs #:allow-other-keys)
4637 ;; Use elogind instead of systemd.
4638 (substitute* "configure"
4639 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4641 (("systemd") "elogind"))
4642 (substitute* "gnome-session/gsm-systemd.c"
4643 (("#include <systemd/sd-login.h>")
4644 "#include <elogind/sd-login.h>"))
4645 ;; Remove uses of the systemd journal.
4646 (substitute* "gnome-session/main.c"
4647 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4648 (substitute* "gnome-session/gsm-manager.c"
4649 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4650 (substitute* "gnome-session/gsm-autostart-app.c"
4651 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4653 (add-after 'install 'wrap-gnome-session
4654 (lambda* (#:key inputs outputs #:allow-other-keys)
4655 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4656 (let ((glib (assoc-ref inputs "glib:bin"))
4657 (out (assoc-ref outputs "out")))
4658 (wrap-program (string-append out "/bin/gnome-session")
4659 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4661 (add-after 'install 'add-absolute-paths-to-desktop-files
4662 (lambda* (#:key outputs #:allow-other-keys)
4663 (let* ((out (assoc-ref outputs "out")))
4664 (substitute* (map (lambda (x)
4665 (string-append out "/share/xsessions/" x))
4666 '("gnome.desktop" "gnome-xorg.desktop"))
4667 (("gnome-session") (string-append out "/bin/gnome-session")))
4671 '("--enable-elogind")))
4672 (build-system glib-or-gtk-build-system)
4674 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4675 ("pkg-config" ,pkg-config)
4676 ("intltool" ,intltool)
4677 ("xsltproc" ,libxslt)))
4679 `(("elogind" ,elogind)
4680 ("gnome-desktop" ,gnome-desktop)
4681 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4683 ("json-glib" ,json-glib)
4685 ("libxcomposite" ,libxcomposite)
4686 ("libxtst" ,libxtst)
4689 ("xtrans" ,xtrans)))
4690 (synopsis "Session manager for GNOME")
4692 "This package contains the GNOME session manager, as well as a
4693 configuration program to choose applications starting on login.")
4694 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4695 (license license:gpl2+)))
4703 (uri (string-append "mirror://gnome/sources/" name "/"
4704 (version-major+minor version) "/"
4705 name "-" version ".tar.xz"))
4708 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4709 (build-system gnu-build-system)
4712 (modify-phases %standard-phases
4716 ;; The test suite requires a running X server.
4717 (system "Xvfb :1 &")
4718 (setenv "DISPLAY" ":1")
4720 ;; For the missing /etc/machine-id.
4721 (setenv "DBUS_FATAL_WARNINGS" "0")
4723 ;; Our mozjs-38 package does not compile the required Intl API
4724 ;; support for these failing tests.
4725 (substitute* "installed-tests/js/testLocale.js"
4726 ((".*toBeDefined.*") "")
4727 ((".*expect\\(datestr\\).*") ""))
4730 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4731 ("pkg-config" ,pkg-config)
4732 ("xmllint" ,libxml2)
4734 ("dbus-launch" ,dbus)
4735 ("uuidgen" ,util-linux)
4736 ("xvfb" ,xorg-server)))
4738 ;; These are all in the Requires.private field of gjs-1.0.pc.
4740 ("gobject-introspection" ,gobject-introspection)
4741 ("mozjs" ,mozjs-38)))
4744 ("readline" ,readline)))
4745 (synopsis "Javascript bindings for GNOME")
4746 (home-page "https://live.gnome.org/Gjs")
4748 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4749 javascript engine and the GObject introspection framework.")
4750 (license license:gpl2+)))
4752 (define-public gedit
4758 (uri (string-append "mirror://gnome/sources/" name "/"
4759 (version-major+minor version) "/"
4760 name "-" version ".tar.xz"))
4763 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4764 (build-system glib-or-gtk-build-system)
4767 (modify-phases %standard-phases
4769 'install 'wrap-gedit
4770 (lambda* (#:key inputs outputs #:allow-other-keys)
4771 (let ((out (assoc-ref outputs "out"))
4772 (gtksourceview (assoc-ref inputs "gtksourceview"))
4773 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4774 (python-path (getenv "PYTHONPATH")))
4775 (wrap-program (string-append out "/bin/gedit")
4777 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4778 `("PYTHONPATH" ":" prefix (,python-path))
4779 ;; For language-specs.
4780 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4784 `(("dconf" ,dconf)))
4786 `(("intltool" ,intltool)
4787 ("itstool" ,itstool)
4788 ("gobject-introspection" ,gobject-introspection)
4789 ("pkg-config" ,pkg-config)))
4794 ("gtksourceview" ,gtksourceview)
4795 ("libpeas" ,libpeas)
4796 ("libxml2" ,libxml2)
4797 ("iso-codes" ,iso-codes)
4798 ("python-pygobject" ,python-pygobject)
4800 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4803 ("adwaita-icon-theme" ,adwaita-icon-theme)
4804 ("libsoup" ,libsoup)
4805 ("gnome-desktop" ,gnome-desktop)))
4806 (home-page "https://wiki.gnome.org/Apps/Gedit")
4807 (synopsis "GNOME text editor")
4808 (description "While aiming at simplicity and ease of use, gedit is a
4809 powerful general purpose text editor.")
4810 (license license:gpl2+)))
4812 (define-public zenity
4818 (uri (string-append "mirror://gnome/sources/" name "/"
4819 (version-major+minor version) "/"
4820 name "-" version ".tar.xz"))
4823 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4824 (build-system gnu-build-system)
4826 `(("gettext" ,gettext-minimal)
4827 ("itstool" ,itstool)
4828 ("pkg-config" ,pkg-config)))
4830 `(("libnotify" ,libnotify)
4831 ("webkitgtk" ,webkitgtk)))
4832 (synopsis "Display graphical dialog boxes from shell scripts")
4833 (home-page "https://www.gnome.org")
4835 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4836 to display dialog boxes from the commandline and shell scripts.")
4837 (license license:lgpl2.0+)))
4839 (define-public mutter
4845 (uri (string-append "mirror://gnome/sources/" name "/"
4846 (version-major+minor version) "/"
4847 name "-" version ".tar.xz"))
4850 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4851 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4852 ;; versions of cogl and clutter. As a result, many of the inputs,
4853 ;; propagated-inputs, and configure flags used in cogl and clutter are
4854 ;; needed here as well.
4855 (build-system gnu-build-system)
4858 ;; XXX: build fails with [-Werror]:
4859 ;; backends/meta-cursor-renderer.c:112:5: error:
4860 ;; implicit declaration of function ?roundf?
4861 (list "--enable-compile-warnings=minimum"
4863 "--enable-native-backend"
4865 ;; The following flags are needed for the bundled clutter
4866 "--enable-x11-backend=yes"
4868 (string-append "--with-xwayland-path="
4869 (assoc-ref %build-inputs "xorg-server-xwayland")
4872 ;; the remaining flags are needed for the bundled cogl
4874 (string-append "--with-gl-libname="
4875 (assoc-ref %build-inputs "mesa")
4878 (modify-phases %standard-phases
4879 ;; Replace references to systemd libraries to elogind references.
4880 (add-before 'configure 'use-elogind
4882 (substitute* (list "configure"
4883 "src/backends/native/meta-launcher.c"
4885 (("systemd") "elogind"))
4888 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4889 ("gobject-introspection" ,gobject-introspection)
4890 ("intltool" ,intltool)
4891 ("pkg-config" ,pkg-config)
4893 ("autoconf" ,autoconf)
4894 ("automake" ,automake)
4895 ("libtool" ,libtool)))
4897 `(;; libmutter.pc refers to these:
4898 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4900 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4903 ("gdk-pixbuf" ,gdk-pixbuf)
4906 ("json-glib" ,json-glib)
4907 ("libinput" ,libinput)
4909 ("libxcomposite" ,libxcomposite)
4910 ("libxdamage" ,libxdamage)
4911 ("libxext" ,libxext)
4912 ("libxfixes" ,libxfixes)
4913 ("libxkbcommon" ,libxkbcommon)
4914 ("libxrandr" ,libxrandr)
4918 ("xinput" ,xinput)))
4920 `(("elogind" ,elogind)
4921 ("gnome-desktop" ,gnome-desktop)
4922 ("libcanberra-gtk" ,libcanberra)
4923 ("libgudev" ,libgudev)
4926 ("libxkbfile" ,libxkbfile)
4927 ("libxrandr" ,libxrandr)
4928 ("libxtst" ,libxtst)
4929 ("startup-notification" ,startup-notification)
4930 ("upower-glib" ,upower)
4931 ("xkeyboard-config" ,xkeyboard-config)
4932 ("xorg-server-xwayland" ,xorg-server-xwayland)
4933 ("zenity" ,zenity)))
4934 (synopsis "Window and compositing manager")
4935 (home-page "https://www.gnome.org")
4937 "Mutter is a window and compositing manager that displays and manages your
4938 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4939 Clutter toolkit with solid window-management logic inherited from the Metacity
4941 (license license:gpl2+)))
4943 (define-public gnome-online-accounts
4945 (name "gnome-online-accounts")
4949 (uri (string-append "mirror://gnome/sources/" name "/"
4950 (version-major+minor version) "/"
4951 name "-" version ".tar.xz"))
4954 "1l8p1ghknmkmjpnpl7jr53j66qbzpikickzbmrz0aczyhq6pdy29"))))
4955 (build-system glib-or-gtk-build-system)
4957 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4958 ("gobject-introspection" ,gobject-introspection)
4959 ("intltool" ,intltool)
4960 ("pkg-config" ,pkg-config)
4961 ("xsltproc" ,libxslt)))
4963 `(("glib" ,glib) ; required by goa-1.0.pc
4964 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4966 `(("docbook-xsl" ,docbook-xsl)
4967 ("json-glib" ,json-glib)
4968 ("libsecret" ,libsecret)
4970 ("webkitgtk" ,webkitgtk)))
4971 (synopsis "Single sign-on framework for GNOME")
4972 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4974 "GNOME Online Accounts provides interfaces so that applications and
4975 libraries in GNOME can access the user's online accounts. It has providers for
4976 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4977 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4978 (license license:lgpl2.0+)))
4980 (define-public evolution-data-server
4982 (name "evolution-data-server")
4986 (uri (string-append "mirror://gnome/sources/" name "/"
4987 (version-major+minor version) "/"
4988 name "-" version ".tar.xz"))
4991 "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"))))
4992 (build-system cmake-build-system)
4994 '(;; XXX FIXME: 11/85 tests are failing.
4997 (let* ((lib (string-append (assoc-ref %outputs "out")
4999 (runpaths (map (lambda (s) (string-append
5000 lib "/evolution-data-server/" s))
5001 '("addressbook-backends" "calendar-backends"
5002 "camel-providers" "credential-modules"
5003 "registry-modules"))))
5004 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5005 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5006 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5007 "-DENABLE_VALA_BINDINGS=ON"
5008 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5009 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5010 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5011 ;; evolution-data-server has been updated to qualify ICU types
5012 ;; explicitly, as required by ICU 61 and later. See:
5013 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5014 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5015 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5016 (string-append lib "/evolution-data-server;")
5017 (string-join runpaths ";"))
5018 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5020 (modify-phases %standard-phases
5021 (add-after 'unpack 'patch-paths
5023 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5024 (("/bin/rm") (which "rm")))
5026 (add-before 'configure 'dont-override-rpath
5028 (substitute* "CMakeLists.txt"
5029 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5030 ;; Remove it so the configure flag is respected.
5031 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5034 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5035 ("gobject-introspection" ,gobject-introspection)
5037 ("intltool" ,intltool)
5038 ("pkg-config" ,pkg-config)
5040 ("python" ,python-wrapper)))
5042 ;; These are all in the Requires field of .pc files.
5044 ("libical" ,libical)
5045 ("libsecret" ,libsecret)
5046 ("libsoup" ,libsoup)
5048 ("sqlite" ,sqlite)))
5052 ("gnome-online-accounts" ,gnome-online-accounts)
5053 ("json-glib" ,json-glib)
5054 ("libgweather" ,libgweather)
5055 ("mit-krb5" ,mit-krb5)
5056 ("openldap" ,openldap)
5057 ("webkitgtk" ,webkitgtk)))
5058 (synopsis "Store address books and calendars")
5059 (home-page "https://wiki.gnome.org/Apps/Evolution")
5061 "This package provides a unified backend for programs that work with
5062 contacts, tasks, and calendar information. It was originally developed for
5063 Evolution (hence the name), but is now used by other packages as well.")
5064 (license license:lgpl2.0)))
5066 (define-public caribou
5072 (uri (string-append "mirror://gnome/sources/" name "/"
5073 (version-major+minor version) "/"
5074 name "-" version ".tar.xz"))
5077 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5078 (build-system glib-or-gtk-build-system)
5081 (modify-phases %standard-phases
5084 (lambda* (#:key outputs #:allow-other-keys)
5085 (let ((out (assoc-ref outputs "out")))
5086 ;; Use absolute shared library path in Caribou-1.0.typelib.
5087 (substitute* "libcaribou/Makefile"
5088 (("--shared-library=libcaribou.so")
5089 (string-append "--shared-library="
5090 out "/lib/libcaribou.so")))
5092 (add-after 'install 'wrap-programs
5093 (lambda* (#:key outputs #:allow-other-keys)
5094 (let* ((out (assoc-ref outputs "out"))
5095 (python-path (getenv "PYTHONPATH"))
5096 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5100 `("PYTHONPATH" ":" prefix (,python-path))
5101 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5102 (list (string-append out "/bin/caribou-preferences")
5103 (string-append out "/libexec/antler-keyboard"))))
5106 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5107 ("gobject-introspection" ,gobject-introspection)
5108 ("intltool" ,intltool)
5109 ("pkg-config" ,pkg-config)
5110 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5112 ("xsltproc" ,libxslt)))
5114 ;; caribou-1.0.pc refers to all these.
5115 `(("libgee" ,libgee)
5116 ("libxklavier" ,libxklavier)
5117 ("libxtst" ,libxtst)
5120 `(("clutter" ,clutter)
5123 ("python-pygobject" ,python2-pygobject)))
5124 (synopsis "Text entry and UI navigation application")
5125 (home-page "https://wiki.gnome.org/Projects/Caribou")
5127 "Caribou is an input assistive technology intended for switch and pointer
5129 (license license:lgpl2.1)))
5131 (define-public network-manager
5133 (name "network-manager")
5137 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5138 (version-major+minor version) "/"
5139 "NetworkManager-" version ".tar.xz"))
5142 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
5145 (use-modules (guix build utils))
5146 (substitute* "configure"
5147 ;; Replace libsystemd-login with libelogind.
5148 (("libsystemd-login") "libelogind"))
5149 (substitute* "src/devices/wwan/nm-modem-manager.c"
5150 (("systemd") "elogind"))
5151 (substitute* "src/nm-session-monitor.c"
5152 (("systemd") "elogind"))
5153 (substitute* "./src/nm-logging.c"
5154 (("systemd") "elogind"))
5156 (build-system gnu-build-system)
5158 "doc")) ; 8 MiB of gtk-doc HTML
5161 (let ((out (assoc-ref %outputs "out"))
5162 (doc (assoc-ref %outputs "doc"))
5163 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5165 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5166 "--with-consolekit=no"
5167 "--with-crypto=gnutls"
5168 "--disable-config-plugin-ibft"
5170 "--localstatedir=/var"
5171 (string-append "--with-udev-dir="
5173 (string-append "--with-dbus-sys-dir="
5174 out "/etc/dbus-1/system.d")
5175 (string-append "--with-html-dir="
5176 doc "/share/gtk-doc/html")
5177 (string-append "--with-dhclient=" dhclient)))
5179 (modify-phases %standard-phases
5180 (add-before 'configure 'pre-configure
5182 ;; These tests try to test aspects of network-manager's
5183 ;; functionality within restricted containers, but they don't
5184 ;; cope with being already in the Guix build jail as that jail
5185 ;; lacks some features that they would like to proxy over (like
5187 (substitute* '("Makefile.in")
5188 (("src/platform/tests/test-address-linux") " ")
5189 (("src/platform/tests/test-cleanup-linux") " ")
5190 (("src/platform/tests/test-link-linux") " ")
5191 (("src/platform/tests/test-route-linux") " ")
5192 (("src/devices/tests/test-arping") " ")
5193 (("src/devices/tests/test-lldp") " ")
5194 (("src/tests/test-route-manager-linux") " "))
5196 (add-before 'check 'pre-check
5198 ;; For the missing /etc/machine-id.
5199 (setenv "DBUS_FATAL_WARNINGS" "0")
5203 (zero? (system* "make"
5207 "nmstatedir=/tmp/nm"
5212 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5213 ("gobject-introspection" ,gobject-introspection)
5214 ("docbook-xsl" ,docbook-xsl)
5215 ("intltool" ,intltool)
5216 ("libxslt" ,libxslt)
5217 ("libxml2" ,libxml2)
5218 ("pkg-config" ,pkg-config)
5220 ("python" ,python-wrapper)
5221 ("python-dbus" ,python-dbus)
5222 ("python-pygobject" ,python-pygobject)))
5225 ("cyrus-sasl" ,cyrus-sasl)
5226 ("dbus-glib" ,dbus-glib)
5227 ("dnsmasq" ,dnsmasq)
5230 ("iptables" ,iptables)
5231 ("isc-dhcp" ,isc-dhcp)
5232 ("jansson" ,jansson)
5233 ("libgcrypt" ,libgcrypt)
5234 ("libgudev" ,libgudev)
5237 ("libsoup" ,libsoup)
5238 ("modem-manager" ,modem-manager)
5239 ("newt" ,newt) ;for the 'nmtui' console interface
5242 ("readline" ,readline)
5243 ("util-linux" ,util-linux)
5244 ("elogind" ,elogind)))
5245 (synopsis "Network connection manager")
5246 (home-page "https://www.gnome.org/projects/NetworkManager/")
5248 "NetworkManager is a system network service that manages your network
5249 devices and connections, attempting to keep active network connectivity when
5250 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5251 devices, and provides VPN integration with a variety of different VPN
5253 (license license:gpl2+)
5254 (properties '((upstream-name . "NetworkManager")))))
5256 (define-public network-manager-openvpn
5258 (name "network-manager-openvpn")
5263 "mirror://gnome/sources/NetworkManager-openvpn/"
5264 (version-major+minor version)
5265 "/NetworkManager-openvpn-" version ".tar.xz"))
5268 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5269 (build-system gnu-build-system)
5271 '(#:configure-flags '("--enable-absolute-paths")))
5273 `(("pkg-config" ,pkg-config)
5274 ("intltool" ,intltool)))
5277 ("openvpn" ,openvpn)
5278 ("network-manager" ,network-manager)
5279 ("network-manager-applet" ,network-manager-applet) ;for libnma
5280 ("libsecret" ,libsecret)))
5281 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5282 (synopsis "OpenVPN plug-in for NetworkManager")
5284 "This extension of NetworkManager allows it to take care of connections
5285 to virtual private networks (VPNs) via OpenVPN.")
5286 (license license:gpl2+)
5287 (properties `((upstream-name . "NetworkManager-openvpn")))))
5289 (define-public mobile-broadband-provider-info
5291 (name "mobile-broadband-provider-info")
5292 (version "20170310")
5296 "mirror://gnome/sources/"
5297 "mobile-broadband-provider-info/" version "/"
5298 "mobile-broadband-provider-info-" version ".tar.xz"))
5301 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5302 (build-system gnu-build-system)
5304 `(#:tests? #f)) ; No tests
5305 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5306 (synopsis "Database of broadband connection configuration")
5307 (description "Database of broadband connection configuration.")
5308 (license license:public-domain)))
5310 (define-public network-manager-applet
5312 (name "network-manager-applet")
5316 (uri (string-append "mirror://gnome/sources/" name "/"
5317 (version-major+minor version) "/"
5318 name "-" version ".tar.xz"))
5321 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5322 (build-system glib-or-gtk-build-system)
5323 (arguments '(#:configure-flags '("--disable-migration")))
5325 `(("intltool" ,intltool)
5326 ("gobject-introspection" ,gobject-introspection)
5327 ("pkg-config" ,pkg-config)))
5329 ;; libnm-gtk.pc refers to all these.
5330 `(("dbus-glib" ,dbus-glib)
5332 ("network-manager" ,network-manager)))
5334 `(("iso-codes" ,iso-codes)
5335 ("libgudev" ,libgudev)
5336 ("libnotify" ,libnotify)
5337 ("libsecret" ,libsecret)
5338 ("libselinux" ,libselinux)
5339 ("jansson" ,jansson) ; for team support
5340 ("modem-manager" ,modem-manager)))
5341 (synopsis "Applet for managing network connections")
5342 (home-page "https://www.gnome.org/projects/NetworkManager/")
5344 "This package contains a systray applet for NetworkManager. It displays
5345 the available networks and allows users to easily switch between them.")
5346 (license license:gpl2+)))
5348 (define-public libxml++
5354 (uri (string-append "mirror://gnome/sources/" name "/"
5355 (version-major+minor version) "/"
5356 name "-" version ".tar.xz"))
5359 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5360 (build-system gnu-build-system)
5361 ;; libxml++-3.0.pc refers to all these.
5363 `(("libxml2" ,libxml2)
5364 ("glibmm" ,glibmm)))
5367 ("pkg-config" ,pkg-config)))
5368 (home-page "http://libxmlplusplus.sourceforge.net/")
5369 (synopsis "C++ wrapper for XML parser library libxml2")
5371 "This package provides a C++ wrapper for the XML parser library
5373 (license license:lgpl2.1+)))
5375 (define-public libxml++-2
5382 (uri (string-append "mirror://gnome/sources/" name "/"
5383 (version-major+minor version) "/"
5384 name "-" version ".tar.xz"))
5387 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5392 (version "3.26.2.1")
5395 (uri (string-append "mirror://gnome/sources/" name "/"
5396 (version-major+minor version) "/"
5397 name "-" version ".tar.xz"))
5398 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5401 "0mxdal6hh345xk2xqmw5192jgpprkbcv1d4bwmnl4arcc00cpp8p"))))
5402 (build-system glib-or-gtk-build-system)
5405 `("--without-plymouth"
5406 "--disable-systemd-journal"
5408 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5409 ;; instead of having to replace it (i.e., stopping the mingetty
5410 ;; service for TTY 1 before starting GDM).
5411 "--with-initial-vt=7"
5413 ;; Use '/etc/environment' for locale settings instead of the
5414 ;; systemd-specific '/etc/locale.conf'.
5415 "--with-lang-file=/etc/environment"
5417 "--localstatedir=/var"
5418 ,(string-append "--with-default-path="
5419 (string-join '("/run/setuid-programs"
5420 "/run/current-system/profile/bin"
5421 "/run/current-system/profile/sbin")
5423 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5424 ;; XDG_DATA_DIRS so that it finds its schemas.
5425 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5427 (modify-phases %standard-phases
5429 'configure 'pre-configure
5430 (lambda* (#:key inputs #:allow-other-keys)
5431 ;; We don't have <systemd/sd-daemon.h>.
5432 (substitute* '("common/gdm-log.c"
5433 "daemon/gdm-server.c"
5434 "daemon/gdm-session-worker.c"
5435 "daemon/gdm-session-worker-job.c")
5436 (("#include <systemd/sd-daemon\\.h>") ""))
5437 ;; Use elogind for sd-login.
5438 (substitute* '("common/gdm-common.c"
5439 "daemon/gdm-manager.c"
5440 "libgdm/gdm-user-switching.c")
5441 (("#include <systemd/sd-login\\.h>")
5442 "#include <elogind/sd-login.h>"))
5443 ;; Check for elogind.
5444 (substitute* '("configure")
5447 ;; Look for system-installed sessions in
5448 ;; /run/current-system/profile/share.
5449 (substitute* '("libgdm/gdm-sessions.c"
5450 "daemon/gdm-session.c"
5451 "daemon/gdm-display.c"
5452 "daemon/gdm-launch-environment.c")
5454 "\"/run/current-system/profile/share/x")
5455 (("DATADIR \"/wayland")
5456 "\"/run/current-system/profile/share/wayland")
5457 (("DATADIR \"/gnome")
5458 "\"/run/current-system/profile/share/gnome"))
5459 (let ((propagate '("GDM_CUSTOM_CONF"
5463 ;; XXX: Remove this once GNOME Shell is
5464 ;; a dependency of GDM.
5466 (substitute* "daemon/gdm-session.c"
5467 (("set_up_session_environment \\(self\\);")
5468 (apply string-append
5469 "set_up_session_environment (self);\n"
5472 "gdm_session_set_environment_variable "
5473 "(self, \"" name "\","
5474 "g_getenv (\"" name "\"));\n"))
5476 ;; Look for custom GDM conf in /run/current-system.
5477 (substitute* '("common/gdm-settings-desktop-backend.c")
5478 (("GDM_CUSTOM_CONF")
5479 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5480 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5481 " : GDM_CUSTOM_CONF)")))
5482 ;; Use service-supplied path to X.
5483 (substitute* '("daemon/gdm-server.c")
5484 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5485 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5486 (substitute* '("daemon/gdm-x-session.c")
5487 (("\"dbus-daemon\"")
5488 "g_getenv (\"GDM_DBUS_DAEMON\")")
5490 "g_getenv (\"GDM_X_SERVER\")")
5491 (("GDMCONFDIR \"/Xsession\"")
5492 "g_getenv (\"GDM_X_SESSION\")"))
5493 ;; Use an absolute path for GNOME Session.
5494 (substitute* "daemon/gdm-launch-environment.c"
5495 (("\"gnome-session\"")
5496 (string-append "\"" (assoc-ref inputs "gnome-session")
5497 "/bin/gnome-session\"")))
5499 ;; GDM needs GNOME Session to run these applications. We link
5500 ;; their autostart files in `share/gdm/greeter/autostart'
5501 ;; because GDM explicitly tells GNOME Session to look there.
5503 ;; XXX: GNOME Shell should be linked here too, but currently
5504 ;; GNOME Shell depends on GDM.
5505 (add-after 'install 'link-autostart-files
5506 (lambda* (#:key inputs outputs #:allow-other-keys)
5507 (let* ((out (assoc-ref outputs "out"))
5508 (autostart (string-append out "/share/gdm/"
5509 "greeter/autostart"))
5510 (settings (assoc-ref inputs "gnome-settings-daemon")))
5512 (with-directory-excursion autostart
5513 (for-each (lambda (desktop)
5514 (symlink desktop (basename desktop)))
5515 (find-files (string-append settings "/etc/xdg"))))
5519 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5520 ("gobject-introspection" ,gobject-introspection)
5521 ("intltool" ,intltool)
5522 ("itstool" ,itstool)
5523 ("pkg-config" ,pkg-config)
5524 ("xmllint" ,libxml2)))
5526 `(("accountsservice" ,accountsservice)
5527 ("check" ,check) ; for testing
5528 ("elogind" ,elogind)
5529 ("gnome-session" ,gnome-session)
5530 ("gnome-settings-daemon" ,gnome-settings-daemon)
5532 ("iso-codes" ,iso-codes)
5533 ("libcanberra" ,libcanberra)
5534 ("linux-pam" ,linux-pam)))
5535 (synopsis "Display manager for GNOME")
5536 (home-page "https://wiki.gnome.org/Projects/GDM/")
5538 "GNOME Display Manager is a system service that is responsible for
5539 providing graphical log-ins and managing local and remote displays.")
5540 (license license:gpl2+)))
5542 (define-public libgtop
5548 (uri (string-append "mirror://gnome/sources/" name "/"
5549 (version-major+minor version) "/"
5550 name "-" version ".tar.xz"))
5553 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5554 (build-system gnu-build-system)
5556 `(("gobject-introspection" ,gobject-introspection)
5557 ("intltool" ,intltool)
5559 ("pkg-config" ,pkg-config)))
5561 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5562 (synopsis "Portable system access library")
5563 (home-page "https://www.gnome.org/")
5565 "LibGTop is a library to get system specific data such as CPU and memory
5566 usage and information about running processes.")
5567 (license license:gpl2+)))
5569 (define-public gnome-bluetooth
5571 (name "gnome-bluetooth")
5575 (uri (string-append "mirror://gnome/sources/" name "/"
5576 (version-major+minor version) "/"
5577 name "-" version ".tar.xz"))
5580 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5581 (build-system glib-or-gtk-build-system)
5583 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5584 ("gobject-introspection" ,gobject-introspection)
5585 ("intltool" ,intltool)
5586 ("pkg-config" ,pkg-config)
5587 ("xmllint" ,libxml2)))
5589 ;; gnome-bluetooth-1.0.pc refers to all these.
5593 `(("libcanberra" ,libcanberra)
5594 ("libnotify" ,libnotify)))
5595 (synopsis "GNOME Bluetooth subsystem")
5596 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5598 "This package contains tools for managing and manipulating Bluetooth
5599 devices using the GNOME desktop.")
5600 (license license:lgpl2.1+)))
5602 (define-public gnome-control-center
5604 (name "gnome-control-center")
5608 (uri (string-append "mirror://gnome/sources/" name "/"
5609 (version-major+minor version) "/"
5610 name "-" version ".tar.xz"))
5613 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5614 (build-system glib-or-gtk-build-system)
5617 (modify-phases %standard-phases
5618 (add-before 'configure 'patch-paths
5619 (lambda* (#:key inputs #:allow-other-keys)
5620 (let ((libc (assoc-ref inputs "libc"))
5621 (tzdata (assoc-ref inputs "tzdata")))
5622 (substitute* "panels/datetime/tz.h"
5623 (("/usr/share/zoneinfo/zone.tab")
5624 (string-append tzdata "/share/zoneinfo/zone.tab")))
5625 (substitute* "panels/datetime/test-endianess.c"
5626 (("/usr/share/locale")
5627 (string-append libc "/share/locale")))
5630 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5631 ("intltool" ,intltool)
5632 ("pkg-config" ,pkg-config)
5633 ("xsltproc" ,libxslt)))
5635 `(("accountsservice" ,accountsservice)
5636 ("clutter-gtk" ,clutter-gtk)
5637 ("colord-gtk" ,colord-gtk)
5640 ("docbook-xsl" ,docbook-xsl)
5641 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5642 ("gnome-bluetooth" ,gnome-bluetooth)
5643 ("gnome-desktop" ,gnome-desktop)
5644 ("gnome-online-accounts" ,gnome-online-accounts)
5645 ("gnome-settings-daemon" ,gnome-settings-daemon)
5648 ("libcanberra" ,libcanberra)
5649 ("libgudev" ,libgudev)
5650 ("libgtop" ,libgtop)
5651 ("libpwquality" ,libpwquality)
5652 ("libsoup" ,libsoup)
5653 ("libxml2" ,libxml2)
5654 ("libwacom" ,libwacom)
5656 ("mit-krb5" ,mit-krb5)
5657 ("modem-manager" ,modem-manager)
5658 ("network-manager-applet" ,network-manager-applet)
5660 ("pulseaudio" ,pulseaudio)
5661 ("smbclient" ,samba)
5663 ("upower" ,upower)))
5664 (synopsis "Utilities to configure the GNOME desktop")
5665 (home-page "https://www.gnome.org/")
5667 "This package contains configuration applets for the GNOME desktop,
5668 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5669 properties, sound setup, desktop theme and background, user interface
5670 properties, screen resolution, and other GNOME parameters.")
5671 (license license:gpl2+)))
5673 (define-public gnome-shell
5675 (name "gnome-shell")
5679 (uri (string-append "mirror://gnome/sources/" name "/"
5680 (version-major+minor version) "/"
5681 name "-" version ".tar.xz"))
5684 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))
5685 (patches (search-patches "gnome-shell-theme.patch"))
5686 (modules '((guix build utils)))
5689 ;; CSS files have to be regenerated from the .scss source
5690 ;; that 'gnome-shell-theme.patch' modifies.
5691 (for-each delete-file
5692 (find-files "data/theme"
5693 "^gnome-shell.*\\.css$"))
5695 ;; Copy images for use on the GDM log-in screen.
5696 (copy-file #$(file-append %artwork-repository
5697 "/slim/0.x/background.png")
5698 "data/theme/guix-background.png")
5699 (invoke #+(file-append inkscape "/bin/inkscape")
5700 "--export-png=data/theme/guix-logo.png"
5701 #$(file-append %artwork-repository
5702 "/logo/Guix-horizontal-white.svg"))
5704 (build-system glib-or-gtk-build-system)
5707 (modify-phases %standard-phases
5708 (add-before 'build 'rebuild-css
5710 ;; Rebuild the CSS files from the .scss files that our patch
5712 (invoke "make" "-C" "data"
5713 "theme/gnome-shell.css"
5714 "theme/gnome-shell-high-contrast.css")))
5716 (lambda* (#:key outputs #:allow-other-keys)
5717 (let* ((out (assoc-ref outputs "out"))
5718 (keysdir (string-append
5719 out "/share/gnome-control-center/keybindings")))
5720 (zero? (system* "make"
5721 (string-append "keysdir=" keysdir)
5724 'install 'wrap-programs
5725 (lambda* (#:key outputs #:allow-other-keys)
5726 (let ((out (assoc-ref outputs "out"))
5727 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5728 (python-path (getenv "PYTHONPATH")))
5729 (wrap-program (string-append out "/bin/gnome-shell")
5730 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5733 (wrap-program (string-append out "/bin/" prog)
5734 `("PYTHONPATH" ":" prefix (,python-path))
5735 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5736 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5739 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5740 ("gobject-introspection" ,gobject-introspection)
5741 ("intltool" ,intltool)
5742 ("pkg-config" ,pkg-config)
5744 ("xsltproc" ,libxslt)
5745 ("ruby-sass" ,ruby-sass)))
5747 `(("accountsservice" ,accountsservice)
5748 ("caribou" ,caribou)
5749 ("docbook-xsl" ,docbook-xsl)
5750 ("evolution-data-server" ,evolution-data-server)
5754 ("gnome-bluetooth" ,gnome-bluetooth)
5755 ("gnome-control-center" ,gnome-control-center)
5756 ("gnome-desktop" ,gnome-desktop)
5757 ("gnome-settings-daemon" ,gnome-settings-daemon)
5758 ("gst-plugins-base" ,gst-plugins-base)
5760 ("libcanberra" ,libcanberra)
5761 ("libcroco" ,libcroco)
5762 ("libgweather" ,libgweather)
5763 ("libsoup" ,libsoup)
5764 ("mesa-headers" ,mesa-headers)
5766 ("network-manager-applet" ,network-manager-applet)
5768 ("pulseaudio" ,pulseaudio)
5769 ("python-pygobject" ,python-pygobject)
5770 ("startup-notification" ,startup-notification)
5771 ("telepathy-logger" ,telepathy-logger)
5773 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5774 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5775 ("librsvg" ,librsvg)
5776 ("geoclue" ,geoclue)
5777 ;; XXX: required by libgjs.la.
5778 ("readline" ,readline)))
5779 (synopsis "Desktop shell for GNOME")
5780 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5782 "GNOME Shell provides core user interface functions for the GNOME desktop,
5783 like switching to windows and launching applications.")
5784 (license license:gpl2+)))
5786 (define-public gtk-vnc
5793 (uri (string-append "mirror://gnome/sources/" name "/"
5794 (version-major+minor version) "/"
5795 name "-" version ".tar.xz"))
5798 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
5799 (build-system gnu-build-system)
5801 '(#:configure-flags '("--with-gtk=3.0")))
5803 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5805 `(("cyrus-sasl" ,cyrus-sasl)
5807 ("libgcrypt" ,libgcrypt)
5808 ("pulseaudio" ,pulseaudio)))
5810 `(("glib:bin" ,glib "bin")
5811 ("gobject-introspection" ,gobject-introspection)
5812 ("intltool" ,intltool)
5813 ("pkg-config" ,pkg-config)
5814 ("python-wrapper" ,python-wrapper)
5816 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5817 (synopsis "VNC viewer widget for GTK+")
5819 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5820 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5821 GTK-VNC implements client side RFB protocol and authentication extensions such
5822 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5823 (license license:lgpl2.1+)))
5825 (define-public gnome-autoar
5827 (name "gnome-autoar")
5831 (uri (string-append "mirror://gnome/sources/" name "/"
5832 (version-major+minor version) "/"
5833 name "-" version ".tar.xz"))
5836 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
5837 (build-system glib-or-gtk-build-system)
5839 `(("gnome-common" ,gnome-common)
5840 ("gobject-introspection" ,gobject-introspection)
5841 ("pkg-config" ,pkg-config)))
5843 `(("libarchive" ,libarchive))) ; XXX document why
5846 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5847 (synopsis "Archives integration support for GNOME")
5848 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5850 "GNOME Autoar is a library which makes creating and extracting archives
5851 easy, safe, and automatic.")
5852 (license license:lgpl2.1+)))
5854 (define-public tracker
5860 (uri (string-append "mirror://gnome/sources/" name "/"
5861 (version-major+minor version) "/"
5862 name "-" version ".tar.xz"))
5865 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
5866 (build-system glib-or-gtk-build-system)
5868 `(("gnome-common" ,gnome-common)
5869 ("gobject-introspection" ,gobject-introspection)
5870 ("intltool" ,intltool)
5871 ("pkg-config" ,pkg-config)
5876 ("gstreamer" ,gstreamer)
5877 ("gst-plugins-base" ,gst-plugins-base)
5879 ("nettle" ,nettle) ; XXX why is this needed?
5880 ("poppler" ,poppler)
5882 ("libexif" ,libexif)
5884 ("libtiff" ,libtiff)
5885 ("libvorbis" ,libvorbis)
5887 ("totem-pl-parser" ,totem-pl-parser)
5890 ("libxml2" ,libxml2)
5892 ("libunistring" ,libunistring)
5894 ("json-glib" ,json-glib)
5895 ("openjpeg" ,openjpeg-1)
5896 ("libosinfo" ,libosinfo)
5898 ("libseccomp" ,libseccomp)
5899 ("libsoup" ,libsoup)
5900 ("libuuid" ,util-linux)))
5901 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5902 (synopsis "Metadata database, indexer and search tool")
5903 (home-page "https://wiki.gnome.org/Projects/Tracker")
5905 "Tracker is an advanced framework for first class objects with associated
5906 metadata and tags. It provides a one stop solution for all metadata, tags,
5907 shared object databases, search tools and indexing.")
5908 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5909 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5910 (license (list license:gpl2+
5912 license:lgpl2.0+))))
5914 (define-public nautilus
5920 (uri (string-append "mirror://gnome/sources/" name "/"
5921 (version-major+minor version) "/"
5922 name "-" version ".tar.xz"))
5925 "1d0l4vgcjqj4671hb6s2a56baqlasbxn3wl6vfrpdsk5qq299jbr"))))
5926 (build-system meson-build-system)
5929 ;; XXX: FAIL: check-nautilus
5930 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5933 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5934 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5935 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5936 ("gobject-introspection" ,gobject-introspection)
5937 ("intltool" ,intltool)
5938 ("pkg-config" ,pkg-config)))
5943 ("gnome-desktop" ,gnome-desktop)
5944 ("gnome-autoar" ,gnome-autoar)
5945 ("libselinux" ,libselinux)
5946 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5947 ("tracker" ,tracker)
5948 ;; XXX: gtk+ is required by libnautilus-extension.pc
5950 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5952 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5954 ("libexif" ,libexif)
5955 ("libxml2" ,libxml2)))
5956 (synopsis "File manager for GNOME")
5957 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5959 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5960 design and behaviour, giving the user a simple way to navigate and manage its
5962 (license license:gpl2+)))
5964 (define-public baobab
5971 "mirror://gnome/sources/" name "/"
5972 (version-major+minor version) "/"
5973 name "-" version ".tar.xz"))
5976 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
5977 (build-system meson-build-system)
5979 '(#:glib-or-gtk? #t))
5981 `(("intltool" ,intltool)
5982 ("pkg-config" ,pkg-config)
5983 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5984 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5985 ("itstool" ,itstool)
5986 ("xmllint" ,libxml2)
5987 ("glib" ,glib "bin")
5991 (synopsis "Disk usage analyzer for GNOME")
5993 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5994 usage in the GNOME desktop environment. It can easily scan device volumes or
5995 a specific user-requested directory branch (local or remote). Once the scan
5996 is complete it provides a graphical representation of each selected folder.")
5997 (home-page "https://wiki.gnome.org/Apps/Baobab")
5998 (license license:gpl2+)))
6000 (define-public gnome-backgrounds
6002 (name "gnome-backgrounds")
6007 (uri (string-append "mirror://gnome/sources/" name "/"
6008 (version-major+minor version) "/"
6009 name "-" version ".tar.xz"))
6012 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6013 (build-system meson-build-system)
6015 `(("intltool" ,intltool)))
6016 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6017 (synopsis "Background images for the GNOME desktop")
6019 "GNOME backgrounds package contains a collection of graphics files which
6020 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6021 the package creates the proper framework and directory structure so that you
6022 can add your own files to the collection.")
6023 (license (list license:gpl2+
6026 license:cc-by-sa3.0))))
6028 (define-public gnome-screenshot
6030 (name "gnome-screenshot")
6035 (uri (string-append "mirror://gnome/sources/" name "/"
6036 (version-major+minor version) "/"
6037 name "-" version ".tar.xz"))
6040 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
6041 (build-system glib-or-gtk-build-system)
6043 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6044 ("intltool" ,intltool)
6045 ("pkg-config" ,pkg-config)))
6048 ("libcanberra" ,libcanberra)
6050 ("libxext" ,libxext)))
6051 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6052 (synopsis "Take pictures of your screen")
6054 "GNOME Screenshot is a utility used for taking screenshots of the entire
6055 screen, a window or a user defined area of the screen, with optional
6056 beautifying border effects.")
6057 (license license:gpl2+)))
6059 (define-public dconf-editor
6061 (name "dconf-editor")
6066 (uri (string-append "mirror://gnome/sources/" name "/"
6067 (version-major+minor version) "/"
6068 name "-" version ".tar.xz"))
6071 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
6072 (build-system glib-or-gtk-build-system)
6075 (modify-phases %standard-phases
6076 (add-before 'install 'skip-gtk-update-icon-cache
6078 ;; Don't create 'icon-theme.cache'.
6079 (substitute* "editor/Makefile"
6080 (("gtk-update-icon-cache") "true"))
6083 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6084 ("intltool" ,intltool)
6085 ("pkg-config" ,pkg-config)))
6089 ("libxml2" ,libxml2)))
6090 (home-page "https://git.gnome.org/browse/dconf-editor")
6091 (synopsis "Graphical editor for GNOME's dconf configuration system")
6093 "Dconf-editor is a graphical tool for browsing and editing the dconf
6094 configuration system for GNOME. It allows users to configure desktop
6095 software that do not provide their own configuration interface.")
6096 (license license:lgpl2.1+)))
6098 (define-public gnome-default-applications
6100 (name "gnome-default-applications")
6102 (build-system trivial-build-system)
6105 `(("nautilus" ,nautilus)
6106 ("evince" ,evince)))
6108 `(#:modules ((guix build utils))
6111 (use-modules (guix build utils))
6112 (let* ((out (assoc-ref %outputs "out"))
6113 (apps (string-append out "/share/applications")))
6115 (call-with-output-file (string-append apps "/defaults.list")
6117 (format port "[Default Applications]\n")
6118 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6119 (format port "application/pdf=evince.desktop\n")
6120 (format port "application/postscript=evince.desktop\n")))
6122 (synopsis "Default MIME type associations for the GNOME desktop")
6124 "Given many installed packages which might handle a given MIME type, a
6125 user running the GNOME desktop probably has some preferences: for example,
6126 that folders be opened by default by the Nautilus file manager, not the Baobab
6127 disk usage analyzer. This package establishes that set of default MIME type
6128 associations for GNOME.")
6129 (license license:gpl3+)
6132 (define-public gnome
6135 (version (package-version gnome-shell))
6137 (build-system trivial-build-system)
6138 (arguments '(#:builder (begin (mkdir %output) #t)))
6140 ;; TODO: Add more packages according to:
6141 ;; <https://packages.debian.org/jessie/gnome-core>.
6142 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6144 ("font-cantarell" ,font-cantarell)
6145 ("font-dejavu" ,font-dejavu)
6146 ("at-spi2-core" ,at-spi2-core)
6149 ("desktop-file-utils" ,desktop-file-utils)
6151 ("epiphany" ,epiphany)
6153 ("file-roller" ,file-roller)
6155 ("glib-networking" ,glib-networking)
6156 ("gnome-backgrounds" ,gnome-backgrounds)
6157 ("gnome-bluetooth" ,gnome-bluetooth)
6158 ("gnome-calculator" ,gnome-calculator)
6159 ("gnome-control-center" ,gnome-control-center)
6160 ("gnome-disk-utility" ,gnome-disk-utility)
6161 ("gnome-default-applications" ,gnome-default-applications)
6162 ("gnome-keyring" ,gnome-keyring)
6163 ("gnome-online-accounts" ,gnome-online-accounts)
6164 ("gnome-session" ,gnome-session)
6165 ("gnome-settings-daemon" ,gnome-settings-daemon)
6166 ("gnome-shell" ,gnome-shell)
6167 ("gnome-system-monitor" ,gnome-system-monitor)
6168 ("gnome-terminal" ,gnome-terminal)
6169 ("gnome-themes-standard" ,gnome-themes-standard)
6170 ("gst-plugins-base" ,gst-plugins-base)
6171 ("gst-plugins-good" ,gst-plugins-good)
6172 ("gucharmap" ,gucharmap)
6174 ("hicolor-icon-theme" ,hicolor-icon-theme)
6175 ("nautilus" ,nautilus)
6176 ("pinentry-gnome3" ,pinentry-gnome3)
6177 ("pulseaudio" ,pulseaudio)
6178 ("shared-mime-info" ,shared-mime-info)
6179 ("system-config-printer" ,system-config-printer)
6181 ("xdg-user-dirs" ,xdg-user-dirs)
6183 ("zenity" ,zenity)))
6184 (synopsis "The GNU desktop environment")
6185 (home-page "https://www.gnome.org/")
6187 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6188 applications for browsing the web, editing text and images, creating
6189 documents and diagrams, playing media, scanning, and much more.")
6190 (license license:gpl2+)))
6192 (define-public byzanz
6193 ;; The last stable release of Byzanz was in 2011, but there have been many
6194 ;; useful commits made to the Byzanz repository since then that it would be
6195 ;; silly to use such an old release.
6196 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6199 (version (string-append "0.2-1." (string-take commit 7)))
6203 (url "https://git.gnome.org/browse/byzanz")
6205 (file-name (string-append name "-" version "-checkout"))
6208 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6209 (build-system glib-or-gtk-build-system)
6212 (modify-phases %standard-phases
6215 ;; The build system cleverly detects that we're not building from
6216 ;; a release tarball and turns on -Werror for GCC.
6217 ;; Unsurprisingly, there is a warning during compilation that
6218 ;; causes the build to fail unnecessarily, so we remove the flag.
6219 (substitute* '("configure.ac")
6221 ;; The autogen.sh script in gnome-common will run ./configure
6222 ;; by default, which is problematic because source shebangs
6223 ;; have not yet been patched.
6224 (setenv "NOCONFIGURE" "t")
6225 (zero? (system* "sh" "autogen.sh")))))))
6227 `(("autoconf" ,autoconf)
6228 ("automake" ,automake)
6229 ("gnome-common" ,gnome-common)
6230 ("intltool" ,intltool)
6231 ("libtool" ,libtool)
6232 ("pkg-config" ,pkg-config)
6236 ("gstreamer" ,gstreamer)
6237 ("gst-plugins-base" ,gst-plugins-base)
6239 (synopsis "Desktop recording program")
6240 (description "Byzanz is a simple desktop recording program with a
6241 command-line interface. It can record part or all of an X display for a
6242 specified duration and save it as a GIF encoded animated image file.")
6243 (home-page "https://git.gnome.org/browse/byzanz")
6244 (license license:gpl2+))))
6246 (define-public gsound
6252 (uri (string-append "mirror://gnome/sources/" name "/"
6253 (version-major+minor version) "/"
6254 name "-" version ".tar.xz"))
6257 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6258 (build-system glib-or-gtk-build-system)
6260 `(("pkg-config" ,pkg-config)
6261 ("gobject-introspection" ,gobject-introspection)
6265 ("libcanberra" ,libcanberra)))
6266 (home-page "https://wiki.gnome.org/Projects/GSound")
6267 (synopsis "GObject wrapper for libcanberra")
6269 "GSound is a small library for playing system sounds. It's designed to be
6270 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6272 (license license:lgpl2.1+)))
6274 (define-public libzapojit
6280 (uri (string-append "mirror://gnome/sources/" name "/"
6281 (version-major+minor version) "/"
6282 name "-" version ".tar.xz"))
6285 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6286 (build-system gnu-build-system)
6288 `(("gobject-introspection" ,gobject-introspection)
6289 ("intltool" ,intltool)
6290 ("pkg-config" ,pkg-config)))
6292 `(("gnome-online-accounts" ,gnome-online-accounts)
6293 ("json-glib" ,json-glib)
6295 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6296 (synopsis "Library for accessing SkyDrive and Hotmail")
6298 "Libzapojit is a GLib-based library for accessing online service APIs of
6299 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6300 (license license:lgpl2.1+)))
6302 (define-public gnome-clocks
6304 (name "gnome-clocks")
6308 (uri (string-append "mirror://gnome/sources/" name "/"
6309 (version-major+minor version) "/"
6310 name "-" version ".tar.xz"))
6313 "1xqirnf7xkiv5vj3ng4slpyh50ihn625vhdgskfzx83a3pgxin1b"))))
6314 (build-system meson-build-system)
6316 '(#:glib-or-gtk? #t))
6319 ("pkg-config" ,pkg-config)
6320 ("glib" ,glib "bin") ; for glib-compile-resources
6321 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6322 ("desktop-file-utils" ,desktop-file-utils)
6323 ("gettext" ,gettext-minimal)
6324 ("itstool" ,itstool)))
6329 ("geoclue" ,geoclue)
6330 ("geocode-glib" ,geocode-glib)
6331 ("libgweather" ,libgweather)
6332 ("gnome-desktop" ,gnome-desktop)))
6333 (home-page "https://wiki.gnome.org/Apps/Clocks")
6334 (synopsis "GNOME's clock application")
6336 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6337 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6338 (license license:gpl3+)))
6340 (define-public gnome-calendar
6342 (name "gnome-calendar")
6346 (uri (string-append "mirror://gnome/sources/" name "/"
6347 (version-major+minor version) "/"
6348 name "-" version ".tar.xz"))
6351 "1clnfvvsaqw9vpxrs6qrxzmgpaw9x2nkjik2x2vwvm07pdvhddxn"))))
6352 (build-system meson-build-system)
6355 ;; gnome-calendar has to be installed before the tests can be run
6356 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6359 `(("gettext" ,gettext-minimal)
6360 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6361 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6362 ("pkg-config" ,pkg-config)))
6364 `(("evolution-data-server" ,evolution-data-server)
6365 ("gnome-online-accounts" ,gnome-online-accounts)
6366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6367 (home-page "https://wiki.gnome.org/Apps/Calendar")
6368 (synopsis "GNOME's calendar application")
6370 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6371 desktop. It supports multiple calendars, month, week and year view.")
6372 (license license:gpl3+)))
6374 (define-public gnome-todo
6380 (uri (string-append "mirror://gnome/sources/" name "/"
6381 (version-major+minor version) "/"
6382 name "-" version ".tar.xz"))
6383 (patches (search-patches "gnome-todo-libical-compat.patch"))
6386 "106xx1w18pxjmj5k0k2qjzi6b3c3kaz7b5kyrpknykibnr401ff9"))))
6387 (build-system meson-build-system)
6390 #:phases (modify-phases %standard-phases
6392 'install 'wrap-gnome-todo
6393 (lambda* (#:key inputs outputs #:allow-other-keys)
6394 (let ((out (assoc-ref outputs "out"))
6395 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6396 (python-path (getenv "PYTHONPATH")))
6397 (wrap-program (string-append out "/bin/gnome-todo")
6398 ;; XXX: gi plugins are broken.
6399 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6401 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6402 `("PYTHONPATH" ":" prefix (,python-path))))
6405 `(("gettext" ,gettext-minimal)
6406 ("gobject-introspection" ,gobject-introspection)
6407 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6408 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6409 ("pkg-config" ,pkg-config)))
6411 `(("rest" ,rest) ; For Todoist plugin
6412 ("json-glib" ,json-glib) ; For Todoist plugin
6413 ("libical" ,libical)
6414 ("libpeas" ,libpeas)
6415 ("python-pygobject" ,python-pygobject)
6416 ("evolution-data-server" ,evolution-data-server)
6417 ("gnome-online-accounts" ,gnome-online-accounts)
6418 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6419 (home-page "https://wiki.gnome.org/Apps/Todo")
6420 (synopsis "GNOME's ToDo Application")
6422 "GNOME To Do is a simplistic personal task manager designed to perfectly
6423 fit the GNOME desktop.")
6424 (license license:gpl3+)))
6426 (define-public gnome-dictionary
6428 (name "gnome-dictionary")
6432 (uri (string-append "mirror://gnome/sources/" name "/"
6433 (version-major+minor version) "/"
6434 name "-" version ".tar.xz"))
6437 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6438 (build-system meson-build-system)
6439 (arguments '(#:glib-or-gtk? #t
6440 #:phases (modify-phases %standard-phases
6441 (add-after 'unpack 'patch-install-script
6443 ;; This script attempts to compile glib schemas
6444 ;; and create an empty MIME database. We do
6445 ;; that elsewhere, so prevent it from running.
6446 (substitute* "build-aux/post-install.sh"
6447 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6450 `(("glib:bin" ,glib "bin")
6451 ("gobject-introspection" ,gobject-introspection)
6452 ("intltool" ,intltool)
6453 ("itstool" ,itstool)
6454 ("pkg-config" ,pkg-config)
6455 ("xmllint" ,libxml2)))
6457 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6459 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6460 (synopsis "Look up words in dictionary sources")
6462 "GNOME Dictionary can look for the definition or translation of a word in
6463 existing databases over the internet.")
6464 (license license:gpl3+)))
6466 (define-public gnome-tweak-tool
6468 (name "gnome-tweak-tool")
6472 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6473 (version-major+minor version) "/"
6474 "gnome-tweak-tool-" version ".tar.xz"))
6476 (search-patch "gnome-tweak-tool-search-paths.patch")))
6479 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
6480 (build-system glib-or-gtk-build-system)
6482 `(#:configure-flags '("--localstatedir=/tmp"
6483 "--sysconfdir=/tmp")
6484 #:imported-modules ((guix build python-build-system)
6485 ,@%glib-or-gtk-build-system-modules)
6486 #:phases (modify-phases %standard-phases
6489 (lambda* (#:key outputs #:allow-other-keys)
6490 (invoke "meson" "build"
6491 "--prefix" (assoc-ref outputs "out"))))
6493 (lambda _ (invoke "ninja" "-C" "build" "test")))
6495 (lambda* (#:key outputs #:allow-other-keys)
6496 (invoke "ninja" "-C" "build" "install")))
6497 (add-after 'install 'wrap-program
6498 (lambda* (#:key outputs #:allow-other-keys)
6499 (let ((out (assoc-ref outputs "out"))
6500 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6501 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6502 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6504 (add-after 'install 'wrap
6505 (@@ (guix build python-build-system) wrap)))))
6507 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6508 ("intltool" ,intltool)
6509 ("meson" ,meson-for-build)
6511 ("pkg-config" ,pkg-config)))
6513 `(("gnome-desktop" ,gnome-desktop)
6515 ("gobject-introspection" ,gobject-introspection)
6516 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6517 ("libnotify" ,libnotify)
6518 ("libsoup" ,libsoup)
6519 ("nautilus" ,nautilus)
6521 ("python-pygobject" ,python-pygobject)))
6522 (synopsis "Customize advanced GNOME 3 options")
6523 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6525 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6526 GNOME 3. This includes things like the fonts used in user interface elements,
6527 alternative user interface themes, changes in window management behavior,
6528 GNOME Shell appearance and extension, etc.")
6529 (license license:gpl3+)))
6531 (define-public gnome-shell-extensions
6533 (name "gnome-shell-extensions")
6537 (uri (string-append "mirror://gnome/sources/" name "/"
6538 (version-major+minor version) "/"
6539 name "-" version ".tar.xz"))
6542 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
6543 (build-system gnu-build-system)
6545 '(#:configure-flags '("--enable-extensions=all")))
6547 `(("intltool" ,intltool)
6548 ("pkg-config" ,pkg-config)))
6551 ("glib" ,glib "bin")))
6552 (synopsis "Extensions for GNOME Shell")
6553 (description "GNOME Shell extensions modify and extend GNOME Shell
6554 functionality and behavior.")
6555 (home-page "https://extensions.gnome.org/")
6556 (license license:gpl3+)))
6558 (define-public arc-theme
6561 (version "20181022")
6565 (url "https://github.com/NicoHood/arc-theme.git")
6567 (file-name (git-file-name name version))
6570 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6571 (build-system gnu-build-system)
6574 (modify-phases %standard-phases
6575 ;; autogen.sh calls configure at the end of the script.
6577 (lambda _ (invoke "autoreconf" "-vfi"))))))
6579 `(("autoconf" ,autoconf)
6580 ("automake" ,automake)
6581 ("glib" ,glib "bin") ; for glib-compile-resources
6582 ("gnome-shell" ,gnome-shell)
6584 ("inkscape" ,inkscape)
6585 ("optipng" ,optipng)
6586 ("pkg-config" ,pkg-config)
6588 (synopsis "A flat GTK+ theme with transparent elements")
6589 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6590 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6591 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6592 (home-page "https://github.com/horst3180/arc-theme")
6593 ;; No "or later" language found.
6594 (license license:gpl3+)))
6596 (define-public faba-icon-theme
6598 (name "faba-icon-theme")
6603 (uri (string-append "https://github.com/moka-project/"
6604 name "/archive/v" version ".tar.gz"))
6605 (file-name (string-append name "-" version ".tar.gz"))
6608 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6609 (build-system meson-build-system)
6612 (modify-phases %standard-phases
6613 (add-before 'configure 'disable-post-install
6615 (substitute* "meson.build"
6616 (("meson.add_install_script.*") "")))))))
6618 `(("autoconf" ,autoconf)
6619 ("automake" ,automake)))
6620 (synopsis "Faba icon theme")
6622 "Faba is a minimal icon set used as a basis for other themes such as
6624 (home-page "https://snwh.org/moka")
6625 (license (list license:lgpl3+
6626 license:cc-by-sa4.0))))
6628 (define-public moka-icon-theme
6630 (inherit faba-icon-theme)
6631 (name "moka-icon-theme")
6635 (uri (string-append "https://github.com/moka-project"
6636 "/moka-icon-theme/archive/v"
6638 (file-name (string-append name "-" version ".tar.gz"))
6641 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6643 ;; Moka is based on Faba by using it as a fallback icon set instead of
6644 ;; bundling it, so we need to add it as a propagated input.
6645 `(("faba-icon-theme" ,faba-icon-theme)))
6646 (synopsis "Moka icon theme")
6647 (description "Moka is a stylized desktop icon set, designed to be clear,
6648 simple and consistent.")
6649 (license (list license:gpl3+
6650 license:cc-by-sa4.0))))
6652 (define-public arc-icon-theme
6654 (name "arc-icon-theme")
6655 (version "20161122")
6658 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6659 "/archive/" version ".tar.gz"))
6660 (file-name (string-append name "-" version ".tar.gz"))
6663 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6664 (build-system gnu-build-system)
6667 (modify-phases %standard-phases
6668 (add-after 'unpack 'disable-configure-during-bootstrap
6670 (substitute* "autogen.sh"
6671 (("^\"\\$srcdir/configure\".*") ""))
6674 `(("autoconf" ,autoconf)
6675 ("automake" ,automake)))
6676 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6678 `(("moka-icon-theme" ,moka-icon-theme)))
6679 (synopsis "Arc icon theme")
6680 (description "The Arc icon theme provides a set of icons matching the
6681 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6682 the Moka icon theme.")
6683 (home-page "https://github.com/horst3180/arc-icon-theme")
6684 (license license:gpl3+)))
6686 (define-public folks
6693 "mirror://gnome/sources/" name "/"
6694 (version-major+minor version) "/"
6695 name "-" version ".tar.xz"))
6698 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6699 (build-system glib-or-gtk-build-system)
6702 ("dbus-glib" ,dbus-glib)
6703 ("evolution-data-server" ,evolution-data-server)
6706 ("telepathy-glib" ,telepathy-glib)))
6708 `(("gobject-introspection" ,gobject-introspection)
6709 ("intltool" ,intltool)
6710 ("pkg-config" ,pkg-config)
6712 (synopsis "Library to aggregate data about people")
6713 (description "Libfolks is a library that aggregates information about people
6714 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6715 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6716 etc.) to create metacontacts. It's written in Vala, which generates C code when
6718 (home-page "https://wiki.gnome.org/Projects/Folks")
6719 (license license:lgpl2.1+)))
6721 (define-public gfbgraph
6728 "mirror://gnome/sources/" name "/"
6729 (version-major+minor version) "/"
6730 name "-" version ".tar.xz"))
6733 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6734 (build-system glib-or-gtk-build-system)
6736 `(#:tests? #f ; Tests appear to require the network.
6737 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6738 #:configure-flags '("--disable-gtk-doc"
6740 "--enable-introspection")))
6742 `(("pkg-config" ,pkg-config)
6743 ("gobject-introspection" ,gobject-introspection)))
6745 `(("json-glib" ,json-glib)
6746 ("gnome-online-accounts" ,gnome-online-accounts)
6748 (synopsis "GLib/GObject wrapper for the Facebook API")
6749 (description "This library allows you to use the Facebook API from
6750 GLib/GObject code.")
6751 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6752 (license license:lgpl2.1+)))
6754 (define-public libgnomekbd
6756 (name "libgnomekbd")
6757 (version "3.22.0.1")
6760 (uri (string-append "mirror://gnome/sources/" name "/"
6761 (version-major+minor version) "/"
6762 name "-" version ".tar.xz"))
6765 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6766 (build-system gnu-build-system)
6768 `(("pkg-config" ,pkg-config)
6769 ("glib" ,glib "bin")
6770 ("intltool" ,intltool)))
6772 ;; Referred to in .h files and .pc.
6775 ("libxklavier" ,libxklavier)))
6776 (home-page "https://www.gnome.org")
6777 (synopsis "GNOME keyboard configuration library")
6779 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6780 environment, which can notably display keyboard layouts.")
6781 (license license:lgpl2.0+)))
6783 ;;; This package is no longer maintained:
6784 ;;; https://wiki.gnome.org/Attic/LibUnique
6785 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6786 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6787 (define-public libunique
6793 (uri (string-append "mirror://gnome/sources/" name "/"
6794 (version-major+minor version) "/"
6795 name "-" version ".tar.xz"))
6798 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6799 (build-system glib-or-gtk-build-system)
6801 `(#:configure-flags '("--disable-static"
6802 "--disable-dbus" ; use gdbus
6803 "--enable-introspection")))
6805 `(("pkg-config" ,pkg-config)
6806 ("gobject-introspection" ,gobject-introspection)
6807 ("glib:bin" ,glib "bin")
6808 ("gtk-doc" ,gtk-doc)))
6810 ;; Referred to in .h files and .pc.
6812 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6813 (synopsis "Library for writing single instance applications")
6815 "Libunique is a library for writing single instance applications. If you
6816 launch a single instance application twice, the second instance will either just
6817 quit or will send a message to the running instance. Libunique makes it easy to
6818 write this kind of application, by providing a base class, taking care of all
6819 the IPC machinery needed to send messages to a running instance, and also
6820 handling the startup notification side.")
6821 (license license:lgpl2.1+)))
6823 (define-public gnome-calculator
6825 (name "gnome-calculator")
6830 (uri (string-append "mirror://gnome/sources/" name "/"
6831 (version-major+minor version) "/"
6832 name "-" version ".tar.xz"))
6835 "1iv3b3mvqxm17r5gv15dyq6gz08w0ljhzgbf22xnnfnpzhvmn8b2"))))
6836 (build-system glib-or-gtk-build-system)
6838 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6839 ("intltool" ,intltool)
6840 ("itstool" ,itstool)
6841 ("pkg-config" ,pkg-config)))
6843 `(("gtksourceview" ,gtksourceview)
6844 ("libsoup" ,libsoup)
6847 (home-page "https://wiki.gnome.org/Apps/Calculator")
6848 (synopsis "Desktop calculator")
6850 "Calculator is an application that solves mathematical equations and
6851 is suitable as a default application in a Desktop environment.")
6852 (license license:gpl3)))
6861 (uri (string-append "https://launchpad.net/xpad/trunk/"
6862 version "/+download/"
6863 name "-" version ".tar.bz2"))
6866 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
6867 (build-system gnu-build-system)
6869 `(("autoconf" ,autoconf)
6870 ("automake" ,automake)
6871 ("gtk+:bin" ,gtk+ "bin")
6872 ("intltool" ,intltool)
6873 ("pkg-config" ,pkg-config)))
6875 `(("gtksourceview" ,gtksourceview)
6877 (home-page "https://wiki.gnome.org/Apps/Xpad")
6878 (synopsis "Virtual sticky note")
6880 "Xpad is a sticky note that strives to be simple, fault tolerant,
6881 and customizable. Xpad consists of independent pad windows, each is
6882 basically a text box in which notes can be written.")
6883 (license license:gpl3+)))
6885 (define-public gucharmap
6892 (uri (string-append "mirror://gnome/sources/" name "/"
6893 (version-major+minor version) "/"
6894 name "-" version ".tar.xz"))
6897 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6898 (build-system glib-or-gtk-build-system)
6900 `(("desktop-file-utils" ,desktop-file-utils)
6901 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6902 ("gobject-introspection" ,gobject-introspection)
6903 ("intltool" ,intltool)
6904 ("itstool" ,itstool)
6905 ("pkg-config" ,pkg-config)))
6908 ("xmllint" ,libxml2)))
6909 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6910 (synopsis "Unicode character picker and font browser")
6912 "This program allows you to browse through all the available Unicode
6913 characters and categories for the installed fonts, and to examine their
6914 detailed properties. It is an easy way to find the character you might
6915 only know by its Unicode name or code point.")
6916 (license license:gpl3+)))
6918 (define-public bluefish
6925 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6926 name "-" version ".tar.gz"))
6929 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
6930 (build-system gnu-build-system)
6932 `(("desktop-file-utils" ,desktop-file-utils)
6933 ("intltool" ,intltool)
6934 ("pkg-config" ,pkg-config)))
6936 `(("enchant" ,enchant)
6938 ("python" ,python-2)
6939 ("xmllint" ,libxml2)
6940 ("gucharmap" ,gucharmap)))
6941 (home-page "http://bluefish.openoffice.nl")
6942 (synopsis "Web development studio")
6944 "Bluefish is an editor targeted towards programmers and web developers,
6945 with many options to write web sites, scripts and other code.
6946 Bluefish supports many programming and markup languages.")
6947 (license license:gpl3+)))
6949 (define-public gnome-system-monitor
6951 (name "gnome-system-monitor")
6956 (uri (string-append "mirror://gnome/sources/" name "/"
6957 (version-major+minor version) "/"
6958 name "-" version ".tar.xz"))
6961 "1cz6s0cvagj422f9dc231nvg8jsfkva5s81skpq4q5jyrb1ahj7q"))))
6962 (build-system glib-or-gtk-build-system)
6964 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6965 ("intltool" ,intltool)
6966 ("itstool" ,itstool)
6967 ("libgtop" ,libgtop)
6968 ("pkg-config" ,pkg-config)))
6970 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6973 ("librsvg" ,librsvg)
6974 ("libxml2" ,libxml2)))
6975 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6976 (synopsis "Process viewer and system resource monitor for GNOME")
6978 "GNOME System Monitor is a GNOME process viewer and system monitor with
6979 an attractive, easy-to-use interface. It has features, such as a tree view
6980 for process dependencies, icons for processes, the ability to hide processes,
6981 graphical time histories of CPU/memory/swap usage and the ability to
6982 kill/reinice processes.")
6983 (license license:gpl2+)))
6985 (define-public python-pyatspi
6987 (name "python-pyatspi")
6992 "mirror://gnome/sources/pyatspi/"
6993 (version-major+minor version)
6994 "/pyatspi-" version ".tar.xz"))
6997 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6998 (build-system gnu-build-system)
7000 `(("pkg-config" ,pkg-config)))
7002 `(("python" ,python)
7003 ("python-pygobject" ,python-pygobject)))
7004 (synopsis "Python client bindings for D-Bus AT-SPI")
7005 (home-page "https://wiki.linuxfoundation.org/accessibility\
7006 /atk/at-spi/at-spi_on_d-bus")
7008 "This package includes a python client library for the AT-SPI D-Bus
7009 accessibility infrastructure.")
7010 (license license:lgpl2.0)
7011 (properties '((upstream-name . "pyatspi")))))
7020 "mirror://gnome/sources/" name "/"
7021 (version-major+minor version) "/"
7022 name "-" version ".tar.xz"))
7025 "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7"))))
7026 (build-system glib-or-gtk-build-system)
7029 (modify-phases %standard-phases
7030 (add-before 'configure 'qualify-xkbcomp
7031 (lambda* (#:key inputs #:allow-other-keys)
7032 (let ((xkbcomp (string-append
7033 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7034 (substitute* "src/orca/orca.py"
7035 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7037 (add-after 'install 'wrap-orca
7038 (lambda* (#:key outputs #:allow-other-keys)
7039 (let* ((out (assoc-ref outputs "out"))
7040 (prog (string-append out "/bin/orca")))
7042 `("GI_TYPELIB_PATH" ":" prefix
7043 (,(getenv "GI_TYPELIB_PATH")))
7044 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7045 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7046 `("PYTHONPATH" ":" prefix
7047 (,(getenv "PYTHONPATH")))))
7050 `(("intltool" ,intltool)
7051 ("itstool" ,itstool)
7052 ("pkg-config" ,pkg-config)
7053 ("xmllint" ,libxml2)))
7055 `(("at-spi2-atk" ,at-spi2-atk)
7056 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7057 ("gstreamer" ,gstreamer)
7058 ("gst-plugins-base" ,gst-plugins-base)
7059 ("gst-plugins-good" ,gst-plugins-good)
7062 ("python-pygobject" ,python-pygobject)
7063 ("python-pyatspi" ,python-pyatspi)
7064 ("python-speechd" ,speech-dispatcher)
7065 ("xkbcomp" ,xkbcomp)))
7067 "Screen reader for individuals who are blind or visually impaired")
7068 (home-page "https://wiki.gnome.org/Projects/Orca")
7070 "Orca is a screen reader that provides access to the graphical desktop
7071 via speech and refreshable braille. Orca works with applications and toolkits
7072 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7073 (license license:lgpl2.1+)))
7075 (define-public gspell
7081 (uri (string-append "mirror://gnome/sources/" name "/"
7082 (version-major+minor version) "/"
7083 name "-" version ".tar.xz"))
7086 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7087 (patches (search-patches "gspell-dash-test.patch"))))
7088 (build-system glib-or-gtk-build-system)
7091 (modify-phases %standard-phases
7092 (add-before 'check 'pre-check
7093 (lambda* (#:key inputs #:allow-other-keys)
7094 ;; Tests require a running X server.
7095 (system "Xvfb :1 &")
7096 (setenv "DISPLAY" ":1")
7098 ;; For the missing /etc/machine-id.
7099 (setenv "DBUS_FATAL_WARNINGS" "0")
7101 ;; Allow Enchant and its Aspell backend to find the en_US
7103 (setenv "ASPELL_DICT_DIR"
7104 (string-append (assoc-ref inputs "aspell-dict-en")
7110 ("iso-codes" ,iso-codes)))
7112 `(("glib" ,glib "bin")
7113 ("pkg-config" ,pkg-config)
7114 ("xmllint" ,libxml2)
7117 ("aspell-dict-en" ,aspell-dict-en)
7118 ("xorg-server" ,xorg-server)))
7120 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7121 (home-page "https://wiki.gnome.org/Projects/gspell")
7122 (synopsis "GNOME's alternative spell checker")
7124 "gspell provides a flexible API to add spell-checking to a GTK+
7125 application. It provides a GObject API, spell-checking to text entries and
7126 text views, and buttons to choose the language.")
7127 (license license:gpl2+)))
7129 (define-public gnome-planner
7131 (name "gnome-planner")
7135 (uri (string-append "mirror://gnome/sources/planner/"
7136 (version-major+minor version) "/planner-"
7140 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7141 (build-system glib-or-gtk-build-system)
7143 ;; Disable the Python bindings because the Planner program functions
7144 ;; without them, and (as of 2017-06-13) we have not packaged all of
7145 ;; packages that are necessary for building the Python bindings.
7147 (list "--disable-python"
7148 ,@(if (string=? "aarch64-linux" (%current-system))
7149 '("--build=aarch64-unknown-linux-gnu")
7152 `(("libgnomecanvas" ,libgnomecanvas)
7153 ("libgnomeui" ,libgnomeui)
7154 ("libglade" ,libglade)
7155 ("gnome-vfs" ,gnome-vfs)
7157 ("libxml2" ,libxml2)
7158 ("libxslt" ,libxslt)
7162 `(("intltool" ,intltool)
7163 ("scrollkeeper" ,scrollkeeper)
7164 ("pkg-config" ,pkg-config)))
7165 (home-page "https://wiki.gnome.org/Apps/Planner")
7166 (synopsis "Project management software for the GNOME desktop")
7168 "GNOME Planner is a project management tool based on the Work Breakdown
7169 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7170 the resources, tasks, and constraints that you define, Planner generates
7171 various views into a project. For example, Planner can show a Gantt chart of
7172 the project. It can show a detailed summary of tasks including their
7173 duration, cost, and current progress. It can also show a report of resource
7174 utilization that highlights under-utilized and over-utilized resources. These
7175 views can be printed as PDF or PostScript files, or exported to HTML.")
7176 (license license:gpl2+)))
7178 (define-public lollypop
7185 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7186 "e4df2ed75c5ed71d64afcc668e579b2a/"
7187 name "-" version ".tar.xz"))
7190 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7191 (build-system meson-build-system)
7193 `(#:imported-modules ((guix build python-build-system)
7194 ,@%meson-build-system-modules)
7196 #:tests? #f ; no test suite
7198 (modify-phases %standard-phases
7199 (add-after 'install 'wrap-program
7200 (lambda* (#:key outputs #:allow-other-keys)
7201 (let ((out (assoc-ref outputs "out"))
7202 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7203 (wrap-program (string-append out "/bin/lollypop")
7204 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7206 (add-after 'install 'wrap
7207 (@@ (guix build python-build-system) wrap)))))
7209 `(("intltool" ,intltool)
7210 ("itstool" ,itstool)
7211 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7212 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7213 ("pkg-config" ,pkg-config)))
7215 `(("gobject-introspection" ,gobject-introspection)
7216 ("gst-plugins-base" ,gst-plugins-base)
7217 ("libnotify" ,libnotify)
7218 ("libsecret" ,libsecret)
7219 ("libsoup" ,libsoup)
7221 ("python-beautifulsoup4" ,python-beautifulsoup4)
7222 ("python-gst" ,python-gst)
7223 ("python-pycairo" ,python-pycairo)
7224 ("python-pygobject" ,python-pygobject)
7225 ("python-pylast" ,python-pylast)
7226 ("totem-pl-parser" ,totem-pl-parser)
7227 ("webkitgtk" ,webkitgtk)))
7229 `(;; gst-plugins-base is required to start Lollypop,
7230 ;; the others are required to play streaming.
7231 ("gst-plugins-good" ,gst-plugins-good)
7232 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7233 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7234 (synopsis "GNOME music playing application")
7236 "Lollypop is a music player designed to play well with GNOME desktop.
7237 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7238 from artists and tracks from the web. It also fetches cover artworks
7239 automatically and it can stream songs from online music services and charts.")
7240 (license license:gpl3+)))
7242 (define-public gnome-video-effects
7244 (name "gnome-video-effects")
7248 (uri (string-append "mirror://gnome/sources/" name "/"
7249 (version-major+minor version) "/" name "-"
7253 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7254 (build-system glib-or-gtk-build-system)
7256 `(#:out-of-source? #f))
7258 `(("glib:bin" ,glib "bin")
7259 ("intltool" ,intltool)
7260 ("gettext" ,gettext-minimal)
7261 ("pkg-config" ,pkg-config)))
7262 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7263 (synopsis "Video effects for Cheese and other GNOME applications")
7265 "A collection of GStreamer video filters and effects to be used in
7266 photo-booth-like software, such as Cheese.")
7267 (license license:gpl2+)))
7269 (define-public cheese
7275 (uri (string-append "mirror://gnome/sources/" name "/"
7276 (version-major+minor version) "/" name "-"
7280 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7282 ;; Tests require GDK.
7285 (modify-phases %standard-phases
7286 (add-before 'install 'skip-gtk-update-icon-cache
7288 ;; Don't create 'icon-theme.cache'
7289 (substitute* "Makefile"
7290 (("gtk-update-icon-cache") (which "true")))
7292 (add-after 'install 'wrap-cheese
7293 (lambda* (#:key inputs outputs #:allow-other-keys)
7294 (let ((out (assoc-ref outputs "out"))
7295 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7296 (wrap-program (string-append out "/bin/cheese")
7297 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7299 (build-system glib-or-gtk-build-system)
7301 `(("glib:bin" ,glib "bin")
7302 ("intltool" ,intltool)
7303 ("itstool" ,itstool)
7304 ("libxml2" ,libxml2)
7305 ("pkg-config" ,pkg-config)
7308 `(("gnome-video-effects" ,gnome-video-effects)))
7310 `(("clutter" ,clutter)
7311 ("clutter-gst" ,clutter-gst)
7312 ("clutter-gtk" ,clutter-gtk)
7313 ("gdk-pixbuf" ,gdk-pixbuf)
7315 ("gnome-desktop" ,gnome-desktop)
7316 ("gobject-introspection" ,gobject-introspection)
7317 ("gstreamer" ,gstreamer)
7318 ("gst-plugins-base" ,gst-plugins-base)
7319 ("gst-plugins-bad" ,gst-plugins-bad)
7321 ("libcanberra" ,libcanberra)
7323 ("libxtst" ,libxtst)))
7324 (home-page "https://wiki.gnome.org/Apps/Cheese")
7325 (synopsis "Webcam photo booth software for GNOME")
7327 "Cheese uses your webcam to take photos and videos. Cheese can also
7328 apply fancy special effects and lets you share the fun with others.")
7329 (license license:gpl2+)))
7331 (define-public sound-juicer
7333 (name "sound-juicer")
7338 (uri (string-append "mirror://gnome/sources/" name "/"
7339 (version-major+minor version) "/"
7340 name "-" version ".tar.xz"))
7343 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7344 (build-system glib-or-gtk-build-system)
7346 `(("desktop-file-utils" ,desktop-file-utils)
7347 ("intltool" ,intltool)
7348 ("itstool" ,itstool)
7349 ("pkg-config" ,pkg-config)
7350 ("xmllint" ,libxml2)))
7353 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7354 ("gstreamer" ,gstreamer)
7355 ("gst-plugins-base" ,gst-plugins-base)
7356 ("gst-plugins-good" ,gst-plugins-good)
7357 ("iso-codes" ,iso-codes)
7358 ("libbrasero-media3" ,brasero)
7359 ("libcanberra" ,libcanberra)
7360 ("libdiscid" ,libdiscid)
7361 ("libmusicbrainz" ,libmusicbrainz)
7363 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7364 (synopsis "Audio music cd ripper")
7365 (description "Sound Juicer extracts audio from compact discs and convert it
7366 into audio files that a personal computer or digital audio player can play.
7367 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7368 mp3, Ogg Vorbis and FLAC")
7369 (license license:gpl2+)))
7371 (define-public soundconverter
7373 (name "soundconverter")
7378 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7379 version "/+download/"
7380 "soundconverter-" version ".tar.xz"))
7383 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7386 "soundconverter-remove-gconf-dependency.patch"))))
7387 (build-system glib-or-gtk-build-system)
7389 `(#:imported-modules ((guix build python-build-system)
7390 (guix build glib-or-gtk-build-system)
7391 ,@%gnu-build-system-modules)
7393 #:modules ((guix build glib-or-gtk-build-system)
7395 ((guix build gnu-build-system) #:prefix gnu:)
7396 ((guix build python-build-system) #:prefix python:))
7399 (modify-phases %standard-phases
7400 (add-after 'install 'wrap-soundconverter-for-python
7401 (assoc-ref python:%standard-phases 'wrap))
7402 (add-after 'install 'wrap-soundconverter
7403 (lambda* (#:key inputs outputs #:allow-other-keys)
7404 (let ((out (assoc-ref outputs "out"))
7405 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7406 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7407 (wrap-program (string-append out "/bin/soundconverter")
7408 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7409 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7412 `(("intltool" ,intltool)
7413 ("pkg-config" ,pkg-config)
7414 ("glib:bin" ,glib "bin")))
7418 ("python-pygobject" ,python-pygobject)
7419 ("gstreamer" ,gstreamer)
7420 ("gst-plugins-base" ,gst-plugins-base)))
7421 (home-page "http://soundconverter.org/")
7422 (synopsis "Convert between audio formats with a graphical interface")
7424 "SoundConverter supports converting between many audio formats including
7425 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7426 configurable file renaming. ")
7427 (license license:gpl3)))
7429 (define-public workrave
7437 (url "https://github.com/rcaelers/workrave.git")
7438 (commit (string-map (match-lambda (#\_ #\.) (chr chr)) version))))
7439 (file-name (git-file-name name version))
7442 "150qca8c552fakjlzkgarsxgp87l1xcwn19svqsa9d0cygqxjgia"))))
7443 (build-system glib-or-gtk-build-system)
7444 (propagated-inputs `(("glib" ,glib)
7446 ("gdk-pixbuf" ,gdk-pixbuf)
7450 ("libxtst" ,libxtst)
7452 ("libice" ,libice)))
7453 (inputs `(("libsm" ,libsm)
7454 ("python-cheetah" ,python2-cheetah)))
7455 (native-inputs `(("glib" ,glib "bin")
7456 ("pkg-config" ,pkg-config)
7457 ("gettext" ,gnu-gettext)
7458 ("autoconf" ,autoconf)
7459 ("autoconf-archive" , autoconf-archive)
7460 ("automake" ,automake)
7461 ("libtool" ,libtool)
7462 ("intltool" ,intltool)
7463 ("libxscrnsaver" ,libxscrnsaver)
7464 ("gobject-introspection" ,gobject-introspection)
7465 ("python2" ,python-2)))
7466 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7468 "Workrave is a program that assists in the recovery and prevention of
7469 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7470 micro-pauses and rest breaks, and restricts you to your daily limit.")
7471 (home-page "http://www.workrave.org")
7472 (license license:gpl3+)))
7480 (uri (string-append "mirror://gnome/sources/ghex/"
7481 (version-major+minor version) "/"
7482 "ghex-" version ".tar.xz"))
7485 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7486 (build-system glib-or-gtk-build-system)
7488 `(("pkg-config" ,pkg-config)
7489 ("gnome-common" ,gnome-common)
7491 ("intltool" ,intltool)
7492 ("yelp-tools" ,yelp-tools)
7493 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7497 (synopsis "GNOME hexadecimal editor")
7498 (description "The GHex program can view and edit files in two ways:
7499 hexadecimal or ASCII. It is useful for editing binary files in general.")
7500 (home-page "https://wiki.gnome.org/Apps/Ghex")
7501 (license license:gpl2)))
7503 (define-public libdazzle
7509 (uri (string-append "mirror://gnome/sources/" name "/"
7510 (version-major+minor version) "/"
7511 name "-" version ".tar.xz"))
7514 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7515 (build-system meson-build-system)
7518 (modify-phases %standard-phases
7519 (add-after 'unpack 'disable-failing-test
7521 ;; Disable failing test.
7522 (substitute* "tests/meson.build"
7523 (("test\\('test-application") "#"))
7525 (add-before 'check 'pre-check
7527 ;; Tests require a running X server.
7528 (system "Xvfb :1 &")
7529 (setenv "DISPLAY" ":1")
7532 `(("glib" ,glib "bin") ; glib-compile-resources
7533 ("pkg-config" ,pkg-config)
7535 ("xorg-server" ,xorg-server)))
7538 ("gobject-introspection" ,gobject-introspection)
7541 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7542 (synopsis "Companion library to GObject and Gtk+")
7543 (description "The libdazzle library is a companion library to GObject and
7544 Gtk+. It provides various features that the authors wish were in the
7545 underlying library but cannot for various reasons. In most cases, they are
7546 wildly out of scope for those libraries. In other cases, they are not quite
7547 generic enough to work for everyone.")
7548 (license license:gpl3+)))