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 <kei@openmailbox.org>
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 ng0 <ng0@we.make.ritual.n0.is>
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>
30 ;;; This file is part of GNU Guix.
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
45 (define-module (gnu packages gnome)
46 #:use-module ((guix licenses) #:prefix license:)
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix git-download)
50 #:use-module (guix utils)
51 #:use-module (guix build-system cmake)
52 #:use-module (guix build-system gnu)
53 #:use-module (guix build-system glib-or-gtk)
54 #:use-module (guix build-system trivial)
55 #:use-module (gnu packages)
56 #:use-module (gnu packages admin)
57 #:use-module (gnu packages aspell)
58 #:use-module (gnu packages autotools)
59 #:use-module (gnu packages avahi)
60 #:use-module (gnu packages base)
61 #:use-module (gnu packages bison)
62 #:use-module (gnu packages build-tools)
63 #:use-module (gnu packages calendar)
64 #:use-module (gnu packages check)
65 #:use-module (gnu packages cmake)
66 #:use-module (gnu packages cups)
67 #:use-module (gnu packages curl)
68 #:use-module (gnu packages cyrus-sasl)
69 #:use-module (gnu packages databases)
70 #:use-module (gnu packages djvu)
71 #:use-module (gnu packages dns)
72 #:use-module (gnu packages documentation)
73 #:use-module (gnu packages flex)
74 #:use-module (gnu packages docbook)
75 #:use-module (gnu packages enchant)
76 #:use-module (gnu packages fontutils)
77 #:use-module (gnu packages game-development)
78 #:use-module (gnu packages gettext)
79 #:use-module (gnu packages glib)
80 #:use-module (gnu packages gnupg)
81 #:use-module (gnu packages gnuzilla)
82 #:use-module (gnu packages gstreamer)
83 #:use-module (gnu packages gtk)
84 #:use-module (gnu packages gperf)
85 #:use-module (gnu packages guile)
86 #:use-module (gnu packages openldap)
87 #:use-module (gnu packages pdf)
88 #:use-module (gnu packages polkit)
89 #:use-module (gnu packages popt)
90 #:use-module (gnu packages ghostscript)
91 #:use-module (gnu packages ibus)
92 #:use-module (gnu packages iso-codes)
93 #:use-module (gnu packages libcanberra)
94 #:use-module (gnu packages libunistring)
95 #:use-module (gnu packages linux)
96 #:use-module (gnu packages libusb)
97 #:use-module (gnu packages lirc)
98 #:use-module (gnu packages lua)
99 #:use-module (gnu packages image)
100 #:use-module (gnu packages imagemagick)
101 #:use-module (gnu packages music)
102 #:use-module (gnu packages networking)
103 #:use-module (gnu packages ninja)
104 #:use-module (gnu packages password-utils)
105 #:use-module (gnu packages pcre)
106 #:use-module (gnu packages perl)
107 #:use-module (gnu packages photo)
108 #:use-module (gnu packages pkg-config)
109 #:use-module (gnu packages pulseaudio)
110 #:use-module (gnu packages python)
111 #:use-module (gnu packages rdesktop)
112 #:use-module (gnu packages scanner)
113 #:use-module (gnu packages selinux)
114 #:use-module (gnu packages slang)
115 #:use-module (gnu packages ssh)
116 #:use-module (gnu packages xml)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages compression)
119 #:use-module (gnu packages spice)
120 #:use-module (gnu packages tex)
121 #:use-module (gnu packages tls)
122 #:use-module (gnu packages web)
123 #:use-module (gnu packages webkit)
124 #:use-module (gnu packages xiph)
125 #:use-module (gnu packages xorg)
126 #:use-module (gnu packages xdisorg)
127 #:use-module (gnu packages freedesktop)
128 #:use-module (gnu packages mail)
129 #:use-module (gnu packages kerberos)
130 #:use-module (gnu packages multiprecision)
131 #:use-module (gnu packages backup)
132 #:use-module (gnu packages nettle)
133 #:use-module (gnu packages ncurses)
134 #:use-module (gnu packages video)
135 #:use-module (gnu packages cdrom)
136 #:use-module (gnu packages samba)
137 #:use-module (gnu packages readline)
138 #:use-module (gnu packages fonts)
139 #:use-module (gnu packages speech)
140 #:use-module (gnu packages virtualization)
141 #:use-module (srfi srfi-1))
143 (define-public brasero
149 (uri (string-append "mirror://gnome/sources/" name "/"
150 (version-major+minor version) "/"
151 name "-" version ".tar.xz"))
154 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
155 (build-system glib-or-gtk-build-system)
157 `(#:configure-flags (list
158 (string-append "--with-girdir="
159 (assoc-ref %outputs "out")
161 (string-append "--with-typelibdir="
162 (assoc-ref %outputs "out")
163 "/lib/girepository-1.0"))
165 (modify-phases %standard-phases
166 (add-before 'configure 'embed-growisofs
167 (lambda* (#:key inputs #:allow-other-keys)
168 (substitute* "plugins/growisofs/burn-growisofs.c"
169 (("\"growisofs") (string-append "\"" (which "growisofs"))))
172 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
174 `(("intltool" ,intltool)
175 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
176 ("gobject-introspection" ,gobject-introspection)
177 ("pkg-config" ,pkg-config)))
179 `(("dvd+rw-tools" ,dvd+rw-tools)
181 ("gnome-doc-utils" ,gnome-doc-utils)
182 ("gstreamer" ,gstreamer)
183 ("gst-plugins-base" ,gst-plugins-base)
186 ("libcanberra" ,libcanberra)
188 ("libnotify" ,libnotify)
192 ("totem-pl-parser" ,totem-pl-parser)))
193 (home-page "https://projects.gnome.org/brasero/")
194 (synopsis "CD/DVD burning tool for Gnome")
195 (description "Brasero is an application to burn CD/DVD for the Gnome
196 Desktop. It is designed to be as simple as possible and has some unique
197 features to enable users to create their discs easily and quickly.")
198 (license license:gpl2+)))
200 (define-public deja-dup
206 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
209 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
211 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
212 (build-system glib-or-gtk-build-system)
214 `(#:modules ((guix build gnu-build-system)
215 ((guix build cmake-build-system) #:prefix cmake:)
216 (guix build glib-or-gtk-build-system)
218 #:imported-modules (,@%glib-or-gtk-build-system-modules
219 (guix build cmake-build-system))
221 #:configure-flags (list (string-append
222 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
224 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
226 (modify-phases %standard-phases
227 (add-after 'unpack 'patch-lockfile-deletion
229 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
233 (assoc-ref cmake:%standard-phases 'configure))
234 (delete 'check) ;; Fails due to issues with DBus
235 (add-after 'install 'wrap-deja-dup
236 (lambda* (#:key inputs outputs #:allow-other-keys)
237 (let ((python (assoc-ref inputs "python"))
238 (python-path (getenv "PYTHONPATH"))
239 (duplicity (assoc-ref inputs "duplicity"))
240 (out (assoc-ref outputs "out")))
243 (wrap-program program
244 `("PATH" ":" prefix (,(string-append python "/bin")
245 ,(string-append duplicity "/bin"))))
246 (wrap-program program
247 `("PYTHONPATH" ":" prefix (,python-path))))
249 (find-files (string-append out "/bin")))
252 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
253 ("gobject-introspection" ,gobject-introspection)
254 ("duplicity" ,duplicity)
255 ("python" ,python2-minimal)
256 ("python-pygobject" ,python2-pygobject)
258 ("libnotify" ,libnotify)
260 ("libsecret" ,libsecret)
261 ("packagekit" ,packagekit)))
263 `(("pkg-config" ,pkg-config)
265 ("gettext" ,gettext-minimal)
267 ("intltool" ,intltool)
269 (home-page "https://launchpad.net/deja-dup")
270 (synopsis "Simple backup tool, for regular encrypted backups")
272 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
273 uses duplicity as the backend, which supports incremental backups and storage
274 either on a local, or remote machine via a number of methods.")
275 (license license:gpl3+)))
278 ;; This version from GNOME's repository includes fixes for compiling with
279 ;; recent versions of the build tools. The latest activity on the
280 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
282 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
285 (version (string-append "0.97.2-" (string-take commit 7)))
289 (url "https://git.gnome.org/browse/dia")
291 (file-name (string-append name "-" version "-checkout"))
294 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
295 (build-system gnu-build-system)
297 `(("glib" ,glib "bin")
299 ("gdk-pixbuf" ,gdk-pixbuf)
302 ("freetype" ,freetype)
303 ("libart-lgpl" ,libart-lgpl)))
305 `(("intltool" ,intltool)
306 ("pkg-config" ,pkg-config)
307 ("automake" ,automake)
308 ("autoconf" ,autoconf)
311 ("python-wrapper" ,python-wrapper)))
314 (modify-phases %standard-phases
315 (add-before 'configure 'run-autogen
317 (system* "sh" "autogen.sh"))))))
318 (home-page "https://wiki.gnome.org/Apps/Dia")
319 (synopsis "Diagram creation for GNOME")
320 (description "Dia can be used to draw different types of diagrams, and
321 includes support for UML static structure diagrams (class diagrams), entity
322 relationship modeling, and network diagrams. The program supports various file
323 formats like PNG, SVG, PDF and EPS.")
324 (license license:gpl2+))))
326 (define-public libgdata
332 (uri (string-append "mirror://gnome/sources/" name "/"
333 (version-major+minor version) "/"
334 name "-" version ".tar.xz"))
337 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
339 (search-patches "libgdata-fix-tests.patch"
340 "libgdata-glib-duplicate-tests.patch"))))
341 (build-system gnu-build-system)
344 (modify-phases %standard-phases
345 (add-before 'check 'use-empty-ssl-cert-file
347 ;; The ca-certificates.crt is not available in the build
349 (setenv "SSL_CERT_FILE" "/dev/null")
351 (add-before 'check 'disable-failing-tests
353 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
354 ;; They have been removed in libgdata 0.17.6, so just do the same.
355 (substitute* "gdata/tests/Makefile"
356 (("picasaweb\\$\\(EXEEXT\\) ") ""))
359 `(("glib:bin" ,glib "bin")
360 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
361 ("intltool" ,intltool)
362 ("pkg-config" ,pkg-config)
363 ("uhttpmock" ,uhttpmock)))
365 `(("cyrus-sasl" ,cyrus-sasl)
367 ("glib-networking" ,glib-networking)
368 ("json-glib" ,json-glib)
369 ("libsoup" ,libsoup)))
372 ("gnome-online-accounts" ,gnome-online-accounts)
373 ("liboauth" ,liboauth)
374 ("libxml2" ,libxml2)))
375 (home-page "https://wiki.gnome.org/Projects/libgdata")
376 (synopsis "Library for accessing online service APIs")
378 "libgdata is a GLib-based library for accessing online service APIs using
379 the GData protocol — most notably, Google's services. It provides APIs to
380 access the common Google services, and has full asynchronous support.")
381 (license license:lgpl2.1+)))
383 (define-public libgxps
389 (uri (string-append "mirror://gnome/sources/" name "/"
390 (version-major+minor version) "/"
391 name "-" version ".tar.xz"))
394 "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
395 (build-system gnu-build-system)
397 `(("gobject-introspection" ,gobject-introspection)
398 ("pkg-config" ,pkg-config)))
402 ("libarchive" ,libarchive)
407 (home-page "https://wiki.gnome.org/Projects/libgxps")
408 (synopsis "GObject-based library for handling and rendering XPS documents")
410 "libgxps is a GObject-based library for handling and rendering XPS
411 documents. This package also contains binaries that can convert XPS documents
413 (license license:lgpl2.1+)))
415 (define-public gnome-common
417 (name "gnome-common")
422 (uri (string-append "mirror://gnome/sources/" name "/"
423 (version-major+minor version) "/"
424 name "-" version ".tar.xz"))
427 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
428 (build-system gnu-build-system)
429 (home-page "https://www.gnome.org/")
430 (synopsis "Bootstrap GNOME modules built from Git")
431 (description "gnome-common contains various files needed to bootstrap
432 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
433 can be used to configure a source directory checked out from Git and some
434 commonly used macros.")
435 (license license:gpl2+)))
437 (define-public gnome-desktop
439 (name "gnome-desktop")
444 (uri (string-append "mirror://gnome/sources/" name "/"
445 (version-major+minor version) "/"
446 name "-" version ".tar.xz"))
449 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
450 (build-system gnu-build-system)
452 `(("gobject-introspection" ,gobject-introspection)
454 ("intltool" ,intltool)
455 ("pkg-config" ,pkg-config)
456 ("xmllint" ,libxml2)))
458 ;; Required by gnome-desktop-3.0.pc.
459 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
462 `(("gdk-pixbuf" ,gdk-pixbuf)
464 ("iso-codes" ,iso-codes)
467 ("libxkbfile" ,libxkbfile)
468 ("libxrandr" ,libxrandr)
469 ("xkeyboard-config" ,xkeyboard-config)))
470 (home-page "https://www.gnome.org/")
472 "Libgnome-desktop, gnome-about, and desktop-wide documents")
474 "The libgnome-desktop library provides API shared by several applications
475 on the desktop, but that cannot live in the platform for various reasons.
476 There is no API or ABI guarantee, although we are doing our best to provide
477 stability. Documentation for the API is available with gtk-doc.
479 The gnome-about program helps find which version of GNOME is installed.")
480 ; Some bits under the LGPL.
481 (license license:gpl2+)))
483 (define-public gnome-doc-utils
485 (name "gnome-doc-utils")
490 (uri (string-append "mirror://gnome/sources/" name "/"
491 (version-major+minor version) "/"
492 name "-" version ".tar.xz"))
495 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
496 (build-system gnu-build-system)
498 `(("intltool" ,intltool)
499 ("docbook-xml" ,docbook-xml-4.4)
500 ("python2-libxml2" ,python2-libxml2)
503 ("pkg-config" ,pkg-config)
504 ("python-2" ,python-2)))
505 (home-page "https://wiki.gnome.org/GnomeDocUtils")
507 "Documentation utilities for the Gnome project")
509 "Gnome-doc-utils is a collection of documentation utilities for the
510 Gnome project. It includes xml2po tool which makes it easier to translate
511 and keep up to date translations of documentation.")
512 (license license:gpl2+))) ; xslt under lgpl
514 (define-public gnome-disk-utility
516 (name "gnome-disk-utility")
520 (uri (string-append "mirror://gnome/sources/" name "/"
521 (version-major+minor version) "/"
522 name "-" version ".tar.xz"))
525 "18akarcbhm8djlmz49jzavc7qx8dg71gvxc9xd23p0bwjj4h93w7"))))
526 (build-system gnu-build-system)
528 `(("glib:bin" ,glib "bin")
529 ("intltool" ,intltool)
530 ("pkg-config" ,pkg-config)
531 ("docbook-xml" ,docbook-xml)
532 ("docbook-xsl" ,docbook-xsl)
534 ("libxslt" ,libxslt)))
537 ("appstream-glib" ,appstream-glib)
538 ("gnome-settings-daemon" ,gnome-settings-daemon)
540 ("libcanberra" ,libcanberra)
541 ("libdvdread" ,libdvdread)
542 ("libnotify" ,libnotify)
543 ("libpwquality" ,libpwquality)
544 ("libsecret" ,libsecret)
546 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
547 (synopsis "Disk management utility for GNOME")
548 (description "Disk management utility for GNOME.")
549 (license license:gpl2+)))
557 (uri (string-append "mirror://gnome/sources/" name "/"
558 (version-major+minor version) "/"
559 name "-" version ".tar.xz"))
562 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
564 (search-patches "gcr-disable-failing-tests.patch"
565 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
566 (build-system gnu-build-system)
568 '(#:phases (modify-phases %standard-phases
571 (lambda* (#:key inputs #:allow-other-keys)
572 (substitute* "build/tap-driver"
573 (("/usr/bin/env python") (which "python"))))))))
576 ("gnupg" ,gnupg) ;called as a child process during tests
577 ("libgcrypt" ,libgcrypt)))
579 `(("python" ,python-2) ;for tests
580 ("pkg-config" ,pkg-config)
582 ("gobject-introspection" ,gobject-introspection)
583 ("intltool" ,intltool)
584 ("xsltproc" ,libxslt)))
585 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
587 `(("p11-kit" ,p11-kit)
590 (home-page "https://www.gnome.org")
591 (synopsis "Libraries for displaying certificates and accessing key stores")
593 "The GCR package contains libraries used for displaying certificates and
594 accessing key stores. It also provides the viewer for crypto files on the
596 (license license:lgpl2.1+)))
598 (define-public libgnome-keyring
600 (name "libgnome-keyring")
604 (uri (string-append "mirror://gnome/sources/" name "/"
605 (version-major+minor version) "/"
606 name "-" version ".tar.xz"))
609 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
610 (build-system gnu-build-system)
612 `(("libgcrypt" ,libgcrypt)
615 `(("pkg-config" ,pkg-config)
617 ("intltool" ,intltool)))
619 ;; Referred to in .h files and .pc.
621 (home-page "https://www.gnome.org")
622 (synopsis "Accessing passwords from the GNOME keyring")
624 "Client library to access passwords from the GNOME keyring.")
626 ;; Though a couple of files are LGPLv2.1+.
627 (license license:lgpl2.0+)))
629 (define-public gnome-keyring
631 (name "gnome-keyring")
635 (uri (string-append "mirror://gnome/sources/" name "/"
636 (version-major+minor version) "/"
637 name "-" version ".tar.xz"))
640 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
641 (build-system gnu-build-system)
643 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
647 (string-append "--with-pkcs11-config="
648 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
649 (string-append "--with-pkcs11-modules="
650 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
652 (modify-phases %standard-phases
655 (lambda* (#:key inputs #:allow-other-keys)
656 (substitute* "build/tap-driver"
657 (("/usr/bin/env python") (which "python")))))
659 'configure 'fix-docbook
660 (lambda* (#:key inputs #:allow-other-keys)
661 (substitute* "docs/Makefile.am"
662 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
663 (string-append (assoc-ref inputs "docbook-xsl")
664 "/xml/xsl/docbook-xsl-"
665 ,(package-version docbook-xsl)
666 "/manpages/docbook.xsl")))
667 (setenv "XML_CATALOG_FILES"
668 (string-append (assoc-ref inputs "docbook-xml")
669 "/xml/dtd/docbook/catalog.xml")))))))
671 `(("libgcrypt" ,libgcrypt)
672 ("linux-pam" ,linux-pam)
676 `(("pkg-config" ,pkg-config)
678 ("python" ,python-2) ;for tests
679 ("intltool" ,intltool)
680 ("autoconf" ,autoconf)
681 ("automake" ,automake)
682 ("libxslt" ,libxslt) ;for documentation
683 ("docbook-xml" ,docbook-xml-4.2)
684 ("docbook-xsl" ,docbook-xsl)))
685 (home-page "https://www.gnome.org")
686 (synopsis "Daemon to store passwords and encryption keys")
688 "gnome-keyring is a program that keeps passwords and other secrets for
689 users. It is run as a daemon in the session, similar to ssh-agent, and other
690 applications locate it via an environment variable or D-Bus.
692 The program can manage several keyrings, each with its own master password,
693 and there is also a session keyring which is never stored to disk, but
694 forgotten when the session ends.")
695 (license license:lgpl2.1+)))
697 (define-public evince
703 (uri (string-append "mirror://gnome/sources/" name "/"
704 (version-major+minor version) "/"
705 name "-" version ".tar.xz"))
708 "0dqgzwxl0xfr341r5i8j8hn6j6rhv62lmc6xbzjppcq76hhwb84w"))))
709 (build-system glib-or-gtk-build-system)
711 `(#:configure-flags '("--disable-nautilus")
713 (modify-phases %standard-phases
714 (add-before 'install 'skip-gtk-update-icon-cache
715 ;; Don't create 'icon-theme.cache'.
717 (substitute* "data/Makefile"
718 (("gtk-update-icon-cache") "true"))
721 `(("libarchive" ,libarchive)
723 ("libspectre" ,libspectre)
724 ("djvulibre" ,djvulibre)
725 ("ghostscript" ,ghostscript)
729 ;; Build libkpathsea as a shared library for DVI support.
730 ;; ("libkpathsea" ,texlive-bin)
731 ("gnome-desktop" ,gnome-desktop)
732 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
733 ("libgnome-keyring" ,libgnome-keyring)
734 ("adwaita-icon-theme" ,adwaita-icon-theme)
735 ("gdk-pixbuf" ,gdk-pixbuf)
743 ("shared-mime-info" ,shared-mime-info)
745 ("libcanberra" ,libcanberra)
746 ("libsecret" ,libsecret)
748 ("dogtail" ,python2-dogtail)))
750 `(("itstool" ,itstool)
751 ("intltool" ,intltool)
753 ("pkg-config" ,pkg-config)
754 ("xmllint" ,libxml2)))
756 "https://www.gnome.org/projects/evince/")
757 (synopsis "GNOME's document viewer")
759 "Evince is a document viewer for multiple document formats. It
760 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
761 of Evince is to replace the multiple document viewers that exist
762 on the GNOME Desktop with a single simple application.")
763 (license license:gpl2+)))
765 (define-public gsettings-desktop-schemas
767 (name "gsettings-desktop-schemas")
772 (uri (string-append "mirror://gnome/sources/" name "/"
773 (version-major+minor version) "/"
774 name "-" version ".tar.xz"))
777 "145vpcljy4660cnk8zk91qf7ywa7hqfl5hhw025gy8hxcqzklmzn"))))
778 (build-system gnu-build-system)
782 `(("intltool" ,intltool)
783 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
784 ("gobject-introspection" ,gobject-introspection)
785 ("pkg-config" ,pkg-config)))
786 (home-page "https://launchpad.net/gsettings-desktop-schemas")
788 "GNOME settings for various desktop components")
790 "Gsettings-desktop-schemas contains a collection of GSettings schemas
791 for settings shared by various components of the GNOME desktop.")
792 (license license:lgpl2.1+)))
794 (define-public icon-naming-utils
796 (name "icon-naming-utils")
801 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
805 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
806 (build-system gnu-build-system)
809 ("perl-xml-simple" ,perl-xml-simple)))
813 'install 'set-load-paths
814 ;; Tell 'icon-name-mapping' where XML::Simple is.
815 (lambda* (#:key outputs #:allow-other-keys)
816 (let* ((out (assoc-ref outputs "out"))
817 (prog (string-append out "/libexec/icon-name-mapping")))
820 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
822 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
824 "Utility to implement the Freedesktop Icon Naming Specification")
826 "To help with the transition to the Freedesktop Icon Naming
827 Specification, the icon naming utility maps the icon names used by the
828 GNOME and KDE desktops to the icon names proposed in the specification.")
829 (license license:lgpl2.1+)))
831 (define-public gnome-icon-theme
833 (name "gnome-icon-theme")
838 (uri (string-append "mirror://gnome/sources/" name "/"
839 (version-major+minor version) "/"
840 name "-" version ".tar.xz"))
843 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
844 (build-system gnu-build-system)
847 ;; Don't create 'icon-theme.cache'.
848 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
849 (true (string-append coreutils "/bin/true")))
850 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
852 `(("icon-naming-utils" ,icon-naming-utils)
853 ("intltool" ,intltool)
854 ("pkg-config" ,pkg-config)))
855 (home-page "https://art.gnome.org/")
859 "Icons for the GNOME desktop.")
860 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
862 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
863 (define-public adwaita-icon-theme
864 (package (inherit gnome-icon-theme)
865 (name "adwaita-icon-theme")
869 (uri (string-append "mirror://gnome/sources/" name "/"
870 (version-major+minor version) "/"
871 name "-" version ".tar.xz"))
874 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
876 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
878 (define-public tango-icon-theme
880 (name "tango-icon-theme")
884 (uri (string-append "http://tango.freedesktop.org/releases/"
885 "tango-icon-theme-" version ".tar.bz2"))
888 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
889 (build-system gnu-build-system)
891 `(("icon-naming-utils" ,icon-naming-utils)
892 ("intltool" ,intltool)
893 ("imagemagick" ,imagemagick)
894 ("pkg-config" ,pkg-config)))
895 (home-page "http://tango-project.org/")
896 (synopsis "Tango icon theme")
897 (description "This is an icon theme that follows the Tango visual
899 (license license:public-domain)))
901 (define-public shared-mime-info
903 (name "shared-mime-info")
907 (uri (string-append "https://freedesktop.org/~hadess/"
908 "shared-mime-info-" version ".tar.xz"))
911 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
912 (build-system gnu-build-system)
914 ;; The build system appears not to be parallel-safe.
915 '(#:parallel-build? #f))
918 ("libxml2" ,libxml2)))
920 `(("intltool" ,intltool)
921 ("pkg-config" ,pkg-config)))
922 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
923 (synopsis "Database of common MIME types")
925 "The shared-mime-info package contains the core database of common types
926 and the update-mime-database command used to extend it. It requires glib2 to
927 be installed for building the update command. Additionally, it uses intltool
928 for translations, though this is only a dependency for the maintainers. This
929 database is translated at Transifex.")
930 (license license:gpl2+)))
932 (define-public hicolor-icon-theme
934 (name "hicolor-icon-theme")
939 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
940 "hicolor-icon-theme-" version ".tar.xz"))
943 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
944 (build-system gnu-build-system)
946 `(#:tests? #f)) ; no check target
947 (home-page "http://icon-theme.freedesktop.org/releases/")
949 "Freedesktop icon theme")
951 "Freedesktop icon theme.")
952 (license license:gpl2)))
954 (define-public libnotify
961 (uri (string-append "mirror://gnome/sources/" name "/"
962 (version-major+minor version) "/"
963 name "-" version ".tar.xz"))
966 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
967 (build-system gnu-build-system)
969 `(("gdk-pixbuf" ,gdk-pixbuf)
974 `(("pkg-config" ,pkg-config)
976 ("gobject-introspection" ,gobject-introspection)))
977 (home-page "https://developer-next.gnome.org/libnotify/")
979 "GNOME desktop notification library")
981 "Libnotify is a library that sends desktop notifications to a
982 notification daemon, as defined in the Desktop Notifications spec. These
983 notifications can be used to inform the user about an event or display
984 some form of information without getting in the user's way.")
985 (license license:lgpl2.1+)))
987 (define-public libpeas
994 (uri (string-append "mirror://gnome/sources/" name "/"
995 (version-major+minor version) "/"
996 name "-" version ".tar.xz"))
999 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
1000 (build-system gnu-build-system)
1004 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
1006 ("python-pygobject" ,python-pygobject)))
1008 `(("pkg-config" ,pkg-config)
1009 ("glib:bin" ,glib "bin")
1010 ("gobject-introspection" ,gobject-introspection)
1011 ("intltool" ,intltool)))
1013 ;; The .pc file "Requires" gobject-introspection.
1014 `(("gobject-introspection" ,gobject-introspection)))
1015 (home-page "https://wiki.gnome.org/Libpeas")
1016 (synopsis "GObject plugin system")
1018 "Libpeas is a gobject-based plugin engine, targeted at giving every
1019 application the chance to assume its own extensibility. It also has a set of
1020 features including, but not limited to: multiple extension points; on-demand
1021 (lazy) programming language support for C, Python and JS; simplicity of the
1023 (license license:lgpl2.0+)))
1025 (define-public gtkglext
1031 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1032 version "/gtkglext-" version ".tar.gz"))
1034 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1035 (patches (search-patches
1036 "gtkglext-disable-disable-deprecated.patch"))))
1037 (build-system gnu-build-system)
1038 (inputs `(("gtk+" ,gtk+-2)
1043 (native-inputs `(("pkg-config" ,pkg-config)
1044 ("glib" ,glib "bin")))
1045 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1046 (home-page "https://projects.gnome.org/gtkglext")
1047 (synopsis "OpenGL extension to GTK+")
1048 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1049 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1050 API add-ons to make GTK+ widgets OpenGL-capable.")
1051 (license license:lgpl2.1+)))
1053 (define-public glade3
1059 (uri (string-append "mirror://gnome/sources/" name "/"
1060 (version-major+minor version) "/"
1061 name "-" version ".tar.xz"))
1064 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
1065 (build-system glib-or-gtk-build-system)
1067 `(#:tests? #f ; needs X, GL, and software rendering
1069 (modify-phases %standard-phases
1070 (add-before 'configure 'fix-docbook
1071 (lambda* (#:key inputs #:allow-other-keys)
1072 (substitute* "man/Makefile.in"
1073 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1074 (string-append (assoc-ref inputs "docbook-xsl")
1075 "/xml/xsl/docbook-xsl-"
1076 ,(package-version docbook-xsl)
1077 "/manpages/docbook.xsl")))
1081 ("libxml2" ,libxml2)))
1083 `(("intltool" ,intltool)
1084 ("itstool" ,itstool)
1085 ("libxslt" ,libxslt) ;for xsltproc
1086 ("docbook-xml" ,docbook-xml-4.2)
1087 ("docbook-xsl" ,docbook-xsl)
1088 ("python" ,python-2)
1089 ("pkg-config" ,pkg-config)))
1090 (home-page "https://glade.gnome.org")
1091 (synopsis "GTK+ rapid application development tool")
1092 (description "Glade is a rapid application development (RAD) tool to
1093 enable quick & easy development of user interfaces for the GTK+ toolkit and
1094 the GNOME desktop environment.")
1095 (license license:lgpl2.0+)))
1097 (define-public libcroco
1103 (uri (string-append "mirror://gnome/sources/" name "/"
1104 (version-major+minor version) "/"
1105 name "-" version ".tar.xz"))
1107 (search-patches "libcroco-CVE-2017-7960.patch"
1108 "libcroco-CVE-2017-7961.patch"))
1111 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1112 (build-system gnu-build-system)
1114 `(("pkg-config" ,pkg-config)))
1117 ("libxml2" ,libxml2)
1119 (home-page "https://github.com/GNOME/libcroco")
1120 (synopsis "CSS2 parsing and manipulation library")
1122 "Libcroco is a standalone CSS2 parsing and manipulation library.
1123 The parser provides a low level event driven SAC-like API and a CSS object
1124 model like API. Libcroco provides a CSS2 selection engine and an experimental
1125 XML/CSS rendering engine.")
1128 (license license:lgpl2.1)))
1130 (define-public libgsf
1136 (uri (string-append "mirror://gnome/sources/" name "/"
1137 (version-major+minor version) "/"
1138 name "-" version ".tar.xz"))
1141 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1142 (build-system gnu-build-system)
1144 `(("intltool" ,intltool)
1145 ("pkg-config" ,pkg-config)))
1147 `(("python" ,python)
1151 `(("gdk-pixbuf" ,gdk-pixbuf)
1153 ("libxml2" ,libxml2)))
1154 (home-page "https://www.gnome.org/projects/libgsf")
1155 (synopsis "GNOME's Structured File Library")
1157 "Libgsf aims to provide an efficient extensible I/O abstraction for
1158 dealing with different structured file formats.")
1161 (license license:lgpl2.1)))
1163 (define-public librsvg
1169 (uri (string-append "mirror://gnome/sources/" name "/"
1170 (version-major+minor version) "/"
1171 name "-" version ".tar.xz"))
1174 "1k39gyf7f5m9x0jvpcxvfcqswdb04xhm1lbwbjabn1f4xk5wbxp6"))))
1175 (build-system gnu-build-system)
1179 'configure 'pre-configure
1180 (lambda* (#:key inputs #:allow-other-keys)
1181 (substitute* "gdk-pixbuf-loader/Makefile.in"
1182 ;; By default the gdk-pixbuf loader is installed under
1183 ;; gdk-pixbuf's prefix. Work around that.
1184 (("gdk_pixbuf_moduledir = .*$")
1185 (string-append "gdk_pixbuf_moduledir = "
1186 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1188 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1189 (("gdk_pixbuf_cache_file = .*$")
1190 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1193 `(("pkg-config" ,pkg-config)
1194 ("glib" ,glib "bin") ; glib-mkenums, etc.
1195 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1198 ("libcroco" ,libcroco)
1201 ("libxml2" ,libxml2)))
1203 ;; librsvg-2.0.pc refers to all of that.
1205 ("gdk-pixbuf" ,gdk-pixbuf)
1207 (home-page "https://wiki.gnome.org/LibRsvg")
1208 (synopsis "Render SVG files using Cairo")
1210 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1212 (license license:lgpl2.0+)))
1214 (define-public libidl
1220 (uri (let ((upstream-name "libIDL"))
1221 (string-append "mirror://gnome/sources/" upstream-name "/"
1222 (version-major+minor version) "/"
1223 upstream-name "-" version ".tar.bz2")))
1226 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1227 (build-system gnu-build-system)
1228 (inputs `(("glib" ,glib)))
1230 `(("pkg-config" ,pkg-config)
1233 (home-page "http://freecode.com/projects/libidl")
1234 (synopsis "Create trees of CORBA Interface Definition Language files")
1235 (description "Libidl is a library for creating trees of CORBA Interface
1236 Definition Language (idl) files, which is a specification for defining
1237 portable interfaces. libidl was initially written for orbit (the orb from the
1238 GNOME project, and the primary means of libidl distribution). However, the
1239 functionality was designed to be as reusable and portable as possible.")
1240 (license license:lgpl2.0+)))
1243 (define-public orbit2
1249 (uri (let ((upstream-name "ORBit2"))
1250 (string-append "mirror://gnome/sources/" upstream-name "/"
1251 (version-major+minor version) "/"
1252 upstream-name "-" version ".tar.bz2")))
1255 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1256 (build-system gnu-build-system)
1259 ;; The programmer kindly gives us a hook to turn off deprecation
1261 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1262 ;; ... which they then completly ignore !!
1265 'configure 'ignore-deprecations
1267 (substitute* "linc2/src/Makefile.in"
1268 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1270 (inputs `(("glib" ,glib)
1271 ("libidl" ,libidl)))
1273 `(("pkg-config" ,pkg-config)))
1274 (home-page "https://projects.gnome.org/orbit2/")
1275 (synopsis "CORBA 2.4-compliant Object Request Broker")
1276 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1277 featuring mature C, C++ and Python bindings.")
1278 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1279 ;; a version. SOME of the code files have licence notices for GPLv2+.
1280 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1281 (license license:gpl2+)))
1284 (define-public libbonobo
1290 (uri (string-append "mirror://gnome/sources/" name "/"
1291 (version-major+minor version)
1292 "/" name "-" version ".tar.bz2"))
1294 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1295 (patches (search-patches
1296 "libbonobo-activation-test-race.patch"))))
1297 (build-system gnu-build-system)
1299 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1301 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1302 ;; ... which they then completly ignore !!
1305 'configure 'ignore-deprecations
1307 (substitute* "activation-server/Makefile.in"
1308 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1310 (inputs `(("popt" ,popt)
1311 ("libxml2" ,libxml2)))
1312 ;; The following are Required by the .pc file
1315 ("orbit2" ,orbit2)))
1317 `(("intltool" ,intltool)
1318 ("pkg-config" ,pkg-config)
1319 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1322 (home-page "https://developer.gnome.org/libbonobo/")
1323 (synopsis "Framework for creating reusable components for use in GNOME applications")
1324 (description "Bonobo is a framework for creating reusable components for
1325 use in GNOME applications, built on top of CORBA.")
1326 ;; Licence not explicitly stated. Source files contain no licence notices.
1327 ;; Tarball contains text of both GPLv2 and LGPLv2
1328 ;; GPLv2 covers both conditions
1329 (license license:gpl2+)))
1332 (define-public gconf
1339 (let ((upstream-name "GConf"))
1340 (string-append "mirror://gnome/sources/" upstream-name "/"
1341 (version-major+minor version) "/"
1342 upstream-name "-" version ".tar.xz")))
1344 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1345 (build-system gnu-build-system)
1346 (inputs `(("dbus-glib" ,dbus-glib)
1347 ("libxml2" ,libxml2)))
1348 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1349 ("orbit2" ,orbit2)))
1351 `(("intltool" ,intltool)
1352 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1353 ("pkg-config" ,pkg-config)))
1354 (home-page "https://projects.gnome.org/gconf/")
1355 (synopsis "Store application preferences")
1356 (description "Gconf is a system for storing application preferences. It
1357 is intended for user preferences; not arbitrary data storage.")
1358 (license license:lgpl2.0+)
1359 (properties '((upstream-name . "GConf")))))
1362 (define-public gnome-mime-data
1364 (name "gnome-mime-data")
1368 (uri (string-append "mirror://gnome/sources/" name "/"
1369 (version-major+minor version) "/"
1370 name "-" version ".tar.bz2"))
1373 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1374 (build-system gnu-build-system)
1377 ("intltool" ,intltool)))
1379 '(#:phases (modify-phases %standard-phases
1380 (add-after 'configure 'use-our-intltool
1382 ;; Do not use the bundled intltool commands, which lack
1383 ;; the "dotless @INC" fixes of our 'intltool' package.
1384 (substitute* (find-files "." "^Makefile$")
1385 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1386 (string-append "INTLTOOL_" tool " = intltool-"
1387 (string-downcase tool) "\n")))
1389 (home-page "https://www.gnome.org")
1390 (synopsis "Base MIME and Application database for GNOME")
1391 (description "GNOME Mime Data is a module which contains the base MIME
1392 and Application database for GNOME. The data stored by this module is
1393 designed to be accessed through the MIME functions in GnomeVFS.")
1394 (license license:gpl2+)))
1397 (define-public gnome-vfs
1403 (uri (string-append "mirror://gnome/sources/" name "/"
1404 (version-major+minor version) "/"
1405 name "-" version ".tar.bz2"))
1408 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1409 (build-system gnu-build-system)
1413 'configure 'ignore-deprecations
1415 (substitute* '("libgnomevfs/Makefile.in"
1416 "daemon/Makefile.in")
1417 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1420 'configure 'patch-test-async-cancel-to-never-fail
1422 (substitute* "test/test-async-cancel.c"
1423 (("EXIT_FAILURE") "77")))
1424 %standard-phases))))
1425 (inputs `(("libxml2" ,libxml2)
1426 ("dbus-glib" ,dbus-glib)
1428 ("gnome-mime-data" ,gnome-mime-data)
1431 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1432 ("intltool" ,intltool)
1433 ("pkg-config" ,pkg-config)))
1434 (home-page "https://developer.gnome.org/gnome-vfs/")
1435 (synopsis "Access files and folders in GNOME applications")
1437 "GnomeVFS is the core library used to access files and folders in GNOME
1438 applications. It provides a file system abstraction which allows applications
1439 to access local and remote files with a single consistent API.")
1440 (license license:lgpl2.0+)))
1444 (define-public libgnome
1450 (uri (string-append "mirror://gnome/sources/" name "/"
1451 (version-major+minor version) "/"
1452 name "-" version ".tar.bz2"))
1455 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1456 (build-system gnu-build-system)
1460 'configure 'enable-deprecated
1462 (substitute* "libgnome/Makefile.in"
1463 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1465 (inputs `(("libxml2" ,libxml2)))
1467 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1468 ("intltool" ,intltool)
1469 ("pkg-config" ,pkg-config)))
1470 ;; The following are listed as Required in the .pc file
1471 ;; (except for libcanberra -- which seems to be oversight on the part
1472 ;; of the upstream developers -- anything that links against libgnome,
1473 ;; must also link against libcanberra
1475 `(("libcanberra" ,libcanberra)
1476 ("libbonobo" ,libbonobo)
1478 ("gnome-vfs" ,gnome-vfs)
1479 ("popt" ,popt))) ;gnome-program.h includes popt.h
1480 (home-page "https://developer.gnome.org/libgnome/")
1481 (synopsis "Useful routines for building applications")
1482 (description "The libgnome library provides a number of useful routines
1483 for building modern applications, including session management, activation of
1484 files and URIs, and displaying help.")
1485 (license license:lgpl2.0+)))
1488 (define-public libart-lgpl
1490 (name "libart-lgpl")
1494 (uri (let ((upstream-name "libart_lgpl"))
1495 (string-append "mirror://gnome/sources/" upstream-name "/"
1496 (version-major+minor version) "/"
1497 upstream-name "-" version ".tar.bz2")))
1500 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1501 (build-system gnu-build-system)
1503 `(("pkg-config" ,pkg-config)))
1504 (home-page "https://people.gnome.org/~mathieu/libart")
1505 (synopsis "2D drawing library")
1506 (description "Libart is a 2D drawing library intended as a
1507 high-quality vector-based 2D library with antialiasing and alpha composition.")
1508 (license license:lgpl2.0+)))
1512 (define-public libgnomecanvas
1514 (name "libgnomecanvas")
1518 (uri (string-append "mirror://gnome/sources/" name "/"
1519 (version-major+minor version) "/"
1520 name "-" version ".tar.gz"))
1523 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1524 (build-system gnu-build-system)
1525 ;; Mentioned as Required in the .pc file
1526 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1529 `(("intltool" ,intltool)
1530 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1531 ("pkg-config" ,pkg-config)))
1532 (home-page "https://developer.gnome.org/libgnomecanvas/")
1533 (synopsis "Flexible widget for creating interactive structured graphics")
1534 (description "The GnomeCanvas widget provides a flexible widget for
1535 creating interactive structured graphics.")
1536 (license license:lgpl2.0+)))
1538 (define-public libgnomecanvasmm
1540 (name "libgnomecanvasmm")
1544 (uri (string-append "mirror://gnome/sources/" name "/"
1545 (version-major+minor version) "/"
1546 name "-" version ".tar.bz2"))
1549 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1550 (build-system gnu-build-system)
1552 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1553 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1555 `(("gtkmm-2" ,gtkmm-2)
1556 ("pkg-config" ,pkg-config)))
1557 (home-page "http://gtkmm.org")
1558 (synopsis "C++ bindings to the GNOME Canvas library")
1559 (description "C++ bindings to the GNOME Canvas library.")
1560 (license license:lgpl2.0+)))
1562 (define-public libgnomeui
1568 (uri (string-append "mirror://gnome/sources/" name "/"
1569 (version-major+minor version) "/"
1570 name "-" version ".tar.bz2"))
1573 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1574 (build-system gnu-build-system)
1575 ;; Mentioned as Required in the .pc file
1576 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1577 ("libgnome" ,libgnome)
1578 ("libgnomecanvas" ,libgnomecanvas)
1579 ("libgnome-keyring" ,libgnome-keyring)))
1580 (inputs `(("libjpeg" ,libjpeg)
1582 ("libbonobo" ,libbonobo)
1583 ("libxml2" ,libxml2)
1584 ("libglade" ,libglade)))
1586 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1587 ("intltool" ,intltool)
1588 ("pkg-config" ,pkg-config)))
1589 (home-page "https://developer.gnome.org/libgnomeui/")
1590 (synopsis "Additional widgets for applications")
1591 (description "The libgnomeui library provides additional widgets for
1592 applications. Many of the widgets from libgnomeui have already been
1594 (license license:lgpl2.0+)))
1596 (define-public libglade
1602 (uri (string-append "mirror://gnome/sources/" name "/"
1603 (version-major+minor version) "/"
1604 name "-" version ".tar.bz2"))
1607 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1608 (build-system gnu-build-system)
1610 `(("python" ,python))) ;; needed for the optional libglade-convert program
1612 `(("gtk+-2" ,gtk+-2)
1613 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1615 `(("pkg-config" ,pkg-config)))
1616 (home-page "https://developer.gnome.org/libglade")
1617 (synopsis "Load glade interfaces and access the glade built widgets")
1618 (description "Libglade is a library that provides interfaces for loading
1619 graphical interfaces described in glade files and for accessing the
1620 widgets built in the loading process.")
1621 (license license:gpl2+))) ; This is correct. GPL not LGPL
1623 (define-public libgnomeprint
1624 ;; This library has been deprecated since 2006; see
1625 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1627 (name "libgnomeprint")
1631 (uri (string-append "mirror://gnome/sources/" name "/"
1632 (version-major+minor version) "/"
1633 name "-" version ".tar.bz2"))
1636 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1637 (build-system gnu-build-system)
1640 ("libart-lgpl" ,libart-lgpl)
1642 ("libxml2" ,libxml2)))
1644 `(("intltool" ,intltool)
1645 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1646 ("pkg-config" ,pkg-config)))
1647 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1648 (synopsis "Printing framework for GNOME")
1650 "GNOME-print was a printing framework for GNOME. It has been deprecated
1651 since ca. 2006, when GTK+ itself incorporated printing support.")
1652 (license license:lgpl2.0+)))
1655 (define-public libgnomeprintui
1656 ;; Deprecated; see libgnomeprint.
1658 (name "libgnomeprintui")
1662 (uri (string-append "mirror://gnome/sources/" name "/"
1663 (version-major+minor version) "/"
1664 name "-" version ".tar.bz2"))
1667 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1668 (build-system gnu-build-system)
1669 ;; Mentioned as Required in the .pc file
1670 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1671 (inputs `(("gtk+" ,gtk+-2)
1673 ("gnome-icon-theme" ,gnome-icon-theme)
1674 ("libgnomecanvas" ,libgnomecanvas)
1675 ("libxml2" ,libxml2)))
1677 `(("intltool" ,intltool)
1678 ("pkg-config" ,pkg-config)))
1679 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1680 (synopsis "Printing framework for GNOME")
1681 (description (package-description libgnomeprint))
1682 (license license:lgpl2.0+)))
1684 (define-public libbonoboui
1686 (name "libbonoboui")
1690 (uri (string-append "mirror://gnome/sources/" name "/"
1691 (version-major+minor version) "/"
1692 name "-" version ".tar.bz2"))
1695 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1696 (build-system gnu-build-system)
1700 'check 'start-xserver
1701 (lambda* (#:key inputs #:allow-other-keys)
1702 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1705 (setenv "HOME" (getcwd))
1706 (setenv "DISPLAY" disp)
1707 ;; There must be a running X server and make check doesn't start one.
1708 ;; Therefore we must do it.
1709 (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"))))
1825 '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)
1833 ,@(package-arguments goffice)))
1835 ;; libgoffice-0.8.pc mentions libgsf-1
1836 `(("libgsf" ,libgsf)))
1839 ,@(alist-delete "gtk" (package-inputs goffice))))))
1841 (define-public gnumeric
1847 (uri (string-append "mirror://gnome/sources/" name "/"
1848 (version-major+minor version) "/"
1849 name "-" version ".tar.xz"))
1852 "02kcq2af16m9mlzgkbdzswhw0nl6zf01dmvsfq3shy1mab7f7cbp"))))
1853 (build-system glib-or-gtk-build-system)
1855 `(;; The gnumeric developers don't worry much about failing tests.
1856 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1859 (modify-phases %standard-phases
1861 'configure 'pre-conf
1862 (lambda* (#:key outputs #:allow-other-keys)
1863 ;; Make install tries to write into the directory of goffice
1864 ;; I am informed that this only affects the possibility to embed a
1865 ;; spreadsheet inside an Abiword document. So presumably when we
1866 ;; package Abiword we'll have to refer it to this directory.
1867 (substitute* "configure"
1868 (("^GOFFICE_PLUGINS_DIR=.*")
1869 (string-append "GOFFICE_PLUGINS_DIR="
1870 (assoc-ref outputs "out")
1871 "/goffice/plugins"))))))))
1875 ("goffice" ,goffice)
1877 ("librsvg" ,librsvg)
1878 ("libxml2" ,libxml2)
1879 ("libxslt" ,libxslt)
1880 ("python" ,python-2)
1881 ("python2-pygobject" ,python2-pygobject)
1885 ("docbook-xml" ,docbook-xml)
1886 ("intltool" ,intltool)
1887 ("itstool" ,itstool)
1888 ("glib:bin" ,glib "bin")
1889 ("pkg-config" ,pkg-config)))
1890 (home-page "http://www.gnumeric.org")
1891 (synopsis "Spreadsheet application")
1893 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1894 interoperable with other spreadsheet applications. It has a vast array of
1895 features beyond typical spreadsheet functionality, such as support for linear
1896 and non-linear solvers, statistical analysis, and telecommunication
1899 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1900 (list license:gpl2 license:gpl3))))
1902 (define-public gnome-themes-standard
1904 (name "gnome-themes-standard")
1909 (uri (string-append "mirror://gnome/sources/" name "/"
1910 (version-major+minor version) "/" name "-"
1914 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1915 (build-system gnu-build-system)
1918 ;; Don't create 'icon-theme.cache'.
1919 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1920 (true (string-append coreutils "/bin/true")))
1921 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1925 ("librsvg" ,librsvg)
1926 ("libxml2" ,libxml2)
1929 `(("intltool" ,intltool)
1930 ("glib:bin" ,glib "bin")
1931 ("pkg-config" ,pkg-config)))
1932 (home-page "https://launchpad.net/gnome-themes-standard")
1933 (synopsis "Default GNOME 3 themes")
1935 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1936 (license license:lgpl2.1+)))
1938 (define-public seahorse
1945 (uri (string-append "mirror://gnome/sources/" name "/"
1946 (version-major+minor version) "/" name "-"
1950 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1951 (build-system glib-or-gtk-build-system)
1957 ("openldap" ,openldap)
1958 ("openssh" ,openssh)
1959 ("libsecret" ,libsecret)
1960 ("libsoup" ,libsoup)))
1962 `(("intltool" ,intltool)
1963 ("glib:bin" ,glib "bin")
1964 ("itstool" ,itstool)
1965 ("pkg-config" ,pkg-config)
1966 ("xmllint" ,libxml2)))
1967 (home-page "https://launchpad.net/gnome-themes-standard")
1968 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1970 "Seahorse is a GNOME application for managing encryption keys and
1971 passwords in the GNOME keyring.")
1972 (license license:gpl2+)))
1980 (uri (string-append "mirror://gnome/sources/" name "/"
1981 (version-major+minor version) "/"
1982 name "-" version ".tar.xz"))
1985 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
1986 (build-system gnu-build-system)
1989 (modify-phases %standard-phases
1990 (add-before 'check 'pre-check
1993 ;; For missing '/etc/machine-id'.
1994 (setenv "DBUS_FATAL_WARNINGS" "0")
1996 ;; Build the Vala API generator
1997 #:configure-flags '("--enable-vapigen")))
1999 `(("pkg-config" ,pkg-config)
2002 ("xsltproc" ,libxslt)
2003 ("dbus" ,dbus) ; for dbus tests
2004 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2006 `(("glib" ,glib))) ; required by libvala-0.26.pc
2007 (home-page "https://live.gnome.org/Vala/")
2008 (synopsis "Compiler for the GObject type system")
2010 "Vala is a programming language that aims to bring modern programming
2011 language features to GNOME developers without imposing any additional runtime
2012 requirements and without using a different ABI compared to applications and
2013 libraries written in C.")
2014 (license license:lgpl2.1+)))
2022 (uri (string-append "mirror://gnome/sources/" name "/"
2023 (version-major+minor version) "/"
2024 name "-" version ".tar.xz"))
2027 "1hsqc7238862mqnva5qqdfxnhpwq3ak6zx6kbjj95cs04wcgpad3"))))
2028 (build-system gnu-build-system)
2030 `(("pkg-config" ,pkg-config)
2031 ("intltool" ,intltool)
2033 ("gobject-introspection" ,gobject-introspection)
2034 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2036 ("xmllint" ,libxml2)))
2038 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2039 ("gnutls" ,gnutls) ;ditto
2040 ("pcre2" ,pcre2))) ;ditto
2041 (home-page "https://www.gnome.org/")
2042 (synopsis "Virtual Terminal Emulator")
2044 "VTE is a library (libvte) implementing a terminal emulator widget for
2045 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2046 gnome-terminal, but can also be used to embed a console/terminal in games,
2047 editors, IDEs, etc.")
2048 (license license:lgpl2.1+)))
2050 (define-public vte-ng
2054 (version "0.48.3.a")
2056 `(("gtk-doc" ,gtk-doc)
2058 ("autoconf" ,autoconf)
2059 ("automake" ,automake)
2060 ("libtool" ,libtool)
2061 ,@(package-native-inputs vte)))
2064 (uri (string-append "https://github.com/thestinger/"
2065 name "/archive/" version ".tar.gz"))
2066 (file-name (string-append name "-" version ".tar.gz"))
2069 "1wdkf090zclqy11hxdjgy8f6fgzajl0xzzirajikhbaiill7f8zh"))))
2071 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
2072 #:phases (modify-phases %standard-phases
2073 (add-after 'unpack 'bootstrap
2075 (setenv "NOCONFIGURE" "true")
2076 (zero? (system* "sh" "autogen.sh")))))))
2077 (synopsis "Enhanced VTE terminal widget")
2079 "VTE is a library (libvte) implementing a terminal emulator widget for
2080 GTK+, this fork provides additional functions exposed for keyboard text
2081 selection and URL hints.")))
2083 ;; provides vte 2.90, required for some terminal emulators
2084 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2085 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2086 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2087 ;; pantheon-terminal, roxterm are not currently packaged
2088 (define-public vte-0.36
2089 (package (inherit vte)
2094 (uri (string-append "mirror://gnome/sources/" name "/"
2095 (version-major+minor version) "/"
2096 name "-" version ".tar.xz"))
2099 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2102 ("ncurses" ,ncurses)))))
2104 ;; stable version for gtk2, required by xfce4-terminal.
2105 (define-public vte/gtk+-2
2106 (package (inherit vte)
2111 (uri (string-append "mirror://gnome/sources/" name "/"
2112 (version-major+minor version) "/"
2113 name "-" version ".tar.xz"))
2116 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2117 (patches (search-patches
2118 "vte-CVE-2012-2738-pt1.patch"
2119 "vte-CVE-2012-2738-pt2.patch"))))
2121 '(#:configure-flags '("--disable-python")))
2123 `(("pkg-config" ,pkg-config)
2124 ("intltool" ,intltool)
2125 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2127 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2128 ("ncurses" ,ncurses))))) ; required by libvte.la
2130 (define-public vinagre
2136 (uri (string-append "mirror://gnome/sources/" name "/"
2137 (version-major+minor version) "/"
2138 name "-" version ".tar.xz"))
2139 (patches ; We have to revert 2 commits to build against freerdp 1.1.
2140 (search-patches "vinagre-revert-1.patch"
2141 "vinagre-revert-2.patch"))
2144 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2145 (build-system glib-or-gtk-build-system)
2147 `(("pkg-config" ,pkg-config)
2148 ("intltool" ,intltool)
2149 ("itstool" ,itstool)
2150 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2151 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2153 `(("libxml2" ,libxml2)
2154 ("gtk-vnc" ,gtk-vnc)
2155 ("gnome-keyring" ,gnome-keyring)
2156 ("libsecret" ,libsecret)
2157 ("freerdp" ,freerdp)
2159 ("spice-gtk" ,spice-gtk)
2160 ("telepathy-glib" ,telepathy-glib)
2163 `(#:configure-flags '("--enable-rdp")))
2164 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2165 (synopsis "Remote desktop viewer for GNOME")
2166 (description "Vinagre is a remote display client supporting the VNC, SPICE
2167 and RDP protocols.")
2168 (license license:gpl3+)))
2170 (define-public dconf
2177 "mirror://gnome/sources/" name "/"
2178 (version-major+minor version) "/"
2179 name "-" version ".tar.xz"))
2182 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
2183 (build-system glib-or-gtk-build-system)
2188 ("libxml2" ,libxml2)))
2190 `(("libxslt" ,libxslt)
2191 ("docbook-xml" ,docbook-xml-4.2)
2192 ("docbook-xsl" ,docbook-xsl)
2193 ("intltool" ,intltool)
2194 ("pkg-config" ,pkg-config)))
2196 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2197 ; or /etc/machine-id.
2199 ;; Set the correct RUNPATH in binaries.
2200 (list (string-append "LDFLAGS=-Wl,-rpath="
2201 (assoc-ref %outputs "out") "/lib")
2202 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2205 'configure 'fix-docbook
2206 (lambda* (#:key inputs #:allow-other-keys)
2207 (substitute* "docs/Makefile.in"
2208 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2209 (string-append (assoc-ref inputs "docbook-xsl")
2210 "/xml/xsl/docbook-xsl-"
2211 ,(package-version docbook-xsl)
2212 "/manpages/docbook.xsl")))
2213 (setenv "XML_CATALOG_FILES"
2214 (string-append (assoc-ref inputs "docbook-xml")
2215 "/xml/dtd/docbook/catalog.xml")))
2217 (home-page "https://developer.gnome.org/dconf")
2218 (synopsis "Low-level GNOME configuration system")
2219 (description "Dconf is a low-level configuration system. Its main purpose
2220 is to provide a backend to GSettings on platforms that don't already have
2221 configuration storage systems.")
2222 (license license:lgpl2.1)))
2224 (define-public json-glib
2230 (uri (string-append "mirror://gnome/sources/" name "/"
2231 (version-major+minor version) "/"
2232 name "-" version ".tar.xz"))
2235 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
2236 (build-system gnu-build-system)
2238 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2239 ("gobject-introspection" ,gobject-introspection)
2240 ("pkg-config" ,pkg-config)))
2242 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2243 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2244 (synopsis "Compiler for the GObject type system")
2246 "JSON-GLib is a C library based on GLib providing serialization and
2247 deserialization support for the JavaScript Object Notation (JSON) format
2248 described by RFC 4627. It provides parser and generator GObject classes and
2249 various wrappers for the complex data types employed by JSON, such as arrays
2251 (license license:lgpl2.1+)))
2253 (define-public libxklavier
2255 (name "libxklavier")
2259 (uri (string-append "mirror://gnome/sources/" name "/"
2260 version "/" name "-" version ".tar.xz"))
2263 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2264 (build-system gnu-build-system)
2267 (list (string-append "--with-xkb-base="
2268 (assoc-ref %build-inputs "xkeyboard-config")
2269 "/share/X11/xkb"))))
2271 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2272 ("gobject-introspection" ,gobject-introspection)
2273 ("pkg-config" ,pkg-config)))
2275 ;; Required by libxklavier.pc.
2277 ("libxml2" ,libxml2)))
2279 `(("iso-codes" ,iso-codes)
2281 ("libxkbfile" ,libxkbfile)
2282 ("xkbcomp" ,xkbcomp)
2283 ("xkeyboard-config" ,xkeyboard-config)))
2284 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2285 (synopsis "High-level API for X Keyboard Extension")
2287 "LibXklavier is a library providing high-level API for X Keyboard
2288 Extension known as XKB. This library is intended to support XFree86 and other
2289 commercial X servers. It is useful for creating XKB-related software (layout
2291 (license license:lgpl2.0+)))
2293 (define-public python2-rsvg
2294 ;; XXX: This is actually a subset of gnome-python-desktop.
2296 (name "python2-rsvg")
2302 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2303 version ".tar.bz2"))
2306 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2307 (build-system gnu-build-system)
2309 `(("pkg-config" ,pkg-config)))
2311 `(("python" ,python-2)
2312 ("python2-pygtk" ,python2-pygtk)
2313 ("librsvg" ,librsvg)))
2314 (home-page "https://www.gnome.org")
2315 (synopsis "Python bindings to librsvg")
2317 "This packages provides Python bindings to librsvg, the SVG rendering
2320 ;; This is the license of the rsvg bindings. The license of each module
2321 ;; of gnome-python-desktop is given in 'COPYING'.
2322 (license license:lgpl2.1+)))
2324 (define-public glib-networking
2326 (name "glib-networking")
2330 (uri (string-append "mirror://gnome/sources/glib-networking/"
2331 (version-major+minor version) "/"
2332 name "-" version ".tar.xz"))
2335 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2337 (search-patches "glib-networking-ssl-cert-file.patch"))))
2338 (build-system gnu-build-system)
2341 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2343 (modify-phases %standard-phases
2344 (add-before 'configure 'patch-giomoduledir
2345 ;; Install GIO modules into $out/lib/gio/modules.
2347 (substitute* "configure"
2348 (("GIO_MODULE_DIR=.*")
2349 (string-append "GIO_MODULE_DIR=" %output
2350 "/lib/gio/modules\n")))))
2351 (add-before 'check 'use-empty-ssl-cert-file
2353 ;; The ca-certificates.crt is not available in the build
2355 (setenv "SSL_CERT_FILE" "/dev/null")
2358 `(("pkg-config" ,pkg-config)
2359 ("intltool" ,intltool)))
2363 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2364 ("p11-kit" ,p11-kit)))
2365 (home-page "https://www.gnome.org")
2366 (synopsis "Network-related GIO modules")
2368 "This package contains various network related extensions for the GIO
2370 (license license:lgpl2.0+)))
2378 (uri (string-append "mirror://gnome/sources/rest/"
2379 (version-major+minor version) "/"
2380 name "-" version ".tar.xz"))
2383 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2384 (build-system gnu-build-system)
2386 '(#:tests? #f ; tests require internet connection
2388 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2390 `(("glib-mkenums" ,glib "bin")
2391 ("gobject-introspection" ,gobject-introspection)
2392 ("pkg-config" ,pkg-config)))
2394 ;; rest-0.7.pc refers to all these.
2396 ("libsoup" ,libsoup)
2397 ("libxml2" ,libxml2)))
2398 (home-page "http://www.gtk.org/")
2399 (synopsis "RESTful web api query library")
2401 "This library was designed to make it easier to access web services that
2402 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2403 libxml to ease remote use of the RESTful API.")
2404 (license license:lgpl2.1+)))
2406 (define-public libsoup
2412 (uri (string-append "mirror://gnome/sources/libsoup/"
2413 (version-major+minor version) "/"
2414 name "-" version ".tar.xz"))
2417 "0wkvs4kql1iam4cqy17wsi12b1pzhwr2127pyaxs7y0v3g5008s4"))))
2418 (build-system gnu-build-system)
2419 (outputs '("out" "doc"))
2421 `(#:modules ((guix build utils)
2422 (guix build gnu-build-system)
2426 (list (string-append "--with-html-dir="
2427 (assoc-ref %outputs "doc")
2428 "/share/gtk-doc/html")
2429 (string-append "--with-apache-module-dir="
2430 (assoc-ref %build-inputs "httpd")
2433 (modify-phases %standard-phases
2434 (add-before 'configure 'disable-unconnected-socket-test
2435 ;; This test fails due to missing /etc/nsswitch.conf
2436 ;; in the build environment.
2438 (substitute* "tests/socket-test.c"
2439 ((".*/sockets/unconnected.*") ""))
2441 (add-before 'check 'pre-check
2443 ;; The 'check-local' target runs 'env LANG=C sort -u',
2444 ;; unset 'LC_ALL' to make 'LANG' working.
2446 ;; The ca-certificates.crt is not available in the build
2448 (setenv "SSL_CERT_FILE" "/dev/null")
2449 ;; HTTPD in Guix uses mod_event and does not build prefork.
2450 (substitute* "tests/httpd.conf"
2451 (("^LoadModule mpm_prefork_module.*$") "\n"))
2453 ;; Generate a self-signed certificate that has "localhost" as its
2454 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2455 ;; 3.5.12, tests such as "ssl-tests" fail:
2457 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2459 ;; 'certtool' is interactive so we have to pipe it the answers.
2460 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2461 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2462 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2463 (for-each (lambda (line)
2468 "Guix" ;Organizational unit name
2469 "GNU" ;Organization name
2471 "" ;State or province
2473 "" ;subject's domain component (DC)
2476 "-1" ;expiration time
2477 "N" ;belong to authority?
2478 "N" ;web client certificate?
2480 "Y" ;web server certificate?
2481 "localhost" ;dnsName of subject
2482 "" ;dnsName of subject (end)
2484 "127.0.0.1" ;IP address of subject
2487 "" ;sign OCSP requests?
2490 "" ;email protection?
2491 "" ;URI of the CRL distribution point
2500 ;; Install vala bindings into $out.
2501 (string-append "vapidir=" %output
2505 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2506 ("gobject-introspection" ,gobject-introspection)
2507 ("intltool" ,intltool)
2508 ("pkg-config" ,pkg-config)
2509 ("python" ,python-wrapper)
2511 ;; These are needed for the tests.
2512 ;; FIXME: Add PHP once available.
2514 ("gnutls" ,gnutls) ;for 'certtool'
2517 ;; libsoup-2.4.pc refers to all these.
2519 ("libxml2" ,libxml2)))
2521 `(("glib-networking" ,glib-networking)
2522 ("sqlite" ,sqlite)))
2523 (home-page "https://live.gnome.org/LibSoup/")
2524 (synopsis "GLib-based HTTP Library")
2526 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2527 and the GLib main loop, to integrate well with GNOME applications.")
2528 (license license:lgpl2.0+)))
2530 (define-public libsecret
2537 "mirror://gnome/sources/libsecret/"
2538 (version-major+minor version) "/"
2539 name "-" version ".tar.xz"))
2542 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2543 (build-system gnu-build-system)
2544 (outputs '("out" "doc"))
2546 `(#:tests? #f ; FIXME: Testing hangs.
2548 (list (string-append "--with-html-dir="
2549 (assoc-ref %outputs "doc")
2550 "/share/gtk-doc/html"))))
2552 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2553 ("gobject-introspection" ,gobject-introspection)
2554 ("intltool" ,intltool)
2555 ("pkg-config" ,pkg-config)
2557 ("xsltproc" ,libxslt)))
2558 ;; These are needed for the tests.
2559 ;; FIXME: Add gjs once available.
2561 ;("python2" ,python-2)
2562 ;("python2-dbus" ,python2-dbus)
2563 ;("python2-pygobject" ,python2-pygobject)
2564 ;("python2-pygobject-2" ,python2-pygobject-2)))
2566 `(("glib" ,glib))) ; required by libsecret-1.pc
2568 `(("docbook-xsl" ,docbook-xsl)
2569 ("libgcrypt" ,libgcrypt)
2570 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2571 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2572 (synopsis "GObject bindings for \"Secret Service\" API")
2574 "Libsecret is a GObject based library for storing and retrieving passwords
2575 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2576 (license license:lgpl2.1+)))
2578 (define-public five-or-more
2580 (name "five-or-more")
2585 (uri (string-append "mirror://gnome/sources/" name "/"
2586 (version-major+minor version) "/"
2587 name "-" version ".tar.xz"))
2590 "1b26afyjr26wqy5j008gzsi3hpblbmabh0192lx6414lml1qxkxs"))))
2591 (build-system glib-or-gtk-build-system)
2593 `(("pkg-config" ,pkg-config)
2594 ("desktop-file-utils" ,desktop-file-utils)
2595 ("intltool" ,intltool)
2596 ("itstool" ,itstool)
2597 ("xmllint" ,libxml2)))
2600 ("librsvg" ,librsvg)))
2601 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2602 (synopsis "Logic puzzle game")
2603 (description "Five or More is a game where you try to align
2604 five or more objects of the same color and shape causing them to disappear.
2605 On every turn more objects will appear, until the board is full.
2606 Try to last as long as possible.")
2607 (license license:gpl2+)))
2609 (define-public gnome-mines
2611 (name "gnome-mines")
2616 (uri (string-append "mirror://gnome/sources/" name "/"
2617 (version-major+minor version) "/"
2618 name "-" version ".tar.xz"))
2621 "1xh2as2xmh7gx45gpnl0fh9xjpvyyn3m84qgv41kyp2s4clsyqz6"))))
2622 (build-system glib-or-gtk-build-system)
2625 (modify-phases %standard-phases
2626 (add-before 'configure 'patch-/bin/true
2628 (substitute* "configure"
2629 (("/bin/true") (which "true"))))))))
2631 `(("pkg-config" ,pkg-config)
2632 ("desktop-file-utils" ,desktop-file-utils)
2633 ("intltool" ,intltool)
2634 ("itstool" ,itstool)
2635 ("xmllint" ,libxml2)))
2638 ("libgnome-games-support" ,libgnome-games-support)
2639 ("librsvg" ,librsvg)))
2640 (home-page "https://wiki.gnome.org/Apps/Mines")
2641 (synopsis "Minesweeper game")
2643 "Mines (previously gnomine) is a puzzle game where you locate mines
2644 floating in an ocean using only your brain and a little bit of luck.")
2645 (license license:gpl2+)))
2647 (define-public gnome-sudoku
2649 (name "gnome-sudoku")
2654 (uri (string-append "mirror://gnome/sources/" name "/"
2655 (version-major+minor version) "/"
2656 name "-" version ".tar.xz"))
2659 "1mw5ykk7wr0r9770jj5270f07rjws0pmpjs0b1fywj4li13r98h4"))))
2660 (build-system glib-or-gtk-build-system)
2662 `(("pkg-config" ,pkg-config)
2663 ("desktop-file-utils" ,desktop-file-utils)
2664 ("intltool" ,intltool)
2665 ("itstool" ,itstool)
2666 ("xmllint" ,libxml2)))
2669 ("json-glib" ,json-glib)
2671 ("librsvg" ,librsvg)
2672 ("qqwing" ,qqwing)))
2673 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2674 (synopsis "Japanese logic game")
2676 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2677 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2678 possible while still providing features that make playing difficult Sudoku
2680 (license license:gpl2+)))
2682 (define-public gnome-terminal
2684 (name "gnome-terminal")
2689 (uri (string-append "mirror://gnome/sources/" name "/"
2690 (version-major+minor version) "/"
2691 name "-" version ".tar.xz"))
2694 "03zcvxlzg7n4pz65vrg5xj3qpkqr4bz162mgmaz4bjh71b1xl7i8"))))
2695 (build-system glib-or-gtk-build-system)
2698 (list "--disable-migration" "--disable-search-provider"
2699 "--without-nautilus-extension")
2701 (modify-phases %standard-phases
2702 (add-before 'configure 'patch-/bin/true
2704 (substitute* "configure"
2705 (("/bin/true") (which "true"))))))))
2707 `(("pkg-config" ,pkg-config)
2708 ("desktop-file-utils" ,desktop-file-utils)
2709 ("intltool" ,intltool)
2710 ("itstool" ,itstool)
2711 ("xmllint" ,libxml2)))
2713 `(("dconf" ,dconf)))
2718 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2719 ("util-linux" ,util-linux)
2721 (home-page "https://wiki.gnome.org/Apps/Terminal")
2722 (synopsis "Terminal emulator")
2724 "GNOME Terminal is a terminal emulator application for accessing a
2725 UNIX shell environment which can be used to run programs available on
2728 It supports several profiles, multiple tabs and implements several
2729 keyboard shortcuts.")
2730 (license license:gpl3+)))
2732 (define-public colord
2739 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2740 name "-" version ".tar.xz"))
2743 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2744 (build-system glib-or-gtk-build-system)
2746 '(;; The tests want to run valgrind. Punt for now.
2748 #:configure-flags (list "--localstatedir=/var"
2749 ;; GUSB not packaged yet.
2751 ;; No dep on systemd.
2752 "--disable-systemd-login"
2753 ;; Wants to install to global completion dir;
2755 "--disable-bash-completion"
2756 ;; colord-gtk not packaged yet.
2757 "--disable-session-example"
2758 "--with-daemon-user=colord"
2760 (string-append "--with-udevrulesdir="
2761 (assoc-ref %outputs "out")
2762 "/lib/udev/rules.d"))
2764 (modify-phases %standard-phases
2765 (add-before 'configure 'patch-/bin/true
2767 (substitute* "configure"
2768 (("/bin/true") (which "true")))
2769 (substitute* "src/Makefile.in"
2770 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2771 "if test -w $(DESTDIR)$(localstatedir);")))))))
2773 `(("pkg-config" ,pkg-config)
2774 ("gobject-introspection" ,gobject-introspection)
2775 ("libtool" ,libtool)
2776 ("intltool" ,intltool)))
2778 ;; colord.pc refers to all these.
2783 `(("dbus-glib" ,dbus-glib)
2784 ("libgudev" ,libgudev)
2788 ("sane-backends" ,sane-backends)))
2789 (home-page "http://www.freedesktop.org/software/colord/")
2790 (synopsis "Color management service")
2791 (description "Colord is a system service that makes it easy to manage,
2792 install and generate color profiles to accurately color manage input and
2794 (license license:gpl2+)))
2796 (define-public geoclue
2803 (uri (string-append "https://www.freedesktop.org/software/" name
2804 "/releases/" (version-major+minor version) "/"
2805 name "-" version ".tar.xz"))
2808 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
2809 (patches (search-patches "geoclue-config.patch"))))
2810 (build-system glib-or-gtk-build-system)
2812 '(;; The tests want to run the system bus.
2814 #:configure-flags (list ;; Disable bits requiring ModemManager.
2815 "--disable-3g-source"
2816 "--disable-cdma-source"
2817 "--disable-modem-gps-source"
2818 "--with-dbus-service-user=geoclue")
2820 (modify-phases %standard-phases
2821 (add-before 'configure 'patch-/bin/true
2823 (substitute* "configure"
2824 (("/bin/true") (which "true"))))))))
2826 `(("pkg-config" ,pkg-config)
2827 ("gobject-introspection" ,gobject-introspection)
2828 ("intltool" ,intltool)))
2832 ("json-glib" ,json-glib)
2833 ("libsoup" ,libsoup)))
2834 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2835 (synopsis "Geolocation service")
2836 (description "Geoclue is a D-Bus service that provides location
2837 information. The primary goal of the Geoclue project is to make creating
2838 location-aware applications as simple as possible, while the secondary goal is
2839 to ensure that no application can access location information without explicit
2840 permission from user.")
2841 (license license:gpl2+)))
2843 (define-public geocode-glib
2845 (name "geocode-glib")
2849 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2850 (version-major+minor version) "/"
2851 name "-" version ".tar.xz"))
2854 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2855 (build-system gnu-build-system)
2857 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2858 ;; work for the builder. Punt.
2861 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2862 ("gobject-introspection" ,gobject-introspection)
2863 ("pkg-config" ,pkg-config)
2864 ("json-glib" ,json-glib)))
2866 ;; geocode-glib-1.0.pc refers to GIO.
2869 `(("libsoup" ,libsoup)))
2870 (home-page "https://github.com/GNOME/geocode-glib/")
2871 (synopsis "Geocoding and reverse-geocoding library")
2873 "geocode-glib is a convenience library for geocoding (finding longitude,
2874 and latitude from an address) and reverse geocoding (finding an address from
2875 coordinates) using the Nominatim service. geocode-glib caches requests for
2876 faster results and to avoid unnecessary server load.")
2877 (license license:lgpl2.0+)))
2879 (define-public upower
2885 (uri (string-append "https://upower.freedesktop.org/releases/"
2886 name "-" version ".tar.xz"))
2889 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2890 (patches (search-patches "upower-builddir.patch"))))
2891 (build-system glib-or-gtk-build-system)
2893 '( ;; The tests want to contact the system bus, which can't be done in the
2894 ;; build environment. The integration test can run, but the last of
2895 ;; the up-self-tests doesn't. Disable tests for now.
2897 #:configure-flags (list "--localstatedir=/var"
2898 (string-append "--with-udevrulesdir="
2899 (assoc-ref %outputs "out")
2900 "/lib/udev/rules.d"))
2902 (modify-phases %standard-phases
2903 (add-before 'configure 'patch-/bin/true
2905 (substitute* "configure"
2906 (("/bin/true") (which "true")))))
2907 (add-before 'configure 'patch-integration-test
2909 (substitute* "src/linux/integration-test"
2910 (("/usr/bin/python3") (which "python3"))))))))
2912 `(("gobject-introspection" ,gobject-introspection)
2913 ("pkg-config" ,pkg-config)
2914 ("intltool" ,intltool)
2918 ("libxslt" ,libxslt) ;for 'xsltproc'
2919 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2920 ("docbook-xsl" ,docbook-xsl)))
2922 `(("dbus-glib" ,dbus-glib)
2923 ("libgudev" ,libgudev)
2924 ("libusb" ,libusb)))
2925 (home-page "http://upower.freedesktop.org/")
2926 (synopsis "System daemon for managing power devices")
2928 "UPower is an abstraction for enumerating power devices,
2929 listening to device events and querying history and statistics. Any
2930 application or service on the system can access the org.freedesktop.UPower
2931 service via the system message bus.")
2932 (license license:gpl2+)))
2934 (define-public libgweather
2936 (name "libgweather")
2940 (uri (string-append "mirror://gnome/sources/" name "/"
2941 (version-major+minor version) "/"
2942 name "-" version ".tar.xz"))
2945 "0g35xfcw9vh3sfff42blk9ksrlmkrjmj46h3ad0sqgdn6xh329qj"))))
2946 (build-system gnu-build-system)
2949 `(,(string-append "--with-zoneinfo-dir="
2950 (assoc-ref %build-inputs "tzdata")
2953 (modify-phases %standard-phases
2954 (add-before 'check 'pre-check
2955 (lambda* (#:key inputs #:allow-other-keys)
2956 (substitute* "data/check-timezones.sh"
2957 (("/usr/share/zoneinfo/zone.tab")
2958 (string-append (assoc-ref inputs "tzdata")
2959 "/share/zoneinfo/zone.tab")))
2961 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2962 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2963 (substitute* "data/Locations.xml"
2968 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2969 ("gobject-introspection" ,gobject-introspection)
2970 ("pkg-config" ,pkg-config)
2971 ("intltool" ,intltool)))
2973 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2976 ("gdk-pixbuf" ,gdk-pixbuf)
2977 ("libxml2" ,libxml2)
2978 ("libsoup" ,libsoup)))
2980 `(("tzdata" ,tzdata)
2981 ("geocode-glib" ,geocode-glib)))
2982 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2983 (synopsis "Location, time zone, and weather library for GNOME")
2985 "libgweather is a library to access weather information from online
2986 services for numerous locations.")
2987 (license license:gpl2+)))
2989 (define-public gnome-settings-daemon
2991 (name "gnome-settings-daemon")
2996 (uri (string-append "mirror://gnome/sources/" name "/"
2997 (version-major+minor version) "/"
2998 name "-" version ".tar.xz"))
3001 "1jnw920zn4cadhgmcv2q5ylzqhwm1rmrhf3a14q8mvp38hkdgaaa"))))
3002 (build-system glib-or-gtk-build-system)
3004 `(;; Color management test can't reach the colord system service.
3007 `(("pkg-config" ,pkg-config)
3008 ("intltool" ,intltool)
3009 ("xsltproc" ,libxslt)
3010 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3011 ("docbook-xml" ,docbook-xml-4.2)
3012 ("docbook-xsl" ,docbook-xsl)))
3014 `(("colord" ,colord)
3015 ("libgudev" ,libgudev)
3018 ("pulseaudio" ,pulseaudio)
3019 ("libcanberra" ,libcanberra)
3021 ("libxtst" ,libxtst)
3023 ("libnotify" ,libnotify)
3024 ("geoclue" ,geoclue)
3025 ("geocode-glib" ,geocode-glib)
3026 ("libgweather" ,libgweather)
3027 ("gnome-desktop" ,gnome-desktop)
3030 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3031 ("libwacom" ,libwacom)
3032 ("librsvg" ,librsvg)
3033 ("xf86-input-wacom" ,xf86-input-wacom)
3034 ("network-manager" ,network-manager)))
3035 (home-page "https://www.gnome.org")
3036 (synopsis "GNOME settings daemon")
3038 "This package contains the daemon responsible for setting the various
3039 parameters of a GNOME session and the applications that run under it. It
3040 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3041 settings, themes, mouse settings, and startup of other daemons.")
3042 (license license:gpl2+)))
3044 (define-public totem-pl-parser
3046 (name "totem-pl-parser")
3050 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3051 (version-major+minor version) "/"
3052 "totem-pl-parser-" version ".tar.xz"))
3055 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3056 (build-system gnu-build-system)
3058 ;; FIXME: Tests require gvfs.
3061 `(("intltool" ,intltool)
3062 ("glib" ,glib "bin")
3063 ("gobject-introspection" ,gobject-introspection)
3064 ("pkg-config" ,pkg-config)))
3068 ("libxml2" ,libxml2)))
3070 `(("libarchive" ,libarchive)
3071 ("libgcrypt" ,libgcrypt)
3073 ("libsoup" ,libsoup)))
3074 (home-page "https://projects.gnome.org/totem")
3075 (synopsis "Library to parse and save media playlists for GNOME")
3076 (description "Totem-pl-parser is a GObjects-based library to parse and save
3077 playlists in a variety of formats.")
3078 (license license:lgpl2.0+)))
3080 (define-public aisleriot
3086 (uri (string-append "mirror://gnome/sources/" name "/"
3087 (version-major+minor version) "/"
3088 name "-" version ".tar.xz"))
3091 "0a8cir7vgi67sncl0m7cypq11amardm7r68gr3q52a11l8ajycdx"))))
3092 (build-system glib-or-gtk-build-system)
3095 '("--with-platform=gtk-only"
3096 "--with-card-theme-formats=svg")))
3098 `(("desktop-file-utils" ,desktop-file-utils)
3099 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3100 ("intltool" ,intltool)
3101 ("itstool" ,itstool)
3102 ("pkg-config" ,pkg-config)
3103 ("xmllint" ,libxml2)))
3106 ("guile" ,guile-2.0)
3107 ("libcanberra" ,libcanberra)
3108 ("librsvg" ,librsvg)))
3109 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3110 (synopsis "Solitaire card games")
3112 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3113 which are easy to play with the aid of a mouse.")
3114 (license license:gpl3+)))
3116 (define-public devhelp
3122 (uri (string-append "mirror://gnome/sources/" name "/"
3123 (version-major+minor version) "/"
3124 name "-" version ".tar.xz"))
3127 "0c74rk46dy3kvy78m42jl3ip56c5536zmy8v1lbascjmh4fdwn28"))))
3128 (build-system glib-or-gtk-build-system)
3130 `(("intltool" ,intltool)
3131 ("pkg-config" ,pkg-config)))
3133 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3134 ("webkitgtk" ,webkitgtk)))
3135 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3136 (synopsis "API documentation browser for GNOME")
3138 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3139 natively with GTK-Doc (the API reference system developed for GTK+ and used
3140 throughout GNOME for API documentation).")
3141 (license license:gpl2+)))
3150 (uri (string-append "mirror://gnome/sources/" name "/"
3151 (version-major+minor version) "/"
3152 name "-" version ".tar.xz"))
3155 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3156 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3157 ;; cogl, corresponding changes may be appropriate in mutter as well.
3158 (build-system gnu-build-system)
3160 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3161 ("gobject-introspection" ,gobject-introspection)
3162 ;;("xorg-server" ,xorg-server) ; for the test suite
3163 ("pkg-config" ,pkg-config)))
3166 ("gdk-pixbuf" ,gdk-pixbuf)
3168 ("libxext" ,libxext)
3169 ("libxfixes" ,libxfixes)
3170 ("libxdamage" ,libxdamage)
3171 ("libxcomposite" ,libxcomposite)
3172 ("libxrandr" ,libxrandr)))
3177 ("gstreamer" ,gstreamer)
3178 ("gst-plugins-base" ,gst-plugins-base)
3179 ("wayland" ,wayland)))
3181 `(#:configure-flags (list "--enable-cogl-gst"
3182 "--enable-wayland-egl-platform"
3183 "--enable-wayland-egl-server"
3185 ;; Arrange to pass an absolute file name to
3186 ;; dlopen for libGL.so.
3187 (string-append "--with-gl-libname="
3188 (assoc-ref %build-inputs "mesa")
3190 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3191 ;; _FontTransOpen: Unable to Parse address
3192 ;; ${prefix}/share/fonts/X11/misc/
3196 (modify-phases %standard-phases
3197 (add-before 'check 'start-xorg-server
3198 (lambda* (#:key inputs #:allow-other-keys)
3199 ;; The test suite requires a running X server.
3200 (system (format #f "~a/bin/Xvfb :1 &"
3201 (assoc-ref inputs "xorg-server")))
3202 (setenv "DISPLAY" ":1")
3204 (home-page "http://www.cogl3d.org")
3205 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3207 "Cogl is a small library for using 3D graphics hardware to draw pretty
3208 pictures. The API departs from the flat state machine style of OpenGL and is
3209 designed to make it easy to write orthogonal components that can render
3210 without stepping on each others toes.")
3211 (license (list license:expat ; most of the code
3212 license:bsd-3 ; cogl/cogl-point-in-poly.c
3213 license:sgifreeb2.0 ; cogl-path/tesselator/
3214 license:asl2.0)))) ; examples/android/
3216 (define-public clutter
3223 (uri (string-append "mirror://gnome/sources/" name "/"
3224 (version-major+minor version) "/"
3225 name "-" version ".tar.xz"))
3228 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3229 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3230 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3231 (build-system gnu-build-system)
3233 "doc")) ;9 MiB of gtk-doc HTML pages
3235 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3236 ("gobject-introspection" ,gobject-introspection)
3237 ("pkg-config" ,pkg-config)
3238 ("xsltproc" ,libxslt)))
3244 ("json-glib" ,json-glib)
3246 ("libxcomposite" ,libxcomposite)
3247 ("libxdamage" ,libxdamage)
3248 ("libxext" ,libxext)
3249 ("xinput" ,xinput)))
3251 `(("libxkbcommon" ,libxkbcommon)
3254 `(#:configure-flags (list "--enable-x11-backend=yes"
3256 ;; This produces share/doc/{clutter,cally}.
3257 (string-append "--with-html-dir="
3258 (assoc-ref %outputs "doc")
3260 ;; XXX FIXME: Get test suite working. It would probably fail in the
3261 ;; same way the cogl tests fail, since clutter is based on cogl.
3263 (home-page "http://www.clutter-project.org")
3264 (synopsis "Open GL based interactive canvas library")
3266 "Clutter is an Open GL based interactive canvas library, designed for
3267 creating fast, mainly 2D single window applications such as media box UIs,
3268 presentations, kiosk style applications and so on.")
3269 (license license:lgpl2.0+)))
3271 (define-public clutter-gtk
3273 (name "clutter-gtk")
3278 (uri (string-append "mirror://gnome/sources/" name "/"
3279 (version-major+minor version) "/"
3280 name "-" version ".tar.xz"))
3283 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3284 (build-system gnu-build-system)
3286 `(("pkg-config" ,pkg-config)
3287 ("gobject-introspection" ,gobject-introspection)))
3289 ;; clutter-gtk.pc refers to all these.
3290 `(("clutter" ,clutter)
3292 (home-page "http://www.clutter-project.org")
3293 (synopsis "Open GL based interactive canvas library GTK+ widget")
3295 "Clutter is an Open GL based interactive canvas library, designed for
3296 creating fast, mainly 2D single window applications such as media box UIs,
3297 presentations, kiosk style applications and so on.")
3298 (license license:lgpl2.0+)))
3300 (define-public clutter-gst
3302 (name "clutter-gst")
3307 (uri (string-append "mirror://gnome/sources/" name "/"
3308 (version-major+minor version) "/"
3309 name "-" version ".tar.xz"))
3312 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
3313 (build-system gnu-build-system)
3315 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3316 ("pkg-config" ,pkg-config)
3317 ("gobject-introspection" ,gobject-introspection)))
3319 `(("clutter" ,clutter)
3320 ("gstreamer" ,gstreamer)
3321 ("gst-plugins-base" ,gst-plugins-base)))
3322 (home-page "http://www.clutter-project.org")
3323 (synopsis "Integration library for using GStreamer with Clutter")
3325 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3326 It provides a GStreamer sink to upload frames to GL and an actor that
3327 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3328 GL based interactive canvas library.")
3329 (license license:lgpl2.0+)))
3331 (define-public libchamplain
3333 (name "libchamplain")
3338 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3342 "0x5qa1aw1y59lzkmf4j4szspn49341a87vcja4ydgxny1chilwjl"))))
3343 (build-system gnu-build-system)
3344 (arguments '(#:configure-flags '("--enable-vala")))
3346 `(("gobject-introspection" ,gobject-introspection)
3347 ("pkg-config" ,pkg-config)
3350 `(("libsoup" ,libsoup)
3352 ("clutter" ,clutter)
3353 ("clutter-gtk" ,clutter-gtk)
3354 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3358 (home-page "https://projects.gnome.org/libchamplain/")
3359 (synopsis "C library providing a ClutterActor to display maps")
3361 "libchamplain is a C library providing a ClutterActor to display maps.
3362 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3363 and Perl bindings are also available. It supports numerous free map sources
3364 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3365 (license license:lgpl2.1+)))
3374 (uri (string-append "mirror://gnome/sources/" name "/"
3375 (version-major+minor version) "/"
3376 name "-" version ".tar.xz"))
3379 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3380 (build-system gnu-build-system)
3382 `(("intltool" ,intltool)
3383 ("pkg-config" ,pkg-config)
3384 ("gobject-introspection" ,gobject-introspection)))
3387 ("gdk-pixbuf" ,gdk-pixbuf)
3388 ("sqlite" ,sqlite)))
3389 ;; XXX TODO: Figure out how to run the test suite.
3390 (arguments `(#:tests? #f))
3391 (home-page "https://wiki.gnome.org/Projects/Gom")
3392 (synopsis "Object mapper from GObjects to SQLite")
3394 "Gom provides an object mapper from GObjects to SQLite. It helps you
3395 write applications that need to store structured data as well as make complex
3396 queries upon that data.")
3397 (license license:lgpl2.1+)))
3399 (define-public libgnome-games-support
3401 (name "libgnome-games-support")
3405 (uri (string-append "mirror://gnome/sources/" name "/"
3406 (version-major+minor version) "/"
3407 name "-" version ".tar.xz"))
3410 "04qbgcgmc01sinhbqdljiny8q868l01nkdawj8wrnqnd1i8czvsg"))))
3411 (build-system gnu-build-system)
3414 (modify-phases %standard-phases
3415 (add-before 'check 'pre-check
3417 ;; Tests require a writable HOME.
3418 (setenv "HOME" (getcwd))
3421 `(("intltool" ,intltool)
3422 ("pkg-config" ,pkg-config)
3425 ;; Required by libgnome-games-support-1.0.pc
3427 ("libgee" ,libgee)))
3428 (home-page "https://www.gnome.org/")
3429 (synopsis "Useful functionality shared among GNOME games")
3431 "libgnome-games-support is a small library intended for internal use by
3432 GNOME Games, but it may be used by others.")
3433 (license license:lgpl3+)))
3435 (define-public gnome-klotski
3437 (name "gnome-klotski")
3441 (uri (string-append "mirror://gnome/sources/" name "/"
3442 (version-major+minor version) "/"
3443 name "-" version ".tar.xz"))
3446 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
3447 (build-system glib-or-gtk-build-system)
3449 `(("desktop-file-utils" ,desktop-file-utils)
3450 ("intltool" ,intltool)
3451 ("itstool" ,itstool)
3452 ("pkg-config" ,pkg-config)
3453 ("xmllint" ,libxml2)))
3456 ("libgnome-games-support" ,libgnome-games-support)
3457 ("librsvg" ,librsvg)))
3458 (home-page "https://wiki.gnome.org/Apps/Klotski")
3459 (synopsis "Sliding block puzzles")
3461 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3462 the patterned block to the area bordered by green markers. To do so, you will
3463 need to slide other blocks out of the way. Complete each puzzle in as few moves
3465 (license license:gpl2+)))
3467 (define-public grilo
3474 (uri (string-append "mirror://gnome/sources/" name "/"
3475 (version-major+minor version) "/"
3476 name "-" version ".tar.xz"))
3479 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3480 (build-system gnu-build-system)
3482 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3483 ("intltool" ,intltool)
3484 ("pkg-config" ,pkg-config)
3485 ("gobject-introspection" ,gobject-introspection)))
3487 `(("cyrus-sasl" ,cyrus-sasl)
3490 ("libxml2" ,libxml2)
3491 ("liboauth" ,liboauth)
3492 ("libsoup" ,libsoup)
3494 ("totem-pl-parser" ,totem-pl-parser)))
3497 (modify-phases %standard-phases
3498 (add-after 'unpack 'fix-introspection-install-dir
3499 (lambda* (#:key outputs #:allow-other-keys)
3500 (let ((out (assoc-ref outputs "out")))
3501 (substitute* '("src/Makefile.in"
3502 "libs/pls/Makefile.in"
3503 "libs/net/Makefile.in")
3504 (("@INTROSPECTION_GIRDIR@")
3505 (string-append out "/share/gir-1.0/"))
3506 (("@INTROSPECTION_TYPELIBDIR@")
3507 (string-append out "/lib/girepository-1.0/")))))))))
3508 (native-search-paths
3509 (list (search-path-specification
3510 (variable "GRL_PLUGIN_PATH")
3511 (files (list (string-append "lib/grilo-"
3512 (version-major+minor version)))))))
3513 (home-page "https://live.gnome.org/Grilo")
3514 (synopsis "Framework for discovering and browsing media")
3516 "Grilo is a framework focused on making media discovery and browsing easy
3517 for application developers.")
3518 (license license:lgpl2.1+)))
3520 (define-public grilo-plugins
3522 (name "grilo-plugins")
3527 (uri (string-append "mirror://gnome/sources/" name "/"
3528 (version-major+minor version) "/"
3529 name "-" version ".tar.xz"))
3532 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3533 (build-system gnu-build-system)
3535 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3536 ("intltool" ,intltool)
3537 ("itstool" ,itstool)
3538 ("pkg-config" ,pkg-config)))
3541 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3543 ("libxml2" ,libxml2)
3546 ;; XXX TODO: Add oauth
3547 ;; XXX TODO: Add goa
3548 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3549 ;; XXX TODO: Add lua (needs help finding it)
3550 ("json-glib" ,json-glib)
3553 ("libsoup" ,libsoup)
3554 ("libarchive" ,libarchive)
3555 ("totem-pl-parser" ,totem-pl-parser)))
3557 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3560 ,(version-major+minor version)))
3561 ;; XXX FIXME: Try to get the test suite working. It appears to require
3562 ;; a working system dbus. Inside the build container, all tests fail
3563 ;; with: "assertion failed: (source)". Outside of the build container,
3564 ;; most tests succeed.
3566 (home-page "https://live.gnome.org/Grilo")
3567 (synopsis "Plugins for the Grilo media discovery library")
3569 "Grilo is a framework focused on making media discovery and browsing easy
3570 for application developers.")
3571 (license license:lgpl2.1+)))
3573 (define-public totem
3580 (uri (string-append "mirror://gnome/sources/" name "/"
3581 (version-major+minor version) "/"
3582 name "-" version ".tar.xz"))
3585 "00cdlll5b0wj5ckl1pc0a3g39a0hlq0gxkcsh1f6p20fjixqzmwv"))))
3586 (build-system glib-or-gtk-build-system)
3588 `(("pkg-config" ,pkg-config)
3589 ("desktop-file-utils" ,desktop-file-utils)
3590 ("gobject-introspection" ,gobject-introspection)
3591 ("intltool" ,intltool)
3592 ("itstool" ,itstool)
3593 ("xmllint" ,libxml2)))
3595 `(("dconf" ,dconf)))
3598 ("gdk-pixbuf" ,gdk-pixbuf)
3601 ("dbus-glib" ,dbus-glib)
3602 ("clutter" ,clutter)
3603 ("clutter-gtk" ,clutter-gtk)
3604 ("clutter-gst" ,clutter-gst)
3606 ("libxxf86vm" ,libxxf86vm)
3607 ("libxtst" ,libxtst)
3608 ("libxrandr" ,libxrandr)
3609 ("libxml2" ,libxml2)
3610 ("libsoup" ,libsoup)
3611 ("libpeas" ,libpeas)
3612 ("librsvg" ,librsvg)
3614 ("gnome-desktop" ,gnome-desktop)
3615 ("gstreamer" ,gstreamer)
3616 ("gst-plugins-base" ,gst-plugins-base)
3617 ("gst-plugins-good" ,gst-plugins-good)
3618 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3619 ("adwaita-icon-theme" ,adwaita-icon-theme)
3620 ;; XXX We use python-2 because libxml2 because itstool (which needs
3621 ;; libxml) currently uses python-2.
3622 ("python" ,python-2)
3623 ("python-pygobject" ,python2-pygobject)
3624 ;; XXX TODO pylint needed for python support
3625 ("totem-pl-parser" ,totem-pl-parser)
3627 ("grilo-plugins" ,grilo-plugins)
3631 `(;; Disable automatic GStreamer plugin installation via PackageKit and
3633 #:configure-flags '("--disable-easy-codec-installation"
3635 ;; Do not build .a files for the plugins, it's
3636 ;; completely useless. This saves 2 MiB.
3640 (modify-phases %standard-phases
3642 'install 'wrap-totem
3643 (lambda* (#:key inputs outputs #:allow-other-keys)
3644 (let ((out (assoc-ref outputs "out"))
3645 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3646 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3647 (wrap-program (string-append out "/bin/totem")
3648 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3649 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3651 (home-page "https://wiki.gnome.org/Apps/Videos")
3652 (synopsis "Simple media player for GNOME based on GStreamer")
3653 (description "Totem is a simple yet featureful media player for GNOME
3654 which can read a large number of file formats.")
3655 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3656 ;; to be used and distributed together with GStreamer and Totem. See
3657 ;; file://COPYING in the source distribution for details.
3658 (license license:gpl2+)))
3660 (define-public rhythmbox
3666 (uri (string-append "mirror://gnome/sources/" name "/"
3667 (version-major+minor version) "/"
3668 name "-" version ".tar.xz"))
3671 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
3672 (build-system glib-or-gtk-build-system)
3675 (list "--enable-lirc"
3682 (modify-phases %standard-phases
3684 'install 'wrap-rhythmbox
3685 (lambda* (#:key inputs outputs #:allow-other-keys)
3686 (let ((out (assoc-ref outputs "out"))
3687 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3688 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3689 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3690 (python-path (getenv "PYTHONPATH")))
3691 (wrap-program (string-append out "/bin/rhythmbox")
3692 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3693 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3694 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3695 `("PYTHONPATH" ":" prefix (,python-path))))
3698 `(("dconf" ,dconf)))
3700 `(("itstool" ,itstool)
3701 ("intltool" ,intltool)
3702 ("glib" ,glib "bin")
3703 ("gobject-introspection" ,gobject-introspection)
3704 ("desktop-file-utils" ,desktop-file-utils)
3705 ("pkg-config" ,pkg-config)
3706 ("xmllint" ,libxml2)))
3708 `(("json-glib" ,json-glib)
3710 ("gnome-desktop" ,gnome-desktop)
3712 ("python-pygobject" ,python2-pygobject)
3716 ("adwaita-icon-theme" ,adwaita-icon-theme)
3718 ("grilo-plugins" ,grilo-plugins)
3719 ("gstreamer" ,gstreamer)
3720 ("gst-plugins-base" ,gst-plugins-base)
3721 ("gst-plugins-good" ,gst-plugins-good)
3722 ("totem-pl-parser" ,totem-pl-parser)
3723 ("libgudev" ,libgudev)
3724 ;;("libmtp" ,libmtp) FIXME: Not detected
3725 ("libsecret" ,libsecret)
3726 ("libsoup" ,libsoup)
3727 ("libnotify" ,libnotify)
3728 ("libpeas" ,libpeas)
3730 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3731 ;;("clutter" ,clutter)
3732 ;;("clutter-gtk" ,clutter-gtk)
3733 ;;("clutter-gst" ,clutter-gst)
3734 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3741 ("brasero" ,brasero)))
3742 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3743 (synopsis "Music player for GNOME")
3744 (description "Rhythmbox is a music playing application for GNOME. It
3745 supports playlists, song ratings, and any codecs installed through gstreamer.")
3746 (license license:gpl2+)))
3754 (uri (string-append "mirror://gnome/sources/" name "/"
3755 (version-major+minor version) "/"
3756 name "-" version ".tar.xz"))
3759 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
3760 (build-system glib-or-gtk-build-system)
3763 (modify-phases %standard-phases
3766 (lambda* (#:key outputs #:allow-other-keys)
3767 (let ((out (assoc-ref outputs "out"))
3768 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3769 (wrap-program (string-append out "/bin/eog")
3770 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3773 `(("dconf" ,dconf)))
3775 `(("intltool" ,intltool)
3776 ("itstool" ,itstool)
3777 ("glib" ,glib "bin")
3778 ("gobject-introspection" ,gobject-introspection)
3779 ("pkg-config" ,pkg-config)
3780 ("xmllint" ,libxml2)))
3782 `(("gnome-desktop" ,gnome-desktop)
3783 ("shared-mime-info" ,shared-mime-info)
3784 ("adwaita-icon-theme" ,adwaita-icon-theme)
3787 ("libexif" ,libexif)
3788 ("libpeas" ,libpeas)
3789 ("libjpeg" ,libjpeg)
3790 ("librsvg" ,librsvg)
3791 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3793 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3794 (synopsis "GNOME image viewer")
3795 (description "Eye of GNOME is the GNOME image viewer. It
3796 supports image conversion, rotation, and slideshows.")
3797 (license license:gpl2+)))
3799 (define-public eog-plugins
3800 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3801 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3802 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3803 ;; 'XDG_DATA_DIRS' appropriately set.
3805 (name "eog-plugins")
3809 (uri (string-append "mirror://gnome/sources/" name "/"
3810 (version-major+minor version) "/"
3811 name "-" version ".tar.xz"))
3814 "0an04z8v83qa6j950rbwdzf1s86y7zd8h1r4p2x36fwbkk1m617q"))))
3815 (build-system gnu-build-system)
3816 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3817 (synopsis "Extensions for the Eye of GNOME image viewer")
3819 `(("pkg-config" ,pkg-config)
3820 ("gettext" ,gnu-gettext)))
3825 ("libpeas" ,libpeas)
3826 ("libexif" ,libexif)
3827 ("libchamplain" ,libchamplain)))
3829 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3833 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3834 @item @dfn{Map}, which displays a map of where the picture was taken on the
3836 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3839 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3840 ;; long suspicious byte stream that goes to a
3841 ;; ".gresource.eog_postasa_plugin" ELF section.
3842 (license license:gpl2+)))
3844 (define-public libgudev
3850 (uri (string-append "mirror://gnome/sources/" name "/"
3851 version "/" name "-" version ".tar.xz"))
3854 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3855 (build-system gnu-build-system)
3857 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3858 ("gobject-introspection" ,gobject-introspection)
3859 ("pkg-config" ,pkg-config)))
3861 `(("glib" ,glib))) ; required by gudev-1.0.pc
3864 (home-page "https://wiki.gnome.org/Projects/libgudev")
3865 (synopsis "GObject bindings for libudev")
3867 "This library provides GObject bindings for libudev. It was originally
3868 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3869 (license license:lgpl2.1+)))
3877 (uri (string-append "mirror://gnome/sources/" name "/"
3878 (version-major+minor version) "/"
3879 name "-" version ".tar.xz"))
3882 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3883 (build-system gnu-build-system)
3885 '(#:tests? #f)) ; XXX: requiring `pidof'
3887 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3888 ("intltool" ,intltool)
3889 ("pkg-config" ,pkg-config)
3890 ("xsltproc" ,libxslt)))
3893 ("docbook-xml" ,docbook-xml-4.2)
3894 ("docbook-xsl" ,docbook-xsl)
3899 ("libarchive" ,libarchive)
3900 ("libbluray" ,libbluray)
3902 ("libcdio-paranoia" ,libcdio-paranoia)
3903 ("libgcrypt" ,libgcrypt)
3904 ("libgphoto2" ,libgphoto2)
3905 ("libgudev" ,libgudev)
3907 ("libsecret" ,libsecret)
3908 ("libsmbclient" ,samba)
3909 ("libsoup" ,libsoup)
3910 ("libxml2" ,libxml2)
3911 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3913 ("udisks" ,udisks)))
3914 (home-page "https://wiki.gnome.org/gvfs/")
3915 (synopsis "Userspace virtual file system for GIO")
3917 "GVFS is a userspace virtual file system designed to work with the I/O
3918 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3919 to all applications using the GIO API. It also supports exposing the GVFS
3920 mounts to non-GIO applications using FUSE.
3922 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3924 (license license:lgpl2.0+)))
3932 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3934 (string-join (string-split version #\.)
3939 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3940 (build-system gnu-build-system)
3942 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3943 ("gobject-introspection" ,gobject-introspection)
3944 ("pkg-config" ,pkg-config)
3946 ("autoconf" ,autoconf)
3947 ("automake" ,automake)
3948 ("libtool" ,libtool)
3949 ("gtk-doc" ,gtk-doc)))
3951 ;; Both of these are required by gusb.pc.
3953 ("libusb" ,libusb)))
3955 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3957 (modify-phases %standard-phases
3958 (add-after 'unpack 'autogen
3960 (and (zero? (system* "gtkdocize"))
3961 (zero? (system* "autoreconf" "-vif"))))))))
3962 (home-page "https://github.com/hughsie/libgusb")
3963 (synopsis "GLib binding for libusb1")
3965 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3966 asynchronous control, bulk and interrupt transfers with proper cancellation
3967 and integration into a mainloop. This makes it easy to integrate low level
3968 USB transfers with your high-level application or system daemon.")
3969 (license license:lgpl2.1+)))
3971 (define-public simple-scan
3973 (name "simple-scan")
3977 (uri (string-append "https://launchpad.net/simple-scan/"
3978 (version-major+minor version) "/"
3979 version "/+download/simple-scan-"
3983 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
3984 (build-system glib-or-gtk-build-system)
3989 ("gdk-pixbuf" ,gdk-pixbuf)
3991 ("libsane" ,sane-backends)))
3993 `(("gettext" ,gettext-minimal)
3994 ("itstool" ,itstool)
3996 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3997 ("pkg-config" ,pkg-config)
3999 ("xmllint" ,libxml2)))
4001 '(#:configure-flags '("--disable-packagekit")
4003 (modify-phases %standard-phases
4004 (add-after 'unpack 'clean
4006 ;; Remove a left-over reference to PackageKit.
4008 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4010 ;; There are some generated C files erroneously
4011 ;; included in the source distribution, and this
4012 ;; one breaks the build by referring to a
4013 ;; non-existent header (packagekit.h)
4014 (delete-file "src/ui.c"))))))
4015 (home-page "https://launchpad.net/simple-scan")
4016 (synopsis "Document and image scanner")
4017 (description "Simple Scan is an easy-to-use application, designed to let
4018 users connect their scanner and quickly have the image/document in an
4019 appropriate format. Simple Scan is basically a frontend for SANE - which is
4020 the same backend as XSANE uses. This means that all existing scanners will
4021 work and the interface is well tested.")
4022 (license license:gpl3+)))
4024 (define-public eolie
4030 (uri (string-append "https://github.com/gnumdk/eolie/"
4031 "releases/download/"
4032 (version-major+minor version)
4033 "/eolie-" version ".tar.xz"))
4036 "1lb3rd2as12vq24fcf9nmlhggf8vka3kli2i92i8iylwi7nq5n2a"))))
4037 (build-system glib-or-gtk-build-system)
4039 `(#:modules ((guix build glib-or-gtk-build-system)
4043 (modify-phases %standard-phases
4044 (add-after 'wrap 'wrap-more
4045 (lambda* (#:key inputs outputs #:allow-other-keys)
4046 (let* ((out (assoc-ref outputs "out"))
4047 ;; These libraries must be on LD_LIBRARY_PATH.
4048 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4049 "atk" "gtk+" "gsettings-desktop-schemas"
4050 "gobject-introspection"))
4053 (string-append (assoc-ref inputs lib) "/lib"))
4056 (wrap-program (string-append out "/bin/eolie")
4057 `("LD_LIBRARY_PATH" ":" prefix (,path))
4058 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4059 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4062 `(("intltool" ,intltool)
4063 ("itstool" ,itstool)
4064 ("pkg-config" ,pkg-config)))
4066 `(("gobject-introspection" ,gobject-introspection)
4067 ("glib-networking" ,glib-networking)
4070 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4071 ("python" ,python-wrapper)
4072 ("python-pygobject" ,python-pygobject)
4073 ("python-pycairo" ,python-pycairo)
4074 ("libsecret" ,libsecret)
4075 ("gtkspell3" ,gtkspell3)
4076 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4077 ("webkitgtk" ,webkitgtk)))
4078 (home-page "https://github.com/gnumdk/eolie/")
4079 (synopsis "Web browser for GNOME")
4081 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4082 a secret password store, an adblocker, and a modern UI.")
4083 (license license:gpl3+)))
4085 (define-public epiphany
4091 (uri (string-append "mirror://gnome/sources/" name "/"
4092 (version-major+minor version) "/"
4093 name "-" version ".tar.xz"))
4096 "0m51cclpnb7lxk8w526rriyb2bi3aj17fbcvikhkg7qd65v1dxgy"))))
4097 (build-system glib-or-gtk-build-system)
4099 ;; FIXME: tests run under Xvfb, but fail with:
4100 ;; /src/bookmarks/ephy-bookmarks/create:
4101 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4105 #:configure-flags '("CFLAGS=-std=gnu99")))
4107 `(("dconf" ,dconf)))
4109 `(("intltool" ,intltool)
4110 ("itstool" ,itstool)
4111 ("pkg-config" ,pkg-config)
4112 ("xmllint" ,libxml2)))
4116 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4117 ("glib-networking" ,glib-networking)
4118 ("gnome-desktop" ,gnome-desktop)
4119 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4120 ("json-glib" ,json-glib)
4121 ("iso-codes" ,iso-codes)
4122 ("libnotify" ,libnotify)
4123 ("libsecret" ,libsecret)
4124 ("libxslt" ,libxslt)
4126 ("webkitgtk" ,webkitgtk)))
4127 (home-page "https://wiki.gnome.org/Apps/Web")
4128 (synopsis "GNOME web browser")
4130 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4131 principles are simplicity and standards compliance.")
4132 (license license:gpl2+)))
4134 (define-public d-feet
4140 (uri (string-append "mirror://gnome/sources/" name "/"
4141 (version-major+minor version) "/"
4142 name "-" version ".tar.xz"))
4145 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4146 (build-system glib-or-gtk-build-system)
4148 '(#:out-of-source? #f ; tests need to run in the source directory.
4150 (modify-phases %standard-phases
4154 ;; The test suite requires a running X server.
4155 (system "Xvfb :1 &")
4156 (setenv "DISPLAY" ":1")
4157 ;; Don't fail on missing '/etc/machine-id'.
4158 (setenv "DBUS_FATAL_WARNINGS" "0")
4159 ;; tests.py and window.py don't meet E402:
4160 ;; E402 module level import not at top of file
4161 (substitute* "src/tests/Makefile"
4162 (("--ignore=E123") "--ignore=E123,E402"))
4165 'install 'wrap-program
4166 (lambda* (#:key outputs #:allow-other-keys)
4167 (let ((prog (string-append (assoc-ref outputs "out")
4170 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4171 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4174 `(("intltool" ,intltool)
4175 ("itstool" ,itstool)
4176 ("pkg-config" ,pkg-config)
4177 ("python-pep8" ,python-pep8)
4178 ("xmllint" ,libxml2)
4179 ("xorg-server" ,xorg-server)))
4181 `(("gobject-introspection" ,gobject-introspection)
4183 ("python" ,python-wrapper)
4184 ("python-pygobject" ,python-pygobject)))
4185 (home-page "https://wiki.gnome.org/Apps/DFeet")
4186 (synopsis "D-Bus debugger")
4188 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4189 of running programs and invoke methods on those interfaces.")
4190 (license license:gpl2+)))
4192 (define-public yelp-xsl
4198 (uri (string-append "mirror://gnome/sources/" name "/"
4199 (version-major+minor version) "/"
4200 name "-" version ".tar.xz"))
4203 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4204 (build-system gnu-build-system)
4206 `(("intltool" ,intltool)
4207 ("itstool" ,itstool)
4208 ("xmllint" ,libxml2)))
4209 (home-page "https://wiki.gnome.org/Apps/Yelp")
4210 (synopsis "XSL stylesheets for Yelp")
4212 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4213 to format Docbook and Mallard documents.")
4214 (license license:gpl2+)))
4222 (uri (string-append "mirror://gnome/sources/" name "/"
4223 (version-major+minor version) "/"
4224 name "-" version ".tar.xz"))
4227 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4228 (build-system glib-or-gtk-build-system)
4230 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4231 ("intltool" ,intltool)
4232 ("itstool" ,itstool)
4233 ("pkg-config" ,pkg-config)))
4235 `(("dconf" ,dconf)))
4237 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4238 ("libxslt" ,libxslt)
4240 ("webkitgtk" ,webkitgtk)
4241 ("yelp-xsl" ,yelp-xsl)))
4242 (home-page "https://wiki.gnome.org/Apps/Yelp")
4243 (synopsis "GNOME help browser")
4245 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4246 man, info, and HTML documents. It can locate documents according to the
4247 freedesktop.org help system specification.")
4248 (license license:gpl2+)))
4250 (define-public yelp-tools
4256 (uri (string-append "mirror://gnome/sources/" name "/"
4257 (version-major+minor version) "/"
4258 name "-" version ".tar.xz"))
4261 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4262 (build-system gnu-build-system)
4264 `(("pkg-config" ,pkg-config)))
4266 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4267 `(("itstool" ,itstool)
4268 ("xmllint" ,libxml2)
4269 ("xsltproc" ,libxslt)))
4271 `(("yelp-xsl" ,yelp-xsl)))
4272 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4273 (synopsis "Yelp documentation tools")
4275 "Yelp-tools is a collection of scripts and build utilities to help create,
4276 manage, and publish documentation for Yelp and the web. Most of the heavy
4277 lifting is done by packages like yelp-xsl and itstool. This package just
4278 wraps things up in a developer-friendly way.")
4279 (license license:gpl2+)))
4281 (define-public libgee
4287 (uri (string-append "mirror://gnome/sources/" name "/"
4288 (version-major+minor version) "/"
4289 name "-" version ".tar.xz"))
4292 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
4293 (build-system gnu-build-system)
4296 (modify-phases %standard-phases
4297 (add-after 'unpack 'fix-introspection-install-dir
4298 (lambda* (#:key outputs #:allow-other-keys)
4299 (let ((out (assoc-ref outputs "out")))
4300 (substitute* "gee/Makefile.in"
4301 (("@INTROSPECTION_GIRDIR@")
4302 (string-append out "/share/gir-1.0/"))
4303 (("@INTROSPECTION_TYPELIBDIR@")
4304 (string-append out "/lib/girepository-1.0/")))))))))
4306 `(("glib" ,glib "bin")
4307 ("pkg-config" ,pkg-config)))
4310 ("gobject-introspection" ,gobject-introspection)))
4311 (home-page "https://wiki.gnome.org/Projects/Libgee")
4312 (synopsis "GObject collection library")
4314 "Libgee is a utility library providing GObject-based interfaces and
4315 classes for commonly used data structures.")
4316 (license license:lgpl2.1+)))
4318 (define-public gexiv2
4324 (uri (string-append "mirror://gnome/sources/" name "/"
4325 (version-major+minor version) "/"
4326 name "-" version ".tar.xz"))
4329 "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk"))))
4330 (build-system gnu-build-system)
4332 `(("glib" ,glib "bin")
4333 ("pkg-config" ,pkg-config)))
4335 ;; Listed in "Requires" section of gexiv2.pc
4336 `(("exiv2" ,exiv2)))
4339 ("gobject-introspection" ,gobject-introspection)))
4340 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4341 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4343 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4344 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4345 metadata in photo and video files of various formats.")
4346 (license license:gpl2+)))
4348 (define-public shotwell
4354 (uri (string-append "mirror://gnome/sources/" name "/"
4355 (version-major+minor version) "/"
4356 name "-" version ".tar.xz"))
4359 "1r8fd63r7c5n99hwrkzv9jlrk84z4sa15q3h70pydzfjnfqf90zv"))))
4360 (build-system glib-or-gtk-build-system)
4362 `(("dconf" ,dconf)))
4364 `(("pkg-config" ,pkg-config)
4365 ("itstool" ,itstool)
4366 ("gettext" ,gettext-minimal)
4367 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4368 ("itstool" ,itstool)
4371 `(("glib:bin" ,glib "bin")
4372 ("gstreamer" ,gstreamer)
4373 ("gst-plugins-base" ,gst-plugins-base)
4374 ("libgdata" ,libgdata)
4378 ("json-glib" ,json-glib)
4379 ("webkitgtk" ,webkitgtk)
4381 ("libsoup" ,libsoup)
4382 ("libxml2" ,libxml2)
4383 ("libgudev" ,libgudev)
4384 ("libgphoto2" ,libgphoto2)
4386 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4387 (synopsis "Photo manager for GNOME 3")
4389 "Shotwell is a digital photo manager designed for the GNOME desktop
4390 environment. It allows you to import photos from disk or camera, organize
4391 them by keywords and events, view them in full-window or fullscreen mode, and
4392 share them with others via social networking and more.")
4393 (license license:lgpl2.1+)))
4395 (define-public file-roller
4397 (name "file-roller")
4401 (uri (string-append "mirror://gnome/sources/" name "/"
4402 (version-major+minor version) "/"
4403 name "-" version ".tar.xz"))
4406 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
4407 (build-system glib-or-gtk-build-system)
4410 (modify-phases %standard-phases
4411 (add-before 'install 'skip-gtk-update-icon-cache
4413 ;; Don't create 'icon-theme.cache'
4414 (substitute* (find-files "data" "^Makefile$")
4415 (("gtk-update-icon-cache") (which "true")))
4418 `(("intltool" ,intltool)
4419 ("pkg-config" ,pkg-config)))
4420 ;; TODO: Add libnautilus.
4423 ("gdk-pixbuf" ,gdk-pixbuf)
4424 ("json-glib" ,json-glib)
4425 ("libarchive" ,libarchive)
4426 ("libnotify" ,libnotify)
4428 ("itstool" ,itstool)
4429 ("libxml2" ,libxml2)))
4430 (synopsis "Graphical archive manager for GNOME")
4431 (description "File Roller is an archive manager for the GNOME desktop
4432 environment that allows users to view, unpack, and create compressed archives
4433 such as gzip tarballs.")
4434 (home-page "http://fileroller.sourceforge.net/")
4435 (license license:gpl2+)))
4437 (define-public gnome-session
4439 (name "gnome-session")
4443 (uri (string-append "mirror://gnome/sources/" name "/"
4444 (version-major+minor version) "/"
4445 name "-" version ".tar.xz"))
4448 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4451 (modify-phases %standard-phases
4452 (add-before 'configure 'pre-configure
4453 (lambda* (#:key outputs #:allow-other-keys)
4454 ;; Use elogind instead of systemd.
4455 (substitute* "configure"
4456 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4458 (("systemd") "elogind"))
4459 (substitute* "gnome-session/gsm-systemd.c"
4460 (("#include <systemd/sd-login.h>")
4461 "#include <elogind/sd-login.h>"))
4462 ;; Remove uses of the systemd journal.
4463 (substitute* "gnome-session/main.c"
4464 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4465 (substitute* "gnome-session/gsm-manager.c"
4466 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4467 (substitute* "gnome-session/gsm-autostart-app.c"
4468 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4470 (add-after 'install 'wrap-gnome-session
4471 (lambda* (#:key inputs outputs #:allow-other-keys)
4472 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4473 (let ((glib (assoc-ref inputs "glib:bin"))
4474 (out (assoc-ref outputs "out")))
4475 (wrap-program (string-append out "/bin/gnome-session")
4476 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4478 (add-after 'install 'disable-hardware-acceleration-check
4479 (lambda* (#:key outputs #:allow-other-keys)
4480 ;; Do not abort if hardware acceleration is missing. This allows
4481 ;; GNOME to run in QEMU and on low-end devices.
4482 (let ((out (assoc-ref outputs "out")))
4483 (substitute* (string-append out
4484 "/share/xsessions/gnome.desktop")
4486 "gnome-session --disable-acceleration-check"))
4490 '("--enable-elogind")))
4491 (build-system glib-or-gtk-build-system)
4493 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4494 ("pkg-config" ,pkg-config)
4495 ("intltool" ,intltool)
4496 ("xsltproc" ,libxslt)))
4498 `(("elogind" ,elogind)
4499 ("gnome-desktop" ,gnome-desktop)
4500 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4502 ("json-glib" ,json-glib)
4504 ("libxcomposite" ,libxcomposite)
4505 ("libxtst" ,libxtst)
4508 ("xtrans" ,xtrans)))
4509 (synopsis "Session manager for GNOME")
4511 "This package contains the GNOME session manager, as well as a
4512 configuration program to choose applications starting on login.")
4513 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4514 (license license:gpl2+)))
4522 (uri (string-append "mirror://gnome/sources/" name "/"
4523 (version-major+minor version) "/"
4524 name "-" version ".tar.xz"))
4527 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4528 (build-system gnu-build-system)
4531 (modify-phases %standard-phases
4535 ;; The test suite requires a running X server.
4536 (system "Xvfb :1 &")
4537 (setenv "DISPLAY" ":1")
4539 ;; For the missing /etc/machine-id.
4540 (setenv "DBUS_FATAL_WARNINGS" "0")
4542 ;; Our mozjs-38 package does not compile the required Intl API
4543 ;; support for these failing tests.
4544 (substitute* "installed-tests/js/testLocale.js"
4545 ((".*toBeDefined.*") "")
4546 ((".*expect\\(datestr\\).*") ""))
4549 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4550 ("pkg-config" ,pkg-config)
4551 ("xmllint" ,libxml2)
4553 ("dbus-launch" ,dbus)
4554 ("uuidgen" ,util-linux)
4555 ("xvfb" ,xorg-server)))
4557 ;; These are all in the Requires.private field of gjs-1.0.pc.
4559 ("gobject-introspection" ,gobject-introspection)
4560 ("mozjs" ,mozjs-38)))
4563 ("readline" ,readline)))
4564 (synopsis "Javascript bindings for GNOME")
4565 (home-page "https://live.gnome.org/Gjs")
4567 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4568 javascript engine and the GObject introspection framework.")
4569 (license license:gpl2+)))
4571 (define-public gedit
4577 (uri (string-append "mirror://gnome/sources/" name "/"
4578 (version-major+minor version) "/"
4579 name "-" version ".tar.xz"))
4582 "0as9r5zvnyrxh699q6jnd0p9ddqy5qamfbxggpdjzagzixhw6yxa"))))
4583 (build-system glib-or-gtk-build-system)
4586 (modify-phases %standard-phases
4588 'install 'wrap-gedit
4589 (lambda* (#:key inputs outputs #:allow-other-keys)
4590 (let ((out (assoc-ref outputs "out"))
4591 (gtksourceview (assoc-ref inputs "gtksourceview"))
4592 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4593 (python-path (getenv "PYTHONPATH")))
4594 (wrap-program (string-append out "/bin/gedit")
4596 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4597 `("PYTHONPATH" ":" prefix (,python-path))
4598 ;; For language-specs.
4599 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4603 `(("dconf" ,dconf)))
4605 `(("intltool" ,intltool)
4606 ("itstool" ,itstool)
4607 ("gobject-introspection" ,gobject-introspection)
4608 ("pkg-config" ,pkg-config)))
4613 ("gtksourceview" ,gtksourceview)
4614 ("libpeas" ,libpeas)
4615 ("libxml2" ,libxml2)
4616 ("iso-codes" ,iso-codes)
4617 ("python-pygobject" ,python-pygobject)
4619 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4622 ("adwaita-icon-theme" ,adwaita-icon-theme)
4623 ("libsoup" ,libsoup)
4624 ("gnome-desktop" ,gnome-desktop)))
4625 (home-page "https://wiki.gnome.org/Apps/Gedit")
4626 (synopsis "GNOME text editor")
4627 (description "While aiming at simplicity and ease of use, gedit is a
4628 powerful general purpose text editor.")
4629 (license license:gpl2+)))
4631 (define-public zenity
4637 (uri (string-append "mirror://gnome/sources/" name "/"
4638 (version-major+minor version) "/"
4639 name "-" version ".tar.xz"))
4642 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4643 (build-system gnu-build-system)
4645 `(("gettext" ,gettext-minimal)
4646 ("itstool" ,itstool)
4647 ("pkg-config" ,pkg-config)))
4649 `(("libnotify" ,libnotify)
4650 ("webkitgtk" ,webkitgtk)))
4651 (synopsis "Display graphical dialog boxes from shell scripts")
4652 (home-page "https://www.gnome.org")
4654 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4655 to display dialog boxes from the commandline and shell scripts.")
4656 (license license:lgpl2.0+)))
4658 (define-public mutter
4664 (uri (string-append "mirror://gnome/sources/" name "/"
4665 (version-major+minor version) "/"
4666 name "-" version ".tar.xz"))
4669 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4670 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4671 ;; versions of cogl and clutter. As a result, many of the inputs,
4672 ;; propagated-inputs, and configure flags used in cogl and clutter are
4673 ;; needed here as well.
4674 (build-system gnu-build-system)
4677 ;; XXX: build fails with [-Werror]:
4678 ;; backends/meta-cursor-renderer.c:112:5: error:
4679 ;; implicit declaration of function ?roundf?
4680 (list "--enable-compile-warnings=minimum"
4682 "--enable-native-backend"
4684 ;; The following flags are needed for the bundled clutter
4685 "--enable-x11-backend=yes"
4687 ;; the remaining flags are needed for the bundled cogl
4689 (string-append "--with-gl-libname="
4690 (assoc-ref %build-inputs "mesa")
4693 (modify-phases %standard-phases
4694 ;; Replace references to systemd libraries to elogind references.
4695 (add-before 'configure 'use-elogind
4697 (substitute* (list "configure"
4698 "src/backends/native/meta-launcher.c"
4700 (("systemd") "elogind"))
4703 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4704 ("gobject-introspection" ,gobject-introspection)
4705 ("intltool" ,intltool)
4706 ("pkg-config" ,pkg-config)
4708 ("autoconf" ,autoconf)
4709 ("automake" ,automake)
4710 ("libtool" ,libtool)))
4712 `(;; libmutter.pc refers to these:
4713 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4715 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4718 ("gdk-pixbuf" ,gdk-pixbuf)
4722 ("json-glib" ,json-glib)
4723 ("libinput" ,libinput)
4725 ("libxcomposite" ,libxcomposite)
4726 ("libxdamage" ,libxdamage)
4727 ("libxext" ,libxext)
4728 ("libxfixes" ,libxfixes)
4729 ("libxkbcommon" ,libxkbcommon)
4730 ("libxrandr" ,libxrandr)
4734 ("xinput" ,xinput)))
4736 `(("elogind" ,elogind)
4737 ("gnome-desktop" ,gnome-desktop)
4738 ("libcanberra-gtk" ,libcanberra)
4739 ("libgudev" ,libgudev)
4742 ("libxkbfile" ,libxkbfile)
4743 ("libxrandr" ,libxrandr)
4744 ("libxtst" ,libxtst)
4745 ("startup-notification" ,startup-notification)
4746 ("upower-glib" ,upower)
4747 ("xkeyboard-config" ,xkeyboard-config)
4748 ("zenity" ,zenity)))
4749 (synopsis "Window and compositing manager")
4750 (home-page "https://www.gnome.org")
4752 "Mutter is a window and compositing manager that displays and manages your
4753 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4754 Clutter toolkit with solid window-management logic inherited from the Metacity
4756 (license license:gpl2+)))
4758 (define-public gnome-online-accounts
4760 (name "gnome-online-accounts")
4764 (uri (string-append "mirror://gnome/sources/" name "/"
4765 (version-major+minor version) "/"
4766 name "-" version ".tar.xz"))
4769 "1fmgywfcvlb5sa0slxxlg80gafiaal8vnq6h5lcybqa12lnxa2mp"))))
4770 (build-system glib-or-gtk-build-system)
4772 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4773 ("gobject-introspection" ,gobject-introspection)
4774 ("intltool" ,intltool)
4775 ("pkg-config" ,pkg-config)
4776 ("xsltproc" ,libxslt)))
4778 `(("glib" ,glib) ; required by goa-1.0.pc
4779 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4781 `(("docbook-xsl" ,docbook-xsl)
4782 ("json-glib" ,json-glib)
4783 ("libsecret" ,libsecret)
4785 ("telepathy-glib" ,telepathy-glib)
4786 ("webkitgtk" ,webkitgtk)))
4787 (synopsis "Single sign-on framework for GNOME")
4788 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4790 "GNOME Online Accounts provides interfaces so that applications and
4791 libraries in GNOME can access the user's online accounts. It has providers for
4792 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4793 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4794 (license license:lgpl2.0+)))
4796 (define-public evolution-data-server
4798 (name "evolution-data-server")
4802 (uri (string-append "mirror://gnome/sources/" name "/"
4803 (version-major+minor version) "/"
4804 name "-" version ".tar.xz"))
4807 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
4808 (build-system cmake-build-system)
4810 '(;; XXX FIXME: 11/85 tests are failing.
4813 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4814 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4815 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4816 "-DENABLE_VALA_BINDINGS=ON"
4817 "-DENABLE_INTROSPECTION=ON") ;required for Vala bindings
4819 (modify-phases %standard-phases
4820 (add-after 'unpack 'patch-paths
4822 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4823 (("/bin/rm") (which "rm")))
4826 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4827 ("gobject-introspection" ,gobject-introspection)
4829 ("intltool" ,intltool)
4830 ("pkg-config" ,pkg-config)
4832 ("python" ,python-wrapper)))
4834 ;; These are all in the Requires field of .pc files.
4836 ("libical" ,libical)
4837 ("libsecret" ,libsecret)
4838 ("libsoup" ,libsoup)
4840 ("sqlite" ,sqlite)))
4844 ("gnome-online-accounts" ,gnome-online-accounts)
4845 ("libgweather" ,libgweather)
4846 ("mit-krb5" ,mit-krb5)
4847 ("openldap" ,openldap)))
4848 (synopsis "Store address books and calendars")
4849 (home-page "https://wiki.gnome.org/Apps/Evolution")
4851 "This package provides a unified backend for programs that work with
4852 contacts, tasks, and calendar information. It was originally developed for
4853 Evolution (hence the name), but is now used by other packages as well.")
4854 (license license:lgpl2.0)))
4856 (define-public caribou
4862 (uri (string-append "mirror://gnome/sources/" name "/"
4863 (version-major+minor version) "/"
4864 name "-" version ".tar.xz"))
4867 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4868 (build-system glib-or-gtk-build-system)
4871 (modify-phases %standard-phases
4874 (lambda* (#:key outputs #:allow-other-keys)
4875 (let ((out (assoc-ref outputs "out")))
4876 ;; Use absolute shared library path in Caribou-1.0.typelib.
4877 (substitute* "libcaribou/Makefile"
4878 (("--shared-library=libcaribou.so")
4879 (string-append "--shared-library="
4880 out "/lib/libcaribou.so")))
4882 (add-after 'install 'wrap-programs
4883 (lambda* (#:key outputs #:allow-other-keys)
4884 (let* ((out (assoc-ref outputs "out"))
4885 (python-path (getenv "PYTHONPATH"))
4886 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4890 `("PYTHONPATH" ":" prefix (,python-path))
4891 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4892 (list (string-append out "/bin/caribou-preferences")
4893 (string-append out "/libexec/antler-keyboard"))))
4896 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4897 ("gobject-introspection" ,gobject-introspection)
4898 ("intltool" ,intltool)
4899 ("pkg-config" ,pkg-config)
4900 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4902 ("xsltproc" ,libxslt)))
4904 ;; caribou-1.0.pc refers to all these.
4905 `(("libgee" ,libgee)
4906 ("libxklavier" ,libxklavier)
4907 ("libxtst" ,libxtst)
4910 `(("clutter" ,clutter)
4913 ("python-pygobject" ,python2-pygobject)))
4914 (synopsis "Text entry and UI navigation application")
4915 (home-page "https://wiki.gnome.org/Projects/Caribou")
4917 "Caribou is an input assistive technology intended for switch and pointer
4919 (license license:lgpl2.1)))
4921 (define-public network-manager
4923 (name "network-manager")
4927 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4928 (version-major+minor version) "/"
4929 "NetworkManager-" version ".tar.xz"))
4932 "17pn7kzilyl0qk525gp9xnbz4x0ssrdmgk1lvw95pyfd6rm5qnps"))
4935 (use-modules (guix build utils))
4936 (substitute* "configure"
4937 ;; Replace libsystemd-login with libelogind.
4938 (("libsystemd-login") "libelogind"))
4939 (substitute* "src/devices/wwan/nm-modem-manager.c"
4940 (("systemd") "elogind"))
4941 (substitute* "src/nm-session-monitor.c"
4942 (("systemd") "elogind"))
4943 (substitute* "./src/nm-logging.c"
4944 (("systemd") "elogind"))))))
4945 (build-system gnu-build-system)
4947 "doc")) ; 8 MiB of gtk-doc HTML
4950 (let ((out (assoc-ref %outputs "out"))
4951 (doc (assoc-ref %outputs "doc"))
4952 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4954 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4955 "--with-consolekit=no"
4956 "--with-crypto=gnutls"
4957 "--disable-config-plugin-ibft"
4959 "--localstatedir=/var"
4960 (string-append "--with-udev-dir="
4962 (string-append "--with-dbus-sys-dir="
4963 out "/etc/dbus-1/system.d")
4964 (string-append "--with-html-dir="
4965 doc "/share/gtk-doc/html")
4966 (string-append "--with-dhclient=" dhclient)))
4968 (modify-phases %standard-phases
4969 (add-before 'configure 'pre-configure
4971 ;; These tests try to test aspects of network-manager's
4972 ;; functionality within restricted containers, but they don't
4973 ;; cope with being already in the Guix build jail as that jail
4974 ;; lacks some features that they would like to proxy over (like
4976 (substitute* '("Makefile.in")
4977 (("src/platform/tests/test-address-linux") " ")
4978 (("src/platform/tests/test-cleanup-linux") " ")
4979 (("src/platform/tests/test-link-linux") " ")
4980 (("src/platform/tests/test-route-linux") " ")
4981 (("src/devices/tests/test-arping") " ")
4982 (("src/devices/tests/test-lldp") " ")
4983 (("src/tests/test-route-manager-linux") " "))
4985 (add-before 'check 'pre-check
4987 ;; For the missing /etc/machine-id.
4988 (setenv "DBUS_FATAL_WARNINGS" "0")
4992 (zero? (system* "make"
4996 "nmstatedir=/tmp/nm"
5001 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5002 ("gobject-introspection" ,gobject-introspection)
5003 ("docbook-xsl" ,docbook-xsl)
5004 ("intltool" ,intltool)
5005 ("libxslt" ,libxslt)
5006 ("libxml2" ,libxml2)
5007 ("pkg-config" ,pkg-config)
5009 ("python" ,python-wrapper)
5010 ("python-dbus" ,python-dbus)
5011 ("python-pygobject" ,python-pygobject)))
5014 ("cyrus-sasl" ,cyrus-sasl)
5015 ("dbus-glib" ,dbus-glib)
5016 ("dnsmasq" ,dnsmasq)
5019 ("iptables" ,iptables)
5020 ("isc-dhcp" ,isc-dhcp)
5021 ("jansson" ,jansson)
5022 ("libgcrypt" ,libgcrypt)
5023 ("libgudev" ,libgudev)
5026 ("libsoup" ,libsoup)
5027 ("modem-manager" ,modem-manager)
5028 ("newt" ,newt) ;for the 'nmtui' console interface
5031 ("readline" ,readline)
5032 ("util-linux" ,util-linux)
5033 ("elogind" ,elogind)))
5034 (synopsis "Network connection manager")
5035 (home-page "https://www.gnome.org/projects/NetworkManager/")
5037 "NetworkManager is a system network service that manages your network
5038 devices and connections, attempting to keep active network connectivity when
5039 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5040 devices, and provides VPN integration with a variety of different VPN
5042 (license license:gpl2+)
5043 (properties '((upstream-name . "NetworkManager")))))
5045 (define-public mobile-broadband-provider-info
5047 (name "mobile-broadband-provider-info")
5048 (version "20151214")
5052 "mirror://gnome/sources/"
5053 "mobile-broadband-provider-info/" version "/"
5054 "mobile-broadband-provider-info-" version ".tar.xz"))
5057 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
5058 (build-system gnu-build-system)
5060 `(#:tests? #f)) ; No tests
5061 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5062 (synopsis "Database of broadband connection configuration")
5063 (description "Database of broadband connection configuration.")
5064 (license license:public-domain)))
5066 (define-public network-manager-applet
5068 (name "network-manager-applet")
5072 (uri (string-append "mirror://gnome/sources/" name "/"
5073 (version-major+minor version) "/"
5074 name "-" version ".tar.xz"))
5077 "09f9hjpn9nkhw57mk6pi7q1bq3lhf5hvmwas0fknscssak7yjmry"))))
5078 (build-system glib-or-gtk-build-system)
5079 (arguments '(#:configure-flags '("--disable-migration")))
5081 `(("intltool" ,intltool)
5082 ("gobject-introspection" ,gobject-introspection)
5083 ("pkg-config" ,pkg-config)))
5085 ;; libnm-gtk.pc refers to all these.
5086 `(("dbus-glib" ,dbus-glib)
5088 ("network-manager" ,network-manager)))
5090 `(("iso-codes" ,iso-codes)
5091 ("libgudev" ,libgudev)
5092 ("libnotify" ,libnotify)
5093 ("libsecret" ,libsecret)
5094 ("libselinux" ,libselinux)
5095 ("jansson" ,jansson) ; for team support
5096 ("modem-manager" ,modem-manager)))
5097 (synopsis "Applet for managing network connections")
5098 (home-page "https://www.gnome.org/projects/NetworkManager/")
5100 "This package contains a systray applet for NetworkManager. It displays
5101 the available networks and allows users to easily switch between them.")
5102 (license license:gpl2+)))
5104 (define-public libxml++
5110 (uri (string-append "mirror://gnome/sources/" name "/"
5111 (version-major+minor version) "/"
5112 name "-" version ".tar.xz"))
5115 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5116 (build-system gnu-build-system)
5117 ;; libxml++-3.0.pc refers to all these.
5119 `(("libxml2" ,libxml2)
5120 ("glibmm" ,glibmm)))
5123 ("pkg-config" ,pkg-config)))
5124 (home-page "http://libxmlplusplus.sourceforge.net/")
5125 (synopsis "C++ wrapper for XML parser library libxml2")
5127 "This package provides a C++ wrapper for the XML parser library
5129 (license license:lgpl2.1+)))
5131 (define-public libxml++-2
5138 (uri (string-append "mirror://gnome/sources/" name "/"
5139 (version-major+minor version) "/"
5140 name "-" version ".tar.xz"))
5143 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5151 (uri (string-append "mirror://gnome/sources/" name "/"
5152 (version-major+minor version) "/"
5153 name "-" version ".tar.xz"))
5156 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
5157 (build-system glib-or-gtk-build-system)
5160 `("--without-plymouth"
5161 "--disable-systemd-journal"
5162 "--localstatedir=/var"
5163 ,(string-append "--with-default-path="
5164 (string-join '("/run/setuid-programs"
5165 "/run/current-system/profile/bin"
5166 "/run/current-system/profile/sbin")
5168 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5169 ;; XDG_DATA_DIRS so that it finds its schemas.
5170 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5172 (modify-phases %standard-phases
5174 'configure 'pre-configure
5176 ;; We don't have <systemd/sd-daemon.h>.
5177 (substitute* '("common/gdm-log.c"
5178 "daemon/gdm-server.c"
5179 "daemon/gdm-session-worker.c"
5180 "daemon/gdm-session-worker-job.c")
5181 (("#include <systemd/sd-daemon\\.h>") ""))
5182 ;; Use elogind for sd-login.
5183 (substitute* '("common/gdm-common.c"
5184 "daemon/gdm-manager.c"
5185 "libgdm/gdm-user-switching.c")
5186 (("#include <systemd/sd-login\\.h>")
5187 "#include <elogind/sd-login.h>"))
5188 ;; Check for elogind.
5189 (substitute* '("configure")
5192 ;; Look for system-installed sessions in
5193 ;; /run/current-system/profile/share.
5194 (substitute* '("libgdm/gdm-sessions.c"
5195 "daemon/gdm-session.c"
5196 "daemon/gdm-display.c"
5197 "daemon/gdm-launch-environment.c")
5199 "\"/run/current-system/profile/share/x")
5200 (("DATADIR \"/wayland")
5201 "\"/run/current-system/profile/share/wayland")
5202 (("DATADIR \"/gnome")
5203 "\"/run/current-system/profile/share/gnome"))
5204 (substitute* '("daemon/gdm-session.c")
5205 (("set_up_session_environment \\(self\\);")
5207 "set_up_session_environment (self);\n"
5208 ;; Propagate GDM_X_SERVER environment variable (which is set
5209 ;; by the GDM service, as it's a function of what X modules
5210 ;; the user decides to have available) down to worker
5212 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5213 " g_getenv (\"GDM_X_SERVER\"));\n"
5214 ;; FIXME: Really glib should be declaring XDG_CONFIG_DIRS as a
5215 ;; variable, but it doesn't do that right now. Anyway
5216 ;; /run/current-system/profile/share/gnome-session/sessions/gnome.desktop
5217 ;; requires that a number of .desktop files be present, and
5218 ;; these special .desktop files are in $XDG_CONFIG_DIRS (which
5219 ;; defaults to /etc/xdg if it's not set). Here we need to
5220 ;; provide a value such that the GNOME session's requirements
5221 ;; are met (provided GNOME is installed of course).
5222 "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n"
5223 " \"/run/current-system/profile/etc/xdg\");\n"
5225 ;; Look for custom GDM conf in /run/current-system.
5226 (substitute* '("common/gdm-settings-backend.c")
5227 (("GDM_CUSTOM_CONF")
5228 "/run/current-system/etc/gdm/custom.conf"))
5229 ;; Use service-supplied path to X.
5230 (substitute* '("daemon/gdm-server.c")
5231 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5232 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5233 (substitute* '("daemon/gdm-x-session.c")
5235 "g_getenv (\"GDM_X_SERVER\")"))
5239 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5240 ("gobject-introspection" ,gobject-introspection)
5241 ("intltool" ,intltool)
5242 ("itstool" ,itstool)
5243 ("pkg-config" ,pkg-config)
5244 ("xmllint" ,libxml2)))
5246 `(("accountsservice" ,accountsservice)
5247 ("check" ,check) ; for testing
5248 ("elogind" ,elogind)
5250 ("iso-codes" ,iso-codes)
5251 ("libcanberra" ,libcanberra)
5252 ("linux-pam" ,linux-pam)))
5253 (synopsis "Display manager for GNOME")
5254 (home-page "https://wiki.gnome.org/Projects/GDM/")
5256 "GNOME Display Manager is a system service that is responsible for
5257 providing graphical log-ins and managing local and remote displays.")
5258 (license license:gpl2+)))
5260 (define-public libgtop
5266 (uri (string-append "mirror://gnome/sources/" name "/"
5267 (version-major+minor version) "/"
5268 name "-" version ".tar.xz"))
5271 "0ax17c7nplghxgsf8zl92nmhkbnggj62wwzl7nq00aqb2m6f7gqk"))))
5272 (build-system gnu-build-system)
5274 `(("gobject-introspection" ,gobject-introspection)
5275 ("intltool" ,intltool)
5277 ("pkg-config" ,pkg-config)))
5279 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5280 (synopsis "Portable system access library")
5281 (home-page "https://www.gnome.org/")
5283 "LibGTop is a library to get system specific data such as CPU and memory
5284 usage and information about running processes.")
5285 (license license:gpl2+)))
5287 (define-public gnome-bluetooth
5289 (name "gnome-bluetooth")
5293 (uri (string-append "mirror://gnome/sources/" name "/"
5294 (version-major+minor version) "/"
5295 name "-" version ".tar.xz"))
5298 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5299 (build-system glib-or-gtk-build-system)
5301 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5302 ("gobject-introspection" ,gobject-introspection)
5303 ("intltool" ,intltool)
5304 ("pkg-config" ,pkg-config)
5305 ("xmllint" ,libxml2)))
5307 ;; gnome-bluetooth-1.0.pc refers to all these.
5311 `(("libcanberra" ,libcanberra)
5312 ("libnotify" ,libnotify)))
5313 (synopsis "GNOME Bluetooth subsystem")
5314 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5316 "This package contains tools for managing and manipulating Bluetooth
5317 devices using the GNOME desktop.")
5318 (license license:lgpl2.1+)))
5320 (define-public gnome-control-center
5322 (name "gnome-control-center")
5326 (uri (string-append "mirror://gnome/sources/" name "/"
5327 (version-major+minor version) "/"
5328 name "-" version ".tar.xz"))
5331 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5332 (build-system glib-or-gtk-build-system)
5335 (modify-phases %standard-phases
5336 (add-before 'configure 'patch-paths
5337 (lambda* (#:key inputs #:allow-other-keys)
5338 (let ((libc (assoc-ref inputs "libc"))
5339 (tzdata (assoc-ref inputs "tzdata")))
5340 (substitute* "panels/datetime/tz.h"
5341 (("/usr/share/zoneinfo/zone.tab")
5342 (string-append tzdata "/share/zoneinfo/zone.tab")))
5343 (substitute* "panels/datetime/test-endianess.c"
5344 (("/usr/share/locale")
5345 (string-append libc "/share/locale")))
5348 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5349 ("intltool" ,intltool)
5350 ("pkg-config" ,pkg-config)
5351 ("xsltproc" ,libxslt)))
5353 `(("accountsservice" ,accountsservice)
5354 ("clutter-gtk" ,clutter-gtk)
5355 ("colord-gtk" ,colord-gtk)
5358 ("docbook-xsl" ,docbook-xsl)
5359 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5360 ("gnome-bluetooth" ,gnome-bluetooth)
5361 ("gnome-desktop" ,gnome-desktop)
5362 ("gnome-online-accounts" ,gnome-online-accounts)
5363 ("gnome-settings-daemon" ,gnome-settings-daemon)
5366 ("libcanberra" ,libcanberra)
5367 ("libgudev" ,libgudev)
5368 ("libgtop" ,libgtop)
5369 ("libpwquality" ,libpwquality)
5370 ("libsoup" ,libsoup)
5371 ("libxml2" ,libxml2)
5372 ("libwacom" ,libwacom)
5374 ("mit-krb5" ,mit-krb5)
5375 ("modem-manager" ,modem-manager)
5376 ("network-manager-applet" ,network-manager-applet)
5378 ("pulseaudio" ,pulseaudio)
5379 ("smbclient" ,samba)
5381 ("upower" ,upower)))
5382 (synopsis "Utilities to configure the GNOME desktop")
5383 (home-page "https://www.gnome.org/")
5385 "This package contains configuration applets for the GNOME desktop,
5386 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5387 properties, sound setup, desktop theme and background, user interface
5388 properties, screen resolution, and other GNOME parameters.")
5389 (license license:gpl2+)))
5391 (define-public gnome-shell
5393 (name "gnome-shell")
5397 (uri (string-append "mirror://gnome/sources/" name "/"
5398 (version-major+minor version) "/"
5399 name "-" version ".tar.xz"))
5402 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
5403 (build-system glib-or-gtk-build-system)
5406 (modify-phases %standard-phases
5408 (lambda* (#:key outputs #:allow-other-keys)
5409 (let* ((out (assoc-ref outputs "out"))
5410 (keysdir (string-append
5411 out "/share/gnome-control-center/keybindings")))
5412 (zero? (system* "make"
5413 (string-append "keysdir=" keysdir)
5416 'install 'wrap-programs
5417 (lambda* (#:key outputs #:allow-other-keys)
5418 (let ((out (assoc-ref outputs "out"))
5419 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5420 (python-path (getenv "PYTHONPATH")))
5421 (wrap-program (string-append out "/bin/gnome-shell")
5422 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5425 (wrap-program (string-append out "/bin/" prog)
5426 `("PYTHONPATH" ":" prefix (,python-path))
5427 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5428 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5431 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5432 ("gobject-introspection" ,gobject-introspection)
5433 ("intltool" ,intltool)
5434 ("pkg-config" ,pkg-config)
5436 ("xsltproc" ,libxslt)))
5438 `(("accountsservice" ,accountsservice)
5439 ("caribou" ,caribou)
5440 ("docbook-xsl" ,docbook-xsl)
5441 ("evolution-data-server" ,evolution-data-server)
5445 ("gnome-bluetooth" ,gnome-bluetooth)
5446 ("gnome-control-center" ,gnome-control-center)
5447 ("gnome-desktop" ,gnome-desktop)
5448 ("gnome-settings-daemon" ,gnome-settings-daemon)
5449 ("gst-plugins-base" ,gst-plugins-base)
5451 ("libcanberra" ,libcanberra)
5452 ("libcroco" ,libcroco)
5453 ("libgweather" ,libgweather)
5454 ("libsoup" ,libsoup)
5455 ("mesa-headers" ,mesa-headers)
5457 ("network-manager-applet" ,network-manager-applet)
5459 ("pulseaudio" ,pulseaudio)
5460 ("python-pygobject" ,python-pygobject)
5461 ("startup-notification" ,startup-notification)
5462 ("telepathy-logger" ,telepathy-logger)
5464 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5465 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5466 ("librsvg" ,librsvg)
5467 ("geoclue" ,geoclue)
5468 ;; XXX: required by libgjs.la.
5469 ("readline" ,readline)))
5470 (synopsis "Desktop shell for GNOME")
5471 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5473 "GNOME Shell provides core user interface functions for the GNOME desktop,
5474 like switching to windows and launching applications.")
5475 (license license:gpl2+)))
5477 (define-public gtk-vnc
5484 (uri (string-append "mirror://gnome/sources/" name "/"
5485 (version-major+minor version) "/"
5486 name "-" version ".tar.xz"))
5489 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5490 (build-system gnu-build-system)
5492 '(#:configure-flags '("--with-gtk=3.0")))
5494 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5496 `(("cyrus-sasl" ,cyrus-sasl)
5498 ("libgcrypt" ,libgcrypt)
5499 ("pulseaudio" ,pulseaudio)))
5501 `(("glib:bin" ,glib "bin")
5502 ("gobject-introspection" ,gobject-introspection)
5503 ("intltool" ,intltool)
5504 ("pkg-config" ,pkg-config)
5506 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5507 (synopsis "VNC viewer widget for GTK+")
5509 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5510 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5511 GTK-VNC implements client side RFB protocol and authentication extensions such
5512 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5513 (license license:lgpl2.1+)))
5515 (define-public gnome-autoar
5517 (name "gnome-autoar")
5521 (uri (string-append "mirror://gnome/sources/" name "/"
5522 (version-major+minor version) "/"
5523 name "-" version ".tar.xz"))
5526 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
5527 (build-system glib-or-gtk-build-system)
5529 `(("gnome-common" ,gnome-common)
5530 ("gobject-introspection" ,gobject-introspection)
5531 ("pkg-config" ,pkg-config)))
5533 `(("libarchive" ,libarchive))) ; XXX document why
5536 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5537 (synopsis "Archives integration support for GNOME")
5538 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5540 "GNOME Autoar is a library which makes creating and extracting archives
5541 easy, safe, and automatic.")
5542 (license license:lgpl2.1+)))
5544 (define-public tracker
5550 (uri (string-append "mirror://gnome/sources/" name "/"
5551 (version-major+minor version) "/"
5552 name "-" version ".tar.xz"))
5555 "1zdzh8l5ahi906i40i4pqw2cs1hwrl6l9a7fp344a3idk3pl5szb"))))
5556 (build-system glib-or-gtk-build-system)
5558 `(("gnome-common" ,gnome-common)
5559 ("gobject-introspection" ,gobject-introspection)
5560 ("intltool" ,intltool)
5561 ("pkg-config" ,pkg-config)
5566 ("gstreamer" ,gstreamer)
5567 ("gst-plugins-base" ,gst-plugins-base)
5569 ("nettle" ,nettle) ; XXX why is this needed?
5570 ("poppler" ,poppler)
5572 ("libexif" ,libexif)
5574 ("libtiff" ,libtiff)
5575 ("libvorbis" ,libvorbis)
5577 ("totem-pl-parser" ,totem-pl-parser)
5580 ("libxml2" ,libxml2)
5582 ("libunistring" ,libunistring)
5584 ("json-glib" ,json-glib)
5585 ("openjpeg" ,openjpeg-1)
5586 ("libosinfo" ,libosinfo)
5588 ("libseccomp" ,libseccomp)
5589 ("libsoup" ,libsoup)
5590 ("libuuid" ,util-linux)))
5591 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5592 (synopsis "Metadata database, indexer and search tool")
5593 (home-page "https://wiki.gnome.org/Projects/Tracker")
5595 "Tracker is an advanced framework for first class objects with associated
5596 metadata and tags. It provides a one stop solution for all metadata, tags,
5597 shared object databases, search tools and indexing.")
5598 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5599 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5600 (license (list license:gpl2+
5602 license:lgpl2.0+))))
5604 (define-public nautilus
5607 (version "3.24.2.1")
5610 (uri (string-append "mirror://gnome/sources/" name "/"
5611 (version-major+minor version) "/"
5612 name "-" version ".tar.xz"))
5615 "1cv138z04qx0fh1a2z2hvxy4p1x15vdv5gmkx5f3hb6c3w2rsz9m"))))
5616 (build-system glib-or-gtk-build-system)
5619 '("--disable-selinux") ; XXX: not packaged
5620 ;; XXX: FAIL: check-nautilus
5621 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5624 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5625 ("gobject-introspection" ,gobject-introspection)
5626 ("intltool" ,intltool)
5627 ("pkg-config" ,pkg-config)))
5632 ("gnome-desktop" ,gnome-desktop)
5633 ("gnome-autoar" ,gnome-autoar)
5634 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5635 ("tracker" ,tracker)
5636 ;; XXX: gtk+ is required by libnautilus-extension.pc
5638 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5640 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5642 ("libexif" ,libexif)
5643 ("libxml2" ,libxml2)))
5644 (synopsis "File manager for GNOME")
5645 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5647 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5648 design and behaviour, giving the user a simple way to navigate and manage its
5650 (license license:gpl2+)))
5652 (define-public baobab
5659 "mirror://gnome/sources/" name "/"
5660 (version-major+minor version) "/"
5661 name "-" version ".tar.xz"))
5664 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
5665 (build-system glib-or-gtk-build-system)
5667 `(("intltool" ,intltool)
5668 ("pkg-config" ,pkg-config)
5669 ("itstool" ,itstool)
5670 ("xmllint" ,libxml2)
5671 ("glib" ,glib "bin")
5675 (synopsis "Disk usage analyzer for GNOME")
5677 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5678 usage in the GNOME desktop environment. It can easily scan device volumes or
5679 a specific user-requested directory branch (local or remote). Once the scan
5680 is complete it provides a graphical representation of each selected folder.")
5681 (home-page "https://wiki.gnome.org/Apps/Baobab")
5682 (license license:gpl2+)))
5684 (define-public gnome-backgrounds
5686 (name "gnome-backgrounds")
5691 (uri (string-append "mirror://gnome/sources/" name "/"
5692 (version-major+minor version) "/"
5693 name "-" version ".tar.xz"))
5696 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
5697 (build-system glib-or-gtk-build-system)
5699 `(("intltool" ,intltool)))
5700 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5701 (synopsis "Background images for the GNOME desktop")
5703 "GNOME backgrounds package contains a collection of graphics files which
5704 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5705 the package creates the proper framework and directory structure so that you
5706 can add your own files to the collection.")
5707 (license (list license:gpl2+
5710 license:cc-by-sa3.0))))
5712 (define-public gnome-screenshot
5714 (name "gnome-screenshot")
5719 (uri (string-append "mirror://gnome/sources/" name "/"
5720 (version-major+minor version) "/"
5721 name "-" version ".tar.xz"))
5724 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5725 (build-system glib-or-gtk-build-system)
5727 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5728 ("intltool" ,intltool)
5729 ("pkg-config" ,pkg-config)))
5732 ("libcanberra" ,libcanberra)
5734 ("libxext" ,libxext)))
5735 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5736 (synopsis "Take pictures of your screen")
5738 "GNOME Screenshot is a utility used for taking screenshots of the entire
5739 screen, a window or a user defined area of the screen, with optional
5740 beautifying border effects.")
5741 (license license:gpl2+)))
5743 (define-public dconf-editor
5745 (name "dconf-editor")
5750 (uri (string-append "mirror://gnome/sources/" name "/"
5751 (version-major+minor version) "/"
5752 name "-" version ".tar.xz"))
5755 "1939yq3fl55c2dqkc6nzp6cbpxq9sli74gdj0rj7c50pwvbngwam"))))
5756 (build-system glib-or-gtk-build-system)
5759 (modify-phases %standard-phases
5760 (add-before 'install 'skip-gtk-update-icon-cache
5762 ;; Don't create 'icon-theme.cache'.
5763 (substitute* "editor/Makefile"
5764 (("gtk-update-icon-cache") "true"))
5767 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5768 ("intltool" ,intltool)
5769 ("pkg-config" ,pkg-config)))
5773 ("libxml2" ,libxml2)))
5774 (home-page "https://git.gnome.org/browse/dconf-editor")
5775 (synopsis "Graphical editor for GNOME's dconf configuration system")
5777 "Dconf-editor is a graphical tool for browsing and editing the dconf
5778 configuration system for GNOME. It allows users to configure desktop
5779 software that do not provide their own configuration interface.")
5780 (license license:lgpl2.1+)))
5782 (define-public gnome-default-applications
5784 (name "gnome-default-applications")
5786 (build-system trivial-build-system)
5789 `(("nautilus" ,nautilus)))
5791 `(#:modules ((guix build utils))
5794 (use-modules (guix build utils))
5795 (let* ((out (assoc-ref %outputs "out"))
5796 (apps (string-append out "/share/applications")))
5798 (call-with-output-file (string-append apps "/defaults.list")
5800 (format port "[Default Applications]\n")
5801 (format port "inode/directory=org.gnome.Nautilus.desktop\n")))
5803 (synopsis "Default MIME type associations for the GNOME desktop")
5805 "Given many installed packages which might handle a given MIME type, a
5806 user running the GNOME desktop probably has some preferences: for example,
5807 that folders be opened by default by the Nautilus file manager, not the Baobab
5808 disk usage analyzer. This package establishes that set of default MIME type
5809 associations for GNOME.")
5810 (license license:gpl3+)
5813 (define-public gnome
5816 (version (package-version gnome-shell))
5818 (build-system trivial-build-system)
5819 (arguments '(#:builder (mkdir %output)))
5821 ;; TODO: Add more packages according to:
5822 ;; <https://packages.debian.org/jessie/gnome-core>.
5823 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5825 ("font-cantarell" ,font-cantarell)
5826 ("font-dejavu" ,font-dejavu)
5827 ("at-spi2-core" ,at-spi2-core)
5830 ("desktop-file-utils" ,desktop-file-utils)
5832 ("epiphany" ,epiphany)
5834 ("file-roller" ,file-roller)
5836 ("glib-networking" ,glib-networking)
5837 ("gnome-backgrounds" ,gnome-backgrounds)
5838 ("gnome-bluetooth" ,gnome-bluetooth)
5839 ("gnome-calculator" ,gnome-calculator)
5840 ("gnome-control-center" ,gnome-control-center)
5841 ("gnome-disk-utility" ,gnome-disk-utility)
5842 ("gnome-default-applications" ,gnome-default-applications)
5843 ("gnome-keyring" ,gnome-keyring)
5844 ("gnome-online-accounts" ,gnome-online-accounts)
5845 ("gnome-session" ,gnome-session)
5846 ("gnome-settings-daemon" ,gnome-settings-daemon)
5847 ("gnome-shell" ,gnome-shell)
5848 ("gnome-system-monitor" ,gnome-system-monitor)
5849 ("gnome-terminal" ,gnome-terminal)
5850 ("gnome-themes-standard" ,gnome-themes-standard)
5851 ("gucharmap" ,gucharmap)
5853 ("hicolor-icon-theme" ,hicolor-icon-theme)
5854 ("nautilus" ,nautilus)
5855 ("pinentry-gnome3" ,pinentry-gnome3)
5856 ("pulseaudio" ,pulseaudio)
5857 ("shared-mime-info" ,shared-mime-info)
5859 ("xdg-user-dirs" ,xdg-user-dirs)
5861 ("zenity" ,zenity)))
5862 (synopsis "The GNU desktop environment")
5863 (home-page "https://www.gnome.org/")
5865 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5866 applications for browsing the web, editing text and images, creating
5867 documents and diagrams, playing media, scanning, and much more.")
5868 (license license:gpl2+)))
5870 (define-public byzanz
5871 ;; The last stable release of Byzanz was in 2011, but there have been many
5872 ;; useful commits made to the Byzanz repository since then that it would be
5873 ;; silly to use such an old release.
5874 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5877 (version (string-append "0.2-1." (string-take commit 7)))
5881 (url "git://git.gnome.org/byzanz")
5883 (file-name (string-append name "-" version "-checkout"))
5886 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5887 (build-system glib-or-gtk-build-system)
5890 (modify-phases %standard-phases
5891 (add-after 'unpack 'bootstrap
5893 ;; The build system cleverly detects that we're not building from
5894 ;; a release tarball and turns on -Werror for GCC.
5895 ;; Unsurprisingly, there is a warning during compilation that
5896 ;; causes the build to fail unnecessarily, so we remove the flag.
5897 (substitute* '("configure.ac")
5899 ;; The autogen.sh script in gnome-common will run ./configure
5900 ;; by default, which is problematic because source shebangs
5901 ;; have not yet been patched.
5902 (setenv "NOCONFIGURE" "t")
5903 (zero? (system* "sh" "autogen.sh")))))))
5905 `(("autoconf" ,autoconf)
5906 ("automake" ,automake)
5907 ("gnome-common" ,gnome-common)
5908 ("intltool" ,intltool)
5909 ("libtool" ,libtool)
5910 ("pkg-config" ,pkg-config)
5914 ("gstreamer" ,gstreamer)
5915 ("gst-plugins-base" ,gst-plugins-base)
5917 (synopsis "Desktop recording program")
5918 (description "Byzanz is a simple desktop recording program with a
5919 command-line interface. It can record part or all of an X display for a
5920 specified duration and save it as a GIF encoded animated image file.")
5921 (home-page "https://git.gnome.org/browse/byzanz")
5922 (license license:gpl2+))))
5924 (define-public libzapojit
5930 (uri (string-append "mirror://gnome/sources/" name "/"
5931 (version-major+minor version) "/"
5932 name "-" version ".tar.xz"))
5935 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5936 (build-system gnu-build-system)
5938 `(("gobject-introspection" ,gobject-introspection)
5939 ("intltool" ,intltool)
5940 ("pkg-config" ,pkg-config)))
5942 `(("gnome-online-accounts" ,gnome-online-accounts)
5943 ("json-glib" ,json-glib)
5945 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5946 (synopsis "Library for accessing SkyDrive and Hotmail")
5948 "Libzapojit is a GLib-based library for accessing online service APIs of
5949 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5950 (license license:lgpl2.1+)))
5952 (define-public gnome-calendar
5954 (name "gnome-calendar")
5958 (uri (string-append "mirror://gnome/sources/" name "/"
5959 (version-major+minor version) "/"
5960 name "-" version ".tar.xz"))
5963 "1v7k1wcl5yg9bd4l0rz0z03h32d35zgfp4qzz21widjcyis41jry"))))
5964 (build-system glib-or-gtk-build-system)
5966 `(("intltool" ,intltool)
5967 ("pkg-config" ,pkg-config)))
5970 ("desktop-file-utils" ,desktop-file-utils)
5971 ("evolution-data-server" ,evolution-data-server)
5972 ("gnome-online-accounts" ,gnome-online-accounts)
5973 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
5974 (home-page "https://wiki.gnome.org/Apps/Calendar")
5975 (synopsis "GNOME's calendar application")
5977 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5978 desktop. It supports multiple calendars, monthly view and yearly view.")
5979 (license license:gpl3+)))
5981 (define-public gnome-dictionary
5983 (name "gnome-dictionary")
5987 (uri (string-append "mirror://gnome/sources/" name "/"
5988 (version-major+minor version) "/"
5989 name "-" version ".tar.xz"))
5992 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
5993 (build-system glib-or-gtk-build-system)
5995 `(("glib:bin" ,glib "bin")
5996 ("gobject-introspection" ,gobject-introspection)
5997 ("intltool" ,intltool)
5998 ("itstool" ,itstool)
5999 ("pkg-config" ,pkg-config)
6000 ("xmllint" ,libxml2)))
6002 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6004 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6005 (synopsis "Look up words in dictionary sources")
6007 "GNOME Dictionary can look for the definition or translation of a word in
6008 existing databases over the internet.")
6009 (license license:gpl3+)))
6011 (define-public gnome-tweak-tool
6013 (name "gnome-tweak-tool")
6017 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6018 (version-major+minor version) "/"
6019 "gnome-tweak-tool-" version ".tar.xz"))
6021 (search-patch "gnome-tweak-tool-search-paths.patch")))
6024 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
6025 (build-system glib-or-gtk-build-system)
6027 `(#:configure-flags '("--localstatedir=/tmp"
6028 "--sysconfdir=/tmp")
6029 #:imported-modules ((guix build python-build-system)
6030 ,@%glib-or-gtk-build-system-modules)
6031 #:phases (modify-phases %standard-phases
6032 (add-after 'install 'wrap-program
6033 (lambda* (#:key outputs #:allow-other-keys)
6034 (let ((out (assoc-ref outputs "out"))
6035 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6036 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6037 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6039 (add-after 'install 'wrap
6040 (@@ (guix build python-build-system) wrap)))))
6042 `(("intltool" ,intltool)
6043 ("pkg-config" ,pkg-config)))
6045 `(("python" ,python-2)
6046 ("python2-pygobject" ,python2-pygobject)
6047 ("gnome-desktop" ,gnome-desktop)
6048 ("libsoup" ,libsoup)
6049 ("libnotify" ,libnotify)
6050 ("gobject-introspection" ,gobject-introspection)
6051 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6053 (synopsis "Customize advanced GNOME 3 options")
6054 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6056 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6057 GNOME 3. This includes things like the fonts used in user interface elements,
6058 alternative user interface themes, changes in window management behavior,
6059 GNOME Shell appearance and extension, etc.")
6060 (license license:gpl3+)))
6062 (define-public gnome-shell-extensions
6064 (name "gnome-shell-extensions")
6068 (uri (string-append "mirror://gnome/sources/" name "/"
6069 (version-major+minor version) "/"
6070 name "-" version ".tar.xz"))
6073 "10sg87wml5cmyk90pybnr6r942ba7173sl7yplhj2sfggp0wc74s"))))
6074 (build-system gnu-build-system)
6076 '(#:configure-flags '("--enable-extensions=all")))
6078 `(("intltool" ,intltool)
6079 ("pkg-config" ,pkg-config)))
6082 ("glib" ,glib "bin")))
6083 (synopsis "Extensions for GNOME Shell")
6084 (description "GNOME Shell extensions modify and extend GNOME Shell
6085 functionality and behavior.")
6086 (home-page "https://extensions.gnome.org/")
6087 (license license:gpl3+)))
6089 (define-public arc-theme
6092 (version "20170302")
6095 (uri (string-append "https://github.com/horst3180/arc-theme"
6096 "/archive/" version ".tar.gz"))
6097 (file-name (string-append name "-" version ".tar.gz"))
6100 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
6101 (build-system gnu-build-system)
6104 (modify-phases %standard-phases
6105 (add-after 'unpack 'bootstrap
6107 (zero? (system* "autoreconf" "-vif")))))))
6109 `(("autoconf" ,autoconf)
6110 ("automake" ,automake)
6111 ("pkg-config" ,pkg-config)))
6114 (synopsis "A flat GTK+ theme with transparent elements")
6115 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6116 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6117 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6118 (home-page "https://github.com/horst3180/arc-theme")
6119 ;; No "or later" language found.
6120 (license license:gpl3)))
6122 (define-public moka-icon-theme
6124 (name "moka-icon-theme")
6128 (uri (string-append "https://github.com/moka-project"
6129 "/moka-icon-theme/archive/v"
6131 (file-name (string-append name "-" version ".tar.gz"))
6134 "04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
6135 (build-system gnu-build-system)
6138 (modify-phases %standard-phases
6139 (add-after 'unpack 'patch-makefile.am
6141 (substitute* '("Makefile.am")
6142 (("\\$\\(DESTDIR\\)/usr/share")
6145 (add-after 'patch-makefile.am 'bootstrap
6147 (zero? (system* "autoreconf" "-vif")))))))
6149 `(("autoconf" ,autoconf)
6150 ("automake" ,automake)))
6151 (synopsis "Moka icon theme")
6152 (description "Moka is a stylized desktop icon set, designed to be clear,
6153 simple and consistent.")
6154 (home-page "http://snwh.org/moka")
6155 (license license:gpl3+)))
6157 (define-public arc-icon-theme
6159 (name "arc-icon-theme")
6160 (version "20161122")
6163 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6164 "/archive/" version ".tar.gz"))
6165 (file-name (string-append name "-" version ".tar.gz"))
6168 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6169 (build-system gnu-build-system)
6172 (modify-phases %standard-phases
6173 (add-after 'unpack 'bootstrap
6175 (zero? (system* "autoreconf" "-vif")))))))
6177 `(("autoconf" ,autoconf)
6178 ("automake" ,automake)))
6179 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6181 `(("moka-icon-theme" ,moka-icon-theme)))
6182 (synopsis "Arc icon theme")
6183 (description "The Arc icon theme provides a set of icons matching the
6184 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6185 the Moka icon theme.")
6186 (home-page "https://github.com/horst3180/arc-icon-theme")
6187 (license license:gpl3+)))
6189 (define-public folks
6196 "mirror://gnome/sources/" name "/"
6197 (version-major+minor version) "/"
6198 name "-" version ".tar.xz"))
6201 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6202 (build-system glib-or-gtk-build-system)
6205 ("dbus-glib" ,dbus-glib)
6206 ("evolution-data-server" ,evolution-data-server)
6209 ("telepathy-glib" ,telepathy-glib)))
6211 `(("gobject-introspection" ,gobject-introspection)
6212 ("intltool" ,intltool)
6213 ("pkg-config" ,pkg-config)
6215 (synopsis "Library to aggregate data about people")
6216 (description "Libfolks is a library that aggregates information about people
6217 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6218 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6219 etc.) to create metacontacts. It's written in Vala, which generates C code when
6221 (home-page "https://wiki.gnome.org/Projects/Folks")
6222 (license license:lgpl2.1+)))
6224 (define-public gfbgraph
6231 "mirror://gnome/sources/" name "/"
6232 (version-major+minor version) "/"
6233 name "-" version ".tar.xz"))
6236 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6237 (build-system glib-or-gtk-build-system)
6239 `(#:tests? #f ; Tests appear to require the network.
6240 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6241 #:configure-flags '("--disable-gtk-doc"
6243 "--enable-introspection")))
6245 `(("pkg-config" ,pkg-config)
6246 ("gobject-introspection" ,gobject-introspection)))
6248 `(("json-glib" ,json-glib)
6249 ("gnome-online-accounts" ,gnome-online-accounts)
6251 (synopsis "GLib/GObject wrapper for the Facebook API")
6252 (description "This library allows you to use the Facebook API from
6253 GLib/GObject code.")
6254 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6255 (license license:lgpl2.1+)))
6257 (define-public libgnomekbd
6259 (name "libgnomekbd")
6260 (version "3.22.0.1")
6263 (uri (string-append "mirror://gnome/sources/" name "/"
6264 (version-major+minor version) "/"
6265 name "-" version ".tar.xz"))
6268 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6269 (build-system gnu-build-system)
6271 `(("pkg-config" ,pkg-config)
6272 ("glib" ,glib "bin")
6273 ("intltool" ,intltool)))
6275 ;; Referred to in .h files and .pc.
6278 ("libxklavier" ,libxklavier)))
6279 (home-page "https://www.gnome.org")
6280 (synopsis "GNOME keyboard configuration library")
6282 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6283 environment, which can notably display keyboard layouts.")
6284 (license license:lgpl2.0+)))
6286 ;;; This package is no longer maintained:
6287 ;;; https://wiki.gnome.org/Attic/LibUnique
6288 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6289 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6290 (define-public libunique
6296 (uri (string-append "mirror://gnome/sources/" name "/"
6297 (version-major+minor version) "/"
6298 name "-" version ".tar.xz"))
6301 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6302 (build-system glib-or-gtk-build-system)
6304 `(#:configure-flags '("--disable-static"
6305 "--disable-dbus" ; use gdbus
6306 "--enable-introspection")))
6308 `(("pkg-config" ,pkg-config)
6309 ("gobject-introspection" ,gobject-introspection)
6310 ("glib:bin" ,glib "bin")
6311 ("gtk-doc" ,gtk-doc)))
6313 ;; Referred to in .h files and .pc.
6315 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6316 (synopsis "Library for writing single instance applications")
6318 "Libunique is a library for writing single instance applications. If you
6319 launch a single instance application twice, the second instance will either just
6320 quit or will send a message to the running instance. Libunique makes it easy to
6321 write this kind of application, by providing a base class, taking care of all
6322 the IPC machinery needed to send messages to a running instance, and also
6323 handling the startup notification side.")
6324 (license license:lgpl2.1+)))
6326 (define-public gnome-calculator
6328 (name "gnome-calculator")
6333 (uri (string-append "mirror://gnome/sources/" name "/"
6334 (version-major+minor version) "/"
6335 name "-" version ".tar.xz"))
6338 "041d40as8y0r5d0kk83dy842711zchydwwqh71kh1lpd373qlxa4"))))
6339 (build-system glib-or-gtk-build-system)
6341 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6342 ("intltool" ,intltool)
6343 ("itstool" ,itstool)
6344 ("pkg-config" ,pkg-config)))
6346 `(("gtksourceview" ,gtksourceview)
6347 ("libsoup" ,libsoup)
6350 (home-page "https://wiki.gnome.org/Apps/Calculator")
6351 (synopsis "Desktop calculator")
6353 "Calculator is an application that solves mathematical equations and
6354 is suitable as a default application in a Desktop environment.")
6355 (license license:gpl3)))
6364 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
6365 name "-" version ".tar.bz2"))
6368 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
6369 (build-system gnu-build-system)
6371 `(("intltool" ,intltool)
6372 ("pkg-config" ,pkg-config)))
6375 ("gtksourceview" ,gtksourceview)
6377 (home-page "https://wiki.gnome.org/Apps/Xpad")
6378 (synopsis "Virtual sticky note")
6380 "Xpad is a sticky note that strives to be simple, fault tolerant,
6381 and customizable. Xpad consists of independent pad windows, each is
6382 basically a text box in which notes can be written.")
6383 (license license:gpl3+)))
6385 (define-public gucharmap
6392 (uri (string-append "mirror://gnome/sources/" name "/"
6393 (version-major+minor version) "/"
6394 name "-" version ".tar.xz"))
6397 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6398 (build-system gnu-build-system)
6400 `(("desktop-file-utils" ,desktop-file-utils)
6401 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6402 ("gobject-introspection" ,gobject-introspection)
6403 ("intltool" ,intltool)
6404 ("itstool" ,itstool)
6405 ("pkg-config" ,pkg-config)))
6408 ("xmllint" ,libxml2)))
6409 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6410 (synopsis "Unicode character picker and font browser")
6412 "This program allows you to browse through all the available Unicode
6413 characters and categories for the installed fonts, and to examine their
6414 detailed properties. It is an easy way to find the character you might
6415 only know by its Unicode name or code point.")
6416 (license license:gpl3+)))
6418 (define-public bluefish
6425 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6426 name "-" version ".tar.gz"))
6429 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
6430 (build-system gnu-build-system)
6432 `(("desktop-file-utils" ,desktop-file-utils)
6433 ("intltool" ,intltool)
6434 ("pkg-config" ,pkg-config)))
6436 `(("enchant" ,enchant)
6438 ("python" ,python-2)
6439 ("xmllint" ,libxml2)
6440 ("gucharmap" ,gucharmap)))
6441 (home-page "http://bluefish.openoffice.nl")
6442 (synopsis "Web development studio")
6444 "Bluefish is an editor targeted towards programmers and web developers,
6445 with many options to write web sites, scripts and other code.
6446 Bluefish supports many programming and markup languages.")
6447 (license license:gpl3+)))
6449 (define-public gnome-system-monitor
6451 (name "gnome-system-monitor")
6456 (uri (string-append "mirror://gnome/sources/" name "/"
6457 (version-major+minor version) "/"
6458 name "-" version ".tar.xz"))
6461 "1x3343hchkllj8wyifk844v8psi45kyjhphyd03fzahi4h34aay3"))))
6462 (build-system glib-or-gtk-build-system)
6464 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6465 ("intltool" ,intltool)
6466 ("itstool" ,itstool)
6467 ("libgtop" ,libgtop)
6468 ("pkg-config" ,pkg-config)))
6470 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6473 ("librsvg" ,librsvg)
6474 ("libxml2" ,libxml2)))
6475 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6476 (synopsis "Process viewer and system resource monitor for GNOME")
6478 "GNOME System Monitor is a GNOME process viewer and system monitor with
6479 an attractive, easy-to-use interface. It has features, such as a tree view
6480 for process dependencies, icons for processes, the ability to hide processes,
6481 graphical time histories of CPU/memory/swap usage and the ability to
6482 kill/reinice processes.")
6483 (license license:gpl2+)))
6485 (define-public python-pyatspi
6487 (name "python-pyatspi")
6492 "mirror://gnome/sources/pyatspi/"
6493 (version-major+minor version)
6494 "/pyatspi-" version ".tar.xz"))
6497 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6498 (build-system gnu-build-system)
6500 `(("pkg-config" ,pkg-config)))
6502 `(("python" ,python)
6503 ("python-pygobject" ,python-pygobject)))
6504 (synopsis "Python client bindings for D-Bus AT-SPI")
6505 (home-page "https://wiki.linuxfoundation.org/accessibility\
6506 /atk/at-spi/at-spi_on_d-bus")
6508 "This package includes a python client library for the AT-SPI D-Bus
6509 accessibility infrastructure.")
6510 (license license:lgpl2.0)
6511 (properties '((upstream-name . "pyatspi")))))
6520 "mirror://gnome/sources/" name "/"
6521 (version-major+minor version) "/"
6522 name "-" version ".tar.xz"))
6525 "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
6526 (build-system glib-or-gtk-build-system)
6529 (modify-phases %standard-phases
6530 (add-before 'configure 'qualify-xkbcomp
6531 (lambda* (#:key inputs #:allow-other-keys)
6532 (let ((xkbcomp (string-append
6533 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6534 (substitute* "src/orca/orca.py"
6535 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6537 (add-after 'install 'wrap-orca
6538 (lambda* (#:key outputs #:allow-other-keys)
6539 (let* ((out (assoc-ref outputs "out"))
6540 (prog (string-append out "/bin/orca")))
6542 `("GI_TYPELIB_PATH" ":" prefix
6543 (,(getenv "GI_TYPELIB_PATH")))
6544 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6545 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6546 `("PYTHONPATH" ":" prefix
6547 (,(getenv "PYTHONPATH")))))
6550 `(("intltool" ,intltool)
6551 ("itstool" ,itstool)
6552 ("pkg-config" ,pkg-config)
6553 ("xmllint" ,libxml2)))
6555 `(("at-spi2-atk" ,at-spi2-atk)
6556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6557 ("gstreamer" ,gstreamer)
6558 ("gst-plugins-base" ,gst-plugins-base)
6559 ("gst-plugins-good" ,gst-plugins-good)
6562 ("python-pygobject" ,python-pygobject)
6563 ("python-pyatspi" ,python-pyatspi)
6564 ("python-speechd" ,speech-dispatcher)
6565 ("xkbcomp" ,xkbcomp)))
6567 "Screen reader for individuals who are blind or visually impaired")
6568 (home-page "https://wiki.gnome.org/Projects/Orca")
6570 "Orca is a screen reader that provides access to the graphical desktop
6571 via speech and refreshable braille. Orca works with applications and toolkits
6572 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6573 (license license:lgpl2.1+)))
6575 (define-public gspell
6581 (uri (string-append "mirror://gnome/sources/" name "/"
6582 (version-major+minor version) "/"
6583 name "-" version ".tar.xz"))
6586 "1683vyyfq3q0ph665jj6id8hnlyid4qxzmqiwpv97gmz8zksg6x5"))
6587 (patches (search-patches "gspell-dash-test.patch"))))
6588 (build-system glib-or-gtk-build-system)
6591 (modify-phases %standard-phases
6592 (add-before 'check 'pre-check
6593 (lambda* (#:key inputs #:allow-other-keys)
6594 ;; Tests require a running X server.
6595 (system "Xvfb :1 &")
6596 (setenv "DISPLAY" ":1")
6598 ;; For the missing /etc/machine-id.
6599 (setenv "DBUS_FATAL_WARNINGS" "0")
6601 ;; Allow Enchant and its Aspell backend to find the en_US
6603 (setenv "ASPELL_DICT_DIR"
6604 (string-append (assoc-ref inputs "aspell-dict-en")
6610 ("iso-codes" ,iso-codes)))
6612 `(("glib" ,glib "bin")
6613 ("pkg-config" ,pkg-config)
6614 ("xmllint" ,libxml2)
6617 ("aspell-dict-en" ,aspell-dict-en)
6618 ("xorg-server" ,xorg-server)))
6620 `(("enchant" ,enchant))) ; enchant.pc is required by gspell-1.pc
6621 (home-page "https://wiki.gnome.org/Projects/gspell")
6622 (synopsis "GNOME's alternative spell checker")
6624 "gspell provides a flexible API to add spell-checking to a GTK+
6625 application. It provides a GObject API, spell-checking to text entries and
6626 text views, and buttons to choose the language.")
6627 (license license:gpl2+)))
6629 (define-public gnome-planner
6631 (name "gnome-planner")
6635 (uri (string-append "mirror://gnome/sources/planner/"
6636 (version-major+minor version) "/planner-"
6640 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
6641 (build-system glib-or-gtk-build-system)
6643 ;; Disable the Python bindings because the Planner program functions
6644 ;; without them, and (as of 2017-06-13) we have not packaged all of
6645 ;; packages that are necessary for building the Python bindings.
6647 (list "--disable-python"
6648 ,@(if (string=? "aarch64-linux" (%current-system))
6649 '("--build=aarch64-unknown-linux-gnu")
6652 `(("libgnomecanvas" ,libgnomecanvas)
6653 ("libgnomeui" ,libgnomeui)
6654 ("libglade" ,libglade)
6655 ("gnome-vfs" ,gnome-vfs)
6657 ("libxml2" ,libxml2)
6658 ("libxslt" ,libxslt)
6662 `(("intltool" ,intltool)
6663 ("scrollkeeper" ,scrollkeeper)
6664 ("pkg-config" ,pkg-config)))
6665 (home-page "https://wiki.gnome.org/Apps/Planner")
6666 (synopsis "Project management software for the GNOME desktop")
6668 "GNOME Planner is a project management tool based on the Work Breakdown
6669 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6670 the resources, tasks, and constraints that you define, Planner generates
6671 various views into a project. For example, Planner can show a Gantt chart of
6672 the project. It can show a detailed summary of tasks including their
6673 duration, cost, and current progress. It can also show a report of resource
6674 utilization that highlights under-utilized and over-utilized resources. These
6675 views can be printed as PDF or PostScript files, or exported to HTML.")
6676 (license license:gpl2+)))
6678 (define-public lollypop
6685 (uri (string-append "https://github.com/gnumdk/lollypop/"
6686 "releases/download/" version "/"
6687 name "-" version ".tar.xz"))
6690 "0y9nmwrplz4mlvc2badfbyjj97ksn6qqis3rgm8lvp5llsk1583w"))))
6691 ;; TODO: Use meson-build-system
6692 (build-system glib-or-gtk-build-system)
6694 `(#:imported-modules ((guix build python-build-system)
6695 ,@%glib-or-gtk-build-system-modules)
6696 #:tests? #f ; no test suite
6698 (modify-phases %standard-phases
6701 (lambda* (#:key inputs outputs #:allow-other-keys)
6702 (let ((out (assoc-ref outputs "out")))
6703 ;; remove post-install script, we update the caches later
6704 (substitute* "meson.build"
6705 (("meson.add_install_script\\('meson_post_install.py'\\)") ""))
6707 (system* "meson" "builddir" (string-append "--prefix=" out))))))
6709 (lambda _ (zero? (system* "ninja" "-C" "builddir" "install"))))
6710 (add-after 'install 'wrap-program
6711 (lambda* (#:key outputs #:allow-other-keys)
6712 (let ((out (assoc-ref outputs "out"))
6713 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6714 (wrap-program (string-append out "/bin/lollypop")
6715 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6717 (add-after 'install 'wrap
6718 (@@ (guix build python-build-system) wrap)))))
6720 `(("intltool" ,intltool)
6721 ("itstool" ,itstool)
6723 ("pkg-config" ,pkg-config)))
6725 `(("gobject-introspection" ,gobject-introspection)
6726 ("gst-plugins-base" ,gst-plugins-base)
6728 ("libnotify" ,libnotify)
6729 ("libsecret" ,libsecret)
6730 ("libsoup" ,libsoup)
6733 ("python-beautifulsoup4" ,python-beautifulsoup4)
6734 ("python-gst" ,python-gst)
6735 ("python-pycairo" ,python-pycairo)
6736 ("python-pygobject" ,python-pygobject)
6737 ("python-pylast" ,python-pylast)
6738 ("totem-pl-parser" ,totem-pl-parser)
6739 ("webkitgtk" ,webkitgtk)))
6741 `(;; gst-plugins-base is required to start Lollypop,
6742 ;; the others are required to play streaming.
6743 ("gst-plugins-good" ,gst-plugins-good)
6744 ("gst-plugins-ugly" ,gst-plugins-ugly)))
6745 (home-page "https://gnumdk.github.io/lollypop-web")
6746 (synopsis "GNOME music playing application")
6748 "Lollypop is a music player designed to play well with GNOME desktop.
6749 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
6750 from artists and tracks from the web. It also fetches cover artworks
6751 automatically and it can stream songs from online music services and charts.")
6752 (license license:gpl3+)))