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 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 calendar)
63 #:use-module (gnu packages check)
64 #:use-module (gnu packages cups)
65 #:use-module (gnu packages curl)
66 #:use-module (gnu packages cyrus-sasl)
67 #:use-module (gnu packages databases)
68 #:use-module (gnu packages djvu)
69 #:use-module (gnu packages dns)
70 #:use-module (gnu packages documentation)
71 #:use-module (gnu packages flex)
72 #:use-module (gnu packages docbook)
73 #:use-module (gnu packages enchant)
74 #:use-module (gnu packages fontutils)
75 #:use-module (gnu packages game-development)
76 #:use-module (gnu packages gettext)
77 #:use-module (gnu packages glib)
78 #:use-module (gnu packages gnupg)
79 #:use-module (gnu packages gnuzilla)
80 #:use-module (gnu packages gstreamer)
81 #:use-module (gnu packages gtk)
82 #:use-module (gnu packages gperf)
83 #:use-module (gnu packages guile)
84 #:use-module (gnu packages openldap)
85 #:use-module (gnu packages pdf)
86 #:use-module (gnu packages polkit)
87 #:use-module (gnu packages popt)
88 #:use-module (gnu packages ghostscript)
89 #:use-module (gnu packages ibus)
90 #:use-module (gnu packages iso-codes)
91 #:use-module (gnu packages libcanberra)
92 #:use-module (gnu packages libunistring)
93 #:use-module (gnu packages linux)
94 #:use-module (gnu packages libusb)
95 #:use-module (gnu packages lirc)
96 #:use-module (gnu packages lua)
97 #:use-module (gnu packages image)
98 #:use-module (gnu packages imagemagick)
99 #:use-module (gnu packages networking)
100 #:use-module (gnu packages password-utils)
101 #:use-module (gnu packages pcre)
102 #:use-module (gnu packages perl)
103 #:use-module (gnu packages photo)
104 #:use-module (gnu packages pkg-config)
105 #:use-module (gnu packages pulseaudio)
106 #:use-module (gnu packages python)
107 #:use-module (gnu packages rdesktop)
108 #:use-module (gnu packages scanner)
109 #:use-module (gnu packages selinux)
110 #:use-module (gnu packages ssh)
111 #:use-module (gnu packages xml)
112 #:use-module (gnu packages gl)
113 #:use-module (gnu packages compression)
114 #:use-module (gnu packages spice)
115 #:use-module (gnu packages tex)
116 #:use-module (gnu packages tls)
117 #:use-module (gnu packages web)
118 #:use-module (gnu packages webkit)
119 #:use-module (gnu packages xiph)
120 #:use-module (gnu packages xorg)
121 #:use-module (gnu packages xdisorg)
122 #:use-module (gnu packages freedesktop)
123 #:use-module (gnu packages mail)
124 #:use-module (gnu packages kerberos)
125 #:use-module (gnu packages multiprecision)
126 #:use-module (gnu packages backup)
127 #:use-module (gnu packages nettle)
128 #:use-module (gnu packages ncurses)
129 #:use-module (gnu packages video)
130 #:use-module (gnu packages cdrom)
131 #:use-module (gnu packages samba)
132 #:use-module (gnu packages readline)
133 #:use-module (gnu packages fonts)
134 #:use-module (gnu packages qemu)
135 #:use-module (gnu packages speech)
136 #:use-module (srfi srfi-1))
138 (define-public brasero
144 (uri (string-append "mirror://gnome/sources/" name "/"
145 (version-major+minor version) "/"
146 name "-" version ".tar.xz"))
149 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
150 (build-system glib-or-gtk-build-system)
152 `(#:configure-flags (list
153 (string-append "--with-girdir="
154 (assoc-ref %outputs "out")
156 (string-append "--with-typelibdir="
157 (assoc-ref %outputs "out")
158 "/lib/girepository-1.0"))
160 (modify-phases %standard-phases
161 (add-before 'configure 'embed-growisofs
162 (lambda* (#:key inputs #:allow-other-keys)
163 (substitute* "plugins/growisofs/burn-growisofs.c"
164 (("\"growisofs") (string-append "\"" (which "growisofs"))))
167 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
169 `(("intltool" ,intltool)
170 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
171 ("gobject-introspection" ,gobject-introspection)
172 ("pkg-config" ,pkg-config)))
174 `(("dvd+rw-tools" ,dvd+rw-tools)
176 ("gnome-doc-utils" ,gnome-doc-utils)
177 ("gstreamer" ,gstreamer)
178 ("gst-plugins-base" ,gst-plugins-base)
181 ("libcanberra" ,libcanberra)
183 ("libnotify" ,libnotify)
187 ("totem-pl-parser" ,totem-pl-parser)))
188 (home-page "https://projects.gnome.org/brasero/")
189 (synopsis "CD/DVD burning tool for Gnome")
190 (description "Brasero is an application to burn CD/DVD for the Gnome
191 Desktop. It is designed to be as simple as possible and has some unique
192 features to enable users to create their discs easily and quickly.")
193 (license license:gpl2+)))
196 ;; This version from GNOME's repository includes fixes for compiling with
197 ;; recent versions of the build tools. The latest activity on the
198 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
200 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
203 (version (string-append "0.97.2-" (string-take commit 7)))
207 (url "https://git.gnome.org/browse/dia")
209 (file-name (string-append name "-" version "-checkout"))
212 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
213 (build-system gnu-build-system)
215 `(("glib" ,glib "bin")
217 ("gdk-pixbuf" ,gdk-pixbuf)
220 ("freetype" ,freetype)
221 ("libart-lgpl" ,libart-lgpl)))
223 `(("intltool" ,intltool)
224 ("pkg-config" ,pkg-config)
225 ("automake" ,automake)
226 ("autoconf" ,autoconf)
229 ("python-wrapper" ,python-wrapper)))
232 (modify-phases %standard-phases
233 (add-before 'configure 'run-autogen
235 (system* "sh" "autogen.sh"))))))
236 (home-page "https://wiki.gnome.org/Apps/Dia")
237 (synopsis "Diagram creation for GNOME")
238 (description "Dia can be used to draw different types of diagrams, and
239 includes support for UML static structure diagrams (class diagrams), entity
240 relationship modeling, and network diagrams. The program supports various file
241 formats like PNG, SVG, PDF and EPS.")
242 (license license:gpl2+))))
244 (define-public libgdata
250 (uri (string-append "mirror://gnome/sources/" name "/"
251 (version-major+minor version) "/"
252 name "-" version ".tar.xz"))
255 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
257 (search-patches "libgdata-fix-tests.patch"
258 "libgdata-glib-duplicate-tests.patch"))))
259 (build-system gnu-build-system)
262 (modify-phases %standard-phases
263 (add-before 'check 'use-empty-ssl-cert-file
265 ;; The ca-certificates.crt is not available in the build
267 (setenv "SSL_CERT_FILE" "/dev/null")
270 `(("glib:bin" ,glib "bin")
271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
272 ("intltool" ,intltool)
273 ("pkg-config" ,pkg-config)
274 ("uhttpmock" ,uhttpmock)))
276 `(("cyrus-sasl" ,cyrus-sasl)
278 ("glib-networking" ,glib-networking)
279 ("json-glib" ,json-glib)
280 ("libsoup" ,libsoup)))
283 ("gnome-online-accounts" ,gnome-online-accounts)
284 ("liboauth" ,liboauth)
285 ("libxml2" ,libxml2)))
286 (home-page "https://wiki.gnome.org/Projects/libgdata")
287 (synopsis "Library for accessing online service APIs")
289 "libgdata is a GLib-based library for accessing online service APIs using
290 the GData protocol — most notably, Google's services. It provides APIs to
291 access the common Google services, and has full asynchronous support.")
292 (license license:lgpl2.1+)))
294 (define-public libgxps
300 (uri (string-append "mirror://gnome/sources/" name "/"
301 (version-major+minor version) "/"
302 name "-" version ".tar.xz"))
305 "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
306 (build-system gnu-build-system)
308 `(("gobject-introspection" ,gobject-introspection)
309 ("pkg-config" ,pkg-config)))
313 ("libarchive" ,libarchive)
318 (home-page "https://wiki.gnome.org/Projects/libgxps")
319 (synopsis "GObject-based library for handling and rendering XPS documents")
321 "libgxps is a GObject-based library for handling and rendering XPS
322 documents. This package also contains binaries that can convert XPS documents
324 (license license:lgpl2.1+)))
326 (define-public gnome-common
328 (name "gnome-common")
333 (uri (string-append "mirror://gnome/sources/" name "/"
334 (version-major+minor version) "/"
335 name "-" version ".tar.xz"))
338 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
339 (build-system gnu-build-system)
340 (home-page "https://www.gnome.org/")
341 (synopsis "Bootstrap GNOME modules built from Git")
342 (description "gnome-common contains various files needed to bootstrap
343 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
344 can be used to configure a source directory checked out from Git and some
345 commonly used macros.")
346 (license license:gpl2+)))
348 (define-public gnome-desktop
350 (name "gnome-desktop")
355 (uri (string-append "mirror://gnome/sources/" name "/"
356 (version-major+minor version) "/"
357 name "-" version ".tar.xz"))
360 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
361 (build-system gnu-build-system)
363 `(("gobject-introspection" ,gobject-introspection)
365 ("intltool" ,intltool)
366 ("pkg-config" ,pkg-config)
367 ("xmllint" ,libxml2)))
369 ;; Required by gnome-desktop-3.0.pc.
370 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
373 `(("gdk-pixbuf" ,gdk-pixbuf)
375 ("iso-codes" ,iso-codes)
378 ("libxkbfile" ,libxkbfile)
379 ("libxrandr" ,libxrandr)
380 ("xkeyboard-config" ,xkeyboard-config)))
381 (home-page "https://www.gnome.org/")
383 "Libgnome-desktop, gnome-about, and desktop-wide documents")
385 "The libgnome-desktop library provides API shared by several applications
386 on the desktop, but that cannot live in the platform for various reasons.
387 There is no API or ABI guarantee, although we are doing our best to provide
388 stability. Documentation for the API is available with gtk-doc.
390 The gnome-about program helps find which version of GNOME is installed.")
391 ; Some bits under the LGPL.
392 (license license:gpl2+)))
394 (define-public gnome-doc-utils
396 (name "gnome-doc-utils")
401 (uri (string-append "mirror://gnome/sources/" name "/"
402 (version-major+minor version) "/"
403 name "-" version ".tar.xz"))
406 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
407 (build-system gnu-build-system)
409 `(("intltool" ,intltool)
410 ("docbook-xml" ,docbook-xml-4.4)
411 ("python2-libxml2" ,python2-libxml2)
414 ("pkg-config" ,pkg-config)
415 ("python-2" ,python-2)))
416 (home-page "https://wiki.gnome.org/GnomeDocUtils")
418 "Documentation utilities for the Gnome project")
420 "Gnome-doc-utils is a collection of documentation utilities for the
421 Gnome project. It includes xml2po tool which makes it easier to translate
422 and keep up to date translations of documentation.")
423 (license license:gpl2+))) ; xslt under lgpl
425 (define-public gnome-disk-utility
427 (name "gnome-disk-utility")
431 (uri (string-append "mirror://gnome/sources/" name "/"
432 (version-major+minor version) "/"
433 name "-" version ".tar.xz"))
436 "18akarcbhm8djlmz49jzavc7qx8dg71gvxc9xd23p0bwjj4h93w7"))))
437 (build-system gnu-build-system)
439 `(("glib:bin" ,glib "bin")
440 ("intltool" ,intltool)
441 ("pkg-config" ,pkg-config)
442 ("docbook-xml" ,docbook-xml)
443 ("docbook-xsl" ,docbook-xsl)
445 ("libxslt" ,libxslt)))
448 ("appstream-glib" ,appstream-glib)
449 ("gnome-settings-daemon" ,gnome-settings-daemon)
451 ("libcanberra" ,libcanberra)
452 ("libdvdread" ,libdvdread)
453 ("libnotify" ,libnotify)
454 ("libpwquality" ,libpwquality)
455 ("libsecret" ,libsecret)
457 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
458 (synopsis "Disk management utility for GNOME")
459 (description "Disk management utility for GNOME.")
460 (license license:gpl2+)))
468 (uri (string-append "mirror://gnome/sources/" name "/"
469 (version-major+minor version) "/"
470 name "-" version ".tar.xz"))
473 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
475 (search-patches "gcr-disable-failing-tests.patch"
476 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
477 (build-system gnu-build-system)
479 '(#:phases (modify-phases %standard-phases
482 (lambda* (#:key inputs #:allow-other-keys)
483 (substitute* "build/tap-driver"
484 (("/usr/bin/env python") (which "python"))))))))
487 ("gnupg" ,gnupg) ;called as a child process during tests
488 ("libgcrypt" ,libgcrypt)))
490 `(("python" ,python-2) ;for tests
491 ("pkg-config" ,pkg-config)
493 ("gobject-introspection" ,gobject-introspection)
494 ("intltool" ,intltool)
495 ("xsltproc" ,libxslt)))
496 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
498 `(("p11-kit" ,p11-kit)
501 (home-page "http://www.gnome.org")
502 (synopsis "Libraries for displaying certificates and accessing key stores")
504 "The GCR package contains libraries used for displaying certificates and
505 accessing key stores. It also provides the viewer for crypto files on the
507 (license license:lgpl2.1+)))
509 (define-public libgnome-keyring
511 (name "libgnome-keyring")
515 (uri (string-append "mirror://gnome/sources/" name "/"
516 (version-major+minor version) "/"
517 name "-" version ".tar.xz"))
520 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
521 (build-system gnu-build-system)
523 `(("libgcrypt" ,libgcrypt)
526 `(("pkg-config" ,pkg-config)
528 ("intltool" ,intltool)))
530 ;; Referred to in .h files and .pc.
532 (home-page "http://www.gnome.org")
533 (synopsis "Accessing passwords from the GNOME keyring")
535 "Client library to access passwords from the GNOME keyring.")
537 ;; Though a couple of files are LGPLv2.1+.
538 (license license:lgpl2.0+)))
540 (define-public gnome-keyring
542 (name "gnome-keyring")
546 (uri (string-append "mirror://gnome/sources/" name "/"
547 (version-major+minor version) "/"
548 name "-" version ".tar.xz"))
551 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
552 (build-system gnu-build-system)
554 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
558 (string-append "--with-pkcs11-config="
559 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
560 (string-append "--with-pkcs11-modules="
561 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
563 (modify-phases %standard-phases
566 (lambda* (#:key inputs #:allow-other-keys)
567 (substitute* "build/tap-driver"
568 (("/usr/bin/env python") (which "python")))))
570 'configure 'fix-docbook
571 (lambda* (#:key inputs #:allow-other-keys)
572 (substitute* "docs/Makefile.am"
573 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
574 (string-append (assoc-ref inputs "docbook-xsl")
575 "/xml/xsl/docbook-xsl-"
576 ,(package-version docbook-xsl)
577 "/manpages/docbook.xsl")))
578 (setenv "XML_CATALOG_FILES"
579 (string-append (assoc-ref inputs "docbook-xml")
580 "/xml/dtd/docbook/catalog.xml")))))))
582 `(("libgcrypt" ,libgcrypt)
583 ("linux-pam" ,linux-pam)
587 `(("pkg-config" ,pkg-config)
589 ("python" ,python-2) ;for tests
590 ("intltool" ,intltool)
591 ("autoconf" ,autoconf)
592 ("automake" ,automake)
593 ("libxslt" ,libxslt) ;for documentation
594 ("docbook-xml" ,docbook-xml-4.2)
595 ("docbook-xsl" ,docbook-xsl)))
596 (home-page "http://www.gnome.org")
597 (synopsis "Daemon to store passwords and encryption keys")
599 "gnome-keyring is a program that keeps passwords and other secrets for
600 users. It is run as a daemon in the session, similar to ssh-agent, and other
601 applications locate it via an environment variable or D-Bus.
603 The program can manage several keyrings, each with its own master password,
604 and there is also a session keyring which is never stored to disk, but
605 forgotten when the session ends.")
606 (license license:lgpl2.1+)))
608 (define-public evince
614 (uri (string-append "mirror://gnome/sources/" name "/"
615 (version-major+minor version) "/"
616 name "-" version ".tar.xz"))
619 "13yw0i68dgqp9alyliy3zifszh7rikkpi1xbz5binvxxgfpraf04"))))
620 (build-system glib-or-gtk-build-system)
622 `(#:configure-flags '("--disable-nautilus")
624 (modify-phases %standard-phases
625 (add-before 'install 'skip-gtk-update-icon-cache
626 ;; Don't create 'icon-theme.cache'.
628 (substitute* "data/Makefile"
629 (("gtk-update-icon-cache") "true"))
632 `(("libarchive" ,libarchive)
634 ("libspectre" ,libspectre)
635 ("djvulibre" ,djvulibre)
636 ("ghostscript" ,ghostscript)
640 ;; Build libkpathsea as a shared library for DVI support.
641 ;; ("libkpathsea" ,texlive-bin)
642 ("gnome-desktop" ,gnome-desktop)
643 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
644 ("libgnome-keyring" ,libgnome-keyring)
645 ("adwaita-icon-theme" ,adwaita-icon-theme)
646 ("gdk-pixbuf" ,gdk-pixbuf)
654 ("shared-mime-info" ,shared-mime-info)
656 ("libcanberra" ,libcanberra)
657 ("libsecret" ,libsecret)
659 ("dogtail" ,python2-dogtail)))
661 `(("itstool" ,itstool)
662 ("intltool" ,intltool)
664 ("pkg-config" ,pkg-config)
665 ("xmllint" ,libxml2)))
667 "http://www.gnome.org/projects/evince/")
668 (synopsis "GNOME's document viewer")
670 "Evince is a document viewer for multiple document formats. It
671 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
672 of Evince is to replace the multiple document viewers that exist
673 on the GNOME Desktop with a single simple application.")
674 (license license:gpl2+)))
676 (define-public gsettings-desktop-schemas
678 (name "gsettings-desktop-schemas")
683 (uri (string-append "mirror://gnome/sources/" name "/"
684 (version-major+minor version) "/"
685 name "-" version ".tar.xz"))
688 "145vpcljy4660cnk8zk91qf7ywa7hqfl5hhw025gy8hxcqzklmzn"))))
689 (build-system gnu-build-system)
693 `(("intltool" ,intltool)
694 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
695 ("gobject-introspection" ,gobject-introspection)
696 ("pkg-config" ,pkg-config)))
697 (home-page "https://launchpad.net/gsettings-desktop-schemas")
699 "GNOME settings for various desktop components")
701 "Gsettings-desktop-schemas contains a collection of GSettings schemas
702 for settings shared by various components of the GNOME desktop.")
703 (license license:lgpl2.1+)))
705 (define-public icon-naming-utils
707 (name "icon-naming-utils")
712 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
716 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
717 (build-system gnu-build-system)
720 ("perl-xml-simple" ,perl-xml-simple)))
724 'install 'set-load-paths
725 ;; Tell 'icon-name-mapping' where XML::Simple is.
726 (lambda* (#:key outputs #:allow-other-keys)
727 (let* ((out (assoc-ref outputs "out"))
728 (prog (string-append out "/libexec/icon-name-mapping")))
731 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
733 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
735 "Utility to implement the Freedesktop Icon Naming Specification")
737 "To help with the transition to the Freedesktop Icon Naming
738 Specification, the icon naming utility maps the icon names used by the
739 GNOME and KDE desktops to the icon names proposed in the specification.")
740 (license license:lgpl2.1+)))
742 (define-public gnome-icon-theme
744 (name "gnome-icon-theme")
749 (uri (string-append "mirror://gnome/sources/" name "/"
750 (version-major+minor version) "/"
751 name "-" version ".tar.xz"))
754 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
755 (build-system gnu-build-system)
758 ;; Don't create 'icon-theme.cache'.
759 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
760 (true (string-append coreutils "/bin/true")))
761 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
763 `(("icon-naming-utils" ,icon-naming-utils)
764 ("intltool" ,intltool)
765 ("pkg-config" ,pkg-config)))
766 (home-page "http://art.gnome.org/")
770 "Icons for the GNOME desktop.")
771 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
773 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
774 (define-public adwaita-icon-theme
775 (package (inherit gnome-icon-theme)
776 (name "adwaita-icon-theme")
780 (uri (string-append "mirror://gnome/sources/" name "/"
781 (version-major+minor version) "/"
782 name "-" version ".tar.xz"))
785 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
787 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
789 (define-public tango-icon-theme
791 (name "tango-icon-theme")
795 (uri (string-append "http://tango.freedesktop.org/releases/"
796 "tango-icon-theme-" version ".tar.bz2"))
799 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
800 (build-system gnu-build-system)
802 `(("icon-naming-utils" ,icon-naming-utils)
803 ("intltool" ,intltool)
804 ("imagemagick" ,imagemagick)
805 ("pkg-config" ,pkg-config)))
806 (home-page "http://tango-project.org/")
807 (synopsis "Tango icon theme")
808 (description "This is an icon theme that follows the Tango visual
810 (license license:public-domain)))
812 (define-public shared-mime-info
814 (name "shared-mime-info")
818 (uri (string-append "https://freedesktop.org/~hadess/"
819 "shared-mime-info-" version ".tar.xz"))
822 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
823 (build-system gnu-build-system)
825 ;; The build system appears not to be parallel-safe.
826 '(#:parallel-build? #f))
829 ("libxml2" ,libxml2)))
831 `(("intltool" ,intltool)
832 ("pkg-config" ,pkg-config)))
833 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
834 (synopsis "Database of common MIME types")
836 "The shared-mime-info package contains the core database of common types
837 and the update-mime-database command used to extend it. It requires glib2 to
838 be installed for building the update command. Additionally, it uses intltool
839 for translations, though this is only a dependency for the maintainers. This
840 database is translated at Transifex.")
841 (license license:gpl2+)))
843 (define-public hicolor-icon-theme
845 (name "hicolor-icon-theme")
850 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
851 "hicolor-icon-theme-" version ".tar.xz"))
854 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
855 (build-system gnu-build-system)
857 `(#:tests? #f)) ; no check target
858 (home-page "http://icon-theme.freedesktop.org/releases/")
860 "Freedesktop icon theme")
862 "Freedesktop icon theme.")
863 (license license:gpl2)))
865 (define-public libnotify
872 (uri (string-append "mirror://gnome/sources/" name "/"
873 (version-major+minor version) "/"
874 name "-" version ".tar.xz"))
877 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
878 (build-system gnu-build-system)
880 `(("gdk-pixbuf" ,gdk-pixbuf)
885 `(("pkg-config" ,pkg-config)
887 ("gobject-introspection" ,gobject-introspection)))
888 (home-page "https://developer-next.gnome.org/libnotify/")
890 "GNOME desktop notification library")
892 "Libnotify is a library that sends desktop notifications to a
893 notification daemon, as defined in the Desktop Notifications spec. These
894 notifications can be used to inform the user about an event or display
895 some form of information without getting in the user's way.")
896 (license license:lgpl2.1+)))
898 (define-public libpeas
905 (uri (string-append "mirror://gnome/sources/" name "/"
906 (version-major+minor version) "/"
907 name "-" version ".tar.xz"))
910 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
911 (build-system gnu-build-system)
915 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
917 ("python-pygobject" ,python-pygobject)))
919 `(("pkg-config" ,pkg-config)
920 ("glib:bin" ,glib "bin")
921 ("gobject-introspection" ,gobject-introspection)
922 ("intltool" ,intltool)))
924 ;; The .pc file "Requires" gobject-introspection.
925 `(("gobject-introspection" ,gobject-introspection)))
926 (home-page "https://wiki.gnome.org/Libpeas")
927 (synopsis "GObject plugin system")
929 "Libpeas is a gobject-based plugin engine, targeted at giving every
930 application the chance to assume its own extensibility. It also has a set of
931 features including, but not limited to: multiple extension points; on-demand
932 (lazy) programming language support for C, Python and JS; simplicity of the
934 (license license:lgpl2.0+)))
936 (define-public gtkglext
942 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
943 version "/gtkglext-" version ".tar.gz"))
945 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
946 (patches (search-patches
947 "gtkglext-disable-disable-deprecated.patch"))))
948 (build-system gnu-build-system)
949 (inputs `(("gtk+" ,gtk+-2)
954 (native-inputs `(("pkg-config" ,pkg-config)
955 ("glib" ,glib "bin")))
956 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
957 (home-page "https://projects.gnome.org/gtkglext")
958 (synopsis "OpenGL extension to GTK+")
959 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
960 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
961 API add-ons to make GTK+ widgets OpenGL-capable.")
962 (license license:lgpl2.1+)))
964 (define-public glade3
970 (uri (string-append "mirror://gnome/sources/" name "/"
971 (version-major+minor version) "/"
972 name "-" version ".tar.xz"))
975 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
976 (build-system glib-or-gtk-build-system)
978 `(#:tests? #f ; needs X, GL, and software rendering
980 (modify-phases %standard-phases
981 (add-before 'configure 'fix-docbook
982 (lambda* (#:key inputs #:allow-other-keys)
983 (substitute* "man/Makefile.in"
984 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
985 (string-append (assoc-ref inputs "docbook-xsl")
986 "/xml/xsl/docbook-xsl-"
987 ,(package-version docbook-xsl)
988 "/manpages/docbook.xsl")))
992 ("libxml2" ,libxml2)))
994 `(("intltool" ,intltool)
996 ("libxslt" ,libxslt) ;for xsltproc
997 ("docbook-xml" ,docbook-xml-4.2)
998 ("docbook-xsl" ,docbook-xsl)
1000 ("pkg-config" ,pkg-config)))
1001 (home-page "https://glade.gnome.org")
1002 (synopsis "GTK+ rapid application development tool")
1003 (description "Glade is a rapid application development (RAD) tool to
1004 enable quick & easy development of user interfaces for the GTK+ toolkit and
1005 the GNOME desktop environment.")
1006 (license license:lgpl2.0+)))
1008 (define-public libcroco
1014 (uri (string-append "mirror://gnome/sources/" name "/"
1015 (version-major+minor version) "/"
1016 name "-" version ".tar.xz"))
1018 (search-patches "libcroco-CVE-2017-7960.patch"
1019 "libcroco-CVE-2017-7961.patch"))
1022 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1023 (build-system gnu-build-system)
1025 `(("pkg-config" ,pkg-config)))
1028 ("libxml2" ,libxml2)
1030 (home-page "https://github.com/GNOME/libcroco")
1031 (synopsis "CSS2 parsing and manipulation library")
1033 "Libcroco is a standalone CSS2 parsing and manipulation library.
1034 The parser provides a low level event driven SAC-like API and a CSS object
1035 model like API. Libcroco provides a CSS2 selection engine and an experimental
1036 XML/CSS rendering engine.")
1039 (license license:lgpl2.1)))
1041 (define-public libgsf
1047 (uri (string-append "mirror://gnome/sources/" name "/"
1048 (version-major+minor version) "/"
1049 name "-" version ".tar.xz"))
1052 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1053 (build-system gnu-build-system)
1055 `(("intltool" ,intltool)
1056 ("pkg-config" ,pkg-config)))
1058 `(("python" ,python)
1062 `(("gdk-pixbuf" ,gdk-pixbuf)
1064 ("libxml2" ,libxml2)))
1065 (home-page "http://www.gnome.org/projects/libgsf")
1066 (synopsis "GNOME's Structured File Library")
1068 "Libgsf aims to provide an efficient extensible I/O abstraction for
1069 dealing with different structured file formats.")
1072 (license license:lgpl2.1)))
1074 (define-public librsvg
1080 (uri (string-append "mirror://gnome/sources/" name "/"
1081 (version-major+minor version) "/"
1082 name "-" version ".tar.xz"))
1085 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
1086 (build-system gnu-build-system)
1090 'configure 'pre-configure
1091 (lambda* (#:key inputs #:allow-other-keys)
1092 (substitute* "gdk-pixbuf-loader/Makefile.in"
1093 ;; By default the gdk-pixbuf loader is installed under
1094 ;; gdk-pixbuf's prefix. Work around that.
1095 (("gdk_pixbuf_moduledir = .*$")
1096 (string-append "gdk_pixbuf_moduledir = "
1097 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1099 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1100 (("gdk_pixbuf_cache_file = .*$")
1101 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1104 `(("pkg-config" ,pkg-config)
1105 ("glib" ,glib "bin") ; glib-mkenums, etc.
1106 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1109 ("libcroco" ,libcroco)
1112 ("libxml2" ,libxml2)))
1114 ;; librsvg-2.0.pc refers to all of that.
1116 ("gdk-pixbuf" ,gdk-pixbuf)
1118 (home-page "https://wiki.gnome.org/LibRsvg")
1119 (synopsis "Render SVG files using Cairo")
1121 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1123 (license license:lgpl2.0+)))
1125 (define-public libidl
1131 (uri (let ((upstream-name "libIDL"))
1132 (string-append "mirror://gnome/sources/" upstream-name "/"
1133 (version-major+minor version) "/"
1134 upstream-name "-" version ".tar.bz2")))
1137 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1138 (build-system gnu-build-system)
1139 (inputs `(("glib" ,glib)))
1141 `(("pkg-config" ,pkg-config)
1144 (home-page "http://freecode.com/projects/libidl")
1145 (synopsis "Create trees of CORBA Interface Definition Language files")
1146 (description "Libidl is a library for creating trees of CORBA Interface
1147 Definition Language (idl) files, which is a specification for defining
1148 portable interfaces. libidl was initially written for orbit (the orb from the
1149 GNOME project, and the primary means of libidl distribution). However, the
1150 functionality was designed to be as reusable and portable as possible.")
1151 (license license:lgpl2.0+)))
1154 (define-public orbit2
1160 (uri (let ((upstream-name "ORBit2"))
1161 (string-append "mirror://gnome/sources/" upstream-name "/"
1162 (version-major+minor version) "/"
1163 upstream-name "-" version ".tar.bz2")))
1166 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1167 (build-system gnu-build-system)
1170 ;; The programmer kindly gives us a hook to turn off deprecation
1172 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1173 ;; ... which they then completly ignore !!
1176 'configure 'ignore-deprecations
1178 (substitute* "linc2/src/Makefile.in"
1179 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1181 (inputs `(("glib" ,glib)
1182 ("libidl" ,libidl)))
1184 `(("pkg-config" ,pkg-config)))
1185 (home-page "https://projects.gnome.org/orbit2/")
1186 (synopsis "CORBA 2.4-compliant Object Request Broker")
1187 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1188 featuring mature C, C++ and Python bindings.")
1189 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1190 ;; a version. SOME of the code files have licence notices for GPLv2+.
1191 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1192 (license license:gpl2+)))
1195 (define-public libbonobo
1201 (uri (string-append "mirror://gnome/sources/" name "/"
1202 (version-major+minor version)
1203 "/" name "-" version ".tar.bz2"))
1205 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1206 (patches (search-patches
1207 "libbonobo-activation-test-race.patch"))))
1208 (build-system gnu-build-system)
1210 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1212 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1213 ;; ... which they then completly ignore !!
1216 'configure 'ignore-deprecations
1218 (substitute* "activation-server/Makefile.in"
1219 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1221 (inputs `(("popt" ,popt)
1222 ("libxml2" ,libxml2)))
1223 ;; The following are Required by the .pc file
1226 ("orbit2" ,orbit2)))
1228 `(("intltool" ,intltool)
1229 ("pkg-config" ,pkg-config)
1230 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1233 (home-page "https://developer.gnome.org/libbonobo/")
1234 (synopsis "Framework for creating reusable components for use in GNOME applications")
1235 (description "Bonobo is a framework for creating reusable components for
1236 use in GNOME applications, built on top of CORBA.")
1237 ;; Licence not explicitly stated. Source files contain no licence notices.
1238 ;; Tarball contains text of both GPLv2 and LGPLv2
1239 ;; GPLv2 covers both conditions
1240 (license license:gpl2+)))
1243 (define-public gconf
1250 (let ((upstream-name "GConf"))
1251 (string-append "mirror://gnome/sources/" upstream-name "/"
1252 (version-major+minor version) "/"
1253 upstream-name "-" version ".tar.xz")))
1255 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1256 (build-system gnu-build-system)
1257 (inputs `(("dbus-glib" ,dbus-glib)
1258 ("libxml2" ,libxml2)))
1259 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1260 ("orbit2" ,orbit2)))
1262 `(("intltool" ,intltool)
1263 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1264 ("pkg-config" ,pkg-config)))
1265 (home-page "https://projects.gnome.org/gconf/")
1266 (synopsis "Store application preferences")
1267 (description "Gconf is a system for storing application preferences. It
1268 is intended for user preferences; not arbitrary data storage.")
1269 (license license:lgpl2.0+)
1270 (properties '((upstream-name . "GConf")))))
1273 (define-public gnome-mime-data
1275 (name "gnome-mime-data")
1279 (uri (string-append "mirror://gnome/sources/" name "/"
1280 (version-major+minor version) "/"
1281 name "-" version ".tar.bz2"))
1284 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1285 (build-system gnu-build-system)
1288 ("intltool" ,intltool)))
1289 (home-page "http://www.gnome.org")
1290 (synopsis "Base MIME and Application database for GNOME")
1291 (description "GNOME Mime Data is a module which contains the base MIME
1292 and Application database for GNOME. The data stored by this module is
1293 designed to be accessed through the MIME functions in GnomeVFS.")
1294 (license license:gpl2+)))
1297 (define-public gnome-vfs
1303 (uri (string-append "mirror://gnome/sources/" name "/"
1304 (version-major+minor version) "/"
1305 name "-" version ".tar.bz2"))
1308 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1309 (build-system gnu-build-system)
1313 'configure 'ignore-deprecations
1315 (substitute* '("libgnomevfs/Makefile.in"
1316 "daemon/Makefile.in")
1317 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1320 'configure 'patch-test-async-cancel-to-never-fail
1322 (substitute* "test/test-async-cancel.c"
1323 (("EXIT_FAILURE") "77")))
1324 %standard-phases))))
1325 (inputs `(("libxml2" ,libxml2)
1326 ("dbus-glib" ,dbus-glib)
1328 ("gnome-mime-data" ,gnome-mime-data)
1331 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1332 ("intltool" ,intltool)
1333 ("pkg-config" ,pkg-config)))
1334 (home-page "https://developer.gnome.org/gnome-vfs/")
1335 (synopsis "Access files and folders in GNOME applications")
1337 "GnomeVFS is the core library used to access files and folders in GNOME
1338 applications. It provides a file system abstraction which allows applications
1339 to access local and remote files with a single consistent API.")
1340 (license license:lgpl2.0+)))
1344 (define-public libgnome
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.bz2"))
1355 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1356 (build-system gnu-build-system)
1360 'configure 'enable-deprecated
1362 (substitute* "libgnome/Makefile.in"
1363 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1365 (inputs `(("libxml2" ,libxml2)))
1367 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1368 ("intltool" ,intltool)
1369 ("pkg-config" ,pkg-config)))
1370 ;; The following are listed as Required in the .pc file
1371 ;; (except for libcanberra -- which seems to be oversight on the part
1372 ;; of the upstream developers -- anything that links against libgnome,
1373 ;; must also link against libcanberra
1375 `(("libcanberra" ,libcanberra)
1376 ("libbonobo" ,libbonobo)
1378 ("gnome-vfs" ,gnome-vfs)
1379 ("popt" ,popt))) ;gnome-program.h includes popt.h
1380 (home-page "https://developer.gnome.org/libgnome/")
1381 (synopsis "Useful routines for building applications")
1382 (description "The libgnome library provides a number of useful routines
1383 for building modern applications, including session management, activation of
1384 files and URIs, and displaying help.")
1385 (license license:lgpl2.0+)))
1388 (define-public libart-lgpl
1390 (name "libart-lgpl")
1394 (uri (let ((upstream-name "libart_lgpl"))
1395 (string-append "mirror://gnome/sources/" upstream-name "/"
1396 (version-major+minor version) "/"
1397 upstream-name "-" version ".tar.bz2")))
1400 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1401 (build-system gnu-build-system)
1403 `(("pkg-config" ,pkg-config)))
1404 (home-page "https://people.gnome.org/~mathieu/libart")
1405 (synopsis "2D drawing library")
1406 (description "Libart is a 2D drawing library intended as a
1407 high-quality vector-based 2D library with antialiasing and alpha composition.")
1408 (license license:lgpl2.0+)))
1412 (define-public libgnomecanvas
1414 (name "libgnomecanvas")
1418 (uri (string-append "mirror://gnome/sources/" name "/"
1419 (version-major+minor version) "/"
1420 name "-" version ".tar.gz"))
1423 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1424 (build-system gnu-build-system)
1425 ;; Mentioned as Required in the .pc file
1426 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1429 `(("intltool" ,intltool)
1430 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1431 ("pkg-config" ,pkg-config)))
1432 (home-page "https://developer.gnome.org/libgnomecanvas/")
1433 (synopsis "Flexible widget for creating interactive structured graphics")
1434 (description "The GnomeCanvas widget provides a flexible widget for
1435 creating interactive structured graphics.")
1436 (license license:lgpl2.0+)))
1438 (define-public libgnomecanvasmm
1440 (name "libgnomecanvasmm")
1444 (uri (string-append "mirror://gnome/sources/" name "/"
1445 (version-major+minor version) "/"
1446 name "-" version ".tar.bz2"))
1449 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1450 (build-system gnu-build-system)
1452 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1453 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1455 `(("gtkmm-2" ,gtkmm-2)
1456 ("pkg-config" ,pkg-config)))
1457 (home-page "http://gtkmm.org")
1458 (synopsis "C++ bindings to the GNOME Canvas library")
1459 (description "C++ bindings to the GNOME Canvas library.")
1460 (license license:lgpl2.0+)))
1462 (define-public libgnomeui
1468 (uri (string-append "mirror://gnome/sources/" name "/"
1469 (version-major+minor version) "/"
1470 name "-" version ".tar.bz2"))
1473 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1474 (build-system gnu-build-system)
1475 ;; Mentioned as Required in the .pc file
1476 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1477 ("libgnome" ,libgnome)
1478 ("libgnomecanvas" ,libgnomecanvas)
1479 ("libgnome-keyring" ,libgnome-keyring)))
1480 (inputs `(("libjpeg" ,libjpeg)
1482 ("libbonobo" ,libbonobo)
1483 ("libxml2" ,libxml2)
1484 ("libglade" ,libglade)))
1486 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1487 ("intltool" ,intltool)
1488 ("pkg-config" ,pkg-config)))
1489 (home-page "https://developer.gnome.org/libgnomeui/")
1490 (synopsis "Additional widgets for applications")
1491 (description "The libgnomeui library provides additional widgets for
1492 applications. Many of the widgets from libgnomeui have already been
1494 (license license:lgpl2.0+)))
1496 (define-public libglade
1502 (uri (string-append "mirror://gnome/sources/" name "/"
1503 (version-major+minor version) "/"
1504 name "-" version ".tar.bz2"))
1507 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1508 (build-system gnu-build-system)
1510 `(("python" ,python))) ;; needed for the optional libglade-convert program
1512 `(("gtk+-2" ,gtk+-2)
1513 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1515 `(("pkg-config" ,pkg-config)))
1516 (home-page "https://developer.gnome.org/libglade")
1517 (synopsis "Load glade interfaces and access the glade built widgets")
1518 (description "Libglade is a library that provides interfaces for loading
1519 graphical interfaces described in glade files and for accessing the
1520 widgets built in the loading process.")
1521 (license license:gpl2+))) ; This is correct. GPL not LGPL
1523 (define-public libgnomeprint
1524 ;; This library has been deprecated since 2006; see
1525 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1527 (name "libgnomeprint")
1531 (uri (string-append "mirror://gnome/sources/" name "/"
1532 (version-major+minor version) "/"
1533 name "-" version ".tar.bz2"))
1536 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1537 (build-system gnu-build-system)
1540 ("libart-lgpl" ,libart-lgpl)
1542 ("libxml2" ,libxml2)))
1544 `(("intltool" ,intltool)
1545 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1546 ("pkg-config" ,pkg-config)))
1547 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1548 (synopsis "Printing framework for GNOME")
1550 "GNOME-print was a printing framework for GNOME. It has been deprecated
1551 since ca. 2006, when GTK+ itself incorporated printing support.")
1552 (license license:lgpl2.0+)))
1555 (define-public libgnomeprintui
1556 ;; Deprecated; see libgnomeprint.
1558 (name "libgnomeprintui")
1562 (uri (string-append "mirror://gnome/sources/" name "/"
1563 (version-major+minor version) "/"
1564 name "-" version ".tar.bz2"))
1567 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1568 (build-system gnu-build-system)
1569 ;; Mentioned as Required in the .pc file
1570 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1571 (inputs `(("gtk+" ,gtk+-2)
1573 ("gnome-icon-theme" ,gnome-icon-theme)
1574 ("libgnomecanvas" ,libgnomecanvas)
1575 ("libxml2" ,libxml2)))
1577 `(("intltool" ,intltool)
1578 ("pkg-config" ,pkg-config)))
1579 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1580 (synopsis "Printing framework for GNOME")
1581 (description (package-description libgnomeprint))
1582 (license license:lgpl2.0+)))
1584 (define-public libbonoboui
1586 (name "libbonoboui")
1590 (uri (string-append "mirror://gnome/sources/" name "/"
1591 (version-major+minor version) "/"
1592 name "-" version ".tar.bz2"))
1595 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1596 (build-system gnu-build-system)
1600 'check 'start-xserver
1601 (lambda* (#:key inputs #:allow-other-keys)
1602 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1605 (setenv "HOME" (getcwd))
1606 (setenv "DISPLAY" disp)
1607 ;; There must be a running X server and make check doesn't start one.
1608 ;; Therefore we must do it.
1609 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1611 ;; Mentioned as Required by the .pc file
1612 (propagated-inputs `(("libxml2" ,libxml2)))
1615 ("pangox-compat" ,pangox-compat)
1616 ("libgnome" ,libgnome)
1617 ("libgnomecanvas" ,libgnomecanvas)
1618 ("libglade" ,libglade)))
1620 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1621 ("intltool" ,intltool)
1622 ("xorg-server" ,xorg-server) ; For running the tests
1623 ("pkg-config" ,pkg-config)))
1624 (home-page "https://developer.gnome.org/libbonoboui/")
1625 (synopsis "Some user interface controls using Bonobo")
1626 (description "The Bonobo UI library provides a number of user interface
1627 controls using the Bonobo component framework.")
1628 (license license:lgpl2.0+)))
1630 (define-public libwnck
1636 (uri (string-append "mirror://gnome/sources/" name "/"
1637 (version-major+minor version) "/"
1638 name "-" version ".tar.xz"))
1640 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1641 (build-system gnu-build-system)
1643 `(("pkg-config" ,pkg-config)
1644 ("intltool" ,intltool)))
1647 ("libxres" ,libxres)
1648 ("startup-notification" ,startup-notification)))
1649 (home-page "https://developer.gnome.org/libwnck/")
1650 (synopsis "Window Navigator Construction Kit")
1652 "Libwnck is the Window Navigator Construction Kit, a library for use in
1653 writing pagers, tasklists, and more generally applications that are dealing
1654 with window management. It tries hard to respect the Extended Window Manager
1655 Hints specification (EWMH).")
1656 (license license:lgpl2.0+)))
1658 ;; stable version for gtk2, required by xfwm4.
1659 (define-public libwnck-2
1660 (package (inherit libwnck)
1665 (uri (string-append "mirror://gnome/sources/" name "/"
1666 (version-major+minor version) "/"
1667 name "-" version ".tar.xz"))
1670 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1673 ("libxres" ,libxres)
1674 ("startup-notification" ,startup-notification)))))
1676 (define-public goffice
1682 (uri (string-append "mirror://gnome/sources/" name "/"
1683 (version-major+minor version) "/"
1684 name "-" version ".tar.xz"))
1686 (base32 "00yn5ly1x50ynrwgl783pwnjy4k2ckp8n54mfnqv6qsq5fi7ajjm"))))
1687 (build-system gnu-build-system)
1689 "doc")) ;4.1 MiB of gtk-doc
1691 '(#:configure-flags (list (string-append "--with-html-dir="
1692 (assoc-ref %outputs "doc")
1693 "/share/gtk-doc/html"))))
1697 ("librsvg" ,librsvg)
1698 ("libxslt" ,libxslt)
1699 ("libxml2" ,libxml2)))
1701 `(("intltool" ,intltool)
1702 ("glib" ,glib "bin")
1703 ("pkg-config" ,pkg-config)))
1704 (home-page "https://developer.gnome.org/goffice/")
1705 (synopsis "Document-centric objects and utilities")
1706 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1708 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1710 (list license:gpl2 license:gpl3))))
1712 (define-public goffice-0.8
1713 (package (inherit goffice)
1717 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1718 (version-major+minor version) "/"
1719 (package-name goffice) "-" version ".tar.xz"))
1721 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1725 'unpack 'fix-pcre-check
1727 ;; Only glib.h can be included directly. See
1728 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1729 (substitute* "configure"
1730 (("glib/gregex\\.h") "glib.h")) #t)
1733 ,@(package-arguments goffice)))
1735 ;; libgoffice-0.8.pc mentions libgsf-1
1736 `(("libgsf" ,libgsf)))
1739 ,@(alist-delete "gtk" (package-inputs goffice))))))
1741 (define-public gnumeric
1747 (uri (string-append "mirror://gnome/sources/" name "/"
1748 (version-major+minor version) "/"
1749 name "-" version ".tar.xz"))
1752 "09f7h4lvwzyl0amd3axapwbsrnrvvpwxyhs540jlrv425n0j0j8b"))))
1753 (build-system glib-or-gtk-build-system)
1755 `(;; The gnumeric developers don't worry much about failing tests.
1756 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1759 (modify-phases %standard-phases
1761 'configure 'pre-conf
1762 (lambda* (#:key outputs #:allow-other-keys)
1763 ;; Make install tries to write into the directory of goffice
1764 ;; I am informed that this only affects the possibility to embed a
1765 ;; spreadsheet inside an Abiword document. So presumably when we
1766 ;; package Abiword we'll have to refer it to this directory.
1767 (substitute* "configure"
1768 (("^GOFFICE_PLUGINS_DIR=.*")
1769 (string-append "GOFFICE_PLUGINS_DIR="
1770 (assoc-ref outputs "out")
1771 "/goffice/plugins"))))))))
1775 ("goffice" ,goffice)
1777 ("librsvg" ,librsvg)
1778 ("libxml2" ,libxml2)
1779 ("libxslt" ,libxslt)
1780 ("python" ,python-2)
1781 ("python2-pygobject" ,python2-pygobject)
1785 ("docbook-xml" ,docbook-xml)
1786 ("intltool" ,intltool)
1787 ("itstool" ,itstool)
1788 ("glib:bin" ,glib "bin")
1789 ("pkg-config" ,pkg-config)))
1790 (home-page "http://www.gnumeric.org")
1791 (synopsis "Spreadsheet application")
1793 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1794 interoperable with other spreadsheet applications. It has a vast array of
1795 features beyond typical spreadsheet functionality, such as support for linear
1796 and non-linear solvers, statistical analysis, and telecommunication
1799 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1800 (list license:gpl2 license:gpl3))))
1802 (define-public gnome-themes-standard
1804 (name "gnome-themes-standard")
1809 (uri (string-append "mirror://gnome/sources/" name "/"
1810 (version-major+minor version) "/" name "-"
1814 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1815 (build-system gnu-build-system)
1818 ;; Don't create 'icon-theme.cache'.
1819 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1820 (true (string-append coreutils "/bin/true")))
1821 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1825 ("librsvg" ,librsvg)
1826 ("libxml2" ,libxml2)
1829 `(("intltool" ,intltool)
1830 ("glib:bin" ,glib "bin")
1831 ("pkg-config" ,pkg-config)))
1832 (home-page "https://launchpad.net/gnome-themes-standard")
1833 (synopsis "Default GNOME 3 themes")
1835 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1836 (license license:lgpl2.1+)))
1838 (define-public seahorse
1845 (uri (string-append "mirror://gnome/sources/" name "/"
1846 (version-major+minor version) "/" name "-"
1850 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1851 (build-system glib-or-gtk-build-system)
1857 ("openldap" ,openldap)
1858 ("openssh" ,openssh)
1859 ("libsecret" ,libsecret)
1860 ("libsoup" ,libsoup)))
1862 `(("intltool" ,intltool)
1863 ("glib:bin" ,glib "bin")
1864 ("itstool" ,itstool)
1865 ("pkg-config" ,pkg-config)
1866 ("xmllint" ,libxml2)))
1867 (home-page "https://launchpad.net/gnome-themes-standard")
1868 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1870 "Seahorse is a GNOME application for managing encryption keys and
1871 passwords in the GNOME keyring.")
1872 (license license:gpl2+)))
1880 (uri (string-append "mirror://gnome/sources/" name "/"
1881 (version-major+minor version) "/"
1882 name "-" version ".tar.xz"))
1885 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
1886 (build-system gnu-build-system)
1889 (modify-phases %standard-phases
1890 (add-before 'check 'pre-check
1893 ;; For missing '/etc/machine-id'.
1894 (setenv "DBUS_FATAL_WARNINGS" "0")
1896 ;; Build the Vala API generator
1897 #:configure-flags '("--enable-vapigen")))
1899 `(("pkg-config" ,pkg-config)
1902 ("xsltproc" ,libxslt)
1903 ("dbus" ,dbus) ; for dbus tests
1904 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1906 `(("glib" ,glib))) ; required by libvala-0.26.pc
1907 (home-page "http://live.gnome.org/Vala/")
1908 (synopsis "Compiler for the GObject type system")
1910 "Vala is a programming language that aims to bring modern programming
1911 language features to GNOME developers without imposing any additional runtime
1912 requirements and without using a different ABI compared to applications and
1913 libraries written in C.")
1914 (license license:lgpl2.1+)))
1922 (uri (string-append "mirror://gnome/sources/" name "/"
1923 (version-major+minor version) "/"
1924 name "-" version ".tar.xz"))
1927 "1hsqc7238862mqnva5qqdfxnhpwq3ak6zx6kbjj95cs04wcgpad3"))))
1928 (build-system gnu-build-system)
1930 `(("pkg-config" ,pkg-config)
1931 ("intltool" ,intltool)
1933 ("gobject-introspection" ,gobject-introspection)
1934 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1936 ("xmllint" ,libxml2)))
1938 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1939 ("gnutls" ,gnutls) ;ditto
1940 ("pcre2" ,pcre2))) ;ditto
1941 (home-page "http://www.gnome.org/")
1942 (synopsis "Virtual Terminal Emulator")
1944 "VTE is a library (libvte) implementing a terminal emulator widget for
1945 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1946 gnome-terminal, but can also be used to embed a console/terminal in games,
1947 editors, IDEs, etc.")
1948 (license license:lgpl2.1+)))
1950 (define-public vte-ng
1954 (version "0.48.3.a")
1956 `(("gtk-doc" ,gtk-doc)
1958 ("autoconf" ,autoconf)
1959 ("automake" ,automake)
1960 ("libtool" ,libtool)
1961 ,@(package-native-inputs vte)))
1964 (uri (string-append "https://github.com/thestinger/"
1965 name "/archive/" version ".tar.gz"))
1966 (file-name (string-append name "-" version ".tar.gz"))
1969 "1wdkf090zclqy11hxdjgy8f6fgzajl0xzzirajikhbaiill7f8zh"))))
1971 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1972 #:phases (modify-phases %standard-phases
1973 (add-after 'unpack 'bootstrap
1975 (setenv "NOCONFIGURE" "true")
1976 (zero? (system* "sh" "autogen.sh")))))))
1977 (synopsis "Enhanced VTE terminal widget")
1979 "VTE is a library (libvte) implementing a terminal emulator widget for
1980 GTK+, this fork provides additional functions exposed for keyboard text
1981 selection and URL hints.")))
1983 ;; provides vte 2.90, required for some terminal emulators
1984 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1985 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1986 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1987 ;; pantheon-terminal, roxterm are not currently packaged
1988 (define-public vte-0.36
1989 (package (inherit vte)
1994 (uri (string-append "mirror://gnome/sources/" name "/"
1995 (version-major+minor version) "/"
1996 name "-" version ".tar.xz"))
1999 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2002 ("ncurses" ,ncurses)))))
2004 ;; stable version for gtk2, required by xfce4-terminal.
2005 (define-public vte/gtk+-2
2006 (package (inherit vte)
2011 (uri (string-append "mirror://gnome/sources/" name "/"
2012 (version-major+minor version) "/"
2013 name "-" version ".tar.xz"))
2016 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2017 (patches (search-patches
2018 "vte-CVE-2012-2738-pt1.patch"
2019 "vte-CVE-2012-2738-pt2.patch"))))
2021 '(#:configure-flags '("--disable-python")))
2023 `(("pkg-config" ,pkg-config)
2024 ("intltool" ,intltool)
2025 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2027 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2028 ("ncurses" ,ncurses))))) ; required by libvte.la
2030 (define-public vinagre
2036 (uri (string-append "mirror://gnome/sources/" name "/"
2037 (version-major+minor version) "/"
2038 name "-" version ".tar.xz"))
2041 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2042 (build-system glib-or-gtk-build-system)
2044 `(("pkg-config" ,pkg-config)
2045 ("intltool" ,intltool)
2046 ("itstool" ,itstool)
2047 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2048 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2050 `(("libxml2" ,libxml2)
2051 ("gtk-vnc" ,gtk-vnc)
2052 ("gnome-keyring" ,gnome-keyring)
2053 ("libsecret" ,libsecret)
2054 ("freerdp" ,freerdp)
2056 ("spice-gtk" ,spice-gtk)
2057 ("telepathy-glib" ,telepathy-glib)
2060 `(#:configure-flags '("--enable-rdp")))
2061 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2062 (synopsis "Remote desktop viewer for GNOME")
2063 (description "Vinagre is a remote display client supporting the VNC, SPICE
2064 and RDP protocols.")
2065 (license license:gpl3+)))
2067 (define-public dconf
2074 "mirror://gnome/sources/" name "/"
2075 (version-major+minor version) "/"
2076 name "-" version ".tar.xz"))
2079 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
2080 (build-system glib-or-gtk-build-system)
2085 ("libxml2" ,libxml2)))
2087 `(("libxslt" ,libxslt)
2088 ("docbook-xml" ,docbook-xml-4.2)
2089 ("docbook-xsl" ,docbook-xsl)
2090 ("intltool" ,intltool)
2091 ("pkg-config" ,pkg-config)))
2093 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2094 ; or /etc/machine-id.
2096 ;; Set the correct RUNPATH in binaries.
2097 (list (string-append "LDFLAGS=-Wl,-rpath="
2098 (assoc-ref %outputs "out") "/lib")
2099 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2102 'configure 'fix-docbook
2103 (lambda* (#:key inputs #:allow-other-keys)
2104 (substitute* "docs/Makefile.in"
2105 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2106 (string-append (assoc-ref inputs "docbook-xsl")
2107 "/xml/xsl/docbook-xsl-"
2108 ,(package-version docbook-xsl)
2109 "/manpages/docbook.xsl")))
2110 (setenv "XML_CATALOG_FILES"
2111 (string-append (assoc-ref inputs "docbook-xml")
2112 "/xml/dtd/docbook/catalog.xml")))
2114 (home-page "https://developer.gnome.org/dconf")
2115 (synopsis "Low-level GNOME configuration system")
2116 (description "Dconf is a low-level configuration system. Its main purpose
2117 is to provide a backend to GSettings on platforms that don't already have
2118 configuration storage systems.")
2119 (license license:lgpl2.1)))
2121 (define-public json-glib
2127 (uri (string-append "mirror://gnome/sources/" name "/"
2128 (version-major+minor version) "/"
2129 name "-" version ".tar.xz"))
2132 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
2133 (build-system gnu-build-system)
2135 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2136 ("gobject-introspection" ,gobject-introspection)
2137 ("pkg-config" ,pkg-config)))
2139 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2140 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2141 (synopsis "Compiler for the GObject type system")
2143 "JSON-GLib is a C library based on GLib providing serialization and
2144 deserialization support for the JavaScript Object Notation (JSON) format
2145 described by RFC 4627. It provides parser and generator GObject classes and
2146 various wrappers for the complex data types employed by JSON, such as arrays
2148 (license license:lgpl2.1+)))
2150 (define-public libxklavier
2152 (name "libxklavier")
2156 (uri (string-append "mirror://gnome/sources/" name "/"
2157 version "/" name "-" version ".tar.xz"))
2160 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2161 (build-system gnu-build-system)
2164 (list (string-append "--with-xkb-base="
2165 (assoc-ref %build-inputs "xkeyboard-config")
2166 "/share/X11/xkb"))))
2168 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2169 ("gobject-introspection" ,gobject-introspection)
2170 ("pkg-config" ,pkg-config)))
2172 ;; Required by libxklavier.pc.
2174 ("libxml2" ,libxml2)))
2176 `(("iso-codes" ,iso-codes)
2178 ("libxkbfile" ,libxkbfile)
2179 ("xkbcomp" ,xkbcomp)
2180 ("xkeyboard-config" ,xkeyboard-config)))
2181 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2182 (synopsis "High-level API for X Keyboard Extension")
2184 "LibXklavier is a library providing high-level API for X Keyboard
2185 Extension known as XKB. This library is intended to support XFree86 and other
2186 commercial X servers. It is useful for creating XKB-related software (layout
2188 (license license:lgpl2.0+)))
2190 (define-public python2-rsvg
2191 ;; XXX: This is actually a subset of gnome-python-desktop.
2193 (name "python2-rsvg")
2199 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2200 version ".tar.bz2"))
2203 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2204 (build-system gnu-build-system)
2206 `(("pkg-config" ,pkg-config)))
2208 `(("python" ,python-2)
2209 ("python2-pygtk" ,python2-pygtk)
2210 ("librsvg" ,librsvg)))
2211 (home-page "http://www.gnome.org")
2212 (synopsis "Python bindings to librsvg")
2214 "This packages provides Python bindings to librsvg, the SVG rendering
2217 ;; This is the license of the rsvg bindings. The license of each module
2218 ;; of gnome-python-desktop is given in 'COPYING'.
2219 (license license:lgpl2.1+)))
2221 (define-public glib-networking
2223 (name "glib-networking")
2227 (uri (string-append "mirror://gnome/sources/glib-networking/"
2228 (version-major+minor version) "/"
2229 name "-" version ".tar.xz"))
2232 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2234 (search-patches "glib-networking-ssl-cert-file.patch"))))
2235 (build-system gnu-build-system)
2238 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2240 (modify-phases %standard-phases
2241 (add-before 'configure 'patch-giomoduledir
2242 ;; Install GIO modules into $out/lib/gio/modules.
2244 (substitute* "configure"
2245 (("GIO_MODULE_DIR=.*")
2246 (string-append "GIO_MODULE_DIR=" %output
2247 "/lib/gio/modules\n")))))
2248 (add-before 'check 'use-empty-ssl-cert-file
2250 ;; The ca-certificates.crt is not available in the build
2252 (setenv "SSL_CERT_FILE" "/dev/null")
2255 `(("pkg-config" ,pkg-config)
2256 ("intltool" ,intltool)))
2260 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2261 ("p11-kit" ,p11-kit)))
2262 (home-page "http://www.gnome.org")
2263 (synopsis "Network-related GIO modules")
2265 "This package contains various network related extensions for the GIO
2267 (license license:lgpl2.0+)))
2275 (uri (string-append "mirror://gnome/sources/rest/"
2276 (version-major+minor version) "/"
2277 name "-" version ".tar.xz"))
2280 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2281 (build-system gnu-build-system)
2283 '(#:tests? #f ; tests require internet connection
2285 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2287 `(("glib-mkenums" ,glib "bin")
2288 ("gobject-introspection" ,gobject-introspection)
2289 ("pkg-config" ,pkg-config)))
2291 ;; rest-0.7.pc refers to all these.
2293 ("libsoup" ,libsoup)
2294 ("libxml2" ,libxml2)))
2295 (home-page "http://www.gtk.org/")
2296 (synopsis "RESTful web api query library")
2298 "This library was designed to make it easier to access web services that
2299 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2300 libxml to ease remote use of the RESTful API.")
2301 (license license:lgpl2.1+)))
2303 (define-public libsoup
2309 (uri (string-append "mirror://gnome/sources/libsoup/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2314 "1fggmshk2mfsyfvml6paki65xj9rv1s5p7ds41xmnx6yazsnkik2"))))
2315 (build-system gnu-build-system)
2316 (outputs '("out" "doc"))
2319 (list (string-append "--with-html-dir="
2320 (assoc-ref %outputs "doc")
2321 "/share/gtk-doc/html")
2322 (string-append "--with-apache-module-dir="
2323 (assoc-ref %build-inputs "httpd")
2326 (modify-phases %standard-phases
2327 (add-before 'configure 'disable-unconnected-socket-test
2328 ;; This test fails due to missing /etc/nsswitch.conf
2329 ;; in the build environment.
2331 (substitute* "tests/socket-test.c"
2332 ((".*/sockets/unconnected.*") ""))
2334 (add-before 'check 'pre-check
2336 ;; The 'check-local' target runs 'env LANG=C sort -u',
2337 ;; unset 'LC_ALL' to make 'LANG' working.
2339 ;; The ca-certificates.crt is not available in the build
2341 (setenv "SSL_CERT_FILE" "/dev/null")
2342 ;; HTTPD in Guix uses mod_event and does not build prefork.
2343 (substitute* "tests/httpd.conf"
2344 (("^LoadModule mpm_prefork_module.*$") "\n"))
2350 ;; Install vala bindings into $out.
2351 (string-append "vapidir=" %output
2355 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2356 ("gobject-introspection" ,gobject-introspection)
2357 ("intltool" ,intltool)
2358 ("pkg-config" ,pkg-config)
2359 ("python" ,python-wrapper)
2361 ;; These are needed for the tests.
2362 ;; FIXME: Add PHP once available.
2366 ;; libsoup-2.4.pc refers to all these.
2368 ("libxml2" ,libxml2)))
2370 `(("glib-networking" ,glib-networking)
2371 ("sqlite" ,sqlite)))
2372 (home-page "https://live.gnome.org/LibSoup/")
2373 (synopsis "GLib-based HTTP Library")
2375 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2376 and the GLib main loop, to integrate well with GNOME applications.")
2377 (license license:lgpl2.0+)))
2379 (define-public libsecret
2386 "mirror://gnome/sources/libsecret/"
2387 (version-major+minor version) "/"
2388 name "-" version ".tar.xz"))
2391 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2392 (build-system gnu-build-system)
2393 (outputs '("out" "doc"))
2395 `(#:tests? #f ; FIXME: Testing hangs.
2397 (list (string-append "--with-html-dir="
2398 (assoc-ref %outputs "doc")
2399 "/share/gtk-doc/html"))))
2401 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2402 ("gobject-introspection" ,gobject-introspection)
2403 ("intltool" ,intltool)
2404 ("pkg-config" ,pkg-config)
2406 ("xsltproc" ,libxslt)))
2407 ;; These are needed for the tests.
2408 ;; FIXME: Add gjs once available.
2410 ;("python2" ,python-2)
2411 ;("python2-dbus" ,python2-dbus)
2412 ;("python2-pygobject" ,python2-pygobject)
2413 ;("python2-pygobject-2" ,python2-pygobject-2)))
2415 `(("glib" ,glib))) ; required by libsecret-1.pc
2417 `(("docbook-xsl" ,docbook-xsl)
2418 ("libgcrypt" ,libgcrypt)
2419 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2420 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2421 (synopsis "GObject bindings for \"Secret Service\" API")
2423 "Libsecret is a GObject based library for storing and retrieving passwords
2424 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2425 (license license:lgpl2.1+)))
2427 (define-public five-or-more
2429 (name "five-or-more")
2434 (uri (string-append "mirror://gnome/sources/" name "/"
2435 (version-major+minor version) "/"
2436 name "-" version ".tar.xz"))
2439 "1b26afyjr26wqy5j008gzsi3hpblbmabh0192lx6414lml1qxkxs"))))
2440 (build-system glib-or-gtk-build-system)
2442 `(("pkg-config" ,pkg-config)
2443 ("desktop-file-utils" ,desktop-file-utils)
2444 ("intltool" ,intltool)
2445 ("itstool" ,itstool)
2446 ("xmllint" ,libxml2)))
2449 ("librsvg" ,librsvg)))
2450 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2451 (synopsis "Logic puzzle game")
2452 (description "Five or More is a game where you try to align
2453 five or more objects of the same color and shape causing them to disappear.
2454 On every turn more objects will appear, until the board is full.
2455 Try to last as long as possible.")
2456 (license license:gpl2+)))
2458 (define-public gnome-mines
2460 (name "gnome-mines")
2465 (uri (string-append "mirror://gnome/sources/" name "/"
2466 (version-major+minor version) "/"
2467 name "-" version ".tar.xz"))
2470 "1xh2as2xmh7gx45gpnl0fh9xjpvyyn3m84qgv41kyp2s4clsyqz6"))))
2471 (build-system glib-or-gtk-build-system)
2474 (modify-phases %standard-phases
2475 (add-before 'configure 'patch-/bin/true
2477 (substitute* "configure"
2478 (("/bin/true") (which "true"))))))))
2480 `(("pkg-config" ,pkg-config)
2481 ("desktop-file-utils" ,desktop-file-utils)
2482 ("intltool" ,intltool)
2483 ("itstool" ,itstool)
2484 ("xmllint" ,libxml2)))
2487 ("libgnome-games-support" ,libgnome-games-support)
2488 ("librsvg" ,librsvg)))
2489 (home-page "https://wiki.gnome.org/Apps/Mines")
2490 (synopsis "Minesweeper game")
2492 "Mines (previously gnomine) is a puzzle game where you locate mines
2493 floating in an ocean using only your brain and a little bit of luck.")
2494 (license license:gpl2+)))
2496 (define-public gnome-sudoku
2498 (name "gnome-sudoku")
2503 (uri (string-append "mirror://gnome/sources/" name "/"
2504 (version-major+minor version) "/"
2505 name "-" version ".tar.xz"))
2508 "1mw5ykk7wr0r9770jj5270f07rjws0pmpjs0b1fywj4li13r98h4"))))
2509 (build-system glib-or-gtk-build-system)
2511 `(("pkg-config" ,pkg-config)
2512 ("desktop-file-utils" ,desktop-file-utils)
2513 ("intltool" ,intltool)
2514 ("itstool" ,itstool)
2515 ("xmllint" ,libxml2)))
2518 ("json-glib" ,json-glib)
2520 ("librsvg" ,librsvg)
2521 ("qqwing" ,qqwing)))
2522 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2523 (synopsis "Japanese logic game")
2525 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2526 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2527 possible while still providing features that make playing difficult Sudoku
2529 (license license:gpl2+)))
2531 (define-public gnome-terminal
2533 (name "gnome-terminal")
2538 (uri (string-append "mirror://gnome/sources/" name "/"
2539 (version-major+minor version) "/"
2540 name "-" version ".tar.xz"))
2543 "03zcvxlzg7n4pz65vrg5xj3qpkqr4bz162mgmaz4bjh71b1xl7i8"))))
2544 (build-system glib-or-gtk-build-system)
2547 (list "--disable-migration" "--disable-search-provider"
2548 "--without-nautilus-extension")
2550 (modify-phases %standard-phases
2551 (add-before 'configure 'patch-/bin/true
2553 (substitute* "configure"
2554 (("/bin/true") (which "true"))))))))
2556 `(("pkg-config" ,pkg-config)
2557 ("desktop-file-utils" ,desktop-file-utils)
2558 ("intltool" ,intltool)
2559 ("itstool" ,itstool)
2560 ("xmllint" ,libxml2)))
2562 `(("dconf" ,dconf)))
2567 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2568 ("util-linux" ,util-linux)
2570 (home-page "https://wiki.gnome.org/Apps/Terminal")
2571 (synopsis "Terminal emulator")
2573 "GNOME Terminal is a terminal emulator application for accessing a
2574 UNIX shell environment which can be used to run programs available on
2577 It supports several profiles, multiple tabs and implements several
2578 keyboard shortcuts.")
2579 (license license:gpl3+)))
2581 (define-public colord
2588 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2589 name "-" version ".tar.xz"))
2592 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2593 (build-system glib-or-gtk-build-system)
2595 '(;; The tests want to run valgrind. Punt for now.
2597 #:configure-flags (list "--localstatedir=/var"
2598 ;; GUSB not packaged yet.
2600 ;; No dep on systemd.
2601 "--disable-systemd-login"
2602 ;; Wants to install to global completion dir;
2604 "--disable-bash-completion"
2605 ;; colord-gtk not packaged yet.
2606 "--disable-session-example"
2607 "--with-daemon-user=colord"
2609 (string-append "--with-udevrulesdir="
2610 (assoc-ref %outputs "out")
2611 "/lib/udev/rules.d"))
2613 (modify-phases %standard-phases
2614 (add-before 'configure 'patch-/bin/true
2616 (substitute* "configure"
2617 (("/bin/true") (which "true")))
2618 (substitute* "src/Makefile.in"
2619 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2620 "if test -w $(DESTDIR)$(localstatedir);")))))))
2622 `(("pkg-config" ,pkg-config)
2623 ("gobject-introspection" ,gobject-introspection)
2624 ("libtool" ,libtool)
2625 ("intltool" ,intltool)))
2627 ;; colord.pc refers to all these.
2632 `(("dbus-glib" ,dbus-glib)
2633 ("libgudev" ,libgudev)
2637 ("sane-backends" ,sane-backends)))
2638 (home-page "http://www.freedesktop.org/software/colord/")
2639 (synopsis "Color management service")
2640 (description "Colord is a system service that makes it easy to manage,
2641 install and generate color profiles to accurately color manage input and
2643 (license license:gpl2+)))
2645 (define-public geoclue
2652 (uri (string-append "https://www.freedesktop.org/software/" name
2653 "/releases/" (version-major+minor version) "/"
2654 name "-" version ".tar.xz"))
2657 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
2658 (patches (search-patches "geoclue-config.patch"))))
2659 (build-system glib-or-gtk-build-system)
2661 '(;; The tests want to run the system bus.
2663 #:configure-flags (list ;; Disable bits requiring ModemManager.
2664 "--disable-3g-source"
2665 "--disable-cdma-source"
2666 "--disable-modem-gps-source"
2667 "--with-dbus-service-user=geoclue")
2669 (modify-phases %standard-phases
2670 (add-before 'configure 'patch-/bin/true
2672 (substitute* "configure"
2673 (("/bin/true") (which "true"))))))))
2675 `(("pkg-config" ,pkg-config)
2676 ("gobject-introspection" ,gobject-introspection)
2677 ("intltool" ,intltool)))
2681 ("json-glib" ,json-glib)
2682 ("libsoup" ,libsoup)))
2683 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2684 (synopsis "Geolocation service")
2685 (description "Geoclue is a D-Bus service that provides location
2686 information. The primary goal of the Geoclue project is to make creating
2687 location-aware applications as simple as possible, while the secondary goal is
2688 to ensure that no application can access location information without explicit
2689 permission from user.")
2690 (license license:gpl2+)))
2692 (define-public geocode-glib
2694 (name "geocode-glib")
2698 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2699 (version-major+minor version) "/"
2700 name "-" version ".tar.xz"))
2703 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2704 (build-system gnu-build-system)
2706 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2707 ;; work for the builder. Punt.
2710 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2711 ("gobject-introspection" ,gobject-introspection)
2712 ("pkg-config" ,pkg-config)
2713 ("json-glib" ,json-glib)))
2715 ;; geocode-glib-1.0.pc refers to GIO.
2718 `(("libsoup" ,libsoup)))
2719 (home-page "https://github.com/GNOME/geocode-glib/")
2720 (synopsis "Geocoding and reverse-geocoding library")
2722 "geocode-glib is a convenience library for geocoding (finding longitude,
2723 and latitude from an address) and reverse geocoding (finding an address from
2724 coordinates) using the Nominatim service. geocode-glib caches requests for
2725 faster results and to avoid unnecessary server load.")
2726 (license license:lgpl2.0+)))
2728 (define-public upower
2734 (uri (string-append "https://upower.freedesktop.org/releases/"
2735 name "-" version ".tar.xz"))
2738 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2739 (patches (search-patches "upower-builddir.patch"))))
2740 (build-system glib-or-gtk-build-system)
2742 '( ;; The tests want to contact the system bus, which can't be done in the
2743 ;; build environment. The integration test can run, but the last of
2744 ;; the up-self-tests doesn't. Disable tests for now.
2746 #:configure-flags (list "--localstatedir=/var"
2747 (string-append "--with-udevrulesdir="
2748 (assoc-ref %outputs "out")
2749 "/lib/udev/rules.d"))
2751 (modify-phases %standard-phases
2752 (add-before 'configure 'patch-/bin/true
2754 (substitute* "configure"
2755 (("/bin/true") (which "true")))))
2756 (add-before 'configure 'patch-integration-test
2758 (substitute* "src/linux/integration-test"
2759 (("/usr/bin/python3") (which "python3"))))))))
2761 `(("gobject-introspection" ,gobject-introspection)
2762 ("pkg-config" ,pkg-config)
2763 ("intltool" ,intltool)
2767 ("libxslt" ,libxslt) ;for 'xsltproc'
2768 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2769 ("docbook-xsl" ,docbook-xsl)))
2771 `(("dbus-glib" ,dbus-glib)
2772 ("libgudev" ,libgudev)
2773 ("libusb" ,libusb)))
2774 (home-page "http://upower.freedesktop.org/")
2775 (synopsis "System daemon for managing power devices")
2777 "UPower is an abstraction for enumerating power devices,
2778 listening to device events and querying history and statistics. Any
2779 application or service on the system can access the org.freedesktop.UPower
2780 service via the system message bus.")
2781 (license license:gpl2+)))
2783 (define-public libgweather
2785 (name "libgweather")
2789 (uri (string-append "mirror://gnome/sources/" name "/"
2790 (version-major+minor version) "/"
2791 name "-" version ".tar.xz"))
2794 "0g35xfcw9vh3sfff42blk9ksrlmkrjmj46h3ad0sqgdn6xh329qj"))))
2795 (build-system gnu-build-system)
2798 `(,(string-append "--with-zoneinfo-dir="
2799 (assoc-ref %build-inputs "tzdata")
2802 (modify-phases %standard-phases
2803 (add-before 'check 'pre-check
2804 (lambda* (#:key inputs #:allow-other-keys)
2805 (substitute* "data/check-timezones.sh"
2806 (("/usr/share/zoneinfo/zone.tab")
2807 (string-append (assoc-ref inputs "tzdata")
2808 "/share/zoneinfo/zone.tab")))
2810 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2811 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2812 (substitute* "data/Locations.xml"
2817 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2818 ("gobject-introspection" ,gobject-introspection)
2819 ("pkg-config" ,pkg-config)
2820 ("intltool" ,intltool)))
2822 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2825 ("gdk-pixbuf" ,gdk-pixbuf)
2826 ("libxml2" ,libxml2)
2827 ("libsoup" ,libsoup)))
2829 `(("tzdata" ,tzdata)
2830 ("geocode-glib" ,geocode-glib)))
2831 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2832 (synopsis "Location, time zone, and weather library for GNOME")
2834 "libgweather is a library to access weather information from online
2835 services for numerous locations.")
2836 (license license:gpl2+)))
2838 (define-public gnome-settings-daemon
2840 (name "gnome-settings-daemon")
2845 (uri (string-append "mirror://gnome/sources/" name "/"
2846 (version-major+minor version) "/"
2847 name "-" version ".tar.xz"))
2850 "1jnw920zn4cadhgmcv2q5ylzqhwm1rmrhf3a14q8mvp38hkdgaaa"))))
2851 (build-system glib-or-gtk-build-system)
2853 `(;; Color management test can't reach the colord system service.
2856 `(("pkg-config" ,pkg-config)
2857 ("intltool" ,intltool)
2858 ("xsltproc" ,libxslt)
2859 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2860 ("docbook-xml" ,docbook-xml-4.2)
2861 ("docbook-xsl" ,docbook-xsl)))
2863 `(("colord" ,colord)
2864 ("libgudev" ,libgudev)
2867 ("pulseaudio" ,pulseaudio)
2868 ("libcanberra" ,libcanberra)
2870 ("libxtst" ,libxtst)
2872 ("libnotify" ,libnotify)
2873 ("geoclue" ,geoclue)
2874 ("geocode-glib" ,geocode-glib)
2875 ("libgweather" ,libgweather)
2876 ("gnome-desktop" ,gnome-desktop)
2879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2880 ("libwacom" ,libwacom)
2881 ("librsvg" ,librsvg)
2882 ("xf86-input-wacom" ,xf86-input-wacom)
2883 ("network-manager" ,network-manager)))
2884 (home-page "http://www.gnome.org")
2885 (synopsis "GNOME settings daemon")
2887 "This package contains the daemon responsible for setting the various
2888 parameters of a GNOME session and the applications that run under it. It
2889 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2890 settings, themes, mouse settings, and startup of other daemons.")
2891 (license license:gpl2+)))
2893 (define-public totem-pl-parser
2895 (name "totem-pl-parser")
2899 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
2900 (version-major+minor version) "/"
2901 "totem-pl-parser-" version ".tar.xz"))
2904 "17089sqyh6w6zr8ci865ihmvqshnslcsk9fbsl4s7yii66y8b0lw"))))
2905 (build-system gnu-build-system)
2907 ;; FIXME: Tests require gvfs.
2910 `(("intltool" ,intltool)
2911 ("glib" ,glib "bin")
2912 ("gobject-introspection" ,gobject-introspection)
2913 ("pkg-config" ,pkg-config)))
2917 ("libxml2" ,libxml2)))
2919 `(("libarchive" ,libarchive)
2920 ("libgcrypt" ,libgcrypt)
2922 ("libsoup" ,libsoup)))
2923 (home-page "https://projects.gnome.org/totem")
2924 (synopsis "Library to parse and save media playlists for GNOME")
2925 (description "Totem-pl-parser is a GObjects-based library to parse and save
2926 playlists in a variety of formats.")
2927 (license license:lgpl2.0+)))
2929 (define-public aisleriot
2935 (uri (string-append "mirror://gnome/sources/" name "/"
2936 (version-major+minor version) "/"
2937 name "-" version ".tar.xz"))
2940 "0a8cir7vgi67sncl0m7cypq11amardm7r68gr3q52a11l8ajycdx"))))
2941 (build-system glib-or-gtk-build-system)
2944 '("--with-platform=gtk-only"
2945 "--with-card-theme-formats=svg")))
2947 `(("desktop-file-utils" ,desktop-file-utils)
2948 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2949 ("intltool" ,intltool)
2950 ("itstool" ,itstool)
2951 ("pkg-config" ,pkg-config)
2952 ("xmllint" ,libxml2)))
2955 ("guile" ,guile-2.0)
2956 ("libcanberra" ,libcanberra)
2957 ("librsvg" ,librsvg)))
2958 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2959 (synopsis "Solitaire card games")
2961 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2962 which are easy to play with the aid of a mouse.")
2963 (license license:gpl3+)))
2965 (define-public devhelp
2971 (uri (string-append "mirror://gnome/sources/" name "/"
2972 (version-major+minor version) "/"
2973 name "-" version ".tar.xz"))
2976 "0c74rk46dy3kvy78m42jl3ip56c5536zmy8v1lbascjmh4fdwn28"))))
2977 (build-system glib-or-gtk-build-system)
2979 `(("intltool" ,intltool)
2980 ("pkg-config" ,pkg-config)))
2982 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2983 ("webkitgtk" ,webkitgtk)))
2984 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2985 (synopsis "API documentation browser for GNOME")
2987 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2988 natively with GTK-Doc (the API reference system developed for GTK+ and used
2989 throughout GNOME for API documentation).")
2990 (license license:gpl2+)))
2999 (uri (string-append "mirror://gnome/sources/" name "/"
3000 (version-major+minor version) "/"
3001 name "-" version ".tar.xz"))
3004 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3005 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3006 ;; cogl, corresponding changes may be appropriate in mutter as well.
3007 (build-system gnu-build-system)
3009 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3010 ("gobject-introspection" ,gobject-introspection)
3011 ;;("xorg-server" ,xorg-server) ; for the test suite
3012 ("pkg-config" ,pkg-config)))
3015 ("gdk-pixbuf" ,gdk-pixbuf)
3017 ("libxext" ,libxext)
3018 ("libxfixes" ,libxfixes)
3019 ("libxdamage" ,libxdamage)
3020 ("libxcomposite" ,libxcomposite)
3021 ("libxrandr" ,libxrandr)))
3026 ("gstreamer" ,gstreamer)
3027 ("gst-plugins-base" ,gst-plugins-base)
3028 ("wayland" ,wayland)))
3030 `(#:configure-flags (list "--enable-cogl-gst"
3031 "--enable-wayland-egl-platform"
3032 "--enable-wayland-egl-server"
3034 ;; Arrange to pass an absolute file name to
3035 ;; dlopen for libGL.so.
3036 (string-append "--with-gl-libname="
3037 (assoc-ref %build-inputs "mesa")
3039 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3040 ;; _FontTransOpen: Unable to Parse address
3041 ;; ${prefix}/share/fonts/X11/misc/
3045 (modify-phases %standard-phases
3046 (add-before 'check 'start-xorg-server
3047 (lambda* (#:key inputs #:allow-other-keys)
3048 ;; The test suite requires a running X server.
3049 (system (format #f "~a/bin/Xvfb :1 &"
3050 (assoc-ref inputs "xorg-server")))
3051 (setenv "DISPLAY" ":1")
3053 (home-page "http://www.cogl3d.org")
3054 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3056 "Cogl is a small library for using 3D graphics hardware to draw pretty
3057 pictures. The API departs from the flat state machine style of OpenGL and is
3058 designed to make it easy to write orthogonal components that can render
3059 without stepping on each others toes.")
3060 (license (list license:expat ; most of the code
3061 license:bsd-3 ; cogl/cogl-point-in-poly.c
3062 license:sgifreeb2.0 ; cogl-path/tesselator/
3063 license:asl2.0)))) ; examples/android/
3065 (define-public clutter
3072 (uri (string-append "mirror://gnome/sources/" name "/"
3073 (version-major+minor version) "/"
3074 name "-" version ".tar.xz"))
3077 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3078 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3079 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3080 (build-system gnu-build-system)
3082 "doc")) ;9 MiB of gtk-doc HTML pages
3084 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3085 ("gobject-introspection" ,gobject-introspection)
3086 ("pkg-config" ,pkg-config)
3087 ("xsltproc" ,libxslt)))
3093 ("json-glib" ,json-glib)
3095 ("libxcomposite" ,libxcomposite)
3096 ("libxdamage" ,libxdamage)
3097 ("libxext" ,libxext)
3098 ("xinput" ,xinput)))
3100 `(("libxkbcommon" ,libxkbcommon)
3103 `(#:configure-flags (list "--enable-x11-backend=yes"
3105 ;; This produces share/doc/{clutter,cally}.
3106 (string-append "--with-html-dir="
3107 (assoc-ref %outputs "doc")
3109 ;; XXX FIXME: Get test suite working. It would probably fail in the
3110 ;; same way the cogl tests fail, since clutter is based on cogl.
3112 (home-page "http://www.clutter-project.org")
3113 (synopsis "Open GL based interactive canvas library")
3115 "Clutter is an Open GL based interactive canvas library, designed for
3116 creating fast, mainly 2D single window applications such as media box UIs,
3117 presentations, kiosk style applications and so on.")
3118 (license license:lgpl2.0+)))
3120 (define-public clutter-gtk
3122 (name "clutter-gtk")
3127 (uri (string-append "mirror://gnome/sources/" name "/"
3128 (version-major+minor version) "/"
3129 name "-" version ".tar.xz"))
3132 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3133 (build-system gnu-build-system)
3135 `(("pkg-config" ,pkg-config)
3136 ("gobject-introspection" ,gobject-introspection)))
3138 ;; clutter-gtk.pc refers to all these.
3139 `(("clutter" ,clutter)
3141 (home-page "http://www.clutter-project.org")
3142 (synopsis "Open GL based interactive canvas library GTK+ widget")
3144 "Clutter is an Open GL based interactive canvas library, designed for
3145 creating fast, mainly 2D single window applications such as media box UIs,
3146 presentations, kiosk style applications and so on.")
3147 (license license:lgpl2.0+)))
3149 (define-public clutter-gst
3151 (name "clutter-gst")
3156 (uri (string-append "mirror://gnome/sources/" name "/"
3157 (version-major+minor version) "/"
3158 name "-" version ".tar.xz"))
3161 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
3162 (build-system gnu-build-system)
3164 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3165 ("pkg-config" ,pkg-config)
3166 ("gobject-introspection" ,gobject-introspection)))
3168 `(("clutter" ,clutter)
3169 ("gstreamer" ,gstreamer)
3170 ("gst-plugins-base" ,gst-plugins-base)))
3171 (home-page "http://www.clutter-project.org")
3172 (synopsis "Integration library for using GStreamer with Clutter")
3174 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3175 It provides a GStreamer sink to upload frames to GL and an actor that
3176 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3177 GL based interactive canvas library.")
3178 (license license:lgpl2.0+)))
3180 (define-public libchamplain
3182 (name "libchamplain")
3187 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3191 "0x5qa1aw1y59lzkmf4j4szspn49341a87vcja4ydgxny1chilwjl"))))
3192 (build-system gnu-build-system)
3193 (arguments '(#:configure-flags '("--enable-vala")))
3195 `(("gobject-introspection" ,gobject-introspection)
3196 ("pkg-config" ,pkg-config)
3199 `(("libsoup" ,libsoup)
3201 ("clutter" ,clutter)
3202 ("clutter-gtk" ,clutter-gtk)
3203 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3207 (home-page "http://projects.gnome.org/libchamplain/")
3208 (synopsis "C library providing a ClutterActor to display maps")
3210 "libchamplain is a C library providing a ClutterActor to display maps.
3211 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3212 and Perl bindings are also available. It supports numerous free map sources
3213 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3214 (license license:lgpl2.1+)))
3223 (uri (string-append "mirror://gnome/sources/" name "/"
3224 (version-major+minor version) "/"
3225 name "-" version ".tar.xz"))
3228 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3229 (build-system gnu-build-system)
3231 `(("intltool" ,intltool)
3232 ("pkg-config" ,pkg-config)
3233 ("gobject-introspection" ,gobject-introspection)))
3236 ("gdk-pixbuf" ,gdk-pixbuf)
3237 ("sqlite" ,sqlite)))
3238 ;; XXX TODO: Figure out how to run the test suite.
3239 (arguments `(#:tests? #f))
3240 (home-page "https://wiki.gnome.org/Projects/Gom")
3241 (synopsis "Object mapper from GObjects to SQLite")
3243 "Gom provides an object mapper from GObjects to SQLite. It helps you
3244 write applications that need to store structured data as well as make complex
3245 queries upon that data.")
3246 (license license:lgpl2.1+)))
3248 (define-public libgames-support
3250 (name "libgames-support")
3254 (uri (string-append "mirror://gnome/sources/" name "/"
3255 (version-major+minor version) "/"
3256 name "-" version ".tar.xz"))
3259 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3260 (build-system gnu-build-system)
3263 (modify-phases %standard-phases
3264 (add-before 'check 'pre-check
3266 ;; tests require a writable HOME.
3267 (setenv "HOME" (getcwd))
3270 `(("intltool" ,intltool)
3271 ("pkg-config" ,pkg-config)
3274 ;; Required by libgames-support-1.0.pc
3276 ("libgee" ,libgee)))
3277 (home-page "https://www.gnome.org/")
3278 (synopsis "Useful functionality shared among GNOME games")
3280 "libgames-support is a small library intended for internal use by
3281 GNOME Games, but it may be used by others.")
3282 (license license:lgpl3+)))
3284 (define-public libgnome-games-support
3286 (inherit libgames-support)
3287 (name "libgnome-games-support")
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3296 "1rsyf5hbjim7zpk1yar3gv65g1nmw6zbbc0smrmxsfk0f9n3j9m6"))))))
3298 (define-public gnome-klotski
3300 (name "gnome-klotski")
3304 (uri (string-append "mirror://gnome/sources/" name "/"
3305 (version-major+minor version) "/"
3306 name "-" version ".tar.xz"))
3309 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
3310 (build-system glib-or-gtk-build-system)
3312 `(("desktop-file-utils" ,desktop-file-utils)
3313 ("intltool" ,intltool)
3314 ("itstool" ,itstool)
3315 ("pkg-config" ,pkg-config)
3316 ("xmllint" ,libxml2)))
3319 ("libgnome-games-support" ,libgnome-games-support)
3320 ("librsvg" ,librsvg)))
3321 (home-page "https://wiki.gnome.org/Apps/Klotski")
3322 (synopsis "Sliding block puzzles")
3324 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3325 the patterned block to the area bordered by green markers. To do so, you will
3326 need to slide other blocks out of the way. Complete each puzzle in as few moves
3328 (license license:gpl2+)))
3330 (define-public grilo
3337 (uri (string-append "mirror://gnome/sources/" name "/"
3338 (version-major+minor version) "/"
3339 name "-" version ".tar.xz"))
3342 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3343 (build-system gnu-build-system)
3345 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3346 ("intltool" ,intltool)
3347 ("pkg-config" ,pkg-config)
3348 ("gobject-introspection" ,gobject-introspection)))
3350 `(("cyrus-sasl" ,cyrus-sasl)
3353 ("libxml2" ,libxml2)
3354 ("liboauth" ,liboauth)
3355 ("libsoup" ,libsoup)
3357 ("totem-pl-parser" ,totem-pl-parser)))
3360 (modify-phases %standard-phases
3361 (add-after 'unpack 'fix-introspection-install-dir
3362 (lambda* (#:key outputs #:allow-other-keys)
3363 (let ((out (assoc-ref outputs "out")))
3364 (substitute* '("src/Makefile.in"
3365 "libs/pls/Makefile.in"
3366 "libs/net/Makefile.in")
3367 (("@INTROSPECTION_GIRDIR@")
3368 (string-append out "/share/gir-1.0/"))
3369 (("@INTROSPECTION_TYPELIBDIR@")
3370 (string-append out "/lib/girepository-1.0/")))))))))
3371 (native-search-paths
3372 (list (search-path-specification
3373 (variable "GRL_PLUGIN_PATH")
3374 (files (list (string-append "lib/grilo-"
3375 (version-major+minor version)))))))
3376 (home-page "http://live.gnome.org/Grilo")
3377 (synopsis "Framework for discovering and browsing media")
3379 "Grilo is a framework focused on making media discovery and browsing easy
3380 for application developers.")
3381 (license license:lgpl2.1+)))
3383 (define-public grilo-plugins
3385 (name "grilo-plugins")
3390 (uri (string-append "mirror://gnome/sources/" name "/"
3391 (version-major+minor version) "/"
3392 name "-" version ".tar.xz"))
3395 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3396 (build-system gnu-build-system)
3398 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3399 ("intltool" ,intltool)
3400 ("itstool" ,itstool)
3401 ("pkg-config" ,pkg-config)))
3404 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3406 ("libxml2" ,libxml2)
3409 ;; XXX TODO: Add oauth
3410 ;; XXX TODO: Add goa
3411 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3412 ;; XXX TODO: Add lua (needs help finding it)
3413 ("json-glib" ,json-glib)
3416 ("libsoup" ,libsoup)
3417 ("libarchive" ,libarchive)
3418 ("totem-pl-parser" ,totem-pl-parser)))
3420 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3423 ,(version-major+minor version)))
3424 ;; XXX FIXME: Try to get the test suite working. It appears to require
3425 ;; a working system dbus. Inside the build container, all tests fail
3426 ;; with: "assertion failed: (source)". Outside of the build container,
3427 ;; most tests succeed.
3429 (home-page "http://live.gnome.org/Grilo")
3430 (synopsis "Plugins for the Grilo media discovery library")
3432 "Grilo is a framework focused on making media discovery and browsing easy
3433 for application developers.")
3434 (license license:lgpl2.1+)))
3436 (define-public totem
3443 (uri (string-append "mirror://gnome/sources/" name "/"
3444 (version-major+minor version) "/"
3445 name "-" version ".tar.xz"))
3448 "00cdlll5b0wj5ckl1pc0a3g39a0hlq0gxkcsh1f6p20fjixqzmwv"))))
3449 (build-system glib-or-gtk-build-system)
3451 `(("pkg-config" ,pkg-config)
3452 ("desktop-file-utils" ,desktop-file-utils)
3453 ("gobject-introspection" ,gobject-introspection)
3454 ("intltool" ,intltool)
3455 ("itstool" ,itstool)
3456 ("xmllint" ,libxml2)))
3458 `(("dconf" ,dconf)))
3461 ("gdk-pixbuf" ,gdk-pixbuf)
3464 ("dbus-glib" ,dbus-glib)
3465 ("clutter" ,clutter)
3466 ("clutter-gtk" ,clutter-gtk)
3467 ("clutter-gst" ,clutter-gst)
3469 ("libxxf86vm" ,libxxf86vm)
3470 ("libxtst" ,libxtst)
3471 ("libxrandr" ,libxrandr)
3472 ("libxml2" ,libxml2)
3473 ("libsoup" ,libsoup)
3474 ("libpeas" ,libpeas)
3475 ("librsvg" ,librsvg)
3477 ("gnome-desktop" ,gnome-desktop)
3478 ("gstreamer" ,gstreamer)
3479 ("gst-plugins-base" ,gst-plugins-base)
3480 ("gst-plugins-good" ,gst-plugins-good)
3481 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3482 ("adwaita-icon-theme" ,adwaita-icon-theme)
3483 ;; XXX We use python-2 because libxml2 because itstool (which needs
3484 ;; libxml) currently uses python-2.
3485 ("python" ,python-2)
3486 ("python-pygobject" ,python2-pygobject)
3487 ;; XXX TODO pylint needed for python support
3488 ("totem-pl-parser" ,totem-pl-parser)
3490 ("grilo-plugins" ,grilo-plugins)
3495 (modify-phases %standard-phases
3497 'install 'wrap-totem
3498 (lambda* (#:key inputs outputs #:allow-other-keys)
3499 (let ((out (assoc-ref outputs "out"))
3500 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3501 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3502 (wrap-program (string-append out "/bin/totem")
3503 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3504 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3506 (home-page "https://wiki.gnome.org/Apps/Videos")
3507 (synopsis "Simple media player for GNOME based on GStreamer")
3508 (description "Totem is a simple yet featureful media player for GNOME
3509 which can read a large number of file formats.")
3510 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3511 ;; to be used and distributed together with GStreamer and Totem. See
3512 ;; file://COPYING in the source distribution for details.
3513 (license license:gpl2+)))
3515 (define-public rhythmbox
3521 (uri (string-append "mirror://gnome/sources/" name "/"
3522 (version-major+minor version) "/"
3523 name "-" version ".tar.xz"))
3526 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
3527 (build-system glib-or-gtk-build-system)
3530 (list "--enable-lirc"
3537 (modify-phases %standard-phases
3539 'install 'wrap-rhythmbox
3540 (lambda* (#:key inputs outputs #:allow-other-keys)
3541 (let ((out (assoc-ref outputs "out"))
3542 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3543 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3544 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3545 (python-path (getenv "PYTHONPATH")))
3546 (wrap-program (string-append out "/bin/rhythmbox")
3547 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3548 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3549 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3550 `("PYTHONPATH" ":" prefix (,python-path))))
3553 `(("dconf" ,dconf)))
3555 `(("itstool" ,itstool)
3556 ("intltool" ,intltool)
3557 ("glib" ,glib "bin")
3558 ("gobject-introspection" ,gobject-introspection)
3559 ("desktop-file-utils" ,desktop-file-utils)
3560 ("pkg-config" ,pkg-config)
3561 ("xmllint" ,libxml2)))
3563 `(("json-glib" ,json-glib)
3565 ("gnome-desktop" ,gnome-desktop)
3567 ("python-pygobject" ,python2-pygobject)
3571 ("adwaita-icon-theme" ,adwaita-icon-theme)
3573 ("grilo-plugins" ,grilo-plugins)
3574 ("gstreamer" ,gstreamer)
3575 ("gst-plugins-base" ,gst-plugins-base)
3576 ("gst-plugins-good" ,gst-plugins-good)
3577 ("totem-pl-parser" ,totem-pl-parser)
3578 ("libgudev" ,libgudev)
3579 ;;("libmtp" ,libmtp) FIXME: Not detected
3580 ("libsecret" ,libsecret)
3581 ("libsoup" ,libsoup)
3582 ("libnotify" ,libnotify)
3583 ("libpeas" ,libpeas)
3585 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3586 ;;("clutter" ,clutter)
3587 ;;("clutter-gtk" ,clutter-gtk)
3588 ;;("clutter-gst" ,clutter-gst)
3589 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3596 ("brasero" ,brasero)))
3597 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3598 (synopsis "Music player for GNOME")
3599 (description "Rhythmbox is a music playing application for GNOME. It
3600 supports playlists, song ratings, and any codecs installed through gstreamer.")
3601 (license license:gpl2+)))
3609 (uri (string-append "mirror://gnome/sources/" name "/"
3610 (version-major+minor version) "/"
3611 name "-" version ".tar.xz"))
3614 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
3615 (build-system glib-or-gtk-build-system)
3618 (modify-phases %standard-phases
3621 (lambda* (#:key outputs #:allow-other-keys)
3622 (let ((out (assoc-ref outputs "out"))
3623 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3624 (wrap-program (string-append out "/bin/eog")
3625 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3628 `(("dconf" ,dconf)))
3630 `(("intltool" ,intltool)
3631 ("itstool" ,itstool)
3632 ("glib" ,glib "bin")
3633 ("gobject-introspection" ,gobject-introspection)
3634 ("pkg-config" ,pkg-config)
3635 ("xmllint" ,libxml2)))
3637 `(("gnome-desktop" ,gnome-desktop)
3638 ("shared-mime-info" ,shared-mime-info)
3639 ("adwaita-icon-theme" ,adwaita-icon-theme)
3642 ("libexif" ,libexif)
3643 ("libpeas" ,libpeas)
3644 ("libjpeg" ,libjpeg)
3645 ("librsvg" ,librsvg)
3646 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3648 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3649 (synopsis "GNOME image viewer")
3650 (description "Eye of GNOME is the GNOME image viewer. It
3651 supports image conversion, rotation, and slideshows.")
3652 (license license:gpl2+)))
3654 (define-public eog-plugins
3655 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3656 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3657 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3658 ;; 'XDG_DATA_DIRS' appropriately set.
3660 (name "eog-plugins")
3664 (uri (string-append "mirror://gnome/sources/" name "/"
3665 (version-major+minor version) "/"
3666 name "-" version ".tar.xz"))
3669 "0an04z8v83qa6j950rbwdzf1s86y7zd8h1r4p2x36fwbkk1m617q"))))
3670 (build-system gnu-build-system)
3671 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3672 (synopsis "Extensions for the Eye of GNOME image viewer")
3674 `(("pkg-config" ,pkg-config)
3675 ("gettext" ,gnu-gettext)))
3680 ("libpeas" ,libpeas)
3681 ("libexif" ,libexif)
3682 ("libchamplain" ,libchamplain)))
3684 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3688 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3689 @item @dfn{Map}, which displays a map of where the picture was taken on the
3691 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3694 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3695 ;; long suspicious byte stream that goes to a
3696 ;; ".gresource.eog_postasa_plugin" ELF section.
3697 (license license:gpl2+)))
3699 (define-public libgudev
3705 (uri (string-append "mirror://gnome/sources/" name "/"
3706 version "/" name "-" version ".tar.xz"))
3709 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3710 (build-system gnu-build-system)
3712 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3713 ("gobject-introspection" ,gobject-introspection)
3714 ("pkg-config" ,pkg-config)))
3716 `(("glib" ,glib))) ; required by gudev-1.0.pc
3719 (home-page "https://wiki.gnome.org/Projects/libgudev")
3720 (synopsis "GObject bindings for libudev")
3722 "This library provides GObject bindings for libudev. It was originally
3723 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3724 (license license:lgpl2.1+)))
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3737 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3738 (build-system gnu-build-system)
3740 '(#:tests? #f)) ; XXX: requiring `pidof'
3742 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3743 ("intltool" ,intltool)
3744 ("pkg-config" ,pkg-config)
3745 ("xsltproc" ,libxslt)))
3748 ("docbook-xml" ,docbook-xml-4.2)
3749 ("docbook-xsl" ,docbook-xsl)
3754 ("libarchive" ,libarchive)
3755 ("libbluray" ,libbluray)
3757 ("libcdio-paranoia" ,libcdio-paranoia)
3758 ("libgcrypt" ,libgcrypt)
3759 ("libgphoto2" ,libgphoto2)
3760 ("libgudev" ,libgudev)
3762 ("libsecret" ,libsecret)
3763 ("libsmbclient" ,samba)
3764 ("libsoup" ,libsoup)
3765 ("libxml2" ,libxml2)
3766 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3768 ("udisks" ,udisks)))
3769 (home-page "https://wiki.gnome.org/gvfs/")
3770 (synopsis "Userspace virtual file system for GIO")
3772 "GVFS is a userspace virtual file system designed to work with the I/O
3773 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3774 to all applications using the GIO API. It also supports exposing the GVFS
3775 mounts to non-GIO applications using FUSE.
3777 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3779 (license license:lgpl2.0+)))
3787 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3789 (string-join (string-split version #\.)
3794 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3795 (build-system gnu-build-system)
3797 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3798 ("gobject-introspection" ,gobject-introspection)
3799 ("pkg-config" ,pkg-config)
3801 ("autoconf" ,autoconf)
3802 ("automake" ,automake)
3803 ("libtool" ,libtool)
3804 ("gtk-doc" ,gtk-doc)))
3806 ;; Both of these are required by gusb.pc.
3808 ("libusb" ,libusb)))
3810 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3812 (modify-phases %standard-phases
3813 (add-after 'unpack 'autogen
3815 (and (zero? (system* "gtkdocize"))
3816 (zero? (system* "autoreconf" "-vif"))))))))
3817 (home-page "https://github.com/hughsie/libgusb")
3818 (synopsis "GLib binding for libusb1")
3820 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3821 asynchronous control, bulk and interrupt transfers with proper cancellation
3822 and integration into a mainloop. This makes it easy to integrate low level
3823 USB transfers with your high-level application or system daemon.")
3824 (license license:lgpl2.1+)))
3826 (define-public simple-scan
3828 (name "simple-scan")
3832 (uri (string-append "https://launchpad.net/simple-scan/"
3833 (version-major+minor version) "/"
3834 version "/+download/simple-scan-"
3838 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
3839 (build-system glib-or-gtk-build-system)
3844 ("gdk-pixbuf" ,gdk-pixbuf)
3846 ("libsane" ,sane-backends)))
3848 `(("gettext" ,gettext-minimal)
3849 ("itstool" ,itstool)
3851 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3852 ("pkg-config" ,pkg-config)
3854 ("xmllint" ,libxml2)))
3856 '(#:configure-flags '("--disable-packagekit")
3858 (modify-phases %standard-phases
3859 (add-after 'unpack 'clean
3861 ;; Remove a left-over reference to PackageKit.
3863 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3865 ;; There are some generated C files erroneously
3866 ;; included in the source distribution, and this
3867 ;; one breaks the build by referring to a
3868 ;; non-existent header (packagekit.h)
3869 (delete-file "src/ui.c"))))))
3870 (home-page "https://launchpad.net/simple-scan")
3871 (synopsis "Document and image scanner")
3872 (description "Simple Scan is an easy-to-use application, designed to let
3873 users connect their scanner and quickly have the image/document in an
3874 appropriate format. Simple Scan is basically a frontend for SANE - which is
3875 the same backend as XSANE uses. This means that all existing scanners will
3876 work and the interface is well tested.")
3877 (license license:gpl3+)))
3879 (define-public epiphany
3885 (uri (string-append "mirror://gnome/sources/" name "/"
3886 (version-major+minor version) "/"
3887 name "-" version ".tar.xz"))
3890 "13f5h7mbxdyjf93jp46hiaxsrngpr6frgf69d8iza7arc060vg2s"))))
3891 (build-system glib-or-gtk-build-system)
3893 ;; FIXME: tests run under Xvfb, but fail with:
3894 ;; /src/bookmarks/ephy-bookmarks/create:
3895 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3899 #:configure-flags '("CFLAGS=-std=gnu99")))
3901 `(("dconf" ,dconf)))
3903 `(("intltool" ,intltool)
3904 ("itstool" ,itstool)
3905 ("pkg-config" ,pkg-config)
3906 ("xmllint" ,libxml2)))
3910 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
3911 ("glib-networking" ,glib-networking)
3912 ("gnome-desktop" ,gnome-desktop)
3913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3914 ("json-glib" ,json-glib)
3915 ("iso-codes" ,iso-codes)
3916 ("libnotify" ,libnotify)
3917 ("libsecret" ,libsecret)
3918 ("libxslt" ,libxslt)
3920 ("webkitgtk" ,webkitgtk)))
3921 (home-page "https://wiki.gnome.org/Apps/Web")
3922 (synopsis "GNOME web browser")
3924 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3925 principles are simplicity and standards compliance.")
3926 (license license:gpl2+)))
3928 (define-public d-feet
3934 (uri (string-append "mirror://gnome/sources/" name "/"
3935 (version-major+minor version) "/"
3936 name "-" version ".tar.xz"))
3939 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
3940 (build-system glib-or-gtk-build-system)
3942 '(#:out-of-source? #f ; tests need to run in the source directory.
3944 (modify-phases %standard-phases
3948 ;; The test suite requires a running X server.
3949 (system "Xvfb :1 &")
3950 (setenv "DISPLAY" ":1")
3951 ;; Don't fail on missing '/etc/machine-id'.
3952 (setenv "DBUS_FATAL_WARNINGS" "0")
3953 ;; tests.py and window.py don't meet E402:
3954 ;; E402 module level import not at top of file
3955 (substitute* "src/tests/Makefile"
3956 (("--ignore=E123") "--ignore=E123,E402"))
3959 'install 'wrap-program
3960 (lambda* (#:key outputs #:allow-other-keys)
3961 (let ((prog (string-append (assoc-ref outputs "out")
3964 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3965 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3968 `(("intltool" ,intltool)
3969 ("itstool" ,itstool)
3970 ("pkg-config" ,pkg-config)
3971 ("python-pep8" ,python-pep8)
3972 ("xmllint" ,libxml2)
3973 ("xorg-server" ,xorg-server)))
3975 `(("gobject-introspection" ,gobject-introspection)
3977 ("python" ,python-wrapper)
3978 ("python-pygobject" ,python-pygobject)))
3979 (home-page "https://wiki.gnome.org/Apps/DFeet")
3980 (synopsis "D-Bus debugger")
3982 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3983 of running programs and invoke methods on those interfaces.")
3984 (license license:gpl2+)))
3986 (define-public yelp-xsl
3992 (uri (string-append "mirror://gnome/sources/" name "/"
3993 (version-major+minor version) "/"
3994 name "-" version ".tar.xz"))
3997 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3998 (build-system gnu-build-system)
4000 `(("intltool" ,intltool)
4001 ("itstool" ,itstool)
4002 ("xmllint" ,libxml2)))
4003 (home-page "https://wiki.gnome.org/Apps/Yelp")
4004 (synopsis "XSL stylesheets for Yelp")
4006 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4007 to format Docbook and Mallard documents.")
4008 (license license:gpl2+)))
4016 (uri (string-append "mirror://gnome/sources/" name "/"
4017 (version-major+minor version) "/"
4018 name "-" version ".tar.xz"))
4021 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4022 (build-system glib-or-gtk-build-system)
4024 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4025 ("intltool" ,intltool)
4026 ("itstool" ,itstool)
4027 ("pkg-config" ,pkg-config)))
4029 `(("dconf" ,dconf)))
4031 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4032 ("libxslt" ,libxslt)
4034 ("webkitgtk" ,webkitgtk)
4035 ("yelp-xsl" ,yelp-xsl)))
4036 (home-page "https://wiki.gnome.org/Apps/Yelp")
4037 (synopsis "GNOME help browser")
4039 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4040 man, info, and HTML documents. It can locate documents according to the
4041 freedesktop.org help system specification.")
4042 (license license:gpl2+)))
4044 (define-public yelp-tools
4050 (uri (string-append "mirror://gnome/sources/" name "/"
4051 (version-major+minor version) "/"
4052 name "-" version ".tar.xz"))
4055 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4056 (build-system gnu-build-system)
4058 `(("pkg-config" ,pkg-config)))
4060 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4061 `(("itstool" ,itstool)
4062 ("xmllint" ,libxml2)
4063 ("xsltproc" ,libxslt)))
4065 `(("yelp-xsl" ,yelp-xsl)))
4066 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4067 (synopsis "Yelp documentation tools")
4069 "Yelp-tools is a collection of scripts and build utilities to help create,
4070 manage, and publish documentation for Yelp and the web. Most of the heavy
4071 lifting is done by packages like yelp-xsl and itstool. This package just
4072 wraps things up in a developer-friendly way.")
4073 (license license:gpl2+)))
4075 (define-public libgee
4081 (uri (string-append "mirror://gnome/sources/" name "/"
4082 (version-major+minor version) "/"
4083 name "-" version ".tar.xz"))
4086 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
4087 (build-system gnu-build-system)
4090 (modify-phases %standard-phases
4091 (add-after 'unpack 'fix-introspection-install-dir
4092 (lambda* (#:key outputs #:allow-other-keys)
4093 (let ((out (assoc-ref outputs "out")))
4094 (substitute* "gee/Makefile.in"
4095 (("@INTROSPECTION_GIRDIR@")
4096 (string-append out "/share/gir-1.0/"))
4097 (("@INTROSPECTION_TYPELIBDIR@")
4098 (string-append out "/lib/girepository-1.0/")))))))))
4100 `(("glib" ,glib "bin")
4101 ("pkg-config" ,pkg-config)))
4104 ("gobject-introspection" ,gobject-introspection)))
4105 (home-page "https://wiki.gnome.org/Projects/Libgee")
4106 (synopsis "GObject collection library")
4108 "Libgee is a utility library providing GObject-based interfaces and
4109 classes for commonly used data structures.")
4110 (license license:lgpl2.1+)))
4112 (define-public gexiv2
4118 (uri (string-append "mirror://gnome/sources/" name "/"
4119 (version-major+minor version) "/"
4120 name "-" version ".tar.xz"))
4123 "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk"))))
4124 (build-system gnu-build-system)
4126 `(("glib" ,glib "bin")
4127 ("pkg-config" ,pkg-config)))
4129 ;; Listed in "Requires" section of gexiv2.pc
4130 `(("exiv2" ,exiv2)))
4133 ("gobject-introspection" ,gobject-introspection)))
4134 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4135 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4137 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4138 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4139 metadata in photo and video files of various formats.")
4140 (license license:gpl2+)))
4142 (define-public shotwell
4148 (uri (string-append "mirror://gnome/sources/" name "/"
4149 (version-major+minor version) "/"
4150 name "-" version ".tar.xz"))
4153 "0xak1f69lp1yx3p8jgmr9c0z3jypi8zjpy3kiknn5n9g2f5cqq0a"))))
4154 (build-system glib-or-gtk-build-system)
4156 `(("dconf" ,dconf)))
4158 `(("pkg-config" ,pkg-config)
4159 ("itstool" ,itstool)
4160 ("gettext" ,gettext-minimal)
4161 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4162 ("itstool" ,itstool)
4165 `(("glib:bin" ,glib "bin")
4166 ("gstreamer" ,gstreamer)
4167 ("gst-plugins-base" ,gst-plugins-base)
4168 ("libgdata" ,libgdata)
4172 ("json-glib" ,json-glib)
4173 ("webkitgtk" ,webkitgtk)
4175 ("libsoup" ,libsoup)
4176 ("libxml2" ,libxml2)
4177 ("libgudev" ,libgudev)
4178 ("libgphoto2" ,libgphoto2)
4180 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4181 (synopsis "Photo manager for GNOME 3")
4183 "Shotwell is a digital photo manager designed for the GNOME desktop
4184 environment. It allows you to import photos from disk or camera, organize
4185 them by keywords and events, view them in full-window or fullscreen mode, and
4186 share them with others via social networking and more.")
4187 (license license:lgpl2.1+)))
4189 (define-public file-roller
4191 (name "file-roller")
4195 (uri (string-append "mirror://gnome/sources/" name "/"
4196 (version-major+minor version) "/"
4197 name "-" version ".tar.xz"))
4200 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
4201 (build-system glib-or-gtk-build-system)
4204 (modify-phases %standard-phases
4205 (add-before 'install 'skip-gtk-update-icon-cache
4207 ;; Don't create 'icon-theme.cache'
4208 (substitute* (find-files "data" "^Makefile$")
4209 (("gtk-update-icon-cache") (which "true")))
4212 `(("intltool" ,intltool)
4213 ("pkg-config" ,pkg-config)))
4214 ;; TODO: Add libnautilus.
4217 ("gdk-pixbuf" ,gdk-pixbuf)
4218 ("json-glib" ,json-glib)
4219 ("libarchive" ,libarchive)
4220 ("libnotify" ,libnotify)
4222 ("itstool" ,itstool)
4223 ("libxml2" ,libxml2)))
4224 (synopsis "Graphical archive manager for GNOME")
4225 (description "File Roller is an archive manager for the GNOME desktop
4226 environment that allows users to view, unpack, and create compressed archives
4227 such as gzip tarballs.")
4228 (home-page "http://fileroller.sourceforge.net/")
4229 (license license:gpl2+)))
4231 (define-public gnome-session
4233 (name "gnome-session")
4237 (uri (string-append "mirror://gnome/sources/" name "/"
4238 (version-major+minor version) "/"
4239 name "-" version ".tar.xz"))
4242 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4245 (modify-phases %standard-phases
4246 (add-before 'configure 'pre-configure
4247 (lambda* (#:key outputs #:allow-other-keys)
4248 ;; Use elogind instead of systemd.
4249 (substitute* "configure"
4250 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4252 (("systemd") "elogind"))
4253 (substitute* "gnome-session/gsm-systemd.c"
4254 (("#include <systemd/sd-login.h>")
4255 "#include <elogind/sd-login.h>"))
4256 ;; Remove uses of the systemd journal.
4257 (substitute* "gnome-session/main.c"
4258 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4259 (substitute* "gnome-session/gsm-manager.c"
4260 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4261 (substitute* "gnome-session/gsm-autostart-app.c"
4262 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4264 (add-after 'install 'wrap-gnome-session
4265 (lambda* (#:key inputs outputs #:allow-other-keys)
4266 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4267 (let ((glib (assoc-ref inputs "glib:bin"))
4268 (out (assoc-ref outputs "out")))
4269 (wrap-program (string-append out "/bin/gnome-session")
4270 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4272 (add-after 'install 'disable-hardware-acceleration-check
4273 (lambda* (#:key outputs #:allow-other-keys)
4274 ;; Do not abort if hardware acceleration is missing. This allows
4275 ;; GNOME to run in QEMU and on low-end devices.
4276 (let ((out (assoc-ref outputs "out")))
4277 (substitute* (string-append out
4278 "/share/xsessions/gnome.desktop")
4280 "gnome-session --disable-acceleration-check"))
4284 '("--enable-elogind")))
4285 (build-system glib-or-gtk-build-system)
4287 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4288 ("pkg-config" ,pkg-config)
4289 ("intltool" ,intltool)
4290 ("xsltproc" ,libxslt)))
4292 `(("elogind" ,elogind)
4293 ("gnome-desktop" ,gnome-desktop)
4294 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4296 ("json-glib" ,json-glib)
4298 ("libxcomposite" ,libxcomposite)
4299 ("libxtst" ,libxtst)
4302 ("xtrans" ,xtrans)))
4303 (synopsis "Session manager for GNOME")
4305 "This package contains the GNOME session manager, as well as a
4306 configuration program to choose applications starting on login.")
4307 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4308 (license license:gpl2+)))
4316 (uri (string-append "mirror://gnome/sources/" name "/"
4317 (version-major+minor version) "/"
4318 name "-" version ".tar.xz"))
4321 "0cqgv460wfhwkw6j1h46v6bg29bycg6dfl7c5rv0lfcqmmw7v6v6"))))
4322 (build-system gnu-build-system)
4325 (modify-phases %standard-phases
4329 ;; The test suite requires a running X server.
4330 (system "Xvfb :1 &")
4331 (setenv "DISPLAY" ":1")
4333 ;; For the missing /etc/machine-id.
4334 (setenv "DBUS_FATAL_WARNINGS" "0")
4336 ;; Our mozjs-38 package does not compile the required Intl API
4337 ;; support for these failing tests.
4338 (substitute* "installed-tests/js/testLocale.js"
4339 ((".*toBeDefined.*") "")
4340 ((".*expect\\(datestr\\).*") ""))
4343 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4344 ("pkg-config" ,pkg-config)
4345 ("xmllint" ,libxml2)
4347 ("dbus-launch" ,dbus)
4348 ("uuidgen" ,util-linux)
4349 ("xvfb" ,xorg-server)))
4351 ;; These are all in the Requires.private field of gjs-1.0.pc.
4353 ("gobject-introspection" ,gobject-introspection)
4354 ("mozjs" ,mozjs-38)))
4357 ("readline" ,readline)))
4358 (synopsis "Javascript bindings for GNOME")
4359 (home-page "http://live.gnome.org/Gjs")
4361 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4362 javascript engine and the GObject introspection framework.")
4363 (license license:gpl2+)))
4365 (define-public gedit
4371 (uri (string-append "mirror://gnome/sources/" name "/"
4372 (version-major+minor version) "/"
4373 name "-" version ".tar.xz"))
4376 "0i9z5d31vibb3dd329gwvyga38zq5k1a2glcdq7m93ycbl5mlfq6"))))
4377 (build-system glib-or-gtk-build-system)
4379 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4381 (modify-phases %standard-phases
4383 'install 'wrap-gedit
4384 (lambda* (#:key inputs outputs #:allow-other-keys)
4385 (let ((out (assoc-ref outputs "out"))
4386 (gtksourceview (assoc-ref inputs "gtksourceview"))
4387 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4388 (python-path (getenv "PYTHONPATH")))
4389 (wrap-program (string-append out "/bin/gedit")
4391 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4392 `("PYTHONPATH" ":" prefix (,python-path))
4393 ;; For language-specs.
4394 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4398 `(("dconf" ,dconf)))
4400 `(("intltool" ,intltool)
4401 ("itstool" ,itstool)
4402 ("gobject-introspection" ,gobject-introspection)
4403 ("pkg-config" ,pkg-config)))
4407 ("gtksourceview" ,gtksourceview)
4408 ("libpeas" ,libpeas)
4409 ("libxml2" ,libxml2)
4410 ("iso-codes" ,iso-codes)
4411 ("python-pygobject" ,python-pygobject)
4413 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4416 ("adwaita-icon-theme" ,adwaita-icon-theme)
4417 ("libsoup" ,libsoup)
4418 ("gnome-desktop" ,gnome-desktop)))
4419 (home-page "https://wiki.gnome.org/Apps/Gedit")
4420 (synopsis "GNOME text editor")
4421 (description "While aiming at simplicity and ease of use, gedit is a
4422 powerful general purpose text editor.")
4423 (license license:gpl2+)))
4425 (define-public zenity
4431 (uri (string-append "mirror://gnome/sources/" name "/"
4432 (version-major+minor version) "/"
4433 name "-" version ".tar.xz"))
4436 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4437 (build-system gnu-build-system)
4439 `(("gettext" ,gettext-minimal)
4440 ("itstool" ,itstool)
4441 ("pkg-config" ,pkg-config)))
4443 `(("libnotify" ,libnotify)
4444 ("webkitgtk" ,webkitgtk)))
4445 (synopsis "Display graphical dialog boxes from shell scripts")
4446 (home-page "http://www.gnome.org")
4448 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4449 to display dialog boxes from the commandline and shell scripts.")
4450 (license license:lgpl2.0+)))
4452 (define-public mutter
4458 (uri (string-append "mirror://gnome/sources/" name "/"
4459 (version-major+minor version) "/"
4460 name "-" version ".tar.xz"))
4463 "043q3384vwrkjdfhbwn9pwdml6z0g0ad0cj2fjnjzg6402i67071"))))
4464 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4465 ;; versions of cogl and clutter. As a result, many of the inputs,
4466 ;; propagated-inputs, and configure flags used in cogl and clutter are
4467 ;; needed here as well.
4468 (build-system gnu-build-system)
4471 ;; XXX: build fails with [-Werror]:
4472 ;; backends/meta-cursor-renderer.c:112:5: error:
4473 ;; implicit declaration of function ?roundf?
4474 (list "--enable-compile-warnings=minimum"
4476 "--enable-native-backend"
4478 ;; The following flags are needed for the bundled clutter
4479 "--enable-x11-backend=yes"
4481 ;; the remaining flags are needed for the bundled cogl
4483 (string-append "--with-gl-libname="
4484 (assoc-ref %build-inputs "mesa")
4487 (modify-phases %standard-phases
4488 ;; Replace references to systemd libraries to elogind references.
4489 (add-before 'configure 'use-elogind
4491 (substitute* (list "configure"
4492 "src/backends/native/meta-launcher.c"
4494 (("systemd") "elogind"))
4497 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4498 ("gobject-introspection" ,gobject-introspection)
4499 ("intltool" ,intltool)
4500 ("pkg-config" ,pkg-config)
4502 ("autoconf" ,autoconf)
4503 ("automake" ,automake)
4504 ("libtool" ,libtool)))
4506 `(;; libmutter.pc refers to these:
4507 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4509 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4512 ("gdk-pixbuf" ,gdk-pixbuf)
4516 ("json-glib" ,json-glib)
4517 ("libinput" ,libinput)
4519 ("libxcomposite" ,libxcomposite)
4520 ("libxdamage" ,libxdamage)
4521 ("libxext" ,libxext)
4522 ("libxfixes" ,libxfixes)
4523 ("libxkbcommon" ,libxkbcommon)
4524 ("libxrandr" ,libxrandr)
4528 ("xinput" ,xinput)))
4530 `(("elogind" ,elogind)
4531 ("gnome-desktop" ,gnome-desktop)
4532 ("libcanberra-gtk" ,libcanberra)
4533 ("libgudev" ,libgudev)
4536 ("libxkbfile" ,libxkbfile)
4537 ("libxrandr" ,libxrandr)
4538 ("libxtst" ,libxtst)
4539 ("startup-notification" ,startup-notification)
4540 ("upower-glib" ,upower)
4541 ("xkeyboard-config" ,xkeyboard-config)
4542 ("zenity" ,zenity)))
4543 (synopsis "Window and compositing manager")
4544 (home-page "http://www.gnome.org")
4546 "Mutter is a window and compositing manager that displays and manages your
4547 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4548 Clutter toolkit with solid window-management logic inherited from the Metacity
4550 (license license:gpl2+)))
4552 (define-public gnome-online-accounts
4554 (name "gnome-online-accounts")
4558 (uri (string-append "mirror://gnome/sources/" name "/"
4559 (version-major+minor version) "/"
4560 name "-" version ".tar.xz"))
4563 "0lgniqmkr6ffdw3kcqd34lvp969j2q2qzcy30zkzl5c09r7anc0a"))))
4564 (build-system glib-or-gtk-build-system)
4566 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4567 ("gobject-introspection" ,gobject-introspection)
4568 ("intltool" ,intltool)
4569 ("pkg-config" ,pkg-config)
4570 ("xsltproc" ,libxslt)))
4572 `(("glib" ,glib) ; required by goa-1.0.pc
4573 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4575 `(("docbook-xsl" ,docbook-xsl)
4576 ("json-glib" ,json-glib)
4577 ("libsecret" ,libsecret)
4579 ("telepathy-glib" ,telepathy-glib)
4580 ("webkitgtk" ,webkitgtk)))
4581 (synopsis "Single sign-on framework for GNOME")
4582 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4584 "GNOME Online Accounts provides interfaces so that applications and
4585 libraries in GNOME can access the user's online accounts. It has providers for
4586 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4587 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4588 (license license:lgpl2.0+)))
4590 (define-public evolution-data-server
4592 (name "evolution-data-server")
4596 (uri (string-append "mirror://gnome/sources/" name "/"
4597 (version-major+minor version) "/"
4598 name "-" version ".tar.xz"))
4601 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
4602 (build-system cmake-build-system)
4604 '(;; XXX FIXME: 11/85 tests are failing.
4607 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4608 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4609 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4610 "-DENABLE_VALA_BINDINGS=ON"
4611 "-DENABLE_INTROSPECTION=ON") ;required for Vala bindings
4613 (modify-phases %standard-phases
4614 (add-after 'unpack 'patch-paths
4616 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4617 (("/bin/rm") (which "rm")))
4620 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4621 ("gobject-introspection" ,gobject-introspection)
4623 ("intltool" ,intltool)
4624 ("pkg-config" ,pkg-config)
4626 ("python" ,python-wrapper)))
4628 ;; These are all in the Requires field of .pc files.
4630 ("libical" ,libical)
4631 ("libsecret" ,libsecret)
4632 ("libsoup" ,libsoup)
4634 ("sqlite" ,sqlite)))
4638 ("gnome-online-accounts" ,gnome-online-accounts)
4639 ("libgweather" ,libgweather)
4640 ("mit-krb5" ,mit-krb5)
4641 ("openldap" ,openldap)))
4642 (synopsis "Store address books and calendars")
4643 (home-page "https://wiki.gnome.org/Apps/Evolution")
4645 "This package provides a unified backend for programs that work with
4646 contacts, tasks, and calendar information. It was originally developed for
4647 Evolution (hence the name), but is now used by other packages as well.")
4648 (license license:lgpl2.0)))
4650 (define-public caribou
4656 (uri (string-append "mirror://gnome/sources/" name "/"
4657 (version-major+minor version) "/"
4658 name "-" version ".tar.xz"))
4661 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4662 (build-system glib-or-gtk-build-system)
4665 (modify-phases %standard-phases
4668 (lambda* (#:key outputs #:allow-other-keys)
4669 (let ((out (assoc-ref outputs "out")))
4670 ;; Use absolute shared library path in Caribou-1.0.typelib.
4671 (substitute* "libcaribou/Makefile"
4672 (("--shared-library=libcaribou.so")
4673 (string-append "--shared-library="
4674 out "/lib/libcaribou.so")))
4676 (add-after 'install 'wrap-programs
4677 (lambda* (#:key outputs #:allow-other-keys)
4678 (let* ((out (assoc-ref outputs "out"))
4679 (python-path (getenv "PYTHONPATH"))
4680 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4684 `("PYTHONPATH" ":" prefix (,python-path))
4685 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4686 (list (string-append out "/bin/caribou-preferences")
4687 (string-append out "/libexec/antler-keyboard"))))
4690 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4691 ("gobject-introspection" ,gobject-introspection)
4692 ("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4696 ("xsltproc" ,libxslt)))
4698 ;; caribou-1.0.pc refers to all these.
4699 `(("libgee" ,libgee)
4700 ("libxklavier" ,libxklavier)
4701 ("libxtst" ,libxtst)
4704 `(("clutter" ,clutter)
4707 ("python-pygobject" ,python2-pygobject)))
4708 (synopsis "Text entry and UI navigation application")
4709 (home-page "https://wiki.gnome.org/Projects/Caribou")
4711 "Caribou is an input assistive technology intended for switch and pointer
4713 (license license:lgpl2.1)))
4715 (define-public network-manager
4717 (name "network-manager")
4721 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4722 (version-major+minor version) "/"
4723 "NetworkManager-" version ".tar.xz"))
4726 "17pn7kzilyl0qk525gp9xnbz4x0ssrdmgk1lvw95pyfd6rm5qnps"))
4729 (use-modules (guix build utils))
4730 (substitute* "configure"
4731 ;; Replace libsystemd-login with libelogind.
4732 (("libsystemd-login") "libelogind"))
4733 (substitute* "src/devices/wwan/nm-modem-manager.c"
4734 (("systemd") "elogind"))
4735 (substitute* "src/nm-session-monitor.c"
4736 (("systemd") "elogind"))
4737 (substitute* "./src/nm-logging.c"
4738 (("systemd") "elogind"))))))
4739 (build-system gnu-build-system)
4741 "doc")) ; 8 MiB of gtk-doc HTML
4744 (let ((out (assoc-ref %outputs "out"))
4745 (doc (assoc-ref %outputs "doc"))
4746 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4748 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4749 "--with-consolekit=no"
4750 "--with-crypto=gnutls"
4751 "--disable-config-plugin-ibft"
4753 "--localstatedir=/var"
4754 (string-append "--with-udev-dir="
4756 (string-append "--with-dbus-sys-dir="
4757 out "/etc/dbus-1/system.d")
4758 (string-append "--with-html-dir="
4759 doc "/share/gtk-doc/html")
4760 (string-append "--with-dhclient=" dhclient)))
4762 (modify-phases %standard-phases
4763 (add-before 'configure 'pre-configure
4765 ;; These tests try to test aspects of network-manager's
4766 ;; functionality within restricted containers, but they don't
4767 ;; cope with being already in the Guix build jail as that jail
4768 ;; lacks some features that they would like to proxy over (like
4770 (substitute* '("Makefile.in")
4771 (("src/platform/tests/test-address-linux") " ")
4772 (("src/platform/tests/test-cleanup-linux") " ")
4773 (("src/platform/tests/test-link-linux") " ")
4774 (("src/platform/tests/test-route-linux") " ")
4775 (("src/devices/tests/test-arping") " ")
4776 (("src/devices/tests/test-lldp") " ")
4777 (("src/tests/test-route-manager-linux") " "))
4779 (add-before 'check 'pre-check
4781 ;; For the missing /etc/machine-id.
4782 (setenv "DBUS_FATAL_WARNINGS" "0")
4786 (zero? (system* "make"
4790 "nmstatedir=/tmp/nm"
4795 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4796 ("gobject-introspection" ,gobject-introspection)
4797 ("docbook-xsl" ,docbook-xsl)
4798 ("intltool" ,intltool)
4799 ("libxslt" ,libxslt)
4800 ("libxml2" ,libxml2)
4801 ("pkg-config" ,pkg-config)
4803 ("python" ,python-wrapper)
4804 ("python-dbus" ,python-dbus)
4805 ("python-pygobject" ,python-pygobject)))
4808 ("cyrus-sasl" ,cyrus-sasl)
4809 ("dbus-glib" ,dbus-glib)
4810 ("dnsmasq" ,dnsmasq)
4813 ("iptables" ,iptables)
4814 ("isc-dhcp" ,isc-dhcp)
4815 ("jansson" ,jansson)
4816 ("libgcrypt" ,libgcrypt)
4817 ("libgudev" ,libgudev)
4820 ("libsoup" ,libsoup)
4821 ("modem-manager" ,modem-manager)
4824 ("readline" ,readline)
4825 ("util-linux" ,util-linux)
4826 ("elogind" ,elogind)))
4827 (synopsis "Network connection manager")
4828 (home-page "http://www.gnome.org/projects/NetworkManager/")
4830 "NetworkManager is a system network service that manages your network
4831 devices and connections, attempting to keep active network connectivity when
4832 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4833 devices, and provides VPN integration with a variety of different VPN
4835 (license license:gpl2+)
4836 (properties '((upstream-name . "NetworkManager")))))
4838 (define-public mobile-broadband-provider-info
4840 (name "mobile-broadband-provider-info")
4841 (version "20151214")
4845 "mirror://gnome/sources/"
4846 "mobile-broadband-provider-info/" version "/"
4847 "mobile-broadband-provider-info-" version ".tar.xz"))
4850 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4851 (build-system gnu-build-system)
4853 `(#:tests? #f)) ; No tests
4854 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4855 (synopsis "Database of broadband connection configuration")
4856 (description "Database of broadband connection configuration.")
4857 (license license:public-domain)))
4859 (define-public network-manager-applet
4861 (name "network-manager-applet")
4865 (uri (string-append "mirror://gnome/sources/" name "/"
4866 (version-major+minor version) "/"
4867 name "-" version ".tar.xz"))
4870 "09f9hjpn9nkhw57mk6pi7q1bq3lhf5hvmwas0fknscssak7yjmry"))))
4871 (build-system glib-or-gtk-build-system)
4872 (arguments '(#:configure-flags '("--disable-migration")))
4874 `(("intltool" ,intltool)
4875 ("gobject-introspection" ,gobject-introspection)
4876 ("pkg-config" ,pkg-config)))
4878 ;; libnm-gtk.pc refers to all these.
4879 `(("dbus-glib" ,dbus-glib)
4881 ("network-manager" ,network-manager)))
4883 `(("iso-codes" ,iso-codes)
4884 ("libgudev" ,libgudev)
4885 ("libnotify" ,libnotify)
4886 ("libsecret" ,libsecret)
4887 ("libselinux" ,libselinux)
4888 ("jansson" ,jansson) ; for team support
4889 ("modem-manager" ,modem-manager)))
4890 (synopsis "Applet for managing network connections")
4891 (home-page "http://www.gnome.org/projects/NetworkManager/")
4893 "This package contains a systray applet for NetworkManager. It displays
4894 the available networks and allows users to easily switch between them.")
4895 (license license:gpl2+)))
4897 (define-public libxml++
4903 (uri (string-append "mirror://gnome/sources/" name "/"
4904 (version-major+minor version) "/"
4905 name "-" version ".tar.xz"))
4908 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
4909 (build-system gnu-build-system)
4910 ;; libxml++-3.0.pc refers to all these.
4912 `(("libxml2" ,libxml2)
4913 ("glibmm" ,glibmm)))
4916 ("pkg-config" ,pkg-config)))
4917 (home-page "http://libxmlplusplus.sourceforge.net/")
4918 (synopsis "C++ wrapper for XML parser library libxml2")
4920 "This package provides a C++ wrapper for the XML parser library
4922 (license license:lgpl2.1+)))
4924 (define-public libxml++-2
4931 (uri (string-append "mirror://gnome/sources/" name "/"
4932 (version-major+minor version) "/"
4933 name "-" version ".tar.xz"))
4936 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4944 (uri (string-append "mirror://gnome/sources/" name "/"
4945 (version-major+minor version) "/"
4946 name "-" version ".tar.xz"))
4949 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
4950 (build-system gnu-build-system)
4953 '("--without-plymouth")
4955 (modify-phases %standard-phases
4957 'configure 'pre-configure
4959 ;; We don't have <systemd/sd-daemon.h>.
4960 (substitute* '("common/gdm-log.c"
4961 "daemon/gdm-server.c"
4962 "daemon/gdm-session-worker.c"
4963 "daemon/gdm-session-worker-job.c")
4964 (("#include <systemd/sd-daemon\\.h>") ""))
4965 ;; Use elogind for sd-login.
4966 (substitute* '("common/gdm-common.c"
4967 "daemon/gdm-manager.c"
4968 "libgdm/gdm-user-switching.c")
4969 (("#include <systemd/sd-login\\.h>")
4970 "#include <elogind/sd-login.h>"))
4971 ;; Avoid checking SYSTEMD using pkg-config.
4972 (setenv "SYSTEMD_CFLAGS" " ")
4973 (setenv "SYSTEMD_LIBS" "-lelogind")
4977 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4978 ("gobject-introspection" ,gobject-introspection)
4979 ("intltool" ,intltool)
4980 ("itstool" ,itstool)
4981 ("pkg-config" ,pkg-config)
4982 ("xmllint" ,libxml2)))
4984 `(("accountsservice" ,accountsservice)
4985 ("check" ,check) ; for testing
4986 ("elogind" ,elogind)
4988 ("iso-codes" ,iso-codes)
4989 ("libcanberra" ,libcanberra)
4990 ("linux-pam" ,linux-pam)))
4991 (synopsis "Display manager for GNOME")
4992 (home-page "http://wiki.gnome.org/Projects/GDM/")
4994 "GNOME Display Manager is a system service that is responsible for
4995 providing graphical log-ins and managing local and remote displays.")
4996 (license license:gpl2+)))
4998 (define-public libgtop
5004 (uri (string-append "mirror://gnome/sources/" name "/"
5005 (version-major+minor version) "/"
5006 name "-" version ".tar.xz"))
5009 "0ax17c7nplghxgsf8zl92nmhkbnggj62wwzl7nq00aqb2m6f7gqk"))))
5010 (build-system gnu-build-system)
5012 `(("gobject-introspection" ,gobject-introspection)
5013 ("intltool" ,intltool)
5015 ("pkg-config" ,pkg-config)))
5017 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5018 (synopsis "Portable system access library")
5019 (home-page "https://www.gnome.org/")
5021 "LibGTop is a library to get system specific data such as CPU and memory
5022 usage and information about running processes.")
5023 (license license:gpl2+)))
5025 (define-public gnome-bluetooth
5027 (name "gnome-bluetooth")
5031 (uri (string-append "mirror://gnome/sources/" name "/"
5032 (version-major+minor version) "/"
5033 name "-" version ".tar.xz"))
5036 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5037 (build-system glib-or-gtk-build-system)
5039 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5040 ("gobject-introspection" ,gobject-introspection)
5041 ("intltool" ,intltool)
5042 ("pkg-config" ,pkg-config)
5043 ("xmllint" ,libxml2)))
5045 ;; gnome-bluetooth-1.0.pc refers to all these.
5049 `(("libcanberra" ,libcanberra)
5050 ("libnotify" ,libnotify)))
5051 (synopsis "GNOME Bluetooth subsystem")
5052 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5054 "This package contains tools for managing and manipulating Bluetooth
5055 devices using the GNOME desktop.")
5056 (license license:lgpl2.1+)))
5058 (define-public gnome-control-center
5060 (name "gnome-control-center")
5064 (uri (string-append "mirror://gnome/sources/" name "/"
5065 (version-major+minor version) "/"
5066 name "-" version ".tar.xz"))
5069 "0awga40jh6gvn335mn6kyl6yg79frap1znrsz3sw2m27yldlnaiq"))))
5070 (build-system glib-or-gtk-build-system)
5073 (modify-phases %standard-phases
5074 (add-before 'configure 'patch-paths
5075 (lambda* (#:key inputs #:allow-other-keys)
5076 (let ((libc (assoc-ref inputs "libc"))
5077 (tzdata (assoc-ref inputs "tzdata")))
5078 (substitute* "panels/datetime/tz.h"
5079 (("/usr/share/zoneinfo/zone.tab")
5080 (string-append tzdata "/share/zoneinfo/zone.tab")))
5081 (substitute* "panels/datetime/test-endianess.c"
5082 (("/usr/share/locale")
5083 (string-append libc "/share/locale")))
5086 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5087 ("intltool" ,intltool)
5088 ("pkg-config" ,pkg-config)
5089 ("xsltproc" ,libxslt)))
5091 `(("accountsservice" ,accountsservice)
5092 ("clutter-gtk" ,clutter-gtk)
5093 ("colord-gtk" ,colord-gtk)
5096 ("docbook-xsl" ,docbook-xsl)
5097 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5098 ("gnome-bluetooth" ,gnome-bluetooth)
5099 ("gnome-desktop" ,gnome-desktop)
5100 ("gnome-online-accounts" ,gnome-online-accounts)
5101 ("gnome-settings-daemon" ,gnome-settings-daemon)
5104 ("libcanberra" ,libcanberra)
5105 ("libgudev" ,libgudev)
5106 ("libgtop" ,libgtop)
5107 ("libpwquality" ,libpwquality)
5108 ("libsoup" ,libsoup)
5109 ("libxml2" ,libxml2)
5110 ("libwacom" ,libwacom)
5112 ("mit-krb5" ,mit-krb5)
5113 ("modem-manager" ,modem-manager)
5114 ("network-manager-applet" ,network-manager-applet)
5116 ("pulseaudio" ,pulseaudio)
5117 ("smbclient" ,samba)
5119 ("upower" ,upower)))
5120 (synopsis "Utilities to configure the GNOME desktop")
5121 (home-page "https://www.gnome.org/")
5123 "This package contains configuration applets for the GNOME desktop,
5124 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5125 properties, sound setup, desktop theme and background, user interface
5126 properties, screen resolution, and other GNOME parameters.")
5127 (license license:gpl2+)))
5129 (define-public gnome-shell
5131 (name "gnome-shell")
5135 (uri (string-append "mirror://gnome/sources/" name "/"
5136 (version-major+minor version) "/"
5137 name "-" version ".tar.xz"))
5140 "1xp2ccmdrvzlczsrcplykwqwx2v4lbmkr0rxyylb06danlw9mivh"))))
5141 (build-system glib-or-gtk-build-system)
5144 (modify-phases %standard-phases
5146 (lambda* (#:key outputs #:allow-other-keys)
5147 (let* ((out (assoc-ref outputs "out"))
5148 (keysdir (string-append
5149 out "/share/gnome-control-center/keybindings")))
5150 (zero? (system* "make"
5151 (string-append "keysdir=" keysdir)
5154 'install 'wrap-programs
5155 (lambda* (#:key outputs #:allow-other-keys)
5156 (let ((out (assoc-ref outputs "out"))
5157 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5158 (python-path (getenv "PYTHONPATH")))
5159 (wrap-program (string-append out "/bin/gnome-shell")
5160 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5163 (wrap-program (string-append out "/bin/" prog)
5164 `("PYTHONPATH" ":" prefix (,python-path))
5165 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5166 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5169 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5170 ("gobject-introspection" ,gobject-introspection)
5171 ("intltool" ,intltool)
5172 ("pkg-config" ,pkg-config)
5174 ("xsltproc" ,libxslt)))
5176 `(("accountsservice" ,accountsservice)
5177 ("caribou" ,caribou)
5178 ("docbook-xsl" ,docbook-xsl)
5179 ("evolution-data-server" ,evolution-data-server)
5183 ("gnome-bluetooth" ,gnome-bluetooth)
5184 ("gnome-control-center" ,gnome-control-center)
5185 ("gnome-desktop" ,gnome-desktop)
5186 ("gnome-settings-daemon" ,gnome-settings-daemon)
5187 ("gst-plugins-base" ,gst-plugins-base)
5189 ("libcanberra" ,libcanberra)
5190 ("libcroco" ,libcroco)
5191 ("libgweather" ,libgweather)
5192 ("libsoup" ,libsoup)
5193 ("mesa-headers" ,mesa-headers)
5195 ("network-manager-applet" ,network-manager-applet)
5197 ("pulseaudio" ,pulseaudio)
5198 ("python-pygobject" ,python-pygobject)
5199 ("startup-notification" ,startup-notification)
5200 ("telepathy-logger" ,telepathy-logger)
5202 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5203 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5204 ("librsvg" ,librsvg)
5205 ("geoclue" ,geoclue)
5206 ;; XXX: required by libgjs.la.
5207 ("readline" ,readline)))
5208 (synopsis "Desktop shell for GNOME")
5209 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5211 "GNOME Shell provides core user interface functions for the GNOME desktop,
5212 like switching to windows and launching applications.")
5213 (license license:gpl2+)))
5215 (define-public gtk-vnc
5222 (uri (string-append "mirror://gnome/sources/" name "/"
5223 (version-major+minor version) "/"
5224 name "-" version ".tar.xz"))
5227 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5228 (build-system gnu-build-system)
5230 '(#:configure-flags '("--with-gtk=3.0")))
5232 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5234 `(("cyrus-sasl" ,cyrus-sasl)
5236 ("libgcrypt" ,libgcrypt)
5237 ("pulseaudio" ,pulseaudio)))
5239 `(("glib:bin" ,glib "bin")
5240 ("gobject-introspection" ,gobject-introspection)
5241 ("intltool" ,intltool)
5242 ("pkg-config" ,pkg-config)
5244 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5245 (synopsis "VNC viewer widget for GTK+")
5247 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5248 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5249 GTK-VNC implements client side RFB protocol and authentication extensions such
5250 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5251 (license license:lgpl2.1+)))
5253 (define-public gnome-autoar
5255 (name "gnome-autoar")
5259 (uri (string-append "mirror://gnome/sources/" name "/"
5260 (version-major+minor version) "/"
5261 name "-" version ".tar.xz"))
5264 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
5265 (build-system glib-or-gtk-build-system)
5267 `(("gnome-common" ,gnome-common)
5268 ("gobject-introspection" ,gobject-introspection)
5269 ("pkg-config" ,pkg-config)))
5271 `(("libarchive" ,libarchive))) ; XXX document why
5274 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5275 (synopsis "Archives integration support for GNOME")
5276 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5278 "GNOME Autoar is a library which makes creating and extracting archives
5279 easy, safe, and automatic.")
5280 (license license:lgpl2.1+)))
5282 (define-public tracker
5288 (uri (string-append "mirror://gnome/sources/" name "/"
5289 (version-major+minor version) "/"
5290 name "-" version ".tar.xz"))
5293 "0vsrzzkcfvmylhpk1ww6xdx8z9sgjs0gn74gz82qngjyq3c3s6c3"))))
5294 (build-system glib-or-gtk-build-system)
5296 `(("gnome-common" ,gnome-common)
5297 ("gobject-introspection" ,gobject-introspection)
5298 ("intltool" ,intltool)
5299 ("pkg-config" ,pkg-config)
5304 ("gstreamer" ,gstreamer)
5305 ("gst-plugins-base" ,gst-plugins-base)
5307 ("nettle" ,nettle) ; XXX why is this needed?
5308 ("poppler" ,poppler)
5310 ("libexif" ,libexif)
5312 ("libtiff" ,libtiff)
5313 ("libvorbis" ,libvorbis)
5315 ("totem-pl-parser" ,totem-pl-parser)
5318 ("libxml2" ,libxml2)
5320 ("libunistring" ,libunistring)
5322 ("json-glib" ,json-glib)
5323 ("openjpeg" ,openjpeg-1)
5324 ("libosinfo" ,libosinfo)
5326 ("libseccomp" ,libseccomp)
5327 ("libsoup" ,libsoup)
5328 ("libuuid" ,util-linux)))
5329 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5330 (synopsis "Metadata database, indexer and search tool")
5331 (home-page "https://wiki.gnome.org/Projects/Tracker")
5333 "Tracker is an advanced framework for first class objects with associated
5334 metadata and tags. It provides a one stop solution for all metadata, tags,
5335 shared object databases, search tools and indexing.")
5336 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5337 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5338 (license (list license:gpl2+
5340 license:lgpl2.0+))))
5342 (define-public nautilus
5348 (uri (string-append "mirror://gnome/sources/" name "/"
5349 (version-major+minor version) "/"
5350 name "-" version ".tar.xz"))
5353 "1cn6bmzmahzlwcd4gllsvx6dva386xm3papgzpv1r34abw73sf27"))))
5354 (build-system glib-or-gtk-build-system)
5357 '("--disable-selinux") ; XXX: not packaged
5358 ;; XXX: FAIL: check-nautilus
5359 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5362 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5363 ("gobject-introspection" ,gobject-introspection)
5364 ("intltool" ,intltool)
5365 ("pkg-config" ,pkg-config)))
5370 ("gnome-desktop" ,gnome-desktop)
5371 ("gnome-autoar" ,gnome-autoar)
5372 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5373 ("tracker" ,tracker)
5374 ;; XXX: gtk+ is required by libnautilus-extension.pc
5376 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5378 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5380 ("libexif" ,libexif)
5381 ("libxml2" ,libxml2)))
5382 (synopsis "File manager for GNOME")
5383 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5385 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5386 design and behaviour, giving the user a simple way to navigate and manage its
5388 (license license:gpl2+)))
5390 (define-public baobab
5397 "mirror://gnome/sources/" name "/"
5398 (version-major+minor version) "/"
5399 name "-" version ".tar.xz"))
5402 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
5403 (build-system glib-or-gtk-build-system)
5405 `(("intltool" ,intltool)
5406 ("pkg-config" ,pkg-config)
5407 ("itstool" ,itstool)
5408 ("xmllint" ,libxml2)
5409 ("glib" ,glib "bin")
5413 (synopsis "Disk usage analyzer for GNOME")
5415 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5416 usage in the GNOME desktop environment. It can easily scan device volumes or
5417 a specific user-requested directory branch (local or remote). Once the scan
5418 is complete it provides a graphical representation of each selected folder.")
5419 (home-page "https://wiki.gnome.org/Apps/Baobab")
5420 (license license:gpl2+)))
5422 (define-public gnome-backgrounds
5424 (name "gnome-backgrounds")
5429 (uri (string-append "mirror://gnome/sources/" name "/"
5430 (version-major+minor version) "/"
5431 name "-" version ".tar.xz"))
5434 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
5435 (build-system glib-or-gtk-build-system)
5437 `(("intltool" ,intltool)))
5438 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5439 (synopsis "Background images for the GNOME desktop")
5441 "GNOME backgrounds package contains a collection of graphics files which
5442 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5443 the package creates the proper framework and directory structure so that you
5444 can add your own files to the collection.")
5445 (license (list license:gpl2+
5448 license:cc-by-sa3.0))))
5450 (define-public gnome-screenshot
5452 (name "gnome-screenshot")
5457 (uri (string-append "mirror://gnome/sources/" name "/"
5458 (version-major+minor version) "/"
5459 name "-" version ".tar.xz"))
5462 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5463 (build-system glib-or-gtk-build-system)
5465 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5466 ("intltool" ,intltool)
5467 ("pkg-config" ,pkg-config)))
5470 ("libcanberra" ,libcanberra)
5472 ("libxext" ,libxext)))
5473 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5474 (synopsis "Take pictures of your screen")
5476 "GNOME Screenshot is a utility used for taking screenshots of the entire
5477 screen, a window or a user defined area of the screen, with optional
5478 beautifying border effects.")
5479 (license license:gpl2+)))
5481 (define-public dconf-editor
5483 (name "dconf-editor")
5488 (uri (string-append "mirror://gnome/sources/" name "/"
5489 (version-major+minor version) "/"
5490 name "-" version ".tar.xz"))
5493 "1939yq3fl55c2dqkc6nzp6cbpxq9sli74gdj0rj7c50pwvbngwam"))))
5494 (build-system glib-or-gtk-build-system)
5497 (modify-phases %standard-phases
5498 (add-before 'install 'skip-gtk-update-icon-cache
5500 ;; Don't create 'icon-theme.cache'.
5501 (substitute* "editor/Makefile"
5502 (("gtk-update-icon-cache") "true"))
5505 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5506 ("intltool" ,intltool)
5507 ("pkg-config" ,pkg-config)))
5511 ("libxml2" ,libxml2)))
5512 (home-page "https://git.gnome.org/browse/dconf-editor")
5513 (synopsis "Graphical editor for GNOME's dconf configuration system")
5515 "Dconf-editor is a graphical tool for browsing and editing the dconf
5516 configuration system for GNOME. It allows users to configure desktop
5517 software that do not provide their own configuration interface.")
5518 (license license:lgpl2.1+)))
5520 (define-public gnome
5523 (version (package-version gnome-shell))
5525 (build-system trivial-build-system)
5526 (arguments '(#:builder (mkdir %output)))
5528 ;; TODO: Add more packages according to:
5529 ;; <https://packages.debian.org/jessie/gnome-core>.
5530 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5532 ("font-cantarell" ,font-cantarell)
5533 ("at-spi2-core" ,at-spi2-core)
5536 ("desktop-file-utils" ,desktop-file-utils)
5538 ("epiphany" ,epiphany)
5540 ("file-roller" ,file-roller)
5542 ("glib-networking" ,glib-networking)
5543 ("gnome-backgrounds" ,gnome-backgrounds)
5544 ("gnome-control-center" ,gnome-control-center)
5545 ("gnome-keyring" ,gnome-keyring)
5546 ("gnome-session" ,gnome-session)
5547 ("gnome-settings-daemon" ,gnome-settings-daemon)
5548 ("gnome-shell" ,gnome-shell)
5549 ("gnome-terminal" ,gnome-terminal)
5550 ("gnome-themes-standard" ,gnome-themes-standard)
5552 ("hicolor-icon-theme" ,hicolor-icon-theme)
5553 ("nautilus" ,nautilus)
5554 ("pinentry-gnome3" ,pinentry-gnome3)
5555 ("pulseaudio" ,pulseaudio)
5556 ("shared-mime-info" ,shared-mime-info)
5559 ("zenity" ,zenity)))
5560 (synopsis "The GNU desktop environment")
5561 (home-page "https://www.gnome.org/")
5563 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5564 applications for browsing the web, editing text and images, creating
5565 documents and diagrams, playing media, scanning, and much more.")
5566 (license license:gpl2+)))
5568 (define-public byzanz
5569 ;; The last stable release of Byzanz was in 2011, but there have been many
5570 ;; useful commits made to the Byzanz repository since then that it would be
5571 ;; silly to use such an old release.
5572 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5575 (version (string-append "0.2-1." (string-take commit 7)))
5579 (url "git://git.gnome.org/byzanz")
5581 (file-name (string-append name "-" version "-checkout"))
5584 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5585 (build-system glib-or-gtk-build-system)
5588 (modify-phases %standard-phases
5589 (add-after 'unpack 'bootstrap
5591 ;; The build system cleverly detects that we're not building from
5592 ;; a release tarball and turns on -Werror for GCC.
5593 ;; Unsurprisingly, there is a warning during compilation that
5594 ;; causes the build to fail unnecessarily, so we remove the flag.
5595 (substitute* '("configure.ac")
5597 ;; The autogen.sh script in gnome-common will run ./configure
5598 ;; by default, which is problematic because source shebangs
5599 ;; have not yet been patched.
5600 (setenv "NOCONFIGURE" "t")
5601 (zero? (system* "sh" "autogen.sh")))))))
5603 `(("autoconf" ,autoconf)
5604 ("automake" ,automake)
5605 ("gnome-common" ,gnome-common)
5606 ("intltool" ,intltool)
5607 ("libtool" ,libtool)
5608 ("pkg-config" ,pkg-config)
5612 ("gstreamer" ,gstreamer)
5613 ("gst-plugins-base" ,gst-plugins-base)
5615 (synopsis "Desktop recording program")
5616 (description "Byzanz is a simple desktop recording program with a
5617 command-line interface. It can record part or all of an X display for a
5618 specified duration and save it as a GIF encoded animated image file.")
5619 (home-page "https://git.gnome.org/browse/byzanz")
5620 (license license:gpl2+))))
5622 (define-public libzapojit
5628 (uri (string-append "mirror://gnome/sources/" name "/"
5629 (version-major+minor version) "/"
5630 name "-" version ".tar.xz"))
5633 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5634 (build-system gnu-build-system)
5636 `(("gobject-introspection" ,gobject-introspection)
5637 ("intltool" ,intltool)
5638 ("pkg-config" ,pkg-config)))
5640 `(("gnome-online-accounts" ,gnome-online-accounts)
5641 ("json-glib" ,json-glib)
5643 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5644 (synopsis "Library for accessing SkyDrive and Hotmail")
5646 "Libzapojit is a GLib-based library for accessing online service APIs of
5647 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5648 (license license:lgpl2.1+)))
5650 (define-public gnome-calendar
5652 (name "gnome-calendar")
5656 (uri (string-append "mirror://gnome/sources/" name "/"
5657 (version-major+minor version) "/"
5658 name "-" version ".tar.xz"))
5661 "1v7k1wcl5yg9bd4l0rz0z03h32d35zgfp4qzz21widjcyis41jry"))))
5662 (build-system glib-or-gtk-build-system)
5664 `(("intltool" ,intltool)
5665 ("pkg-config" ,pkg-config)))
5668 ("desktop-file-utils" ,desktop-file-utils)
5669 ("evolution-data-server" ,evolution-data-server)
5670 ("gnome-online-accounts" ,gnome-online-accounts)
5671 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
5672 (home-page "https://wiki.gnome.org/Apps/Calendar")
5673 (synopsis "GNOME's calendar application")
5675 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5676 desktop. It supports multiple calendars, monthly view and yearly view.")
5677 (license license:gpl3+)))
5679 (define-public gnome-dictionary
5681 (name "gnome-dictionary")
5685 (uri (string-append "mirror://gnome/sources/" name "/"
5686 (version-major+minor version) "/"
5687 name "-" version ".tar.xz"))
5690 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
5691 (build-system glib-or-gtk-build-system)
5693 `(("glib:bin" ,glib "bin")
5694 ("gobject-introspection" ,gobject-introspection)
5695 ("intltool" ,intltool)
5696 ("itstool" ,itstool)
5697 ("pkg-config" ,pkg-config)
5698 ("xmllint" ,libxml2)))
5700 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5702 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5703 (synopsis "Look up words in dictionary sources")
5705 "GNOME Dictionary can look for the definition or translation of a word in
5706 existing databases over the internet.")
5707 (license license:gpl3+)))
5709 (define-public gnome-tweak-tool
5711 (name "gnome-tweak-tool")
5715 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5716 (version-major+minor version) "/"
5717 "gnome-tweak-tool-" version ".tar.xz"))
5719 (search-patch "gnome-tweak-tool-search-paths.patch")))
5722 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
5723 (build-system glib-or-gtk-build-system)
5725 `(#:configure-flags '("--localstatedir=/tmp"
5726 "--sysconfdir=/tmp")
5727 #:imported-modules ((guix build python-build-system)
5728 ,@%glib-or-gtk-build-system-modules)
5729 #:phases (modify-phases %standard-phases
5730 (add-after 'install 'wrap-program
5731 (lambda* (#:key outputs #:allow-other-keys)
5732 (let ((out (assoc-ref outputs "out"))
5733 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5734 (wrap-program (string-append out "/bin/gnome-tweak-tool")
5735 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5737 (add-after 'install 'wrap
5738 (@@ (guix build python-build-system) wrap)))))
5740 `(("intltool" ,intltool)
5741 ("pkg-config" ,pkg-config)))
5743 `(("python" ,python-2)
5744 ("python2-pygobject" ,python2-pygobject)
5745 ("gnome-desktop" ,gnome-desktop)
5746 ("libsoup" ,libsoup)
5747 ("libnotify" ,libnotify)
5748 ("gobject-introspection" ,gobject-introspection)
5749 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5751 (synopsis "Customize advanced GNOME 3 options")
5752 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5754 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5755 GNOME 3. This includes things like the fonts used in user interface elements,
5756 alternative user interface themes, changes in window management behavior,
5757 GNOME Shell appearance and extension, etc.")
5758 (license license:gpl3+)))
5760 (define-public gnome-shell-extensions
5762 (name "gnome-shell-extensions")
5766 (uri (string-append "mirror://gnome/sources/" name "/"
5767 (version-major+minor version) "/"
5768 name "-" version ".tar.xz"))
5771 "10sg87wml5cmyk90pybnr6r942ba7173sl7yplhj2sfggp0wc74s"))))
5772 (build-system gnu-build-system)
5774 '(#:configure-flags '("--enable-extensions=all")))
5776 `(("intltool" ,intltool)
5777 ("pkg-config" ,pkg-config)))
5780 ("glib" ,glib "bin")))
5781 (synopsis "Extensions for GNOME Shell")
5782 (description "GNOME Shell extensions modify and extend GNOME Shell
5783 functionality and behavior.")
5784 (home-page "https://extensions.gnome.org/")
5785 (license license:gpl3+)))
5787 (define-public arc-theme
5790 (version "20170302")
5793 (uri (string-append "https://github.com/horst3180/arc-theme"
5794 "/archive/" version ".tar.gz"))
5795 (file-name (string-append name "-" version ".tar.gz"))
5798 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
5799 (build-system gnu-build-system)
5802 (modify-phases %standard-phases
5803 (add-after 'unpack 'bootstrap
5805 (zero? (system* "autoreconf" "-vif")))))))
5807 `(("autoconf" ,autoconf)
5808 ("automake" ,automake)
5809 ("pkg-config" ,pkg-config)))
5812 (synopsis "A flat GTK+ theme with transparent elements")
5813 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5814 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5815 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5816 (home-page "https://github.com/horst3180/arc-theme")
5817 ;; No "or later" language found.
5818 (license license:gpl3)))
5820 (define-public moka-icon-theme
5822 (name "moka-icon-theme")
5826 (uri (string-append "https://github.com/moka-project"
5827 "/moka-icon-theme/archive/v"
5829 (file-name (string-append name "-" version ".tar.gz"))
5832 "062rab0ggmgb3y0d6b3k5d47wsadi28cdnyyr2vqbjhza01dglci"))))
5833 (build-system gnu-build-system)
5836 (modify-phases %standard-phases
5837 (add-after 'unpack 'patch-makefile.am
5839 (substitute* '("Makefile.am")
5840 (("\\$\\(DESTDIR\\)/usr/share")
5843 (add-after 'patch-makefile.am 'bootstrap
5845 (zero? (system* "autoreconf" "-vif")))))))
5847 `(("autoconf" ,autoconf)
5848 ("automake" ,automake)))
5849 (synopsis "Moka icon theme")
5850 (description "Moka is a stylized desktop icon set, designed to be clear,
5851 simple and consistent.")
5852 (home-page "http://snwh.org/moka")
5853 (license license:gpl3+)))
5855 (define-public arc-icon-theme
5857 (name "arc-icon-theme")
5858 (version "20161122")
5861 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5862 "/archive/" version ".tar.gz"))
5863 (file-name (string-append name "-" version ".tar.gz"))
5866 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
5867 (build-system gnu-build-system)
5870 (modify-phases %standard-phases
5871 (add-after 'unpack 'bootstrap
5873 (zero? (system* "autoreconf" "-vif")))))))
5875 `(("autoconf" ,autoconf)
5876 ("automake" ,automake)))
5877 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5879 `(("moka-icon-theme" ,moka-icon-theme)))
5880 (synopsis "Arc icon theme")
5881 (description "The Arc icon theme provides a set of icons matching the
5882 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5883 the Moka icon theme.")
5884 (home-page "https://github.com/horst3180/arc-icon-theme")
5885 (license license:gpl3+)))
5887 (define-public folks
5894 "mirror://gnome/sources/" name "/"
5895 (version-major+minor version) "/"
5896 name "-" version ".tar.xz"))
5899 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5900 (build-system glib-or-gtk-build-system)
5903 ("dbus-glib" ,dbus-glib)
5904 ("evolution-data-server" ,evolution-data-server)
5907 ("telepathy-glib" ,telepathy-glib)))
5909 `(("gobject-introspection" ,gobject-introspection)
5910 ("intltool" ,intltool)
5911 ("pkg-config" ,pkg-config)
5913 (synopsis "Library to aggregate data about people")
5914 (description "Libfolks is a library that aggregates information about people
5915 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5916 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5917 etc.) to create metacontacts. It's written in Vala, which generates C code when
5919 (home-page "https://wiki.gnome.org/Projects/Folks")
5920 (license license:lgpl2.1+)))
5922 (define-public gfbgraph
5929 "mirror://gnome/sources/" name "/"
5930 (version-major+minor version) "/"
5931 name "-" version ".tar.xz"))
5934 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5935 (build-system glib-or-gtk-build-system)
5937 `(#:tests? #f ; Tests appear to require the network.
5938 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5939 #:configure-flags '("--disable-gtk-doc"
5941 "--enable-introspection")))
5943 `(("pkg-config" ,pkg-config)
5944 ("gobject-introspection" ,gobject-introspection)))
5946 `(("json-glib" ,json-glib)
5947 ("gnome-online-accounts" ,gnome-online-accounts)
5949 (synopsis "GLib/GObject wrapper for the Facebook API")
5950 (description "This library allows you to use the Facebook API from
5951 GLib/GObject code.")
5952 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5953 (license license:lgpl2.1+)))
5955 (define-public libgnomekbd
5957 (name "libgnomekbd")
5958 (version "3.22.0.1")
5961 (uri (string-append "mirror://gnome/sources/" name "/"
5962 (version-major+minor version) "/"
5963 name "-" version ".tar.xz"))
5966 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
5967 (build-system gnu-build-system)
5969 `(("pkg-config" ,pkg-config)
5970 ("glib" ,glib "bin")
5971 ("intltool" ,intltool)))
5973 ;; Referred to in .h files and .pc.
5976 ("libxklavier" ,libxklavier)))
5977 (home-page "https://www.gnome.org")
5978 (synopsis "GNOME keyboard configuration library")
5980 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5981 environment, which can notably display keyboard layouts.")
5982 (license license:lgpl2.0+)))
5984 ;;; This package is no longer maintained:
5985 ;;; https://wiki.gnome.org/Attic/LibUnique
5986 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5987 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5988 (define-public libunique
5994 (uri (string-append "mirror://gnome/sources/" name "/"
5995 (version-major+minor version) "/"
5996 name "-" version ".tar.xz"))
5999 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6000 (build-system glib-or-gtk-build-system)
6002 `(#:configure-flags '("--disable-static"
6003 "--disable-dbus" ; use gdbus
6004 "--enable-introspection")))
6006 `(("pkg-config" ,pkg-config)
6007 ("gobject-introspection" ,gobject-introspection)
6008 ("glib:bin" ,glib "bin")
6009 ("gtk-doc" ,gtk-doc)))
6011 ;; Referred to in .h files and .pc.
6013 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6014 (synopsis "Library for writing single instance applications")
6016 "Libunique is a library for writing single instance applications. If you
6017 launch a single instance application twice, the second instance will either just
6018 quit or will send a message to the running instance. Libunique makes it easy to
6019 write this kind of application, by providing a base class, taking care of all
6020 the IPC machinery needed to send messages to a running instance, and also
6021 handling the startup notification side.")
6022 (license license:lgpl2.1+)))
6024 (define-public gnome-calculator
6026 (name "gnome-calculator")
6031 (uri (string-append "mirror://gnome/sources/" name "/"
6032 (version-major+minor version) "/"
6033 name "-" version ".tar.xz"))
6036 "041d40as8y0r5d0kk83dy842711zchydwwqh71kh1lpd373qlxa4"))))
6037 (build-system glib-or-gtk-build-system)
6039 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6040 ("intltool" ,intltool)
6041 ("itstool" ,itstool)
6042 ("pkg-config" ,pkg-config)))
6044 `(("gtksourceview" ,gtksourceview)
6045 ("libsoup" ,libsoup)
6048 (home-page "https://wiki.gnome.org/Apps/Calculator")
6049 (synopsis "Desktop calculator")
6051 "Calculator is an application that solves mathematical equations and
6052 is suitable as a default application in a Desktop environment.")
6053 (license license:gpl3)))
6062 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
6063 name "-" version ".tar.bz2"))
6066 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
6067 (build-system gnu-build-system)
6069 `(("intltool" ,intltool)
6070 ("pkg-config" ,pkg-config)))
6073 ("gtksourceview" ,gtksourceview)
6075 (home-page "https://wiki.gnome.org/Apps/Xpad")
6076 (synopsis "Virtual sticky note")
6078 "Xpad is a sticky note that strives to be simple, fault tolerant,
6079 and customizable. Xpad consists of independent pad windows, each is
6080 basically a text box in which notes can be written.")
6081 (license license:gpl3+)))
6083 (define-public gucharmap
6090 (uri (string-append "mirror://gnome/sources/" name "/"
6091 (version-major+minor version) "/"
6092 name "-" version ".tar.xz"))
6095 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6096 (build-system gnu-build-system)
6098 `(("desktop-file-utils" ,desktop-file-utils)
6099 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("intltool" ,intltool)
6102 ("itstool" ,itstool)
6103 ("pkg-config" ,pkg-config)))
6106 ("xmllint" ,libxml2)))
6107 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6108 (synopsis "Unicode character picker and font browser")
6110 "This program allows you to browse through all the available Unicode
6111 characters and categories for the installed fonts, and to examine their
6112 detailed properties. It is an easy way to find the character you might
6113 only know by its Unicode name or code point.")
6114 (license license:gpl3+)))
6116 (define-public bluefish
6123 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6124 name "-" version ".tar.gz"))
6127 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
6128 (build-system gnu-build-system)
6130 `(("desktop-file-utils" ,desktop-file-utils)
6131 ("intltool" ,intltool)
6132 ("pkg-config" ,pkg-config)))
6134 `(("enchant" ,enchant)
6136 ("python" ,python-2)
6137 ("xmllint" ,libxml2)
6138 ("gucharmap" ,gucharmap)))
6139 (home-page "http://bluefish.openoffice.nl")
6140 (synopsis "Web development studio")
6142 "Bluefish is an editor targeted towards programmers and web developers,
6143 with many options to write web sites, scripts and other code.
6144 Bluefish supports many programming and markup languages.")
6145 (license license:gpl3+)))
6147 (define-public gnome-system-monitor
6149 (name "gnome-system-monitor")
6154 (uri (string-append "mirror://gnome/sources/" name "/"
6155 (version-major+minor version) "/"
6156 name "-" version ".tar.xz"))
6159 "1x3343hchkllj8wyifk844v8psi45kyjhphyd03fzahi4h34aay3"))))
6160 (build-system glib-or-gtk-build-system)
6162 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6163 ("intltool" ,intltool)
6164 ("itstool" ,itstool)
6165 ("libgtop" ,libgtop)
6166 ("pkg-config" ,pkg-config)))
6168 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6171 ("librsvg" ,librsvg)
6172 ("libxml2" ,libxml2)))
6173 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6174 (synopsis "Process viewer and system resource monitor for GNOME")
6176 "GNOME System Monitor is a GNOME process viewer and system monitor with
6177 an attractive, easy-to-use interface. It has features, such as a tree view
6178 for process dependencies, icons for processes, the ability to hide processes,
6179 graphical time histories of CPU/memory/swap usage and the ability to
6180 kill/reinice processes.")
6181 (license license:gpl2+)))
6183 (define-public python-pyatspi
6185 (name "python-pyatspi")
6190 "mirror://gnome/sources/pyatspi/"
6191 (version-major+minor version)
6192 "/pyatspi-" version ".tar.xz"))
6195 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6196 (build-system gnu-build-system)
6198 `(("pkg-config" ,pkg-config)))
6200 `(("python" ,python)
6201 ("python-pygobject" ,python-pygobject)))
6202 (synopsis "Python client bindings for D-Bus AT-SPI")
6203 (home-page "https://wiki.linuxfoundation.org/accessibility\
6204 /atk/at-spi/at-spi_on_d-bus")
6206 "This package includes a python client library for the AT-SPI D-Bus
6207 accessibility infrastructure.")
6208 (license license:lgpl2.0)
6209 (properties '((upstream-name . "pyatspi")))))
6218 "mirror://gnome/sources/" name "/"
6219 (version-major+minor version) "/"
6220 name "-" version ".tar.xz"))
6223 "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
6224 (build-system glib-or-gtk-build-system)
6227 (modify-phases %standard-phases
6228 (add-before 'configure 'qualify-xkbcomp
6229 (lambda* (#:key inputs #:allow-other-keys)
6230 (let ((xkbcomp (string-append
6231 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6232 (substitute* "src/orca/orca.py"
6233 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6235 (add-after 'install 'wrap-orca
6236 (lambda* (#:key outputs #:allow-other-keys)
6237 (let* ((out (assoc-ref outputs "out"))
6238 (prog (string-append out "/bin/orca")))
6240 `("GI_TYPELIB_PATH" ":" prefix
6241 (,(getenv "GI_TYPELIB_PATH")))
6242 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6243 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6244 `("PYTHONPATH" ":" prefix
6245 (,(getenv "PYTHONPATH")))))
6248 `(("intltool" ,intltool)
6249 ("itstool" ,itstool)
6250 ("pkg-config" ,pkg-config)
6251 ("xmllint" ,libxml2)))
6253 `(("at-spi2-atk" ,at-spi2-atk)
6254 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6255 ("gstreamer" ,gstreamer)
6256 ("gst-plugins-base" ,gst-plugins-base)
6257 ("gst-plugins-good" ,gst-plugins-good)
6260 ("python-pygobject" ,python-pygobject)
6261 ("python-pyatspi" ,python-pyatspi)
6262 ("python-speechd" ,speech-dispatcher)
6263 ("xkbcomp" ,xkbcomp)))
6265 "Screen reader for individuals who are blind or visually impaired")
6266 (home-page "https://wiki.gnome.org/Projects/Orca")
6268 "Orca is a screen reader that provides access to the graphical desktop
6269 via speech and refreshable braille. Orca works with applications and toolkits
6270 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6271 (license license:lgpl2.1+)))
6273 (define-public gspell
6279 (uri (string-append "mirror://gnome/sources/" name "/"
6280 (version-major+minor version) "/"
6281 name "-" version ".tar.xz"))
6284 "1ghh1xdzf04mfgb13zqpj88krpa44xv2vbyhm6k017kzrpz8hbs4"))
6285 (patches (search-patches "gspell-dash-test.patch"))))
6286 (build-system glib-or-gtk-build-system)
6289 (modify-phases %standard-phases
6290 (add-before 'check 'pre-check
6291 (lambda* (#:key inputs #:allow-other-keys)
6292 ;; Tests require a running X server.
6293 (system "Xvfb :1 &")
6294 (setenv "DISPLAY" ":1")
6296 ;; For the missing /etc/machine-id.
6297 (setenv "DBUS_FATAL_WARNINGS" "0")
6299 ;; Allow Enchant and its Aspell backend to find the en_US
6301 (setenv "ASPELL_DICT_DIR"
6302 (string-append (assoc-ref inputs "aspell-dict-en")
6306 `(("enchant" ,enchant)
6307 ("iso-codes" ,iso-codes)
6311 `(("glib" ,glib "bin")
6312 ("pkg-config" ,pkg-config)
6313 ("xmllint" ,libxml2)
6316 ("xorg-server" ,xorg-server)
6317 ("aspell-dict-en" ,aspell-dict-en)))
6318 (home-page "https://wiki.gnome.org/Projects/gspell")
6319 (synopsis "GNOME's alternative spell checker")
6321 "gspell provides a flexible API to add spell-checking to a GTK+
6322 application. It provides a GObject API, spell-checking to text entries and
6323 text views, and buttons to choose the language.")
6324 (license license:gpl2+)))
6326 (define-public gnome-planner
6328 (name "gnome-planner")
6332 (uri (string-append "mirror://gnome/sources/planner/"
6333 (version-major+minor version) "/planner-"
6337 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
6338 (build-system glib-or-gtk-build-system)
6340 ;; Disable the Python bindings because the Planner program functions
6341 ;; without them, and (as of 2017-06-13) we have not packaged all of
6342 ;; packages that are necessary for building the Python bindings.
6344 (list "--disable-python"
6345 ,@(if (string=? "aarch64-linux" (%current-system))
6346 '("--build=aarch64-unknown-linux-gnu")
6349 `(("libgnomecanvas" ,libgnomecanvas)
6350 ("libgnomeui" ,libgnomeui)
6351 ("libglade" ,libglade)
6352 ("gnome-vfs" ,gnome-vfs)
6354 ("libxml2" ,libxml2)
6355 ("libxslt" ,libxslt)
6359 `(("intltool" ,intltool)
6360 ("scrollkeeper" ,scrollkeeper)
6361 ("pkg-config" ,pkg-config)))
6362 (home-page "https://wiki.gnome.org/Apps/Planner")
6363 (synopsis "Project management software for the GNOME desktop")
6365 "GNOME Planner is a project management tool based on the Work Breakdown
6366 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6367 the resources, tasks, and constraints that you define, Planner generates
6368 various views into a project. For example, Planner can show a Gantt chart of
6369 the project. It can show a detailed summary of tasks including their
6370 duration, cost, and current progress. It can also show a report of resource
6371 utilization that highlights under-utilized and over-utilized resources. These
6372 views can be printed as PDF or PostScript files, or exported to HTML.")
6373 (license license:gpl2+)))