1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017 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 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 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017 Rene Saavedra <rennes@openmailbox.org>
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 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017 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 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 Rutger Helling <rhelling@mykolab.com>
33 ;;; This file is part of GNU Guix.
35 ;;; GNU Guix is free software; you can redistribute it and/or modify it
36 ;;; under the terms of the GNU General Public License as published by
37 ;;; the Free Software Foundation; either version 3 of the License, or (at
38 ;;; your option) any later version.
40 ;;; GNU Guix is distributed in the hope that it will be useful, but
41 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
42 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 ;;; GNU General Public License for more details.
45 ;;; You should have received a copy of the GNU General Public License
46 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
48 (define-module (gnu packages gnome)
49 #:use-module ((guix licenses) #:prefix license:)
50 #:use-module (guix packages)
51 #:use-module (guix download)
52 #:use-module (guix git-download)
53 #:use-module (guix utils)
54 #:use-module (guix build-system cmake)
55 #:use-module (guix build-system gnu)
56 #:use-module (guix build-system glib-or-gtk)
57 #:use-module (guix build-system meson)
58 #:use-module (guix build-system trivial)
59 #:use-module (gnu packages)
60 #:use-module (gnu packages admin)
61 #:use-module (gnu packages aspell)
62 #:use-module (gnu packages autotools)
63 #:use-module (gnu packages avahi)
64 #:use-module (gnu packages base)
65 #:use-module (gnu packages bison)
66 #:use-module (gnu packages build-tools)
67 #:use-module (gnu packages calendar)
68 #:use-module (gnu packages check)
69 #:use-module (gnu packages cmake)
70 #:use-module (gnu packages cups)
71 #:use-module (gnu packages curl)
72 #:use-module (gnu packages cyrus-sasl)
73 #:use-module (gnu packages databases)
74 #:use-module (gnu packages djvu)
75 #:use-module (gnu packages dns)
76 #:use-module (gnu packages documentation)
77 #:use-module (gnu packages flex)
78 #:use-module (gnu packages docbook)
79 #:use-module (gnu packages enchant)
80 #:use-module (gnu packages fontutils)
81 #:use-module (gnu packages game-development)
82 #:use-module (gnu packages gettext)
83 #:use-module (gnu packages glib)
84 #:use-module (gnu packages gnupg)
85 #:use-module (gnu packages gnuzilla)
86 #:use-module (gnu packages gstreamer)
87 #:use-module (gnu packages gtk)
88 #:use-module (gnu packages gperf)
89 #:use-module (gnu packages guile)
90 #:use-module (gnu packages openldap)
91 #:use-module (gnu packages pdf)
92 #:use-module (gnu packages polkit)
93 #:use-module (gnu packages popt)
94 #:use-module (gnu packages ghostscript)
95 #:use-module (gnu packages ibus)
96 #:use-module (gnu packages iso-codes)
97 #:use-module (gnu packages libcanberra)
98 #:use-module (gnu packages libunistring)
99 #:use-module (gnu packages linux)
100 #:use-module (gnu packages libusb)
101 #:use-module (gnu packages lirc)
102 #:use-module (gnu packages lua)
103 #:use-module (gnu packages image)
104 #:use-module (gnu packages imagemagick)
105 #:use-module (gnu packages music)
106 #:use-module (gnu packages networking)
107 #:use-module (gnu packages ninja)
108 #:use-module (gnu packages password-utils)
109 #:use-module (gnu packages pcre)
110 #:use-module (gnu packages perl)
111 #:use-module (gnu packages photo)
112 #:use-module (gnu packages pkg-config)
113 #:use-module (gnu packages pulseaudio)
114 #:use-module (gnu packages python)
115 #:use-module (gnu packages rdesktop)
116 #:use-module (gnu packages scanner)
117 #:use-module (gnu packages selinux)
118 #:use-module (gnu packages slang)
119 #:use-module (gnu packages ssh)
120 #:use-module (gnu packages xml)
121 #:use-module (gnu packages gl)
122 #:use-module (gnu packages compression)
123 #:use-module (gnu packages spice)
124 #:use-module (gnu packages tex)
125 #:use-module (gnu packages time)
126 #:use-module (gnu packages tls)
127 #:use-module (gnu packages web)
128 #:use-module (gnu packages webkit)
129 #:use-module (gnu packages xiph)
130 #:use-module (gnu packages xorg)
131 #:use-module (gnu packages xdisorg)
132 #:use-module (gnu packages freedesktop)
133 #:use-module (gnu packages mail)
134 #:use-module (gnu packages kerberos)
135 #:use-module (gnu packages multiprecision)
136 #:use-module (gnu packages backup)
137 #:use-module (gnu packages nettle)
138 #:use-module (gnu packages ncurses)
139 #:use-module (gnu packages video)
140 #:use-module (gnu packages cdrom)
141 #:use-module (gnu packages samba)
142 #:use-module (gnu packages readline)
143 #:use-module (gnu packages fonts)
144 #:use-module (gnu packages speech)
145 #:use-module (gnu packages virtualization)
146 #:use-module (gnu packages vpn)
147 #:use-module (gnu packages xorg)
148 #:use-module (srfi srfi-1))
150 (define-public brasero
156 (uri (string-append "mirror://gnome/sources/" name "/"
157 (version-major+minor version) "/"
158 name "-" version ".tar.xz"))
161 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
162 (build-system glib-or-gtk-build-system)
164 `(#:configure-flags (list
165 (string-append "--with-girdir="
166 (assoc-ref %outputs "out")
168 (string-append "--with-typelibdir="
169 (assoc-ref %outputs "out")
170 "/lib/girepository-1.0"))
172 (modify-phases %standard-phases
173 (add-before 'configure 'embed-growisofs
174 (lambda* (#:key inputs #:allow-other-keys)
175 (substitute* "plugins/growisofs/burn-growisofs.c"
176 (("\"growisofs") (string-append "\"" (which "growisofs"))))
179 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
181 `(("intltool" ,intltool)
182 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
183 ("gobject-introspection" ,gobject-introspection)
184 ("pkg-config" ,pkg-config)))
186 `(("dvd+rw-tools" ,dvd+rw-tools)
188 ("gnome-doc-utils" ,gnome-doc-utils)
189 ("gstreamer" ,gstreamer)
190 ("gst-plugins-base" ,gst-plugins-base)
193 ("libcanberra" ,libcanberra)
195 ("libnotify" ,libnotify)
199 ("totem-pl-parser" ,totem-pl-parser)))
200 (home-page "https://projects.gnome.org/brasero/")
201 (synopsis "CD/DVD burning tool for Gnome")
202 (description "Brasero is an application to burn CD/DVD for the Gnome
203 Desktop. It is designed to be as simple as possible and has some unique
204 features to enable users to create their discs easily and quickly.")
205 (license license:gpl2+)))
207 (define-public deja-dup
213 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
216 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
218 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
219 (build-system glib-or-gtk-build-system)
221 `(#:modules ((guix build gnu-build-system)
222 ((guix build cmake-build-system) #:prefix cmake:)
223 (guix build glib-or-gtk-build-system)
225 #:imported-modules (,@%glib-or-gtk-build-system-modules
226 (guix build cmake-build-system))
228 #:configure-flags (list (string-append
229 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
231 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
233 (modify-phases %standard-phases
234 (add-after 'unpack 'patch-lockfile-deletion
236 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
240 (assoc-ref cmake:%standard-phases 'configure))
241 (delete 'check) ;; Fails due to issues with DBus
242 (add-after 'install 'wrap-deja-dup
243 (lambda* (#:key inputs outputs #:allow-other-keys)
244 (let ((python (assoc-ref inputs "python"))
245 (python-path (getenv "PYTHONPATH"))
246 (duplicity (assoc-ref inputs "duplicity"))
247 (out (assoc-ref outputs "out")))
250 (wrap-program program
251 `("PATH" ":" prefix (,(string-append python "/bin")
252 ,(string-append duplicity "/bin"))))
253 (wrap-program program
254 `("PYTHONPATH" ":" prefix (,python-path))))
256 (find-files (string-append out "/bin")))
259 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
260 ("gobject-introspection" ,gobject-introspection)
261 ("duplicity" ,duplicity)
262 ("python" ,python2-minimal)
263 ("python-pygobject" ,python2-pygobject)
265 ("libnotify" ,libnotify)
267 ("libsecret" ,libsecret)
268 ("packagekit" ,packagekit)))
270 `(("pkg-config" ,pkg-config)
272 ("gettext" ,gettext-minimal)
274 ("intltool" ,intltool)
276 (home-page "https://launchpad.net/deja-dup")
277 (synopsis "Simple backup tool, for regular encrypted backups")
279 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
280 uses duplicity as the backend, which supports incremental backups and storage
281 either on a local, or remote machine via a number of methods.")
282 (license license:gpl3+)))
285 ;; This version from GNOME's repository includes fixes for compiling with
286 ;; recent versions of the build tools. The latest activity on the
287 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
289 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
292 (version (string-append "0.97.2-" (string-take commit 7)))
296 (url "https://git.gnome.org/browse/dia")
298 (file-name (string-append name "-" version "-checkout"))
301 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
302 (build-system gnu-build-system)
304 `(("glib" ,glib "bin")
306 ("gdk-pixbuf" ,gdk-pixbuf)
309 ("freetype" ,freetype)
310 ("libart-lgpl" ,libart-lgpl)))
312 `(("intltool" ,intltool)
313 ("pkg-config" ,pkg-config)
314 ("automake" ,automake)
315 ("autoconf" ,autoconf)
318 ("python-wrapper" ,python-wrapper)))
321 (modify-phases %standard-phases
322 (add-after 'unpack 'run-autogen
324 (system* "sh" "autogen.sh"))))))
325 (home-page "https://wiki.gnome.org/Apps/Dia")
326 (synopsis "Diagram creation for GNOME")
327 (description "Dia can be used to draw different types of diagrams, and
328 includes support for UML static structure diagrams (class diagrams), entity
329 relationship modeling, and network diagrams. The program supports various file
330 formats like PNG, SVG, PDF and EPS.")
331 (license license:gpl2+))))
333 (define-public libgdata
339 (uri (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
344 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
346 (search-patches "libgdata-fix-tests.patch"
347 "libgdata-glib-duplicate-tests.patch"))))
348 (build-system gnu-build-system)
351 (modify-phases %standard-phases
352 (add-before 'check 'use-empty-ssl-cert-file
354 ;; The ca-certificates.crt is not available in the build
356 (setenv "SSL_CERT_FILE" "/dev/null")
358 (add-before 'check 'disable-failing-tests
360 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
361 ;; They have been removed in libgdata 0.17.6, so just do the same.
362 (substitute* "gdata/tests/Makefile"
363 (("picasaweb\\$\\(EXEEXT\\) ") ""))
366 `(("glib:bin" ,glib "bin")
367 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
368 ("intltool" ,intltool)
369 ("pkg-config" ,pkg-config)
370 ("uhttpmock" ,uhttpmock)))
372 `(("cyrus-sasl" ,cyrus-sasl)
374 ("glib-networking" ,glib-networking)
375 ("json-glib" ,json-glib)
376 ("libsoup" ,libsoup)))
379 ("gnome-online-accounts" ,gnome-online-accounts)
380 ("liboauth" ,liboauth)
381 ("libxml2" ,libxml2)))
382 (home-page "https://wiki.gnome.org/Projects/libgdata")
383 (synopsis "Library for accessing online service APIs")
385 "libgdata is a GLib-based library for accessing online service APIs using
386 the GData protocol — most notably, Google's services. It provides APIs to
387 access the common Google services, and has full asynchronous support.")
388 (license license:lgpl2.1+)))
390 (define-public libgxps
396 (uri (string-append "mirror://gnome/sources/" name "/"
397 (version-major+minor version) "/"
398 name "-" version ".tar.xz"))
399 (patches (search-patches "libgxps-CVE-2017-11590.patch"))
402 "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
403 (build-system gnu-build-system)
405 `(("gobject-introspection" ,gobject-introspection)
406 ("pkg-config" ,pkg-config)))
410 ("libarchive" ,libarchive)
415 (home-page "https://wiki.gnome.org/Projects/libgxps")
416 (synopsis "GObject-based library for handling and rendering XPS documents")
418 "libgxps is a GObject-based library for handling and rendering XPS
419 documents. This package also contains binaries that can convert XPS documents
421 (license license:lgpl2.1+)))
423 (define-public gnome-common
425 (name "gnome-common")
430 (uri (string-append "mirror://gnome/sources/" name "/"
431 (version-major+minor version) "/"
432 name "-" version ".tar.xz"))
435 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
436 (build-system gnu-build-system)
437 (home-page "https://www.gnome.org/")
438 (synopsis "Bootstrap GNOME modules built from Git")
439 (description "gnome-common contains various files needed to bootstrap
440 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
441 can be used to configure a source directory checked out from Git and some
442 commonly used macros.")
443 (license license:gpl2+)))
445 (define-public gnome-desktop
447 (name "gnome-desktop")
452 (uri (string-append "mirror://gnome/sources/" name "/"
453 (version-major+minor version) "/"
454 name "-" version ".tar.xz"))
457 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
458 (build-system gnu-build-system)
461 (modify-phases %standard-phases
462 (add-before 'configure 'patch-path
463 (lambda* (#:key inputs #:allow-other-keys)
464 (let ((libc (assoc-ref inputs "libc")))
465 (substitute* "libgnome-desktop/gnome-languages.c"
467 (string-append "\"" libc "/bin/locale\"")))
470 `(("gobject-introspection" ,gobject-introspection)
472 ("intltool" ,intltool)
473 ("pkg-config" ,pkg-config)
474 ("xmllint" ,libxml2)))
476 ;; Required by gnome-desktop-3.0.pc.
477 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
480 `(("gdk-pixbuf" ,gdk-pixbuf)
482 ("iso-codes" ,iso-codes)
485 ("libxkbfile" ,libxkbfile)
486 ("libxrandr" ,libxrandr)
487 ("xkeyboard-config" ,xkeyboard-config)))
488 (home-page "https://www.gnome.org/")
490 "Libgnome-desktop, gnome-about, and desktop-wide documents")
492 "The libgnome-desktop library provides API shared by several applications
493 on the desktop, but that cannot live in the platform for various reasons.
494 There is no API or ABI guarantee, although we are doing our best to provide
495 stability. Documentation for the API is available with gtk-doc.
497 The gnome-about program helps find which version of GNOME is installed.")
498 ; Some bits under the LGPL.
499 (license license:gpl2+)))
501 (define-public gnome-doc-utils
503 (name "gnome-doc-utils")
508 (uri (string-append "mirror://gnome/sources/" name "/"
509 (version-major+minor version) "/"
510 name "-" version ".tar.xz"))
513 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
514 (build-system gnu-build-system)
516 `(("intltool" ,intltool)
517 ("docbook-xml" ,docbook-xml-4.4)
518 ("python2-libxml2" ,python2-libxml2)
521 ("pkg-config" ,pkg-config)
522 ("python-2" ,python-2)))
523 (home-page "https://wiki.gnome.org/GnomeDocUtils")
525 "Documentation utilities for the Gnome project")
527 "Gnome-doc-utils is a collection of documentation utilities for the
528 Gnome project. It includes xml2po tool which makes it easier to translate
529 and keep up to date translations of documentation.")
530 (license license:gpl2+))) ; xslt under lgpl
532 (define-public gnome-disk-utility
534 (name "gnome-disk-utility")
538 (uri (string-append "mirror://gnome/sources/" name "/"
539 (version-major+minor version) "/"
540 name "-" version ".tar.xz"))
543 "1wjnw9hpjqyhrr116491rfzd0837g6jqvzq2z1ndx2sdqv19caxa"))))
544 (build-system meson-build-system)
546 `(("glib:bin" ,glib "bin")
547 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
548 ("intltool" ,intltool)
549 ("pkg-config" ,pkg-config)
550 ("docbook-xml" ,docbook-xml)
551 ("docbook-xsl" ,docbook-xsl)
553 ("libxslt" ,libxslt)))
556 ("appstream-glib" ,appstream-glib)
557 ("gnome-settings-daemon" ,gnome-settings-daemon)
559 ("libcanberra" ,libcanberra)
560 ("libdvdread" ,libdvdread)
561 ("libnotify" ,libnotify)
562 ("libpwquality" ,libpwquality)
563 ("libsecret" ,libsecret)
565 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
566 (synopsis "Disk management utility for GNOME")
567 (description "Disk management utility for GNOME.")
568 (license license:gpl2+)))
576 (uri (string-append "mirror://gnome/sources/" name "/"
577 (version-major+minor version) "/"
578 name "-" version ".tar.xz"))
581 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
583 (search-patches "gcr-disable-failing-tests.patch"
584 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
585 (build-system gnu-build-system)
587 '(#:phases (modify-phases %standard-phases
590 (lambda* (#:key inputs #:allow-other-keys)
591 (substitute* "build/tap-driver"
592 (("/usr/bin/env python") (which "python"))))))))
595 ("gnupg" ,gnupg) ;called as a child process during tests
596 ("libgcrypt" ,libgcrypt)))
598 `(("python" ,python-2) ;for tests
599 ("pkg-config" ,pkg-config)
601 ("gobject-introspection" ,gobject-introspection)
602 ("intltool" ,intltool)
603 ("xsltproc" ,libxslt)))
604 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
606 `(("p11-kit" ,p11-kit)
609 (home-page "https://www.gnome.org")
610 (synopsis "Libraries for displaying certificates and accessing key stores")
612 "The GCR package contains libraries used for displaying certificates and
613 accessing key stores. It also provides the viewer for crypto files on the
615 (license license:lgpl2.1+)))
617 (define-public libgnome-keyring
619 (name "libgnome-keyring")
623 (uri (string-append "mirror://gnome/sources/" name "/"
624 (version-major+minor version) "/"
625 name "-" version ".tar.xz"))
628 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
629 (build-system gnu-build-system)
631 `(("libgcrypt" ,libgcrypt)
634 `(("pkg-config" ,pkg-config)
636 ("intltool" ,intltool)))
638 ;; Referred to in .h files and .pc.
640 (home-page "https://www.gnome.org")
641 (synopsis "Accessing passwords from the GNOME keyring")
643 "Client library to access passwords from the GNOME keyring.")
645 ;; Though a couple of files are LGPLv2.1+.
646 (license license:lgpl2.0+)))
648 (define-public gnome-keyring
650 (name "gnome-keyring")
654 (uri (string-append "mirror://gnome/sources/" name "/"
655 (version-major+minor version) "/"
656 name "-" version ".tar.xz"))
659 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
660 (build-system gnu-build-system)
662 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
666 (string-append "--with-pkcs11-config="
667 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
668 (string-append "--with-pkcs11-modules="
669 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
671 (modify-phases %standard-phases
674 (lambda* (#:key inputs #:allow-other-keys)
675 (substitute* "build/tap-driver"
676 (("/usr/bin/env python") (which "python")))))
678 'configure 'fix-docbook
679 (lambda* (#:key inputs #:allow-other-keys)
680 (substitute* "docs/Makefile.am"
681 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
682 (string-append (assoc-ref inputs "docbook-xsl")
683 "/xml/xsl/docbook-xsl-"
684 ,(package-version docbook-xsl)
685 "/manpages/docbook.xsl")))
686 (setenv "XML_CATALOG_FILES"
687 (string-append (assoc-ref inputs "docbook-xml")
688 "/xml/dtd/docbook/catalog.xml")))))))
690 `(("libgcrypt" ,libgcrypt)
691 ("linux-pam" ,linux-pam)
695 `(("pkg-config" ,pkg-config)
697 ("python" ,python-2) ;for tests
698 ("intltool" ,intltool)
699 ("autoconf" ,autoconf)
700 ("automake" ,automake)
701 ("libxslt" ,libxslt) ;for documentation
702 ("docbook-xml" ,docbook-xml-4.2)
703 ("docbook-xsl" ,docbook-xsl)))
704 (home-page "https://www.gnome.org")
705 (synopsis "Daemon to store passwords and encryption keys")
707 "gnome-keyring is a program that keeps passwords and other secrets for
708 users. It is run as a daemon in the session, similar to ssh-agent, and other
709 applications locate it via an environment variable or D-Bus.
711 The program can manage several keyrings, each with its own master password,
712 and there is also a session keyring which is never stored to disk, but
713 forgotten when the session ends.")
714 (license license:lgpl2.1+)))
716 (define-public evince
722 (uri (string-append "mirror://gnome/sources/" name "/"
723 (version-major+minor version) "/"
724 name "-" version ".tar.xz"))
727 "1n69lkiagx2x8lrdbvdlz6c051cvzhma73b3ggnw7w1wfkdpnmkr"))))
728 (build-system glib-or-gtk-build-system)
730 `(#:configure-flags '("--disable-nautilus")
732 (modify-phases %standard-phases
733 (add-before 'install 'skip-gtk-update-icon-cache
734 ;; Don't create 'icon-theme.cache'.
736 (substitute* "data/Makefile"
737 (("gtk-update-icon-cache") "true"))
740 `(("libarchive" ,libarchive)
742 ("libspectre" ,libspectre)
743 ("djvulibre" ,djvulibre)
744 ("ghostscript" ,ghostscript)
748 ;; Build libkpathsea as a shared library for DVI support.
749 ;; ("libkpathsea" ,texlive-bin)
750 ("gnome-desktop" ,gnome-desktop)
751 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
752 ("libgnome-keyring" ,libgnome-keyring)
753 ("adwaita-icon-theme" ,adwaita-icon-theme)
754 ("gdk-pixbuf" ,gdk-pixbuf)
762 ("shared-mime-info" ,shared-mime-info)
764 ("libcanberra" ,libcanberra)
765 ("libsecret" ,libsecret)
767 ("dogtail" ,python2-dogtail)))
769 `(("itstool" ,itstool)
770 ("intltool" ,intltool)
772 ("pkg-config" ,pkg-config)
773 ("xmllint" ,libxml2)))
775 "https://www.gnome.org/projects/evince/")
776 (synopsis "GNOME's document viewer")
778 "Evince is a document viewer for multiple document formats. It
779 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
780 of Evince is to replace the multiple document viewers that exist
781 on the GNOME Desktop with a single simple application.")
782 (license license:gpl2+)))
784 (define-public gsettings-desktop-schemas
786 (name "gsettings-desktop-schemas")
791 (uri (string-append "mirror://gnome/sources/" name "/"
792 (version-major+minor version) "/"
793 name "-" version ".tar.xz"))
796 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
797 (build-system gnu-build-system)
801 `(("intltool" ,intltool)
802 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
803 ("gobject-introspection" ,gobject-introspection)
804 ("pkg-config" ,pkg-config)))
805 (home-page "https://launchpad.net/gsettings-desktop-schemas")
807 "GNOME settings for various desktop components")
809 "Gsettings-desktop-schemas contains a collection of GSettings schemas
810 for settings shared by various components of the GNOME desktop.")
811 (license license:lgpl2.1+)))
813 (define-public icon-naming-utils
815 (name "icon-naming-utils")
820 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
824 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
825 (build-system gnu-build-system)
828 ("perl-xml-simple" ,perl-xml-simple)))
831 (modify-phases %standard-phases
832 (add-after 'install 'set-load-paths
833 ;; Tell 'icon-name-mapping' where XML::Simple is.
834 (lambda* (#:key outputs #:allow-other-keys)
835 (let* ((out (assoc-ref outputs "out"))
836 (prog (string-append out "/libexec/icon-name-mapping")))
839 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
841 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
843 "Utility to implement the Freedesktop Icon Naming Specification")
845 "To help with the transition to the Freedesktop Icon Naming
846 Specification, the icon naming utility maps the icon names used by the
847 GNOME and KDE desktops to the icon names proposed in the specification.")
848 (license license:lgpl2.1+)))
850 (define-public gnome-icon-theme
852 (name "gnome-icon-theme")
857 (uri (string-append "mirror://gnome/sources/" name "/"
858 (version-major+minor version) "/"
859 name "-" version ".tar.xz"))
862 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
863 (build-system gnu-build-system)
866 ;; Don't create 'icon-theme.cache'.
867 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
868 (true (string-append coreutils "/bin/true")))
869 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
871 `(("icon-naming-utils" ,icon-naming-utils)
872 ("intltool" ,intltool)
873 ("pkg-config" ,pkg-config)))
874 (home-page "https://art.gnome.org/")
878 "Icons for the GNOME desktop.")
879 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
881 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
882 (define-public adwaita-icon-theme
883 (package (inherit gnome-icon-theme)
884 (name "adwaita-icon-theme")
888 (uri (string-append "mirror://gnome/sources/" name "/"
889 (version-major+minor version) "/"
890 name "-" version ".tar.xz"))
893 "17fpahgh5dyckgz7rwqvzgnhx53cx9kr2xw0szprc6bnqy977fi8"))))
895 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
897 (define-public tango-icon-theme
899 (name "tango-icon-theme")
903 (uri (string-append "http://tango.freedesktop.org/releases/"
904 "tango-icon-theme-" version ".tar.bz2"))
907 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
908 (build-system gnu-build-system)
910 `(("icon-naming-utils" ,icon-naming-utils)
911 ("intltool" ,intltool)
912 ("imagemagick" ,imagemagick)
913 ("pkg-config" ,pkg-config)))
914 (home-page "http://tango-project.org/")
915 (synopsis "Tango icon theme")
916 (description "This is an icon theme that follows the Tango visual
918 (license license:public-domain)))
920 (define-public shared-mime-info
922 (name "shared-mime-info")
926 (uri (string-append "https://freedesktop.org/~hadess/"
927 "shared-mime-info-" version ".tar.xz"))
930 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
931 (build-system gnu-build-system)
933 ;; The build system appears not to be parallel-safe.
934 '(#:parallel-build? #f))
937 ("libxml2" ,libxml2)))
939 `(("intltool" ,intltool)
940 ("pkg-config" ,pkg-config)))
941 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
942 (synopsis "Database of common MIME types")
944 "The shared-mime-info package contains the core database of common types
945 and the update-mime-database command used to extend it. It requires glib2 to
946 be installed for building the update command. Additionally, it uses intltool
947 for translations, though this is only a dependency for the maintainers. This
948 database is translated at Transifex.")
949 (license license:gpl2+)))
951 (define-public hicolor-icon-theme
953 (name "hicolor-icon-theme")
958 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
959 "hicolor-icon-theme-" version ".tar.xz"))
962 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
963 (build-system gnu-build-system)
965 `(#:tests? #f)) ; no check target
966 (home-page "http://icon-theme.freedesktop.org/releases/")
968 "Freedesktop icon theme")
970 "Freedesktop icon theme.")
971 (license license:gpl2)))
973 (define-public libnotify
980 (uri (string-append "mirror://gnome/sources/" name "/"
981 (version-major+minor version) "/"
982 name "-" version ".tar.xz"))
985 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
986 (build-system gnu-build-system)
988 `(("gdk-pixbuf" ,gdk-pixbuf)
993 `(("pkg-config" ,pkg-config)
995 ("gobject-introspection" ,gobject-introspection)))
996 (home-page "https://developer-next.gnome.org/libnotify/")
998 "GNOME desktop notification library")
1000 "Libnotify is a library that sends desktop notifications to a
1001 notification daemon, as defined in the Desktop Notifications spec. These
1002 notifications can be used to inform the user about an event or display
1003 some form of information without getting in the user's way.")
1004 (license license:lgpl2.1+)))
1006 (define-public libpeas
1013 (uri (string-append "mirror://gnome/sources/" name "/"
1014 (version-major+minor version) "/"
1015 name "-" version ".tar.xz"))
1018 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1019 (build-system gnu-build-system)
1024 ("python-pygobject" ,python-pygobject)))
1026 `(("pkg-config" ,pkg-config)
1027 ("glib:bin" ,glib "bin")
1028 ("gobject-introspection" ,gobject-introspection)
1029 ("intltool" ,intltool)))
1031 ;; The .pc file "Requires" gobject-introspection.
1032 `(("gobject-introspection" ,gobject-introspection)))
1033 (home-page "https://wiki.gnome.org/Libpeas")
1034 (synopsis "GObject plugin system")
1036 "Libpeas is a gobject-based plugin engine, targeted at giving every
1037 application the chance to assume its own extensibility. It also has a set of
1038 features including, but not limited to: multiple extension points; on-demand
1039 (lazy) programming language support for C, Python and JS; simplicity of the
1041 (license license:lgpl2.0+)))
1043 (define-public gtkglext
1049 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1050 version "/gtkglext-" version ".tar.gz"))
1052 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1053 (patches (search-patches
1054 "gtkglext-disable-disable-deprecated.patch"))))
1055 (build-system gnu-build-system)
1056 (inputs `(("gtk+" ,gtk+-2)
1061 (native-inputs `(("pkg-config" ,pkg-config)
1062 ("glib" ,glib "bin")))
1063 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1064 (home-page "https://projects.gnome.org/gtkglext")
1065 (synopsis "OpenGL extension to GTK+")
1066 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1067 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1068 API add-ons to make GTK+ widgets OpenGL-capable.")
1069 (license license:lgpl2.1+)))
1071 (define-public glade3
1077 (uri (string-append "mirror://gnome/sources/" name "/"
1078 (version-major+minor version) "/"
1079 name "-" version ".tar.xz"))
1082 "1vdbqqvf6nrkqml4awrq4pzfwsm5v39wdzg943nys6lmf1am9l87"))))
1083 (build-system glib-or-gtk-build-system)
1085 `(#:tests? #f ; needs X, GL, and software rendering
1087 (modify-phases %standard-phases
1088 (add-before 'configure 'fix-docbook
1089 (lambda* (#:key inputs #:allow-other-keys)
1090 (substitute* "man/Makefile.in"
1091 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1092 (string-append (assoc-ref inputs "docbook-xsl")
1093 "/xml/xsl/docbook-xsl-"
1094 ,(package-version docbook-xsl)
1095 "/manpages/docbook.xsl")))
1099 ("libxml2" ,libxml2)))
1101 `(("intltool" ,intltool)
1102 ("itstool" ,itstool)
1103 ("libxslt" ,libxslt) ;for xsltproc
1104 ("docbook-xml" ,docbook-xml-4.2)
1105 ("docbook-xsl" ,docbook-xsl)
1106 ("python" ,python-2)
1107 ("pkg-config" ,pkg-config)))
1108 (home-page "https://glade.gnome.org")
1109 (synopsis "GTK+ rapid application development tool")
1110 (description "Glade is a rapid application development (RAD) tool to
1111 enable quick & easy development of user interfaces for the GTK+ toolkit and
1112 the GNOME desktop environment.")
1113 (license license:lgpl2.0+)))
1115 (define-public libcroco
1121 (uri (string-append "mirror://gnome/sources/" name "/"
1122 (version-major+minor version) "/"
1123 name "-" version ".tar.xz"))
1125 (search-patches "libcroco-CVE-2017-7960.patch"
1126 "libcroco-CVE-2017-7961.patch"))
1129 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1130 (build-system gnu-build-system)
1132 `(("pkg-config" ,pkg-config)))
1135 ("libxml2" ,libxml2)
1137 (home-page "https://github.com/GNOME/libcroco")
1138 (synopsis "CSS2 parsing and manipulation library")
1140 "Libcroco is a standalone CSS2 parsing and manipulation library.
1141 The parser provides a low level event driven SAC-like API and a CSS object
1142 model like API. Libcroco provides a CSS2 selection engine and an experimental
1143 XML/CSS rendering engine.")
1146 (license license:lgpl2.1)))
1148 (define-public libgsf
1154 (uri (string-append "mirror://gnome/sources/" name "/"
1155 (version-major+minor version) "/"
1156 name "-" version ".tar.xz"))
1159 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1160 (build-system gnu-build-system)
1162 `(("intltool" ,intltool)
1163 ("pkg-config" ,pkg-config)))
1165 `(("python" ,python)
1169 `(("gdk-pixbuf" ,gdk-pixbuf)
1171 ("libxml2" ,libxml2)))
1172 (home-page "https://www.gnome.org/projects/libgsf")
1173 (synopsis "GNOME's Structured File Library")
1175 "Libgsf aims to provide an efficient extensible I/O abstraction for
1176 dealing with different structured file formats.")
1179 (license license:lgpl2.1)))
1181 (define-public librsvg
1187 (uri (string-append "mirror://gnome/sources/" name "/"
1188 (version-major+minor version) "/"
1189 name "-" version ".tar.xz"))
1192 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1193 (build-system gnu-build-system)
1196 (modify-phases %standard-phases
1197 (add-before 'configure 'pre-configure
1198 (lambda* (#:key inputs #:allow-other-keys)
1199 (substitute* "gdk-pixbuf-loader/Makefile.in"
1200 ;; By default the gdk-pixbuf loader is installed under
1201 ;; gdk-pixbuf's prefix. Work around that.
1202 (("gdk_pixbuf_moduledir = .*$")
1203 (string-append "gdk_pixbuf_moduledir = "
1204 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1206 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1207 (("gdk_pixbuf_cache_file = .*$")
1208 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1210 (add-after 'unpack 'remove-failing-tests
1212 (with-directory-excursion "tests/fixtures/reftests"
1213 (for-each delete-file
1214 '(;; This test fails on i686:
1215 "svg1.1/masking-path-04-b.svg"
1216 "svg1.1/masking-path-04-b-ref.png"
1217 ;; This test fails on armhf:
1218 "svg1.1/masking-mask-01-b.svg"
1219 "svg1.1/masking-mask-01-b-ref.png"
1220 ;; This test fails on aarch64:
1221 "bugs/777834-empty-text-children.svg"
1222 "bugs/777834-empty-text-children-ref.png")))
1225 `(("pkg-config" ,pkg-config)
1226 ("glib" ,glib "bin") ; glib-mkenums, etc.
1227 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1230 ("libcroco" ,libcroco)
1233 ("libxml2" ,libxml2)))
1235 ;; librsvg-2.0.pc refers to all of that.
1237 ("gdk-pixbuf" ,gdk-pixbuf)
1239 (home-page "https://wiki.gnome.org/LibRsvg")
1240 (synopsis "Render SVG files using Cairo")
1242 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1244 (license license:lgpl2.0+)))
1246 (define-public libidl
1252 (uri (let ((upstream-name "libIDL"))
1253 (string-append "mirror://gnome/sources/" upstream-name "/"
1254 (version-major+minor version) "/"
1255 upstream-name "-" version ".tar.bz2")))
1258 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1259 (build-system gnu-build-system)
1260 (inputs `(("glib" ,glib)))
1262 `(("pkg-config" ,pkg-config)
1265 (home-page "http://freecode.com/projects/libidl")
1266 (synopsis "Create trees of CORBA Interface Definition Language files")
1267 (description "Libidl is a library for creating trees of CORBA Interface
1268 Definition Language (idl) files, which is a specification for defining
1269 portable interfaces. libidl was initially written for orbit (the orb from the
1270 GNOME project, and the primary means of libidl distribution). However, the
1271 functionality was designed to be as reusable and portable as possible.")
1272 (license license:lgpl2.0+)))
1275 (define-public orbit2
1281 (uri (let ((upstream-name "ORBit2"))
1282 (string-append "mirror://gnome/sources/" upstream-name "/"
1283 (version-major+minor version) "/"
1284 upstream-name "-" version ".tar.bz2")))
1287 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1288 (build-system gnu-build-system)
1291 ;; The programmer kindly gives us a hook to turn off deprecation
1293 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1294 ;; ... which they then completly ignore !!
1296 (modify-phases %standard-phases
1297 (add-before 'configure 'ignore-deprecations
1299 (substitute* "linc2/src/Makefile.in"
1300 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1302 (inputs `(("glib" ,glib)
1303 ("libidl" ,libidl)))
1305 `(("pkg-config" ,pkg-config)))
1306 (home-page "https://projects.gnome.org/orbit2/")
1307 (synopsis "CORBA 2.4-compliant Object Request Broker")
1308 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1309 featuring mature C, C++ and Python bindings.")
1310 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1311 ;; a version. SOME of the code files have licence notices for GPLv2+.
1312 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1313 (license license:gpl2+)))
1316 (define-public libbonobo
1322 (uri (string-append "mirror://gnome/sources/" name "/"
1323 (version-major+minor version)
1324 "/" name "-" version ".tar.bz2"))
1326 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1327 (patches (search-patches
1328 "libbonobo-activation-test-race.patch"))))
1329 (build-system gnu-build-system)
1331 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1333 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1334 ;; ... which they then completly ignore !!
1336 (modify-phases %standard-phases
1337 (add-before 'configure 'ignore-deprecations
1339 (substitute* "activation-server/Makefile.in"
1340 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1342 (inputs `(("popt" ,popt)
1343 ("libxml2" ,libxml2)))
1344 ;; The following are Required by the .pc file
1347 ("orbit2" ,orbit2)))
1349 `(("intltool" ,intltool)
1350 ("pkg-config" ,pkg-config)
1351 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1354 (home-page "https://developer.gnome.org/libbonobo/")
1355 (synopsis "Framework for creating reusable components for use in GNOME applications")
1356 (description "Bonobo is a framework for creating reusable components for
1357 use in GNOME applications, built on top of CORBA.")
1358 ;; Licence not explicitly stated. Source files contain no licence notices.
1359 ;; Tarball contains text of both GPLv2 and LGPLv2
1360 ;; GPLv2 covers both conditions
1361 (license license:gpl2+)))
1364 (define-public gconf
1371 (let ((upstream-name "GConf"))
1372 (string-append "mirror://gnome/sources/" upstream-name "/"
1373 (version-major+minor version) "/"
1374 upstream-name "-" version ".tar.xz")))
1376 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1377 (build-system gnu-build-system)
1378 (inputs `(("dbus-glib" ,dbus-glib)
1379 ("libxml2" ,libxml2)))
1380 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1381 ("orbit2" ,orbit2)))
1383 `(("intltool" ,intltool)
1384 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1385 ("pkg-config" ,pkg-config)))
1386 (home-page "https://projects.gnome.org/gconf/")
1387 (synopsis "Store application preferences")
1388 (description "Gconf is a system for storing application preferences. It
1389 is intended for user preferences; not arbitrary data storage.")
1390 (license license:lgpl2.0+)
1391 (properties '((upstream-name . "GConf")))))
1394 (define-public gnome-mime-data
1396 (name "gnome-mime-data")
1400 (uri (string-append "mirror://gnome/sources/" name "/"
1401 (version-major+minor version) "/"
1402 name "-" version ".tar.bz2"))
1405 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1406 (build-system gnu-build-system)
1409 ("intltool" ,intltool)))
1411 '(#:phases (modify-phases %standard-phases
1412 (add-after 'configure 'use-our-intltool
1414 ;; Do not use the bundled intltool commands, which lack
1415 ;; the "dotless @INC" fixes of our 'intltool' package.
1416 (substitute* (find-files "." "^Makefile$")
1417 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1418 (string-append "INTLTOOL_" tool " = intltool-"
1419 (string-downcase tool) "\n")))
1421 (home-page "https://www.gnome.org")
1422 (synopsis "Base MIME and Application database for GNOME")
1423 (description "GNOME Mime Data is a module which contains the base MIME
1424 and Application database for GNOME. The data stored by this module is
1425 designed to be accessed through the MIME functions in GnomeVFS.")
1426 (license license:gpl2+)))
1429 (define-public gnome-vfs
1435 (uri (string-append "mirror://gnome/sources/" name "/"
1436 (version-major+minor version) "/"
1437 name "-" version ".tar.bz2"))
1440 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1441 (build-system gnu-build-system)
1444 (modify-phases %standard-phases
1445 (add-before 'configure 'ignore-deprecations
1447 (substitute* '("libgnomevfs/Makefile.in"
1448 "daemon/Makefile.in")
1449 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1451 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1453 (substitute* "test/test-async-cancel.c"
1454 (("EXIT_FAILURE") "77"))
1456 (inputs `(("libxml2" ,libxml2)
1457 ("dbus-glib" ,dbus-glib)
1459 ("gnome-mime-data" ,gnome-mime-data)
1462 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1463 ("intltool" ,intltool)
1464 ("pkg-config" ,pkg-config)))
1465 (home-page "https://developer.gnome.org/gnome-vfs/")
1466 (synopsis "Access files and folders in GNOME applications")
1468 "GnomeVFS is the core library used to access files and folders in GNOME
1469 applications. It provides a file system abstraction which allows applications
1470 to access local and remote files with a single consistent API.")
1471 (license license:lgpl2.0+)))
1475 (define-public libgnome
1481 (uri (string-append "mirror://gnome/sources/" name "/"
1482 (version-major+minor version) "/"
1483 name "-" version ".tar.bz2"))
1486 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1487 (build-system gnu-build-system)
1490 (modify-phases %standard-phases
1491 (add-before 'configure 'enable-deprecated
1493 (substitute* "libgnome/Makefile.in"
1494 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1496 (inputs `(("libxml2" ,libxml2)))
1498 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1499 ("intltool" ,intltool)
1500 ("pkg-config" ,pkg-config)))
1501 ;; The following are listed as Required in the .pc file
1502 ;; (except for libcanberra -- which seems to be oversight on the part
1503 ;; of the upstream developers -- anything that links against libgnome,
1504 ;; must also link against libcanberra
1506 `(("libcanberra" ,libcanberra)
1507 ("libbonobo" ,libbonobo)
1509 ("gnome-vfs" ,gnome-vfs)
1510 ("popt" ,popt))) ;gnome-program.h includes popt.h
1511 (home-page "https://developer.gnome.org/libgnome/")
1512 (synopsis "Useful routines for building applications")
1513 (description "The libgnome library provides a number of useful routines
1514 for building modern applications, including session management, activation of
1515 files and URIs, and displaying help.")
1516 (license license:lgpl2.0+)))
1519 (define-public libart-lgpl
1521 (name "libart-lgpl")
1525 (uri (let ((upstream-name "libart_lgpl"))
1526 (string-append "mirror://gnome/sources/" upstream-name "/"
1527 (version-major+minor version) "/"
1528 upstream-name "-" version ".tar.bz2")))
1531 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1532 (build-system gnu-build-system)
1534 `(("pkg-config" ,pkg-config)))
1535 (home-page "https://people.gnome.org/~mathieu/libart")
1536 (synopsis "2D drawing library")
1537 (description "Libart is a 2D drawing library intended as a
1538 high-quality vector-based 2D library with antialiasing and alpha composition.")
1539 (license license:lgpl2.0+)))
1543 (define-public libgnomecanvas
1545 (name "libgnomecanvas")
1549 (uri (string-append "mirror://gnome/sources/" name "/"
1550 (version-major+minor version) "/"
1551 name "-" version ".tar.gz"))
1554 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1555 (build-system gnu-build-system)
1556 ;; Mentioned as Required in the .pc file
1557 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1560 `(("intltool" ,intltool)
1561 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1562 ("pkg-config" ,pkg-config)))
1563 (home-page "https://developer.gnome.org/libgnomecanvas/")
1564 (synopsis "Flexible widget for creating interactive structured graphics")
1565 (description "The GnomeCanvas widget provides a flexible widget for
1566 creating interactive structured graphics.")
1567 (license license:lgpl2.0+)))
1569 (define-public libgnomecanvasmm
1571 (name "libgnomecanvasmm")
1575 (uri (string-append "mirror://gnome/sources/" name "/"
1576 (version-major+minor version) "/"
1577 name "-" version ".tar.bz2"))
1580 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1581 (build-system gnu-build-system)
1583 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1584 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1586 `(("gtkmm-2" ,gtkmm-2)
1587 ("pkg-config" ,pkg-config)))
1588 (home-page "http://gtkmm.org")
1589 (synopsis "C++ bindings to the GNOME Canvas library")
1590 (description "C++ bindings to the GNOME Canvas library.")
1591 (license license:lgpl2.0+)))
1593 (define-public libgnomeui
1599 (uri (string-append "mirror://gnome/sources/" name "/"
1600 (version-major+minor version) "/"
1601 name "-" version ".tar.bz2"))
1604 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1605 (build-system gnu-build-system)
1606 ;; Mentioned as Required in the .pc file
1607 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1608 ("libgnome" ,libgnome)
1609 ("libgnomecanvas" ,libgnomecanvas)
1610 ("libgnome-keyring" ,libgnome-keyring)))
1611 (inputs `(("libjpeg" ,libjpeg)
1613 ("libbonobo" ,libbonobo)
1614 ("libxml2" ,libxml2)
1615 ("libglade" ,libglade)))
1617 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1618 ("intltool" ,intltool)
1619 ("pkg-config" ,pkg-config)))
1620 (home-page "https://developer.gnome.org/libgnomeui/")
1621 (synopsis "Additional widgets for applications")
1622 (description "The libgnomeui library provides additional widgets for
1623 applications. Many of the widgets from libgnomeui have already been
1625 (license license:lgpl2.0+)))
1627 (define-public libglade
1633 (uri (string-append "mirror://gnome/sources/" name "/"
1634 (version-major+minor version) "/"
1635 name "-" version ".tar.bz2"))
1638 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1639 (build-system gnu-build-system)
1641 `(("python" ,python))) ;; needed for the optional libglade-convert program
1643 `(("gtk+-2" ,gtk+-2)
1644 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1646 `(("pkg-config" ,pkg-config)))
1647 (home-page "https://developer.gnome.org/libglade")
1648 (synopsis "Load glade interfaces and access the glade built widgets")
1649 (description "Libglade is a library that provides interfaces for loading
1650 graphical interfaces described in glade files and for accessing the
1651 widgets built in the loading process.")
1652 (license license:gpl2+))) ; This is correct. GPL not LGPL
1654 (define-public libgnomeprint
1655 ;; This library has been deprecated since 2006; see
1656 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1658 (name "libgnomeprint")
1662 (uri (string-append "mirror://gnome/sources/" name "/"
1663 (version-major+minor version) "/"
1664 name "-" version ".tar.bz2"))
1667 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1668 (build-system gnu-build-system)
1671 ("libart-lgpl" ,libart-lgpl)
1673 ("libxml2" ,libxml2)))
1675 `(("intltool" ,intltool)
1676 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1677 ("pkg-config" ,pkg-config)))
1678 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1679 (synopsis "Printing framework for GNOME")
1681 "GNOME-print was a printing framework for GNOME. It has been deprecated
1682 since ca. 2006, when GTK+ itself incorporated printing support.")
1683 (license license:lgpl2.0+)))
1686 (define-public libgnomeprintui
1687 ;; Deprecated; see libgnomeprint.
1689 (name "libgnomeprintui")
1693 (uri (string-append "mirror://gnome/sources/" name "/"
1694 (version-major+minor version) "/"
1695 name "-" version ".tar.bz2"))
1698 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1699 (build-system gnu-build-system)
1700 ;; Mentioned as Required in the .pc file
1701 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1702 (inputs `(("gtk+" ,gtk+-2)
1704 ("gnome-icon-theme" ,gnome-icon-theme)
1705 ("libgnomecanvas" ,libgnomecanvas)
1706 ("libxml2" ,libxml2)))
1708 `(("intltool" ,intltool)
1709 ("pkg-config" ,pkg-config)))
1710 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1711 (synopsis "Printing framework for GNOME")
1712 (description (package-description libgnomeprint))
1713 (license license:lgpl2.0+)))
1715 (define-public libbonoboui
1717 (name "libbonoboui")
1721 (uri (string-append "mirror://gnome/sources/" name "/"
1722 (version-major+minor version) "/"
1723 name "-" version ".tar.bz2"))
1726 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1727 (build-system gnu-build-system)
1730 (modify-phases %standard-phases
1731 (add-before 'check 'start-xserver
1732 (lambda* (#:key inputs #:allow-other-keys)
1733 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1736 (setenv "HOME" (getcwd))
1737 (setenv "DISPLAY" disp)
1738 ;; There must be a running X server and make check doesn't start one.
1739 ;; Therefore we must do it.
1740 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1741 ;; Mentioned as Required by the .pc file
1742 (propagated-inputs `(("libxml2" ,libxml2)))
1745 ("pangox-compat" ,pangox-compat)
1746 ("libgnome" ,libgnome)
1747 ("libgnomecanvas" ,libgnomecanvas)
1748 ("libglade" ,libglade)))
1750 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1751 ("intltool" ,intltool)
1752 ("xorg-server" ,xorg-server) ; For running the tests
1753 ("pkg-config" ,pkg-config)))
1754 (home-page "https://developer.gnome.org/libbonoboui/")
1755 (synopsis "Some user interface controls using Bonobo")
1756 (description "The Bonobo UI library provides a number of user interface
1757 controls using the Bonobo component framework.")
1758 (license license:lgpl2.0+)))
1760 (define-public libwnck
1766 (uri (string-append "mirror://gnome/sources/" name "/"
1767 (version-major+minor version) "/"
1768 name "-" version ".tar.xz"))
1771 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
1772 (build-system gnu-build-system)
1774 `(("pkg-config" ,pkg-config)
1775 ("intltool" ,intltool)))
1778 ("libxres" ,libxres)
1779 ("startup-notification" ,startup-notification)))
1780 (home-page "https://developer.gnome.org/libwnck/")
1781 (synopsis "Window Navigator Construction Kit")
1783 "Libwnck is the Window Navigator Construction Kit, a library for use in
1784 writing pagers, tasklists, and more generally applications that are dealing
1785 with window management. It tries hard to respect the Extended Window Manager
1786 Hints specification (EWMH).")
1787 (license license:lgpl2.0+)))
1789 ;; stable version for gtk2, required by xfwm4.
1790 (define-public libwnck-2
1791 (package (inherit libwnck)
1796 (uri (string-append "mirror://gnome/sources/" name "/"
1797 (version-major+minor version) "/"
1798 name "-" version ".tar.xz"))
1801 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1804 ("libxres" ,libxres)
1805 ("startup-notification" ,startup-notification)))))
1807 (define-public goffice
1813 (uri (string-append "mirror://gnome/sources/" name "/"
1814 (version-major+minor version) "/"
1815 name "-" version ".tar.xz"))
1817 (base32 "1mma1gp179dh7kvwzd7q3mwg0719hhbm9f5sqw28flv5lv05zrng"))))
1818 (build-system gnu-build-system)
1820 "doc")) ;4.1 MiB of gtk-doc
1822 '(#:configure-flags (list (string-append "--with-html-dir="
1823 (assoc-ref %outputs "doc")
1824 "/share/gtk-doc/html"))))
1828 ("librsvg" ,librsvg)
1829 ("libxslt" ,libxslt)
1830 ("libxml2" ,libxml2)))
1832 `(("intltool" ,intltool)
1833 ("glib" ,glib "bin")
1834 ("pkg-config" ,pkg-config)))
1835 (home-page "https://developer.gnome.org/goffice/")
1836 (synopsis "Document-centric objects and utilities")
1837 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1839 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1841 (list license:gpl2 license:gpl3))))
1843 (define-public goffice-0.8
1844 (package (inherit goffice)
1848 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1849 (version-major+minor version) "/"
1850 (package-name goffice) "-" version ".tar.xz"))
1852 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1855 (modify-phases %standard-phases
1856 (add-after 'unpack 'fix-pcre-check
1858 ;; Only glib.h can be included directly. See
1859 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1860 (substitute* "configure"
1861 (("glib/gregex\\.h") "glib.h")) #t)))
1863 ,@(package-arguments goffice)))
1865 ;; libgoffice-0.8.pc mentions libgsf-1
1866 `(("libgsf" ,libgsf)))
1869 ,@(alist-delete "gtk" (package-inputs goffice))))))
1871 (define-public gnumeric
1877 (uri (string-append "mirror://gnome/sources/" name "/"
1878 (version-major+minor version) "/"
1879 name "-" version ".tar.xz"))
1882 "0j28qpbz9a9p80x27kcwxl5n1hf36nn2fa7dxwrbhcdx4rgy5grw"))))
1883 (build-system glib-or-gtk-build-system)
1885 `(;; The gnumeric developers don't worry much about failing tests.
1886 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1889 (modify-phases %standard-phases
1891 'configure 'pre-conf
1892 (lambda* (#:key outputs #:allow-other-keys)
1893 ;; Make install tries to write into the directory of goffice
1894 ;; I am informed that this only affects the possibility to embed a
1895 ;; spreadsheet inside an Abiword document. So presumably when we
1896 ;; package Abiword we'll have to refer it to this directory.
1897 (substitute* "configure"
1898 (("^GOFFICE_PLUGINS_DIR=.*")
1899 (string-append "GOFFICE_PLUGINS_DIR="
1900 (assoc-ref outputs "out")
1901 "/goffice/plugins"))))))))
1905 ("goffice" ,goffice)
1907 ("librsvg" ,librsvg)
1908 ("libxml2" ,libxml2)
1909 ("libxslt" ,libxslt)
1910 ("python" ,python-2)
1911 ("python2-pygobject" ,python2-pygobject)
1915 ("docbook-xml" ,docbook-xml)
1916 ("intltool" ,intltool)
1917 ("itstool" ,itstool)
1918 ("glib:bin" ,glib "bin")
1919 ("pkg-config" ,pkg-config)))
1920 (home-page "http://www.gnumeric.org")
1921 (synopsis "Spreadsheet application")
1923 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1924 interoperable with other spreadsheet applications. It has a vast array of
1925 features beyond typical spreadsheet functionality, such as support for linear
1926 and non-linear solvers, statistical analysis, and telecommunication
1929 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1930 (list license:gpl2 license:gpl3))))
1932 (define-public gnome-themes-standard
1934 (name "gnome-themes-standard")
1939 (uri (string-append "mirror://gnome/sources/" name "/"
1940 (version-major+minor version) "/" name "-"
1944 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1945 (build-system gnu-build-system)
1948 ;; Don't create 'icon-theme.cache'.
1949 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1950 (true (string-append coreutils "/bin/true")))
1951 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1955 ("librsvg" ,librsvg)
1956 ("libxml2" ,libxml2)
1959 `(("intltool" ,intltool)
1960 ("glib:bin" ,glib "bin")
1961 ("pkg-config" ,pkg-config)))
1962 (home-page "https://launchpad.net/gnome-themes-standard")
1963 (synopsis "Default GNOME 3 themes")
1965 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1966 (license license:lgpl2.1+)))
1968 (define-public seahorse
1975 (uri (string-append "mirror://gnome/sources/" name "/"
1976 (version-major+minor version) "/" name "-"
1980 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1981 (build-system glib-or-gtk-build-system)
1987 ("openldap" ,openldap)
1988 ("openssh" ,openssh)
1989 ("libsecret" ,libsecret)
1990 ("libsoup" ,libsoup)))
1992 `(("intltool" ,intltool)
1993 ("glib:bin" ,glib "bin")
1994 ("itstool" ,itstool)
1995 ("pkg-config" ,pkg-config)
1996 ("xmllint" ,libxml2)))
1997 (home-page "https://launchpad.net/gnome-themes-standard")
1998 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2000 "Seahorse is a GNOME application for managing encryption keys and
2001 passwords in the GNOME keyring.")
2002 (license license:gpl2+)))
2010 (uri (string-append "mirror://gnome/sources/" name "/"
2011 (version-major+minor version) "/"
2012 name "-" version ".tar.xz"))
2015 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
2016 (build-system gnu-build-system)
2019 (modify-phases %standard-phases
2020 (add-before 'check 'pre-check
2023 ;; For missing '/etc/machine-id'.
2024 (setenv "DBUS_FATAL_WARNINGS" "0")
2026 ;; Build the Vala API generator
2027 #:configure-flags '("--enable-vapigen")))
2029 `(("pkg-config" ,pkg-config)
2032 ("xsltproc" ,libxslt)
2033 ("dbus" ,dbus) ; for dbus tests
2034 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2036 `(("glib" ,glib))) ; required by libvala-0.26.pc
2037 (home-page "https://live.gnome.org/Vala/")
2038 (synopsis "Compiler for the GObject type system")
2040 "Vala is a programming language that aims to bring modern programming
2041 language features to GNOME developers without imposing any additional runtime
2042 requirements and without using a different ABI compared to applications and
2043 libraries written in C.")
2044 (license license:lgpl2.1+)))
2052 (uri (string-append "mirror://gnome/sources/" name "/"
2053 (version-major+minor version) "/"
2054 name "-" version ".tar.xz"))
2057 "1kq9bxf7waap190zx5k78d21y3l31npblrnhfkxz4j7zz9mk3pbr"))))
2058 (build-system gnu-build-system)
2060 `(("pkg-config" ,pkg-config)
2061 ("intltool" ,intltool)
2063 ("gobject-introspection" ,gobject-introspection)
2064 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2066 ("xmllint" ,libxml2)))
2068 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2069 ("gnutls" ,gnutls) ;ditto
2070 ("pcre2" ,pcre2))) ;ditto
2071 (home-page "https://www.gnome.org/")
2072 (synopsis "Virtual Terminal Emulator")
2074 "VTE is a library (libvte) implementing a terminal emulator widget for
2075 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2076 gnome-terminal, but can also be used to embed a console/terminal in games,
2077 editors, IDEs, etc.")
2078 (license license:lgpl2.1+)))
2080 (define-public vte-ng
2084 (version "0.50.2.a")
2086 `(("gtk-doc" ,gtk-doc)
2088 ("autoconf" ,autoconf)
2089 ("automake" ,automake)
2090 ("libtool" ,libtool)
2091 ,@(package-native-inputs vte)))
2094 (uri (string-append "https://github.com/thestinger/"
2095 name "/archive/" version ".tar.gz"))
2096 (file-name (string-append name "-" version ".tar.gz"))
2099 "0sv666ilid916ja6gw2d376nyyy66gvhsds8ans02x4b7gagj5sx"))))
2101 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
2102 #:phases (modify-phases %standard-phases
2103 (add-after 'unpack 'bootstrap
2105 (setenv "NOCONFIGURE" "true")
2106 (zero? (system* "sh" "autogen.sh")))))))
2107 (synopsis "Enhanced VTE terminal widget")
2109 "VTE is a library (libvte) implementing a terminal emulator widget for
2110 GTK+, this fork provides additional functions exposed for keyboard text
2111 selection and URL hints.")))
2113 ;; provides vte 2.90, required for some terminal emulators
2114 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2115 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2116 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2117 ;; pantheon-terminal, roxterm are not currently packaged
2118 (define-public vte-0.36
2119 (package (inherit vte)
2124 (uri (string-append "mirror://gnome/sources/" name "/"
2125 (version-major+minor version) "/"
2126 name "-" version ".tar.xz"))
2129 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2132 ("ncurses" ,ncurses)))))
2134 ;; stable version for gtk2, required by xfce4-terminal.
2135 (define-public vte/gtk+-2
2136 (package (inherit vte)
2141 (uri (string-append "mirror://gnome/sources/" name "/"
2142 (version-major+minor version) "/"
2143 name "-" version ".tar.xz"))
2146 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2147 (patches (search-patches
2148 "vte-CVE-2012-2738-pt1.patch"
2149 "vte-CVE-2012-2738-pt2.patch"))))
2151 '(#:configure-flags '("--disable-python")))
2153 `(("pkg-config" ,pkg-config)
2154 ("intltool" ,intltool)
2155 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2157 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2158 ("ncurses" ,ncurses))))) ; required by libvte.la
2160 (define-public vinagre
2166 (uri (string-append "mirror://gnome/sources/" name "/"
2167 (version-major+minor version) "/"
2168 name "-" version ".tar.xz"))
2169 (patches ; We have to revert 2 commits to build against freerdp 1.1.
2170 (search-patches "vinagre-revert-1.patch"
2171 "vinagre-revert-2.patch"))
2174 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2175 (build-system glib-or-gtk-build-system)
2177 `(("pkg-config" ,pkg-config)
2178 ("intltool" ,intltool)
2179 ("itstool" ,itstool)
2180 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2181 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2183 `(("libxml2" ,libxml2)
2184 ("gtk-vnc" ,gtk-vnc)
2185 ("gnome-keyring" ,gnome-keyring)
2186 ("libsecret" ,libsecret)
2187 ("freerdp" ,freerdp)
2189 ("spice-gtk" ,spice-gtk)
2190 ("telepathy-glib" ,telepathy-glib)
2193 `(#:configure-flags '("--enable-rdp")))
2194 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2195 (synopsis "Remote desktop viewer for GNOME")
2196 (description "Vinagre is a remote display client supporting the VNC, SPICE
2197 and RDP protocols.")
2198 (license license:gpl3+)))
2200 (define-public dconf
2207 "mirror://gnome/sources/" name "/"
2208 (version-major+minor version) "/"
2209 name "-" version ".tar.xz"))
2212 "0da587hpiqy8h3pswn1102h4b905x8k6mk3ajpi7kf4kzkvv30ym"))))
2213 (build-system glib-or-gtk-build-system)
2218 ("libxml2" ,libxml2)))
2220 `(("libxslt" ,libxslt)
2221 ("docbook-xml" ,docbook-xml-4.2)
2222 ("docbook-xsl" ,docbook-xsl)
2223 ("intltool" ,intltool)
2224 ("pkg-config" ,pkg-config)))
2226 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2227 ; or /etc/machine-id.
2229 ;; Set the correct RUNPATH in binaries.
2230 (list (string-append "LDFLAGS=-Wl,-rpath="
2231 (assoc-ref %outputs "out") "/lib")
2232 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2234 (modify-phases %standard-phases
2235 (add-before 'configure 'fix-docbook
2236 (lambda* (#:key inputs #:allow-other-keys)
2237 (substitute* "docs/Makefile.in"
2238 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2239 (string-append (assoc-ref inputs "docbook-xsl")
2240 "/xml/xsl/docbook-xsl-"
2241 ,(package-version docbook-xsl)
2242 "/manpages/docbook.xsl")))
2243 (setenv "XML_CATALOG_FILES"
2244 (string-append (assoc-ref inputs "docbook-xml")
2245 "/xml/dtd/docbook/catalog.xml"))
2247 (home-page "https://developer.gnome.org/dconf")
2248 (synopsis "Low-level GNOME configuration system")
2249 (description "Dconf is a low-level configuration system. Its main purpose
2250 is to provide a backend to GSettings on platforms that don't already have
2251 configuration storage systems.")
2252 (license license:lgpl2.1)))
2254 (define-public json-glib
2260 (uri (string-append "mirror://gnome/sources/" name "/"
2261 (version-major+minor version) "/"
2262 name "-" version ".tar.xz"))
2265 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
2266 (build-system gnu-build-system)
2268 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2269 ("gobject-introspection" ,gobject-introspection)
2270 ("pkg-config" ,pkg-config)))
2272 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2273 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2274 (synopsis "Compiler for the GObject type system")
2276 "JSON-GLib is a C library based on GLib providing serialization and
2277 deserialization support for the JavaScript Object Notation (JSON) format
2278 described by RFC 4627. It provides parser and generator GObject classes and
2279 various wrappers for the complex data types employed by JSON, such as arrays
2281 (license license:lgpl2.1+)))
2283 (define-public libxklavier
2285 (name "libxklavier")
2289 (uri (string-append "mirror://gnome/sources/" name "/"
2290 version "/" name "-" version ".tar.xz"))
2293 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2294 (build-system gnu-build-system)
2297 (list (string-append "--with-xkb-base="
2298 (assoc-ref %build-inputs "xkeyboard-config")
2299 "/share/X11/xkb"))))
2301 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2302 ("gobject-introspection" ,gobject-introspection)
2303 ("pkg-config" ,pkg-config)))
2305 ;; Required by libxklavier.pc.
2307 ("libxml2" ,libxml2)))
2309 `(("iso-codes" ,iso-codes)
2311 ("libxkbfile" ,libxkbfile)
2312 ("xkbcomp" ,xkbcomp)
2313 ("xkeyboard-config" ,xkeyboard-config)))
2314 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2315 (synopsis "High-level API for X Keyboard Extension")
2317 "LibXklavier is a library providing high-level API for X Keyboard
2318 Extension known as XKB. This library is intended to support XFree86 and other
2319 commercial X servers. It is useful for creating XKB-related software (layout
2321 (license license:lgpl2.0+)))
2323 (define-public python2-rsvg
2324 ;; XXX: This is actually a subset of gnome-python-desktop.
2326 (name "python2-rsvg")
2332 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2333 version ".tar.bz2"))
2336 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2337 (build-system gnu-build-system)
2339 `(("pkg-config" ,pkg-config)))
2341 `(("python" ,python-2)
2342 ("python2-pygtk" ,python2-pygtk)
2343 ("librsvg" ,librsvg)))
2344 (home-page "https://www.gnome.org")
2345 (synopsis "Python bindings to librsvg")
2347 "This packages provides Python bindings to librsvg, the SVG rendering
2350 ;; This is the license of the rsvg bindings. The license of each module
2351 ;; of gnome-python-desktop is given in 'COPYING'.
2352 (license license:lgpl2.1+)))
2354 (define-public glib-networking
2356 (name "glib-networking")
2360 (uri (string-append "mirror://gnome/sources/glib-networking/"
2361 (version-major+minor version) "/"
2362 name "-" version ".tar.xz"))
2365 "0bq16m9nh3gcz9x2fvygr0iwxd2pxcbrm3lj3kihsnh1afv8g9za"))
2367 (search-patches "glib-networking-ssl-cert-file.patch"))))
2368 (build-system gnu-build-system)
2371 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2373 (modify-phases %standard-phases
2374 (add-before 'configure 'patch-giomoduledir
2375 ;; Install GIO modules into $out/lib/gio/modules.
2377 (substitute* "configure"
2378 (("GIO_MODULE_DIR=.*")
2379 (string-append "GIO_MODULE_DIR=" %output
2380 "/lib/gio/modules\n")))
2382 (add-before 'check 'use-empty-ssl-cert-file
2384 ;; The ca-certificates.crt is not available in the build
2386 (setenv "SSL_CERT_FILE" "/dev/null")
2389 `(("pkg-config" ,pkg-config)
2390 ("intltool" ,intltool)))
2394 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2395 ("p11-kit" ,p11-kit)))
2396 (home-page "https://www.gnome.org")
2397 (synopsis "Network-related GIO modules")
2399 "This package contains various network related extensions for the GIO
2401 (license license:lgpl2.0+)))
2409 (uri (string-append "mirror://gnome/sources/rest/"
2410 (version-major+minor version) "/"
2411 name "-" version ".tar.xz"))
2414 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2415 (build-system gnu-build-system)
2417 '(#:tests? #f ; tests require internet connection
2419 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2421 `(("glib-mkenums" ,glib "bin")
2422 ("gobject-introspection" ,gobject-introspection)
2423 ("pkg-config" ,pkg-config)))
2425 ;; rest-0.7.pc refers to all these.
2427 ("libsoup" ,libsoup)
2428 ("libxml2" ,libxml2)))
2429 (home-page "http://www.gtk.org/")
2430 (synopsis "RESTful web api query library")
2432 "This library was designed to make it easier to access web services that
2433 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2434 libxml to ease remote use of the RESTful API.")
2435 (license license:lgpl2.1+)))
2437 (define-public libsoup
2443 (uri (string-append "mirror://gnome/sources/libsoup/"
2444 (version-major+minor version) "/"
2445 name "-" version ".tar.xz"))
2448 "00fsy12mz9b55algq7c6gk4xj5j6a5z6dxcnq59fdqkji3hwyqvj"))))
2449 (build-system gnu-build-system)
2450 (outputs '("out" "doc"))
2452 `(#:modules ((guix build utils)
2453 (guix build gnu-build-system)
2457 (list (string-append "--with-html-dir="
2458 (assoc-ref %outputs "doc")
2459 "/share/gtk-doc/html")
2460 (string-append "--with-apache-module-dir="
2461 (assoc-ref %build-inputs "httpd")
2464 (modify-phases %standard-phases
2465 (add-before 'configure 'disable-unconnected-socket-test
2466 ;; This test fails due to missing /etc/nsswitch.conf
2467 ;; in the build environment.
2469 (substitute* "tests/socket-test.c"
2470 ((".*/sockets/unconnected.*") ""))
2472 (add-before 'check 'pre-check
2474 ;; The 'check-local' target runs 'env LANG=C sort -u',
2475 ;; unset 'LC_ALL' to make 'LANG' working.
2477 ;; The ca-certificates.crt is not available in the build
2479 (setenv "SSL_CERT_FILE" "/dev/null")
2480 ;; HTTPD in Guix uses mod_event and does not build prefork.
2481 (substitute* "tests/httpd.conf"
2482 (("^LoadModule mpm_prefork_module.*$") "\n"))
2484 ;; Generate a self-signed certificate that has "localhost" as its
2485 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2486 ;; 3.5.12, tests such as "ssl-tests" fail:
2488 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2490 ;; 'certtool' is interactive so we have to pipe it the answers.
2491 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2492 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2493 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2494 (for-each (lambda (line)
2499 "Guix" ;Organizational unit name
2500 "GNU" ;Organization name
2502 "" ;State or province
2504 "" ;subject's domain component (DC)
2507 "-1" ;expiration time
2508 "N" ;belong to authority?
2509 "N" ;web client certificate?
2511 "Y" ;web server certificate?
2512 "localhost" ;dnsName of subject
2513 "" ;dnsName of subject (end)
2515 "127.0.0.1" ;IP address of subject
2518 "" ;sign OCSP requests?
2521 "" ;email protection?
2522 "" ;URI of the CRL distribution point
2531 ;; Install vala bindings into $out.
2532 (string-append "vapidir=" %output
2536 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2537 ("gobject-introspection" ,gobject-introspection)
2538 ("intltool" ,intltool)
2539 ("pkg-config" ,pkg-config)
2540 ("python" ,python-wrapper)
2542 ;; These are needed for the tests.
2543 ;; FIXME: Add PHP once available.
2545 ("gnutls" ,gnutls) ;for 'certtool'
2548 ;; libsoup-2.4.pc refers to all these.
2550 ("libxml2" ,libxml2)))
2552 `(("glib-networking" ,glib-networking)
2553 ("sqlite" ,sqlite)))
2554 (home-page "https://live.gnome.org/LibSoup/")
2555 (synopsis "GLib-based HTTP Library")
2557 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2558 and the GLib main loop, to integrate well with GNOME applications.")
2559 (license license:lgpl2.0+)))
2561 (define-public libsecret
2568 "mirror://gnome/sources/libsecret/"
2569 (version-major+minor version) "/"
2570 name "-" version ".tar.xz"))
2573 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2574 (build-system gnu-build-system)
2575 (outputs '("out" "doc"))
2577 `(#:tests? #f ; FIXME: Testing hangs.
2579 (list (string-append "--with-html-dir="
2580 (assoc-ref %outputs "doc")
2581 "/share/gtk-doc/html"))))
2583 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2584 ("gobject-introspection" ,gobject-introspection)
2585 ("intltool" ,intltool)
2586 ("pkg-config" ,pkg-config)
2588 ("xsltproc" ,libxslt)))
2589 ;; These are needed for the tests.
2590 ;; FIXME: Add gjs once available.
2592 ;("python2" ,python-2)
2593 ;("python2-dbus" ,python2-dbus)
2594 ;("python2-pygobject" ,python2-pygobject)
2595 ;("python2-pygobject-2" ,python2-pygobject-2)))
2597 `(("glib" ,glib))) ; required by libsecret-1.pc
2599 `(("docbook-xsl" ,docbook-xsl)
2600 ("libgcrypt" ,libgcrypt)
2601 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2602 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2603 (synopsis "GObject bindings for \"Secret Service\" API")
2605 "Libsecret is a GObject based library for storing and retrieving passwords
2606 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2607 (license license:lgpl2.1+)))
2609 (define-public five-or-more
2611 (name "five-or-more")
2616 (uri (string-append "mirror://gnome/sources/" name "/"
2617 (version-major+minor version) "/"
2618 name "-" version ".tar.xz"))
2621 "0wkp08xsqr9p9cgdfghi424diajs016b2h4bsfcr5y9xc3rgf93w"))))
2622 (build-system glib-or-gtk-build-system)
2624 `(("pkg-config" ,pkg-config)
2625 ("desktop-file-utils" ,desktop-file-utils)
2626 ("intltool" ,intltool)
2627 ("itstool" ,itstool)
2628 ("xmllint" ,libxml2)))
2631 ("librsvg" ,librsvg)))
2632 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2633 (synopsis "Logic puzzle game")
2634 (description "Five or More is a game where you try to align
2635 five or more objects of the same color and shape causing them to disappear.
2636 On every turn more objects will appear, until the board is full.
2637 Try to last as long as possible.")
2638 (license license:gpl2+)))
2640 (define-public gnome-mines
2642 (name "gnome-mines")
2647 (uri (string-append "mirror://gnome/sources/" name "/"
2648 (version-major+minor version) "/"
2649 name "-" version ".tar.xz"))
2652 "1sfxdvns8nppdagnhpd9vd7n77sk5rdji3kdqnc78c2p1npiw11b"))))
2653 (build-system glib-or-gtk-build-system)
2656 (modify-phases %standard-phases
2657 (add-before 'configure 'patch-/bin/true
2659 (substitute* "configure"
2660 (("/bin/true") (which "true"))))))))
2662 `(("pkg-config" ,pkg-config)
2663 ("desktop-file-utils" ,desktop-file-utils)
2664 ("intltool" ,intltool)
2665 ("itstool" ,itstool)
2666 ("xmllint" ,libxml2)))
2669 ("libgnome-games-support" ,libgnome-games-support)
2670 ("librsvg" ,librsvg)))
2671 (home-page "https://wiki.gnome.org/Apps/Mines")
2672 (synopsis "Minesweeper game")
2674 "Mines (previously gnomine) is a puzzle game where you locate mines
2675 floating in an ocean using only your brain and a little bit of luck.")
2676 (license license:gpl2+)))
2678 (define-public gnome-sudoku
2680 (name "gnome-sudoku")
2685 (uri (string-append "mirror://gnome/sources/" name "/"
2686 (version-major+minor version) "/"
2687 name "-" version ".tar.xz"))
2690 "186k2axryn3ic8blc9ddnvyrqqf88khg2hlisfa1n4wp784wfx47"))))
2691 (build-system glib-or-gtk-build-system)
2693 `(("pkg-config" ,pkg-config)
2694 ("desktop-file-utils" ,desktop-file-utils)
2695 ("intltool" ,intltool)
2696 ("itstool" ,itstool)
2697 ("xmllint" ,libxml2)))
2700 ("json-glib" ,json-glib)
2702 ("librsvg" ,librsvg)
2703 ("qqwing" ,qqwing)))
2704 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2705 (synopsis "Japanese logic game")
2707 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2708 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2709 possible while still providing features that make playing difficult Sudoku
2711 (license license:gpl2+)))
2713 (define-public gnome-terminal
2715 (name "gnome-terminal")
2720 (uri (string-append "mirror://gnome/sources/" name "/"
2721 (version-major+minor version) "/"
2722 name "-" version ".tar.xz"))
2725 "1c05f2lrlm8jfx2394k6nabg4ml07lqasxaja5v98mhlm0aa96rs"))))
2726 (build-system glib-or-gtk-build-system)
2729 (list "--disable-migration" "--disable-search-provider"
2730 "--without-nautilus-extension")
2732 (modify-phases %standard-phases
2733 (add-before 'configure 'patch-/bin/true
2735 (substitute* "configure"
2736 (("/bin/true") (which "true"))))))))
2738 `(("pkg-config" ,pkg-config)
2739 ("desktop-file-utils" ,desktop-file-utils)
2740 ("intltool" ,intltool)
2741 ("itstool" ,itstool)
2742 ("xmllint" ,libxml2)))
2744 `(("dconf" ,dconf)))
2749 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2750 ("util-linux" ,util-linux)
2752 (home-page "https://wiki.gnome.org/Apps/Terminal")
2753 (synopsis "Terminal emulator")
2755 "GNOME Terminal is a terminal emulator application for accessing a
2756 UNIX shell environment which can be used to run programs available on
2759 It supports several profiles, multiple tabs and implements several
2760 keyboard shortcuts.")
2761 (license license:gpl3+)))
2763 (define-public colord
2770 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2771 name "-" version ".tar.xz"))
2774 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2775 (build-system glib-or-gtk-build-system)
2777 '(;; The tests want to run valgrind. Punt for now.
2779 #:configure-flags (list "--localstatedir=/var"
2780 ;; GUSB not packaged yet.
2782 ;; No dep on systemd.
2783 "--disable-systemd-login"
2784 ;; Wants to install to global completion dir;
2786 "--disable-bash-completion"
2787 ;; colord-gtk not packaged yet.
2788 "--disable-session-example"
2789 "--with-daemon-user=colord"
2791 (string-append "--with-udevrulesdir="
2792 (assoc-ref %outputs "out")
2793 "/lib/udev/rules.d"))
2795 (modify-phases %standard-phases
2796 (add-before 'configure 'patch-/bin/true
2798 (substitute* "configure"
2799 (("/bin/true") (which "true")))
2800 (substitute* "src/Makefile.in"
2801 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2802 "if test -w $(DESTDIR)$(localstatedir);")))))))
2804 `(("pkg-config" ,pkg-config)
2805 ("gobject-introspection" ,gobject-introspection)
2806 ("libtool" ,libtool)
2807 ("intltool" ,intltool)))
2809 ;; colord.pc refers to all these.
2814 `(("dbus-glib" ,dbus-glib)
2815 ("libgudev" ,libgudev)
2819 ("sane-backends" ,sane-backends)))
2820 (home-page "http://www.freedesktop.org/software/colord/")
2821 (synopsis "Color management service")
2822 (description "Colord is a system service that makes it easy to manage,
2823 install and generate color profiles to accurately color manage input and
2825 (license license:gpl2+)))
2827 (define-public geoclue
2834 (uri (string-append "https://www.freedesktop.org/software/" name
2835 "/releases/" (version-major+minor version) "/"
2836 name "-" version ".tar.xz"))
2839 "19hfmr8fa1js8ynazdyjxlyrqpjn6m1719ay70ilga4rayxrcyyi"))
2840 (patches (search-patches "geoclue-config.patch"))))
2841 (build-system glib-or-gtk-build-system)
2843 '(;; The tests want to run the system bus.
2845 #:configure-flags (list ;; Disable bits requiring ModemManager.
2846 "--disable-3g-source"
2847 "--disable-cdma-source"
2848 "--disable-modem-gps-source"
2849 "--with-dbus-service-user=geoclue")
2851 (modify-phases %standard-phases
2852 (add-before 'configure 'patch-/bin/true
2854 (substitute* "configure"
2855 (("/bin/true") (which "true"))))))))
2857 `(("pkg-config" ,pkg-config)
2858 ("gobject-introspection" ,gobject-introspection)
2859 ("intltool" ,intltool)))
2863 ("json-glib" ,json-glib)
2864 ("libsoup" ,libsoup)))
2865 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
2866 (synopsis "Geolocation service")
2867 (description "Geoclue is a D-Bus service that provides location
2868 information. The primary goal of the Geoclue project is to make creating
2869 location-aware applications as simple as possible, while the secondary goal is
2870 to ensure that no application can access location information without explicit
2871 permission from user.")
2872 (license license:gpl2+)))
2874 (define-public geocode-glib
2876 (name "geocode-glib")
2880 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2881 (version-major+minor version) "/"
2882 name "-" version ".tar.xz"))
2885 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2886 (build-system gnu-build-system)
2888 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2889 ;; work for the builder. Punt.
2892 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2893 ("gobject-introspection" ,gobject-introspection)
2894 ("pkg-config" ,pkg-config)
2895 ("json-glib" ,json-glib)))
2897 ;; geocode-glib-1.0.pc refers to GIO.
2900 `(("libsoup" ,libsoup)))
2901 (home-page "https://github.com/GNOME/geocode-glib/")
2902 (synopsis "Geocoding and reverse-geocoding library")
2904 "geocode-glib is a convenience library for geocoding (finding longitude,
2905 and latitude from an address) and reverse geocoding (finding an address from
2906 coordinates) using the Nominatim service. geocode-glib caches requests for
2907 faster results and to avoid unnecessary server load.")
2908 (license license:lgpl2.0+)))
2910 (define-public upower
2916 (uri (string-append "https://upower.freedesktop.org/releases/"
2917 name "-" version ".tar.xz"))
2920 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2921 (patches (search-patches "upower-builddir.patch"))))
2922 (build-system glib-or-gtk-build-system)
2924 '( ;; The tests want to contact the system bus, which can't be done in the
2925 ;; build environment. The integration test can run, but the last of
2926 ;; the up-self-tests doesn't. Disable tests for now.
2928 #:configure-flags (list "--localstatedir=/var"
2929 (string-append "--with-udevrulesdir="
2930 (assoc-ref %outputs "out")
2931 "/lib/udev/rules.d"))
2933 (modify-phases %standard-phases
2934 (add-before 'configure 'patch-/bin/true
2936 (substitute* "configure"
2937 (("/bin/true") (which "true")))))
2938 (add-before 'configure 'patch-integration-test
2940 (substitute* "src/linux/integration-test"
2941 (("/usr/bin/python3") (which "python3"))))))))
2943 `(("gobject-introspection" ,gobject-introspection)
2944 ("pkg-config" ,pkg-config)
2945 ("intltool" ,intltool)
2949 ("libxslt" ,libxslt) ;for 'xsltproc'
2950 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2951 ("docbook-xsl" ,docbook-xsl)))
2953 `(("dbus-glib" ,dbus-glib)
2954 ("libgudev" ,libgudev)
2955 ("libusb" ,libusb)))
2956 (home-page "http://upower.freedesktop.org/")
2957 (synopsis "System daemon for managing power devices")
2959 "UPower is an abstraction for enumerating power devices,
2960 listening to device events and querying history and statistics. Any
2961 application or service on the system can access the org.freedesktop.UPower
2962 service via the system message bus.")
2963 (license license:gpl2+)))
2965 (define-public libgweather
2967 (name "libgweather")
2971 (uri (string-append "mirror://gnome/sources/" name "/"
2972 (version-major+minor version) "/"
2973 name "-" version ".tar.xz"))
2976 "1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw"))))
2977 (build-system gnu-build-system)
2980 `(,(string-append "--with-zoneinfo-dir="
2981 (assoc-ref %build-inputs "tzdata")
2984 (modify-phases %standard-phases
2985 (add-before 'check 'pre-check
2986 (lambda* (#:key inputs #:allow-other-keys)
2987 (substitute* "data/check-timezones.sh"
2988 (("/usr/share/zoneinfo/zone.tab")
2989 (string-append (assoc-ref inputs "tzdata")
2990 "/share/zoneinfo/zone.tab")))
2996 ;; Install vala bindings into $out.
2997 (string-append "vapidir=" %output
3001 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3002 ("gobject-introspection" ,gobject-introspection)
3003 ("pkg-config" ,pkg-config)
3005 ("intltool" ,intltool)))
3007 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3010 ("gdk-pixbuf" ,gdk-pixbuf)
3011 ("libxml2" ,libxml2)
3012 ("libsoup" ,libsoup)))
3014 `(("tzdata" ,tzdata)
3015 ("geocode-glib" ,geocode-glib)))
3016 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3017 (synopsis "Location, time zone, and weather library for GNOME")
3019 "libgweather is a library to access weather information from online
3020 services for numerous locations.")
3021 (license license:gpl2+)))
3023 (define-public gnome-settings-daemon
3025 (name "gnome-settings-daemon")
3030 (uri (string-append "mirror://gnome/sources/" name "/"
3031 (version-major+minor version) "/"
3032 name "-" version ".tar.xz"))
3035 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
3036 (build-system glib-or-gtk-build-system)
3038 `(;; Color management test can't reach the colord system service.
3041 `(("pkg-config" ,pkg-config)
3042 ("intltool" ,intltool)
3043 ("xsltproc" ,libxslt)
3044 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3045 ("docbook-xml" ,docbook-xml-4.2)
3046 ("docbook-xsl" ,docbook-xsl)))
3048 `(("colord" ,colord)
3049 ("libgudev" ,libgudev)
3052 ("pulseaudio" ,pulseaudio)
3053 ("libcanberra" ,libcanberra)
3055 ("libxtst" ,libxtst)
3057 ("libnotify" ,libnotify)
3058 ("geoclue" ,geoclue)
3059 ("geocode-glib" ,geocode-glib)
3060 ("libgweather" ,libgweather)
3061 ("gnome-desktop" ,gnome-desktop)
3064 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3065 ("libwacom" ,libwacom)
3066 ("librsvg" ,librsvg)
3067 ("xf86-input-wacom" ,xf86-input-wacom)
3068 ("network-manager" ,network-manager)))
3069 (home-page "https://www.gnome.org")
3070 (synopsis "GNOME settings daemon")
3072 "This package contains the daemon responsible for setting the various
3073 parameters of a GNOME session and the applications that run under it. It
3074 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3075 settings, themes, mouse settings, and startup of other daemons.")
3076 (license license:gpl2+)))
3078 (define-public totem-pl-parser
3080 (name "totem-pl-parser")
3084 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3085 (version-major+minor version) "/"
3086 "totem-pl-parser-" version ".tar.xz"))
3089 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3090 (build-system gnu-build-system)
3092 ;; FIXME: Tests require gvfs.
3095 `(("intltool" ,intltool)
3096 ("glib" ,glib "bin")
3097 ("gobject-introspection" ,gobject-introspection)
3098 ("pkg-config" ,pkg-config)))
3102 ("libxml2" ,libxml2)))
3104 `(("libarchive" ,libarchive)
3105 ("libgcrypt" ,libgcrypt)
3107 ("libsoup" ,libsoup)))
3108 (home-page "https://projects.gnome.org/totem")
3109 (synopsis "Library to parse and save media playlists for GNOME")
3110 (description "Totem-pl-parser is a GObjects-based library to parse and save
3111 playlists in a variety of formats.")
3112 (license license:lgpl2.0+)))
3114 (define-public aisleriot
3120 (uri (string-append "mirror://gnome/sources/" name "/"
3121 (version-major+minor version) "/"
3122 name "-" version ".tar.xz"))
3125 "1yrldsf73rd5p51dsxgbx1hmrakq0x0jc2kl6y6pgaviswxfx3gy"))))
3126 (build-system glib-or-gtk-build-system)
3129 '("--with-platform=gtk-only"
3130 "--with-card-theme-formats=svg")))
3132 `(("desktop-file-utils" ,desktop-file-utils)
3133 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3134 ("intltool" ,intltool)
3135 ("itstool" ,itstool)
3136 ("pkg-config" ,pkg-config)
3137 ("xmllint" ,libxml2)))
3140 ("guile" ,guile-2.2)
3141 ("libcanberra" ,libcanberra)
3142 ("librsvg" ,librsvg)))
3143 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3144 (synopsis "Solitaire card games")
3146 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3147 which are easy to play with the aid of a mouse.")
3148 (license license:gpl3+)))
3150 (define-public devhelp
3156 (uri (string-append "mirror://gnome/sources/" name "/"
3157 (version-major+minor version) "/"
3158 name "-" version ".tar.xz"))
3161 "0f4fmkqzn95zmc2paljma33fkj74qj1m6n23qrc5hfwmgx7p3wkb"))))
3162 (build-system glib-or-gtk-build-system)
3164 `(("intltool" ,intltool)
3165 ("pkg-config" ,pkg-config)))
3167 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3168 ("webkitgtk" ,webkitgtk)))
3169 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3170 (synopsis "API documentation browser for GNOME")
3172 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3173 natively with GTK-Doc (the API reference system developed for GTK+ and used
3174 throughout GNOME for API documentation).")
3175 (license license:gpl2+)))
3184 (uri (string-append "mirror://gnome/sources/" name "/"
3185 (version-major+minor version) "/"
3186 name "-" version ".tar.xz"))
3189 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3190 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3191 ;; cogl, corresponding changes may be appropriate in mutter as well.
3192 (build-system gnu-build-system)
3194 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3195 ("gobject-introspection" ,gobject-introspection)
3196 ;;("xorg-server" ,xorg-server) ; for the test suite
3197 ("pkg-config" ,pkg-config)))
3200 ("gdk-pixbuf" ,gdk-pixbuf)
3202 ("libxext" ,libxext)
3203 ("libxfixes" ,libxfixes)
3204 ("libxdamage" ,libxdamage)
3205 ("libxcomposite" ,libxcomposite)
3206 ("libxrandr" ,libxrandr)))
3211 ("gstreamer" ,gstreamer)
3212 ("gst-plugins-base" ,gst-plugins-base)
3213 ("wayland" ,wayland)))
3215 `(#:configure-flags (list "--enable-cogl-gst"
3216 "--enable-wayland-egl-platform"
3217 "--enable-wayland-egl-server"
3219 ;; Arrange to pass an absolute file name to
3220 ;; dlopen for libGL.so.
3221 (string-append "--with-gl-libname="
3222 (assoc-ref %build-inputs "mesa")
3224 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3225 ;; _FontTransOpen: Unable to Parse address
3226 ;; ${prefix}/share/fonts/X11/misc/
3230 (modify-phases %standard-phases
3231 (add-before 'check 'start-xorg-server
3232 (lambda* (#:key inputs #:allow-other-keys)
3233 ;; The test suite requires a running X server.
3234 (system (format #f "~a/bin/Xvfb :1 &"
3235 (assoc-ref inputs "xorg-server")))
3236 (setenv "DISPLAY" ":1")
3238 (home-page "http://www.cogl3d.org")
3239 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3241 "Cogl is a small library for using 3D graphics hardware to draw pretty
3242 pictures. The API departs from the flat state machine style of OpenGL and is
3243 designed to make it easy to write orthogonal components that can render
3244 without stepping on each others toes.")
3245 (license (list license:expat ; most of the code
3246 license:bsd-3 ; cogl/cogl-point-in-poly.c
3247 license:sgifreeb2.0 ; cogl-path/tesselator/
3248 license:asl2.0)))) ; examples/android/
3250 (define-public clutter
3257 (uri (string-append "mirror://gnome/sources/" name "/"
3258 (version-major+minor version) "/"
3259 name "-" version ".tar.xz"))
3262 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3263 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3264 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3265 (build-system gnu-build-system)
3267 "doc")) ;9 MiB of gtk-doc HTML pages
3269 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3270 ("gobject-introspection" ,gobject-introspection)
3271 ("pkg-config" ,pkg-config)
3272 ("xsltproc" ,libxslt)))
3278 ("json-glib" ,json-glib)
3280 ("libxcomposite" ,libxcomposite)
3281 ("libxdamage" ,libxdamage)
3282 ("libxext" ,libxext)
3283 ("xinput" ,xinput)))
3285 `(("libxkbcommon" ,libxkbcommon)
3288 `(#:configure-flags (list "--enable-x11-backend=yes"
3290 ;; This produces share/doc/{clutter,cally}.
3291 (string-append "--with-html-dir="
3292 (assoc-ref %outputs "doc")
3294 ;; XXX FIXME: Get test suite working. It would probably fail in the
3295 ;; same way the cogl tests fail, since clutter is based on cogl.
3297 (home-page "http://www.clutter-project.org")
3298 (synopsis "Open GL based interactive canvas library")
3300 "Clutter is an Open GL based interactive canvas library, designed for
3301 creating fast, mainly 2D single window applications such as media box UIs,
3302 presentations, kiosk style applications and so on.")
3303 (license license:lgpl2.0+)))
3305 (define-public clutter-gtk
3307 (name "clutter-gtk")
3312 (uri (string-append "mirror://gnome/sources/" name "/"
3313 (version-major+minor version) "/"
3314 name "-" version ".tar.xz"))
3317 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3318 (build-system gnu-build-system)
3320 `(("pkg-config" ,pkg-config)
3321 ("gobject-introspection" ,gobject-introspection)))
3323 ;; clutter-gtk.pc refers to all these.
3324 `(("clutter" ,clutter)
3326 (home-page "http://www.clutter-project.org")
3327 (synopsis "Open GL based interactive canvas library GTK+ widget")
3329 "Clutter is an Open GL based interactive canvas library, designed for
3330 creating fast, mainly 2D single window applications such as media box UIs,
3331 presentations, kiosk style applications and so on.")
3332 (license license:lgpl2.0+)))
3334 (define-public clutter-gst
3336 (name "clutter-gst")
3341 (uri (string-append "mirror://gnome/sources/" name "/"
3342 (version-major+minor version) "/"
3343 name "-" version ".tar.xz"))
3346 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
3347 (build-system gnu-build-system)
3349 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3350 ("pkg-config" ,pkg-config)
3351 ("gobject-introspection" ,gobject-introspection)))
3353 `(("clutter" ,clutter)
3354 ("gstreamer" ,gstreamer)
3355 ("gst-plugins-base" ,gst-plugins-base)))
3356 (home-page "http://www.clutter-project.org")
3357 (synopsis "Integration library for using GStreamer with Clutter")
3359 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3360 It provides a GStreamer sink to upload frames to GL and an actor that
3361 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3362 GL based interactive canvas library.")
3363 (license license:lgpl2.0+)))
3365 (define-public libchamplain
3367 (name "libchamplain")
3372 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3376 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3377 (build-system gnu-build-system)
3378 (arguments '(#:configure-flags '("--enable-vala")))
3380 `(("gobject-introspection" ,gobject-introspection)
3381 ("pkg-config" ,pkg-config)
3384 `(("libsoup" ,libsoup)
3386 ("clutter" ,clutter)
3387 ("clutter-gtk" ,clutter-gtk)
3388 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3392 (home-page "https://projects.gnome.org/libchamplain/")
3393 (synopsis "C library providing a ClutterActor to display maps")
3395 "libchamplain is a C library providing a ClutterActor to display maps.
3396 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3397 and Perl bindings are also available. It supports numerous free map sources
3398 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3399 (license license:lgpl2.1+)))
3408 (uri (string-append "mirror://gnome/sources/" name "/"
3409 (version-major+minor version) "/"
3410 name "-" version ".tar.xz"))
3413 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3414 (build-system gnu-build-system)
3416 `(("intltool" ,intltool)
3417 ("pkg-config" ,pkg-config)
3418 ("gobject-introspection" ,gobject-introspection)))
3421 ("gdk-pixbuf" ,gdk-pixbuf)
3422 ("sqlite" ,sqlite)))
3423 ;; XXX TODO: Figure out how to run the test suite.
3424 (arguments `(#:tests? #f))
3425 (home-page "https://wiki.gnome.org/Projects/Gom")
3426 (synopsis "Object mapper from GObjects to SQLite")
3428 "Gom provides an object mapper from GObjects to SQLite. It helps you
3429 write applications that need to store structured data as well as make complex
3430 queries upon that data.")
3431 (license license:lgpl2.1+)))
3433 (define-public libgnome-games-support
3435 (name "libgnome-games-support")
3439 (uri (string-append "mirror://gnome/sources/" name "/"
3440 (version-major+minor version) "/"
3441 name "-" version ".tar.xz"))
3444 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
3445 (build-system gnu-build-system)
3448 (modify-phases %standard-phases
3449 (add-before 'check 'pre-check
3451 ;; Tests require a writable HOME.
3452 (setenv "HOME" (getcwd))
3455 `(("intltool" ,intltool)
3456 ("pkg-config" ,pkg-config)
3459 ;; Required by libgnome-games-support-1.0.pc
3461 ("libgee" ,libgee)))
3462 (home-page "https://www.gnome.org/")
3463 (synopsis "Useful functionality shared among GNOME games")
3465 "libgnome-games-support is a small library intended for internal use by
3466 GNOME Games, but it may be used by others.")
3467 (license license:lgpl3+)))
3469 (define-public gnome-klotski
3471 (name "gnome-klotski")
3475 (uri (string-append "mirror://gnome/sources/" name "/"
3476 (version-major+minor version) "/"
3477 name "-" version ".tar.xz"))
3480 "16hd6yk01rhb4pj8m01fyn72wykf41d72gsms81q0n4zm5bm1a4h"))))
3481 (build-system glib-or-gtk-build-system)
3483 `(("desktop-file-utils" ,desktop-file-utils)
3484 ("intltool" ,intltool)
3485 ("itstool" ,itstool)
3486 ("pkg-config" ,pkg-config)
3487 ("xmllint" ,libxml2)))
3490 ("libgnome-games-support" ,libgnome-games-support)
3491 ("librsvg" ,librsvg)))
3492 (home-page "https://wiki.gnome.org/Apps/Klotski")
3493 (synopsis "Sliding block puzzles")
3495 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3496 the patterned block to the area bordered by green markers. To do so, you will
3497 need to slide other blocks out of the way. Complete each puzzle in as few moves
3499 (license license:gpl2+)))
3501 (define-public grilo
3508 (uri (string-append "mirror://gnome/sources/" name "/"
3509 (version-major+minor version) "/"
3510 name "-" version ".tar.xz"))
3513 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3514 (build-system gnu-build-system)
3516 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3517 ("intltool" ,intltool)
3518 ("pkg-config" ,pkg-config)
3519 ("gobject-introspection" ,gobject-introspection)))
3521 `(("cyrus-sasl" ,cyrus-sasl)
3524 ("libxml2" ,libxml2)
3525 ("liboauth" ,liboauth)
3526 ("libsoup" ,libsoup)
3528 ("totem-pl-parser" ,totem-pl-parser)))
3531 (modify-phases %standard-phases
3532 (add-after 'unpack 'fix-introspection-install-dir
3533 (lambda* (#:key outputs #:allow-other-keys)
3534 (let ((out (assoc-ref outputs "out")))
3535 (substitute* '("src/Makefile.in"
3536 "libs/pls/Makefile.in"
3537 "libs/net/Makefile.in")
3538 (("@INTROSPECTION_GIRDIR@")
3539 (string-append out "/share/gir-1.0/"))
3540 (("@INTROSPECTION_TYPELIBDIR@")
3541 (string-append out "/lib/girepository-1.0/")))))))))
3542 (native-search-paths
3543 (list (search-path-specification
3544 (variable "GRL_PLUGIN_PATH")
3545 (files (list (string-append "lib/grilo-"
3546 (version-major+minor version)))))))
3547 (home-page "https://live.gnome.org/Grilo")
3548 (synopsis "Framework for discovering and browsing media")
3550 "Grilo is a framework focused on making media discovery and browsing easy
3551 for application developers.")
3552 (license license:lgpl2.1+)))
3554 (define-public grilo-plugins
3556 (name "grilo-plugins")
3561 (uri (string-append "mirror://gnome/sources/" name "/"
3562 (version-major+minor version) "/"
3563 name "-" version ".tar.xz"))
3566 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3567 (build-system gnu-build-system)
3569 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3570 ("intltool" ,intltool)
3571 ("itstool" ,itstool)
3572 ("pkg-config" ,pkg-config)))
3575 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3577 ("libxml2" ,libxml2)
3580 ;; XXX TODO: Add oauth
3581 ;; XXX TODO: Add goa
3582 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3583 ;; XXX TODO: Add lua (needs help finding it)
3584 ("json-glib" ,json-glib)
3587 ("libsoup" ,libsoup)
3588 ("libarchive" ,libarchive)
3589 ("totem-pl-parser" ,totem-pl-parser)))
3591 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3594 ,(version-major+minor version)))
3595 ;; XXX FIXME: Try to get the test suite working. It appears to require
3596 ;; a working system dbus. Inside the build container, all tests fail
3597 ;; with: "assertion failed: (source)". Outside of the build container,
3598 ;; most tests succeed.
3600 (home-page "https://live.gnome.org/Grilo")
3601 (synopsis "Plugins for the Grilo media discovery library")
3603 "Grilo is a framework focused on making media discovery and browsing easy
3604 for application developers.")
3605 (license license:lgpl2.1+)))
3607 (define-public totem
3614 (uri (string-append "mirror://gnome/sources/" name "/"
3615 (version-major+minor version) "/"
3616 name "-" version ".tar.xz"))
3619 "04zfx47mgyd0f4p3pjrxl6iaw0awgwbvilbsr1smw14ph2kbjbz3"))
3620 (patches (search-patches "totem-meson-easy-codec.patch"))))
3621 (build-system meson-build-system)
3623 `(("pkg-config" ,pkg-config)
3624 ("desktop-file-utils" ,desktop-file-utils)
3625 ("gobject-introspection" ,gobject-introspection)
3626 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3627 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3628 ("intltool" ,intltool)
3629 ("itstool" ,itstool)
3630 ("xmllint" ,libxml2)))
3632 `(("dconf" ,dconf)))
3635 ("gdk-pixbuf" ,gdk-pixbuf)
3638 ("dbus-glib" ,dbus-glib)
3639 ("clutter" ,clutter)
3640 ("clutter-gtk" ,clutter-gtk)
3641 ("clutter-gst" ,clutter-gst)
3643 ("libxxf86vm" ,libxxf86vm)
3644 ("libxtst" ,libxtst)
3645 ("libxrandr" ,libxrandr)
3646 ("libxml2" ,libxml2)
3647 ("libsoup" ,libsoup)
3648 ("libpeas" ,libpeas)
3649 ("librsvg" ,librsvg)
3651 ("gnome-desktop" ,gnome-desktop)
3652 ("gstreamer" ,gstreamer)
3653 ("gst-plugins-base" ,gst-plugins-base)
3654 ("gst-plugins-good" ,gst-plugins-good)
3655 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3656 ("adwaita-icon-theme" ,adwaita-icon-theme)
3657 ;; XXX We use python-2 because libxml2 because itstool (which needs
3658 ;; libxml) currently uses python-2.
3659 ("python" ,python-2)
3660 ("python-pygobject" ,python2-pygobject)
3661 ;; XXX TODO pylint needed for python support
3662 ("totem-pl-parser" ,totem-pl-parser)
3664 ("grilo-plugins" ,grilo-plugins)
3670 ;; Disable parallel builds until
3671 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3672 ;; fixed. Try enabling it when updating this package in case
3673 ;; upstream has fixed it.
3674 #:parallel-build? #f
3676 ;; Disable automatic GStreamer plugin installation via PackageKit and
3678 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3680 ;; Do not build .a files for the plugins, it's
3681 ;; completely useless. This saves 2 MiB.
3682 "--default-library" "shared")
3685 (modify-phases %standard-phases
3687 'install 'disable-cache-generation
3689 (setenv "DESTDIR" "/")
3692 'install 'wrap-totem
3693 (lambda* (#:key inputs outputs #:allow-other-keys)
3694 (let ((out (assoc-ref outputs "out"))
3695 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3696 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3697 (wrap-program (string-append out "/bin/totem")
3698 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3699 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3700 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3701 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3703 (home-page "https://wiki.gnome.org/Apps/Videos")
3704 (synopsis "Simple media player for GNOME based on GStreamer")
3705 (description "Totem is a simple yet featureful media player for GNOME
3706 which can read a large number of file formats.")
3707 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3708 ;; to be used and distributed together with GStreamer and Totem. See
3709 ;; file://COPYING in the source distribution for details.
3710 (license license:gpl2+)))
3712 (define-public rhythmbox
3718 (uri (string-append "mirror://gnome/sources/" name "/"
3719 (version-major+minor version) "/"
3720 name "-" version ".tar.xz"))
3723 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3724 (build-system glib-or-gtk-build-system)
3727 (list "--enable-lirc"
3734 (modify-phases %standard-phases
3736 'install 'wrap-rhythmbox
3737 (lambda* (#:key inputs outputs #:allow-other-keys)
3738 (let ((out (assoc-ref outputs "out"))
3739 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3740 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3741 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3742 (python-path (getenv "PYTHONPATH")))
3743 (wrap-program (string-append out "/bin/rhythmbox")
3744 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3745 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3746 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3747 `("PYTHONPATH" ":" prefix (,python-path))))
3750 `(("dconf" ,dconf)))
3752 `(("itstool" ,itstool)
3753 ("intltool" ,intltool)
3754 ("glib" ,glib "bin")
3755 ("gobject-introspection" ,gobject-introspection)
3756 ("desktop-file-utils" ,desktop-file-utils)
3757 ("pkg-config" ,pkg-config)
3758 ("xmllint" ,libxml2)))
3760 `(("json-glib" ,json-glib)
3762 ("gnome-desktop" ,gnome-desktop)
3764 ("python-pygobject" ,python2-pygobject)
3768 ("adwaita-icon-theme" ,adwaita-icon-theme)
3770 ("grilo-plugins" ,grilo-plugins)
3771 ("gstreamer" ,gstreamer)
3772 ("gst-plugins-base" ,gst-plugins-base)
3773 ("gst-plugins-good" ,gst-plugins-good)
3774 ("totem-pl-parser" ,totem-pl-parser)
3775 ("libgudev" ,libgudev)
3776 ;;("libmtp" ,libmtp) FIXME: Not detected
3777 ("libsecret" ,libsecret)
3778 ("libsoup" ,libsoup)
3779 ("libnotify" ,libnotify)
3780 ("libpeas" ,libpeas)
3782 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3783 ;;("clutter" ,clutter)
3784 ;;("clutter-gtk" ,clutter-gtk)
3785 ;;("clutter-gst" ,clutter-gst)
3786 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3793 ("brasero" ,brasero)))
3794 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3795 (synopsis "Music player for GNOME")
3796 (description "Rhythmbox is a music playing application for GNOME. It
3797 supports playlists, song ratings, and any codecs installed through gstreamer.")
3798 (license license:gpl2+)))
3806 (uri (string-append "mirror://gnome/sources/" name "/"
3807 (version-major+minor version) "/"
3808 name "-" version ".tar.xz"))
3811 "1b87i31mxzayd3knn9zg00y816d093qrbyx556w8a03xz96ksgmm"))))
3812 (build-system glib-or-gtk-build-system)
3815 (modify-phases %standard-phases
3818 (lambda* (#:key outputs #:allow-other-keys)
3819 (let ((out (assoc-ref outputs "out"))
3820 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3821 (wrap-program (string-append out "/bin/eog")
3822 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3825 `(("dconf" ,dconf)))
3827 `(("intltool" ,intltool)
3828 ("itstool" ,itstool)
3829 ("glib" ,glib "bin")
3830 ("gobject-introspection" ,gobject-introspection)
3831 ("pkg-config" ,pkg-config)
3832 ("xmllint" ,libxml2)))
3834 `(("gnome-desktop" ,gnome-desktop)
3835 ("shared-mime-info" ,shared-mime-info)
3836 ("adwaita-icon-theme" ,adwaita-icon-theme)
3839 ("libexif" ,libexif)
3840 ("libpeas" ,libpeas)
3841 ("libjpeg" ,libjpeg)
3842 ("librsvg" ,librsvg)
3843 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3845 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3846 (synopsis "GNOME image viewer")
3847 (description "Eye of GNOME is the GNOME image viewer. It
3848 supports image conversion, rotation, and slideshows.")
3849 (license license:gpl2+)))
3851 (define-public eog-plugins
3852 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3853 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3854 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3855 ;; 'XDG_DATA_DIRS' appropriately set.
3857 (name "eog-plugins")
3861 (uri (string-append "mirror://gnome/sources/" name "/"
3862 (version-major+minor version) "/"
3863 name "-" version ".tar.xz"))
3866 "0v45f2m3b60ygkwpq6jrl49nwrivw6qy0ciibpv821qrm73hsgd7"))))
3867 (build-system gnu-build-system)
3868 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3869 (synopsis "Extensions for the Eye of GNOME image viewer")
3871 `(("pkg-config" ,pkg-config)
3872 ("gettext" ,gnu-gettext)))
3877 ("libpeas" ,libpeas)
3878 ("libexif" ,libexif)
3879 ("libchamplain" ,libchamplain)))
3881 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3885 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3886 @item @dfn{Map}, which displays a map of where the picture was taken on the
3888 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3891 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3892 ;; long suspicious byte stream that goes to a
3893 ;; ".gresource.eog_postasa_plugin" ELF section.
3894 (license license:gpl2+)))
3896 (define-public libgudev
3902 (uri (string-append "mirror://gnome/sources/" name "/"
3903 version "/" name "-" version ".tar.xz"))
3906 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3907 (build-system gnu-build-system)
3909 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3910 ("gobject-introspection" ,gobject-introspection)
3911 ("pkg-config" ,pkg-config)))
3913 `(("glib" ,glib))) ; required by gudev-1.0.pc
3916 (home-page "https://wiki.gnome.org/Projects/libgudev")
3917 (synopsis "GObject bindings for libudev")
3919 "This library provides GObject bindings for libudev. It was originally
3920 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3921 (license license:lgpl2.1+)))
3929 (uri (string-append "mirror://gnome/sources/" name "/"
3930 (version-major+minor version) "/"
3931 name "-" version ".tar.xz"))
3934 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3935 (build-system gnu-build-system)
3937 '(#:tests? #f)) ; XXX: requiring `pidof'
3939 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3940 ("intltool" ,intltool)
3941 ("pkg-config" ,pkg-config)
3942 ("xsltproc" ,libxslt)))
3945 ("docbook-xml" ,docbook-xml-4.2)
3946 ("docbook-xsl" ,docbook-xsl)
3951 ("libarchive" ,libarchive)
3952 ("libbluray" ,libbluray)
3954 ("libcdio-paranoia" ,libcdio-paranoia)
3955 ("libgcrypt" ,libgcrypt)
3956 ("libgphoto2" ,libgphoto2)
3957 ("libgudev" ,libgudev)
3959 ("libsecret" ,libsecret)
3960 ("libsmbclient" ,samba)
3961 ("libsoup" ,libsoup)
3962 ("libxml2" ,libxml2)
3963 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3965 ("udisks" ,udisks)))
3966 (home-page "https://wiki.gnome.org/gvfs/")
3967 (synopsis "Userspace virtual file system for GIO")
3969 "GVFS is a userspace virtual file system designed to work with the I/O
3970 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3971 to all applications using the GIO API. It also supports exposing the GVFS
3972 mounts to non-GIO applications using FUSE.
3974 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3976 (license license:lgpl2.0+)))
3984 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3986 (string-join (string-split version #\.)
3991 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3992 (build-system gnu-build-system)
3994 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3995 ("gobject-introspection" ,gobject-introspection)
3996 ("pkg-config" ,pkg-config)
3998 ("autoconf" ,autoconf)
3999 ("automake" ,automake)
4000 ("libtool" ,libtool)
4001 ("gtk-doc" ,gtk-doc)))
4003 ;; Both of these are required by gusb.pc.
4005 ("libusb" ,libusb)))
4007 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
4009 (modify-phases %standard-phases
4010 (add-after 'unpack 'autogen
4012 (and (zero? (system* "gtkdocize"))
4013 (zero? (system* "autoreconf" "-vif"))))))))
4014 (home-page "https://github.com/hughsie/libgusb")
4015 (synopsis "GLib binding for libusb1")
4017 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4018 asynchronous control, bulk and interrupt transfers with proper cancellation
4019 and integration into a mainloop. This makes it easy to integrate low level
4020 USB transfers with your high-level application or system daemon.")
4021 (license license:lgpl2.1+)))
4023 (define-public simple-scan
4025 (name "simple-scan")
4029 (uri (string-append "https://launchpad.net/simple-scan/"
4030 (version-major+minor version) "/"
4031 version "/+download/simple-scan-"
4035 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4036 (build-system glib-or-gtk-build-system)
4041 ("gdk-pixbuf" ,gdk-pixbuf)
4043 ("libsane" ,sane-backends)))
4045 `(("gettext" ,gettext-minimal)
4046 ("itstool" ,itstool)
4048 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4049 ("pkg-config" ,pkg-config)
4051 ("xmllint" ,libxml2)))
4053 '(#:configure-flags '("--disable-packagekit")
4055 (modify-phases %standard-phases
4056 (add-after 'unpack 'clean
4058 ;; Remove a left-over reference to PackageKit.
4060 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4062 ;; There are some generated C files erroneously
4063 ;; included in the source distribution, and this
4064 ;; one breaks the build by referring to a
4065 ;; non-existent header (packagekit.h)
4066 (delete-file "src/ui.c"))))))
4067 (home-page "https://launchpad.net/simple-scan")
4068 (synopsis "Document and image scanner")
4069 (description "Simple Scan is an easy-to-use application, designed to let
4070 users connect their scanner and quickly have the image/document in an
4071 appropriate format. Simple Scan is basically a frontend for SANE - which is
4072 the same backend as XSANE uses. This means that all existing scanners will
4073 work and the interface is well tested.")
4074 (license license:gpl3+)))
4076 (define-public eolie
4082 (uri (string-append "https://github.com/gnumdk/eolie/"
4083 "releases/download/" version
4084 "/eolie-" version ".tar.xz"))
4087 "0glydxp1xh85gfidk1l9miqn6qxdbvvk5s3iy0pjlv8nrs3263jd"))))
4088 (build-system glib-or-gtk-build-system)
4091 (modify-phases %standard-phases
4094 (lambda* (#:key outputs #:allow-other-keys)
4095 (zero? (system* "meson" "build"
4096 "--prefix" (assoc-ref outputs "out")))))
4098 (lambda _ (zero? (system* "ninja" "-C" "build" "test"))))
4100 (lambda* (#:key outputs #:allow-other-keys)
4101 (zero? (system* "ninja" "-C" "build" "install"))))
4102 (add-after 'wrap 'wrap-more
4103 (lambda* (#:key inputs outputs #:allow-other-keys)
4104 (let* ((out (assoc-ref outputs "out"))
4105 ;; These libraries must be on LD_LIBRARY_PATH.
4106 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4107 "atk" "gtk+" "gsettings-desktop-schemas"
4108 "gobject-introspection"))
4111 (string-append (assoc-ref inputs lib) "/lib"))
4114 (wrap-program (string-append out "/bin/eolie")
4115 `("LD_LIBRARY_PATH" ":" prefix (,path))
4116 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4117 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4120 `(("intltool" ,intltool)
4121 ("itstool" ,itstool)
4122 ("pkg-config" ,pkg-config)
4123 ("meson" ,meson-for-build)
4126 ("gtk+" ,gtk+ "bin")))
4128 `(("gobject-introspection" ,gobject-introspection)
4129 ("glib-networking" ,glib-networking)
4132 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4133 ("python" ,python-wrapper)
4134 ("python-dateutil" ,python-dateutil)
4135 ("python-pygobject" ,python-pygobject)
4136 ("python-pycairo" ,python-pycairo)
4137 ("libsecret" ,libsecret)
4138 ("gtkspell3" ,gtkspell3)
4139 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4140 ("webkitgtk" ,webkitgtk)))
4141 (home-page "https://github.com/gnumdk/eolie/")
4142 (synopsis "Web browser for GNOME")
4144 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4145 a secret password store, an adblocker, and a modern UI.")
4146 (license license:gpl3+)))
4148 (define-public epiphany
4154 (uri (string-append "mirror://gnome/sources/" name "/"
4155 (version-major+minor version) "/"
4156 name "-" version ".tar.xz"))
4159 "1jg59s98aljf603w24r5a3cr4fw6z88gc0warqy1946iprjgdw0m"))))
4160 (build-system glib-or-gtk-build-system)
4162 ;; FIXME: tests run under Xvfb, but fail with:
4163 ;; /src/bookmarks/ephy-bookmarks/create:
4164 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4168 #:configure-flags '("CFLAGS=-std=gnu99")))
4170 `(("dconf" ,dconf)))
4172 `(("intltool" ,intltool)
4173 ("itstool" ,itstool)
4174 ("pkg-config" ,pkg-config)
4175 ("xmllint" ,libxml2)))
4179 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4180 ("glib-networking" ,glib-networking)
4181 ("gnome-desktop" ,gnome-desktop)
4182 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4183 ("json-glib" ,json-glib)
4184 ("iso-codes" ,iso-codes)
4185 ("libnotify" ,libnotify)
4186 ("libsecret" ,libsecret)
4187 ("libxslt" ,libxslt)
4189 ("webkitgtk" ,webkitgtk)))
4190 (home-page "https://wiki.gnome.org/Apps/Web")
4191 (synopsis "GNOME web browser")
4193 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4194 principles are simplicity and standards compliance.")
4195 (license license:gpl2+)))
4197 (define-public d-feet
4203 (uri (string-append "mirror://gnome/sources/" name "/"
4204 (version-major+minor version) "/"
4205 name "-" version ".tar.xz"))
4208 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4209 (build-system glib-or-gtk-build-system)
4211 '(#:out-of-source? #f ; tests need to run in the source directory.
4213 (modify-phases %standard-phases
4217 ;; The test suite requires a running X server.
4218 (system "Xvfb :1 &")
4219 (setenv "DISPLAY" ":1")
4220 ;; Don't fail on missing '/etc/machine-id'.
4221 (setenv "DBUS_FATAL_WARNINGS" "0")
4222 ;; tests.py and window.py don't meet E402:
4223 ;; E402 module level import not at top of file
4224 (substitute* "src/tests/Makefile"
4225 (("--ignore=E123") "--ignore=E123,E402"))
4228 'install 'wrap-program
4229 (lambda* (#:key outputs #:allow-other-keys)
4230 (let ((prog (string-append (assoc-ref outputs "out")
4233 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4234 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4237 `(("intltool" ,intltool)
4238 ("itstool" ,itstool)
4239 ("pkg-config" ,pkg-config)
4240 ("python-pep8" ,python-pep8)
4241 ("xmllint" ,libxml2)
4242 ("xorg-server" ,xorg-server)))
4244 `(("gobject-introspection" ,gobject-introspection)
4246 ("python" ,python-wrapper)
4247 ("python-pygobject" ,python-pygobject)))
4248 (home-page "https://wiki.gnome.org/Apps/DFeet")
4249 (synopsis "D-Bus debugger")
4251 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4252 of running programs and invoke methods on those interfaces.")
4253 (license license:gpl2+)))
4255 (define-public yelp-xsl
4261 (uri (string-append "mirror://gnome/sources/" name "/"
4262 (version-major+minor version) "/"
4263 name "-" version ".tar.xz"))
4266 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4267 (build-system gnu-build-system)
4269 `(("intltool" ,intltool)
4270 ("itstool" ,itstool)
4271 ("xmllint" ,libxml2)))
4272 (home-page "https://wiki.gnome.org/Apps/Yelp")
4273 (synopsis "XSL stylesheets for Yelp")
4275 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4276 to format Docbook and Mallard documents.")
4277 (license license:gpl2+)))
4285 (uri (string-append "mirror://gnome/sources/" name "/"
4286 (version-major+minor version) "/"
4287 name "-" version ".tar.xz"))
4290 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4291 (build-system glib-or-gtk-build-system)
4293 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4294 ("intltool" ,intltool)
4295 ("itstool" ,itstool)
4296 ("pkg-config" ,pkg-config)))
4298 `(("dconf" ,dconf)))
4300 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4301 ("libxslt" ,libxslt)
4303 ("webkitgtk" ,webkitgtk)
4304 ("yelp-xsl" ,yelp-xsl)))
4305 (home-page "https://wiki.gnome.org/Apps/Yelp")
4306 (synopsis "GNOME help browser")
4308 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4309 man, info, and HTML documents. It can locate documents according to the
4310 freedesktop.org help system specification.")
4311 (license license:gpl2+)))
4313 (define-public yelp-tools
4319 (uri (string-append "mirror://gnome/sources/" name "/"
4320 (version-major+minor version) "/"
4321 name "-" version ".tar.xz"))
4324 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4325 (build-system gnu-build-system)
4327 `(("pkg-config" ,pkg-config)))
4329 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4330 `(("itstool" ,itstool)
4331 ("xmllint" ,libxml2)
4332 ("xsltproc" ,libxslt)))
4334 `(("yelp-xsl" ,yelp-xsl)))
4335 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4336 (synopsis "Yelp documentation tools")
4338 "Yelp-tools is a collection of scripts and build utilities to help create,
4339 manage, and publish documentation for Yelp and the web. Most of the heavy
4340 lifting is done by packages like yelp-xsl and itstool. This package just
4341 wraps things up in a developer-friendly way.")
4342 (license license:gpl2+)))
4344 (define-public libgee
4350 (uri (string-append "mirror://gnome/sources/" name "/"
4351 (version-major+minor version) "/"
4352 name "-" version ".tar.xz"))
4355 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
4356 (build-system gnu-build-system)
4359 (modify-phases %standard-phases
4360 (add-after 'unpack 'fix-introspection-install-dir
4361 (lambda* (#:key outputs #:allow-other-keys)
4362 (let ((out (assoc-ref outputs "out")))
4363 (substitute* "gee/Makefile.in"
4364 (("@INTROSPECTION_GIRDIR@")
4365 (string-append out "/share/gir-1.0/"))
4366 (("@INTROSPECTION_TYPELIBDIR@")
4367 (string-append out "/lib/girepository-1.0/")))))))))
4369 `(("glib" ,glib "bin")
4370 ("pkg-config" ,pkg-config)))
4373 ("gobject-introspection" ,gobject-introspection)))
4374 (home-page "https://wiki.gnome.org/Projects/Libgee")
4375 (synopsis "GObject collection library")
4377 "Libgee is a utility library providing GObject-based interfaces and
4378 classes for commonly used data structures.")
4379 (license license:lgpl2.1+)))
4381 (define-public gexiv2
4387 (uri (string-append "mirror://gnome/sources/" name "/"
4388 (version-major+minor version) "/"
4389 name "-" version ".tar.xz"))
4392 "1f7312zygw77ml37i5qilhfvmjm59dn753ax71rcb2jm1p76vgcb"))))
4393 (build-system meson-build-system)
4395 `(("glib" ,glib "bin")
4396 ("pkg-config" ,pkg-config)))
4398 ;; Listed in "Requires" section of gexiv2.pc
4399 `(("exiv2" ,exiv2)))
4402 ("gobject-introspection" ,gobject-introspection)))
4403 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4404 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4406 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4407 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4408 metadata in photo and video files of various formats.")
4409 (license license:gpl2+)))
4411 (define-public shotwell
4417 (uri (string-append "mirror://gnome/sources/" name "/"
4418 (version-major+minor version) "/"
4419 name "-" version ".tar.xz"))
4422 "1jav7qv0s1v6wvd7x2ri85hjqnbswq883pnd228qhd6bhjbryp89"))))
4423 (build-system glib-or-gtk-build-system)
4425 `(("dconf" ,dconf)))
4427 `(("pkg-config" ,pkg-config)
4428 ("itstool" ,itstool)
4429 ("gettext" ,gettext-minimal)
4430 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4431 ("itstool" ,itstool)
4434 `(("glib:bin" ,glib "bin")
4435 ("gstreamer" ,gstreamer)
4436 ("gst-plugins-base" ,gst-plugins-base)
4437 ("libgdata" ,libgdata)
4441 ("json-glib" ,json-glib)
4442 ("webkitgtk" ,webkitgtk)
4444 ("libsoup" ,libsoup)
4445 ("libxml2" ,libxml2)
4446 ("libgudev" ,libgudev)
4447 ("libgphoto2" ,libgphoto2)
4449 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4450 (synopsis "Photo manager for GNOME 3")
4452 "Shotwell is a digital photo manager designed for the GNOME desktop
4453 environment. It allows you to import photos from disk or camera, organize
4454 them by keywords and events, view them in full-window or fullscreen mode, and
4455 share them with others via social networking and more.")
4456 (license license:lgpl2.1+)))
4458 (define-public file-roller
4460 (name "file-roller")
4464 (uri (string-append "mirror://gnome/sources/" name "/"
4465 (version-major+minor version) "/"
4466 name "-" version ".tar.xz"))
4469 "19d8pc5z2xzhnicgaysxmwx3ghwzl4cw8kygd6nsw69g3j77nrry"))))
4470 (build-system glib-or-gtk-build-system)
4473 (modify-phases %standard-phases
4474 (add-before 'install 'skip-gtk-update-icon-cache
4476 ;; Don't create 'icon-theme.cache'
4477 (substitute* (find-files "data" "^Makefile$")
4478 (("gtk-update-icon-cache") (which "true")))
4481 `(("intltool" ,intltool)
4482 ("pkg-config" ,pkg-config)))
4483 ;; TODO: Add libnautilus.
4486 ("gdk-pixbuf" ,gdk-pixbuf)
4487 ("json-glib" ,json-glib)
4488 ("libarchive" ,libarchive)
4489 ("libnotify" ,libnotify)
4491 ("itstool" ,itstool)
4492 ("libxml2" ,libxml2)))
4493 (synopsis "Graphical archive manager for GNOME")
4494 (description "File Roller is an archive manager for the GNOME desktop
4495 environment that allows users to view, unpack, and create compressed archives
4496 such as gzip tarballs.")
4497 (home-page "http://fileroller.sourceforge.net/")
4498 (license license:gpl2+)))
4500 (define-public gnome-session
4502 (name "gnome-session")
4506 (uri (string-append "mirror://gnome/sources/" name "/"
4507 (version-major+minor version) "/"
4508 name "-" version ".tar.xz"))
4511 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4514 (modify-phases %standard-phases
4515 (add-before 'configure 'pre-configure
4516 (lambda* (#:key outputs #:allow-other-keys)
4517 ;; Use elogind instead of systemd.
4518 (substitute* "configure"
4519 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4521 (("systemd") "elogind"))
4522 (substitute* "gnome-session/gsm-systemd.c"
4523 (("#include <systemd/sd-login.h>")
4524 "#include <elogind/sd-login.h>"))
4525 ;; Remove uses of the systemd journal.
4526 (substitute* "gnome-session/main.c"
4527 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4528 (substitute* "gnome-session/gsm-manager.c"
4529 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4530 (substitute* "gnome-session/gsm-autostart-app.c"
4531 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4533 (add-after 'install 'wrap-gnome-session
4534 (lambda* (#:key inputs outputs #:allow-other-keys)
4535 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4536 (let ((glib (assoc-ref inputs "glib:bin"))
4537 (out (assoc-ref outputs "out")))
4538 (wrap-program (string-append out "/bin/gnome-session")
4539 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4541 (add-after 'install 'disable-hardware-acceleration-check
4542 (lambda* (#:key outputs #:allow-other-keys)
4543 ;; Do not abort if hardware acceleration is missing. This allows
4544 ;; GNOME to run in QEMU and on low-end devices.
4545 (let ((out (assoc-ref outputs "out")))
4546 (substitute* (string-append out
4547 "/share/xsessions/gnome.desktop")
4549 "gnome-session --disable-acceleration-check"))
4553 '("--enable-elogind")))
4554 (build-system glib-or-gtk-build-system)
4556 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4557 ("pkg-config" ,pkg-config)
4558 ("intltool" ,intltool)
4559 ("xsltproc" ,libxslt)))
4561 `(("elogind" ,elogind)
4562 ("gnome-desktop" ,gnome-desktop)
4563 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4565 ("json-glib" ,json-glib)
4567 ("libxcomposite" ,libxcomposite)
4568 ("libxtst" ,libxtst)
4571 ("xtrans" ,xtrans)))
4572 (synopsis "Session manager for GNOME")
4574 "This package contains the GNOME session manager, as well as a
4575 configuration program to choose applications starting on login.")
4576 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4577 (license license:gpl2+)))
4585 (uri (string-append "mirror://gnome/sources/" name "/"
4586 (version-major+minor version) "/"
4587 name "-" version ".tar.xz"))
4590 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4591 (build-system gnu-build-system)
4594 (modify-phases %standard-phases
4598 ;; The test suite requires a running X server.
4599 (system "Xvfb :1 &")
4600 (setenv "DISPLAY" ":1")
4602 ;; For the missing /etc/machine-id.
4603 (setenv "DBUS_FATAL_WARNINGS" "0")
4605 ;; Our mozjs-38 package does not compile the required Intl API
4606 ;; support for these failing tests.
4607 (substitute* "installed-tests/js/testLocale.js"
4608 ((".*toBeDefined.*") "")
4609 ((".*expect\\(datestr\\).*") ""))
4612 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4613 ("pkg-config" ,pkg-config)
4614 ("xmllint" ,libxml2)
4616 ("dbus-launch" ,dbus)
4617 ("uuidgen" ,util-linux)
4618 ("xvfb" ,xorg-server)))
4620 ;; These are all in the Requires.private field of gjs-1.0.pc.
4622 ("gobject-introspection" ,gobject-introspection)
4623 ("mozjs" ,mozjs-38)))
4626 ("readline" ,readline)))
4627 (synopsis "Javascript bindings for GNOME")
4628 (home-page "https://live.gnome.org/Gjs")
4630 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4631 javascript engine and the GObject introspection framework.")
4632 (license license:gpl2+)))
4634 (define-public gedit
4640 (uri (string-append "mirror://gnome/sources/" name "/"
4641 (version-major+minor version) "/"
4642 name "-" version ".tar.xz"))
4645 "0as9r5zvnyrxh699q6jnd0p9ddqy5qamfbxggpdjzagzixhw6yxa"))))
4646 (build-system glib-or-gtk-build-system)
4649 (modify-phases %standard-phases
4651 'install 'wrap-gedit
4652 (lambda* (#:key inputs outputs #:allow-other-keys)
4653 (let ((out (assoc-ref outputs "out"))
4654 (gtksourceview (assoc-ref inputs "gtksourceview"))
4655 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4656 (python-path (getenv "PYTHONPATH")))
4657 (wrap-program (string-append out "/bin/gedit")
4659 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4660 `("PYTHONPATH" ":" prefix (,python-path))
4661 ;; For language-specs.
4662 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4666 `(("dconf" ,dconf)))
4668 `(("intltool" ,intltool)
4669 ("itstool" ,itstool)
4670 ("gobject-introspection" ,gobject-introspection)
4671 ("pkg-config" ,pkg-config)))
4676 ("gtksourceview" ,gtksourceview)
4677 ("libpeas" ,libpeas)
4678 ("libxml2" ,libxml2)
4679 ("iso-codes" ,iso-codes)
4680 ("python-pygobject" ,python-pygobject)
4682 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4685 ("adwaita-icon-theme" ,adwaita-icon-theme)
4686 ("libsoup" ,libsoup)
4687 ("gnome-desktop" ,gnome-desktop)))
4688 (home-page "https://wiki.gnome.org/Apps/Gedit")
4689 (synopsis "GNOME text editor")
4690 (description "While aiming at simplicity and ease of use, gedit is a
4691 powerful general purpose text editor.")
4692 (license license:gpl2+)))
4694 (define-public zenity
4700 (uri (string-append "mirror://gnome/sources/" name "/"
4701 (version-major+minor version) "/"
4702 name "-" version ".tar.xz"))
4705 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4706 (build-system gnu-build-system)
4708 `(("gettext" ,gettext-minimal)
4709 ("itstool" ,itstool)
4710 ("pkg-config" ,pkg-config)))
4712 `(("libnotify" ,libnotify)
4713 ("webkitgtk" ,webkitgtk)))
4714 (synopsis "Display graphical dialog boxes from shell scripts")
4715 (home-page "https://www.gnome.org")
4717 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4718 to display dialog boxes from the commandline and shell scripts.")
4719 (license license:lgpl2.0+)))
4721 (define-public mutter
4727 (uri (string-append "mirror://gnome/sources/" name "/"
4728 (version-major+minor version) "/"
4729 name "-" version ".tar.xz"))
4732 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4733 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4734 ;; versions of cogl and clutter. As a result, many of the inputs,
4735 ;; propagated-inputs, and configure flags used in cogl and clutter are
4736 ;; needed here as well.
4737 (build-system gnu-build-system)
4740 ;; XXX: build fails with [-Werror]:
4741 ;; backends/meta-cursor-renderer.c:112:5: error:
4742 ;; implicit declaration of function ?roundf?
4743 (list "--enable-compile-warnings=minimum"
4745 "--enable-native-backend"
4747 ;; The following flags are needed for the bundled clutter
4748 "--enable-x11-backend=yes"
4750 (string-append "--with-xwayland-path="
4751 (assoc-ref %build-inputs "xorg-server-xwayland")
4754 ;; the remaining flags are needed for the bundled cogl
4756 (string-append "--with-gl-libname="
4757 (assoc-ref %build-inputs "mesa")
4760 (modify-phases %standard-phases
4761 ;; Replace references to systemd libraries to elogind references.
4762 (add-before 'configure 'use-elogind
4764 (substitute* (list "configure"
4765 "src/backends/native/meta-launcher.c"
4767 (("systemd") "elogind"))
4770 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4771 ("gobject-introspection" ,gobject-introspection)
4772 ("intltool" ,intltool)
4773 ("pkg-config" ,pkg-config)
4775 ("autoconf" ,autoconf)
4776 ("automake" ,automake)
4777 ("libtool" ,libtool)))
4779 `(;; libmutter.pc refers to these:
4780 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4782 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4785 ("gdk-pixbuf" ,gdk-pixbuf)
4788 ("json-glib" ,json-glib)
4789 ("libinput" ,libinput)
4791 ("libxcomposite" ,libxcomposite)
4792 ("libxdamage" ,libxdamage)
4793 ("libxext" ,libxext)
4794 ("libxfixes" ,libxfixes)
4795 ("libxkbcommon" ,libxkbcommon)
4796 ("libxrandr" ,libxrandr)
4800 ("xinput" ,xinput)))
4802 `(("elogind" ,elogind)
4803 ("gnome-desktop" ,gnome-desktop)
4804 ("libcanberra-gtk" ,libcanberra)
4805 ("libgudev" ,libgudev)
4808 ("libxkbfile" ,libxkbfile)
4809 ("libxrandr" ,libxrandr)
4810 ("libxtst" ,libxtst)
4811 ("startup-notification" ,startup-notification)
4812 ("upower-glib" ,upower)
4813 ("xkeyboard-config" ,xkeyboard-config)
4814 ("xorg-server-xwayland" ,xorg-server-xwayland)
4815 ("zenity" ,zenity)))
4816 (synopsis "Window and compositing manager")
4817 (home-page "https://www.gnome.org")
4819 "Mutter is a window and compositing manager that displays and manages your
4820 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4821 Clutter toolkit with solid window-management logic inherited from the Metacity
4823 (license license:gpl2+)))
4825 (define-public gnome-online-accounts
4827 (name "gnome-online-accounts")
4831 (uri (string-append "mirror://gnome/sources/" name "/"
4832 (version-major+minor version) "/"
4833 name "-" version ".tar.xz"))
4836 "0m1qf2ffxzmwxa157lrvh3507d5gr3lg4kvj653zhcihjpmmhbi5"))))
4837 (build-system glib-or-gtk-build-system)
4839 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4840 ("gobject-introspection" ,gobject-introspection)
4841 ("intltool" ,intltool)
4842 ("pkg-config" ,pkg-config)
4843 ("xsltproc" ,libxslt)))
4845 `(("glib" ,glib) ; required by goa-1.0.pc
4846 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4848 `(("docbook-xsl" ,docbook-xsl)
4849 ("json-glib" ,json-glib)
4850 ("libsecret" ,libsecret)
4852 ("telepathy-glib" ,telepathy-glib)
4853 ("webkitgtk" ,webkitgtk)))
4854 (synopsis "Single sign-on framework for GNOME")
4855 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4857 "GNOME Online Accounts provides interfaces so that applications and
4858 libraries in GNOME can access the user's online accounts. It has providers for
4859 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4860 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4861 (license license:lgpl2.0+)))
4863 (define-public evolution-data-server
4865 (name "evolution-data-server")
4869 (uri (string-append "mirror://gnome/sources/" name "/"
4870 (version-major+minor version) "/"
4871 name "-" version ".tar.xz"))
4874 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
4875 (build-system cmake-build-system)
4877 '(;; XXX FIXME: 11/85 tests are failing.
4880 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4881 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4882 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4883 "-DENABLE_VALA_BINDINGS=ON"
4884 "-DENABLE_INTROSPECTION=ON") ;required for Vala bindings
4886 (modify-phases %standard-phases
4887 (add-after 'unpack 'patch-paths
4889 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4890 (("/bin/rm") (which "rm")))
4893 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4894 ("gobject-introspection" ,gobject-introspection)
4896 ("intltool" ,intltool)
4897 ("pkg-config" ,pkg-config)
4899 ("python" ,python-wrapper)))
4901 ;; These are all in the Requires field of .pc files.
4903 ("libical" ,libical)
4904 ("libsecret" ,libsecret)
4905 ("libsoup" ,libsoup)
4907 ("sqlite" ,sqlite)))
4911 ("gnome-online-accounts" ,gnome-online-accounts)
4912 ("libgweather" ,libgweather)
4913 ("mit-krb5" ,mit-krb5)
4914 ("openldap" ,openldap)))
4915 (synopsis "Store address books and calendars")
4916 (home-page "https://wiki.gnome.org/Apps/Evolution")
4918 "This package provides a unified backend for programs that work with
4919 contacts, tasks, and calendar information. It was originally developed for
4920 Evolution (hence the name), but is now used by other packages as well.")
4921 (license license:lgpl2.0)))
4923 (define-public caribou
4929 (uri (string-append "mirror://gnome/sources/" name "/"
4930 (version-major+minor version) "/"
4931 name "-" version ".tar.xz"))
4934 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4935 (build-system glib-or-gtk-build-system)
4938 (modify-phases %standard-phases
4941 (lambda* (#:key outputs #:allow-other-keys)
4942 (let ((out (assoc-ref outputs "out")))
4943 ;; Use absolute shared library path in Caribou-1.0.typelib.
4944 (substitute* "libcaribou/Makefile"
4945 (("--shared-library=libcaribou.so")
4946 (string-append "--shared-library="
4947 out "/lib/libcaribou.so")))
4949 (add-after 'install 'wrap-programs
4950 (lambda* (#:key outputs #:allow-other-keys)
4951 (let* ((out (assoc-ref outputs "out"))
4952 (python-path (getenv "PYTHONPATH"))
4953 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4957 `("PYTHONPATH" ":" prefix (,python-path))
4958 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4959 (list (string-append out "/bin/caribou-preferences")
4960 (string-append out "/libexec/antler-keyboard"))))
4963 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4964 ("gobject-introspection" ,gobject-introspection)
4965 ("intltool" ,intltool)
4966 ("pkg-config" ,pkg-config)
4967 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4969 ("xsltproc" ,libxslt)))
4971 ;; caribou-1.0.pc refers to all these.
4972 `(("libgee" ,libgee)
4973 ("libxklavier" ,libxklavier)
4974 ("libxtst" ,libxtst)
4977 `(("clutter" ,clutter)
4980 ("python-pygobject" ,python2-pygobject)))
4981 (synopsis "Text entry and UI navigation application")
4982 (home-page "https://wiki.gnome.org/Projects/Caribou")
4984 "Caribou is an input assistive technology intended for switch and pointer
4986 (license license:lgpl2.1)))
4988 (define-public network-manager
4990 (name "network-manager")
4994 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4995 (version-major+minor version) "/"
4996 "NetworkManager-" version ".tar.xz"))
4999 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
5002 (use-modules (guix build utils))
5003 (substitute* "configure"
5004 ;; Replace libsystemd-login with libelogind.
5005 (("libsystemd-login") "libelogind"))
5006 (substitute* "src/devices/wwan/nm-modem-manager.c"
5007 (("systemd") "elogind"))
5008 (substitute* "src/nm-session-monitor.c"
5009 (("systemd") "elogind"))
5010 (substitute* "./src/nm-logging.c"
5011 (("systemd") "elogind"))))))
5012 (build-system gnu-build-system)
5014 "doc")) ; 8 MiB of gtk-doc HTML
5017 (let ((out (assoc-ref %outputs "out"))
5018 (doc (assoc-ref %outputs "doc"))
5019 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5021 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5022 "--with-consolekit=no"
5023 "--with-crypto=gnutls"
5024 "--disable-config-plugin-ibft"
5026 "--localstatedir=/var"
5027 (string-append "--with-udev-dir="
5029 (string-append "--with-dbus-sys-dir="
5030 out "/etc/dbus-1/system.d")
5031 (string-append "--with-html-dir="
5032 doc "/share/gtk-doc/html")
5033 (string-append "--with-dhclient=" dhclient)))
5035 (modify-phases %standard-phases
5036 (add-before 'configure 'pre-configure
5038 ;; These tests try to test aspects of network-manager's
5039 ;; functionality within restricted containers, but they don't
5040 ;; cope with being already in the Guix build jail as that jail
5041 ;; lacks some features that they would like to proxy over (like
5043 (substitute* '("Makefile.in")
5044 (("src/platform/tests/test-address-linux") " ")
5045 (("src/platform/tests/test-cleanup-linux") " ")
5046 (("src/platform/tests/test-link-linux") " ")
5047 (("src/platform/tests/test-route-linux") " ")
5048 (("src/devices/tests/test-arping") " ")
5049 (("src/devices/tests/test-lldp") " ")
5050 (("src/tests/test-route-manager-linux") " "))
5052 (add-before 'check 'pre-check
5054 ;; For the missing /etc/machine-id.
5055 (setenv "DBUS_FATAL_WARNINGS" "0")
5059 (zero? (system* "make"
5063 "nmstatedir=/tmp/nm"
5068 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5069 ("gobject-introspection" ,gobject-introspection)
5070 ("docbook-xsl" ,docbook-xsl)
5071 ("intltool" ,intltool)
5072 ("libxslt" ,libxslt)
5073 ("libxml2" ,libxml2)
5074 ("pkg-config" ,pkg-config)
5076 ("python" ,python-wrapper)
5077 ("python-dbus" ,python-dbus)
5078 ("python-pygobject" ,python-pygobject)))
5081 ("cyrus-sasl" ,cyrus-sasl)
5082 ("dbus-glib" ,dbus-glib)
5083 ("dnsmasq" ,dnsmasq)
5086 ("iptables" ,iptables)
5087 ("isc-dhcp" ,isc-dhcp)
5088 ("jansson" ,jansson)
5089 ("libgcrypt" ,libgcrypt)
5090 ("libgudev" ,libgudev)
5093 ("libsoup" ,libsoup)
5094 ("modem-manager" ,modem-manager)
5095 ("newt" ,newt) ;for the 'nmtui' console interface
5098 ("readline" ,readline)
5099 ("util-linux" ,util-linux)
5100 ("elogind" ,elogind)))
5101 (synopsis "Network connection manager")
5102 (home-page "https://www.gnome.org/projects/NetworkManager/")
5104 "NetworkManager is a system network service that manages your network
5105 devices and connections, attempting to keep active network connectivity when
5106 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5107 devices, and provides VPN integration with a variety of different VPN
5109 (license license:gpl2+)
5110 (properties '((upstream-name . "NetworkManager")))))
5112 (define-public network-manager-openvpn
5114 (name "network-manager-openvpn")
5119 "mirror://gnome/sources/NetworkManager-openvpn/"
5120 (version-major+minor version)
5121 "/NetworkManager-openvpn-" version ".tar.xz"))
5124 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5125 (build-system gnu-build-system)
5127 '(#:configure-flags '("--enable-absolute-paths")))
5129 `(("pkg-config" ,pkg-config)
5130 ("intltool" ,intltool)))
5133 ("openvpn" ,openvpn)
5134 ("network-manager" ,network-manager)
5135 ("network-manager-applet" ,network-manager-applet) ;for libnma
5136 ("libsecret" ,libsecret)))
5137 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5138 (synopsis "OpenVPN plug-in for NetworkManager")
5140 "This extension of NetworkManager allows it to take care of connections
5141 to virtual private networks (VPNs) via OpenVPN.")
5142 (license license:gpl2+)
5143 (properties `((upstream-name . "NetworkManager-openvpn")))))
5145 (define-public mobile-broadband-provider-info
5147 (name "mobile-broadband-provider-info")
5148 (version "20170310")
5152 "mirror://gnome/sources/"
5153 "mobile-broadband-provider-info/" version "/"
5154 "mobile-broadband-provider-info-" version ".tar.xz"))
5157 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5158 (build-system gnu-build-system)
5160 `(#:tests? #f)) ; No tests
5161 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5162 (synopsis "Database of broadband connection configuration")
5163 (description "Database of broadband connection configuration.")
5164 (license license:public-domain)))
5166 (define-public network-manager-applet
5168 (name "network-manager-applet")
5172 (uri (string-append "mirror://gnome/sources/" name "/"
5173 (version-major+minor version) "/"
5174 name "-" version ".tar.xz"))
5177 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5178 (build-system glib-or-gtk-build-system)
5179 (arguments '(#:configure-flags '("--disable-migration")))
5181 `(("intltool" ,intltool)
5182 ("gobject-introspection" ,gobject-introspection)
5183 ("pkg-config" ,pkg-config)))
5185 ;; libnm-gtk.pc refers to all these.
5186 `(("dbus-glib" ,dbus-glib)
5188 ("network-manager" ,network-manager)))
5190 `(("iso-codes" ,iso-codes)
5191 ("libgudev" ,libgudev)
5192 ("libnotify" ,libnotify)
5193 ("libsecret" ,libsecret)
5194 ("libselinux" ,libselinux)
5195 ("jansson" ,jansson) ; for team support
5196 ("modem-manager" ,modem-manager)))
5197 (synopsis "Applet for managing network connections")
5198 (home-page "https://www.gnome.org/projects/NetworkManager/")
5200 "This package contains a systray applet for NetworkManager. It displays
5201 the available networks and allows users to easily switch between them.")
5202 (license license:gpl2+)))
5204 (define-public libxml++
5210 (uri (string-append "mirror://gnome/sources/" name "/"
5211 (version-major+minor version) "/"
5212 name "-" version ".tar.xz"))
5215 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5216 (build-system gnu-build-system)
5217 ;; libxml++-3.0.pc refers to all these.
5219 `(("libxml2" ,libxml2)
5220 ("glibmm" ,glibmm)))
5223 ("pkg-config" ,pkg-config)))
5224 (home-page "http://libxmlplusplus.sourceforge.net/")
5225 (synopsis "C++ wrapper for XML parser library libxml2")
5227 "This package provides a C++ wrapper for the XML parser library
5229 (license license:lgpl2.1+)))
5231 (define-public libxml++-2
5238 (uri (string-append "mirror://gnome/sources/" name "/"
5239 (version-major+minor version) "/"
5240 name "-" version ".tar.xz"))
5243 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5251 (uri (string-append "mirror://gnome/sources/" name "/"
5252 (version-major+minor version) "/"
5253 name "-" version ".tar.xz"))
5256 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
5257 (build-system glib-or-gtk-build-system)
5260 `("--without-plymouth"
5261 "--disable-systemd-journal"
5263 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5264 ;; instead of having to replace it (i.e., stopping the mingetty
5265 ;; service for TTY 1 before starting GDM).
5266 "--with-initial-vt=7"
5268 ;; By default, GDM expects distributions to install a custom Xsession
5269 ;; script. It provides a generic one if --enable-gdm-xsession is set.
5270 "--enable-gdm-xsession"
5272 "--localstatedir=/var"
5273 ,(string-append "--with-default-path="
5274 (string-join '("/run/setuid-programs"
5275 "/run/current-system/profile/bin"
5276 "/run/current-system/profile/sbin")
5278 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5279 ;; XDG_DATA_DIRS so that it finds its schemas.
5280 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5282 (modify-phases %standard-phases
5284 'configure 'pre-configure
5286 ;; We don't have <systemd/sd-daemon.h>.
5287 (substitute* '("common/gdm-log.c"
5288 "daemon/gdm-server.c"
5289 "daemon/gdm-session-worker.c"
5290 "daemon/gdm-session-worker-job.c")
5291 (("#include <systemd/sd-daemon\\.h>") ""))
5292 ;; Use elogind for sd-login.
5293 (substitute* '("common/gdm-common.c"
5294 "daemon/gdm-manager.c"
5295 "libgdm/gdm-user-switching.c")
5296 (("#include <systemd/sd-login\\.h>")
5297 "#include <elogind/sd-login.h>"))
5298 ;; Check for elogind.
5299 (substitute* '("configure")
5302 ;; Look for system-installed sessions in
5303 ;; /run/current-system/profile/share.
5304 (substitute* '("libgdm/gdm-sessions.c"
5305 "daemon/gdm-session.c"
5306 "daemon/gdm-display.c"
5307 "daemon/gdm-launch-environment.c")
5309 "\"/run/current-system/profile/share/x")
5310 (("DATADIR \"/wayland")
5311 "\"/run/current-system/profile/share/wayland")
5312 (("DATADIR \"/gnome")
5313 "\"/run/current-system/profile/share/gnome"))
5314 (substitute* '("daemon/gdm-session.c")
5315 (("set_up_session_environment \\(self\\);")
5317 "set_up_session_environment (self);\n"
5318 ;; Propagate GDM_X_SERVER environment variable (which is set
5319 ;; by the GDM service, as it's a function of what X modules
5320 ;; the user decides to have available) down to worker
5322 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5323 " g_getenv (\"GDM_X_SERVER\"));\n"
5324 ;; FIXME: Really glib should be declaring XDG_CONFIG_DIRS as a
5325 ;; variable, but it doesn't do that right now. Anyway
5326 ;; /run/current-system/profile/share/gnome-session/sessions/gnome.desktop
5327 ;; requires that a number of .desktop files be present, and
5328 ;; these special .desktop files are in $XDG_CONFIG_DIRS (which
5329 ;; defaults to /etc/xdg if it's not set). Here we need to
5330 ;; provide a value such that the GNOME session's requirements
5331 ;; are met (provided GNOME is installed of course).
5332 "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n"
5333 " \"/run/current-system/profile/etc/xdg\");\n"
5335 ;; Look for custom GDM conf in /run/current-system.
5336 (substitute* '("common/gdm-settings-desktop-backend.c")
5337 (("GDM_CUSTOM_CONF")
5338 "\"/run/current-system/etc/gdm/custom.conf\""))
5339 ;; Use service-supplied path to X.
5340 (substitute* '("daemon/gdm-server.c")
5341 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5342 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5343 (substitute* '("daemon/gdm-x-session.c")
5345 "g_getenv (\"GDM_X_SERVER\")"))
5349 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5350 ("gobject-introspection" ,gobject-introspection)
5351 ("intltool" ,intltool)
5352 ("itstool" ,itstool)
5353 ("pkg-config" ,pkg-config)
5354 ("xmllint" ,libxml2)))
5356 `(("accountsservice" ,accountsservice)
5357 ("check" ,check) ; for testing
5358 ("elogind" ,elogind)
5360 ("iso-codes" ,iso-codes)
5361 ("libcanberra" ,libcanberra)
5362 ("linux-pam" ,linux-pam)))
5363 (synopsis "Display manager for GNOME")
5364 (home-page "https://wiki.gnome.org/Projects/GDM/")
5366 "GNOME Display Manager is a system service that is responsible for
5367 providing graphical log-ins and managing local and remote displays.")
5368 (license license:gpl2+)))
5370 (define-public libgtop
5376 (uri (string-append "mirror://gnome/sources/" name "/"
5377 (version-major+minor version) "/"
5378 name "-" version ".tar.xz"))
5381 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5382 (build-system gnu-build-system)
5384 `(("gobject-introspection" ,gobject-introspection)
5385 ("intltool" ,intltool)
5387 ("pkg-config" ,pkg-config)))
5389 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5390 (synopsis "Portable system access library")
5391 (home-page "https://www.gnome.org/")
5393 "LibGTop is a library to get system specific data such as CPU and memory
5394 usage and information about running processes.")
5395 (license license:gpl2+)))
5397 (define-public gnome-bluetooth
5399 (name "gnome-bluetooth")
5403 (uri (string-append "mirror://gnome/sources/" name "/"
5404 (version-major+minor version) "/"
5405 name "-" version ".tar.xz"))
5408 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5409 (build-system glib-or-gtk-build-system)
5411 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5412 ("gobject-introspection" ,gobject-introspection)
5413 ("intltool" ,intltool)
5414 ("pkg-config" ,pkg-config)
5415 ("xmllint" ,libxml2)))
5417 ;; gnome-bluetooth-1.0.pc refers to all these.
5421 `(("libcanberra" ,libcanberra)
5422 ("libnotify" ,libnotify)))
5423 (synopsis "GNOME Bluetooth subsystem")
5424 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5426 "This package contains tools for managing and manipulating Bluetooth
5427 devices using the GNOME desktop.")
5428 (license license:lgpl2.1+)))
5430 (define-public gnome-control-center
5432 (name "gnome-control-center")
5436 (uri (string-append "mirror://gnome/sources/" name "/"
5437 (version-major+minor version) "/"
5438 name "-" version ".tar.xz"))
5441 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5442 (build-system glib-or-gtk-build-system)
5445 (modify-phases %standard-phases
5446 (add-before 'configure 'patch-paths
5447 (lambda* (#:key inputs #:allow-other-keys)
5448 (let ((libc (assoc-ref inputs "libc"))
5449 (tzdata (assoc-ref inputs "tzdata")))
5450 (substitute* "panels/datetime/tz.h"
5451 (("/usr/share/zoneinfo/zone.tab")
5452 (string-append tzdata "/share/zoneinfo/zone.tab")))
5453 (substitute* "panels/datetime/test-endianess.c"
5454 (("/usr/share/locale")
5455 (string-append libc "/share/locale")))
5458 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5459 ("intltool" ,intltool)
5460 ("pkg-config" ,pkg-config)
5461 ("xsltproc" ,libxslt)))
5463 `(("accountsservice" ,accountsservice)
5464 ("clutter-gtk" ,clutter-gtk)
5465 ("colord-gtk" ,colord-gtk)
5468 ("docbook-xsl" ,docbook-xsl)
5469 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5470 ("gnome-bluetooth" ,gnome-bluetooth)
5471 ("gnome-desktop" ,gnome-desktop)
5472 ("gnome-online-accounts" ,gnome-online-accounts)
5473 ("gnome-settings-daemon" ,gnome-settings-daemon)
5476 ("libcanberra" ,libcanberra)
5477 ("libgudev" ,libgudev)
5478 ("libgtop" ,libgtop)
5479 ("libpwquality" ,libpwquality)
5480 ("libsoup" ,libsoup)
5481 ("libxml2" ,libxml2)
5482 ("libwacom" ,libwacom)
5484 ("mit-krb5" ,mit-krb5)
5485 ("modem-manager" ,modem-manager)
5486 ("network-manager-applet" ,network-manager-applet)
5488 ("pulseaudio" ,pulseaudio)
5489 ("smbclient" ,samba)
5491 ("upower" ,upower)))
5492 (synopsis "Utilities to configure the GNOME desktop")
5493 (home-page "https://www.gnome.org/")
5495 "This package contains configuration applets for the GNOME desktop,
5496 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5497 properties, sound setup, desktop theme and background, user interface
5498 properties, screen resolution, and other GNOME parameters.")
5499 (license license:gpl2+)))
5501 (define-public gnome-shell
5503 (name "gnome-shell")
5507 (uri (string-append "mirror://gnome/sources/" name "/"
5508 (version-major+minor version) "/"
5509 name "-" version ".tar.xz"))
5512 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
5513 (build-system glib-or-gtk-build-system)
5516 (modify-phases %standard-phases
5518 (lambda* (#:key outputs #:allow-other-keys)
5519 (let* ((out (assoc-ref outputs "out"))
5520 (keysdir (string-append
5521 out "/share/gnome-control-center/keybindings")))
5522 (zero? (system* "make"
5523 (string-append "keysdir=" keysdir)
5526 'install 'wrap-programs
5527 (lambda* (#:key outputs #:allow-other-keys)
5528 (let ((out (assoc-ref outputs "out"))
5529 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5530 (python-path (getenv "PYTHONPATH")))
5531 (wrap-program (string-append out "/bin/gnome-shell")
5532 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5535 (wrap-program (string-append out "/bin/" prog)
5536 `("PYTHONPATH" ":" prefix (,python-path))
5537 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5538 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5541 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5542 ("gobject-introspection" ,gobject-introspection)
5543 ("intltool" ,intltool)
5544 ("pkg-config" ,pkg-config)
5546 ("xsltproc" ,libxslt)))
5548 `(("accountsservice" ,accountsservice)
5549 ("caribou" ,caribou)
5550 ("docbook-xsl" ,docbook-xsl)
5551 ("evolution-data-server" ,evolution-data-server)
5555 ("gnome-bluetooth" ,gnome-bluetooth)
5556 ("gnome-control-center" ,gnome-control-center)
5557 ("gnome-desktop" ,gnome-desktop)
5558 ("gnome-settings-daemon" ,gnome-settings-daemon)
5559 ("gst-plugins-base" ,gst-plugins-base)
5561 ("libcanberra" ,libcanberra)
5562 ("libcroco" ,libcroco)
5563 ("libgweather" ,libgweather)
5564 ("libsoup" ,libsoup)
5565 ("mesa-headers" ,mesa-headers)
5567 ("network-manager-applet" ,network-manager-applet)
5569 ("pulseaudio" ,pulseaudio)
5570 ("python-pygobject" ,python-pygobject)
5571 ("startup-notification" ,startup-notification)
5572 ("telepathy-logger" ,telepathy-logger)
5574 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5575 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5576 ("librsvg" ,librsvg)
5577 ("geoclue" ,geoclue)
5578 ;; XXX: required by libgjs.la.
5579 ("readline" ,readline)))
5580 (synopsis "Desktop shell for GNOME")
5581 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5583 "GNOME Shell provides core user interface functions for the GNOME desktop,
5584 like switching to windows and launching applications.")
5585 (license license:gpl2+)))
5587 (define-public gtk-vnc
5594 (uri (string-append "mirror://gnome/sources/" name "/"
5595 (version-major+minor version) "/"
5596 name "-" version ".tar.xz"))
5599 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5600 (build-system gnu-build-system)
5602 '(#:configure-flags '("--with-gtk=3.0")))
5604 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5606 `(("cyrus-sasl" ,cyrus-sasl)
5608 ("libgcrypt" ,libgcrypt)
5609 ("pulseaudio" ,pulseaudio)))
5611 `(("glib:bin" ,glib "bin")
5612 ("gobject-introspection" ,gobject-introspection)
5613 ("intltool" ,intltool)
5614 ("pkg-config" ,pkg-config)
5616 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5617 (synopsis "VNC viewer widget for GTK+")
5619 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5620 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5621 GTK-VNC implements client side RFB protocol and authentication extensions such
5622 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5623 (license license:lgpl2.1+)))
5625 (define-public gnome-autoar
5627 (name "gnome-autoar")
5631 (uri (string-append "mirror://gnome/sources/" name "/"
5632 (version-major+minor version) "/"
5633 name "-" version ".tar.xz"))
5636 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
5637 (build-system glib-or-gtk-build-system)
5639 `(("gnome-common" ,gnome-common)
5640 ("gobject-introspection" ,gobject-introspection)
5641 ("pkg-config" ,pkg-config)))
5643 `(("libarchive" ,libarchive))) ; XXX document why
5646 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5647 (synopsis "Archives integration support for GNOME")
5648 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5650 "GNOME Autoar is a library which makes creating and extracting archives
5651 easy, safe, and automatic.")
5652 (license license:lgpl2.1+)))
5654 (define-public tracker
5660 (uri (string-append "mirror://gnome/sources/" name "/"
5661 (version-major+minor version) "/"
5662 name "-" version ".tar.xz"))
5665 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
5666 (build-system glib-or-gtk-build-system)
5668 `(("gnome-common" ,gnome-common)
5669 ("gobject-introspection" ,gobject-introspection)
5670 ("intltool" ,intltool)
5671 ("pkg-config" ,pkg-config)
5676 ("gstreamer" ,gstreamer)
5677 ("gst-plugins-base" ,gst-plugins-base)
5679 ("nettle" ,nettle) ; XXX why is this needed?
5680 ("poppler" ,poppler)
5682 ("libexif" ,libexif)
5684 ("libtiff" ,libtiff)
5685 ("libvorbis" ,libvorbis)
5687 ("totem-pl-parser" ,totem-pl-parser)
5690 ("libxml2" ,libxml2)
5692 ("libunistring" ,libunistring)
5694 ("json-glib" ,json-glib)
5695 ("openjpeg" ,openjpeg-1)
5696 ("libosinfo" ,libosinfo)
5698 ("libseccomp" ,libseccomp)
5699 ("libsoup" ,libsoup)
5700 ("libuuid" ,util-linux)))
5701 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5702 (synopsis "Metadata database, indexer and search tool")
5703 (home-page "https://wiki.gnome.org/Projects/Tracker")
5705 "Tracker is an advanced framework for first class objects with associated
5706 metadata and tags. It provides a one stop solution for all metadata, tags,
5707 shared object databases, search tools and indexing.")
5708 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5709 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5710 (license (list license:gpl2+
5712 license:lgpl2.0+))))
5714 (define-public nautilus
5717 (version "3.24.2.1")
5720 (uri (string-append "mirror://gnome/sources/" name "/"
5721 (version-major+minor version) "/"
5722 name "-" version ".tar.xz"))
5725 "1cv138z04qx0fh1a2z2hvxy4p1x15vdv5gmkx5f3hb6c3w2rsz9m"))))
5726 (build-system glib-or-gtk-build-system)
5729 '("--disable-selinux") ; XXX: not packaged
5730 ;; XXX: FAIL: check-nautilus
5731 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5734 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5735 ("gobject-introspection" ,gobject-introspection)
5736 ("intltool" ,intltool)
5737 ("pkg-config" ,pkg-config)))
5742 ("gnome-desktop" ,gnome-desktop)
5743 ("gnome-autoar" ,gnome-autoar)
5744 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5745 ("tracker" ,tracker)
5746 ;; XXX: gtk+ is required by libnautilus-extension.pc
5748 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5750 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5752 ("libexif" ,libexif)
5753 ("libxml2" ,libxml2)))
5754 (synopsis "File manager for GNOME")
5755 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5757 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5758 design and behaviour, giving the user a simple way to navigate and manage its
5760 (license license:gpl2+)))
5762 (define-public baobab
5769 "mirror://gnome/sources/" name "/"
5770 (version-major+minor version) "/"
5771 name "-" version ".tar.xz"))
5774 "0zkqxyqyxd6j270jf5hbcrb3yh4k31ddh40v4cjhgngm8mcsnnbs"))))
5775 (build-system glib-or-gtk-build-system)
5777 `(("intltool" ,intltool)
5778 ("pkg-config" ,pkg-config)
5779 ("itstool" ,itstool)
5780 ("xmllint" ,libxml2)
5781 ("glib" ,glib "bin")
5785 (synopsis "Disk usage analyzer for GNOME")
5787 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5788 usage in the GNOME desktop environment. It can easily scan device volumes or
5789 a specific user-requested directory branch (local or remote). Once the scan
5790 is complete it provides a graphical representation of each selected folder.")
5791 (home-page "https://wiki.gnome.org/Apps/Baobab")
5792 (license license:gpl2+)))
5794 (define-public gnome-backgrounds
5796 (name "gnome-backgrounds")
5801 (uri (string-append "mirror://gnome/sources/" name "/"
5802 (version-major+minor version) "/"
5803 name "-" version ".tar.xz"))
5806 "0kzrh5h0cfby3rhsy31d1w1c0rr3wcc845kv6zibqw1x8v9si2rs"))))
5807 (build-system glib-or-gtk-build-system)
5809 `(("intltool" ,intltool)))
5810 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5811 (synopsis "Background images for the GNOME desktop")
5813 "GNOME backgrounds package contains a collection of graphics files which
5814 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5815 the package creates the proper framework and directory structure so that you
5816 can add your own files to the collection.")
5817 (license (list license:gpl2+
5820 license:cc-by-sa3.0))))
5822 (define-public gnome-screenshot
5824 (name "gnome-screenshot")
5829 (uri (string-append "mirror://gnome/sources/" name "/"
5830 (version-major+minor version) "/"
5831 name "-" version ".tar.xz"))
5834 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5835 (build-system glib-or-gtk-build-system)
5837 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5838 ("intltool" ,intltool)
5839 ("pkg-config" ,pkg-config)))
5842 ("libcanberra" ,libcanberra)
5844 ("libxext" ,libxext)))
5845 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5846 (synopsis "Take pictures of your screen")
5848 "GNOME Screenshot is a utility used for taking screenshots of the entire
5849 screen, a window or a user defined area of the screen, with optional
5850 beautifying border effects.")
5851 (license license:gpl2+)))
5853 (define-public dconf-editor
5855 (name "dconf-editor")
5860 (uri (string-append "mirror://gnome/sources/" name "/"
5861 (version-major+minor version) "/"
5862 name "-" version ".tar.xz"))
5865 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
5866 (build-system glib-or-gtk-build-system)
5869 (modify-phases %standard-phases
5870 (add-before 'install 'skip-gtk-update-icon-cache
5872 ;; Don't create 'icon-theme.cache'.
5873 (substitute* "editor/Makefile"
5874 (("gtk-update-icon-cache") "true"))
5877 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5878 ("intltool" ,intltool)
5879 ("pkg-config" ,pkg-config)))
5883 ("libxml2" ,libxml2)))
5884 (home-page "https://git.gnome.org/browse/dconf-editor")
5885 (synopsis "Graphical editor for GNOME's dconf configuration system")
5887 "Dconf-editor is a graphical tool for browsing and editing the dconf
5888 configuration system for GNOME. It allows users to configure desktop
5889 software that do not provide their own configuration interface.")
5890 (license license:lgpl2.1+)))
5892 (define-public gnome-default-applications
5894 (name "gnome-default-applications")
5896 (build-system trivial-build-system)
5899 `(("nautilus" ,nautilus)
5900 ("evince" ,evince)))
5902 `(#:modules ((guix build utils))
5905 (use-modules (guix build utils))
5906 (let* ((out (assoc-ref %outputs "out"))
5907 (apps (string-append out "/share/applications")))
5909 (call-with-output-file (string-append apps "/defaults.list")
5911 (format port "[Default Applications]\n")
5912 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
5913 (format port "application/pdf=evince.desktop\n")
5914 (format port "application/postscript=evince.desktop\n")))
5916 (synopsis "Default MIME type associations for the GNOME desktop")
5918 "Given many installed packages which might handle a given MIME type, a
5919 user running the GNOME desktop probably has some preferences: for example,
5920 that folders be opened by default by the Nautilus file manager, not the Baobab
5921 disk usage analyzer. This package establishes that set of default MIME type
5922 associations for GNOME.")
5923 (license license:gpl3+)
5926 (define-public gnome
5929 (version (package-version gnome-shell))
5931 (build-system trivial-build-system)
5932 (arguments '(#:builder (mkdir %output)))
5934 ;; TODO: Add more packages according to:
5935 ;; <https://packages.debian.org/jessie/gnome-core>.
5936 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5938 ("font-cantarell" ,font-cantarell)
5939 ("font-dejavu" ,font-dejavu)
5940 ("at-spi2-core" ,at-spi2-core)
5943 ("desktop-file-utils" ,desktop-file-utils)
5945 ("epiphany" ,epiphany)
5947 ("file-roller" ,file-roller)
5949 ("glib-networking" ,glib-networking)
5950 ("gnome-backgrounds" ,gnome-backgrounds)
5951 ("gnome-bluetooth" ,gnome-bluetooth)
5952 ("gnome-calculator" ,gnome-calculator)
5953 ("gnome-control-center" ,gnome-control-center)
5954 ("gnome-disk-utility" ,gnome-disk-utility)
5955 ("gnome-default-applications" ,gnome-default-applications)
5956 ("gnome-keyring" ,gnome-keyring)
5957 ("gnome-online-accounts" ,gnome-online-accounts)
5958 ("gnome-session" ,gnome-session)
5959 ("gnome-settings-daemon" ,gnome-settings-daemon)
5960 ("gnome-shell" ,gnome-shell)
5961 ("gnome-system-monitor" ,gnome-system-monitor)
5962 ("gnome-terminal" ,gnome-terminal)
5963 ("gnome-themes-standard" ,gnome-themes-standard)
5964 ("gst-plugins-base" ,gst-plugins-base)
5965 ("gst-plugins-good" ,gst-plugins-good)
5966 ("gucharmap" ,gucharmap)
5968 ("hicolor-icon-theme" ,hicolor-icon-theme)
5969 ("nautilus" ,nautilus)
5970 ("pinentry-gnome3" ,pinentry-gnome3)
5971 ("pulseaudio" ,pulseaudio)
5972 ("shared-mime-info" ,shared-mime-info)
5974 ("xdg-user-dirs" ,xdg-user-dirs)
5976 ("zenity" ,zenity)))
5977 (synopsis "The GNU desktop environment")
5978 (home-page "https://www.gnome.org/")
5980 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5981 applications for browsing the web, editing text and images, creating
5982 documents and diagrams, playing media, scanning, and much more.")
5983 (license license:gpl2+)))
5985 (define-public byzanz
5986 ;; The last stable release of Byzanz was in 2011, but there have been many
5987 ;; useful commits made to the Byzanz repository since then that it would be
5988 ;; silly to use such an old release.
5989 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5992 (version (string-append "0.2-1." (string-take commit 7)))
5996 (url "https://git.gnome.org/browse/byzanz")
5998 (file-name (string-append name "-" version "-checkout"))
6001 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6002 (build-system glib-or-gtk-build-system)
6005 (modify-phases %standard-phases
6006 (add-after 'unpack 'bootstrap
6008 ;; The build system cleverly detects that we're not building from
6009 ;; a release tarball and turns on -Werror for GCC.
6010 ;; Unsurprisingly, there is a warning during compilation that
6011 ;; causes the build to fail unnecessarily, so we remove the flag.
6012 (substitute* '("configure.ac")
6014 ;; The autogen.sh script in gnome-common will run ./configure
6015 ;; by default, which is problematic because source shebangs
6016 ;; have not yet been patched.
6017 (setenv "NOCONFIGURE" "t")
6018 (zero? (system* "sh" "autogen.sh")))))))
6020 `(("autoconf" ,autoconf)
6021 ("automake" ,automake)
6022 ("gnome-common" ,gnome-common)
6023 ("intltool" ,intltool)
6024 ("libtool" ,libtool)
6025 ("pkg-config" ,pkg-config)
6029 ("gstreamer" ,gstreamer)
6030 ("gst-plugins-base" ,gst-plugins-base)
6032 (synopsis "Desktop recording program")
6033 (description "Byzanz is a simple desktop recording program with a
6034 command-line interface. It can record part or all of an X display for a
6035 specified duration and save it as a GIF encoded animated image file.")
6036 (home-page "https://git.gnome.org/browse/byzanz")
6037 (license license:gpl2+))))
6039 (define-public gsound
6045 (uri (string-append "mirror://gnome/sources/" name "/"
6046 (version-major+minor version) "/"
6047 name "-" version ".tar.xz"))
6050 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6051 (build-system glib-or-gtk-build-system)
6053 `(("pkg-config" ,pkg-config)
6054 ("gobject-introspection" ,gobject-introspection)
6058 ("libcanberra" ,libcanberra)))
6059 (home-page "https://wiki.gnome.org/Projects/GSound")
6060 (synopsis "GObject wrapper for libcanberra")
6062 "GSound is a small library for playing system sounds. It's designed to be
6063 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6065 (license license:lgpl2.1+)))
6067 (define-public libzapojit
6073 (uri (string-append "mirror://gnome/sources/" name "/"
6074 (version-major+minor version) "/"
6075 name "-" version ".tar.xz"))
6078 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6079 (build-system gnu-build-system)
6081 `(("gobject-introspection" ,gobject-introspection)
6082 ("intltool" ,intltool)
6083 ("pkg-config" ,pkg-config)))
6085 `(("gnome-online-accounts" ,gnome-online-accounts)
6086 ("json-glib" ,json-glib)
6088 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6089 (synopsis "Library for accessing SkyDrive and Hotmail")
6091 "Libzapojit is a GLib-based library for accessing online service APIs of
6092 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6093 (license license:lgpl2.1+)))
6095 (define-public gnome-clocks
6097 (name "gnome-clocks")
6101 (uri (string-append "mirror://gnome/sources/" name "/"
6102 (version-major+minor version) "/"
6103 name "-" version ".tar.xz"))
6106 "1xqirnf7xkiv5vj3ng4slpyh50ihn625vhdgskfzx83a3pgxin1b"))))
6107 (build-system meson-build-system)
6109 '(#:glib-or-gtk? #t))
6112 ("pkg-config" ,pkg-config)
6113 ("glib" ,glib "bin") ; for glib-compile-resources
6114 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6115 ("desktop-file-utils" ,desktop-file-utils)
6116 ("gettext" ,gettext-minimal)
6117 ("itstool" ,itstool)))
6122 ("geoclue" ,geoclue)
6123 ("geocode-glib" ,geocode-glib)
6124 ("libgweather" ,libgweather)
6125 ("gnome-desktop" ,gnome-desktop)))
6126 (home-page "https://wiki.gnome.org/Apps/Clocks")
6127 (synopsis "GNOME's clock application")
6129 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6130 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6131 (license license:gpl3+)))
6133 (define-public gnome-calendar
6135 (name "gnome-calendar")
6139 (uri (string-append "mirror://gnome/sources/" name "/"
6140 (version-major+minor version) "/"
6141 name "-" version ".tar.xz"))
6144 "03n51mvlc0vabr1rx9577z927icl3mrxrrv8zckfjav6p4vwg8hr"))))
6145 (build-system meson-build-system)
6148 ;; gnome-calendar has to be installed before the tests can be run
6149 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6152 `(("gettext" ,gettext-minimal)
6153 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6154 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6155 ("pkg-config" ,pkg-config)))
6157 `(("evolution-data-server" ,evolution-data-server)
6158 ("gnome-online-accounts" ,gnome-online-accounts)
6159 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6160 (home-page "https://wiki.gnome.org/Apps/Calendar")
6161 (synopsis "GNOME's calendar application")
6163 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6164 desktop. It supports multiple calendars, month, week and year view.")
6165 (license license:gpl3+)))
6167 (define-public gnome-todo
6173 (uri (string-append "mirror://gnome/sources/" name "/"
6174 (version-major+minor version) "/"
6175 name "-" version ".tar.xz"))
6178 "106xx1w18pxjmj5k0k2qjzi6b3c3kaz7b5kyrpknykibnr401ff9"))))
6179 (build-system meson-build-system)
6182 #:phases (modify-phases %standard-phases
6184 'install 'wrap-gnome-todo
6185 (lambda* (#:key inputs outputs #:allow-other-keys)
6186 (let ((out (assoc-ref outputs "out"))
6187 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6188 (python-path (getenv "PYTHONPATH")))
6189 (wrap-program (string-append out "/bin/gnome-todo")
6190 ;; XXX: gi plugins are broken.
6191 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6193 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6194 `("PYTHONPATH" ":" prefix (,python-path))))
6197 `(("gettext" ,gettext-minimal)
6198 ("gobject-introspection" ,gobject-introspection)
6199 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6200 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6201 ("pkg-config" ,pkg-config)))
6203 `(("rest" ,rest) ; For Todoist plugin
6204 ("json-glib" ,json-glib) ; For Todoist plugin
6205 ("libical" ,libical)
6206 ("libpeas" ,libpeas)
6207 ("python-pygobject" ,python-pygobject)
6208 ("evolution-data-server" ,evolution-data-server)
6209 ("gnome-online-accounts" ,gnome-online-accounts)
6210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6211 (home-page "https://wiki.gnome.org/Apps/Todo")
6212 (synopsis "GNOME's ToDo Application")
6214 "GNOME To Do is a simplistic personal task manager designed to perfectly
6215 fit the GNOME desktop.")
6216 (license license:gpl3+)))
6218 (define-public gnome-dictionary
6220 (name "gnome-dictionary")
6224 (uri (string-append "mirror://gnome/sources/" name "/"
6225 (version-major+minor version) "/"
6226 name "-" version ".tar.xz"))
6229 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
6230 (build-system glib-or-gtk-build-system)
6232 `(("glib:bin" ,glib "bin")
6233 ("gobject-introspection" ,gobject-introspection)
6234 ("intltool" ,intltool)
6235 ("itstool" ,itstool)
6236 ("pkg-config" ,pkg-config)
6237 ("xmllint" ,libxml2)))
6239 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6241 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6242 (synopsis "Look up words in dictionary sources")
6244 "GNOME Dictionary can look for the definition or translation of a word in
6245 existing databases over the internet.")
6246 (license license:gpl3+)))
6248 (define-public gnome-tweak-tool
6250 (name "gnome-tweak-tool")
6254 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6255 (version-major+minor version) "/"
6256 "gnome-tweak-tool-" version ".tar.xz"))
6258 (search-patch "gnome-tweak-tool-search-paths.patch")))
6261 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
6262 (build-system glib-or-gtk-build-system)
6264 `(#:configure-flags '("--localstatedir=/tmp"
6265 "--sysconfdir=/tmp")
6266 #:imported-modules ((guix build python-build-system)
6267 ,@%glib-or-gtk-build-system-modules)
6268 #:phases (modify-phases %standard-phases
6269 (add-after 'install 'wrap-program
6270 (lambda* (#:key outputs #:allow-other-keys)
6271 (let ((out (assoc-ref outputs "out"))
6272 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6273 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6274 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6276 (add-after 'install 'wrap
6277 (@@ (guix build python-build-system) wrap)))))
6279 `(("intltool" ,intltool)
6280 ("pkg-config" ,pkg-config)))
6282 `(("python" ,python-2)
6283 ("python2-pygobject" ,python2-pygobject)
6284 ("gnome-desktop" ,gnome-desktop)
6285 ("libsoup" ,libsoup)
6286 ("libnotify" ,libnotify)
6287 ("gobject-introspection" ,gobject-introspection)
6288 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6290 (synopsis "Customize advanced GNOME 3 options")
6291 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6293 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6294 GNOME 3. This includes things like the fonts used in user interface elements,
6295 alternative user interface themes, changes in window management behavior,
6296 GNOME Shell appearance and extension, etc.")
6297 (license license:gpl3+)))
6299 (define-public gnome-shell-extensions
6301 (name "gnome-shell-extensions")
6305 (uri (string-append "mirror://gnome/sources/" name "/"
6306 (version-major+minor version) "/"
6307 name "-" version ".tar.xz"))
6310 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
6311 (build-system gnu-build-system)
6313 '(#:configure-flags '("--enable-extensions=all")))
6315 `(("intltool" ,intltool)
6316 ("pkg-config" ,pkg-config)))
6319 ("glib" ,glib "bin")))
6320 (synopsis "Extensions for GNOME Shell")
6321 (description "GNOME Shell extensions modify and extend GNOME Shell
6322 functionality and behavior.")
6323 (home-page "https://extensions.gnome.org/")
6324 (license license:gpl3+)))
6326 (define-public arc-theme
6329 (version "20170302")
6332 (uri (string-append "https://github.com/horst3180/arc-theme"
6333 "/archive/" version ".tar.gz"))
6334 (file-name (string-append name "-" version ".tar.gz"))
6337 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
6338 (build-system gnu-build-system)
6341 (modify-phases %standard-phases
6342 (add-after 'unpack 'bootstrap
6344 (zero? (system* "autoreconf" "-vif")))))))
6346 `(("autoconf" ,autoconf)
6347 ("automake" ,automake)
6348 ("pkg-config" ,pkg-config)))
6351 (synopsis "A flat GTK+ theme with transparent elements")
6352 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6353 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6354 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6355 (home-page "https://github.com/horst3180/arc-theme")
6356 ;; No "or later" language found.
6357 (license license:gpl3)))
6359 (define-public faba-icon-theme
6361 (name "faba-icon-theme")
6366 (uri (string-append "https://github.com/moka-project/"
6367 name "/archive/v" version ".tar.gz"))
6368 (file-name (string-append name "-" version ".tar.gz"))
6371 "0hi2dl627ayfnihn3v6x9xzid668m4hp098hb7hrkxvahh4h9by7"))))
6372 (build-system gnu-build-system)
6375 (modify-phases %standard-phases
6376 (add-after 'unpack 'patch-makefile.am
6378 (substitute* '("Makefile.am")
6379 (("\\$\\(DESTDIR\\)/usr/share")
6382 (add-after 'patch-makefile.am 'bootstrap
6384 (zero? (system* "autoreconf" "-vif")))))))
6386 `(("autoconf" ,autoconf)
6387 ("automake" ,automake)))
6388 (synopsis "Faba icon theme")
6390 "Faba is a minimal icon set used as a basis for other themes such as
6392 (home-page "https://snwh.org/moka")
6393 (license (list license:lgpl3+
6394 license:cc-by-sa4.0))))
6396 (define-public moka-icon-theme
6398 (inherit faba-icon-theme)
6399 (name "moka-icon-theme")
6403 (uri (string-append "https://github.com/moka-project"
6404 "/moka-icon-theme/archive/v"
6406 (file-name (string-append name "-" version ".tar.gz"))
6409 "04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
6411 ;; Moka is based on Faba by using it as a fallback icon set instead of
6412 ;; bundling it, so we need to add it as a propagated input.
6413 `(("faba-icon-theme" ,faba-icon-theme)))
6414 (synopsis "Moka icon theme")
6415 (description "Moka is a stylized desktop icon set, designed to be clear,
6416 simple and consistent.")
6417 (license (list license:gpl3+
6418 license:cc-by-sa4.0))))
6420 (define-public arc-icon-theme
6422 (name "arc-icon-theme")
6423 (version "20161122")
6426 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6427 "/archive/" version ".tar.gz"))
6428 (file-name (string-append name "-" version ".tar.gz"))
6431 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6432 (build-system gnu-build-system)
6435 (modify-phases %standard-phases
6436 (add-after 'unpack 'bootstrap
6438 (zero? (system* "autoreconf" "-vif")))))))
6440 `(("autoconf" ,autoconf)
6441 ("automake" ,automake)))
6442 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6444 `(("moka-icon-theme" ,moka-icon-theme)))
6445 (synopsis "Arc icon theme")
6446 (description "The Arc icon theme provides a set of icons matching the
6447 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6448 the Moka icon theme.")
6449 (home-page "https://github.com/horst3180/arc-icon-theme")
6450 (license license:gpl3+)))
6452 (define-public folks
6459 "mirror://gnome/sources/" name "/"
6460 (version-major+minor version) "/"
6461 name "-" version ".tar.xz"))
6464 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6465 (build-system glib-or-gtk-build-system)
6468 ("dbus-glib" ,dbus-glib)
6469 ("evolution-data-server" ,evolution-data-server)
6472 ("telepathy-glib" ,telepathy-glib)))
6474 `(("gobject-introspection" ,gobject-introspection)
6475 ("intltool" ,intltool)
6476 ("pkg-config" ,pkg-config)
6478 (synopsis "Library to aggregate data about people")
6479 (description "Libfolks is a library that aggregates information about people
6480 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6481 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6482 etc.) to create metacontacts. It's written in Vala, which generates C code when
6484 (home-page "https://wiki.gnome.org/Projects/Folks")
6485 (license license:lgpl2.1+)))
6487 (define-public gfbgraph
6494 "mirror://gnome/sources/" name "/"
6495 (version-major+minor version) "/"
6496 name "-" version ".tar.xz"))
6499 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6500 (build-system glib-or-gtk-build-system)
6502 `(#:tests? #f ; Tests appear to require the network.
6503 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6504 #:configure-flags '("--disable-gtk-doc"
6506 "--enable-introspection")))
6508 `(("pkg-config" ,pkg-config)
6509 ("gobject-introspection" ,gobject-introspection)))
6511 `(("json-glib" ,json-glib)
6512 ("gnome-online-accounts" ,gnome-online-accounts)
6514 (synopsis "GLib/GObject wrapper for the Facebook API")
6515 (description "This library allows you to use the Facebook API from
6516 GLib/GObject code.")
6517 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6518 (license license:lgpl2.1+)))
6520 (define-public libgnomekbd
6522 (name "libgnomekbd")
6523 (version "3.22.0.1")
6526 (uri (string-append "mirror://gnome/sources/" name "/"
6527 (version-major+minor version) "/"
6528 name "-" version ".tar.xz"))
6531 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6532 (build-system gnu-build-system)
6534 `(("pkg-config" ,pkg-config)
6535 ("glib" ,glib "bin")
6536 ("intltool" ,intltool)))
6538 ;; Referred to in .h files and .pc.
6541 ("libxklavier" ,libxklavier)))
6542 (home-page "https://www.gnome.org")
6543 (synopsis "GNOME keyboard configuration library")
6545 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6546 environment, which can notably display keyboard layouts.")
6547 (license license:lgpl2.0+)))
6549 ;;; This package is no longer maintained:
6550 ;;; https://wiki.gnome.org/Attic/LibUnique
6551 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6552 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6553 (define-public libunique
6559 (uri (string-append "mirror://gnome/sources/" name "/"
6560 (version-major+minor version) "/"
6561 name "-" version ".tar.xz"))
6564 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6565 (build-system glib-or-gtk-build-system)
6567 `(#:configure-flags '("--disable-static"
6568 "--disable-dbus" ; use gdbus
6569 "--enable-introspection")))
6571 `(("pkg-config" ,pkg-config)
6572 ("gobject-introspection" ,gobject-introspection)
6573 ("glib:bin" ,glib "bin")
6574 ("gtk-doc" ,gtk-doc)))
6576 ;; Referred to in .h files and .pc.
6578 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6579 (synopsis "Library for writing single instance applications")
6581 "Libunique is a library for writing single instance applications. If you
6582 launch a single instance application twice, the second instance will either just
6583 quit or will send a message to the running instance. Libunique makes it easy to
6584 write this kind of application, by providing a base class, taking care of all
6585 the IPC machinery needed to send messages to a running instance, and also
6586 handling the startup notification side.")
6587 (license license:lgpl2.1+)))
6589 (define-public gnome-calculator
6591 (name "gnome-calculator")
6596 (uri (string-append "mirror://gnome/sources/" name "/"
6597 (version-major+minor version) "/"
6598 name "-" version ".tar.xz"))
6601 "1iv3b3mvqxm17r5gv15dyq6gz08w0ljhzgbf22xnnfnpzhvmn8b2"))))
6602 (build-system glib-or-gtk-build-system)
6604 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6605 ("intltool" ,intltool)
6606 ("itstool" ,itstool)
6607 ("pkg-config" ,pkg-config)))
6609 `(("gtksourceview" ,gtksourceview)
6610 ("libsoup" ,libsoup)
6613 (home-page "https://wiki.gnome.org/Apps/Calculator")
6614 (synopsis "Desktop calculator")
6616 "Calculator is an application that solves mathematical equations and
6617 is suitable as a default application in a Desktop environment.")
6618 (license license:gpl3)))
6627 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
6628 name "-" version ".tar.bz2"))
6631 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
6632 (build-system gnu-build-system)
6634 `(("intltool" ,intltool)
6635 ("pkg-config" ,pkg-config)))
6638 ("gtksourceview" ,gtksourceview)
6640 (home-page "https://wiki.gnome.org/Apps/Xpad")
6641 (synopsis "Virtual sticky note")
6643 "Xpad is a sticky note that strives to be simple, fault tolerant,
6644 and customizable. Xpad consists of independent pad windows, each is
6645 basically a text box in which notes can be written.")
6646 (license license:gpl3+)))
6648 (define-public gucharmap
6655 (uri (string-append "mirror://gnome/sources/" name "/"
6656 (version-major+minor version) "/"
6657 name "-" version ".tar.xz"))
6660 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6661 (build-system glib-or-gtk-build-system)
6663 `(("desktop-file-utils" ,desktop-file-utils)
6664 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6665 ("gobject-introspection" ,gobject-introspection)
6666 ("intltool" ,intltool)
6667 ("itstool" ,itstool)
6668 ("pkg-config" ,pkg-config)))
6671 ("xmllint" ,libxml2)))
6672 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6673 (synopsis "Unicode character picker and font browser")
6675 "This program allows you to browse through all the available Unicode
6676 characters and categories for the installed fonts, and to examine their
6677 detailed properties. It is an easy way to find the character you might
6678 only know by its Unicode name or code point.")
6679 (license license:gpl3+)))
6681 (define-public bluefish
6688 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6689 name "-" version ".tar.gz"))
6692 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
6693 (build-system gnu-build-system)
6695 `(("desktop-file-utils" ,desktop-file-utils)
6696 ("intltool" ,intltool)
6697 ("pkg-config" ,pkg-config)))
6699 `(("enchant" ,enchant)
6701 ("python" ,python-2)
6702 ("xmllint" ,libxml2)
6703 ("gucharmap" ,gucharmap)))
6704 (home-page "http://bluefish.openoffice.nl")
6705 (synopsis "Web development studio")
6707 "Bluefish is an editor targeted towards programmers and web developers,
6708 with many options to write web sites, scripts and other code.
6709 Bluefish supports many programming and markup languages.")
6710 (license license:gpl3+)))
6712 (define-public gnome-system-monitor
6714 (name "gnome-system-monitor")
6719 (uri (string-append "mirror://gnome/sources/" name "/"
6720 (version-major+minor version) "/"
6721 name "-" version ".tar.xz"))
6724 "1cz6s0cvagj422f9dc231nvg8jsfkva5s81skpq4q5jyrb1ahj7q"))))
6725 (build-system glib-or-gtk-build-system)
6727 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6728 ("intltool" ,intltool)
6729 ("itstool" ,itstool)
6730 ("libgtop" ,libgtop)
6731 ("pkg-config" ,pkg-config)))
6733 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6736 ("librsvg" ,librsvg)
6737 ("libxml2" ,libxml2)))
6738 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6739 (synopsis "Process viewer and system resource monitor for GNOME")
6741 "GNOME System Monitor is a GNOME process viewer and system monitor with
6742 an attractive, easy-to-use interface. It has features, such as a tree view
6743 for process dependencies, icons for processes, the ability to hide processes,
6744 graphical time histories of CPU/memory/swap usage and the ability to
6745 kill/reinice processes.")
6746 (license license:gpl2+)))
6748 (define-public python-pyatspi
6750 (name "python-pyatspi")
6755 "mirror://gnome/sources/pyatspi/"
6756 (version-major+minor version)
6757 "/pyatspi-" version ".tar.xz"))
6760 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6761 (build-system gnu-build-system)
6763 `(("pkg-config" ,pkg-config)))
6765 `(("python" ,python)
6766 ("python-pygobject" ,python-pygobject)))
6767 (synopsis "Python client bindings for D-Bus AT-SPI")
6768 (home-page "https://wiki.linuxfoundation.org/accessibility\
6769 /atk/at-spi/at-spi_on_d-bus")
6771 "This package includes a python client library for the AT-SPI D-Bus
6772 accessibility infrastructure.")
6773 (license license:lgpl2.0)
6774 (properties '((upstream-name . "pyatspi")))))
6783 "mirror://gnome/sources/" name "/"
6784 (version-major+minor version) "/"
6785 name "-" version ".tar.xz"))
6788 "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7"))))
6789 (build-system glib-or-gtk-build-system)
6792 (modify-phases %standard-phases
6793 (add-before 'configure 'qualify-xkbcomp
6794 (lambda* (#:key inputs #:allow-other-keys)
6795 (let ((xkbcomp (string-append
6796 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6797 (substitute* "src/orca/orca.py"
6798 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6800 (add-after 'install 'wrap-orca
6801 (lambda* (#:key outputs #:allow-other-keys)
6802 (let* ((out (assoc-ref outputs "out"))
6803 (prog (string-append out "/bin/orca")))
6805 `("GI_TYPELIB_PATH" ":" prefix
6806 (,(getenv "GI_TYPELIB_PATH")))
6807 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6808 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6809 `("PYTHONPATH" ":" prefix
6810 (,(getenv "PYTHONPATH")))))
6813 `(("intltool" ,intltool)
6814 ("itstool" ,itstool)
6815 ("pkg-config" ,pkg-config)
6816 ("xmllint" ,libxml2)))
6818 `(("at-spi2-atk" ,at-spi2-atk)
6819 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6820 ("gstreamer" ,gstreamer)
6821 ("gst-plugins-base" ,gst-plugins-base)
6822 ("gst-plugins-good" ,gst-plugins-good)
6825 ("python-pygobject" ,python-pygobject)
6826 ("python-pyatspi" ,python-pyatspi)
6827 ("python-speechd" ,speech-dispatcher)
6828 ("xkbcomp" ,xkbcomp)))
6830 "Screen reader for individuals who are blind or visually impaired")
6831 (home-page "https://wiki.gnome.org/Projects/Orca")
6833 "Orca is a screen reader that provides access to the graphical desktop
6834 via speech and refreshable braille. Orca works with applications and toolkits
6835 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6836 (license license:lgpl2.1+)))
6838 (define-public gspell
6844 (uri (string-append "mirror://gnome/sources/" name "/"
6845 (version-major+minor version) "/"
6846 name "-" version ".tar.xz"))
6849 "1683vyyfq3q0ph665jj6id8hnlyid4qxzmqiwpv97gmz8zksg6x5"))
6850 (patches (search-patches "gspell-dash-test.patch"))))
6851 (build-system glib-or-gtk-build-system)
6854 (modify-phases %standard-phases
6855 (add-before 'check 'pre-check
6856 (lambda* (#:key inputs #:allow-other-keys)
6857 ;; Tests require a running X server.
6858 (system "Xvfb :1 &")
6859 (setenv "DISPLAY" ":1")
6861 ;; For the missing /etc/machine-id.
6862 (setenv "DBUS_FATAL_WARNINGS" "0")
6864 ;; Allow Enchant and its Aspell backend to find the en_US
6866 (setenv "ASPELL_DICT_DIR"
6867 (string-append (assoc-ref inputs "aspell-dict-en")
6873 ("iso-codes" ,iso-codes)))
6875 `(("glib" ,glib "bin")
6876 ("pkg-config" ,pkg-config)
6877 ("xmllint" ,libxml2)
6880 ("aspell-dict-en" ,aspell-dict-en)
6881 ("xorg-server" ,xorg-server)))
6883 `(("enchant" ,enchant))) ; enchant.pc is required by gspell-1.pc
6884 (home-page "https://wiki.gnome.org/Projects/gspell")
6885 (synopsis "GNOME's alternative spell checker")
6887 "gspell provides a flexible API to add spell-checking to a GTK+
6888 application. It provides a GObject API, spell-checking to text entries and
6889 text views, and buttons to choose the language.")
6890 (license license:gpl2+)))
6892 (define-public gnome-planner
6894 (name "gnome-planner")
6898 (uri (string-append "mirror://gnome/sources/planner/"
6899 (version-major+minor version) "/planner-"
6903 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
6904 (build-system glib-or-gtk-build-system)
6906 ;; Disable the Python bindings because the Planner program functions
6907 ;; without them, and (as of 2017-06-13) we have not packaged all of
6908 ;; packages that are necessary for building the Python bindings.
6910 (list "--disable-python"
6911 ,@(if (string=? "aarch64-linux" (%current-system))
6912 '("--build=aarch64-unknown-linux-gnu")
6915 `(("libgnomecanvas" ,libgnomecanvas)
6916 ("libgnomeui" ,libgnomeui)
6917 ("libglade" ,libglade)
6918 ("gnome-vfs" ,gnome-vfs)
6920 ("libxml2" ,libxml2)
6921 ("libxslt" ,libxslt)
6925 `(("intltool" ,intltool)
6926 ("scrollkeeper" ,scrollkeeper)
6927 ("pkg-config" ,pkg-config)))
6928 (home-page "https://wiki.gnome.org/Apps/Planner")
6929 (synopsis "Project management software for the GNOME desktop")
6931 "GNOME Planner is a project management tool based on the Work Breakdown
6932 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6933 the resources, tasks, and constraints that you define, Planner generates
6934 various views into a project. For example, Planner can show a Gantt chart of
6935 the project. It can show a detailed summary of tasks including their
6936 duration, cost, and current progress. It can also show a report of resource
6937 utilization that highlights under-utilized and over-utilized resources. These
6938 views can be printed as PDF or PostScript files, or exported to HTML.")
6939 (license license:gpl2+)))
6941 (define-public lollypop
6948 (uri (string-append "https://gitlab.gnome.org/gnumdk/lollypop/uploads/"
6949 "b769805b7063ef9807e4e832e7e87ad2/"
6950 name "-" version ".tar.xz"))
6953 "0c49v6793bywvh295xbii9yq21hh3qpmxwbgp9i71kj6r9grvhan"))))
6954 (build-system meson-build-system)
6956 `(#:imported-modules ((guix build python-build-system)
6957 ,@%meson-build-system-modules)
6959 #:tests? #f ; no test suite
6961 (modify-phases %standard-phases
6962 (add-after 'install 'wrap-program
6963 (lambda* (#:key outputs #:allow-other-keys)
6964 (let ((out (assoc-ref outputs "out"))
6965 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6966 (wrap-program (string-append out "/bin/lollypop")
6967 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6969 (add-after 'install 'wrap
6970 (@@ (guix build python-build-system) wrap)))))
6972 `(("intltool" ,intltool)
6973 ("itstool" ,itstool)
6974 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6975 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6976 ("pkg-config" ,pkg-config)))
6978 `(("gobject-introspection" ,gobject-introspection)
6979 ("gst-plugins-base" ,gst-plugins-base)
6980 ("libnotify" ,libnotify)
6981 ("libsecret" ,libsecret)
6982 ("libsoup" ,libsoup)
6984 ("python-beautifulsoup4" ,python-beautifulsoup4)
6985 ("python-gst" ,python-gst)
6986 ("python-pycairo" ,python-pycairo)
6987 ("python-pygobject" ,python-pygobject)
6988 ("python-pylast" ,python-pylast)
6989 ("totem-pl-parser" ,totem-pl-parser)
6990 ("webkitgtk" ,webkitgtk)))
6992 `(;; gst-plugins-base is required to start Lollypop,
6993 ;; the others are required to play streaming.
6994 ("gst-plugins-good" ,gst-plugins-good)
6995 ("gst-plugins-ugly" ,gst-plugins-ugly)))
6996 (home-page "https://gnumdk.github.io/lollypop-web")
6997 (synopsis "GNOME music playing application")
6999 "Lollypop is a music player designed to play well with GNOME desktop.
7000 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7001 from artists and tracks from the web. It also fetches cover artworks
7002 automatically and it can stream songs from online music services and charts.")
7003 (license license:gpl3+)))
7005 (define-public gnome-video-effects
7007 (name "gnome-video-effects")
7011 (uri (string-append "mirror://gnome/sources/" name "/"
7012 (version-major+minor version) "/" name "-"
7016 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7017 (build-system glib-or-gtk-build-system)
7019 `(#:out-of-source? #f))
7021 `(("glib:bin" ,glib "bin")
7022 ("intltool" ,intltool)
7023 ("gettext" ,gettext-minimal)
7024 ("pkg-config" ,pkg-config)))
7025 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7026 (synopsis "Video effects for Cheese and other GNOME applications")
7028 "A collection of GStreamer video filters and effects to be used in
7029 photo-booth-like software, such as Cheese.")
7030 (license license:gpl2+)))
7032 (define-public cheese
7038 (uri (string-append "mirror://gnome/sources/" name "/"
7039 (version-major+minor version) "/" name "-"
7043 "01f6lsp9jkhq5v2zxlghw15bca4xqavkxqkl8977r0g13p22zxcf"))))
7045 ;; Tests require GDK.
7048 (modify-phases %standard-phases
7049 (add-before 'install 'skip-gtk-update-icon-cache
7051 ;; Don't create 'icon-theme.cache'
7052 (substitute* "Makefile"
7053 (("gtk-update-icon-cache") (which "true")))
7055 (add-after 'install 'wrap-cheese
7056 (lambda* (#:key inputs outputs #:allow-other-keys)
7057 (let ((out (assoc-ref outputs "out"))
7058 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7059 (wrap-program (string-append out "/bin/cheese")
7060 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7062 (build-system glib-or-gtk-build-system)
7064 `(("glib:bin" ,glib "bin")
7065 ("intltool" ,intltool)
7066 ("itstool" ,itstool)
7067 ("libxml2" ,libxml2)
7068 ("pkg-config" ,pkg-config)
7071 `(("gnome-video-effects" ,gnome-video-effects)))
7073 `(("clutter" ,clutter)
7074 ("clutter-gst" ,clutter-gst)
7075 ("clutter-gtk" ,clutter-gtk)
7076 ("gdk-pixbuf" ,gdk-pixbuf)
7078 ("gnome-desktop" ,gnome-desktop)
7079 ("gobject-introspection" ,gobject-introspection)
7080 ("gstreamer" ,gstreamer)
7081 ("gst-plugins-base" ,gst-plugins-base)
7082 ("gst-plugins-bad" ,gst-plugins-bad)
7084 ("libcanberra" ,libcanberra)
7086 ("libxtst" ,libxtst)))
7087 (home-page "https://wiki.gnome.org/Apps/Cheese")
7088 (synopsis "Webcam photo booth software for GNOME")
7090 "Cheese uses your webcam to take photos and videos. Cheese can also
7091 apply fancy special effects and lets you share the fun with others.")
7092 (license license:gpl2+)))