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 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>
31 ;;; This file is part of GNU Guix.
33 ;;; GNU Guix is free software; you can redistribute it and/or modify it
34 ;;; under the terms of the GNU General Public License as published by
35 ;;; the Free Software Foundation; either version 3 of the License, or (at
36 ;;; your option) any later version.
38 ;;; GNU Guix is distributed in the hope that it will be useful, but
39 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
40 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41 ;;; GNU General Public License for more details.
43 ;;; You should have received a copy of the GNU General Public License
44 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46 (define-module (gnu packages gnome)
47 #:use-module ((guix licenses) #:prefix license:)
48 #:use-module (guix packages)
49 #:use-module (guix download)
50 #:use-module (guix git-download)
51 #:use-module (guix utils)
52 #:use-module (guix build-system cmake)
53 #:use-module (guix build-system gnu)
54 #:use-module (guix build-system glib-or-gtk)
55 #:use-module (guix build-system meson)
56 #:use-module (guix build-system trivial)
57 #:use-module (gnu packages)
58 #:use-module (gnu packages admin)
59 #:use-module (gnu packages aspell)
60 #:use-module (gnu packages autotools)
61 #:use-module (gnu packages avahi)
62 #:use-module (gnu packages base)
63 #:use-module (gnu packages bison)
64 #:use-module (gnu packages build-tools)
65 #:use-module (gnu packages calendar)
66 #:use-module (gnu packages check)
67 #:use-module (gnu packages cmake)
68 #:use-module (gnu packages cups)
69 #:use-module (gnu packages curl)
70 #:use-module (gnu packages cyrus-sasl)
71 #:use-module (gnu packages databases)
72 #:use-module (gnu packages djvu)
73 #:use-module (gnu packages dns)
74 #:use-module (gnu packages documentation)
75 #:use-module (gnu packages flex)
76 #:use-module (gnu packages docbook)
77 #:use-module (gnu packages enchant)
78 #:use-module (gnu packages fontutils)
79 #:use-module (gnu packages game-development)
80 #:use-module (gnu packages gettext)
81 #:use-module (gnu packages glib)
82 #:use-module (gnu packages gnupg)
83 #:use-module (gnu packages gnuzilla)
84 #:use-module (gnu packages gstreamer)
85 #:use-module (gnu packages gtk)
86 #:use-module (gnu packages gperf)
87 #:use-module (gnu packages guile)
88 #:use-module (gnu packages openldap)
89 #:use-module (gnu packages pdf)
90 #:use-module (gnu packages polkit)
91 #:use-module (gnu packages popt)
92 #:use-module (gnu packages ghostscript)
93 #:use-module (gnu packages ibus)
94 #:use-module (gnu packages iso-codes)
95 #:use-module (gnu packages libcanberra)
96 #:use-module (gnu packages libunistring)
97 #:use-module (gnu packages linux)
98 #:use-module (gnu packages libusb)
99 #:use-module (gnu packages lirc)
100 #:use-module (gnu packages lua)
101 #:use-module (gnu packages image)
102 #:use-module (gnu packages imagemagick)
103 #:use-module (gnu packages music)
104 #:use-module (gnu packages networking)
105 #:use-module (gnu packages ninja)
106 #:use-module (gnu packages password-utils)
107 #:use-module (gnu packages pcre)
108 #:use-module (gnu packages perl)
109 #:use-module (gnu packages photo)
110 #:use-module (gnu packages pkg-config)
111 #:use-module (gnu packages pulseaudio)
112 #:use-module (gnu packages python)
113 #:use-module (gnu packages rdesktop)
114 #:use-module (gnu packages scanner)
115 #:use-module (gnu packages selinux)
116 #:use-module (gnu packages slang)
117 #:use-module (gnu packages ssh)
118 #:use-module (gnu packages xml)
119 #:use-module (gnu packages gl)
120 #:use-module (gnu packages compression)
121 #:use-module (gnu packages spice)
122 #:use-module (gnu packages tex)
123 #:use-module (gnu packages tls)
124 #:use-module (gnu packages web)
125 #:use-module (gnu packages webkit)
126 #:use-module (gnu packages xiph)
127 #:use-module (gnu packages xorg)
128 #:use-module (gnu packages xdisorg)
129 #:use-module (gnu packages freedesktop)
130 #:use-module (gnu packages mail)
131 #:use-module (gnu packages kerberos)
132 #:use-module (gnu packages multiprecision)
133 #:use-module (gnu packages backup)
134 #:use-module (gnu packages nettle)
135 #:use-module (gnu packages ncurses)
136 #:use-module (gnu packages video)
137 #:use-module (gnu packages cdrom)
138 #:use-module (gnu packages samba)
139 #:use-module (gnu packages readline)
140 #:use-module (gnu packages fonts)
141 #:use-module (gnu packages speech)
142 #:use-module (gnu packages virtualization)
143 #:use-module (gnu packages vpn)
144 #:use-module (srfi srfi-1))
146 (define-public brasero
152 (uri (string-append "mirror://gnome/sources/" name "/"
153 (version-major+minor version) "/"
154 name "-" version ".tar.xz"))
157 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
158 (build-system glib-or-gtk-build-system)
160 `(#:configure-flags (list
161 (string-append "--with-girdir="
162 (assoc-ref %outputs "out")
164 (string-append "--with-typelibdir="
165 (assoc-ref %outputs "out")
166 "/lib/girepository-1.0"))
168 (modify-phases %standard-phases
169 (add-before 'configure 'embed-growisofs
170 (lambda* (#:key inputs #:allow-other-keys)
171 (substitute* "plugins/growisofs/burn-growisofs.c"
172 (("\"growisofs") (string-append "\"" (which "growisofs"))))
175 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
177 `(("intltool" ,intltool)
178 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
179 ("gobject-introspection" ,gobject-introspection)
180 ("pkg-config" ,pkg-config)))
182 `(("dvd+rw-tools" ,dvd+rw-tools)
184 ("gnome-doc-utils" ,gnome-doc-utils)
185 ("gstreamer" ,gstreamer)
186 ("gst-plugins-base" ,gst-plugins-base)
189 ("libcanberra" ,libcanberra)
191 ("libnotify" ,libnotify)
195 ("totem-pl-parser" ,totem-pl-parser)))
196 (home-page "https://projects.gnome.org/brasero/")
197 (synopsis "CD/DVD burning tool for Gnome")
198 (description "Brasero is an application to burn CD/DVD for the Gnome
199 Desktop. It is designed to be as simple as possible and has some unique
200 features to enable users to create their discs easily and quickly.")
201 (license license:gpl2+)))
203 (define-public deja-dup
209 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
212 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
214 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
215 (build-system glib-or-gtk-build-system)
217 `(#:modules ((guix build gnu-build-system)
218 ((guix build cmake-build-system) #:prefix cmake:)
219 (guix build glib-or-gtk-build-system)
221 #:imported-modules (,@%glib-or-gtk-build-system-modules
222 (guix build cmake-build-system))
224 #:configure-flags (list (string-append
225 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
227 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
229 (modify-phases %standard-phases
230 (add-after 'unpack 'patch-lockfile-deletion
232 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
236 (assoc-ref cmake:%standard-phases 'configure))
237 (delete 'check) ;; Fails due to issues with DBus
238 (add-after 'install 'wrap-deja-dup
239 (lambda* (#:key inputs outputs #:allow-other-keys)
240 (let ((python (assoc-ref inputs "python"))
241 (python-path (getenv "PYTHONPATH"))
242 (duplicity (assoc-ref inputs "duplicity"))
243 (out (assoc-ref outputs "out")))
246 (wrap-program program
247 `("PATH" ":" prefix (,(string-append python "/bin")
248 ,(string-append duplicity "/bin"))))
249 (wrap-program program
250 `("PYTHONPATH" ":" prefix (,python-path))))
252 (find-files (string-append out "/bin")))
255 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
256 ("gobject-introspection" ,gobject-introspection)
257 ("duplicity" ,duplicity)
258 ("python" ,python2-minimal)
259 ("python-pygobject" ,python2-pygobject)
261 ("libnotify" ,libnotify)
263 ("libsecret" ,libsecret)
264 ("packagekit" ,packagekit)))
266 `(("pkg-config" ,pkg-config)
268 ("gettext" ,gettext-minimal)
270 ("intltool" ,intltool)
272 (home-page "https://launchpad.net/deja-dup")
273 (synopsis "Simple backup tool, for regular encrypted backups")
275 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
276 uses duplicity as the backend, which supports incremental backups and storage
277 either on a local, or remote machine via a number of methods.")
278 (license license:gpl3+)))
281 ;; This version from GNOME's repository includes fixes for compiling with
282 ;; recent versions of the build tools. The latest activity on the
283 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
285 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
288 (version (string-append "0.97.2-" (string-take commit 7)))
292 (url "https://git.gnome.org/browse/dia")
294 (file-name (string-append name "-" version "-checkout"))
297 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
298 (build-system gnu-build-system)
300 `(("glib" ,glib "bin")
302 ("gdk-pixbuf" ,gdk-pixbuf)
305 ("freetype" ,freetype)
306 ("libart-lgpl" ,libart-lgpl)))
308 `(("intltool" ,intltool)
309 ("pkg-config" ,pkg-config)
310 ("automake" ,automake)
311 ("autoconf" ,autoconf)
314 ("python-wrapper" ,python-wrapper)))
317 (modify-phases %standard-phases
318 (add-after 'unpack 'run-autogen
320 (system* "sh" "autogen.sh"))))))
321 (home-page "https://wiki.gnome.org/Apps/Dia")
322 (synopsis "Diagram creation for GNOME")
323 (description "Dia can be used to draw different types of diagrams, and
324 includes support for UML static structure diagrams (class diagrams), entity
325 relationship modeling, and network diagrams. The program supports various file
326 formats like PNG, SVG, PDF and EPS.")
327 (license license:gpl2+))))
329 (define-public libgdata
335 (uri (string-append "mirror://gnome/sources/" name "/"
336 (version-major+minor version) "/"
337 name "-" version ".tar.xz"))
340 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
342 (search-patches "libgdata-fix-tests.patch"
343 "libgdata-glib-duplicate-tests.patch"))))
344 (build-system gnu-build-system)
347 (modify-phases %standard-phases
348 (add-before 'check 'use-empty-ssl-cert-file
350 ;; The ca-certificates.crt is not available in the build
352 (setenv "SSL_CERT_FILE" "/dev/null")
354 (add-before 'check 'disable-failing-tests
356 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
357 ;; They have been removed in libgdata 0.17.6, so just do the same.
358 (substitute* "gdata/tests/Makefile"
359 (("picasaweb\\$\\(EXEEXT\\) ") ""))
362 `(("glib:bin" ,glib "bin")
363 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
364 ("intltool" ,intltool)
365 ("pkg-config" ,pkg-config)
366 ("uhttpmock" ,uhttpmock)))
368 `(("cyrus-sasl" ,cyrus-sasl)
370 ("glib-networking" ,glib-networking)
371 ("json-glib" ,json-glib)
372 ("libsoup" ,libsoup)))
375 ("gnome-online-accounts" ,gnome-online-accounts)
376 ("liboauth" ,liboauth)
377 ("libxml2" ,libxml2)))
378 (home-page "https://wiki.gnome.org/Projects/libgdata")
379 (synopsis "Library for accessing online service APIs")
381 "libgdata is a GLib-based library for accessing online service APIs using
382 the GData protocol — most notably, Google's services. It provides APIs to
383 access the common Google services, and has full asynchronous support.")
384 (license license:lgpl2.1+)))
386 (define-public libgxps
392 (uri (string-append "mirror://gnome/sources/" name "/"
393 (version-major+minor version) "/"
394 name "-" version ".tar.xz"))
397 "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
398 (build-system gnu-build-system)
400 `(("gobject-introspection" ,gobject-introspection)
401 ("pkg-config" ,pkg-config)))
405 ("libarchive" ,libarchive)
410 (home-page "https://wiki.gnome.org/Projects/libgxps")
411 (synopsis "GObject-based library for handling and rendering XPS documents")
413 "libgxps is a GObject-based library for handling and rendering XPS
414 documents. This package also contains binaries that can convert XPS documents
416 (license license:lgpl2.1+)))
418 (define-public gnome-common
420 (name "gnome-common")
425 (uri (string-append "mirror://gnome/sources/" name "/"
426 (version-major+minor version) "/"
427 name "-" version ".tar.xz"))
430 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
431 (build-system gnu-build-system)
432 (home-page "https://www.gnome.org/")
433 (synopsis "Bootstrap GNOME modules built from Git")
434 (description "gnome-common contains various files needed to bootstrap
435 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
436 can be used to configure a source directory checked out from Git and some
437 commonly used macros.")
438 (license license:gpl2+)))
440 (define-public gnome-desktop
442 (name "gnome-desktop")
447 (uri (string-append "mirror://gnome/sources/" name "/"
448 (version-major+minor version) "/"
449 name "-" version ".tar.xz"))
452 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
453 (build-system gnu-build-system)
455 `(("gobject-introspection" ,gobject-introspection)
457 ("intltool" ,intltool)
458 ("pkg-config" ,pkg-config)
459 ("xmllint" ,libxml2)))
461 ;; Required by gnome-desktop-3.0.pc.
462 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
465 `(("gdk-pixbuf" ,gdk-pixbuf)
467 ("iso-codes" ,iso-codes)
470 ("libxkbfile" ,libxkbfile)
471 ("libxrandr" ,libxrandr)
472 ("xkeyboard-config" ,xkeyboard-config)))
473 (home-page "https://www.gnome.org/")
475 "Libgnome-desktop, gnome-about, and desktop-wide documents")
477 "The libgnome-desktop library provides API shared by several applications
478 on the desktop, but that cannot live in the platform for various reasons.
479 There is no API or ABI guarantee, although we are doing our best to provide
480 stability. Documentation for the API is available with gtk-doc.
482 The gnome-about program helps find which version of GNOME is installed.")
483 ; Some bits under the LGPL.
484 (license license:gpl2+)))
486 (define-public gnome-doc-utils
488 (name "gnome-doc-utils")
493 (uri (string-append "mirror://gnome/sources/" name "/"
494 (version-major+minor version) "/"
495 name "-" version ".tar.xz"))
498 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
499 (build-system gnu-build-system)
501 `(("intltool" ,intltool)
502 ("docbook-xml" ,docbook-xml-4.4)
503 ("python2-libxml2" ,python2-libxml2)
506 ("pkg-config" ,pkg-config)
507 ("python-2" ,python-2)))
508 (home-page "https://wiki.gnome.org/GnomeDocUtils")
510 "Documentation utilities for the Gnome project")
512 "Gnome-doc-utils is a collection of documentation utilities for the
513 Gnome project. It includes xml2po tool which makes it easier to translate
514 and keep up to date translations of documentation.")
515 (license license:gpl2+))) ; xslt under lgpl
517 (define-public gnome-disk-utility
519 (name "gnome-disk-utility")
523 (uri (string-append "mirror://gnome/sources/" name "/"
524 (version-major+minor version) "/"
525 name "-" version ".tar.xz"))
528 "18akarcbhm8djlmz49jzavc7qx8dg71gvxc9xd23p0bwjj4h93w7"))))
529 (build-system gnu-build-system)
531 `(("glib:bin" ,glib "bin")
532 ("intltool" ,intltool)
533 ("pkg-config" ,pkg-config)
534 ("docbook-xml" ,docbook-xml)
535 ("docbook-xsl" ,docbook-xsl)
537 ("libxslt" ,libxslt)))
540 ("appstream-glib" ,appstream-glib)
541 ("gnome-settings-daemon" ,gnome-settings-daemon)
543 ("libcanberra" ,libcanberra)
544 ("libdvdread" ,libdvdread)
545 ("libnotify" ,libnotify)
546 ("libpwquality" ,libpwquality)
547 ("libsecret" ,libsecret)
549 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
550 (synopsis "Disk management utility for GNOME")
551 (description "Disk management utility for GNOME.")
552 (license license:gpl2+)))
560 (uri (string-append "mirror://gnome/sources/" name "/"
561 (version-major+minor version) "/"
562 name "-" version ".tar.xz"))
565 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
567 (search-patches "gcr-disable-failing-tests.patch"
568 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
569 (build-system gnu-build-system)
571 '(#:phases (modify-phases %standard-phases
574 (lambda* (#:key inputs #:allow-other-keys)
575 (substitute* "build/tap-driver"
576 (("/usr/bin/env python") (which "python"))))))))
579 ("gnupg" ,gnupg) ;called as a child process during tests
580 ("libgcrypt" ,libgcrypt)))
582 `(("python" ,python-2) ;for tests
583 ("pkg-config" ,pkg-config)
585 ("gobject-introspection" ,gobject-introspection)
586 ("intltool" ,intltool)
587 ("xsltproc" ,libxslt)))
588 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
590 `(("p11-kit" ,p11-kit)
593 (home-page "https://www.gnome.org")
594 (synopsis "Libraries for displaying certificates and accessing key stores")
596 "The GCR package contains libraries used for displaying certificates and
597 accessing key stores. It also provides the viewer for crypto files on the
599 (license license:lgpl2.1+)))
601 (define-public libgnome-keyring
603 (name "libgnome-keyring")
607 (uri (string-append "mirror://gnome/sources/" name "/"
608 (version-major+minor version) "/"
609 name "-" version ".tar.xz"))
612 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
613 (build-system gnu-build-system)
615 `(("libgcrypt" ,libgcrypt)
618 `(("pkg-config" ,pkg-config)
620 ("intltool" ,intltool)))
622 ;; Referred to in .h files and .pc.
624 (home-page "https://www.gnome.org")
625 (synopsis "Accessing passwords from the GNOME keyring")
627 "Client library to access passwords from the GNOME keyring.")
629 ;; Though a couple of files are LGPLv2.1+.
630 (license license:lgpl2.0+)))
632 (define-public gnome-keyring
634 (name "gnome-keyring")
638 (uri (string-append "mirror://gnome/sources/" name "/"
639 (version-major+minor version) "/"
640 name "-" version ".tar.xz"))
643 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
644 (build-system gnu-build-system)
646 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
650 (string-append "--with-pkcs11-config="
651 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
652 (string-append "--with-pkcs11-modules="
653 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
655 (modify-phases %standard-phases
658 (lambda* (#:key inputs #:allow-other-keys)
659 (substitute* "build/tap-driver"
660 (("/usr/bin/env python") (which "python")))))
662 'configure 'fix-docbook
663 (lambda* (#:key inputs #:allow-other-keys)
664 (substitute* "docs/Makefile.am"
665 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
666 (string-append (assoc-ref inputs "docbook-xsl")
667 "/xml/xsl/docbook-xsl-"
668 ,(package-version docbook-xsl)
669 "/manpages/docbook.xsl")))
670 (setenv "XML_CATALOG_FILES"
671 (string-append (assoc-ref inputs "docbook-xml")
672 "/xml/dtd/docbook/catalog.xml")))))))
674 `(("libgcrypt" ,libgcrypt)
675 ("linux-pam" ,linux-pam)
679 `(("pkg-config" ,pkg-config)
681 ("python" ,python-2) ;for tests
682 ("intltool" ,intltool)
683 ("autoconf" ,autoconf)
684 ("automake" ,automake)
685 ("libxslt" ,libxslt) ;for documentation
686 ("docbook-xml" ,docbook-xml-4.2)
687 ("docbook-xsl" ,docbook-xsl)))
688 (home-page "https://www.gnome.org")
689 (synopsis "Daemon to store passwords and encryption keys")
691 "gnome-keyring is a program that keeps passwords and other secrets for
692 users. It is run as a daemon in the session, similar to ssh-agent, and other
693 applications locate it via an environment variable or D-Bus.
695 The program can manage several keyrings, each with its own master password,
696 and there is also a session keyring which is never stored to disk, but
697 forgotten when the session ends.")
698 (license license:lgpl2.1+)))
700 (define-public evince
706 (uri (string-append "mirror://gnome/sources/" name "/"
707 (version-major+minor version) "/"
708 name "-" version ".tar.xz"))
711 "0dqgzwxl0xfr341r5i8j8hn6j6rhv62lmc6xbzjppcq76hhwb84w"))))
712 (build-system glib-or-gtk-build-system)
714 `(#:configure-flags '("--disable-nautilus")
716 (modify-phases %standard-phases
717 (add-before 'install 'skip-gtk-update-icon-cache
718 ;; Don't create 'icon-theme.cache'.
720 (substitute* "data/Makefile"
721 (("gtk-update-icon-cache") "true"))
724 `(("libarchive" ,libarchive)
726 ("libspectre" ,libspectre)
727 ("djvulibre" ,djvulibre)
728 ("ghostscript" ,ghostscript)
732 ;; Build libkpathsea as a shared library for DVI support.
733 ;; ("libkpathsea" ,texlive-bin)
734 ("gnome-desktop" ,gnome-desktop)
735 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
736 ("libgnome-keyring" ,libgnome-keyring)
737 ("adwaita-icon-theme" ,adwaita-icon-theme)
738 ("gdk-pixbuf" ,gdk-pixbuf)
746 ("shared-mime-info" ,shared-mime-info)
748 ("libcanberra" ,libcanberra)
749 ("libsecret" ,libsecret)
751 ("dogtail" ,python2-dogtail)))
753 `(("itstool" ,itstool)
754 ("intltool" ,intltool)
756 ("pkg-config" ,pkg-config)
757 ("xmllint" ,libxml2)))
759 "https://www.gnome.org/projects/evince/")
760 (synopsis "GNOME's document viewer")
762 "Evince is a document viewer for multiple document formats. It
763 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
764 of Evince is to replace the multiple document viewers that exist
765 on the GNOME Desktop with a single simple application.")
766 (license license:gpl2+)))
768 (define-public gsettings-desktop-schemas
770 (name "gsettings-desktop-schemas")
775 (uri (string-append "mirror://gnome/sources/" name "/"
776 (version-major+minor version) "/"
777 name "-" version ".tar.xz"))
780 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
781 (build-system gnu-build-system)
785 `(("intltool" ,intltool)
786 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
787 ("gobject-introspection" ,gobject-introspection)
788 ("pkg-config" ,pkg-config)))
789 (home-page "https://launchpad.net/gsettings-desktop-schemas")
791 "GNOME settings for various desktop components")
793 "Gsettings-desktop-schemas contains a collection of GSettings schemas
794 for settings shared by various components of the GNOME desktop.")
795 (license license:lgpl2.1+)))
797 (define-public icon-naming-utils
799 (name "icon-naming-utils")
804 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
808 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
809 (build-system gnu-build-system)
812 ("perl-xml-simple" ,perl-xml-simple)))
815 (modify-phases %standard-phases
816 (add-after 'install 'set-load-paths
817 ;; Tell 'icon-name-mapping' where XML::Simple is.
818 (lambda* (#:key outputs #:allow-other-keys)
819 (let* ((out (assoc-ref outputs "out"))
820 (prog (string-append out "/libexec/icon-name-mapping")))
823 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
825 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
827 "Utility to implement the Freedesktop Icon Naming Specification")
829 "To help with the transition to the Freedesktop Icon Naming
830 Specification, the icon naming utility maps the icon names used by the
831 GNOME and KDE desktops to the icon names proposed in the specification.")
832 (license license:lgpl2.1+)))
834 (define-public gnome-icon-theme
836 (name "gnome-icon-theme")
841 (uri (string-append "mirror://gnome/sources/" name "/"
842 (version-major+minor version) "/"
843 name "-" version ".tar.xz"))
846 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
847 (build-system gnu-build-system)
850 ;; Don't create 'icon-theme.cache'.
851 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
852 (true (string-append coreutils "/bin/true")))
853 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
855 `(("icon-naming-utils" ,icon-naming-utils)
856 ("intltool" ,intltool)
857 ("pkg-config" ,pkg-config)))
858 (home-page "https://art.gnome.org/")
862 "Icons for the GNOME desktop.")
863 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
865 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
866 (define-public adwaita-icon-theme
867 (package (inherit gnome-icon-theme)
868 (name "adwaita-icon-theme")
872 (uri (string-append "mirror://gnome/sources/" name "/"
873 (version-major+minor version) "/"
874 name "-" version ".tar.xz"))
877 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
879 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
881 (define-public tango-icon-theme
883 (name "tango-icon-theme")
887 (uri (string-append "http://tango.freedesktop.org/releases/"
888 "tango-icon-theme-" version ".tar.bz2"))
891 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
892 (build-system gnu-build-system)
894 `(("icon-naming-utils" ,icon-naming-utils)
895 ("intltool" ,intltool)
896 ("imagemagick" ,imagemagick)
897 ("pkg-config" ,pkg-config)))
898 (home-page "http://tango-project.org/")
899 (synopsis "Tango icon theme")
900 (description "This is an icon theme that follows the Tango visual
902 (license license:public-domain)))
904 (define-public shared-mime-info
906 (name "shared-mime-info")
910 (uri (string-append "https://freedesktop.org/~hadess/"
911 "shared-mime-info-" version ".tar.xz"))
914 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
915 (build-system gnu-build-system)
917 ;; The build system appears not to be parallel-safe.
918 '(#:parallel-build? #f))
921 ("libxml2" ,libxml2)))
923 `(("intltool" ,intltool)
924 ("pkg-config" ,pkg-config)))
925 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
926 (synopsis "Database of common MIME types")
928 "The shared-mime-info package contains the core database of common types
929 and the update-mime-database command used to extend it. It requires glib2 to
930 be installed for building the update command. Additionally, it uses intltool
931 for translations, though this is only a dependency for the maintainers. This
932 database is translated at Transifex.")
933 (license license:gpl2+)))
935 (define-public hicolor-icon-theme
937 (name "hicolor-icon-theme")
942 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
943 "hicolor-icon-theme-" version ".tar.xz"))
946 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
947 (build-system gnu-build-system)
949 `(#:tests? #f)) ; no check target
950 (home-page "http://icon-theme.freedesktop.org/releases/")
952 "Freedesktop icon theme")
954 "Freedesktop icon theme.")
955 (license license:gpl2)))
957 (define-public libnotify
964 (uri (string-append "mirror://gnome/sources/" name "/"
965 (version-major+minor version) "/"
966 name "-" version ".tar.xz"))
969 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
970 (build-system gnu-build-system)
972 `(("gdk-pixbuf" ,gdk-pixbuf)
977 `(("pkg-config" ,pkg-config)
979 ("gobject-introspection" ,gobject-introspection)))
980 (home-page "https://developer-next.gnome.org/libnotify/")
982 "GNOME desktop notification library")
984 "Libnotify is a library that sends desktop notifications to a
985 notification daemon, as defined in the Desktop Notifications spec. These
986 notifications can be used to inform the user about an event or display
987 some form of information without getting in the user's way.")
988 (license license:lgpl2.1+)))
990 (define-public libpeas
997 (uri (string-append "mirror://gnome/sources/" name "/"
998 (version-major+minor version) "/"
999 name "-" version ".tar.xz"))
1002 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1003 (build-system gnu-build-system)
1008 ("python-pygobject" ,python-pygobject)))
1010 `(("pkg-config" ,pkg-config)
1011 ("glib:bin" ,glib "bin")
1012 ("gobject-introspection" ,gobject-introspection)
1013 ("intltool" ,intltool)))
1015 ;; The .pc file "Requires" gobject-introspection.
1016 `(("gobject-introspection" ,gobject-introspection)))
1017 (home-page "https://wiki.gnome.org/Libpeas")
1018 (synopsis "GObject plugin system")
1020 "Libpeas is a gobject-based plugin engine, targeted at giving every
1021 application the chance to assume its own extensibility. It also has a set of
1022 features including, but not limited to: multiple extension points; on-demand
1023 (lazy) programming language support for C, Python and JS; simplicity of the
1025 (license license:lgpl2.0+)))
1027 (define-public gtkglext
1033 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1034 version "/gtkglext-" version ".tar.gz"))
1036 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1037 (patches (search-patches
1038 "gtkglext-disable-disable-deprecated.patch"))))
1039 (build-system gnu-build-system)
1040 (inputs `(("gtk+" ,gtk+-2)
1045 (native-inputs `(("pkg-config" ,pkg-config)
1046 ("glib" ,glib "bin")))
1047 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1048 (home-page "https://projects.gnome.org/gtkglext")
1049 (synopsis "OpenGL extension to GTK+")
1050 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1051 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1052 API add-ons to make GTK+ widgets OpenGL-capable.")
1053 (license license:lgpl2.1+)))
1055 (define-public glade3
1061 (uri (string-append "mirror://gnome/sources/" name "/"
1062 (version-major+minor version) "/"
1063 name "-" version ".tar.xz"))
1066 "1pxikhzdzd092d4x3nacf5gfzi3mvhywrhcfqc07xakbsinnfr40"))))
1067 (build-system glib-or-gtk-build-system)
1069 `(#:tests? #f ; needs X, GL, and software rendering
1071 (modify-phases %standard-phases
1072 (add-before 'configure 'fix-docbook
1073 (lambda* (#:key inputs #:allow-other-keys)
1074 (substitute* "man/Makefile.in"
1075 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1076 (string-append (assoc-ref inputs "docbook-xsl")
1077 "/xml/xsl/docbook-xsl-"
1078 ,(package-version docbook-xsl)
1079 "/manpages/docbook.xsl")))
1083 ("libxml2" ,libxml2)))
1085 `(("intltool" ,intltool)
1086 ("itstool" ,itstool)
1087 ("libxslt" ,libxslt) ;for xsltproc
1088 ("docbook-xml" ,docbook-xml-4.2)
1089 ("docbook-xsl" ,docbook-xsl)
1090 ("python" ,python-2)
1091 ("pkg-config" ,pkg-config)))
1092 (home-page "https://glade.gnome.org")
1093 (synopsis "GTK+ rapid application development tool")
1094 (description "Glade is a rapid application development (RAD) tool to
1095 enable quick & easy development of user interfaces for the GTK+ toolkit and
1096 the GNOME desktop environment.")
1097 (license license:lgpl2.0+)))
1099 (define-public libcroco
1105 (uri (string-append "mirror://gnome/sources/" name "/"
1106 (version-major+minor version) "/"
1107 name "-" version ".tar.xz"))
1109 (search-patches "libcroco-CVE-2017-7960.patch"
1110 "libcroco-CVE-2017-7961.patch"))
1113 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1114 (build-system gnu-build-system)
1116 `(("pkg-config" ,pkg-config)))
1119 ("libxml2" ,libxml2)
1121 (home-page "https://github.com/GNOME/libcroco")
1122 (synopsis "CSS2 parsing and manipulation library")
1124 "Libcroco is a standalone CSS2 parsing and manipulation library.
1125 The parser provides a low level event driven SAC-like API and a CSS object
1126 model like API. Libcroco provides a CSS2 selection engine and an experimental
1127 XML/CSS rendering engine.")
1130 (license license:lgpl2.1)))
1132 (define-public libgsf
1138 (uri (string-append "mirror://gnome/sources/" name "/"
1139 (version-major+minor version) "/"
1140 name "-" version ".tar.xz"))
1143 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1144 (build-system gnu-build-system)
1146 `(("intltool" ,intltool)
1147 ("pkg-config" ,pkg-config)))
1149 `(("python" ,python)
1153 `(("gdk-pixbuf" ,gdk-pixbuf)
1155 ("libxml2" ,libxml2)))
1156 (home-page "https://www.gnome.org/projects/libgsf")
1157 (synopsis "GNOME's Structured File Library")
1159 "Libgsf aims to provide an efficient extensible I/O abstraction for
1160 dealing with different structured file formats.")
1163 (license license:lgpl2.1)))
1165 (define-public librsvg
1171 (uri (string-append "mirror://gnome/sources/" name "/"
1172 (version-major+minor version) "/"
1173 name "-" version ".tar.xz"))
1176 "0k2nbd4g31qinkdfd8r5c5ih2ixl85fbkgkqqh9747lwr24c9j5z"))))
1177 (build-system gnu-build-system)
1181 'configure 'pre-configure
1182 (lambda* (#:key inputs #:allow-other-keys)
1183 (substitute* "gdk-pixbuf-loader/Makefile.in"
1184 ;; By default the gdk-pixbuf loader is installed under
1185 ;; gdk-pixbuf's prefix. Work around that.
1186 (("gdk_pixbuf_moduledir = .*$")
1187 (string-append "gdk_pixbuf_moduledir = "
1188 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1190 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1191 (("gdk_pixbuf_cache_file = .*$")
1192 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1195 `(("pkg-config" ,pkg-config)
1196 ("glib" ,glib "bin") ; glib-mkenums, etc.
1197 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1200 ("libcroco" ,libcroco)
1203 ("libxml2" ,libxml2)))
1205 ;; librsvg-2.0.pc refers to all of that.
1207 ("gdk-pixbuf" ,gdk-pixbuf)
1209 (home-page "https://wiki.gnome.org/LibRsvg")
1210 (synopsis "Render SVG files using Cairo")
1212 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1214 (license license:lgpl2.0+)))
1216 (define-public libidl
1222 (uri (let ((upstream-name "libIDL"))
1223 (string-append "mirror://gnome/sources/" upstream-name "/"
1224 (version-major+minor version) "/"
1225 upstream-name "-" version ".tar.bz2")))
1228 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1229 (build-system gnu-build-system)
1230 (inputs `(("glib" ,glib)))
1232 `(("pkg-config" ,pkg-config)
1235 (home-page "http://freecode.com/projects/libidl")
1236 (synopsis "Create trees of CORBA Interface Definition Language files")
1237 (description "Libidl is a library for creating trees of CORBA Interface
1238 Definition Language (idl) files, which is a specification for defining
1239 portable interfaces. libidl was initially written for orbit (the orb from the
1240 GNOME project, and the primary means of libidl distribution). However, the
1241 functionality was designed to be as reusable and portable as possible.")
1242 (license license:lgpl2.0+)))
1245 (define-public orbit2
1251 (uri (let ((upstream-name "ORBit2"))
1252 (string-append "mirror://gnome/sources/" upstream-name "/"
1253 (version-major+minor version) "/"
1254 upstream-name "-" version ".tar.bz2")))
1257 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1258 (build-system gnu-build-system)
1261 ;; The programmer kindly gives us a hook to turn off deprecation
1263 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1264 ;; ... which they then completly ignore !!
1266 (modify-phases %standard-phases
1267 (add-before 'configure 'ignore-deprecations
1269 (substitute* "linc2/src/Makefile.in"
1270 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1272 (inputs `(("glib" ,glib)
1273 ("libidl" ,libidl)))
1275 `(("pkg-config" ,pkg-config)))
1276 (home-page "https://projects.gnome.org/orbit2/")
1277 (synopsis "CORBA 2.4-compliant Object Request Broker")
1278 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1279 featuring mature C, C++ and Python bindings.")
1280 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1281 ;; a version. SOME of the code files have licence notices for GPLv2+.
1282 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1283 (license license:gpl2+)))
1286 (define-public libbonobo
1292 (uri (string-append "mirror://gnome/sources/" name "/"
1293 (version-major+minor version)
1294 "/" name "-" version ".tar.bz2"))
1296 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1297 (patches (search-patches
1298 "libbonobo-activation-test-race.patch"))))
1299 (build-system gnu-build-system)
1301 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1303 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1304 ;; ... which they then completly ignore !!
1306 (modify-phases %standard-phases
1307 (add-before 'configure 'ignore-deprecations
1309 (substitute* "activation-server/Makefile.in"
1310 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1312 (inputs `(("popt" ,popt)
1313 ("libxml2" ,libxml2)))
1314 ;; The following are Required by the .pc file
1317 ("orbit2" ,orbit2)))
1319 `(("intltool" ,intltool)
1320 ("pkg-config" ,pkg-config)
1321 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1324 (home-page "https://developer.gnome.org/libbonobo/")
1325 (synopsis "Framework for creating reusable components for use in GNOME applications")
1326 (description "Bonobo is a framework for creating reusable components for
1327 use in GNOME applications, built on top of CORBA.")
1328 ;; Licence not explicitly stated. Source files contain no licence notices.
1329 ;; Tarball contains text of both GPLv2 and LGPLv2
1330 ;; GPLv2 covers both conditions
1331 (license license:gpl2+)))
1334 (define-public gconf
1341 (let ((upstream-name "GConf"))
1342 (string-append "mirror://gnome/sources/" upstream-name "/"
1343 (version-major+minor version) "/"
1344 upstream-name "-" version ".tar.xz")))
1346 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1347 (build-system gnu-build-system)
1348 (inputs `(("dbus-glib" ,dbus-glib)
1349 ("libxml2" ,libxml2)))
1350 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1351 ("orbit2" ,orbit2)))
1353 `(("intltool" ,intltool)
1354 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1355 ("pkg-config" ,pkg-config)))
1356 (home-page "https://projects.gnome.org/gconf/")
1357 (synopsis "Store application preferences")
1358 (description "Gconf is a system for storing application preferences. It
1359 is intended for user preferences; not arbitrary data storage.")
1360 (license license:lgpl2.0+)
1361 (properties '((upstream-name . "GConf")))))
1364 (define-public gnome-mime-data
1366 (name "gnome-mime-data")
1370 (uri (string-append "mirror://gnome/sources/" name "/"
1371 (version-major+minor version) "/"
1372 name "-" version ".tar.bz2"))
1375 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1376 (build-system gnu-build-system)
1379 ("intltool" ,intltool)))
1381 '(#:phases (modify-phases %standard-phases
1382 (add-after 'configure 'use-our-intltool
1384 ;; Do not use the bundled intltool commands, which lack
1385 ;; the "dotless @INC" fixes of our 'intltool' package.
1386 (substitute* (find-files "." "^Makefile$")
1387 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1388 (string-append "INTLTOOL_" tool " = intltool-"
1389 (string-downcase tool) "\n")))
1391 (home-page "https://www.gnome.org")
1392 (synopsis "Base MIME and Application database for GNOME")
1393 (description "GNOME Mime Data is a module which contains the base MIME
1394 and Application database for GNOME. The data stored by this module is
1395 designed to be accessed through the MIME functions in GnomeVFS.")
1396 (license license:gpl2+)))
1399 (define-public gnome-vfs
1405 (uri (string-append "mirror://gnome/sources/" name "/"
1406 (version-major+minor version) "/"
1407 name "-" version ".tar.bz2"))
1410 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1411 (build-system gnu-build-system)
1414 (modify-phases %standard-phases
1415 (add-before 'configure 'ignore-deprecations
1417 (substitute* '("libgnomevfs/Makefile.in"
1418 "daemon/Makefile.in")
1419 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1421 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1423 (substitute* "test/test-async-cancel.c"
1424 (("EXIT_FAILURE") "77"))
1426 (inputs `(("libxml2" ,libxml2)
1427 ("dbus-glib" ,dbus-glib)
1429 ("gnome-mime-data" ,gnome-mime-data)
1432 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1433 ("intltool" ,intltool)
1434 ("pkg-config" ,pkg-config)))
1435 (home-page "https://developer.gnome.org/gnome-vfs/")
1436 (synopsis "Access files and folders in GNOME applications")
1438 "GnomeVFS is the core library used to access files and folders in GNOME
1439 applications. It provides a file system abstraction which allows applications
1440 to access local and remote files with a single consistent API.")
1441 (license license:lgpl2.0+)))
1445 (define-public libgnome
1451 (uri (string-append "mirror://gnome/sources/" name "/"
1452 (version-major+minor version) "/"
1453 name "-" version ".tar.bz2"))
1456 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1457 (build-system gnu-build-system)
1460 (modify-phases %standard-phases
1461 (add-before 'configure 'enable-deprecated
1463 (substitute* "libgnome/Makefile.in"
1464 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1466 (inputs `(("libxml2" ,libxml2)))
1468 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1469 ("intltool" ,intltool)
1470 ("pkg-config" ,pkg-config)))
1471 ;; The following are listed as Required in the .pc file
1472 ;; (except for libcanberra -- which seems to be oversight on the part
1473 ;; of the upstream developers -- anything that links against libgnome,
1474 ;; must also link against libcanberra
1476 `(("libcanberra" ,libcanberra)
1477 ("libbonobo" ,libbonobo)
1479 ("gnome-vfs" ,gnome-vfs)
1480 ("popt" ,popt))) ;gnome-program.h includes popt.h
1481 (home-page "https://developer.gnome.org/libgnome/")
1482 (synopsis "Useful routines for building applications")
1483 (description "The libgnome library provides a number of useful routines
1484 for building modern applications, including session management, activation of
1485 files and URIs, and displaying help.")
1486 (license license:lgpl2.0+)))
1489 (define-public libart-lgpl
1491 (name "libart-lgpl")
1495 (uri (let ((upstream-name "libart_lgpl"))
1496 (string-append "mirror://gnome/sources/" upstream-name "/"
1497 (version-major+minor version) "/"
1498 upstream-name "-" version ".tar.bz2")))
1501 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1502 (build-system gnu-build-system)
1504 `(("pkg-config" ,pkg-config)))
1505 (home-page "https://people.gnome.org/~mathieu/libart")
1506 (synopsis "2D drawing library")
1507 (description "Libart is a 2D drawing library intended as a
1508 high-quality vector-based 2D library with antialiasing and alpha composition.")
1509 (license license:lgpl2.0+)))
1513 (define-public libgnomecanvas
1515 (name "libgnomecanvas")
1519 (uri (string-append "mirror://gnome/sources/" name "/"
1520 (version-major+minor version) "/"
1521 name "-" version ".tar.gz"))
1524 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1525 (build-system gnu-build-system)
1526 ;; Mentioned as Required in the .pc file
1527 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1530 `(("intltool" ,intltool)
1531 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1532 ("pkg-config" ,pkg-config)))
1533 (home-page "https://developer.gnome.org/libgnomecanvas/")
1534 (synopsis "Flexible widget for creating interactive structured graphics")
1535 (description "The GnomeCanvas widget provides a flexible widget for
1536 creating interactive structured graphics.")
1537 (license license:lgpl2.0+)))
1539 (define-public libgnomecanvasmm
1541 (name "libgnomecanvasmm")
1545 (uri (string-append "mirror://gnome/sources/" name "/"
1546 (version-major+minor version) "/"
1547 name "-" version ".tar.bz2"))
1550 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1551 (build-system gnu-build-system)
1553 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1554 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1556 `(("gtkmm-2" ,gtkmm-2)
1557 ("pkg-config" ,pkg-config)))
1558 (home-page "http://gtkmm.org")
1559 (synopsis "C++ bindings to the GNOME Canvas library")
1560 (description "C++ bindings to the GNOME Canvas library.")
1561 (license license:lgpl2.0+)))
1563 (define-public libgnomeui
1569 (uri (string-append "mirror://gnome/sources/" name "/"
1570 (version-major+minor version) "/"
1571 name "-" version ".tar.bz2"))
1574 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1575 (build-system gnu-build-system)
1576 ;; Mentioned as Required in the .pc file
1577 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1578 ("libgnome" ,libgnome)
1579 ("libgnomecanvas" ,libgnomecanvas)
1580 ("libgnome-keyring" ,libgnome-keyring)))
1581 (inputs `(("libjpeg" ,libjpeg)
1583 ("libbonobo" ,libbonobo)
1584 ("libxml2" ,libxml2)
1585 ("libglade" ,libglade)))
1587 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1588 ("intltool" ,intltool)
1589 ("pkg-config" ,pkg-config)))
1590 (home-page "https://developer.gnome.org/libgnomeui/")
1591 (synopsis "Additional widgets for applications")
1592 (description "The libgnomeui library provides additional widgets for
1593 applications. Many of the widgets from libgnomeui have already been
1595 (license license:lgpl2.0+)))
1597 (define-public libglade
1603 (uri (string-append "mirror://gnome/sources/" name "/"
1604 (version-major+minor version) "/"
1605 name "-" version ".tar.bz2"))
1608 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1609 (build-system gnu-build-system)
1611 `(("python" ,python))) ;; needed for the optional libglade-convert program
1613 `(("gtk+-2" ,gtk+-2)
1614 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1616 `(("pkg-config" ,pkg-config)))
1617 (home-page "https://developer.gnome.org/libglade")
1618 (synopsis "Load glade interfaces and access the glade built widgets")
1619 (description "Libglade is a library that provides interfaces for loading
1620 graphical interfaces described in glade files and for accessing the
1621 widgets built in the loading process.")
1622 (license license:gpl2+))) ; This is correct. GPL not LGPL
1624 (define-public libgnomeprint
1625 ;; This library has been deprecated since 2006; see
1626 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1628 (name "libgnomeprint")
1632 (uri (string-append "mirror://gnome/sources/" name "/"
1633 (version-major+minor version) "/"
1634 name "-" version ".tar.bz2"))
1637 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1638 (build-system gnu-build-system)
1641 ("libart-lgpl" ,libart-lgpl)
1643 ("libxml2" ,libxml2)))
1645 `(("intltool" ,intltool)
1646 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1647 ("pkg-config" ,pkg-config)))
1648 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1649 (synopsis "Printing framework for GNOME")
1651 "GNOME-print was a printing framework for GNOME. It has been deprecated
1652 since ca. 2006, when GTK+ itself incorporated printing support.")
1653 (license license:lgpl2.0+)))
1656 (define-public libgnomeprintui
1657 ;; Deprecated; see libgnomeprint.
1659 (name "libgnomeprintui")
1663 (uri (string-append "mirror://gnome/sources/" name "/"
1664 (version-major+minor version) "/"
1665 name "-" version ".tar.bz2"))
1668 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1669 (build-system gnu-build-system)
1670 ;; Mentioned as Required in the .pc file
1671 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1672 (inputs `(("gtk+" ,gtk+-2)
1674 ("gnome-icon-theme" ,gnome-icon-theme)
1675 ("libgnomecanvas" ,libgnomecanvas)
1676 ("libxml2" ,libxml2)))
1678 `(("intltool" ,intltool)
1679 ("pkg-config" ,pkg-config)))
1680 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1681 (synopsis "Printing framework for GNOME")
1682 (description (package-description libgnomeprint))
1683 (license license:lgpl2.0+)))
1685 (define-public libbonoboui
1687 (name "libbonoboui")
1691 (uri (string-append "mirror://gnome/sources/" name "/"
1692 (version-major+minor version) "/"
1693 name "-" version ".tar.bz2"))
1696 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1697 (build-system gnu-build-system)
1700 (modify-phases %standard-phases
1701 (add-before 'check 'start-xserver
1702 (lambda* (#:key inputs #:allow-other-keys)
1703 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1706 (setenv "HOME" (getcwd))
1707 (setenv "DISPLAY" disp)
1708 ;; There must be a running X server and make check doesn't start one.
1709 ;; Therefore we must do it.
1710 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1711 ;; Mentioned as Required by the .pc file
1712 (propagated-inputs `(("libxml2" ,libxml2)))
1715 ("pangox-compat" ,pangox-compat)
1716 ("libgnome" ,libgnome)
1717 ("libgnomecanvas" ,libgnomecanvas)
1718 ("libglade" ,libglade)))
1720 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1721 ("intltool" ,intltool)
1722 ("xorg-server" ,xorg-server) ; For running the tests
1723 ("pkg-config" ,pkg-config)))
1724 (home-page "https://developer.gnome.org/libbonoboui/")
1725 (synopsis "Some user interface controls using Bonobo")
1726 (description "The Bonobo UI library provides a number of user interface
1727 controls using the Bonobo component framework.")
1728 (license license:lgpl2.0+)))
1730 (define-public libwnck
1736 (uri (string-append "mirror://gnome/sources/" name "/"
1737 (version-major+minor version) "/"
1738 name "-" version ".tar.xz"))
1740 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1741 (build-system gnu-build-system)
1743 `(("pkg-config" ,pkg-config)
1744 ("intltool" ,intltool)))
1747 ("libxres" ,libxres)
1748 ("startup-notification" ,startup-notification)))
1749 (home-page "https://developer.gnome.org/libwnck/")
1750 (synopsis "Window Navigator Construction Kit")
1752 "Libwnck is the Window Navigator Construction Kit, a library for use in
1753 writing pagers, tasklists, and more generally applications that are dealing
1754 with window management. It tries hard to respect the Extended Window Manager
1755 Hints specification (EWMH).")
1756 (license license:lgpl2.0+)))
1758 ;; stable version for gtk2, required by xfwm4.
1759 (define-public libwnck-2
1760 (package (inherit libwnck)
1765 (uri (string-append "mirror://gnome/sources/" name "/"
1766 (version-major+minor version) "/"
1767 name "-" version ".tar.xz"))
1770 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1773 ("libxres" ,libxres)
1774 ("startup-notification" ,startup-notification)))))
1776 (define-public goffice
1782 (uri (string-append "mirror://gnome/sources/" name "/"
1783 (version-major+minor version) "/"
1784 name "-" version ".tar.xz"))
1786 (base32 "0f2p3p7idfpbms4mi75031014mqsv09s21b6w1359p09raph3461"))))
1787 (build-system gnu-build-system)
1789 "doc")) ;4.1 MiB of gtk-doc
1791 '(#:configure-flags (list (string-append "--with-html-dir="
1792 (assoc-ref %outputs "doc")
1793 "/share/gtk-doc/html"))))
1797 ("librsvg" ,librsvg)
1798 ("libxslt" ,libxslt)
1799 ("libxml2" ,libxml2)))
1801 `(("intltool" ,intltool)
1802 ("glib" ,glib "bin")
1803 ("pkg-config" ,pkg-config)))
1804 (home-page "https://developer.gnome.org/goffice/")
1805 (synopsis "Document-centric objects and utilities")
1806 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1808 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1810 (list license:gpl2 license:gpl3))))
1812 (define-public goffice-0.8
1813 (package (inherit goffice)
1817 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1818 (version-major+minor version) "/"
1819 (package-name goffice) "-" version ".tar.xz"))
1821 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1824 (modify-phases %standard-phases
1825 (add-after 'unpack 'fix-pcre-check
1827 ;; Only glib.h can be included directly. See
1828 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1829 (substitute* "configure"
1830 (("glib/gregex\\.h") "glib.h")) #t)))
1832 ,@(package-arguments goffice)))
1834 ;; libgoffice-0.8.pc mentions libgsf-1
1835 `(("libgsf" ,libgsf)))
1838 ,@(alist-delete "gtk" (package-inputs goffice))))))
1840 (define-public gnumeric
1846 (uri (string-append "mirror://gnome/sources/" name "/"
1847 (version-major+minor version) "/"
1848 name "-" version ".tar.xz"))
1851 "02kcq2af16m9mlzgkbdzswhw0nl6zf01dmvsfq3shy1mab7f7cbp"))))
1852 (build-system glib-or-gtk-build-system)
1854 `(;; The gnumeric developers don't worry much about failing tests.
1855 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1858 (modify-phases %standard-phases
1860 'configure 'pre-conf
1861 (lambda* (#:key outputs #:allow-other-keys)
1862 ;; Make install tries to write into the directory of goffice
1863 ;; I am informed that this only affects the possibility to embed a
1864 ;; spreadsheet inside an Abiword document. So presumably when we
1865 ;; package Abiword we'll have to refer it to this directory.
1866 (substitute* "configure"
1867 (("^GOFFICE_PLUGINS_DIR=.*")
1868 (string-append "GOFFICE_PLUGINS_DIR="
1869 (assoc-ref outputs "out")
1870 "/goffice/plugins"))))))))
1874 ("goffice" ,goffice)
1876 ("librsvg" ,librsvg)
1877 ("libxml2" ,libxml2)
1878 ("libxslt" ,libxslt)
1879 ("python" ,python-2)
1880 ("python2-pygobject" ,python2-pygobject)
1884 ("docbook-xml" ,docbook-xml)
1885 ("intltool" ,intltool)
1886 ("itstool" ,itstool)
1887 ("glib:bin" ,glib "bin")
1888 ("pkg-config" ,pkg-config)))
1889 (home-page "http://www.gnumeric.org")
1890 (synopsis "Spreadsheet application")
1892 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1893 interoperable with other spreadsheet applications. It has a vast array of
1894 features beyond typical spreadsheet functionality, such as support for linear
1895 and non-linear solvers, statistical analysis, and telecommunication
1898 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1899 (list license:gpl2 license:gpl3))))
1901 (define-public gnome-themes-standard
1903 (name "gnome-themes-standard")
1908 (uri (string-append "mirror://gnome/sources/" name "/"
1909 (version-major+minor version) "/" name "-"
1913 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1914 (build-system gnu-build-system)
1917 ;; Don't create 'icon-theme.cache'.
1918 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1919 (true (string-append coreutils "/bin/true")))
1920 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1924 ("librsvg" ,librsvg)
1925 ("libxml2" ,libxml2)
1928 `(("intltool" ,intltool)
1929 ("glib:bin" ,glib "bin")
1930 ("pkg-config" ,pkg-config)))
1931 (home-page "https://launchpad.net/gnome-themes-standard")
1932 (synopsis "Default GNOME 3 themes")
1934 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1935 (license license:lgpl2.1+)))
1937 (define-public seahorse
1944 (uri (string-append "mirror://gnome/sources/" name "/"
1945 (version-major+minor version) "/" name "-"
1949 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1950 (build-system glib-or-gtk-build-system)
1956 ("openldap" ,openldap)
1957 ("openssh" ,openssh)
1958 ("libsecret" ,libsecret)
1959 ("libsoup" ,libsoup)))
1961 `(("intltool" ,intltool)
1962 ("glib:bin" ,glib "bin")
1963 ("itstool" ,itstool)
1964 ("pkg-config" ,pkg-config)
1965 ("xmllint" ,libxml2)))
1966 (home-page "https://launchpad.net/gnome-themes-standard")
1967 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1969 "Seahorse is a GNOME application for managing encryption keys and
1970 passwords in the GNOME keyring.")
1971 (license license:gpl2+)))
1979 (uri (string-append "mirror://gnome/sources/" name "/"
1980 (version-major+minor version) "/"
1981 name "-" version ".tar.xz"))
1984 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
1985 (build-system gnu-build-system)
1988 (modify-phases %standard-phases
1989 (add-before 'check 'pre-check
1992 ;; For missing '/etc/machine-id'.
1993 (setenv "DBUS_FATAL_WARNINGS" "0")
1995 ;; Build the Vala API generator
1996 #:configure-flags '("--enable-vapigen")))
1998 `(("pkg-config" ,pkg-config)
2001 ("xsltproc" ,libxslt)
2002 ("dbus" ,dbus) ; for dbus tests
2003 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2005 `(("glib" ,glib))) ; required by libvala-0.26.pc
2006 (home-page "https://live.gnome.org/Vala/")
2007 (synopsis "Compiler for the GObject type system")
2009 "Vala is a programming language that aims to bring modern programming
2010 language features to GNOME developers without imposing any additional runtime
2011 requirements and without using a different ABI compared to applications and
2012 libraries written in C.")
2013 (license license:lgpl2.1+)))
2021 (uri (string-append "mirror://gnome/sources/" name "/"
2022 (version-major+minor version) "/"
2023 name "-" version ".tar.xz"))
2026 "1hsqc7238862mqnva5qqdfxnhpwq3ak6zx6kbjj95cs04wcgpad3"))))
2027 (build-system gnu-build-system)
2029 `(("pkg-config" ,pkg-config)
2030 ("intltool" ,intltool)
2032 ("gobject-introspection" ,gobject-introspection)
2033 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2035 ("xmllint" ,libxml2)))
2037 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2038 ("gnutls" ,gnutls) ;ditto
2039 ("pcre2" ,pcre2))) ;ditto
2040 (home-page "https://www.gnome.org/")
2041 (synopsis "Virtual Terminal Emulator")
2043 "VTE is a library (libvte) implementing a terminal emulator widget for
2044 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2045 gnome-terminal, but can also be used to embed a console/terminal in games,
2046 editors, IDEs, etc.")
2047 (license license:lgpl2.1+)))
2049 (define-public vte-ng
2053 (version "0.50.1.a")
2055 `(("gtk-doc" ,gtk-doc)
2057 ("autoconf" ,autoconf)
2058 ("automake" ,automake)
2059 ("libtool" ,libtool)
2060 ,@(package-native-inputs vte)))
2063 (uri (string-append "https://github.com/thestinger/"
2064 name "/archive/" version ".tar.gz"))
2065 (file-name (string-append name "-" version ".tar.gz"))
2068 "1r70jysdrc7r1vyn3mikpc8hh7rm4lpr0psakj8yssy11p451pja"))))
2070 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
2071 #:phases (modify-phases %standard-phases
2072 (add-after 'unpack 'bootstrap
2074 (setenv "NOCONFIGURE" "true")
2075 (zero? (system* "sh" "autogen.sh")))))))
2076 (synopsis "Enhanced VTE terminal widget")
2078 "VTE is a library (libvte) implementing a terminal emulator widget for
2079 GTK+, this fork provides additional functions exposed for keyboard text
2080 selection and URL hints.")))
2082 ;; provides vte 2.90, required for some terminal emulators
2083 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2084 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2085 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2086 ;; pantheon-terminal, roxterm are not currently packaged
2087 (define-public vte-0.36
2088 (package (inherit vte)
2093 (uri (string-append "mirror://gnome/sources/" name "/"
2094 (version-major+minor version) "/"
2095 name "-" version ".tar.xz"))
2098 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2101 ("ncurses" ,ncurses)))))
2103 ;; stable version for gtk2, required by xfce4-terminal.
2104 (define-public vte/gtk+-2
2105 (package (inherit vte)
2110 (uri (string-append "mirror://gnome/sources/" name "/"
2111 (version-major+minor version) "/"
2112 name "-" version ".tar.xz"))
2115 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2116 (patches (search-patches
2117 "vte-CVE-2012-2738-pt1.patch"
2118 "vte-CVE-2012-2738-pt2.patch"))))
2120 '(#:configure-flags '("--disable-python")))
2122 `(("pkg-config" ,pkg-config)
2123 ("intltool" ,intltool)
2124 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2126 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2127 ("ncurses" ,ncurses))))) ; required by libvte.la
2129 (define-public vinagre
2135 (uri (string-append "mirror://gnome/sources/" name "/"
2136 (version-major+minor version) "/"
2137 name "-" version ".tar.xz"))
2138 (patches ; We have to revert 2 commits to build against freerdp 1.1.
2139 (search-patches "vinagre-revert-1.patch"
2140 "vinagre-revert-2.patch"))
2143 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2144 (build-system glib-or-gtk-build-system)
2146 `(("pkg-config" ,pkg-config)
2147 ("intltool" ,intltool)
2148 ("itstool" ,itstool)
2149 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2150 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2152 `(("libxml2" ,libxml2)
2153 ("gtk-vnc" ,gtk-vnc)
2154 ("gnome-keyring" ,gnome-keyring)
2155 ("libsecret" ,libsecret)
2156 ("freerdp" ,freerdp)
2158 ("spice-gtk" ,spice-gtk)
2159 ("telepathy-glib" ,telepathy-glib)
2162 `(#:configure-flags '("--enable-rdp")))
2163 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2164 (synopsis "Remote desktop viewer for GNOME")
2165 (description "Vinagre is a remote display client supporting the VNC, SPICE
2166 and RDP protocols.")
2167 (license license:gpl3+)))
2169 (define-public dconf
2176 "mirror://gnome/sources/" name "/"
2177 (version-major+minor version) "/"
2178 name "-" version ".tar.xz"))
2181 "0da587hpiqy8h3pswn1102h4b905x8k6mk3ajpi7kf4kzkvv30ym"))))
2182 (build-system glib-or-gtk-build-system)
2187 ("libxml2" ,libxml2)))
2189 `(("libxslt" ,libxslt)
2190 ("docbook-xml" ,docbook-xml-4.2)
2191 ("docbook-xsl" ,docbook-xsl)
2192 ("intltool" ,intltool)
2193 ("pkg-config" ,pkg-config)))
2195 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2196 ; or /etc/machine-id.
2198 ;; Set the correct RUNPATH in binaries.
2199 (list (string-append "LDFLAGS=-Wl,-rpath="
2200 (assoc-ref %outputs "out") "/lib")
2201 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2203 (modify-phases %standard-phases
2204 (add-before 'configure 'fix-docbook
2205 (lambda* (#:key inputs #:allow-other-keys)
2206 (substitute* "docs/Makefile.in"
2207 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2208 (string-append (assoc-ref inputs "docbook-xsl")
2209 "/xml/xsl/docbook-xsl-"
2210 ,(package-version docbook-xsl)
2211 "/manpages/docbook.xsl")))
2212 (setenv "XML_CATALOG_FILES"
2213 (string-append (assoc-ref inputs "docbook-xml")
2214 "/xml/dtd/docbook/catalog.xml"))
2216 (home-page "https://developer.gnome.org/dconf")
2217 (synopsis "Low-level GNOME configuration system")
2218 (description "Dconf is a low-level configuration system. Its main purpose
2219 is to provide a backend to GSettings on platforms that don't already have
2220 configuration storage systems.")
2221 (license license:lgpl2.1)))
2223 (define-public json-glib
2229 (uri (string-append "mirror://gnome/sources/" name "/"
2230 (version-major+minor version) "/"
2231 name "-" version ".tar.xz"))
2234 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
2235 (build-system gnu-build-system)
2237 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2238 ("gobject-introspection" ,gobject-introspection)
2239 ("pkg-config" ,pkg-config)))
2241 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2242 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2243 (synopsis "Compiler for the GObject type system")
2245 "JSON-GLib is a C library based on GLib providing serialization and
2246 deserialization support for the JavaScript Object Notation (JSON) format
2247 described by RFC 4627. It provides parser and generator GObject classes and
2248 various wrappers for the complex data types employed by JSON, such as arrays
2250 (license license:lgpl2.1+)))
2252 (define-public libxklavier
2254 (name "libxklavier")
2258 (uri (string-append "mirror://gnome/sources/" name "/"
2259 version "/" name "-" version ".tar.xz"))
2262 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2263 (build-system gnu-build-system)
2266 (list (string-append "--with-xkb-base="
2267 (assoc-ref %build-inputs "xkeyboard-config")
2268 "/share/X11/xkb"))))
2270 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2271 ("gobject-introspection" ,gobject-introspection)
2272 ("pkg-config" ,pkg-config)))
2274 ;; Required by libxklavier.pc.
2276 ("libxml2" ,libxml2)))
2278 `(("iso-codes" ,iso-codes)
2280 ("libxkbfile" ,libxkbfile)
2281 ("xkbcomp" ,xkbcomp)
2282 ("xkeyboard-config" ,xkeyboard-config)))
2283 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2284 (synopsis "High-level API for X Keyboard Extension")
2286 "LibXklavier is a library providing high-level API for X Keyboard
2287 Extension known as XKB. This library is intended to support XFree86 and other
2288 commercial X servers. It is useful for creating XKB-related software (layout
2290 (license license:lgpl2.0+)))
2292 (define-public python2-rsvg
2293 ;; XXX: This is actually a subset of gnome-python-desktop.
2295 (name "python2-rsvg")
2301 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2302 version ".tar.bz2"))
2305 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2306 (build-system gnu-build-system)
2308 `(("pkg-config" ,pkg-config)))
2310 `(("python" ,python-2)
2311 ("python2-pygtk" ,python2-pygtk)
2312 ("librsvg" ,librsvg)))
2313 (home-page "https://www.gnome.org")
2314 (synopsis "Python bindings to librsvg")
2316 "This packages provides Python bindings to librsvg, the SVG rendering
2319 ;; This is the license of the rsvg bindings. The license of each module
2320 ;; of gnome-python-desktop is given in 'COPYING'.
2321 (license license:lgpl2.1+)))
2323 (define-public glib-networking
2325 (name "glib-networking")
2329 (uri (string-append "mirror://gnome/sources/glib-networking/"
2330 (version-major+minor version) "/"
2331 name "-" version ".tar.xz"))
2334 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2336 (search-patches "glib-networking-ssl-cert-file.patch"))))
2337 (build-system gnu-build-system)
2340 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2342 (modify-phases %standard-phases
2343 (add-before 'configure 'patch-giomoduledir
2344 ;; Install GIO modules into $out/lib/gio/modules.
2346 (substitute* "configure"
2347 (("GIO_MODULE_DIR=.*")
2348 (string-append "GIO_MODULE_DIR=" %output
2349 "/lib/gio/modules\n")))))
2350 (add-before 'check 'use-empty-ssl-cert-file
2352 ;; The ca-certificates.crt is not available in the build
2354 (setenv "SSL_CERT_FILE" "/dev/null")
2357 `(("pkg-config" ,pkg-config)
2358 ("intltool" ,intltool)))
2362 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2363 ("p11-kit" ,p11-kit)))
2364 (home-page "https://www.gnome.org")
2365 (synopsis "Network-related GIO modules")
2367 "This package contains various network related extensions for the GIO
2369 (license license:lgpl2.0+)))
2377 (uri (string-append "mirror://gnome/sources/rest/"
2378 (version-major+minor version) "/"
2379 name "-" version ".tar.xz"))
2382 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2383 (build-system gnu-build-system)
2385 '(#:tests? #f ; tests require internet connection
2387 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2389 `(("glib-mkenums" ,glib "bin")
2390 ("gobject-introspection" ,gobject-introspection)
2391 ("pkg-config" ,pkg-config)))
2393 ;; rest-0.7.pc refers to all these.
2395 ("libsoup" ,libsoup)
2396 ("libxml2" ,libxml2)))
2397 (home-page "http://www.gtk.org/")
2398 (synopsis "RESTful web api query library")
2400 "This library was designed to make it easier to access web services that
2401 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2402 libxml to ease remote use of the RESTful API.")
2403 (license license:lgpl2.1+)))
2405 (define-public libsoup
2411 (uri (string-append "mirror://gnome/sources/libsoup/"
2412 (version-major+minor version) "/"
2413 name "-" version ".tar.xz"))
2416 "0wkvs4kql1iam4cqy17wsi12b1pzhwr2127pyaxs7y0v3g5008s4"))))
2417 (build-system gnu-build-system)
2418 (outputs '("out" "doc"))
2420 `(#:modules ((guix build utils)
2421 (guix build gnu-build-system)
2425 (list (string-append "--with-html-dir="
2426 (assoc-ref %outputs "doc")
2427 "/share/gtk-doc/html")
2428 (string-append "--with-apache-module-dir="
2429 (assoc-ref %build-inputs "httpd")
2432 (modify-phases %standard-phases
2433 (add-before 'configure 'disable-unconnected-socket-test
2434 ;; This test fails due to missing /etc/nsswitch.conf
2435 ;; in the build environment.
2437 (substitute* "tests/socket-test.c"
2438 ((".*/sockets/unconnected.*") ""))
2440 (add-before 'check 'pre-check
2442 ;; The 'check-local' target runs 'env LANG=C sort -u',
2443 ;; unset 'LC_ALL' to make 'LANG' working.
2445 ;; The ca-certificates.crt is not available in the build
2447 (setenv "SSL_CERT_FILE" "/dev/null")
2448 ;; HTTPD in Guix uses mod_event and does not build prefork.
2449 (substitute* "tests/httpd.conf"
2450 (("^LoadModule mpm_prefork_module.*$") "\n"))
2452 ;; Generate a self-signed certificate that has "localhost" as its
2453 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2454 ;; 3.5.12, tests such as "ssl-tests" fail:
2456 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2458 ;; 'certtool' is interactive so we have to pipe it the answers.
2459 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2460 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2461 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2462 (for-each (lambda (line)
2467 "Guix" ;Organizational unit name
2468 "GNU" ;Organization name
2470 "" ;State or province
2472 "" ;subject's domain component (DC)
2475 "-1" ;expiration time
2476 "N" ;belong to authority?
2477 "N" ;web client certificate?
2479 "Y" ;web server certificate?
2480 "localhost" ;dnsName of subject
2481 "" ;dnsName of subject (end)
2483 "127.0.0.1" ;IP address of subject
2486 "" ;sign OCSP requests?
2489 "" ;email protection?
2490 "" ;URI of the CRL distribution point
2499 ;; Install vala bindings into $out.
2500 (string-append "vapidir=" %output
2504 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2505 ("gobject-introspection" ,gobject-introspection)
2506 ("intltool" ,intltool)
2507 ("pkg-config" ,pkg-config)
2508 ("python" ,python-wrapper)
2510 ;; These are needed for the tests.
2511 ;; FIXME: Add PHP once available.
2513 ("gnutls" ,gnutls) ;for 'certtool'
2516 ;; libsoup-2.4.pc refers to all these.
2518 ("libxml2" ,libxml2)))
2520 `(("glib-networking" ,glib-networking)
2521 ("sqlite" ,sqlite)))
2522 (home-page "https://live.gnome.org/LibSoup/")
2523 (synopsis "GLib-based HTTP Library")
2525 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2526 and the GLib main loop, to integrate well with GNOME applications.")
2527 (license license:lgpl2.0+)))
2529 (define-public libsecret
2536 "mirror://gnome/sources/libsecret/"
2537 (version-major+minor version) "/"
2538 name "-" version ".tar.xz"))
2541 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2542 (build-system gnu-build-system)
2543 (outputs '("out" "doc"))
2545 `(#:tests? #f ; FIXME: Testing hangs.
2547 (list (string-append "--with-html-dir="
2548 (assoc-ref %outputs "doc")
2549 "/share/gtk-doc/html"))))
2551 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2552 ("gobject-introspection" ,gobject-introspection)
2553 ("intltool" ,intltool)
2554 ("pkg-config" ,pkg-config)
2556 ("xsltproc" ,libxslt)))
2557 ;; These are needed for the tests.
2558 ;; FIXME: Add gjs once available.
2560 ;("python2" ,python-2)
2561 ;("python2-dbus" ,python2-dbus)
2562 ;("python2-pygobject" ,python2-pygobject)
2563 ;("python2-pygobject-2" ,python2-pygobject-2)))
2565 `(("glib" ,glib))) ; required by libsecret-1.pc
2567 `(("docbook-xsl" ,docbook-xsl)
2568 ("libgcrypt" ,libgcrypt)
2569 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2570 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2571 (synopsis "GObject bindings for \"Secret Service\" API")
2573 "Libsecret is a GObject based library for storing and retrieving passwords
2574 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2575 (license license:lgpl2.1+)))
2577 (define-public five-or-more
2579 (name "five-or-more")
2584 (uri (string-append "mirror://gnome/sources/" name "/"
2585 (version-major+minor version) "/"
2586 name "-" version ".tar.xz"))
2589 "1b26afyjr26wqy5j008gzsi3hpblbmabh0192lx6414lml1qxkxs"))))
2590 (build-system glib-or-gtk-build-system)
2592 `(("pkg-config" ,pkg-config)
2593 ("desktop-file-utils" ,desktop-file-utils)
2594 ("intltool" ,intltool)
2595 ("itstool" ,itstool)
2596 ("xmllint" ,libxml2)))
2599 ("librsvg" ,librsvg)))
2600 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2601 (synopsis "Logic puzzle game")
2602 (description "Five or More is a game where you try to align
2603 five or more objects of the same color and shape causing them to disappear.
2604 On every turn more objects will appear, until the board is full.
2605 Try to last as long as possible.")
2606 (license license:gpl2+)))
2608 (define-public gnome-mines
2610 (name "gnome-mines")
2615 (uri (string-append "mirror://gnome/sources/" name "/"
2616 (version-major+minor version) "/"
2617 name "-" version ".tar.xz"))
2620 "1xh2as2xmh7gx45gpnl0fh9xjpvyyn3m84qgv41kyp2s4clsyqz6"))))
2621 (build-system glib-or-gtk-build-system)
2624 (modify-phases %standard-phases
2625 (add-before 'configure 'patch-/bin/true
2627 (substitute* "configure"
2628 (("/bin/true") (which "true"))))))))
2630 `(("pkg-config" ,pkg-config)
2631 ("desktop-file-utils" ,desktop-file-utils)
2632 ("intltool" ,intltool)
2633 ("itstool" ,itstool)
2634 ("xmllint" ,libxml2)))
2637 ("libgnome-games-support" ,libgnome-games-support)
2638 ("librsvg" ,librsvg)))
2639 (home-page "https://wiki.gnome.org/Apps/Mines")
2640 (synopsis "Minesweeper game")
2642 "Mines (previously gnomine) is a puzzle game where you locate mines
2643 floating in an ocean using only your brain and a little bit of luck.")
2644 (license license:gpl2+)))
2646 (define-public gnome-sudoku
2648 (name "gnome-sudoku")
2653 (uri (string-append "mirror://gnome/sources/" name "/"
2654 (version-major+minor version) "/"
2655 name "-" version ".tar.xz"))
2658 "186k2axryn3ic8blc9ddnvyrqqf88khg2hlisfa1n4wp784wfx47"))))
2659 (build-system glib-or-gtk-build-system)
2661 `(("pkg-config" ,pkg-config)
2662 ("desktop-file-utils" ,desktop-file-utils)
2663 ("intltool" ,intltool)
2664 ("itstool" ,itstool)
2665 ("xmllint" ,libxml2)))
2668 ("json-glib" ,json-glib)
2670 ("librsvg" ,librsvg)
2671 ("qqwing" ,qqwing)))
2672 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2673 (synopsis "Japanese logic game")
2675 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2676 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2677 possible while still providing features that make playing difficult Sudoku
2679 (license license:gpl2+)))
2681 (define-public gnome-terminal
2683 (name "gnome-terminal")
2688 (uri (string-append "mirror://gnome/sources/" name "/"
2689 (version-major+minor version) "/"
2690 name "-" version ".tar.xz"))
2693 "03zcvxlzg7n4pz65vrg5xj3qpkqr4bz162mgmaz4bjh71b1xl7i8"))))
2694 (build-system glib-or-gtk-build-system)
2697 (list "--disable-migration" "--disable-search-provider"
2698 "--without-nautilus-extension")
2700 (modify-phases %standard-phases
2701 (add-before 'configure 'patch-/bin/true
2703 (substitute* "configure"
2704 (("/bin/true") (which "true"))))))))
2706 `(("pkg-config" ,pkg-config)
2707 ("desktop-file-utils" ,desktop-file-utils)
2708 ("intltool" ,intltool)
2709 ("itstool" ,itstool)
2710 ("xmllint" ,libxml2)))
2712 `(("dconf" ,dconf)))
2717 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2718 ("util-linux" ,util-linux)
2720 (home-page "https://wiki.gnome.org/Apps/Terminal")
2721 (synopsis "Terminal emulator")
2723 "GNOME Terminal is a terminal emulator application for accessing a
2724 UNIX shell environment which can be used to run programs available on
2727 It supports several profiles, multiple tabs and implements several
2728 keyboard shortcuts.")
2729 (license license:gpl3+)))
2731 (define-public colord
2738 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2739 name "-" version ".tar.xz"))
2742 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2743 (build-system glib-or-gtk-build-system)
2745 '(;; The tests want to run valgrind. Punt for now.
2747 #:configure-flags (list "--localstatedir=/var"
2748 ;; GUSB not packaged yet.
2750 ;; No dep on systemd.
2751 "--disable-systemd-login"
2752 ;; Wants to install to global completion dir;
2754 "--disable-bash-completion"
2755 ;; colord-gtk not packaged yet.
2756 "--disable-session-example"
2757 "--with-daemon-user=colord"
2759 (string-append "--with-udevrulesdir="
2760 (assoc-ref %outputs "out")
2761 "/lib/udev/rules.d"))
2763 (modify-phases %standard-phases
2764 (add-before 'configure 'patch-/bin/true
2766 (substitute* "configure"
2767 (("/bin/true") (which "true")))
2768 (substitute* "src/Makefile.in"
2769 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2770 "if test -w $(DESTDIR)$(localstatedir);")))))))
2772 `(("pkg-config" ,pkg-config)
2773 ("gobject-introspection" ,gobject-introspection)
2774 ("libtool" ,libtool)
2775 ("intltool" ,intltool)))
2777 ;; colord.pc refers to all these.
2782 `(("dbus-glib" ,dbus-glib)
2783 ("libgudev" ,libgudev)
2787 ("sane-backends" ,sane-backends)))
2788 (home-page "http://www.freedesktop.org/software/colord/")
2789 (synopsis "Color management service")
2790 (description "Colord is a system service that makes it easy to manage,
2791 install and generate color profiles to accurately color manage input and
2793 (license license:gpl2+)))
2795 (define-public geoclue
2802 (uri (string-append "https://www.freedesktop.org/software/" name
2803 "/releases/" (version-major+minor version) "/"
2804 name "-" version ".tar.xz"))
2807 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
2808 (patches (search-patches "geoclue-config.patch"))))
2809 (build-system glib-or-gtk-build-system)
2811 '(;; The tests want to run the system bus.
2813 #:configure-flags (list ;; Disable bits requiring ModemManager.
2814 "--disable-3g-source"
2815 "--disable-cdma-source"
2816 "--disable-modem-gps-source"
2817 "--with-dbus-service-user=geoclue")
2819 (modify-phases %standard-phases
2820 (add-before 'configure 'patch-/bin/true
2822 (substitute* "configure"
2823 (("/bin/true") (which "true"))))))))
2825 `(("pkg-config" ,pkg-config)
2826 ("gobject-introspection" ,gobject-introspection)
2827 ("intltool" ,intltool)))
2831 ("json-glib" ,json-glib)
2832 ("libsoup" ,libsoup)))
2833 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2834 (synopsis "Geolocation service")
2835 (description "Geoclue is a D-Bus service that provides location
2836 information. The primary goal of the Geoclue project is to make creating
2837 location-aware applications as simple as possible, while the secondary goal is
2838 to ensure that no application can access location information without explicit
2839 permission from user.")
2840 (license license:gpl2+)))
2842 (define-public geocode-glib
2844 (name "geocode-glib")
2848 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2849 (version-major+minor version) "/"
2850 name "-" version ".tar.xz"))
2853 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2854 (build-system gnu-build-system)
2856 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2857 ;; work for the builder. Punt.
2860 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2861 ("gobject-introspection" ,gobject-introspection)
2862 ("pkg-config" ,pkg-config)
2863 ("json-glib" ,json-glib)))
2865 ;; geocode-glib-1.0.pc refers to GIO.
2868 `(("libsoup" ,libsoup)))
2869 (home-page "https://github.com/GNOME/geocode-glib/")
2870 (synopsis "Geocoding and reverse-geocoding library")
2872 "geocode-glib is a convenience library for geocoding (finding longitude,
2873 and latitude from an address) and reverse geocoding (finding an address from
2874 coordinates) using the Nominatim service. geocode-glib caches requests for
2875 faster results and to avoid unnecessary server load.")
2876 (license license:lgpl2.0+)))
2878 (define-public upower
2884 (uri (string-append "https://upower.freedesktop.org/releases/"
2885 name "-" version ".tar.xz"))
2888 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2889 (patches (search-patches "upower-builddir.patch"))))
2890 (build-system glib-or-gtk-build-system)
2892 '( ;; The tests want to contact the system bus, which can't be done in the
2893 ;; build environment. The integration test can run, but the last of
2894 ;; the up-self-tests doesn't. Disable tests for now.
2896 #:configure-flags (list "--localstatedir=/var"
2897 (string-append "--with-udevrulesdir="
2898 (assoc-ref %outputs "out")
2899 "/lib/udev/rules.d"))
2901 (modify-phases %standard-phases
2902 (add-before 'configure 'patch-/bin/true
2904 (substitute* "configure"
2905 (("/bin/true") (which "true")))))
2906 (add-before 'configure 'patch-integration-test
2908 (substitute* "src/linux/integration-test"
2909 (("/usr/bin/python3") (which "python3"))))))))
2911 `(("gobject-introspection" ,gobject-introspection)
2912 ("pkg-config" ,pkg-config)
2913 ("intltool" ,intltool)
2917 ("libxslt" ,libxslt) ;for 'xsltproc'
2918 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2919 ("docbook-xsl" ,docbook-xsl)))
2921 `(("dbus-glib" ,dbus-glib)
2922 ("libgudev" ,libgudev)
2923 ("libusb" ,libusb)))
2924 (home-page "http://upower.freedesktop.org/")
2925 (synopsis "System daemon for managing power devices")
2927 "UPower is an abstraction for enumerating power devices,
2928 listening to device events and querying history and statistics. Any
2929 application or service on the system can access the org.freedesktop.UPower
2930 service via the system message bus.")
2931 (license license:gpl2+)))
2933 (define-public libgweather
2935 (name "libgweather")
2939 (uri (string-append "mirror://gnome/sources/" name "/"
2940 (version-major+minor version) "/"
2941 name "-" version ".tar.xz"))
2944 "0g35xfcw9vh3sfff42blk9ksrlmkrjmj46h3ad0sqgdn6xh329qj"))))
2945 (build-system gnu-build-system)
2948 `(,(string-append "--with-zoneinfo-dir="
2949 (assoc-ref %build-inputs "tzdata")
2952 (modify-phases %standard-phases
2953 (add-before 'check 'pre-check
2954 (lambda* (#:key inputs #:allow-other-keys)
2955 (substitute* "data/check-timezones.sh"
2956 (("/usr/share/zoneinfo/zone.tab")
2957 (string-append (assoc-ref inputs "tzdata")
2958 "/share/zoneinfo/zone.tab")))
2960 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2961 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2962 (substitute* "data/Locations.xml"
2970 ;; Install vala bindings into $out.
2971 (string-append "vapidir=" %output
2975 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2976 ("gobject-introspection" ,gobject-introspection)
2977 ("pkg-config" ,pkg-config)
2979 ("intltool" ,intltool)))
2981 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2984 ("gdk-pixbuf" ,gdk-pixbuf)
2985 ("libxml2" ,libxml2)
2986 ("libsoup" ,libsoup)))
2988 `(("tzdata" ,tzdata)
2989 ("geocode-glib" ,geocode-glib)))
2990 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2991 (synopsis "Location, time zone, and weather library for GNOME")
2993 "libgweather is a library to access weather information from online
2994 services for numerous locations.")
2995 (license license:gpl2+)))
2997 (define-public gnome-settings-daemon
2999 (name "gnome-settings-daemon")
3004 (uri (string-append "mirror://gnome/sources/" name "/"
3005 (version-major+minor version) "/"
3006 name "-" version ".tar.xz"))
3009 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
3010 (build-system glib-or-gtk-build-system)
3012 `(;; Color management test can't reach the colord system service.
3015 `(("pkg-config" ,pkg-config)
3016 ("intltool" ,intltool)
3017 ("xsltproc" ,libxslt)
3018 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3019 ("docbook-xml" ,docbook-xml-4.2)
3020 ("docbook-xsl" ,docbook-xsl)))
3022 `(("colord" ,colord)
3023 ("libgudev" ,libgudev)
3026 ("pulseaudio" ,pulseaudio)
3027 ("libcanberra" ,libcanberra)
3029 ("libxtst" ,libxtst)
3031 ("libnotify" ,libnotify)
3032 ("geoclue" ,geoclue)
3033 ("geocode-glib" ,geocode-glib)
3034 ("libgweather" ,libgweather)
3035 ("gnome-desktop" ,gnome-desktop)
3038 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3039 ("libwacom" ,libwacom)
3040 ("librsvg" ,librsvg)
3041 ("xf86-input-wacom" ,xf86-input-wacom)
3042 ("network-manager" ,network-manager)))
3043 (home-page "https://www.gnome.org")
3044 (synopsis "GNOME settings daemon")
3046 "This package contains the daemon responsible for setting the various
3047 parameters of a GNOME session and the applications that run under it. It
3048 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3049 settings, themes, mouse settings, and startup of other daemons.")
3050 (license license:gpl2+)))
3052 (define-public totem-pl-parser
3054 (name "totem-pl-parser")
3058 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3059 (version-major+minor version) "/"
3060 "totem-pl-parser-" version ".tar.xz"))
3063 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3064 (build-system gnu-build-system)
3066 ;; FIXME: Tests require gvfs.
3069 `(("intltool" ,intltool)
3070 ("glib" ,glib "bin")
3071 ("gobject-introspection" ,gobject-introspection)
3072 ("pkg-config" ,pkg-config)))
3076 ("libxml2" ,libxml2)))
3078 `(("libarchive" ,libarchive)
3079 ("libgcrypt" ,libgcrypt)
3081 ("libsoup" ,libsoup)))
3082 (home-page "https://projects.gnome.org/totem")
3083 (synopsis "Library to parse and save media playlists for GNOME")
3084 (description "Totem-pl-parser is a GObjects-based library to parse and save
3085 playlists in a variety of formats.")
3086 (license license:lgpl2.0+)))
3088 (define-public aisleriot
3094 (uri (string-append "mirror://gnome/sources/" name "/"
3095 (version-major+minor version) "/"
3096 name "-" version ".tar.xz"))
3099 "12bqbyiqn2dwknz7ndgwgqqqz993s1ynh8qb82sshr7fy4zw8qph"))))
3100 (build-system glib-or-gtk-build-system)
3103 '("--with-platform=gtk-only"
3104 "--with-card-theme-formats=svg")))
3106 `(("desktop-file-utils" ,desktop-file-utils)
3107 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3108 ("intltool" ,intltool)
3109 ("itstool" ,itstool)
3110 ("pkg-config" ,pkg-config)
3111 ("xmllint" ,libxml2)))
3114 ("guile" ,guile-2.2)
3115 ("libcanberra" ,libcanberra)
3116 ("librsvg" ,librsvg)))
3117 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3118 (synopsis "Solitaire card games")
3120 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3121 which are easy to play with the aid of a mouse.")
3122 (license license:gpl3+)))
3124 (define-public devhelp
3130 (uri (string-append "mirror://gnome/sources/" name "/"
3131 (version-major+minor version) "/"
3132 name "-" version ".tar.xz"))
3135 "0c74rk46dy3kvy78m42jl3ip56c5536zmy8v1lbascjmh4fdwn28"))))
3136 (build-system glib-or-gtk-build-system)
3138 `(("intltool" ,intltool)
3139 ("pkg-config" ,pkg-config)))
3141 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3142 ("webkitgtk" ,webkitgtk)))
3143 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3144 (synopsis "API documentation browser for GNOME")
3146 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3147 natively with GTK-Doc (the API reference system developed for GTK+ and used
3148 throughout GNOME for API documentation).")
3149 (license license:gpl2+)))
3158 (uri (string-append "mirror://gnome/sources/" name "/"
3159 (version-major+minor version) "/"
3160 name "-" version ".tar.xz"))
3163 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3164 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3165 ;; cogl, corresponding changes may be appropriate in mutter as well.
3166 (build-system gnu-build-system)
3168 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3169 ("gobject-introspection" ,gobject-introspection)
3170 ;;("xorg-server" ,xorg-server) ; for the test suite
3171 ("pkg-config" ,pkg-config)))
3174 ("gdk-pixbuf" ,gdk-pixbuf)
3176 ("libxext" ,libxext)
3177 ("libxfixes" ,libxfixes)
3178 ("libxdamage" ,libxdamage)
3179 ("libxcomposite" ,libxcomposite)
3180 ("libxrandr" ,libxrandr)))
3185 ("gstreamer" ,gstreamer)
3186 ("gst-plugins-base" ,gst-plugins-base)
3187 ("wayland" ,wayland)))
3189 `(#:configure-flags (list "--enable-cogl-gst"
3190 "--enable-wayland-egl-platform"
3191 "--enable-wayland-egl-server"
3193 ;; Arrange to pass an absolute file name to
3194 ;; dlopen for libGL.so.
3195 (string-append "--with-gl-libname="
3196 (assoc-ref %build-inputs "mesa")
3198 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3199 ;; _FontTransOpen: Unable to Parse address
3200 ;; ${prefix}/share/fonts/X11/misc/
3204 (modify-phases %standard-phases
3205 (add-before 'check 'start-xorg-server
3206 (lambda* (#:key inputs #:allow-other-keys)
3207 ;; The test suite requires a running X server.
3208 (system (format #f "~a/bin/Xvfb :1 &"
3209 (assoc-ref inputs "xorg-server")))
3210 (setenv "DISPLAY" ":1")
3212 (home-page "http://www.cogl3d.org")
3213 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3215 "Cogl is a small library for using 3D graphics hardware to draw pretty
3216 pictures. The API departs from the flat state machine style of OpenGL and is
3217 designed to make it easy to write orthogonal components that can render
3218 without stepping on each others toes.")
3219 (license (list license:expat ; most of the code
3220 license:bsd-3 ; cogl/cogl-point-in-poly.c
3221 license:sgifreeb2.0 ; cogl-path/tesselator/
3222 license:asl2.0)))) ; examples/android/
3224 (define-public clutter
3231 (uri (string-append "mirror://gnome/sources/" name "/"
3232 (version-major+minor version) "/"
3233 name "-" version ".tar.xz"))
3236 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3237 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3238 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3239 (build-system gnu-build-system)
3241 "doc")) ;9 MiB of gtk-doc HTML pages
3243 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3244 ("gobject-introspection" ,gobject-introspection)
3245 ("pkg-config" ,pkg-config)
3246 ("xsltproc" ,libxslt)))
3252 ("json-glib" ,json-glib)
3254 ("libxcomposite" ,libxcomposite)
3255 ("libxdamage" ,libxdamage)
3256 ("libxext" ,libxext)
3257 ("xinput" ,xinput)))
3259 `(("libxkbcommon" ,libxkbcommon)
3262 `(#:configure-flags (list "--enable-x11-backend=yes"
3264 ;; This produces share/doc/{clutter,cally}.
3265 (string-append "--with-html-dir="
3266 (assoc-ref %outputs "doc")
3268 ;; XXX FIXME: Get test suite working. It would probably fail in the
3269 ;; same way the cogl tests fail, since clutter is based on cogl.
3271 (home-page "http://www.clutter-project.org")
3272 (synopsis "Open GL based interactive canvas library")
3274 "Clutter is an Open GL based interactive canvas library, designed for
3275 creating fast, mainly 2D single window applications such as media box UIs,
3276 presentations, kiosk style applications and so on.")
3277 (license license:lgpl2.0+)))
3279 (define-public clutter-gtk
3281 (name "clutter-gtk")
3286 (uri (string-append "mirror://gnome/sources/" name "/"
3287 (version-major+minor version) "/"
3288 name "-" version ".tar.xz"))
3291 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3292 (build-system gnu-build-system)
3294 `(("pkg-config" ,pkg-config)
3295 ("gobject-introspection" ,gobject-introspection)))
3297 ;; clutter-gtk.pc refers to all these.
3298 `(("clutter" ,clutter)
3300 (home-page "http://www.clutter-project.org")
3301 (synopsis "Open GL based interactive canvas library GTK+ widget")
3303 "Clutter is an Open GL based interactive canvas library, designed for
3304 creating fast, mainly 2D single window applications such as media box UIs,
3305 presentations, kiosk style applications and so on.")
3306 (license license:lgpl2.0+)))
3308 (define-public clutter-gst
3310 (name "clutter-gst")
3315 (uri (string-append "mirror://gnome/sources/" name "/"
3316 (version-major+minor version) "/"
3317 name "-" version ".tar.xz"))
3320 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
3321 (build-system gnu-build-system)
3323 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3324 ("pkg-config" ,pkg-config)
3325 ("gobject-introspection" ,gobject-introspection)))
3327 `(("clutter" ,clutter)
3328 ("gstreamer" ,gstreamer)
3329 ("gst-plugins-base" ,gst-plugins-base)))
3330 (home-page "http://www.clutter-project.org")
3331 (synopsis "Integration library for using GStreamer with Clutter")
3333 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3334 It provides a GStreamer sink to upload frames to GL and an actor that
3335 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3336 GL based interactive canvas library.")
3337 (license license:lgpl2.0+)))
3339 (define-public libchamplain
3341 (name "libchamplain")
3346 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3350 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3351 (build-system gnu-build-system)
3352 (arguments '(#:configure-flags '("--enable-vala")))
3354 `(("gobject-introspection" ,gobject-introspection)
3355 ("pkg-config" ,pkg-config)
3358 `(("libsoup" ,libsoup)
3360 ("clutter" ,clutter)
3361 ("clutter-gtk" ,clutter-gtk)
3362 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3366 (home-page "https://projects.gnome.org/libchamplain/")
3367 (synopsis "C library providing a ClutterActor to display maps")
3369 "libchamplain is a C library providing a ClutterActor to display maps.
3370 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3371 and Perl bindings are also available. It supports numerous free map sources
3372 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3373 (license license:lgpl2.1+)))
3382 (uri (string-append "mirror://gnome/sources/" name "/"
3383 (version-major+minor version) "/"
3384 name "-" version ".tar.xz"))
3387 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3388 (build-system gnu-build-system)
3390 `(("intltool" ,intltool)
3391 ("pkg-config" ,pkg-config)
3392 ("gobject-introspection" ,gobject-introspection)))
3395 ("gdk-pixbuf" ,gdk-pixbuf)
3396 ("sqlite" ,sqlite)))
3397 ;; XXX TODO: Figure out how to run the test suite.
3398 (arguments `(#:tests? #f))
3399 (home-page "https://wiki.gnome.org/Projects/Gom")
3400 (synopsis "Object mapper from GObjects to SQLite")
3402 "Gom provides an object mapper from GObjects to SQLite. It helps you
3403 write applications that need to store structured data as well as make complex
3404 queries upon that data.")
3405 (license license:lgpl2.1+)))
3407 (define-public libgnome-games-support
3409 (name "libgnome-games-support")
3413 (uri (string-append "mirror://gnome/sources/" name "/"
3414 (version-major+minor version) "/"
3415 name "-" version ".tar.xz"))
3418 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
3419 (build-system gnu-build-system)
3422 (modify-phases %standard-phases
3423 (add-before 'check 'pre-check
3425 ;; Tests require a writable HOME.
3426 (setenv "HOME" (getcwd))
3429 `(("intltool" ,intltool)
3430 ("pkg-config" ,pkg-config)
3433 ;; Required by libgnome-games-support-1.0.pc
3435 ("libgee" ,libgee)))
3436 (home-page "https://www.gnome.org/")
3437 (synopsis "Useful functionality shared among GNOME games")
3439 "libgnome-games-support is a small library intended for internal use by
3440 GNOME Games, but it may be used by others.")
3441 (license license:lgpl3+)))
3443 (define-public gnome-klotski
3445 (name "gnome-klotski")
3449 (uri (string-append "mirror://gnome/sources/" name "/"
3450 (version-major+minor version) "/"
3451 name "-" version ".tar.xz"))
3454 "16hd6yk01rhb4pj8m01fyn72wykf41d72gsms81q0n4zm5bm1a4h"))))
3455 (build-system glib-or-gtk-build-system)
3457 `(("desktop-file-utils" ,desktop-file-utils)
3458 ("intltool" ,intltool)
3459 ("itstool" ,itstool)
3460 ("pkg-config" ,pkg-config)
3461 ("xmllint" ,libxml2)))
3464 ("libgnome-games-support" ,libgnome-games-support)
3465 ("librsvg" ,librsvg)))
3466 (home-page "https://wiki.gnome.org/Apps/Klotski")
3467 (synopsis "Sliding block puzzles")
3469 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3470 the patterned block to the area bordered by green markers. To do so, you will
3471 need to slide other blocks out of the way. Complete each puzzle in as few moves
3473 (license license:gpl2+)))
3475 (define-public grilo
3482 (uri (string-append "mirror://gnome/sources/" name "/"
3483 (version-major+minor version) "/"
3484 name "-" version ".tar.xz"))
3487 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3488 (build-system gnu-build-system)
3490 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3491 ("intltool" ,intltool)
3492 ("pkg-config" ,pkg-config)
3493 ("gobject-introspection" ,gobject-introspection)))
3495 `(("cyrus-sasl" ,cyrus-sasl)
3498 ("libxml2" ,libxml2)
3499 ("liboauth" ,liboauth)
3500 ("libsoup" ,libsoup)
3502 ("totem-pl-parser" ,totem-pl-parser)))
3505 (modify-phases %standard-phases
3506 (add-after 'unpack 'fix-introspection-install-dir
3507 (lambda* (#:key outputs #:allow-other-keys)
3508 (let ((out (assoc-ref outputs "out")))
3509 (substitute* '("src/Makefile.in"
3510 "libs/pls/Makefile.in"
3511 "libs/net/Makefile.in")
3512 (("@INTROSPECTION_GIRDIR@")
3513 (string-append out "/share/gir-1.0/"))
3514 (("@INTROSPECTION_TYPELIBDIR@")
3515 (string-append out "/lib/girepository-1.0/")))))))))
3516 (native-search-paths
3517 (list (search-path-specification
3518 (variable "GRL_PLUGIN_PATH")
3519 (files (list (string-append "lib/grilo-"
3520 (version-major+minor version)))))))
3521 (home-page "https://live.gnome.org/Grilo")
3522 (synopsis "Framework for discovering and browsing media")
3524 "Grilo is a framework focused on making media discovery and browsing easy
3525 for application developers.")
3526 (license license:lgpl2.1+)))
3528 (define-public grilo-plugins
3530 (name "grilo-plugins")
3535 (uri (string-append "mirror://gnome/sources/" name "/"
3536 (version-major+minor version) "/"
3537 name "-" version ".tar.xz"))
3540 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3541 (build-system gnu-build-system)
3543 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3544 ("intltool" ,intltool)
3545 ("itstool" ,itstool)
3546 ("pkg-config" ,pkg-config)))
3549 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3551 ("libxml2" ,libxml2)
3554 ;; XXX TODO: Add oauth
3555 ;; XXX TODO: Add goa
3556 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3557 ;; XXX TODO: Add lua (needs help finding it)
3558 ("json-glib" ,json-glib)
3561 ("libsoup" ,libsoup)
3562 ("libarchive" ,libarchive)
3563 ("totem-pl-parser" ,totem-pl-parser)))
3565 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3568 ,(version-major+minor version)))
3569 ;; XXX FIXME: Try to get the test suite working. It appears to require
3570 ;; a working system dbus. Inside the build container, all tests fail
3571 ;; with: "assertion failed: (source)". Outside of the build container,
3572 ;; most tests succeed.
3574 (home-page "https://live.gnome.org/Grilo")
3575 (synopsis "Plugins for the Grilo media discovery library")
3577 "Grilo is a framework focused on making media discovery and browsing easy
3578 for application developers.")
3579 (license license:lgpl2.1+)))
3581 (define-public totem
3588 (uri (string-append "mirror://gnome/sources/" name "/"
3589 (version-major+minor version) "/"
3590 name "-" version ".tar.xz"))
3593 "00cdlll5b0wj5ckl1pc0a3g39a0hlq0gxkcsh1f6p20fjixqzmwv"))))
3594 (build-system glib-or-gtk-build-system)
3596 `(("pkg-config" ,pkg-config)
3597 ("desktop-file-utils" ,desktop-file-utils)
3598 ("gobject-introspection" ,gobject-introspection)
3599 ("intltool" ,intltool)
3600 ("itstool" ,itstool)
3601 ("xmllint" ,libxml2)))
3603 `(("dconf" ,dconf)))
3606 ("gdk-pixbuf" ,gdk-pixbuf)
3609 ("dbus-glib" ,dbus-glib)
3610 ("clutter" ,clutter)
3611 ("clutter-gtk" ,clutter-gtk)
3612 ("clutter-gst" ,clutter-gst)
3614 ("libxxf86vm" ,libxxf86vm)
3615 ("libxtst" ,libxtst)
3616 ("libxrandr" ,libxrandr)
3617 ("libxml2" ,libxml2)
3618 ("libsoup" ,libsoup)
3619 ("libpeas" ,libpeas)
3620 ("librsvg" ,librsvg)
3622 ("gnome-desktop" ,gnome-desktop)
3623 ("gstreamer" ,gstreamer)
3624 ("gst-plugins-base" ,gst-plugins-base)
3625 ("gst-plugins-good" ,gst-plugins-good)
3626 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3627 ("adwaita-icon-theme" ,adwaita-icon-theme)
3628 ;; XXX We use python-2 because libxml2 because itstool (which needs
3629 ;; libxml) currently uses python-2.
3630 ("python" ,python-2)
3631 ("python-pygobject" ,python2-pygobject)
3632 ;; XXX TODO pylint needed for python support
3633 ("totem-pl-parser" ,totem-pl-parser)
3635 ("grilo-plugins" ,grilo-plugins)
3639 `(;; Disable automatic GStreamer plugin installation via PackageKit and
3641 #:configure-flags '("--disable-easy-codec-installation"
3643 ;; Do not build .a files for the plugins, it's
3644 ;; completely useless. This saves 2 MiB.
3648 (modify-phases %standard-phases
3650 'install 'wrap-totem
3651 (lambda* (#:key inputs outputs #:allow-other-keys)
3652 (let ((out (assoc-ref outputs "out"))
3653 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3654 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3655 (wrap-program (string-append out "/bin/totem")
3656 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3657 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3658 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3659 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3661 (home-page "https://wiki.gnome.org/Apps/Videos")
3662 (synopsis "Simple media player for GNOME based on GStreamer")
3663 (description "Totem is a simple yet featureful media player for GNOME
3664 which can read a large number of file formats.")
3665 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3666 ;; to be used and distributed together with GStreamer and Totem. See
3667 ;; file://COPYING in the source distribution for details.
3668 (license license:gpl2+)))
3670 (define-public rhythmbox
3676 (uri (string-append "mirror://gnome/sources/" name "/"
3677 (version-major+minor version) "/"
3678 name "-" version ".tar.xz"))
3681 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
3682 (build-system glib-or-gtk-build-system)
3685 (list "--enable-lirc"
3692 (modify-phases %standard-phases
3694 'install 'wrap-rhythmbox
3695 (lambda* (#:key inputs outputs #:allow-other-keys)
3696 (let ((out (assoc-ref outputs "out"))
3697 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3698 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3699 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3700 (python-path (getenv "PYTHONPATH")))
3701 (wrap-program (string-append out "/bin/rhythmbox")
3702 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3703 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3704 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3705 `("PYTHONPATH" ":" prefix (,python-path))))
3708 `(("dconf" ,dconf)))
3710 `(("itstool" ,itstool)
3711 ("intltool" ,intltool)
3712 ("glib" ,glib "bin")
3713 ("gobject-introspection" ,gobject-introspection)
3714 ("desktop-file-utils" ,desktop-file-utils)
3715 ("pkg-config" ,pkg-config)
3716 ("xmllint" ,libxml2)))
3718 `(("json-glib" ,json-glib)
3720 ("gnome-desktop" ,gnome-desktop)
3722 ("python-pygobject" ,python2-pygobject)
3726 ("adwaita-icon-theme" ,adwaita-icon-theme)
3728 ("grilo-plugins" ,grilo-plugins)
3729 ("gstreamer" ,gstreamer)
3730 ("gst-plugins-base" ,gst-plugins-base)
3731 ("gst-plugins-good" ,gst-plugins-good)
3732 ("totem-pl-parser" ,totem-pl-parser)
3733 ("libgudev" ,libgudev)
3734 ;;("libmtp" ,libmtp) FIXME: Not detected
3735 ("libsecret" ,libsecret)
3736 ("libsoup" ,libsoup)
3737 ("libnotify" ,libnotify)
3738 ("libpeas" ,libpeas)
3740 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3741 ;;("clutter" ,clutter)
3742 ;;("clutter-gtk" ,clutter-gtk)
3743 ;;("clutter-gst" ,clutter-gst)
3744 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3751 ("brasero" ,brasero)))
3752 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3753 (synopsis "Music player for GNOME")
3754 (description "Rhythmbox is a music playing application for GNOME. It
3755 supports playlists, song ratings, and any codecs installed through gstreamer.")
3756 (license license:gpl2+)))
3764 (uri (string-append "mirror://gnome/sources/" name "/"
3765 (version-major+minor version) "/"
3766 name "-" version ".tar.xz"))
3769 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
3770 (build-system glib-or-gtk-build-system)
3773 (modify-phases %standard-phases
3776 (lambda* (#:key outputs #:allow-other-keys)
3777 (let ((out (assoc-ref outputs "out"))
3778 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3779 (wrap-program (string-append out "/bin/eog")
3780 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3783 `(("dconf" ,dconf)))
3785 `(("intltool" ,intltool)
3786 ("itstool" ,itstool)
3787 ("glib" ,glib "bin")
3788 ("gobject-introspection" ,gobject-introspection)
3789 ("pkg-config" ,pkg-config)
3790 ("xmllint" ,libxml2)))
3792 `(("gnome-desktop" ,gnome-desktop)
3793 ("shared-mime-info" ,shared-mime-info)
3794 ("adwaita-icon-theme" ,adwaita-icon-theme)
3797 ("libexif" ,libexif)
3798 ("libpeas" ,libpeas)
3799 ("libjpeg" ,libjpeg)
3800 ("librsvg" ,librsvg)
3801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3803 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3804 (synopsis "GNOME image viewer")
3805 (description "Eye of GNOME is the GNOME image viewer. It
3806 supports image conversion, rotation, and slideshows.")
3807 (license license:gpl2+)))
3809 (define-public eog-plugins
3810 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3811 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3812 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3813 ;; 'XDG_DATA_DIRS' appropriately set.
3815 (name "eog-plugins")
3819 (uri (string-append "mirror://gnome/sources/" name "/"
3820 (version-major+minor version) "/"
3821 name "-" version ".tar.xz"))
3824 "0an04z8v83qa6j950rbwdzf1s86y7zd8h1r4p2x36fwbkk1m617q"))))
3825 (build-system gnu-build-system)
3826 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3827 (synopsis "Extensions for the Eye of GNOME image viewer")
3829 `(("pkg-config" ,pkg-config)
3830 ("gettext" ,gnu-gettext)))
3835 ("libpeas" ,libpeas)
3836 ("libexif" ,libexif)
3837 ("libchamplain" ,libchamplain)))
3839 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3843 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3844 @item @dfn{Map}, which displays a map of where the picture was taken on the
3846 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3849 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3850 ;; long suspicious byte stream that goes to a
3851 ;; ".gresource.eog_postasa_plugin" ELF section.
3852 (license license:gpl2+)))
3854 (define-public libgudev
3860 (uri (string-append "mirror://gnome/sources/" name "/"
3861 version "/" name "-" version ".tar.xz"))
3864 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3865 (build-system gnu-build-system)
3867 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3868 ("gobject-introspection" ,gobject-introspection)
3869 ("pkg-config" ,pkg-config)))
3871 `(("glib" ,glib))) ; required by gudev-1.0.pc
3874 (home-page "https://wiki.gnome.org/Projects/libgudev")
3875 (synopsis "GObject bindings for libudev")
3877 "This library provides GObject bindings for libudev. It was originally
3878 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3879 (license license:lgpl2.1+)))
3887 (uri (string-append "mirror://gnome/sources/" name "/"
3888 (version-major+minor version) "/"
3889 name "-" version ".tar.xz"))
3892 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3893 (build-system gnu-build-system)
3895 '(#:tests? #f)) ; XXX: requiring `pidof'
3897 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3898 ("intltool" ,intltool)
3899 ("pkg-config" ,pkg-config)
3900 ("xsltproc" ,libxslt)))
3903 ("docbook-xml" ,docbook-xml-4.2)
3904 ("docbook-xsl" ,docbook-xsl)
3909 ("libarchive" ,libarchive)
3910 ("libbluray" ,libbluray)
3912 ("libcdio-paranoia" ,libcdio-paranoia)
3913 ("libgcrypt" ,libgcrypt)
3914 ("libgphoto2" ,libgphoto2)
3915 ("libgudev" ,libgudev)
3917 ("libsecret" ,libsecret)
3918 ("libsmbclient" ,samba)
3919 ("libsoup" ,libsoup)
3920 ("libxml2" ,libxml2)
3921 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3923 ("udisks" ,udisks)))
3924 (home-page "https://wiki.gnome.org/gvfs/")
3925 (synopsis "Userspace virtual file system for GIO")
3927 "GVFS is a userspace virtual file system designed to work with the I/O
3928 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3929 to all applications using the GIO API. It also supports exposing the GVFS
3930 mounts to non-GIO applications using FUSE.
3932 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3934 (license license:lgpl2.0+)))
3942 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3944 (string-join (string-split version #\.)
3949 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3950 (build-system gnu-build-system)
3952 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3953 ("gobject-introspection" ,gobject-introspection)
3954 ("pkg-config" ,pkg-config)
3956 ("autoconf" ,autoconf)
3957 ("automake" ,automake)
3958 ("libtool" ,libtool)
3959 ("gtk-doc" ,gtk-doc)))
3961 ;; Both of these are required by gusb.pc.
3963 ("libusb" ,libusb)))
3965 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3967 (modify-phases %standard-phases
3968 (add-after 'unpack 'autogen
3970 (and (zero? (system* "gtkdocize"))
3971 (zero? (system* "autoreconf" "-vif"))))))))
3972 (home-page "https://github.com/hughsie/libgusb")
3973 (synopsis "GLib binding for libusb1")
3975 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3976 asynchronous control, bulk and interrupt transfers with proper cancellation
3977 and integration into a mainloop. This makes it easy to integrate low level
3978 USB transfers with your high-level application or system daemon.")
3979 (license license:lgpl2.1+)))
3981 (define-public simple-scan
3983 (name "simple-scan")
3987 (uri (string-append "https://launchpad.net/simple-scan/"
3988 (version-major+minor version) "/"
3989 version "/+download/simple-scan-"
3993 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
3994 (build-system glib-or-gtk-build-system)
3999 ("gdk-pixbuf" ,gdk-pixbuf)
4001 ("libsane" ,sane-backends)))
4003 `(("gettext" ,gettext-minimal)
4004 ("itstool" ,itstool)
4006 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4007 ("pkg-config" ,pkg-config)
4009 ("xmllint" ,libxml2)))
4011 '(#:configure-flags '("--disable-packagekit")
4013 (modify-phases %standard-phases
4014 (add-after 'unpack 'clean
4016 ;; Remove a left-over reference to PackageKit.
4018 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4020 ;; There are some generated C files erroneously
4021 ;; included in the source distribution, and this
4022 ;; one breaks the build by referring to a
4023 ;; non-existent header (packagekit.h)
4024 (delete-file "src/ui.c"))))))
4025 (home-page "https://launchpad.net/simple-scan")
4026 (synopsis "Document and image scanner")
4027 (description "Simple Scan is an easy-to-use application, designed to let
4028 users connect their scanner and quickly have the image/document in an
4029 appropriate format. Simple Scan is basically a frontend for SANE - which is
4030 the same backend as XSANE uses. This means that all existing scanners will
4031 work and the interface is well tested.")
4032 (license license:gpl3+)))
4034 (define-public eolie
4040 (uri (string-append "https://github.com/gnumdk/eolie/"
4041 "releases/download/"
4042 (version-major+minor version)
4043 "/eolie-" version ".tar.xz"))
4046 "1lb3rd2as12vq24fcf9nmlhggf8vka3kli2i92i8iylwi7nq5n2a"))))
4047 (build-system glib-or-gtk-build-system)
4049 `(#:modules ((guix build glib-or-gtk-build-system)
4053 (modify-phases %standard-phases
4054 (add-after 'wrap 'wrap-more
4055 (lambda* (#:key inputs outputs #:allow-other-keys)
4056 (let* ((out (assoc-ref outputs "out"))
4057 ;; These libraries must be on LD_LIBRARY_PATH.
4058 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4059 "atk" "gtk+" "gsettings-desktop-schemas"
4060 "gobject-introspection"))
4063 (string-append (assoc-ref inputs lib) "/lib"))
4066 (wrap-program (string-append out "/bin/eolie")
4067 `("LD_LIBRARY_PATH" ":" prefix (,path))
4068 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4069 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4072 `(("intltool" ,intltool)
4073 ("itstool" ,itstool)
4074 ("pkg-config" ,pkg-config)))
4076 `(("gobject-introspection" ,gobject-introspection)
4077 ("glib-networking" ,glib-networking)
4080 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4081 ("python" ,python-wrapper)
4082 ("python-pygobject" ,python-pygobject)
4083 ("python-pycairo" ,python-pycairo)
4084 ("libsecret" ,libsecret)
4085 ("gtkspell3" ,gtkspell3)
4086 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4087 ("webkitgtk" ,webkitgtk)))
4088 (home-page "https://github.com/gnumdk/eolie/")
4089 (synopsis "Web browser for GNOME")
4091 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4092 a secret password store, an adblocker, and a modern UI.")
4093 (license license:gpl3+)))
4095 (define-public epiphany
4101 (uri (string-append "mirror://gnome/sources/" name "/"
4102 (version-major+minor version) "/"
4103 name "-" version ".tar.xz"))
4106 "1jg59s98aljf603w24r5a3cr4fw6z88gc0warqy1946iprjgdw0m"))))
4107 (build-system glib-or-gtk-build-system)
4109 ;; FIXME: tests run under Xvfb, but fail with:
4110 ;; /src/bookmarks/ephy-bookmarks/create:
4111 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4115 #:configure-flags '("CFLAGS=-std=gnu99")))
4117 `(("dconf" ,dconf)))
4119 `(("intltool" ,intltool)
4120 ("itstool" ,itstool)
4121 ("pkg-config" ,pkg-config)
4122 ("xmllint" ,libxml2)))
4126 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4127 ("glib-networking" ,glib-networking)
4128 ("gnome-desktop" ,gnome-desktop)
4129 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4130 ("json-glib" ,json-glib)
4131 ("iso-codes" ,iso-codes)
4132 ("libnotify" ,libnotify)
4133 ("libsecret" ,libsecret)
4134 ("libxslt" ,libxslt)
4136 ("webkitgtk" ,webkitgtk)))
4137 (home-page "https://wiki.gnome.org/Apps/Web")
4138 (synopsis "GNOME web browser")
4140 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4141 principles are simplicity and standards compliance.")
4142 (license license:gpl2+)))
4144 (define-public d-feet
4150 (uri (string-append "mirror://gnome/sources/" name "/"
4151 (version-major+minor version) "/"
4152 name "-" version ".tar.xz"))
4155 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4156 (build-system glib-or-gtk-build-system)
4158 '(#:out-of-source? #f ; tests need to run in the source directory.
4160 (modify-phases %standard-phases
4164 ;; The test suite requires a running X server.
4165 (system "Xvfb :1 &")
4166 (setenv "DISPLAY" ":1")
4167 ;; Don't fail on missing '/etc/machine-id'.
4168 (setenv "DBUS_FATAL_WARNINGS" "0")
4169 ;; tests.py and window.py don't meet E402:
4170 ;; E402 module level import not at top of file
4171 (substitute* "src/tests/Makefile"
4172 (("--ignore=E123") "--ignore=E123,E402"))
4175 'install 'wrap-program
4176 (lambda* (#:key outputs #:allow-other-keys)
4177 (let ((prog (string-append (assoc-ref outputs "out")
4180 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4181 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4184 `(("intltool" ,intltool)
4185 ("itstool" ,itstool)
4186 ("pkg-config" ,pkg-config)
4187 ("python-pep8" ,python-pep8)
4188 ("xmllint" ,libxml2)
4189 ("xorg-server" ,xorg-server)))
4191 `(("gobject-introspection" ,gobject-introspection)
4193 ("python" ,python-wrapper)
4194 ("python-pygobject" ,python-pygobject)))
4195 (home-page "https://wiki.gnome.org/Apps/DFeet")
4196 (synopsis "D-Bus debugger")
4198 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4199 of running programs and invoke methods on those interfaces.")
4200 (license license:gpl2+)))
4202 (define-public yelp-xsl
4208 (uri (string-append "mirror://gnome/sources/" name "/"
4209 (version-major+minor version) "/"
4210 name "-" version ".tar.xz"))
4213 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4214 (build-system gnu-build-system)
4216 `(("intltool" ,intltool)
4217 ("itstool" ,itstool)
4218 ("xmllint" ,libxml2)))
4219 (home-page "https://wiki.gnome.org/Apps/Yelp")
4220 (synopsis "XSL stylesheets for Yelp")
4222 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4223 to format Docbook and Mallard documents.")
4224 (license license:gpl2+)))
4232 (uri (string-append "mirror://gnome/sources/" name "/"
4233 (version-major+minor version) "/"
4234 name "-" version ".tar.xz"))
4237 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4238 (build-system glib-or-gtk-build-system)
4240 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4241 ("intltool" ,intltool)
4242 ("itstool" ,itstool)
4243 ("pkg-config" ,pkg-config)))
4245 `(("dconf" ,dconf)))
4247 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4248 ("libxslt" ,libxslt)
4250 ("webkitgtk" ,webkitgtk)
4251 ("yelp-xsl" ,yelp-xsl)))
4252 (home-page "https://wiki.gnome.org/Apps/Yelp")
4253 (synopsis "GNOME help browser")
4255 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4256 man, info, and HTML documents. It can locate documents according to the
4257 freedesktop.org help system specification.")
4258 (license license:gpl2+)))
4260 (define-public yelp-tools
4266 (uri (string-append "mirror://gnome/sources/" name "/"
4267 (version-major+minor version) "/"
4268 name "-" version ".tar.xz"))
4271 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4272 (build-system gnu-build-system)
4274 `(("pkg-config" ,pkg-config)))
4276 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4277 `(("itstool" ,itstool)
4278 ("xmllint" ,libxml2)
4279 ("xsltproc" ,libxslt)))
4281 `(("yelp-xsl" ,yelp-xsl)))
4282 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4283 (synopsis "Yelp documentation tools")
4285 "Yelp-tools is a collection of scripts and build utilities to help create,
4286 manage, and publish documentation for Yelp and the web. Most of the heavy
4287 lifting is done by packages like yelp-xsl and itstool. This package just
4288 wraps things up in a developer-friendly way.")
4289 (license license:gpl2+)))
4291 (define-public libgee
4297 (uri (string-append "mirror://gnome/sources/" name "/"
4298 (version-major+minor version) "/"
4299 name "-" version ".tar.xz"))
4302 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
4303 (build-system gnu-build-system)
4306 (modify-phases %standard-phases
4307 (add-after 'unpack 'fix-introspection-install-dir
4308 (lambda* (#:key outputs #:allow-other-keys)
4309 (let ((out (assoc-ref outputs "out")))
4310 (substitute* "gee/Makefile.in"
4311 (("@INTROSPECTION_GIRDIR@")
4312 (string-append out "/share/gir-1.0/"))
4313 (("@INTROSPECTION_TYPELIBDIR@")
4314 (string-append out "/lib/girepository-1.0/")))))))))
4316 `(("glib" ,glib "bin")
4317 ("pkg-config" ,pkg-config)))
4320 ("gobject-introspection" ,gobject-introspection)))
4321 (home-page "https://wiki.gnome.org/Projects/Libgee")
4322 (synopsis "GObject collection library")
4324 "Libgee is a utility library providing GObject-based interfaces and
4325 classes for commonly used data structures.")
4326 (license license:lgpl2.1+)))
4328 (define-public gexiv2
4334 (uri (string-append "mirror://gnome/sources/" name "/"
4335 (version-major+minor version) "/"
4336 name "-" version ".tar.xz"))
4339 "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk"))))
4340 (build-system gnu-build-system)
4342 `(("glib" ,glib "bin")
4343 ("pkg-config" ,pkg-config)))
4345 ;; Listed in "Requires" section of gexiv2.pc
4346 `(("exiv2" ,exiv2)))
4349 ("gobject-introspection" ,gobject-introspection)))
4350 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4351 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4353 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4354 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4355 metadata in photo and video files of various formats.")
4356 (license license:gpl2+)))
4358 (define-public shotwell
4364 (uri (string-append "mirror://gnome/sources/" name "/"
4365 (version-major+minor version) "/"
4366 name "-" version ".tar.xz"))
4369 "1r8fd63r7c5n99hwrkzv9jlrk84z4sa15q3h70pydzfjnfqf90zv"))))
4370 (build-system glib-or-gtk-build-system)
4372 `(("dconf" ,dconf)))
4374 `(("pkg-config" ,pkg-config)
4375 ("itstool" ,itstool)
4376 ("gettext" ,gettext-minimal)
4377 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4378 ("itstool" ,itstool)
4381 `(("glib:bin" ,glib "bin")
4382 ("gstreamer" ,gstreamer)
4383 ("gst-plugins-base" ,gst-plugins-base)
4384 ("libgdata" ,libgdata)
4388 ("json-glib" ,json-glib)
4389 ("webkitgtk" ,webkitgtk)
4391 ("libsoup" ,libsoup)
4392 ("libxml2" ,libxml2)
4393 ("libgudev" ,libgudev)
4394 ("libgphoto2" ,libgphoto2)
4396 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4397 (synopsis "Photo manager for GNOME 3")
4399 "Shotwell is a digital photo manager designed for the GNOME desktop
4400 environment. It allows you to import photos from disk or camera, organize
4401 them by keywords and events, view them in full-window or fullscreen mode, and
4402 share them with others via social networking and more.")
4403 (license license:lgpl2.1+)))
4405 (define-public file-roller
4407 (name "file-roller")
4411 (uri (string-append "mirror://gnome/sources/" name "/"
4412 (version-major+minor version) "/"
4413 name "-" version ".tar.xz"))
4416 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
4417 (build-system glib-or-gtk-build-system)
4420 (modify-phases %standard-phases
4421 (add-before 'install 'skip-gtk-update-icon-cache
4423 ;; Don't create 'icon-theme.cache'
4424 (substitute* (find-files "data" "^Makefile$")
4425 (("gtk-update-icon-cache") (which "true")))
4428 `(("intltool" ,intltool)
4429 ("pkg-config" ,pkg-config)))
4430 ;; TODO: Add libnautilus.
4433 ("gdk-pixbuf" ,gdk-pixbuf)
4434 ("json-glib" ,json-glib)
4435 ("libarchive" ,libarchive)
4436 ("libnotify" ,libnotify)
4438 ("itstool" ,itstool)
4439 ("libxml2" ,libxml2)))
4440 (synopsis "Graphical archive manager for GNOME")
4441 (description "File Roller is an archive manager for the GNOME desktop
4442 environment that allows users to view, unpack, and create compressed archives
4443 such as gzip tarballs.")
4444 (home-page "http://fileroller.sourceforge.net/")
4445 (license license:gpl2+)))
4447 (define-public gnome-session
4449 (name "gnome-session")
4453 (uri (string-append "mirror://gnome/sources/" name "/"
4454 (version-major+minor version) "/"
4455 name "-" version ".tar.xz"))
4458 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4461 (modify-phases %standard-phases
4462 (add-before 'configure 'pre-configure
4463 (lambda* (#:key outputs #:allow-other-keys)
4464 ;; Use elogind instead of systemd.
4465 (substitute* "configure"
4466 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4468 (("systemd") "elogind"))
4469 (substitute* "gnome-session/gsm-systemd.c"
4470 (("#include <systemd/sd-login.h>")
4471 "#include <elogind/sd-login.h>"))
4472 ;; Remove uses of the systemd journal.
4473 (substitute* "gnome-session/main.c"
4474 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4475 (substitute* "gnome-session/gsm-manager.c"
4476 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4477 (substitute* "gnome-session/gsm-autostart-app.c"
4478 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4480 (add-after 'install 'wrap-gnome-session
4481 (lambda* (#:key inputs outputs #:allow-other-keys)
4482 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4483 (let ((glib (assoc-ref inputs "glib:bin"))
4484 (out (assoc-ref outputs "out")))
4485 (wrap-program (string-append out "/bin/gnome-session")
4486 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4488 (add-after 'install 'disable-hardware-acceleration-check
4489 (lambda* (#:key outputs #:allow-other-keys)
4490 ;; Do not abort if hardware acceleration is missing. This allows
4491 ;; GNOME to run in QEMU and on low-end devices.
4492 (let ((out (assoc-ref outputs "out")))
4493 (substitute* (string-append out
4494 "/share/xsessions/gnome.desktop")
4496 "gnome-session --disable-acceleration-check"))
4500 '("--enable-elogind")))
4501 (build-system glib-or-gtk-build-system)
4503 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4504 ("pkg-config" ,pkg-config)
4505 ("intltool" ,intltool)
4506 ("xsltproc" ,libxslt)))
4508 `(("elogind" ,elogind)
4509 ("gnome-desktop" ,gnome-desktop)
4510 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4512 ("json-glib" ,json-glib)
4514 ("libxcomposite" ,libxcomposite)
4515 ("libxtst" ,libxtst)
4518 ("xtrans" ,xtrans)))
4519 (synopsis "Session manager for GNOME")
4521 "This package contains the GNOME session manager, as well as a
4522 configuration program to choose applications starting on login.")
4523 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4524 (license license:gpl2+)))
4532 (uri (string-append "mirror://gnome/sources/" name "/"
4533 (version-major+minor version) "/"
4534 name "-" version ".tar.xz"))
4537 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4538 (build-system gnu-build-system)
4541 (modify-phases %standard-phases
4545 ;; The test suite requires a running X server.
4546 (system "Xvfb :1 &")
4547 (setenv "DISPLAY" ":1")
4549 ;; For the missing /etc/machine-id.
4550 (setenv "DBUS_FATAL_WARNINGS" "0")
4552 ;; Our mozjs-38 package does not compile the required Intl API
4553 ;; support for these failing tests.
4554 (substitute* "installed-tests/js/testLocale.js"
4555 ((".*toBeDefined.*") "")
4556 ((".*expect\\(datestr\\).*") ""))
4559 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4560 ("pkg-config" ,pkg-config)
4561 ("xmllint" ,libxml2)
4563 ("dbus-launch" ,dbus)
4564 ("uuidgen" ,util-linux)
4565 ("xvfb" ,xorg-server)))
4567 ;; These are all in the Requires.private field of gjs-1.0.pc.
4569 ("gobject-introspection" ,gobject-introspection)
4570 ("mozjs" ,mozjs-38)))
4573 ("readline" ,readline)))
4574 (synopsis "Javascript bindings for GNOME")
4575 (home-page "https://live.gnome.org/Gjs")
4577 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4578 javascript engine and the GObject introspection framework.")
4579 (license license:gpl2+)))
4581 (define-public gedit
4587 (uri (string-append "mirror://gnome/sources/" name "/"
4588 (version-major+minor version) "/"
4589 name "-" version ".tar.xz"))
4592 "0as9r5zvnyrxh699q6jnd0p9ddqy5qamfbxggpdjzagzixhw6yxa"))))
4593 (build-system glib-or-gtk-build-system)
4596 (modify-phases %standard-phases
4598 'install 'wrap-gedit
4599 (lambda* (#:key inputs outputs #:allow-other-keys)
4600 (let ((out (assoc-ref outputs "out"))
4601 (gtksourceview (assoc-ref inputs "gtksourceview"))
4602 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4603 (python-path (getenv "PYTHONPATH")))
4604 (wrap-program (string-append out "/bin/gedit")
4606 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4607 `("PYTHONPATH" ":" prefix (,python-path))
4608 ;; For language-specs.
4609 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4613 `(("dconf" ,dconf)))
4615 `(("intltool" ,intltool)
4616 ("itstool" ,itstool)
4617 ("gobject-introspection" ,gobject-introspection)
4618 ("pkg-config" ,pkg-config)))
4623 ("gtksourceview" ,gtksourceview)
4624 ("libpeas" ,libpeas)
4625 ("libxml2" ,libxml2)
4626 ("iso-codes" ,iso-codes)
4627 ("python-pygobject" ,python-pygobject)
4629 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4632 ("adwaita-icon-theme" ,adwaita-icon-theme)
4633 ("libsoup" ,libsoup)
4634 ("gnome-desktop" ,gnome-desktop)))
4635 (home-page "https://wiki.gnome.org/Apps/Gedit")
4636 (synopsis "GNOME text editor")
4637 (description "While aiming at simplicity and ease of use, gedit is a
4638 powerful general purpose text editor.")
4639 (license license:gpl2+)))
4641 (define-public zenity
4647 (uri (string-append "mirror://gnome/sources/" name "/"
4648 (version-major+minor version) "/"
4649 name "-" version ".tar.xz"))
4652 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4653 (build-system gnu-build-system)
4655 `(("gettext" ,gettext-minimal)
4656 ("itstool" ,itstool)
4657 ("pkg-config" ,pkg-config)))
4659 `(("libnotify" ,libnotify)
4660 ("webkitgtk" ,webkitgtk)))
4661 (synopsis "Display graphical dialog boxes from shell scripts")
4662 (home-page "https://www.gnome.org")
4664 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4665 to display dialog boxes from the commandline and shell scripts.")
4666 (license license:lgpl2.0+)))
4668 (define-public mutter
4674 (uri (string-append "mirror://gnome/sources/" name "/"
4675 (version-major+minor version) "/"
4676 name "-" version ".tar.xz"))
4679 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4680 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4681 ;; versions of cogl and clutter. As a result, many of the inputs,
4682 ;; propagated-inputs, and configure flags used in cogl and clutter are
4683 ;; needed here as well.
4684 (build-system gnu-build-system)
4687 ;; XXX: build fails with [-Werror]:
4688 ;; backends/meta-cursor-renderer.c:112:5: error:
4689 ;; implicit declaration of function ?roundf?
4690 (list "--enable-compile-warnings=minimum"
4692 "--enable-native-backend"
4694 ;; The following flags are needed for the bundled clutter
4695 "--enable-x11-backend=yes"
4697 ;; the remaining flags are needed for the bundled cogl
4699 (string-append "--with-gl-libname="
4700 (assoc-ref %build-inputs "mesa")
4703 (modify-phases %standard-phases
4704 ;; Replace references to systemd libraries to elogind references.
4705 (add-before 'configure 'use-elogind
4707 (substitute* (list "configure"
4708 "src/backends/native/meta-launcher.c"
4710 (("systemd") "elogind"))
4713 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4714 ("gobject-introspection" ,gobject-introspection)
4715 ("intltool" ,intltool)
4716 ("pkg-config" ,pkg-config)
4718 ("autoconf" ,autoconf)
4719 ("automake" ,automake)
4720 ("libtool" ,libtool)))
4722 `(;; libmutter.pc refers to these:
4723 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4725 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4728 ("gdk-pixbuf" ,gdk-pixbuf)
4731 ("json-glib" ,json-glib)
4732 ("libinput" ,libinput)
4734 ("libxcomposite" ,libxcomposite)
4735 ("libxdamage" ,libxdamage)
4736 ("libxext" ,libxext)
4737 ("libxfixes" ,libxfixes)
4738 ("libxkbcommon" ,libxkbcommon)
4739 ("libxrandr" ,libxrandr)
4743 ("xinput" ,xinput)))
4745 `(("elogind" ,elogind)
4746 ("gnome-desktop" ,gnome-desktop)
4747 ("libcanberra-gtk" ,libcanberra)
4748 ("libgudev" ,libgudev)
4751 ("libxkbfile" ,libxkbfile)
4752 ("libxrandr" ,libxrandr)
4753 ("libxtst" ,libxtst)
4754 ("startup-notification" ,startup-notification)
4755 ("upower-glib" ,upower)
4756 ("xkeyboard-config" ,xkeyboard-config)
4757 ("zenity" ,zenity)))
4758 (synopsis "Window and compositing manager")
4759 (home-page "https://www.gnome.org")
4761 "Mutter is a window and compositing manager that displays and manages your
4762 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4763 Clutter toolkit with solid window-management logic inherited from the Metacity
4765 (license license:gpl2+)))
4767 (define-public gnome-online-accounts
4769 (name "gnome-online-accounts")
4773 (uri (string-append "mirror://gnome/sources/" name "/"
4774 (version-major+minor version) "/"
4775 name "-" version ".tar.xz"))
4778 "0m1qf2ffxzmwxa157lrvh3507d5gr3lg4kvj653zhcihjpmmhbi5"))))
4779 (build-system glib-or-gtk-build-system)
4781 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4782 ("gobject-introspection" ,gobject-introspection)
4783 ("intltool" ,intltool)
4784 ("pkg-config" ,pkg-config)
4785 ("xsltproc" ,libxslt)))
4787 `(("glib" ,glib) ; required by goa-1.0.pc
4788 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4790 `(("docbook-xsl" ,docbook-xsl)
4791 ("json-glib" ,json-glib)
4792 ("libsecret" ,libsecret)
4794 ("telepathy-glib" ,telepathy-glib)
4795 ("webkitgtk" ,webkitgtk)))
4796 (synopsis "Single sign-on framework for GNOME")
4797 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4799 "GNOME Online Accounts provides interfaces so that applications and
4800 libraries in GNOME can access the user's online accounts. It has providers for
4801 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4802 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4803 (license license:lgpl2.0+)))
4805 (define-public evolution-data-server
4807 (name "evolution-data-server")
4811 (uri (string-append "mirror://gnome/sources/" name "/"
4812 (version-major+minor version) "/"
4813 name "-" version ".tar.xz"))
4816 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
4817 (build-system cmake-build-system)
4819 '(;; XXX FIXME: 11/85 tests are failing.
4822 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4823 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4824 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4825 "-DENABLE_VALA_BINDINGS=ON"
4826 "-DENABLE_INTROSPECTION=ON") ;required for Vala bindings
4828 (modify-phases %standard-phases
4829 (add-after 'unpack 'patch-paths
4831 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4832 (("/bin/rm") (which "rm")))
4835 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4836 ("gobject-introspection" ,gobject-introspection)
4838 ("intltool" ,intltool)
4839 ("pkg-config" ,pkg-config)
4841 ("python" ,python-wrapper)))
4843 ;; These are all in the Requires field of .pc files.
4845 ("libical" ,libical)
4846 ("libsecret" ,libsecret)
4847 ("libsoup" ,libsoup)
4849 ("sqlite" ,sqlite)))
4853 ("gnome-online-accounts" ,gnome-online-accounts)
4854 ("libgweather" ,libgweather)
4855 ("mit-krb5" ,mit-krb5)
4856 ("openldap" ,openldap)))
4857 (synopsis "Store address books and calendars")
4858 (home-page "https://wiki.gnome.org/Apps/Evolution")
4860 "This package provides a unified backend for programs that work with
4861 contacts, tasks, and calendar information. It was originally developed for
4862 Evolution (hence the name), but is now used by other packages as well.")
4863 (license license:lgpl2.0)))
4865 (define-public caribou
4871 (uri (string-append "mirror://gnome/sources/" name "/"
4872 (version-major+minor version) "/"
4873 name "-" version ".tar.xz"))
4876 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4877 (build-system glib-or-gtk-build-system)
4880 (modify-phases %standard-phases
4883 (lambda* (#:key outputs #:allow-other-keys)
4884 (let ((out (assoc-ref outputs "out")))
4885 ;; Use absolute shared library path in Caribou-1.0.typelib.
4886 (substitute* "libcaribou/Makefile"
4887 (("--shared-library=libcaribou.so")
4888 (string-append "--shared-library="
4889 out "/lib/libcaribou.so")))
4891 (add-after 'install 'wrap-programs
4892 (lambda* (#:key outputs #:allow-other-keys)
4893 (let* ((out (assoc-ref outputs "out"))
4894 (python-path (getenv "PYTHONPATH"))
4895 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4899 `("PYTHONPATH" ":" prefix (,python-path))
4900 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4901 (list (string-append out "/bin/caribou-preferences")
4902 (string-append out "/libexec/antler-keyboard"))))
4905 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4906 ("gobject-introspection" ,gobject-introspection)
4907 ("intltool" ,intltool)
4908 ("pkg-config" ,pkg-config)
4909 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4911 ("xsltproc" ,libxslt)))
4913 ;; caribou-1.0.pc refers to all these.
4914 `(("libgee" ,libgee)
4915 ("libxklavier" ,libxklavier)
4916 ("libxtst" ,libxtst)
4919 `(("clutter" ,clutter)
4922 ("python-pygobject" ,python2-pygobject)))
4923 (synopsis "Text entry and UI navigation application")
4924 (home-page "https://wiki.gnome.org/Projects/Caribou")
4926 "Caribou is an input assistive technology intended for switch and pointer
4928 (license license:lgpl2.1)))
4930 (define-public network-manager
4932 (name "network-manager")
4936 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4937 (version-major+minor version) "/"
4938 "NetworkManager-" version ".tar.xz"))
4941 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
4944 (use-modules (guix build utils))
4945 (substitute* "configure"
4946 ;; Replace libsystemd-login with libelogind.
4947 (("libsystemd-login") "libelogind"))
4948 (substitute* "src/devices/wwan/nm-modem-manager.c"
4949 (("systemd") "elogind"))
4950 (substitute* "src/nm-session-monitor.c"
4951 (("systemd") "elogind"))
4952 (substitute* "./src/nm-logging.c"
4953 (("systemd") "elogind"))))))
4954 (build-system gnu-build-system)
4956 "doc")) ; 8 MiB of gtk-doc HTML
4959 (let ((out (assoc-ref %outputs "out"))
4960 (doc (assoc-ref %outputs "doc"))
4961 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4963 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4964 "--with-consolekit=no"
4965 "--with-crypto=gnutls"
4966 "--disable-config-plugin-ibft"
4968 "--localstatedir=/var"
4969 (string-append "--with-udev-dir="
4971 (string-append "--with-dbus-sys-dir="
4972 out "/etc/dbus-1/system.d")
4973 (string-append "--with-html-dir="
4974 doc "/share/gtk-doc/html")
4975 (string-append "--with-dhclient=" dhclient)))
4977 (modify-phases %standard-phases
4978 (add-before 'configure 'pre-configure
4980 ;; These tests try to test aspects of network-manager's
4981 ;; functionality within restricted containers, but they don't
4982 ;; cope with being already in the Guix build jail as that jail
4983 ;; lacks some features that they would like to proxy over (like
4985 (substitute* '("Makefile.in")
4986 (("src/platform/tests/test-address-linux") " ")
4987 (("src/platform/tests/test-cleanup-linux") " ")
4988 (("src/platform/tests/test-link-linux") " ")
4989 (("src/platform/tests/test-route-linux") " ")
4990 (("src/devices/tests/test-arping") " ")
4991 (("src/devices/tests/test-lldp") " ")
4992 (("src/tests/test-route-manager-linux") " "))
4994 (add-before 'check 'pre-check
4996 ;; For the missing /etc/machine-id.
4997 (setenv "DBUS_FATAL_WARNINGS" "0")
5001 (zero? (system* "make"
5005 "nmstatedir=/tmp/nm"
5010 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5011 ("gobject-introspection" ,gobject-introspection)
5012 ("docbook-xsl" ,docbook-xsl)
5013 ("intltool" ,intltool)
5014 ("libxslt" ,libxslt)
5015 ("libxml2" ,libxml2)
5016 ("pkg-config" ,pkg-config)
5018 ("python" ,python-wrapper)
5019 ("python-dbus" ,python-dbus)
5020 ("python-pygobject" ,python-pygobject)))
5023 ("cyrus-sasl" ,cyrus-sasl)
5024 ("dbus-glib" ,dbus-glib)
5025 ("dnsmasq" ,dnsmasq)
5028 ("iptables" ,iptables)
5029 ("isc-dhcp" ,isc-dhcp)
5030 ("jansson" ,jansson)
5031 ("libgcrypt" ,libgcrypt)
5032 ("libgudev" ,libgudev)
5035 ("libsoup" ,libsoup)
5036 ("modem-manager" ,modem-manager)
5037 ("newt" ,newt) ;for the 'nmtui' console interface
5040 ("readline" ,readline)
5041 ("util-linux" ,util-linux)
5042 ("elogind" ,elogind)))
5043 (synopsis "Network connection manager")
5044 (home-page "https://www.gnome.org/projects/NetworkManager/")
5046 "NetworkManager is a system network service that manages your network
5047 devices and connections, attempting to keep active network connectivity when
5048 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5049 devices, and provides VPN integration with a variety of different VPN
5051 (license license:gpl2+)
5052 (properties '((upstream-name . "NetworkManager")))))
5054 (define-public network-manager-openvpn
5056 (name "network-manager-openvpn")
5061 "mirror://gnome/sources/NetworkManager-openvpn/"
5062 (version-major+minor version)
5063 "/NetworkManager-openvpn-" version ".tar.xz"))
5066 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5067 (build-system gnu-build-system)
5069 '(#:configure-flags '("--enable-absolute-paths")))
5071 `(("pkg-config" ,pkg-config)
5072 ("intltool" ,intltool)))
5075 ("openvpn" ,openvpn)
5076 ("network-manager" ,network-manager)
5077 ("network-manager-applet" ,network-manager-applet) ;for libnma
5078 ("libsecret" ,libsecret)))
5079 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5080 (synopsis "OpenVPN plug-in for NetworkManager")
5082 "This extension of NetworkManager allows it to take care of connections
5083 to virtual private networks (VPNs) via OpenVPN.")
5084 (license license:gpl2+)
5085 (properties `((upstream-name . "NetworkManager-openvpn")))))
5087 (define-public mobile-broadband-provider-info
5089 (name "mobile-broadband-provider-info")
5090 (version "20151214")
5094 "mirror://gnome/sources/"
5095 "mobile-broadband-provider-info/" version "/"
5096 "mobile-broadband-provider-info-" version ".tar.xz"))
5099 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
5100 (build-system gnu-build-system)
5102 `(#:tests? #f)) ; No tests
5103 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5104 (synopsis "Database of broadband connection configuration")
5105 (description "Database of broadband connection configuration.")
5106 (license license:public-domain)))
5108 (define-public network-manager-applet
5110 (name "network-manager-applet")
5114 (uri (string-append "mirror://gnome/sources/" name "/"
5115 (version-major+minor version) "/"
5116 name "-" version ".tar.xz"))
5119 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5120 (build-system glib-or-gtk-build-system)
5121 (arguments '(#:configure-flags '("--disable-migration")))
5123 `(("intltool" ,intltool)
5124 ("gobject-introspection" ,gobject-introspection)
5125 ("pkg-config" ,pkg-config)))
5127 ;; libnm-gtk.pc refers to all these.
5128 `(("dbus-glib" ,dbus-glib)
5130 ("network-manager" ,network-manager)))
5132 `(("iso-codes" ,iso-codes)
5133 ("libgudev" ,libgudev)
5134 ("libnotify" ,libnotify)
5135 ("libsecret" ,libsecret)
5136 ("libselinux" ,libselinux)
5137 ("jansson" ,jansson) ; for team support
5138 ("modem-manager" ,modem-manager)))
5139 (synopsis "Applet for managing network connections")
5140 (home-page "https://www.gnome.org/projects/NetworkManager/")
5142 "This package contains a systray applet for NetworkManager. It displays
5143 the available networks and allows users to easily switch between them.")
5144 (license license:gpl2+)))
5146 (define-public libxml++
5152 (uri (string-append "mirror://gnome/sources/" name "/"
5153 (version-major+minor version) "/"
5154 name "-" version ".tar.xz"))
5157 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5158 (build-system gnu-build-system)
5159 ;; libxml++-3.0.pc refers to all these.
5161 `(("libxml2" ,libxml2)
5162 ("glibmm" ,glibmm)))
5165 ("pkg-config" ,pkg-config)))
5166 (home-page "http://libxmlplusplus.sourceforge.net/")
5167 (synopsis "C++ wrapper for XML parser library libxml2")
5169 "This package provides a C++ wrapper for the XML parser library
5171 (license license:lgpl2.1+)))
5173 (define-public libxml++-2
5180 (uri (string-append "mirror://gnome/sources/" name "/"
5181 (version-major+minor version) "/"
5182 name "-" version ".tar.xz"))
5185 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5193 (uri (string-append "mirror://gnome/sources/" name "/"
5194 (version-major+minor version) "/"
5195 name "-" version ".tar.xz"))
5198 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
5199 (build-system glib-or-gtk-build-system)
5202 `("--without-plymouth"
5203 "--disable-systemd-journal"
5204 "--localstatedir=/var"
5205 ,(string-append "--with-default-path="
5206 (string-join '("/run/setuid-programs"
5207 "/run/current-system/profile/bin"
5208 "/run/current-system/profile/sbin")
5210 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5211 ;; XDG_DATA_DIRS so that it finds its schemas.
5212 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5214 (modify-phases %standard-phases
5216 'configure 'pre-configure
5218 ;; We don't have <systemd/sd-daemon.h>.
5219 (substitute* '("common/gdm-log.c"
5220 "daemon/gdm-server.c"
5221 "daemon/gdm-session-worker.c"
5222 "daemon/gdm-session-worker-job.c")
5223 (("#include <systemd/sd-daemon\\.h>") ""))
5224 ;; Use elogind for sd-login.
5225 (substitute* '("common/gdm-common.c"
5226 "daemon/gdm-manager.c"
5227 "libgdm/gdm-user-switching.c")
5228 (("#include <systemd/sd-login\\.h>")
5229 "#include <elogind/sd-login.h>"))
5230 ;; Check for elogind.
5231 (substitute* '("configure")
5234 ;; Look for system-installed sessions in
5235 ;; /run/current-system/profile/share.
5236 (substitute* '("libgdm/gdm-sessions.c"
5237 "daemon/gdm-session.c"
5238 "daemon/gdm-display.c"
5239 "daemon/gdm-launch-environment.c")
5241 "\"/run/current-system/profile/share/x")
5242 (("DATADIR \"/wayland")
5243 "\"/run/current-system/profile/share/wayland")
5244 (("DATADIR \"/gnome")
5245 "\"/run/current-system/profile/share/gnome"))
5246 (substitute* '("daemon/gdm-session.c")
5247 (("set_up_session_environment \\(self\\);")
5249 "set_up_session_environment (self);\n"
5250 ;; Propagate GDM_X_SERVER environment variable (which is set
5251 ;; by the GDM service, as it's a function of what X modules
5252 ;; the user decides to have available) down to worker
5254 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5255 " g_getenv (\"GDM_X_SERVER\"));\n"
5256 ;; FIXME: Really glib should be declaring XDG_CONFIG_DIRS as a
5257 ;; variable, but it doesn't do that right now. Anyway
5258 ;; /run/current-system/profile/share/gnome-session/sessions/gnome.desktop
5259 ;; requires that a number of .desktop files be present, and
5260 ;; these special .desktop files are in $XDG_CONFIG_DIRS (which
5261 ;; defaults to /etc/xdg if it's not set). Here we need to
5262 ;; provide a value such that the GNOME session's requirements
5263 ;; are met (provided GNOME is installed of course).
5264 "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n"
5265 " \"/run/current-system/profile/etc/xdg\");\n"
5267 ;; Look for custom GDM conf in /run/current-system.
5268 (substitute* '("common/gdm-settings-backend.c")
5269 (("GDM_CUSTOM_CONF")
5270 "/run/current-system/etc/gdm/custom.conf"))
5271 ;; Use service-supplied path to X.
5272 (substitute* '("daemon/gdm-server.c")
5273 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5274 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5275 (substitute* '("daemon/gdm-x-session.c")
5277 "g_getenv (\"GDM_X_SERVER\")"))
5281 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5282 ("gobject-introspection" ,gobject-introspection)
5283 ("intltool" ,intltool)
5284 ("itstool" ,itstool)
5285 ("pkg-config" ,pkg-config)
5286 ("xmllint" ,libxml2)))
5288 `(("accountsservice" ,accountsservice)
5289 ("check" ,check) ; for testing
5290 ("elogind" ,elogind)
5292 ("iso-codes" ,iso-codes)
5293 ("libcanberra" ,libcanberra)
5294 ("linux-pam" ,linux-pam)))
5295 (synopsis "Display manager for GNOME")
5296 (home-page "https://wiki.gnome.org/Projects/GDM/")
5298 "GNOME Display Manager is a system service that is responsible for
5299 providing graphical log-ins and managing local and remote displays.")
5300 (license license:gpl2+)))
5302 (define-public libgtop
5308 (uri (string-append "mirror://gnome/sources/" name "/"
5309 (version-major+minor version) "/"
5310 name "-" version ".tar.xz"))
5313 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5314 (build-system gnu-build-system)
5316 `(("gobject-introspection" ,gobject-introspection)
5317 ("intltool" ,intltool)
5319 ("pkg-config" ,pkg-config)))
5321 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5322 (synopsis "Portable system access library")
5323 (home-page "https://www.gnome.org/")
5325 "LibGTop is a library to get system specific data such as CPU and memory
5326 usage and information about running processes.")
5327 (license license:gpl2+)))
5329 (define-public gnome-bluetooth
5331 (name "gnome-bluetooth")
5335 (uri (string-append "mirror://gnome/sources/" name "/"
5336 (version-major+minor version) "/"
5337 name "-" version ".tar.xz"))
5340 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5341 (build-system glib-or-gtk-build-system)
5343 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5344 ("gobject-introspection" ,gobject-introspection)
5345 ("intltool" ,intltool)
5346 ("pkg-config" ,pkg-config)
5347 ("xmllint" ,libxml2)))
5349 ;; gnome-bluetooth-1.0.pc refers to all these.
5353 `(("libcanberra" ,libcanberra)
5354 ("libnotify" ,libnotify)))
5355 (synopsis "GNOME Bluetooth subsystem")
5356 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5358 "This package contains tools for managing and manipulating Bluetooth
5359 devices using the GNOME desktop.")
5360 (license license:lgpl2.1+)))
5362 (define-public gnome-control-center
5364 (name "gnome-control-center")
5368 (uri (string-append "mirror://gnome/sources/" name "/"
5369 (version-major+minor version) "/"
5370 name "-" version ".tar.xz"))
5373 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5374 (build-system glib-or-gtk-build-system)
5377 (modify-phases %standard-phases
5378 (add-before 'configure 'patch-paths
5379 (lambda* (#:key inputs #:allow-other-keys)
5380 (let ((libc (assoc-ref inputs "libc"))
5381 (tzdata (assoc-ref inputs "tzdata")))
5382 (substitute* "panels/datetime/tz.h"
5383 (("/usr/share/zoneinfo/zone.tab")
5384 (string-append tzdata "/share/zoneinfo/zone.tab")))
5385 (substitute* "panels/datetime/test-endianess.c"
5386 (("/usr/share/locale")
5387 (string-append libc "/share/locale")))
5390 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5391 ("intltool" ,intltool)
5392 ("pkg-config" ,pkg-config)
5393 ("xsltproc" ,libxslt)))
5395 `(("accountsservice" ,accountsservice)
5396 ("clutter-gtk" ,clutter-gtk)
5397 ("colord-gtk" ,colord-gtk)
5400 ("docbook-xsl" ,docbook-xsl)
5401 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5402 ("gnome-bluetooth" ,gnome-bluetooth)
5403 ("gnome-desktop" ,gnome-desktop)
5404 ("gnome-online-accounts" ,gnome-online-accounts)
5405 ("gnome-settings-daemon" ,gnome-settings-daemon)
5408 ("libcanberra" ,libcanberra)
5409 ("libgudev" ,libgudev)
5410 ("libgtop" ,libgtop)
5411 ("libpwquality" ,libpwquality)
5412 ("libsoup" ,libsoup)
5413 ("libxml2" ,libxml2)
5414 ("libwacom" ,libwacom)
5416 ("mit-krb5" ,mit-krb5)
5417 ("modem-manager" ,modem-manager)
5418 ("network-manager-applet" ,network-manager-applet)
5420 ("pulseaudio" ,pulseaudio)
5421 ("smbclient" ,samba)
5423 ("upower" ,upower)))
5424 (synopsis "Utilities to configure the GNOME desktop")
5425 (home-page "https://www.gnome.org/")
5427 "This package contains configuration applets for the GNOME desktop,
5428 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5429 properties, sound setup, desktop theme and background, user interface
5430 properties, screen resolution, and other GNOME parameters.")
5431 (license license:gpl2+)))
5433 (define-public gnome-shell
5435 (name "gnome-shell")
5439 (uri (string-append "mirror://gnome/sources/" name "/"
5440 (version-major+minor version) "/"
5441 name "-" version ".tar.xz"))
5444 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
5445 (build-system glib-or-gtk-build-system)
5448 (modify-phases %standard-phases
5450 (lambda* (#:key outputs #:allow-other-keys)
5451 (let* ((out (assoc-ref outputs "out"))
5452 (keysdir (string-append
5453 out "/share/gnome-control-center/keybindings")))
5454 (zero? (system* "make"
5455 (string-append "keysdir=" keysdir)
5458 'install 'wrap-programs
5459 (lambda* (#:key outputs #:allow-other-keys)
5460 (let ((out (assoc-ref outputs "out"))
5461 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5462 (python-path (getenv "PYTHONPATH")))
5463 (wrap-program (string-append out "/bin/gnome-shell")
5464 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5467 (wrap-program (string-append out "/bin/" prog)
5468 `("PYTHONPATH" ":" prefix (,python-path))
5469 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5470 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5473 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5474 ("gobject-introspection" ,gobject-introspection)
5475 ("intltool" ,intltool)
5476 ("pkg-config" ,pkg-config)
5478 ("xsltproc" ,libxslt)))
5480 `(("accountsservice" ,accountsservice)
5481 ("caribou" ,caribou)
5482 ("docbook-xsl" ,docbook-xsl)
5483 ("evolution-data-server" ,evolution-data-server)
5487 ("gnome-bluetooth" ,gnome-bluetooth)
5488 ("gnome-control-center" ,gnome-control-center)
5489 ("gnome-desktop" ,gnome-desktop)
5490 ("gnome-settings-daemon" ,gnome-settings-daemon)
5491 ("gst-plugins-base" ,gst-plugins-base)
5493 ("libcanberra" ,libcanberra)
5494 ("libcroco" ,libcroco)
5495 ("libgweather" ,libgweather)
5496 ("libsoup" ,libsoup)
5497 ("mesa-headers" ,mesa-headers)
5499 ("network-manager-applet" ,network-manager-applet)
5501 ("pulseaudio" ,pulseaudio)
5502 ("python-pygobject" ,python-pygobject)
5503 ("startup-notification" ,startup-notification)
5504 ("telepathy-logger" ,telepathy-logger)
5506 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5507 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5508 ("librsvg" ,librsvg)
5509 ("geoclue" ,geoclue)
5510 ;; XXX: required by libgjs.la.
5511 ("readline" ,readline)))
5512 (synopsis "Desktop shell for GNOME")
5513 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5515 "GNOME Shell provides core user interface functions for the GNOME desktop,
5516 like switching to windows and launching applications.")
5517 (license license:gpl2+)))
5519 (define-public gtk-vnc
5526 (uri (string-append "mirror://gnome/sources/" name "/"
5527 (version-major+minor version) "/"
5528 name "-" version ".tar.xz"))
5531 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5532 (build-system gnu-build-system)
5534 '(#:configure-flags '("--with-gtk=3.0")))
5536 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5538 `(("cyrus-sasl" ,cyrus-sasl)
5540 ("libgcrypt" ,libgcrypt)
5541 ("pulseaudio" ,pulseaudio)))
5543 `(("glib:bin" ,glib "bin")
5544 ("gobject-introspection" ,gobject-introspection)
5545 ("intltool" ,intltool)
5546 ("pkg-config" ,pkg-config)
5548 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5549 (synopsis "VNC viewer widget for GTK+")
5551 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5552 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5553 GTK-VNC implements client side RFB protocol and authentication extensions such
5554 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5555 (license license:lgpl2.1+)))
5557 (define-public gnome-autoar
5559 (name "gnome-autoar")
5563 (uri (string-append "mirror://gnome/sources/" name "/"
5564 (version-major+minor version) "/"
5565 name "-" version ".tar.xz"))
5568 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
5569 (build-system glib-or-gtk-build-system)
5571 `(("gnome-common" ,gnome-common)
5572 ("gobject-introspection" ,gobject-introspection)
5573 ("pkg-config" ,pkg-config)))
5575 `(("libarchive" ,libarchive))) ; XXX document why
5578 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5579 (synopsis "Archives integration support for GNOME")
5580 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5582 "GNOME Autoar is a library which makes creating and extracting archives
5583 easy, safe, and automatic.")
5584 (license license:lgpl2.1+)))
5586 (define-public tracker
5592 (uri (string-append "mirror://gnome/sources/" name "/"
5593 (version-major+minor version) "/"
5594 name "-" version ".tar.xz"))
5597 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
5598 (build-system glib-or-gtk-build-system)
5600 `(("gnome-common" ,gnome-common)
5601 ("gobject-introspection" ,gobject-introspection)
5602 ("intltool" ,intltool)
5603 ("pkg-config" ,pkg-config)
5608 ("gstreamer" ,gstreamer)
5609 ("gst-plugins-base" ,gst-plugins-base)
5611 ("nettle" ,nettle) ; XXX why is this needed?
5612 ("poppler" ,poppler)
5614 ("libexif" ,libexif)
5616 ("libtiff" ,libtiff)
5617 ("libvorbis" ,libvorbis)
5619 ("totem-pl-parser" ,totem-pl-parser)
5622 ("libxml2" ,libxml2)
5624 ("libunistring" ,libunistring)
5626 ("json-glib" ,json-glib)
5627 ("openjpeg" ,openjpeg-1)
5628 ("libosinfo" ,libosinfo)
5630 ("libseccomp" ,libseccomp)
5631 ("libsoup" ,libsoup)
5632 ("libuuid" ,util-linux)))
5633 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5634 (synopsis "Metadata database, indexer and search tool")
5635 (home-page "https://wiki.gnome.org/Projects/Tracker")
5637 "Tracker is an advanced framework for first class objects with associated
5638 metadata and tags. It provides a one stop solution for all metadata, tags,
5639 shared object databases, search tools and indexing.")
5640 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5641 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5642 (license (list license:gpl2+
5644 license:lgpl2.0+))))
5646 (define-public nautilus
5649 (version "3.24.2.1")
5652 (uri (string-append "mirror://gnome/sources/" name "/"
5653 (version-major+minor version) "/"
5654 name "-" version ".tar.xz"))
5657 "1cv138z04qx0fh1a2z2hvxy4p1x15vdv5gmkx5f3hb6c3w2rsz9m"))))
5658 (build-system glib-or-gtk-build-system)
5661 '("--disable-selinux") ; XXX: not packaged
5662 ;; XXX: FAIL: check-nautilus
5663 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5666 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5667 ("gobject-introspection" ,gobject-introspection)
5668 ("intltool" ,intltool)
5669 ("pkg-config" ,pkg-config)))
5674 ("gnome-desktop" ,gnome-desktop)
5675 ("gnome-autoar" ,gnome-autoar)
5676 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5677 ("tracker" ,tracker)
5678 ;; XXX: gtk+ is required by libnautilus-extension.pc
5680 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5682 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5684 ("libexif" ,libexif)
5685 ("libxml2" ,libxml2)))
5686 (synopsis "File manager for GNOME")
5687 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5689 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5690 design and behaviour, giving the user a simple way to navigate and manage its
5692 (license license:gpl2+)))
5694 (define-public baobab
5701 "mirror://gnome/sources/" name "/"
5702 (version-major+minor version) "/"
5703 name "-" version ".tar.xz"))
5706 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
5707 (build-system glib-or-gtk-build-system)
5709 `(("intltool" ,intltool)
5710 ("pkg-config" ,pkg-config)
5711 ("itstool" ,itstool)
5712 ("xmllint" ,libxml2)
5713 ("glib" ,glib "bin")
5717 (synopsis "Disk usage analyzer for GNOME")
5719 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5720 usage in the GNOME desktop environment. It can easily scan device volumes or
5721 a specific user-requested directory branch (local or remote). Once the scan
5722 is complete it provides a graphical representation of each selected folder.")
5723 (home-page "https://wiki.gnome.org/Apps/Baobab")
5724 (license license:gpl2+)))
5726 (define-public gnome-backgrounds
5728 (name "gnome-backgrounds")
5733 (uri (string-append "mirror://gnome/sources/" name "/"
5734 (version-major+minor version) "/"
5735 name "-" version ".tar.xz"))
5738 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
5739 (build-system glib-or-gtk-build-system)
5741 `(("intltool" ,intltool)))
5742 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5743 (synopsis "Background images for the GNOME desktop")
5745 "GNOME backgrounds package contains a collection of graphics files which
5746 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5747 the package creates the proper framework and directory structure so that you
5748 can add your own files to the collection.")
5749 (license (list license:gpl2+
5752 license:cc-by-sa3.0))))
5754 (define-public gnome-screenshot
5756 (name "gnome-screenshot")
5761 (uri (string-append "mirror://gnome/sources/" name "/"
5762 (version-major+minor version) "/"
5763 name "-" version ".tar.xz"))
5766 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5767 (build-system glib-or-gtk-build-system)
5769 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5770 ("intltool" ,intltool)
5771 ("pkg-config" ,pkg-config)))
5774 ("libcanberra" ,libcanberra)
5776 ("libxext" ,libxext)))
5777 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5778 (synopsis "Take pictures of your screen")
5780 "GNOME Screenshot is a utility used for taking screenshots of the entire
5781 screen, a window or a user defined area of the screen, with optional
5782 beautifying border effects.")
5783 (license license:gpl2+)))
5785 (define-public dconf-editor
5787 (name "dconf-editor")
5792 (uri (string-append "mirror://gnome/sources/" name "/"
5793 (version-major+minor version) "/"
5794 name "-" version ".tar.xz"))
5797 "1939yq3fl55c2dqkc6nzp6cbpxq9sli74gdj0rj7c50pwvbngwam"))))
5798 (build-system glib-or-gtk-build-system)
5801 (modify-phases %standard-phases
5802 (add-before 'install 'skip-gtk-update-icon-cache
5804 ;; Don't create 'icon-theme.cache'.
5805 (substitute* "editor/Makefile"
5806 (("gtk-update-icon-cache") "true"))
5809 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5810 ("intltool" ,intltool)
5811 ("pkg-config" ,pkg-config)))
5815 ("libxml2" ,libxml2)))
5816 (home-page "https://git.gnome.org/browse/dconf-editor")
5817 (synopsis "Graphical editor for GNOME's dconf configuration system")
5819 "Dconf-editor is a graphical tool for browsing and editing the dconf
5820 configuration system for GNOME. It allows users to configure desktop
5821 software that do not provide their own configuration interface.")
5822 (license license:lgpl2.1+)))
5824 (define-public gnome-default-applications
5826 (name "gnome-default-applications")
5828 (build-system trivial-build-system)
5831 `(("nautilus" ,nautilus)))
5833 `(#:modules ((guix build utils))
5836 (use-modules (guix build utils))
5837 (let* ((out (assoc-ref %outputs "out"))
5838 (apps (string-append out "/share/applications")))
5840 (call-with-output-file (string-append apps "/defaults.list")
5842 (format port "[Default Applications]\n")
5843 (format port "inode/directory=org.gnome.Nautilus.desktop\n")))
5845 (synopsis "Default MIME type associations for the GNOME desktop")
5847 "Given many installed packages which might handle a given MIME type, a
5848 user running the GNOME desktop probably has some preferences: for example,
5849 that folders be opened by default by the Nautilus file manager, not the Baobab
5850 disk usage analyzer. This package establishes that set of default MIME type
5851 associations for GNOME.")
5852 (license license:gpl3+)
5855 (define-public gnome
5858 (version (package-version gnome-shell))
5860 (build-system trivial-build-system)
5861 (arguments '(#:builder (mkdir %output)))
5863 ;; TODO: Add more packages according to:
5864 ;; <https://packages.debian.org/jessie/gnome-core>.
5865 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5867 ("font-cantarell" ,font-cantarell)
5868 ("font-dejavu" ,font-dejavu)
5869 ("at-spi2-core" ,at-spi2-core)
5872 ("desktop-file-utils" ,desktop-file-utils)
5874 ("epiphany" ,epiphany)
5876 ("file-roller" ,file-roller)
5878 ("glib-networking" ,glib-networking)
5879 ("gnome-backgrounds" ,gnome-backgrounds)
5880 ("gnome-bluetooth" ,gnome-bluetooth)
5881 ("gnome-calculator" ,gnome-calculator)
5882 ("gnome-control-center" ,gnome-control-center)
5883 ("gnome-disk-utility" ,gnome-disk-utility)
5884 ("gnome-default-applications" ,gnome-default-applications)
5885 ("gnome-keyring" ,gnome-keyring)
5886 ("gnome-online-accounts" ,gnome-online-accounts)
5887 ("gnome-session" ,gnome-session)
5888 ("gnome-settings-daemon" ,gnome-settings-daemon)
5889 ("gnome-shell" ,gnome-shell)
5890 ("gnome-system-monitor" ,gnome-system-monitor)
5891 ("gnome-terminal" ,gnome-terminal)
5892 ("gnome-themes-standard" ,gnome-themes-standard)
5893 ("gst-plugins-base" ,gst-plugins-base)
5894 ("gst-plugins-good" ,gst-plugins-good)
5895 ("gucharmap" ,gucharmap)
5897 ("hicolor-icon-theme" ,hicolor-icon-theme)
5898 ("nautilus" ,nautilus)
5899 ("pinentry-gnome3" ,pinentry-gnome3)
5900 ("pulseaudio" ,pulseaudio)
5901 ("shared-mime-info" ,shared-mime-info)
5903 ("xdg-user-dirs" ,xdg-user-dirs)
5905 ("zenity" ,zenity)))
5906 (synopsis "The GNU desktop environment")
5907 (home-page "https://www.gnome.org/")
5909 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5910 applications for browsing the web, editing text and images, creating
5911 documents and diagrams, playing media, scanning, and much more.")
5912 (license license:gpl2+)))
5914 (define-public byzanz
5915 ;; The last stable release of Byzanz was in 2011, but there have been many
5916 ;; useful commits made to the Byzanz repository since then that it would be
5917 ;; silly to use such an old release.
5918 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5921 (version (string-append "0.2-1." (string-take commit 7)))
5925 (url "https://git.gnome.org/browse/byzanz")
5927 (file-name (string-append name "-" version "-checkout"))
5930 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5931 (build-system glib-or-gtk-build-system)
5934 (modify-phases %standard-phases
5935 (add-after 'unpack 'bootstrap
5937 ;; The build system cleverly detects that we're not building from
5938 ;; a release tarball and turns on -Werror for GCC.
5939 ;; Unsurprisingly, there is a warning during compilation that
5940 ;; causes the build to fail unnecessarily, so we remove the flag.
5941 (substitute* '("configure.ac")
5943 ;; The autogen.sh script in gnome-common will run ./configure
5944 ;; by default, which is problematic because source shebangs
5945 ;; have not yet been patched.
5946 (setenv "NOCONFIGURE" "t")
5947 (zero? (system* "sh" "autogen.sh")))))))
5949 `(("autoconf" ,autoconf)
5950 ("automake" ,automake)
5951 ("gnome-common" ,gnome-common)
5952 ("intltool" ,intltool)
5953 ("libtool" ,libtool)
5954 ("pkg-config" ,pkg-config)
5958 ("gstreamer" ,gstreamer)
5959 ("gst-plugins-base" ,gst-plugins-base)
5961 (synopsis "Desktop recording program")
5962 (description "Byzanz is a simple desktop recording program with a
5963 command-line interface. It can record part or all of an X display for a
5964 specified duration and save it as a GIF encoded animated image file.")
5965 (home-page "https://git.gnome.org/browse/byzanz")
5966 (license license:gpl2+))))
5968 (define-public gsound
5974 (uri (string-append "mirror://gnome/sources/" name "/"
5975 (version-major+minor version) "/"
5976 name "-" version ".tar.xz"))
5979 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
5980 (build-system glib-or-gtk-build-system)
5982 `(("pkg-config" ,pkg-config)
5983 ("gobject-introspection" ,gobject-introspection)
5987 ("libcanberra" ,libcanberra)))
5988 (home-page "https://wiki.gnome.org/Projects/GSound")
5989 (synopsis "GObject wrapper for libcanberra")
5991 "GSound is a small library for playing system sounds. It's designed to be
5992 used via GObject Introspection, and is a thin wrapper around the libcanberra C
5994 (license license:lgpl2.1+)))
5996 (define-public libzapojit
6002 (uri (string-append "mirror://gnome/sources/" name "/"
6003 (version-major+minor version) "/"
6004 name "-" version ".tar.xz"))
6007 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6008 (build-system gnu-build-system)
6010 `(("gobject-introspection" ,gobject-introspection)
6011 ("intltool" ,intltool)
6012 ("pkg-config" ,pkg-config)))
6014 `(("gnome-online-accounts" ,gnome-online-accounts)
6015 ("json-glib" ,json-glib)
6017 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6018 (synopsis "Library for accessing SkyDrive and Hotmail")
6020 "Libzapojit is a GLib-based library for accessing online service APIs of
6021 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6022 (license license:lgpl2.1+)))
6024 (define-public gnome-clocks
6026 (name "gnome-clocks")
6030 (uri (string-append "mirror://gnome/sources/" name "/"
6031 (version-major+minor version) "/"
6032 name "-" version ".tar.xz"))
6035 "00a5bqi1hbyb9kbl4p393l1g6rddl2y6ljxjby9c5j3k1qka0c0g"))))
6036 (build-system meson-build-system)
6038 '(#:glib-or-gtk? #t))
6041 ("pkg-config" ,pkg-config)
6042 ("glib" ,glib "bin") ; for glib-compile-resources
6043 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6044 ("desktop-file-utils" ,desktop-file-utils)
6045 ("gettext" ,gettext-minimal)
6046 ("itstool" ,itstool)))
6051 ("geoclue" ,geoclue)
6052 ("geocode-glib" ,geocode-glib)
6053 ("libgweather" ,libgweather)
6054 ("gnome-desktop" ,gnome-desktop)))
6055 (home-page "https://wiki.gnome.org/Apps/Clocks")
6056 (synopsis "GNOME's clock application")
6058 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6059 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6060 (license license:gpl3+)))
6062 (define-public gnome-calendar
6064 (name "gnome-calendar")
6068 (uri (string-append "mirror://gnome/sources/" name "/"
6069 (version-major+minor version) "/"
6070 name "-" version ".tar.xz"))
6073 "03n51mvlc0vabr1rx9577z927icl3mrxrrv8zckfjav6p4vwg8hr"))))
6074 (build-system meson-build-system)
6077 ;; gnome-calendar has to be installed before the tests can be run
6078 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6081 `(("gettext" ,gettext-minimal)
6082 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6083 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6084 ("pkg-config" ,pkg-config)))
6086 `(("evolution-data-server" ,evolution-data-server)
6087 ("gnome-online-accounts" ,gnome-online-accounts)
6088 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6089 (home-page "https://wiki.gnome.org/Apps/Calendar")
6090 (synopsis "GNOME's calendar application")
6092 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6093 desktop. It supports multiple calendars, month, week and year view.")
6094 (license license:gpl3+)))
6096 (define-public gnome-todo
6102 (uri (string-append "mirror://gnome/sources/" name "/"
6103 (version-major+minor version) "/"
6104 name "-" version ".tar.xz"))
6107 "13if2lg4r65v3z7h5y57qv4iqz9ihjaml8bzvvihha7dffyr1lz4"))))
6108 (build-system meson-build-system)
6111 #:phases (modify-phases %standard-phases
6113 'install 'wrap-gnome-todo
6114 (lambda* (#:key inputs outputs #:allow-other-keys)
6115 (let ((out (assoc-ref outputs "out"))
6116 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6117 (python-path (getenv "PYTHONPATH")))
6118 (wrap-program (string-append out "/bin/gnome-todo")
6119 ;; XXX: gi plugins are broken.
6120 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6122 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6123 `("PYTHONPATH" ":" prefix (,python-path))))
6126 `(("gettext" ,gettext-minimal)
6127 ("gobject-introspection" ,gobject-introspection)
6128 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6129 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6130 ("pkg-config" ,pkg-config)))
6132 `(("rest" ,rest) ; For Todoist plugin
6133 ("json-glib" ,json-glib) ; For Todoist plugin
6134 ("libical" ,libical)
6135 ("libpeas" ,libpeas)
6136 ("python-pygobject" ,python-pygobject)
6137 ("evolution-data-server" ,evolution-data-server)
6138 ("gnome-online-accounts" ,gnome-online-accounts)
6139 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6140 (home-page "https://wiki.gnome.org/Apps/Todo")
6141 (synopsis "GNOME's ToDo Application")
6143 "GNOME To Do is a simplistic personal task manager designed to perfectly
6144 fit the GNOME desktop.")
6145 (license license:gpl3+)))
6147 (define-public gnome-dictionary
6149 (name "gnome-dictionary")
6153 (uri (string-append "mirror://gnome/sources/" name "/"
6154 (version-major+minor version) "/"
6155 name "-" version ".tar.xz"))
6158 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
6159 (build-system glib-or-gtk-build-system)
6161 `(("glib:bin" ,glib "bin")
6162 ("gobject-introspection" ,gobject-introspection)
6163 ("intltool" ,intltool)
6164 ("itstool" ,itstool)
6165 ("pkg-config" ,pkg-config)
6166 ("xmllint" ,libxml2)))
6168 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6170 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6171 (synopsis "Look up words in dictionary sources")
6173 "GNOME Dictionary can look for the definition or translation of a word in
6174 existing databases over the internet.")
6175 (license license:gpl3+)))
6177 (define-public gnome-tweak-tool
6179 (name "gnome-tweak-tool")
6183 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6184 (version-major+minor version) "/"
6185 "gnome-tweak-tool-" version ".tar.xz"))
6187 (search-patch "gnome-tweak-tool-search-paths.patch")))
6190 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
6191 (build-system glib-or-gtk-build-system)
6193 `(#:configure-flags '("--localstatedir=/tmp"
6194 "--sysconfdir=/tmp")
6195 #:imported-modules ((guix build python-build-system)
6196 ,@%glib-or-gtk-build-system-modules)
6197 #:phases (modify-phases %standard-phases
6198 (add-after 'install 'wrap-program
6199 (lambda* (#:key outputs #:allow-other-keys)
6200 (let ((out (assoc-ref outputs "out"))
6201 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6202 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6203 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6205 (add-after 'install 'wrap
6206 (@@ (guix build python-build-system) wrap)))))
6208 `(("intltool" ,intltool)
6209 ("pkg-config" ,pkg-config)))
6211 `(("python" ,python-2)
6212 ("python2-pygobject" ,python2-pygobject)
6213 ("gnome-desktop" ,gnome-desktop)
6214 ("libsoup" ,libsoup)
6215 ("libnotify" ,libnotify)
6216 ("gobject-introspection" ,gobject-introspection)
6217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6219 (synopsis "Customize advanced GNOME 3 options")
6220 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6222 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6223 GNOME 3. This includes things like the fonts used in user interface elements,
6224 alternative user interface themes, changes in window management behavior,
6225 GNOME Shell appearance and extension, etc.")
6226 (license license:gpl3+)))
6228 (define-public gnome-shell-extensions
6230 (name "gnome-shell-extensions")
6234 (uri (string-append "mirror://gnome/sources/" name "/"
6235 (version-major+minor version) "/"
6236 name "-" version ".tar.xz"))
6239 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
6240 (build-system gnu-build-system)
6242 '(#:configure-flags '("--enable-extensions=all")))
6244 `(("intltool" ,intltool)
6245 ("pkg-config" ,pkg-config)))
6248 ("glib" ,glib "bin")))
6249 (synopsis "Extensions for GNOME Shell")
6250 (description "GNOME Shell extensions modify and extend GNOME Shell
6251 functionality and behavior.")
6252 (home-page "https://extensions.gnome.org/")
6253 (license license:gpl3+)))
6255 (define-public arc-theme
6258 (version "20170302")
6261 (uri (string-append "https://github.com/horst3180/arc-theme"
6262 "/archive/" version ".tar.gz"))
6263 (file-name (string-append name "-" version ".tar.gz"))
6266 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
6267 (build-system gnu-build-system)
6270 (modify-phases %standard-phases
6271 (add-after 'unpack 'bootstrap
6273 (zero? (system* "autoreconf" "-vif")))))))
6275 `(("autoconf" ,autoconf)
6276 ("automake" ,automake)
6277 ("pkg-config" ,pkg-config)))
6280 (synopsis "A flat GTK+ theme with transparent elements")
6281 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6282 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6283 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6284 (home-page "https://github.com/horst3180/arc-theme")
6285 ;; No "or later" language found.
6286 (license license:gpl3)))
6288 (define-public moka-icon-theme
6290 (name "moka-icon-theme")
6294 (uri (string-append "https://github.com/moka-project"
6295 "/moka-icon-theme/archive/v"
6297 (file-name (string-append name "-" version ".tar.gz"))
6300 "04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
6301 (build-system gnu-build-system)
6304 (modify-phases %standard-phases
6305 (add-after 'unpack 'patch-makefile.am
6307 (substitute* '("Makefile.am")
6308 (("\\$\\(DESTDIR\\)/usr/share")
6311 (add-after 'patch-makefile.am 'bootstrap
6313 (zero? (system* "autoreconf" "-vif")))))))
6315 `(("autoconf" ,autoconf)
6316 ("automake" ,automake)))
6317 (synopsis "Moka icon theme")
6318 (description "Moka is a stylized desktop icon set, designed to be clear,
6319 simple and consistent.")
6320 (home-page "http://snwh.org/moka")
6321 (license license:gpl3+)))
6323 (define-public arc-icon-theme
6325 (name "arc-icon-theme")
6326 (version "20161122")
6329 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6330 "/archive/" version ".tar.gz"))
6331 (file-name (string-append name "-" version ".tar.gz"))
6334 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6335 (build-system gnu-build-system)
6338 (modify-phases %standard-phases
6339 (add-after 'unpack 'bootstrap
6341 (zero? (system* "autoreconf" "-vif")))))))
6343 `(("autoconf" ,autoconf)
6344 ("automake" ,automake)))
6345 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6347 `(("moka-icon-theme" ,moka-icon-theme)))
6348 (synopsis "Arc icon theme")
6349 (description "The Arc icon theme provides a set of icons matching the
6350 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6351 the Moka icon theme.")
6352 (home-page "https://github.com/horst3180/arc-icon-theme")
6353 (license license:gpl3+)))
6355 (define-public folks
6362 "mirror://gnome/sources/" name "/"
6363 (version-major+minor version) "/"
6364 name "-" version ".tar.xz"))
6367 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6368 (build-system glib-or-gtk-build-system)
6371 ("dbus-glib" ,dbus-glib)
6372 ("evolution-data-server" ,evolution-data-server)
6375 ("telepathy-glib" ,telepathy-glib)))
6377 `(("gobject-introspection" ,gobject-introspection)
6378 ("intltool" ,intltool)
6379 ("pkg-config" ,pkg-config)
6381 (synopsis "Library to aggregate data about people")
6382 (description "Libfolks is a library that aggregates information about people
6383 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6384 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6385 etc.) to create metacontacts. It's written in Vala, which generates C code when
6387 (home-page "https://wiki.gnome.org/Projects/Folks")
6388 (license license:lgpl2.1+)))
6390 (define-public gfbgraph
6397 "mirror://gnome/sources/" name "/"
6398 (version-major+minor version) "/"
6399 name "-" version ".tar.xz"))
6402 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6403 (build-system glib-or-gtk-build-system)
6405 `(#:tests? #f ; Tests appear to require the network.
6406 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6407 #:configure-flags '("--disable-gtk-doc"
6409 "--enable-introspection")))
6411 `(("pkg-config" ,pkg-config)
6412 ("gobject-introspection" ,gobject-introspection)))
6414 `(("json-glib" ,json-glib)
6415 ("gnome-online-accounts" ,gnome-online-accounts)
6417 (synopsis "GLib/GObject wrapper for the Facebook API")
6418 (description "This library allows you to use the Facebook API from
6419 GLib/GObject code.")
6420 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6421 (license license:lgpl2.1+)))
6423 (define-public libgnomekbd
6425 (name "libgnomekbd")
6426 (version "3.22.0.1")
6429 (uri (string-append "mirror://gnome/sources/" name "/"
6430 (version-major+minor version) "/"
6431 name "-" version ".tar.xz"))
6434 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6435 (build-system gnu-build-system)
6437 `(("pkg-config" ,pkg-config)
6438 ("glib" ,glib "bin")
6439 ("intltool" ,intltool)))
6441 ;; Referred to in .h files and .pc.
6444 ("libxklavier" ,libxklavier)))
6445 (home-page "https://www.gnome.org")
6446 (synopsis "GNOME keyboard configuration library")
6448 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6449 environment, which can notably display keyboard layouts.")
6450 (license license:lgpl2.0+)))
6452 ;;; This package is no longer maintained:
6453 ;;; https://wiki.gnome.org/Attic/LibUnique
6454 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6455 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6456 (define-public libunique
6462 (uri (string-append "mirror://gnome/sources/" name "/"
6463 (version-major+minor version) "/"
6464 name "-" version ".tar.xz"))
6467 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6468 (build-system glib-or-gtk-build-system)
6470 `(#:configure-flags '("--disable-static"
6471 "--disable-dbus" ; use gdbus
6472 "--enable-introspection")))
6474 `(("pkg-config" ,pkg-config)
6475 ("gobject-introspection" ,gobject-introspection)
6476 ("glib:bin" ,glib "bin")
6477 ("gtk-doc" ,gtk-doc)))
6479 ;; Referred to in .h files and .pc.
6481 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6482 (synopsis "Library for writing single instance applications")
6484 "Libunique is a library for writing single instance applications. If you
6485 launch a single instance application twice, the second instance will either just
6486 quit or will send a message to the running instance. Libunique makes it easy to
6487 write this kind of application, by providing a base class, taking care of all
6488 the IPC machinery needed to send messages to a running instance, and also
6489 handling the startup notification side.")
6490 (license license:lgpl2.1+)))
6492 (define-public gnome-calculator
6494 (name "gnome-calculator")
6499 (uri (string-append "mirror://gnome/sources/" name "/"
6500 (version-major+minor version) "/"
6501 name "-" version ".tar.xz"))
6504 "041d40as8y0r5d0kk83dy842711zchydwwqh71kh1lpd373qlxa4"))))
6505 (build-system glib-or-gtk-build-system)
6507 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6508 ("intltool" ,intltool)
6509 ("itstool" ,itstool)
6510 ("pkg-config" ,pkg-config)))
6512 `(("gtksourceview" ,gtksourceview)
6513 ("libsoup" ,libsoup)
6516 (home-page "https://wiki.gnome.org/Apps/Calculator")
6517 (synopsis "Desktop calculator")
6519 "Calculator is an application that solves mathematical equations and
6520 is suitable as a default application in a Desktop environment.")
6521 (license license:gpl3)))
6530 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
6531 name "-" version ".tar.bz2"))
6534 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
6535 (build-system gnu-build-system)
6537 `(("intltool" ,intltool)
6538 ("pkg-config" ,pkg-config)))
6541 ("gtksourceview" ,gtksourceview)
6543 (home-page "https://wiki.gnome.org/Apps/Xpad")
6544 (synopsis "Virtual sticky note")
6546 "Xpad is a sticky note that strives to be simple, fault tolerant,
6547 and customizable. Xpad consists of independent pad windows, each is
6548 basically a text box in which notes can be written.")
6549 (license license:gpl3+)))
6551 (define-public gucharmap
6558 (uri (string-append "mirror://gnome/sources/" name "/"
6559 (version-major+minor version) "/"
6560 name "-" version ".tar.xz"))
6563 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6564 (build-system gnu-build-system)
6566 `(("desktop-file-utils" ,desktop-file-utils)
6567 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6568 ("gobject-introspection" ,gobject-introspection)
6569 ("intltool" ,intltool)
6570 ("itstool" ,itstool)
6571 ("pkg-config" ,pkg-config)))
6574 ("xmllint" ,libxml2)))
6575 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6576 (synopsis "Unicode character picker and font browser")
6578 "This program allows you to browse through all the available Unicode
6579 characters and categories for the installed fonts, and to examine their
6580 detailed properties. It is an easy way to find the character you might
6581 only know by its Unicode name or code point.")
6582 (license license:gpl3+)))
6584 (define-public bluefish
6591 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6592 name "-" version ".tar.gz"))
6595 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
6596 (build-system gnu-build-system)
6598 `(("desktop-file-utils" ,desktop-file-utils)
6599 ("intltool" ,intltool)
6600 ("pkg-config" ,pkg-config)))
6602 `(("enchant" ,enchant)
6604 ("python" ,python-2)
6605 ("xmllint" ,libxml2)
6606 ("gucharmap" ,gucharmap)))
6607 (home-page "http://bluefish.openoffice.nl")
6608 (synopsis "Web development studio")
6610 "Bluefish is an editor targeted towards programmers and web developers,
6611 with many options to write web sites, scripts and other code.
6612 Bluefish supports many programming and markup languages.")
6613 (license license:gpl3+)))
6615 (define-public gnome-system-monitor
6617 (name "gnome-system-monitor")
6622 (uri (string-append "mirror://gnome/sources/" name "/"
6623 (version-major+minor version) "/"
6624 name "-" version ".tar.xz"))
6627 "1x3343hchkllj8wyifk844v8psi45kyjhphyd03fzahi4h34aay3"))))
6628 (build-system glib-or-gtk-build-system)
6630 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6631 ("intltool" ,intltool)
6632 ("itstool" ,itstool)
6633 ("libgtop" ,libgtop)
6634 ("pkg-config" ,pkg-config)))
6636 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6639 ("librsvg" ,librsvg)
6640 ("libxml2" ,libxml2)))
6641 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6642 (synopsis "Process viewer and system resource monitor for GNOME")
6644 "GNOME System Monitor is a GNOME process viewer and system monitor with
6645 an attractive, easy-to-use interface. It has features, such as a tree view
6646 for process dependencies, icons for processes, the ability to hide processes,
6647 graphical time histories of CPU/memory/swap usage and the ability to
6648 kill/reinice processes.")
6649 (license license:gpl2+)))
6651 (define-public python-pyatspi
6653 (name "python-pyatspi")
6658 "mirror://gnome/sources/pyatspi/"
6659 (version-major+minor version)
6660 "/pyatspi-" version ".tar.xz"))
6663 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6664 (build-system gnu-build-system)
6666 `(("pkg-config" ,pkg-config)))
6668 `(("python" ,python)
6669 ("python-pygobject" ,python-pygobject)))
6670 (synopsis "Python client bindings for D-Bus AT-SPI")
6671 (home-page "https://wiki.linuxfoundation.org/accessibility\
6672 /atk/at-spi/at-spi_on_d-bus")
6674 "This package includes a python client library for the AT-SPI D-Bus
6675 accessibility infrastructure.")
6676 (license license:lgpl2.0)
6677 (properties '((upstream-name . "pyatspi")))))
6686 "mirror://gnome/sources/" name "/"
6687 (version-major+minor version) "/"
6688 name "-" version ".tar.xz"))
6691 "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
6692 (build-system glib-or-gtk-build-system)
6695 (modify-phases %standard-phases
6696 (add-before 'configure 'qualify-xkbcomp
6697 (lambda* (#:key inputs #:allow-other-keys)
6698 (let ((xkbcomp (string-append
6699 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6700 (substitute* "src/orca/orca.py"
6701 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6703 (add-after 'install 'wrap-orca
6704 (lambda* (#:key outputs #:allow-other-keys)
6705 (let* ((out (assoc-ref outputs "out"))
6706 (prog (string-append out "/bin/orca")))
6708 `("GI_TYPELIB_PATH" ":" prefix
6709 (,(getenv "GI_TYPELIB_PATH")))
6710 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6711 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6712 `("PYTHONPATH" ":" prefix
6713 (,(getenv "PYTHONPATH")))))
6716 `(("intltool" ,intltool)
6717 ("itstool" ,itstool)
6718 ("pkg-config" ,pkg-config)
6719 ("xmllint" ,libxml2)))
6721 `(("at-spi2-atk" ,at-spi2-atk)
6722 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6723 ("gstreamer" ,gstreamer)
6724 ("gst-plugins-base" ,gst-plugins-base)
6725 ("gst-plugins-good" ,gst-plugins-good)
6728 ("python-pygobject" ,python-pygobject)
6729 ("python-pyatspi" ,python-pyatspi)
6730 ("python-speechd" ,speech-dispatcher)
6731 ("xkbcomp" ,xkbcomp)))
6733 "Screen reader for individuals who are blind or visually impaired")
6734 (home-page "https://wiki.gnome.org/Projects/Orca")
6736 "Orca is a screen reader that provides access to the graphical desktop
6737 via speech and refreshable braille. Orca works with applications and toolkits
6738 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6739 (license license:lgpl2.1+)))
6741 (define-public gspell
6747 (uri (string-append "mirror://gnome/sources/" name "/"
6748 (version-major+minor version) "/"
6749 name "-" version ".tar.xz"))
6752 "1683vyyfq3q0ph665jj6id8hnlyid4qxzmqiwpv97gmz8zksg6x5"))
6753 (patches (search-patches "gspell-dash-test.patch"))))
6754 (build-system glib-or-gtk-build-system)
6757 (modify-phases %standard-phases
6758 (add-before 'check 'pre-check
6759 (lambda* (#:key inputs #:allow-other-keys)
6760 ;; Tests require a running X server.
6761 (system "Xvfb :1 &")
6762 (setenv "DISPLAY" ":1")
6764 ;; For the missing /etc/machine-id.
6765 (setenv "DBUS_FATAL_WARNINGS" "0")
6767 ;; Allow Enchant and its Aspell backend to find the en_US
6769 (setenv "ASPELL_DICT_DIR"
6770 (string-append (assoc-ref inputs "aspell-dict-en")
6776 ("iso-codes" ,iso-codes)))
6778 `(("glib" ,glib "bin")
6779 ("pkg-config" ,pkg-config)
6780 ("xmllint" ,libxml2)
6783 ("aspell-dict-en" ,aspell-dict-en)
6784 ("xorg-server" ,xorg-server)))
6786 `(("enchant" ,enchant))) ; enchant.pc is required by gspell-1.pc
6787 (home-page "https://wiki.gnome.org/Projects/gspell")
6788 (synopsis "GNOME's alternative spell checker")
6790 "gspell provides a flexible API to add spell-checking to a GTK+
6791 application. It provides a GObject API, spell-checking to text entries and
6792 text views, and buttons to choose the language.")
6793 (license license:gpl2+)))
6795 (define-public gnome-planner
6797 (name "gnome-planner")
6801 (uri (string-append "mirror://gnome/sources/planner/"
6802 (version-major+minor version) "/planner-"
6806 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
6807 (build-system glib-or-gtk-build-system)
6809 ;; Disable the Python bindings because the Planner program functions
6810 ;; without them, and (as of 2017-06-13) we have not packaged all of
6811 ;; packages that are necessary for building the Python bindings.
6813 (list "--disable-python"
6814 ,@(if (string=? "aarch64-linux" (%current-system))
6815 '("--build=aarch64-unknown-linux-gnu")
6818 `(("libgnomecanvas" ,libgnomecanvas)
6819 ("libgnomeui" ,libgnomeui)
6820 ("libglade" ,libglade)
6821 ("gnome-vfs" ,gnome-vfs)
6823 ("libxml2" ,libxml2)
6824 ("libxslt" ,libxslt)
6828 `(("intltool" ,intltool)
6829 ("scrollkeeper" ,scrollkeeper)
6830 ("pkg-config" ,pkg-config)))
6831 (home-page "https://wiki.gnome.org/Apps/Planner")
6832 (synopsis "Project management software for the GNOME desktop")
6834 "GNOME Planner is a project management tool based on the Work Breakdown
6835 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6836 the resources, tasks, and constraints that you define, Planner generates
6837 various views into a project. For example, Planner can show a Gantt chart of
6838 the project. It can show a detailed summary of tasks including their
6839 duration, cost, and current progress. It can also show a report of resource
6840 utilization that highlights under-utilized and over-utilized resources. These
6841 views can be printed as PDF or PostScript files, or exported to HTML.")
6842 (license license:gpl2+)))
6844 (define-public lollypop
6851 (uri (string-append "https://github.com/gnumdk/lollypop/"
6852 "releases/download/" version "/"
6853 name "-" version ".tar.xz"))
6856 "0y9nmwrplz4mlvc2badfbyjj97ksn6qqis3rgm8lvp5llsk1583w"))))
6857 ;; TODO: Use meson-build-system
6858 (build-system glib-or-gtk-build-system)
6860 `(#:imported-modules ((guix build python-build-system)
6861 ,@%glib-or-gtk-build-system-modules)
6862 #:tests? #f ; no test suite
6864 (modify-phases %standard-phases
6867 (lambda* (#:key inputs outputs #:allow-other-keys)
6868 (let ((out (assoc-ref outputs "out")))
6869 ;; remove post-install script, we update the caches later
6870 (substitute* "meson.build"
6871 (("meson.add_install_script\\('meson_post_install.py'\\)") ""))
6873 (system* "meson" "builddir" (string-append "--prefix=" out))))))
6875 (lambda _ (zero? (system* "ninja" "-C" "builddir" "install"))))
6876 (add-after 'install 'wrap-program
6877 (lambda* (#:key outputs #:allow-other-keys)
6878 (let ((out (assoc-ref outputs "out"))
6879 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6880 (wrap-program (string-append out "/bin/lollypop")
6881 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6883 (add-after 'install 'wrap
6884 (@@ (guix build python-build-system) wrap)))))
6886 `(("intltool" ,intltool)
6887 ("itstool" ,itstool)
6889 ("pkg-config" ,pkg-config)))
6891 `(("gobject-introspection" ,gobject-introspection)
6892 ("gst-plugins-base" ,gst-plugins-base)
6894 ("libnotify" ,libnotify)
6895 ("libsecret" ,libsecret)
6896 ("libsoup" ,libsoup)
6899 ("python-beautifulsoup4" ,python-beautifulsoup4)
6900 ("python-gst" ,python-gst)
6901 ("python-pycairo" ,python-pycairo)
6902 ("python-pygobject" ,python-pygobject)
6903 ("python-pylast" ,python-pylast)
6904 ("totem-pl-parser" ,totem-pl-parser)
6905 ("webkitgtk" ,webkitgtk)))
6907 `(;; gst-plugins-base is required to start Lollypop,
6908 ;; the others are required to play streaming.
6909 ("gst-plugins-good" ,gst-plugins-good)
6910 ("gst-plugins-ugly" ,gst-plugins-ugly)))
6911 (home-page "https://gnumdk.github.io/lollypop-web")
6912 (synopsis "GNOME music playing application")
6914 "Lollypop is a music player designed to play well with GNOME desktop.
6915 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
6916 from artists and tracks from the web. It also fetches cover artworks
6917 automatically and it can stream songs from online music services and charts.")
6918 (license license:gpl3+)))
6920 (define-public gnome-video-effects
6922 (name "gnome-video-effects")
6926 (uri (string-append "mirror://gnome/sources/" name "/"
6927 (version-major+minor version) "/" name "-"
6931 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
6932 (build-system glib-or-gtk-build-system)
6934 `(#:out-of-source? #f))
6936 `(("glib:bin" ,glib "bin")
6937 ("intltool" ,intltool)
6938 ("gettext" ,gettext-minimal)
6939 ("pkg-config" ,pkg-config)))
6940 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
6941 (synopsis "Video effects for Cheese and other GNOME applications")
6943 "A collection of GStreamer video filters and effects to be used in
6944 photo-booth-like software, such as Cheese.")
6945 (license license:gpl2+)))
6947 (define-public cheese
6953 (uri (string-append "mirror://gnome/sources/" name "/"
6954 (version-major+minor version) "/" name "-"
6958 "0wpks2lnr8va9wxgmj26dwmhlcb3vamhpxkqi8xaan6q25635l16"))))
6960 ;; Tests require GDK.
6963 (modify-phases %standard-phases
6964 (add-before 'install 'skip-gtk-update-icon-cache
6966 ;; Don't create 'icon-theme.cache'
6967 (substitute* "Makefile"
6968 (("gtk-update-icon-cache") (which "true")))
6970 (add-after 'install 'wrap-cheese
6971 (lambda* (#:key inputs outputs #:allow-other-keys)
6972 (let ((out (assoc-ref outputs "out"))
6973 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
6974 (wrap-program (string-append out "/bin/cheese")
6975 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6977 (build-system glib-or-gtk-build-system)
6979 `(("glib:bin" ,glib "bin")
6980 ("intltool" ,intltool)
6981 ("itstool" ,itstool)
6982 ("libxml2" ,libxml2)
6983 ("pkg-config" ,pkg-config)
6986 `(("gnome-video-effects" ,gnome-video-effects)))
6988 `(("clutter" ,clutter)
6989 ("clutter-gst" ,clutter-gst)
6990 ("clutter-gtk" ,clutter-gtk)
6991 ("gdk-pixbuf" ,gdk-pixbuf)
6993 ("gnome-desktop" ,gnome-desktop)
6994 ("gobject-introspection" ,gobject-introspection)
6995 ("gstreamer" ,gstreamer)
6996 ("gst-plugins-base" ,gst-plugins-base)
6997 ("gst-plugins-bad" ,gst-plugins-bad)
6999 ("libcanberra" ,libcanberra)
7001 ("libxtst" ,libxtst)))
7002 (home-page "https://wiki.gnome.org/Apps/Cheese")
7003 (synopsis "Webcam photo booth software for GNOME")
7005 "Cheese uses your webcam to take photos and videos. Cheese can also
7006 apply fancy special effects and lets you share the fun with others.")
7007 (license license:gpl2+)))