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 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 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>
28 ;;; This file is part of GNU Guix.
30 ;;; GNU Guix is free software; you can redistribute it and/or modify it
31 ;;; under the terms of the GNU General Public License as published by
32 ;;; the Free Software Foundation; either version 3 of the License, or (at
33 ;;; your option) any later version.
35 ;;; GNU Guix is distributed in the hope that it will be useful, but
36 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
37 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 ;;; GNU General Public License for more details.
40 ;;; You should have received a copy of the GNU General Public License
41 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
43 (define-module (gnu packages gnome)
44 #:use-module ((guix licenses) #:prefix license:)
45 #:use-module (guix packages)
46 #:use-module (guix download)
47 #:use-module (guix git-download)
48 #:use-module (guix utils)
49 #:use-module (guix build-system gnu)
50 #:use-module (guix build-system glib-or-gtk)
51 #:use-module (guix build-system trivial)
52 #:use-module (gnu packages)
53 #:use-module (gnu packages admin)
54 #:use-module (gnu packages autotools)
55 #:use-module (gnu packages avahi)
56 #:use-module (gnu packages base)
57 #:use-module (gnu packages bison)
58 #:use-module (gnu packages calendar)
59 #:use-module (gnu packages check)
60 #:use-module (gnu packages cups)
61 #:use-module (gnu packages curl)
62 #:use-module (gnu packages cyrus-sasl)
63 #:use-module (gnu packages databases)
64 #:use-module (gnu packages djvu)
65 #:use-module (gnu packages dns)
66 #:use-module (gnu packages flex)
67 #:use-module (gnu packages docbook)
68 #:use-module (gnu packages enchant)
69 #:use-module (gnu packages fontutils)
70 #:use-module (gnu packages game-development)
71 #:use-module (gnu packages gettext)
72 #:use-module (gnu packages glib)
73 #:use-module (gnu packages gnupg)
74 #:use-module (gnu packages gnuzilla)
75 #:use-module (gnu packages gstreamer)
76 #:use-module (gnu packages gtk)
77 #:use-module (gnu packages gperf)
78 #:use-module (gnu packages guile)
79 #:use-module (gnu packages openldap)
80 #:use-module (gnu packages pdf)
81 #:use-module (gnu packages polkit)
82 #:use-module (gnu packages popt)
83 #:use-module (gnu packages ghostscript)
84 #:use-module (gnu packages ibus)
85 #:use-module (gnu packages iso-codes)
86 #:use-module (gnu packages libcanberra)
87 #:use-module (gnu packages libunistring)
88 #:use-module (gnu packages linux)
89 #:use-module (gnu packages libusb)
90 #:use-module (gnu packages lirc)
91 #:use-module (gnu packages lua)
92 #:use-module (gnu packages image)
93 #:use-module (gnu packages imagemagick)
94 #:use-module (gnu packages networking)
95 #:use-module (gnu packages password-utils)
96 #:use-module (gnu packages pcre)
97 #:use-module (gnu packages perl)
98 #:use-module (gnu packages photo)
99 #:use-module (gnu packages pkg-config)
100 #:use-module (gnu packages pulseaudio)
101 #:use-module (gnu packages python)
102 #:use-module (gnu packages rdesktop)
103 #:use-module (gnu packages scanner)
104 #:use-module (gnu packages ssh)
105 #:use-module (gnu packages xml)
106 #:use-module (gnu packages gl)
107 #:use-module (gnu packages compression)
108 #:use-module (gnu packages spice)
109 #:use-module (gnu packages tex)
110 #:use-module (gnu packages tls)
111 #:use-module (gnu packages web)
112 #:use-module (gnu packages webkit)
113 #:use-module (gnu packages xiph)
114 #:use-module (gnu packages xorg)
115 #:use-module (gnu packages xdisorg)
116 #:use-module (gnu packages freedesktop)
117 #:use-module (gnu packages mail)
118 #:use-module (gnu packages kerberos)
119 #:use-module (gnu packages multiprecision)
120 #:use-module (gnu packages backup)
121 #:use-module (gnu packages nettle)
122 #:use-module (gnu packages ncurses)
123 #:use-module (gnu packages video)
124 #:use-module (gnu packages cdrom)
125 #:use-module (gnu packages samba)
126 #:use-module (gnu packages readline)
127 #:use-module (gnu packages fonts)
128 #:use-module (gnu packages qemu)
129 #:use-module (gnu packages zip)
130 #:use-module (gnu packages speech)
131 #:use-module (srfi srfi-1))
133 (define-public brasero
139 (uri (string-append "mirror://gnome/sources/" name "/"
140 (version-major+minor version) "/"
141 name "-" version ".tar.xz"))
144 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
145 (build-system glib-or-gtk-build-system)
147 `(#:configure-flags (list
148 (string-append "--with-girdir="
149 (assoc-ref %outputs "out")
151 (string-append "--with-typelibdir="
152 (assoc-ref %outputs "out")
153 "/lib/girepository-1.0"))
155 (modify-phases %standard-phases
156 (add-before 'configure 'embed-growisofs
157 (lambda* (#:key inputs #:allow-other-keys)
158 (substitute* "plugins/growisofs/burn-growisofs.c"
159 (("\"growisofs") (string-append "\"" (which "growisofs"))))
162 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
164 `(("intltool" ,intltool)
165 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
166 ("gobject-introspection" ,gobject-introspection)
167 ("pkg-config" ,pkg-config)))
169 `(("dvd+rw-tools" ,dvd+rw-tools)
171 ("gnome-doc-utils" ,gnome-doc-utils)
172 ("gstreamer" ,gstreamer)
173 ("gst-plugins-base" ,gst-plugins-base)
176 ("libcanberra" ,libcanberra)
178 ("libnotify" ,libnotify)
182 ("totem-pl-parser" ,totem-pl-parser)))
183 (home-page "https://projects.gnome.org/brasero/")
184 (synopsis "CD/DVD burning tool for Gnome")
185 (description "Brasero is an application to burn CD/DVD for the Gnome
186 Desktop. It is designed to be as simple as possible and has some unique
187 features to enable users to create their discs easily and quickly.")
188 (license license:gpl2+)))
191 ;; This version from GNOME's repository includes fixes for compiling with
192 ;; recent versions of the build tools. The latest activity on the
193 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
195 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
198 (version (string-append "0.97.2-" (string-take commit 7)))
202 (url "https://git.gnome.org/browse/dia")
204 (file-name (string-append name "-" version "-checkout"))
207 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
208 (build-system gnu-build-system)
210 `(("glib" ,glib "bin")
212 ("gdk-pixbuf" ,gdk-pixbuf)
215 ("freetype" ,freetype)
216 ("libart-lgpl" ,libart-lgpl)))
218 `(("intltool" ,intltool)
219 ("pkg-config" ,pkg-config)
220 ("automake" ,automake)
221 ("autoconf" ,autoconf)
224 ("python-wrapper" ,python-wrapper)))
227 (modify-phases %standard-phases
228 (add-before 'configure 'run-autogen
230 (system* "sh" "autogen.sh"))))))
231 (home-page "https://wiki.gnome.org/Apps/Dia")
232 (synopsis "Diagram creation for GNOME")
233 (description "Dia can be used to draw different types of diagrams, and
234 includes support for UML static structure diagrams (class diagrams), entity
235 relationship modeling, and network diagrams. The program supports various file
236 formats like PNG, SVG, PDF and EPS.")
237 (license license:gpl2+))))
239 (define-public gnome-common
241 (name "gnome-common")
246 (uri (string-append "mirror://gnome/sources/" name "/"
247 (version-major+minor version) "/"
248 name "-" version ".tar.xz"))
251 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
252 (build-system gnu-build-system)
253 (home-page "https://www.gnome.org/")
254 (synopsis "Bootstrap GNOME modules built from Git")
255 (description "gnome-common contains various files needed to bootstrap
256 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
257 can be used to configure a source directory checked out from Git and some
258 commonly used macros.")
259 (license license:gpl2+)))
261 (define-public gnome-desktop
263 (name "gnome-desktop")
268 (uri (string-append "mirror://gnome/sources/" name "/"
269 (version-major+minor version) "/"
270 name "-" version ".tar.xz"))
273 "074yjz4g9gii045v2pl1ad34hcg92ci04ynxqcabwnf3lvvypmsi"))))
274 (build-system gnu-build-system)
276 `(("gobject-introspection" ,gobject-introspection)
278 ("intltool" ,intltool)
279 ("pkg-config" ,pkg-config)
280 ("xmllint" ,libxml2)))
282 ;; Required by gnome-desktop-3.0.pc.
283 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
286 `(("gdk-pixbuf" ,gdk-pixbuf)
288 ("iso-codes" ,iso-codes)
291 ("libxkbfile" ,libxkbfile)
292 ("libxrandr" ,libxrandr)
293 ("xkeyboard-config" ,xkeyboard-config)))
294 (home-page "https://www.gnome.org/")
296 "Libgnome-desktop, gnome-about, and desktop-wide documents")
298 "The libgnome-desktop library provides API shared by several applications
299 on the desktop, but that cannot live in the platform for various reasons.
300 There is no API or ABI guarantee, although we are doing our best to provide
301 stability. Documentation for the API is available with gtk-doc.
303 The gnome-about program helps find which version of GNOME is installed.")
304 ; Some bits under the LGPL.
305 (license license:gpl2+)))
307 (define-public gnome-doc-utils
309 (name "gnome-doc-utils")
314 (uri (string-append "mirror://gnome/sources/" name "/"
315 (version-major+minor version) "/"
316 name "-" version ".tar.xz"))
319 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
320 (build-system gnu-build-system)
322 `(("intltool" ,intltool)
323 ("docbook-xml" ,docbook-xml-4.4)
324 ("python2-libxml2" ,python2-libxml2)
327 ("pkg-config" ,pkg-config)
328 ("python-2" ,python-2)))
329 (home-page "https://wiki.gnome.org/GnomeDocUtils")
331 "Documentation utilities for the Gnome project")
333 "Gnome-doc-utils is a collection of documentation utilities for the
334 Gnome project. It includes xml2po tool which makes it easier to translate
335 and keep up to date translations of documentation.")
336 (license license:gpl2+))) ; xslt under lgpl
338 (define-public gnome-disk-utility
340 (name "gnome-disk-utility")
344 (uri (string-append "mirror://gnome/sources/" name "/"
345 (version-major+minor version) "/"
346 name "-" version ".tar.xz"))
349 "1hqynlcgwm72il2rdml98gcarz0alsgxs5xf6ww2x0czaj3s3953"))))
350 (build-system gnu-build-system)
352 `(("glib:bin" ,glib "bin")
353 ("intltool" ,intltool)
354 ("pkg-config" ,pkg-config)
355 ("docbook-xml" ,docbook-xml)
356 ("docbook-xsl" ,docbook-xsl)
358 ("libxslt" ,libxslt)))
361 ("appstream-glib" ,appstream-glib)
362 ("gnome-settings-daemon" ,gnome-settings-daemon)
364 ("libcanberra" ,libcanberra)
365 ("libdvdread" ,libdvdread)
366 ("libnotify" ,libnotify)
367 ("libpwquality" ,libpwquality)
368 ("libsecret" ,libsecret)
370 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
371 (synopsis "Disk management utility for GNOME")
372 (description "Disk management utility for GNOME.")
373 (license license:gpl2+)))
381 (uri (string-append "mirror://gnome/sources/" name "/"
382 (version-major+minor version) "/"
383 name "-" version ".tar.xz"))
386 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
387 (build-system gnu-build-system)
389 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
391 #:phases (modify-phases %standard-phases
394 (lambda* (#:key inputs #:allow-other-keys)
395 (substitute* "build/tap-driver"
396 (("/usr/bin/env python") (which "python"))))))))
399 ("gnupg" ,gnupg) ;called as a child process during tests
400 ("libgcrypt" ,libgcrypt)))
402 `(("python" ,python-2) ;for tests
403 ("pkg-config" ,pkg-config)
405 ("gobject-introspection" ,gobject-introspection)
406 ("intltool" ,intltool)
407 ("xsltproc" ,libxslt)))
408 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
410 `(("p11-kit" ,p11-kit)
413 (home-page "http://www.gnome.org")
414 (synopsis "Libraries for displaying certificates and accessing key stores")
416 "The GCR package contains libraries used for displaying certificates and
417 accessing key stores. It also provides the viewer for crypto files on the
419 (license license:lgpl2.1+)))
421 (define-public libgnome-keyring
423 (name "libgnome-keyring")
427 (uri (string-append "mirror://gnome/sources/" name "/"
428 (version-major+minor version) "/"
429 name "-" version ".tar.xz"))
432 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
433 (build-system gnu-build-system)
435 `(("libgcrypt" ,libgcrypt)
438 `(("pkg-config" ,pkg-config)
440 ("intltool" ,intltool)))
442 ;; Referred to in .h files and .pc.
444 (home-page "http://www.gnome.org")
445 (synopsis "Accessing passwords from the GNOME keyring")
447 "Client library to access passwords from the GNOME keyring.")
449 ;; Though a couple of files are LGPLv2.1+.
450 (license license:lgpl2.0+)))
452 (define-public gnome-keyring
454 (name "gnome-keyring")
458 (uri (string-append "mirror://gnome/sources/" name "/"
459 (version-major+minor version) "/"
460 name "-" version ".tar.xz"))
463 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
464 (build-system gnu-build-system)
466 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
470 (string-append "--with-pkcs11-config="
471 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
472 (string-append "--with-pkcs11-modules="
473 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
475 (modify-phases %standard-phases
478 (lambda* (#:key inputs #:allow-other-keys)
479 (substitute* "build/tap-driver"
480 (("/usr/bin/env python") (which "python")))))
482 'configure 'fix-docbook
483 (lambda* (#:key inputs #:allow-other-keys)
484 (substitute* "docs/Makefile.am"
485 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
486 (string-append (assoc-ref inputs "docbook-xsl")
487 "/xml/xsl/docbook-xsl-"
488 ,(package-version docbook-xsl)
489 "/manpages/docbook.xsl")))
490 (setenv "XML_CATALOG_FILES"
491 (string-append (assoc-ref inputs "docbook-xml")
492 "/xml/dtd/docbook/catalog.xml")))))))
494 `(("libgcrypt" ,libgcrypt)
495 ("linux-pam" ,linux-pam)
499 `(("pkg-config" ,pkg-config)
501 ("python" ,python-2) ;for tests
502 ("intltool" ,intltool)
503 ("autoconf" ,autoconf)
504 ("automake" ,automake)
505 ("libxslt" ,libxslt) ;for documentation
506 ("docbook-xml" ,docbook-xml-4.2)
507 ("docbook-xsl" ,docbook-xsl)))
508 (home-page "http://www.gnome.org")
509 (synopsis "Daemon to store passwords and encryption keys")
511 "gnome-keyring is a program that keeps passwords and other secrets for
512 users. It is run as a daemon in the session, similar to ssh-agent, and other
513 applications locate it via an environment variable or D-Bus.
515 The program can manage several keyrings, each with its own master password,
516 and there is also a session keyring which is never stored to disk, but
517 forgotten when the session ends.")
518 (license license:lgpl2.1+)))
520 (define-public evince
526 (uri (string-append "mirror://gnome/sources/" name "/"
527 (version-major+minor version) "/"
528 name "-" version ".tar.xz"))
531 "13yw0i68dgqp9alyliy3zifszh7rikkpi1xbz5binvxxgfpraf04"))))
532 (build-system glib-or-gtk-build-system)
534 `(#:configure-flags '("--disable-nautilus")
536 (modify-phases %standard-phases
537 (add-before 'install 'skip-gtk-update-icon-cache
538 ;; Don't create 'icon-theme.cache'.
540 (substitute* "data/Makefile"
541 (("gtk-update-icon-cache") "true"))
544 `(("libspectre" ,libspectre)
545 ("djvulibre" ,djvulibre)
546 ("ghostscript" ,ghostscript)
550 ;; Add libgxps for XPS support.
551 ;; Build libkpathsea as a shared library for DVI support.
552 ;; ("libkpathsea" ,texlive-bin)
553 ("gnome-desktop" ,gnome-desktop)
554 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
555 ("libgnome-keyring" ,libgnome-keyring)
556 ("adwaita-icon-theme" ,adwaita-icon-theme)
557 ("gdk-pixbuf" ,gdk-pixbuf)
565 ("shared-mime-info" ,shared-mime-info)
567 ("libcanberra" ,libcanberra)
568 ("libsecret" ,libsecret)
570 ("dogtail" ,python2-dogtail)))
572 `(("itstool" ,itstool)
573 ("intltool" ,intltool)
575 ("pkg-config" ,pkg-config)
576 ("xmllint" ,libxml2)))
578 "http://www.gnome.org/projects/evince/")
579 (synopsis "GNOME's document viewer")
581 "Evince is a document viewer for multiple document formats. It
582 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
583 of Evince is to replace the multiple document viewers that exist
584 on the GNOME Desktop with a single simple application.")
585 (license license:gpl2+)))
587 (define-public gsettings-desktop-schemas
589 (name "gsettings-desktop-schemas")
594 (uri (string-append "mirror://gnome/sources/" name "/"
595 (version-major+minor version) "/"
596 name "-" version ".tar.xz"))
599 "145vpcljy4660cnk8zk91qf7ywa7hqfl5hhw025gy8hxcqzklmzn"))))
600 (build-system gnu-build-system)
604 `(("intltool" ,intltool)
605 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
606 ("gobject-introspection" ,gobject-introspection)
607 ("pkg-config" ,pkg-config)))
608 (home-page "https://launchpad.net/gsettings-desktop-schemas")
610 "GNOME settings for various desktop components")
612 "Gsettings-desktop-schemas contains a collection of GSettings schemas
613 for settings shared by various components of the GNOME desktop.")
614 (license license:lgpl2.1+)))
616 (define-public icon-naming-utils
618 (name "icon-naming-utils")
623 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
627 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
628 (build-system gnu-build-system)
631 ("perl-xml-simple" ,perl-xml-simple)))
635 'install 'set-load-paths
636 ;; Tell 'icon-name-mapping' where XML::Simple is.
637 (lambda* (#:key outputs #:allow-other-keys)
638 (let* ((out (assoc-ref outputs "out"))
639 (prog (string-append out "/libexec/icon-name-mapping")))
642 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
644 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
646 "Utility to implement the Freedesktop Icon Naming Specification")
648 "To help with the transition to the Freedesktop Icon Naming
649 Specification, the icon naming utility maps the icon names used by the
650 GNOME and KDE desktops to the icon names proposed in the specification.")
651 (license license:lgpl2.1+)))
653 (define-public desktop-file-utils
655 (name "desktop-file-utils")
659 (uri (string-append "https://www.freedesktop.org/software/" name
660 "/releases/" name "-" version ".tar.xz"))
663 "119kj2w0rrxkhg4f9cf5waa55jz1hj8933vh47vcjipcplql02bc"))))
664 (build-system gnu-build-system)
666 `(("pkg-config" ,pkg-config)))
669 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
670 (synopsis "Utilities for working with desktop entries")
672 "This package contains a few command line utilities for working with
675 desktop-file-validate: validates a desktop file and prints warnings/errors
676 about desktop entry specification violations.
678 desktop-file-install: installs a desktop file to the applications directory,
679 optionally munging it a bit in transit.
681 update-desktop-database: updates the database containing a cache of MIME types
682 handled by desktop files.")
683 (license license:gpl2+)))
685 (define-public gnome-icon-theme
687 (name "gnome-icon-theme")
692 (uri (string-append "mirror://gnome/sources/" name "/"
693 (version-major+minor version) "/"
694 name "-" version ".tar.xz"))
697 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
698 (build-system gnu-build-system)
701 ;; Don't create 'icon-theme.cache'.
702 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
703 (true (string-append coreutils "/bin/true")))
704 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
706 `(("icon-naming-utils" ,icon-naming-utils)
707 ("intltool" ,intltool)
708 ("pkg-config" ,pkg-config)))
709 (home-page "http://art.gnome.org/")
713 "Icons for the GNOME desktop.")
714 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
716 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
717 (define-public adwaita-icon-theme
718 (package (inherit gnome-icon-theme)
719 (name "adwaita-icon-theme")
723 (uri (string-append "mirror://gnome/sources/" name "/"
724 (version-major+minor version) "/"
725 name "-" version ".tar.xz"))
728 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
730 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
732 (define-public tango-icon-theme
734 (name "tango-icon-theme")
738 (uri (string-append "http://tango.freedesktop.org/releases/"
739 "tango-icon-theme-" version ".tar.bz2"))
742 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
743 (build-system gnu-build-system)
745 `(("icon-naming-utils" ,icon-naming-utils)
746 ("intltool" ,intltool)
747 ("imagemagick" ,imagemagick)
748 ("pkg-config" ,pkg-config)))
749 (home-page "http://tango-project.org/")
750 (synopsis "Tango icon theme")
751 (description "This is an icon theme that follows the Tango visual
753 (license license:public-domain)))
755 (define-public shared-mime-info
757 (name "shared-mime-info")
761 (uri (string-append "https://freedesktop.org/~hadess/"
762 "shared-mime-info-" version ".tar.xz"))
765 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
766 (build-system gnu-build-system)
768 ;; The build system appears not to be parallel-safe.
769 '(#:parallel-build? #f))
772 ("libxml2" ,libxml2)))
774 `(("intltool" ,intltool)
775 ("pkg-config" ,pkg-config)))
776 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
777 (synopsis "Database of common MIME types")
779 "The shared-mime-info package contains the core database of common types
780 and the update-mime-database command used to extend it. It requires glib2 to
781 be installed for building the update command. Additionally, it uses intltool
782 for translations, though this is only a dependency for the maintainers. This
783 database is translated at Transifex.")
784 (license license:gpl2+)))
786 (define-public hicolor-icon-theme
788 (name "hicolor-icon-theme")
793 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
794 "hicolor-icon-theme-" version ".tar.xz"))
797 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
798 (build-system gnu-build-system)
800 `(#:tests? #f)) ; no check target
801 (home-page "http://icon-theme.freedesktop.org/releases/")
803 "Freedesktop icon theme")
805 "Freedesktop icon theme.")
806 (license license:gpl2)))
808 (define-public libnotify
815 (uri (string-append "mirror://gnome/sources/" name "/"
816 (version-major+minor version) "/"
817 name "-" version ".tar.xz"))
820 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
821 (build-system gnu-build-system)
823 `(("gdk-pixbuf" ,gdk-pixbuf)
828 `(("pkg-config" ,pkg-config)
830 ("gobject-introspection" ,gobject-introspection)))
831 (home-page "https://developer-next.gnome.org/libnotify/")
833 "GNOME desktop notification library")
835 "Libnotify is a library that sends desktop notifications to a
836 notification daemon, as defined in the Desktop Notifications spec. These
837 notifications can be used to inform the user about an event or display
838 some form of information without getting in the user's way.")
839 (license license:lgpl2.1+)))
841 (define-public libpeas
848 (uri (string-append "mirror://gnome/sources/" name "/"
849 (version-major+minor version) "/"
850 name "-" version ".tar.xz"))
853 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
854 (build-system gnu-build-system)
858 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
860 ("python-pygobject" ,python-pygobject)))
862 `(("pkg-config" ,pkg-config)
863 ("glib:bin" ,glib "bin")
864 ("gobject-introspection" ,gobject-introspection)
865 ("intltool" ,intltool)))
866 (home-page "https://wiki.gnome.org/Libpeas")
867 (synopsis "GObject plugin system")
869 "Libpeas is a gobject-based plugin engine, targeted at giving every
870 application the chance to assume its own extensibility. It also has a set of
871 features including, but not limited to: multiple extension points; on-demand
872 (lazy) programming language support for C, Python and JS; simplicity of the
874 (license license:lgpl2.0+)))
876 (define-public gtkglext
882 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
883 version "/gtkglext-" version ".tar.gz"))
885 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
886 (patches (search-patches
887 "gtkglext-disable-disable-deprecated.patch"))))
888 (build-system gnu-build-system)
889 (inputs `(("gtk+" ,gtk+-2)
894 (native-inputs `(("pkg-config" ,pkg-config)
895 ("glib" ,glib "bin")))
896 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
897 (home-page "https://projects.gnome.org/gtkglext")
898 (synopsis "OpenGL extension to GTK+")
899 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
900 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
901 API add-ons to make GTK+ widgets OpenGL-capable.")
902 (license license:lgpl2.1+)))
904 (define-public glade3
910 (uri (string-append "mirror://gnome/sources/" name "/"
911 (version-major+minor version) "/"
912 name "-" version ".tar.xz"))
915 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
916 (build-system glib-or-gtk-build-system)
918 `(#:tests? #f ; needs X, GL, and software rendering
920 (modify-phases %standard-phases
921 (add-before 'configure 'fix-docbook
922 (lambda* (#:key inputs #:allow-other-keys)
923 (substitute* "man/Makefile.in"
924 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
925 (string-append (assoc-ref inputs "docbook-xsl")
926 "/xml/xsl/docbook-xsl-"
927 ,(package-version docbook-xsl)
928 "/manpages/docbook.xsl")))
932 ("libxml2" ,libxml2)))
934 `(("intltool" ,intltool)
936 ("libxslt" ,libxslt) ;for xsltproc
937 ("docbook-xml" ,docbook-xml-4.2)
938 ("docbook-xsl" ,docbook-xsl)
940 ("pkg-config" ,pkg-config)))
941 (home-page "https://glade.gnome.org")
942 (synopsis "GTK+ rapid application development tool")
943 (description "Glade is a rapid application development (RAD) tool to
944 enable quick & easy development of user interfaces for the GTK+ toolkit and
945 the GNOME desktop environment.")
946 (license license:lgpl2.0+)))
948 (define-public libcroco
951 (replacement libcroco/fixed)
955 (uri (string-append "mirror://gnome/sources/" name "/"
956 (version-major+minor version) "/"
957 name "-" version ".tar.xz"))
960 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
961 (build-system gnu-build-system)
963 `(("pkg-config" ,pkg-config)))
968 (home-page "https://github.com/GNOME/libcroco")
969 (synopsis "CSS2 parsing and manipulation library")
971 "Libcroco is a standalone CSS2 parsing and manipulation library.
972 The parser provides a low level event driven SAC-like API and a CSS object
973 model like API. Libcroco provides a CSS2 selection engine and an experimental
974 XML/CSS rendering engine.")
977 (license license:lgpl2.1)))
979 (define libcroco/fixed
985 (inherit (package-source libcroco))
988 (origin-patches (package-source libcroco))
989 (search-patches "libcroco-CVE-2017-7960.patch"
990 "libcroco-CVE-2017-7961.patch")))))))
992 (define-public libgsf
998 (uri (string-append "mirror://gnome/sources/" name "/"
999 (version-major+minor version) "/"
1000 name "-" version ".tar.xz"))
1003 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1004 (build-system gnu-build-system)
1006 `(("intltool" ,intltool)
1007 ("pkg-config" ,pkg-config)))
1009 `(("python" ,python)
1013 `(("gdk-pixbuf" ,gdk-pixbuf)
1015 ("libxml2" ,libxml2)))
1016 (home-page "http://www.gnome.org/projects/libgsf")
1017 (synopsis "GNOME's Structured File Library")
1019 "Libgsf aims to provide an efficient extensible I/O abstraction for
1020 dealing with different structured file formats.")
1023 (license license:lgpl2.1)))
1025 (define-public librsvg
1031 (uri (string-append "mirror://gnome/sources/" name "/"
1032 (version-major+minor version) "/"
1033 name "-" version ".tar.xz"))
1036 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
1037 (build-system gnu-build-system)
1041 'configure 'pre-configure
1042 (lambda* (#:key inputs #:allow-other-keys)
1043 (substitute* "gdk-pixbuf-loader/Makefile.in"
1044 ;; By default the gdk-pixbuf loader is installed under
1045 ;; gdk-pixbuf's prefix. Work around that.
1046 (("gdk_pixbuf_moduledir = .*$")
1047 (string-append "gdk_pixbuf_moduledir = "
1048 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1050 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1051 (("gdk_pixbuf_cache_file = .*$")
1052 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1055 `(("pkg-config" ,pkg-config)
1056 ("glib" ,glib "bin") ; glib-mkenums, etc.
1057 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1060 ("libcroco" ,libcroco)
1063 ("libxml2" ,libxml2)))
1065 ;; librsvg-2.0.pc refers to all of that.
1067 ("gdk-pixbuf" ,gdk-pixbuf)
1069 (home-page "https://wiki.gnome.org/LibRsvg")
1070 (synopsis "Render SVG files using Cairo")
1072 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1074 (license license:lgpl2.0+)))
1076 (define-public libidl
1082 (uri (let ((upstream-name "libIDL"))
1083 (string-append "mirror://gnome/sources/" upstream-name "/"
1084 (version-major+minor version) "/"
1085 upstream-name "-" version ".tar.bz2")))
1088 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1089 (build-system gnu-build-system)
1090 (inputs `(("glib" ,glib)))
1092 `(("pkg-config" ,pkg-config)
1095 (home-page "http://freecode.com/projects/libidl")
1096 (synopsis "Create trees of CORBA Interface Definition Language files")
1097 (description "Libidl is a library for creating trees of CORBA Interface
1098 Definition Language (idl) files, which is a specification for defining
1099 portable interfaces. libidl was initially written for orbit (the orb from the
1100 GNOME project, and the primary means of libidl distribution). However, the
1101 functionality was designed to be as reusable and portable as possible.")
1102 (license license:lgpl2.0+)))
1105 (define-public orbit2
1111 (uri (let ((upstream-name "ORBit2"))
1112 (string-append "mirror://gnome/sources/" upstream-name "/"
1113 (version-major+minor version) "/"
1114 upstream-name "-" version ".tar.bz2")))
1117 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1118 (build-system gnu-build-system)
1121 ;; The programmer kindly gives us a hook to turn off deprecation
1123 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1124 ;; ... which they then completly ignore !!
1127 'configure 'ignore-deprecations
1129 (substitute* "linc2/src/Makefile.in"
1130 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1132 (inputs `(("glib" ,glib)
1133 ("libidl" ,libidl)))
1135 `(("pkg-config" ,pkg-config)))
1136 (home-page "https://projects.gnome.org/orbit2/")
1137 (synopsis "CORBA 2.4-compliant Object Request Broker")
1138 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1139 featuring mature C, C++ and Python bindings.")
1140 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1141 ;; a version. SOME of the code files have licence notices for GPLv2+.
1142 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1143 (license license:gpl2+)))
1146 (define-public libbonobo
1152 (uri (string-append "mirror://gnome/sources/" name "/"
1153 (version-major+minor version)
1154 "/" name "-" version ".tar.bz2"))
1156 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1157 (patches (search-patches
1158 "libbonobo-activation-test-race.patch"))))
1159 (build-system gnu-build-system)
1161 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1163 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1164 ;; ... which they then completly ignore !!
1167 'configure 'ignore-deprecations
1169 (substitute* "activation-server/Makefile.in"
1170 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1172 (inputs `(("popt" ,popt)
1173 ("libxml2" ,libxml2)))
1174 ;; The following are Required by the .pc file
1177 ("orbit2" ,orbit2)))
1179 `(("intltool" ,intltool)
1180 ("pkg-config" ,pkg-config)
1181 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1184 (home-page "https://developer.gnome.org/libbonobo/")
1185 (synopsis "Framework for creating reusable components for use in GNOME applications")
1186 (description "Bonobo is a framework for creating reusable components for
1187 use in GNOME applications, built on top of CORBA.")
1188 ;; Licence not explicitly stated. Source files contain no licence notices.
1189 ;; Tarball contains text of both GPLv2 and LGPLv2
1190 ;; GPLv2 covers both conditions
1191 (license license:gpl2+)))
1194 (define-public gconf
1201 (let ((upstream-name "GConf"))
1202 (string-append "mirror://gnome/sources/" upstream-name "/"
1203 (version-major+minor version) "/"
1204 upstream-name "-" version ".tar.xz")))
1206 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1207 (build-system gnu-build-system)
1208 (inputs `(("dbus-glib" ,dbus-glib)
1209 ("libxml2" ,libxml2)))
1210 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1211 ("orbit2" ,orbit2)))
1213 `(("intltool" ,intltool)
1214 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1215 ("pkg-config" ,pkg-config)))
1216 (home-page "https://projects.gnome.org/gconf/")
1217 (synopsis "Store application preferences")
1218 (description "Gconf is a system for storing application preferences. It
1219 is intended for user preferences; not arbitrary data storage.")
1220 (license license:lgpl2.0+)
1221 (properties '((upstream-name . "GConf")))))
1224 (define-public gnome-mime-data
1226 (name "gnome-mime-data")
1230 (uri (string-append "mirror://gnome/sources/" name "/"
1231 (version-major+minor version) "/"
1232 name "-" version ".tar.bz2"))
1235 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1236 (build-system gnu-build-system)
1239 ("intltool" ,intltool)))
1240 (home-page "http://www.gnome.org")
1241 (synopsis "Base MIME and Application database for GNOME")
1242 (description "GNOME Mime Data is a module which contains the base MIME
1243 and Application database for GNOME. The data stored by this module is
1244 designed to be accessed through the MIME functions in GnomeVFS.")
1245 (license license:gpl2+)))
1248 (define-public gnome-vfs
1254 (uri (string-append "mirror://gnome/sources/" name "/"
1255 (version-major+minor version) "/"
1256 name "-" version ".tar.bz2"))
1259 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1260 (build-system gnu-build-system)
1264 'configure 'ignore-deprecations
1266 (substitute* '("libgnomevfs/Makefile.in"
1267 "daemon/Makefile.in")
1268 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1271 'configure 'patch-test-async-cancel-to-never-fail
1273 (substitute* "test/test-async-cancel.c"
1274 (("EXIT_FAILURE") "77")))
1275 %standard-phases))))
1276 (inputs `(("libxml2" ,libxml2)
1277 ("dbus-glib" ,dbus-glib)
1279 ("gnome-mime-data" ,gnome-mime-data)
1282 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1283 ("intltool" ,intltool)
1284 ("pkg-config" ,pkg-config)))
1285 (home-page "https://developer.gnome.org/gnome-vfs/")
1286 (synopsis "Access files and folders in GNOME applications")
1288 "GnomeVFS is the core library used to access files and folders in GNOME
1289 applications. It provides a file system abstraction which allows applications
1290 to access local and remote files with a single consistent API.")
1291 (license license:lgpl2.0+)))
1295 (define-public libgnome
1301 (uri (string-append "mirror://gnome/sources/" name "/"
1302 (version-major+minor version) "/"
1303 name "-" version ".tar.bz2"))
1306 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1307 (build-system gnu-build-system)
1311 'configure 'enable-deprecated
1313 (substitute* "libgnome/Makefile.in"
1314 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1316 (inputs `(("libxml2" ,libxml2)))
1318 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1319 ("intltool" ,intltool)
1320 ("pkg-config" ,pkg-config)))
1321 ;; The following are listed as Required in the .pc file
1322 ;; (except for libcanberra -- which seems to be oversight on the part
1323 ;; of the upstream developers -- anything that links against libgnome,
1324 ;; must also link against libcanberra
1326 `(("libcanberra" ,libcanberra)
1327 ("libbonobo" ,libbonobo)
1329 ("gnome-vfs" ,gnome-vfs)
1330 ("popt" ,popt))) ;gnome-program.h includes popt.h
1331 (home-page "https://developer.gnome.org/libgnome/")
1332 (synopsis "Useful routines for building applications")
1333 (description "The libgnome library provides a number of useful routines
1334 for building modern applications, including session management, activation of
1335 files and URIs, and displaying help.")
1336 (license license:lgpl2.0+)))
1339 (define-public libart-lgpl
1341 (name "libart-lgpl")
1345 (uri (let ((upstream-name "libart_lgpl"))
1346 (string-append "mirror://gnome/sources/" upstream-name "/"
1347 (version-major+minor version) "/"
1348 upstream-name "-" version ".tar.bz2")))
1351 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1352 (build-system gnu-build-system)
1354 `(("pkg-config" ,pkg-config)))
1355 (home-page "https://people.gnome.org/~mathieu/libart")
1356 (synopsis "2D drawing library")
1357 (description "Libart is a 2D drawing library intended as a
1358 high-quality vector-based 2D library with antialiasing and alpha composition.")
1359 (license license:lgpl2.0+)))
1363 (define-public libgnomecanvas
1365 (name "libgnomecanvas")
1369 (uri (string-append "mirror://gnome/sources/" name "/"
1370 (version-major+minor version) "/"
1371 name "-" version ".tar.gz"))
1374 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1375 (build-system gnu-build-system)
1376 ;; Mentioned as Required in the .pc file
1377 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1380 `(("intltool" ,intltool)
1381 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1382 ("pkg-config" ,pkg-config)))
1383 (home-page "https://developer.gnome.org/libgnomecanvas/")
1384 (synopsis "Flexible widget for creating interactive structured graphics")
1385 (description "The GnomeCanvas widget provides a flexible widget for
1386 creating interactive structured graphics.")
1387 (license license:lgpl2.0+)))
1389 (define-public libgnomecanvasmm
1391 (name "libgnomecanvasmm")
1395 (uri (string-append "mirror://gnome/sources/" name "/"
1396 (version-major+minor version) "/"
1397 name "-" version ".tar.bz2"))
1400 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1401 (build-system gnu-build-system)
1403 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1404 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1406 `(("gtkmm-2" ,gtkmm-2)
1407 ("pkg-config" ,pkg-config)))
1408 (home-page "http://gtkmm.org")
1409 (synopsis "C++ bindings to the GNOME Canvas library")
1410 (description "C++ bindings to the GNOME Canvas library.")
1411 (license license:lgpl2.0+)))
1413 (define-public libgnomeui
1419 (uri (string-append "mirror://gnome/sources/" name "/"
1420 (version-major+minor version) "/"
1421 name "-" version ".tar.bz2"))
1424 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1425 (build-system gnu-build-system)
1426 ;; Mentioned as Required in the .pc file
1427 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1428 ("libgnome" ,libgnome)
1429 ("libgnomecanvas" ,libgnomecanvas)
1430 ("libgnome-keyring" ,libgnome-keyring)))
1431 (inputs `(("libjpeg" ,libjpeg)
1433 ("libbonobo" ,libbonobo)
1434 ("libxml2" ,libxml2)
1435 ("libglade" ,libglade)))
1437 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1438 ("intltool" ,intltool)
1439 ("pkg-config" ,pkg-config)))
1440 (home-page "https://developer.gnome.org/libgnomeui/")
1441 (synopsis "Additional widgets for applications")
1442 (description "The libgnomeui library provides additional widgets for
1443 applications. Many of the widgets from libgnomeui have already been
1445 (license license:lgpl2.0+)))
1447 (define-public libglade
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.bz2"))
1458 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1459 (build-system gnu-build-system)
1461 `(("python" ,python))) ;; needed for the optional libglade-convert program
1463 `(("gtk+-2" ,gtk+-2)
1464 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1466 `(("pkg-config" ,pkg-config)))
1467 (home-page "https://developer.gnome.org/libglade")
1468 (synopsis "Load glade interfaces and access the glade built widgets")
1469 (description "Libglade is a library that provides interfaces for loading
1470 graphical interfaces described in glade files and for accessing the
1471 widgets built in the loading process.")
1472 (license license:gpl2+))) ; This is correct. GPL not LGPL
1474 (define-public libgnomeprint
1475 ;; This library has been deprecated since 2006; see
1476 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1478 (name "libgnomeprint")
1482 (uri (string-append "mirror://gnome/sources/" name "/"
1483 (version-major+minor version) "/"
1484 name "-" version ".tar.bz2"))
1487 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1488 (build-system gnu-build-system)
1491 ("libart-lgpl" ,libart-lgpl)
1493 ("libxml2" ,libxml2)))
1495 `(("intltool" ,intltool)
1496 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1497 ("pkg-config" ,pkg-config)))
1498 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1499 (synopsis "Printing framework for GNOME")
1501 "GNOME-print was a printing framework for GNOME. It has been deprecated
1502 since ca. 2006, when GTK+ itself incorporated printing support.")
1503 (license license:lgpl2.0+)))
1506 (define-public libgnomeprintui
1507 ;; Deprecated; see libgnomeprint.
1509 (name "libgnomeprintui")
1513 (uri (string-append "mirror://gnome/sources/" name "/"
1514 (version-major+minor version) "/"
1515 name "-" version ".tar.bz2"))
1518 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1519 (build-system gnu-build-system)
1520 ;; Mentioned as Required in the .pc file
1521 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1522 (inputs `(("gtk+" ,gtk+-2)
1524 ("gnome-icon-theme" ,gnome-icon-theme)
1525 ("libgnomecanvas" ,libgnomecanvas)
1526 ("libxml2" ,libxml2)))
1528 `(("intltool" ,intltool)
1529 ("pkg-config" ,pkg-config)))
1530 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1531 (synopsis "Printing framework for GNOME")
1532 (description (package-description libgnomeprint))
1533 (license license:lgpl2.0+)))
1535 (define-public libbonoboui
1537 (name "libbonoboui")
1541 (uri (string-append "mirror://gnome/sources/" name "/"
1542 (version-major+minor version) "/"
1543 name "-" version ".tar.bz2"))
1546 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1547 (build-system gnu-build-system)
1551 'check 'start-xserver
1552 (lambda* (#:key inputs #:allow-other-keys)
1553 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1556 (setenv "HOME" (getcwd))
1557 (setenv "DISPLAY" disp)
1558 ;; There must be a running X server and make check doesn't start one.
1559 ;; Therefore we must do it.
1560 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1562 ;; Mentioned as Required by the .pc file
1563 (propagated-inputs `(("libxml2" ,libxml2)))
1566 ("pangox-compat" ,pangox-compat)
1567 ("libgnome" ,libgnome)
1568 ("libgnomecanvas" ,libgnomecanvas)
1569 ("libglade" ,libglade)))
1571 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1572 ("intltool" ,intltool)
1573 ("xorg-server" ,xorg-server) ; For running the tests
1574 ("pkg-config" ,pkg-config)))
1575 (home-page "https://developer.gnome.org/libbonoboui/")
1576 (synopsis "Some user interface controls using Bonobo")
1577 (description "The Bonobo UI library provides a number of user interface
1578 controls using the Bonobo component framework.")
1579 (license license:lgpl2.0+)))
1581 (define-public libwnck
1587 (uri (string-append "mirror://gnome/sources/" name "/"
1588 (version-major+minor version) "/"
1589 name "-" version ".tar.xz"))
1591 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1592 (build-system gnu-build-system)
1594 `(("pkg-config" ,pkg-config)
1595 ("intltool" ,intltool)))
1598 ("libxres" ,libxres)
1599 ("startup-notification" ,startup-notification)))
1600 (home-page "https://developer.gnome.org/libwnck/")
1601 (synopsis "Window Navigator Construction Kit")
1603 "Libwnck is the Window Navigator Construction Kit, a library for use in
1604 writing pagers, tasklists, and more generally applications that are dealing
1605 with window management. It tries hard to respect the Extended Window Manager
1606 Hints specification (EWMH).")
1607 (license license:lgpl2.0+)))
1609 ;; stable version for gtk2, required by xfwm4.
1610 (define-public libwnck-2
1611 (package (inherit libwnck)
1616 (uri (string-append "mirror://gnome/sources/" name "/"
1617 (version-major+minor version) "/"
1618 name "-" version ".tar.xz"))
1621 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1624 ("libxres" ,libxres)
1625 ("startup-notification" ,startup-notification)))))
1627 (define-public goffice
1633 (uri (string-append "mirror://gnome/sources/" name "/"
1634 (version-major+minor version) "/"
1635 name "-" version ".tar.xz"))
1637 (base32 "00yn5ly1x50ynrwgl783pwnjy4k2ckp8n54mfnqv6qsq5fi7ajjm"))))
1638 (build-system gnu-build-system)
1640 "doc")) ;4.1 MiB of gtk-doc
1642 '(#:configure-flags (list (string-append "--with-html-dir="
1643 (assoc-ref %outputs "doc")
1644 "/share/gtk-doc/html"))))
1648 ("librsvg" ,librsvg)
1649 ("libxslt" ,libxslt)
1650 ("libxml2" ,libxml2)))
1652 `(("intltool" ,intltool)
1653 ("glib" ,glib "bin")
1654 ("pkg-config" ,pkg-config)))
1655 (home-page "https://developer.gnome.org/goffice/")
1656 (synopsis "Document-centric objects and utilities")
1657 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1659 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1661 (list license:gpl2 license:gpl3))))
1663 (define-public goffice-0.8
1664 (package (inherit goffice)
1668 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1669 (version-major+minor version) "/"
1670 (package-name goffice) "-" version ".tar.xz"))
1672 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1676 'unpack 'fix-pcre-check
1678 ;; Only glib.h can be included directly. See
1679 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1680 (substitute* "configure"
1681 (("glib/gregex\\.h") "glib.h")) #t)
1684 ,@(package-arguments goffice)))
1686 ;; libgoffice-0.8.pc mentions libgsf-1
1687 `(("libgsf" ,libgsf)))
1690 ,@(alist-delete "gtk" (package-inputs goffice))))))
1692 (define-public gnumeric
1698 (uri (string-append "mirror://gnome/sources/" name "/"
1699 (version-major+minor version) "/"
1700 name "-" version ".tar.xz"))
1703 "1s3dxvdwzmppsp2dfg90rccilf4hknhwjdy7lazr9sys58zchyx0"))))
1704 (build-system glib-or-gtk-build-system)
1706 `(;; The gnumeric developers don't worry much about failing tests.
1707 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1710 (modify-phases %standard-phases
1712 'configure 'pre-conf
1713 (lambda* (#:key outputs #:allow-other-keys)
1714 ;; Make install tries to write into the directory of goffice
1715 ;; I am informed that this only affects the possibility to embed a
1716 ;; spreadsheet inside an Abiword document. So presumably when we
1717 ;; package Abiword we'll have to refer it to this directory.
1718 (substitute* "configure"
1719 (("^GOFFICE_PLUGINS_DIR=.*")
1720 (string-append "GOFFICE_PLUGINS_DIR="
1721 (assoc-ref outputs "out")
1722 "/goffice/plugins"))))))))
1726 ("goffice" ,goffice)
1728 ("librsvg" ,librsvg)
1729 ("libxml2" ,libxml2)
1730 ("libxslt" ,libxslt)
1731 ("python" ,python-2)
1732 ("python2-pygobject" ,python2-pygobject)
1736 ("intltool" ,intltool)
1737 ("glib:bin" ,glib "bin")
1738 ("pkg-config" ,pkg-config)))
1739 (home-page "http://www.gnumeric.org")
1740 (synopsis "Spreadsheet application")
1742 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1743 interoperable with other spreadsheet applications. It has a vast array of
1744 features beyond typical spreadsheet functionality, such as support for linear
1745 and non-linear solvers, statistical analysis, and telecommunication
1748 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1749 (list license:gpl2 license:gpl3))))
1751 (define-public gnome-themes-standard
1753 (name "gnome-themes-standard")
1758 (uri (string-append "mirror://gnome/sources/" name "/"
1759 (version-major+minor version) "/" name "-"
1763 "19bxw69ms46px5xgvwbjlhq2vkmrqfx2az49q63w2wxqb76icidk"))))
1764 (build-system gnu-build-system)
1767 ;; Don't create 'icon-theme.cache'.
1768 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1769 (true (string-append coreutils "/bin/true")))
1770 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1774 ("librsvg" ,librsvg)
1775 ("libxml2" ,libxml2)
1778 `(("intltool" ,intltool)
1779 ("glib:bin" ,glib "bin")
1780 ("pkg-config" ,pkg-config)))
1781 (home-page "https://launchpad.net/gnome-themes-standard")
1782 (synopsis "Default GNOME 3 themes")
1784 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1785 (license license:lgpl2.1+)))
1787 (define-public seahorse
1794 (uri (string-append "mirror://gnome/sources/" name "/"
1795 (version-major+minor version) "/" name "-"
1799 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1800 (build-system glib-or-gtk-build-system)
1806 ("openldap" ,openldap)
1807 ("openssh" ,openssh)
1808 ("libsecret" ,libsecret)
1809 ("libsoup" ,libsoup)))
1811 `(("intltool" ,intltool)
1812 ("glib:bin" ,glib "bin")
1813 ("itstool" ,itstool)
1814 ("pkg-config" ,pkg-config)
1815 ("xmllint" ,libxml2)))
1816 (home-page "https://launchpad.net/gnome-themes-standard")
1817 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1819 "Seahorse is a GNOME application for managing encryption keys and
1820 passwords in the GNOME keyring.")
1821 (license license:gpl2+)))
1829 (uri (string-append "mirror://gnome/sources/" name "/"
1830 (version-major+minor version) "/"
1831 name "-" version ".tar.xz"))
1834 "10vbd74jazc3vhfagzx8v197bshrg61hnjzna6y3wmhljhrvs5vb"))))
1835 (build-system gnu-build-system)
1838 (modify-phases %standard-phases
1839 (add-before 'check 'pre-check
1842 ;; For missing '/etc/machine-id'.
1843 (setenv "DBUS_FATAL_WARNINGS" "0")
1845 ;; Build the Vala API generator
1846 #:configure-flags '("--enable-vapigen")))
1848 `(("pkg-config" ,pkg-config)
1851 ("xsltproc" ,libxslt)
1852 ("dbus" ,dbus) ; for dbus tests
1853 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1855 `(("glib" ,glib))) ; required by libvala-0.26.pc
1856 (home-page "http://live.gnome.org/Vala/")
1857 (synopsis "Compiler for the GObject type system")
1859 "Vala is a programming language that aims to bring modern programming
1860 language features to GNOME developers without imposing any additional runtime
1861 requirements and without using a different ABI compared to applications and
1862 libraries written in C.")
1863 (license license:lgpl2.1+)))
1871 (uri (string-append "mirror://gnome/sources/" name "/"
1872 (version-major+minor version) "/"
1873 name "-" version ".tar.xz"))
1876 "14060d5rmjjmxaknrabhnsjwxni5wa3crg61mqxv8f7yxl0v6y62"))))
1877 (build-system gnu-build-system)
1879 `(("pkg-config" ,pkg-config)
1880 ("intltool" ,intltool)
1882 ("gobject-introspection" ,gobject-introspection)
1883 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1885 ("xmllint" ,libxml2)))
1887 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1888 ("gnutls" ,gnutls) ;ditto
1889 ("pcre2" ,pcre2))) ;ditto
1890 (home-page "http://www.gnome.org/")
1891 (synopsis "Virtual Terminal Emulator")
1893 "VTE is a library (libvte) implementing a terminal emulator widget for
1894 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1895 gnome-terminal, but can also be used to embed a console/terminal in games,
1896 editors, IDEs, etc.")
1897 (license license:lgpl2.1+)))
1899 (define-public vte-ng
1903 (version "0.48.2.a")
1905 `(("gtk-doc" ,gtk-doc)
1907 ("autoconf" ,autoconf)
1908 ("automake" ,automake)
1909 ("libtool" ,libtool)
1910 ,@(package-native-inputs vte)))
1913 (uri (string-append "https://github.com/thestinger/"
1914 name "/archive/" version ".tar.gz"))
1915 (file-name (string-append name "-" version ".tar.gz"))
1918 "0m0bqcppa9vzysxizbymwifpii1lgg1cjy7yphvb1ivxz1pk7bal"))))
1920 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1921 #:phases (modify-phases %standard-phases
1922 (add-after 'unpack 'bootstrap
1924 (setenv "NOCONFIGURE" "true")
1925 (zero? (system* "sh" "autogen.sh")))))))
1926 (synopsis "Enhanced VTE terminal widget")
1928 "VTE is a library (libvte) implementing a terminal emulator widget for
1929 GTK+, this fork provides additional functions exposed for keyboard text
1930 selection and URL hints.")))
1932 ;; provides vte 2.90, required for some terminal emulators
1933 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1934 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1935 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1936 ;; pantheon-terminal, roxterm are not currently packaged
1937 (define-public vte-0.36
1938 (package (inherit vte)
1943 (uri (string-append "mirror://gnome/sources/" name "/"
1944 (version-major+minor version) "/"
1945 name "-" version ".tar.xz"))
1948 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1951 ("ncurses" ,ncurses)))))
1953 ;; stable version for gtk2, required by xfce4-terminal.
1954 (define-public vte/gtk+-2
1955 (package (inherit vte)
1960 (uri (string-append "mirror://gnome/sources/" name "/"
1961 (version-major+minor version) "/"
1962 name "-" version ".tar.xz"))
1965 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1966 (patches (search-patches
1967 "vte-CVE-2012-2738-pt1.patch"
1968 "vte-CVE-2012-2738-pt2.patch"))))
1970 '(#:configure-flags '("--disable-python")))
1972 `(("pkg-config" ,pkg-config)
1973 ("intltool" ,intltool)
1974 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1976 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1977 ("ncurses" ,ncurses))))) ; required by libvte.la
1979 (define-public vinagre
1985 (uri (string-append "mirror://gnome/sources/" name "/"
1986 (version-major+minor version) "/"
1987 name "-" version ".tar.xz"))
1990 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
1991 (build-system glib-or-gtk-build-system)
1993 `(("pkg-config" ,pkg-config)
1994 ("intltool" ,intltool)
1995 ("itstool" ,itstool)
1996 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
1997 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
1999 `(("libxml2" ,libxml2)
2000 ("gtk-vnc" ,gtk-vnc)
2001 ("gnome-keyring" ,gnome-keyring)
2002 ("libsecret" ,libsecret)
2003 ("freerdp" ,freerdp)
2005 ("spice-gtk" ,spice-gtk)
2006 ("telepathy-glib" ,telepathy-glib)
2009 `(#:configure-flags '("--enable-rdp")))
2010 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2011 (synopsis "Remote desktop viewer for GNOME")
2012 (description "Vinagre is a remote display client supporting the VNC, SPICE
2013 and RDP protocols.")
2014 (license license:gpl3+)))
2016 (define-public dconf
2023 "mirror://gnome/sources/" name "/"
2024 (version-major+minor version) "/"
2025 name "-" version ".tar.xz"))
2028 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
2029 (build-system glib-or-gtk-build-system)
2034 ("libxml2" ,libxml2)))
2036 `(("libxslt" ,libxslt)
2037 ("docbook-xml" ,docbook-xml-4.2)
2038 ("docbook-xsl" ,docbook-xsl)
2039 ("intltool" ,intltool)
2040 ("pkg-config" ,pkg-config)))
2042 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2043 ; or /etc/machine-id.
2045 ;; Set the correct RUNPATH in binaries.
2046 (list (string-append "LDFLAGS=-Wl,-rpath="
2047 (assoc-ref %outputs "out") "/lib")
2048 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2051 'configure 'fix-docbook
2052 (lambda* (#:key inputs #:allow-other-keys)
2053 (substitute* "docs/Makefile.in"
2054 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2055 (string-append (assoc-ref inputs "docbook-xsl")
2056 "/xml/xsl/docbook-xsl-"
2057 ,(package-version docbook-xsl)
2058 "/manpages/docbook.xsl")))
2059 (setenv "XML_CATALOG_FILES"
2060 (string-append (assoc-ref inputs "docbook-xml")
2061 "/xml/dtd/docbook/catalog.xml")))
2063 (home-page "https://developer.gnome.org/dconf")
2064 (synopsis "Low-level GNOME configuration system")
2065 (description "Dconf is a low-level configuration system. Its main purpose
2066 is to provide a backend to GSettings on platforms that don't already have
2067 configuration storage systems.")
2068 (license license:lgpl2.1)))
2070 (define-public json-glib
2076 (uri (string-append "mirror://gnome/sources/" name "/"
2077 (version-major+minor version) "/"
2078 name "-" version ".tar.xz"))
2081 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
2082 (modules '((guix build utils)))
2084 ;; Don't duplicate test names.
2085 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
2086 '(substitute* "json-glib/tests/builder.c"
2087 (("\"/builder/complex\", test_builder_empty")
2088 "\"/builder/empty\", test_builder_empty")))))
2089 (build-system gnu-build-system)
2091 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2092 ("gobject-introspection" ,gobject-introspection)
2093 ("pkg-config" ,pkg-config)))
2095 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2096 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2097 (synopsis "Compiler for the GObject type system")
2099 "JSON-GLib is a C library based on GLib providing serialization and
2100 deserialization support for the JavaScript Object Notation (JSON) format
2101 described by RFC 4627. It provides parser and generator GObject classes and
2102 various wrappers for the complex data types employed by JSON, such as arrays
2104 (license license:lgpl2.1+)))
2106 (define-public libxklavier
2108 (name "libxklavier")
2112 (uri (string-append "mirror://gnome/sources/" name "/"
2113 version "/" name "-" version ".tar.xz"))
2116 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2117 (build-system gnu-build-system)
2120 (list (string-append "--with-xkb-base="
2121 (assoc-ref %build-inputs "xkeyboard-config")
2122 "/share/X11/xkb"))))
2124 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2125 ("gobject-introspection" ,gobject-introspection)
2126 ("pkg-config" ,pkg-config)))
2128 ;; Required by libxklavier.pc.
2130 ("libxml2" ,libxml2)))
2132 `(("iso-codes" ,iso-codes)
2134 ("libxkbfile" ,libxkbfile)
2135 ("xkbcomp" ,xkbcomp)
2136 ("xkeyboard-config" ,xkeyboard-config)))
2137 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2138 (synopsis "High-level API for X Keyboard Extension")
2140 "LibXklavier is a library providing high-level API for X Keyboard
2141 Extension known as XKB. This library is intended to support XFree86 and other
2142 commercial X servers. It is useful for creating XKB-related software (layout
2144 (license license:lgpl2.0+)))
2146 (define-public python2-rsvg
2147 ;; XXX: This is actually a subset of gnome-python-desktop.
2149 (name "python2-rsvg")
2155 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2156 version ".tar.bz2"))
2159 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2160 (build-system gnu-build-system)
2162 `(("pkg-config" ,pkg-config)))
2164 `(("python" ,python-2)
2165 ("python2-pygtk" ,python2-pygtk)
2166 ("librsvg" ,librsvg)))
2167 (home-page "http://www.gnome.org")
2168 (synopsis "Python bindings to librsvg")
2170 "This packages provides Python bindings to librsvg, the SVG rendering
2173 ;; This is the license of the rsvg bindings. The license of each module
2174 ;; of gnome-python-desktop is given in 'COPYING'.
2175 (license license:lgpl2.1+)))
2177 (define-public glib-networking
2179 (name "glib-networking")
2183 (uri (string-append "mirror://gnome/sources/glib-networking/"
2184 (version-major+minor version) "/"
2185 name "-" version ".tar.xz"))
2188 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2190 (search-patches "glib-networking-ssl-cert-file.patch"))))
2191 (build-system gnu-build-system)
2194 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2196 (modify-phases %standard-phases
2197 (add-before 'configure 'patch-giomoduledir
2198 ;; Install GIO modules into $out/lib/gio/modules.
2200 (substitute* "configure"
2201 (("GIO_MODULE_DIR=.*")
2202 (string-append "GIO_MODULE_DIR=" %output
2203 "/lib/gio/modules\n")))))
2204 (add-before 'check 'use-empty-ssl-cert-file
2206 ;; The ca-certificates.crt is not available in the build
2208 (setenv "SSL_CERT_FILE" "/dev/null")
2211 `(("pkg-config" ,pkg-config)
2212 ("intltool" ,intltool)))
2216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2217 ("p11-kit" ,p11-kit)))
2218 (home-page "http://www.gnome.org")
2219 (synopsis "Network-related GIO modules")
2221 "This package contains various network related extensions for the GIO
2223 (license license:lgpl2.0+)))
2231 (uri (string-append "mirror://gnome/sources/rest/"
2232 (version-major+minor version) "/"
2233 name "-" version ".tar.xz"))
2236 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2237 (build-system gnu-build-system)
2239 '(#:tests? #f ; tests require internet connection
2241 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2243 `(("glib-mkenums" ,glib "bin")
2244 ("gobject-introspection" ,gobject-introspection)
2245 ("pkg-config" ,pkg-config)))
2247 ;; rest-0.7.pc refers to all these.
2249 ("libsoup" ,libsoup)
2250 ("libxml2" ,libxml2)))
2251 (home-page "http://www.gtk.org/")
2252 (synopsis "RESTful web api query library")
2254 "This library was designed to make it easier to access web services that
2255 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2256 libxml to ease remote use of the RESTful API.")
2257 (license license:lgpl2.1+)))
2259 (define-public libsoup
2265 (uri (string-append "mirror://gnome/sources/libsoup/"
2266 (version-major+minor version) "/"
2267 name "-" version ".tar.xz"))
2270 "1r8zz270qdg92gbsvy61d51y1cj7hp059h2f4xpvqiw2vrqnn8fq"))))
2271 (build-system gnu-build-system)
2272 (outputs '("out" "doc"))
2275 (list (string-append "--with-html-dir="
2276 (assoc-ref %outputs "doc")
2277 "/share/gtk-doc/html"))
2279 (modify-phases %standard-phases
2280 (add-before 'configure 'disable-unconnected-socket-test
2281 ;; This test fails due to missing /etc/nsswitch.conf
2282 ;; in the build environment.
2284 (substitute* "tests/socket-test.c"
2285 ((".*/sockets/unconnected.*") ""))
2287 (add-before 'check 'pre-check
2289 ;; The 'check-local' target runs 'env LANG=C sort -u',
2290 ;; unset 'LC_ALL' to make 'LANG' working.
2292 ;; The ca-certificates.crt is not available in the build
2294 (setenv "SSL_CERT_FILE" "/dev/null")
2300 ;; Install vala bindings into $out.
2301 (string-append "vapidir=" %output
2305 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2306 ("gobject-introspection" ,gobject-introspection)
2307 ("intltool" ,intltool)
2308 ("pkg-config" ,pkg-config)
2309 ("python" ,python-wrapper)
2311 ;; These are needed for the tests.
2312 ;; FIXME: Add PHP once available.
2316 ;; libsoup-2.4.pc refers to all these.
2318 ("libxml2" ,libxml2)))
2320 `(("glib-networking" ,glib-networking)
2321 ("sqlite" ,sqlite)))
2322 (home-page "https://live.gnome.org/LibSoup/")
2323 (synopsis "GLib-based HTTP Library")
2325 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2326 and the GLib main loop, to integrate well with GNOME applications.")
2327 (license license:lgpl2.0+)))
2329 (define-public libsecret
2336 "mirror://gnome/sources/libsecret/"
2337 (version-major+minor version) "/"
2338 name "-" version ".tar.xz"))
2341 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2342 (build-system gnu-build-system)
2343 (outputs '("out" "doc"))
2345 `(#:tests? #f ; FIXME: Testing hangs.
2347 (list (string-append "--with-html-dir="
2348 (assoc-ref %outputs "doc")
2349 "/share/gtk-doc/html"))))
2351 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2352 ("gobject-introspection" ,gobject-introspection)
2353 ("intltool" ,intltool)
2354 ("pkg-config" ,pkg-config)
2356 ("xsltproc" ,libxslt)))
2357 ;; These are needed for the tests.
2358 ;; FIXME: Add gjs once available.
2360 ;("python2" ,python-2)
2361 ;("python2-dbus" ,python2-dbus)
2362 ;("python2-pygobject" ,python2-pygobject)
2363 ;("python2-pygobject-2" ,python2-pygobject-2)))
2365 `(("glib" ,glib))) ; required by libsecret-1.pc
2367 `(("docbook-xsl" ,docbook-xsl)
2368 ("libgcrypt" ,libgcrypt)
2369 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2370 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2371 (synopsis "GObject bindings for \"Secret Service\" API")
2373 "Libsecret is a GObject based library for storing and retrieving passwords
2374 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2375 (license license:lgpl2.1+)))
2377 (define-public gnome-mines
2379 (name "gnome-mines")
2384 (uri (string-append "mirror://gnome/sources/" name "/"
2385 (version-major+minor version) "/"
2386 name "-" version ".tar.xz"))
2389 "1wia0nj5i244m6pq3lridvk3vx9yipsa9l921nsskd97115mnyza"))))
2390 (build-system glib-or-gtk-build-system)
2393 (modify-phases %standard-phases
2394 (add-before 'configure 'patch-/bin/true
2396 (substitute* "configure"
2397 (("/bin/true") (which "true"))))))))
2399 `(("pkg-config" ,pkg-config)
2400 ("desktop-file-utils" ,desktop-file-utils)
2401 ("intltool" ,intltool)
2402 ("itstool" ,itstool)
2403 ("xmllint" ,libxml2)))
2406 ("libgnome-games-support" ,libgnome-games-support)
2407 ("librsvg" ,librsvg)))
2408 (home-page "https://wiki.gnome.org/Apps/Mines")
2409 (synopsis "Minesweeper game")
2411 "Mines (previously gnomine) is a puzzle game where you locate mines
2412 floating in an ocean using only your brain and a little bit of luck.")
2413 (license license:gpl2+)))
2415 (define-public gnome-sudoku
2417 (name "gnome-sudoku")
2422 (uri (string-append "mirror://gnome/sources/" name "/"
2423 (version-major+minor version) "/"
2424 name "-" version ".tar.xz"))
2427 "1sz2ln2nc9ff7zigghil32vbmr2qhb98dc0rbrz755rlrsh8pi08"))))
2428 (build-system glib-or-gtk-build-system)
2430 `(("pkg-config" ,pkg-config)
2431 ("desktop-file-utils" ,desktop-file-utils)
2432 ("intltool" ,intltool)
2433 ("itstool" ,itstool)
2434 ("xmllint" ,libxml2)))
2437 ("json-glib" ,json-glib)
2439 ("librsvg" ,librsvg)
2440 ("qqwing" ,qqwing)))
2441 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2442 (synopsis "Japanese logic game")
2444 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2445 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2446 possible while still providing features that make playing difficult Sudoku
2448 (license license:gpl2+)))
2450 (define-public gnome-terminal
2452 (name "gnome-terminal")
2457 (uri (string-append "mirror://gnome/sources/" name "/"
2458 (version-major+minor version) "/"
2459 name "-" version ".tar.xz"))
2462 "1q303bljcr06w3ra737kq1hpjda45wk16kmrixxwldf3zkk2dgx7"))))
2463 (build-system glib-or-gtk-build-system)
2466 (list "--disable-migration" "--disable-search-provider"
2467 "--without-nautilus-extension")
2469 (modify-phases %standard-phases
2470 (add-before 'configure 'patch-/bin/true
2472 (substitute* "configure"
2473 (("/bin/true") (which "true"))))))))
2475 `(("pkg-config" ,pkg-config)
2476 ("desktop-file-utils" ,desktop-file-utils)
2477 ("intltool" ,intltool)
2478 ("itstool" ,itstool)
2479 ("xmllint" ,libxml2)))
2481 `(("dconf" ,dconf)))
2486 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2487 ("util-linux" ,util-linux)
2489 (home-page "https://wiki.gnome.org/Apps/Terminal")
2490 (synopsis "Terminal emulator")
2492 "GNOME Terminal is a terminal emulator application for accessing a
2493 UNIX shell environment which can be used to run programs available on
2496 It supports several profiles, multiple tabs and implements several
2497 keyboard shortcuts.")
2498 (license license:gpl3+)))
2500 (define-public colord
2507 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2508 name "-" version ".tar.xz"))
2511 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2512 (build-system glib-or-gtk-build-system)
2514 '(;; The tests want to run valgrind. Punt for now.
2516 #:configure-flags (list "--localstatedir=/var"
2517 ;; GUSB not packaged yet.
2519 ;; No dep on systemd.
2520 "--disable-systemd-login"
2521 ;; Wants to install to global completion dir;
2523 "--disable-bash-completion"
2524 ;; colord-gtk not packaged yet.
2525 "--disable-session-example"
2526 "--with-daemon-user=colord"
2528 (string-append "--with-udevrulesdir="
2529 (assoc-ref %outputs "out")
2530 "/lib/udev/rules.d"))
2532 (modify-phases %standard-phases
2533 (add-before 'configure 'patch-/bin/true
2535 (substitute* "configure"
2536 (("/bin/true") (which "true")))
2537 (substitute* "src/Makefile.in"
2538 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2539 "if test -w $(DESTDIR)$(localstatedir);")))))))
2541 `(("pkg-config" ,pkg-config)
2542 ("gobject-introspection" ,gobject-introspection)
2543 ("libtool" ,libtool)
2544 ("intltool" ,intltool)))
2546 ;; colord.pc refers to all these.
2551 `(("dbus-glib" ,dbus-glib)
2552 ("libgudev" ,libgudev)
2556 ("sane-backends" ,sane-backends)))
2557 (home-page "http://www.freedesktop.org/software/colord/")
2558 (synopsis "Color management service")
2559 (description "Colord is a system service that makes it easy to manage,
2560 install and generate color profiles to accurately color manage input and
2562 (license license:gpl2+)))
2564 (define-public geoclue
2571 (uri (string-append "https://www.freedesktop.org/software/" name
2572 "/releases/" (version-major+minor version) "/"
2573 name "-" version ".tar.xz"))
2576 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
2577 (patches (search-patches "geoclue-config.patch"))))
2578 (build-system glib-or-gtk-build-system)
2580 '(;; The tests want to run the system bus.
2582 #:configure-flags (list ;; Disable bits requiring ModemManager.
2583 "--disable-3g-source"
2584 "--disable-cdma-source"
2585 "--disable-modem-gps-source"
2586 "--with-dbus-service-user=geoclue")
2588 (modify-phases %standard-phases
2589 (add-before 'configure 'patch-/bin/true
2591 (substitute* "configure"
2592 (("/bin/true") (which "true"))))))))
2594 `(("pkg-config" ,pkg-config)
2595 ("intltool" ,intltool)))
2599 ("json-glib" ,json-glib)
2600 ("libsoup" ,libsoup)))
2601 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2602 (synopsis "Geolocation service")
2603 (description "Geoclue is a D-Bus service that provides location
2604 information. The primary goal of the Geoclue project is to make creating
2605 location-aware applications as simple as possible, while the secondary goal is
2606 to ensure that no application can access location information without explicit
2607 permission from user.")
2608 (license license:gpl2+)))
2610 (define-public geocode-glib
2612 (name "geocode-glib")
2616 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2617 (version-major+minor version) "/"
2618 name "-" version ".tar.xz"))
2621 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2622 (build-system gnu-build-system)
2624 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2625 ;; work for the builder. Punt.
2628 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2629 ("gobject-introspection" ,gobject-introspection)
2630 ("pkg-config" ,pkg-config)
2631 ("json-glib" ,json-glib)))
2633 ;; geocode-glib-1.0.pc refers to GIO.
2636 `(("libsoup" ,libsoup)))
2637 (home-page "https://github.com/GNOME/geocode-glib/")
2638 (synopsis "Geocoding and reverse-geocoding library")
2640 "geocode-glib is a convenience library for geocoding (finding longitude,
2641 and latitude from an address) and reverse geocoding (finding an address from
2642 coordinates) using the Nominatim service. geocode-glib caches requests for
2643 faster results and to avoid unnecessary server load.")
2644 (license license:lgpl2.0+)))
2646 (define-public upower
2652 (uri (string-append "https://upower.freedesktop.org/releases/"
2653 name "-" version ".tar.xz"))
2656 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2657 (patches (search-patches "upower-builddir.patch"))))
2658 (build-system glib-or-gtk-build-system)
2660 '( ;; The tests want to contact the system bus, which can't be done in the
2661 ;; build environment. The integration test can run, but the last of
2662 ;; the up-self-tests doesn't. Disable tests for now.
2664 #:configure-flags (list "--localstatedir=/var"
2665 (string-append "--with-udevrulesdir="
2666 (assoc-ref %outputs "out")
2667 "/lib/udev/rules.d"))
2669 (modify-phases %standard-phases
2670 (add-before 'configure 'patch-/bin/true
2672 (substitute* "configure"
2673 (("/bin/true") (which "true")))))
2674 (add-before 'configure 'patch-integration-test
2676 (substitute* "src/linux/integration-test"
2677 (("/usr/bin/python3") (which "python3"))))))))
2679 `(("gobject-introspection" ,gobject-introspection)
2680 ("pkg-config" ,pkg-config)
2681 ("intltool" ,intltool)
2685 ("libxslt" ,libxslt) ;for 'xsltproc'
2686 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2687 ("docbook-xsl" ,docbook-xsl)))
2689 `(("dbus-glib" ,dbus-glib)
2690 ("libgudev" ,libgudev)
2691 ("libusb" ,libusb)))
2692 (home-page "http://upower.freedesktop.org/")
2693 (synopsis "System daemon for managing power devices")
2695 "UPower is an abstraction for enumerating power devices,
2696 listening to device events and querying history and statistics. Any
2697 application or service on the system can access the org.freedesktop.UPower
2698 service via the system message bus.")
2699 (license license:gpl2+)))
2701 (define-public libgweather
2703 (name "libgweather")
2707 (uri (string-append "mirror://gnome/sources/" name "/"
2708 (version-major+minor version) "/"
2709 name "-" version ".tar.xz"))
2712 "1higj4nmn3srqjbzl4iva7c0b4fkdq74xi4b35xd0qc4qiawbkbx"))))
2713 (build-system gnu-build-system)
2716 `(,(string-append "--with-zoneinfo-dir="
2717 (assoc-ref %build-inputs "tzdata")
2720 (modify-phases %standard-phases
2721 (add-before 'check 'pre-check
2722 (lambda* (#:key inputs #:allow-other-keys)
2723 (substitute* "data/check-timezones.sh"
2724 (("/usr/share/zoneinfo/zone.tab")
2725 (string-append (assoc-ref inputs "tzdata")
2726 "/share/zoneinfo/zone.tab")))
2728 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2729 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2730 (substitute* "data/Locations.xml"
2735 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2736 ("gobject-introspection" ,gobject-introspection)
2737 ("pkg-config" ,pkg-config)
2738 ("intltool" ,intltool)))
2740 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2743 ("gdk-pixbuf" ,gdk-pixbuf)
2744 ("libxml2" ,libxml2)
2745 ("libsoup" ,libsoup)))
2747 `(("tzdata" ,tzdata)
2748 ("geocode-glib" ,geocode-glib)))
2749 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2750 (synopsis "Location, time zone, and weather library for GNOME")
2752 "libgweather is a library to access weather information from online
2753 services for numerous locations.")
2754 (license license:gpl2+)))
2756 (define-public gnome-settings-daemon
2758 (name "gnome-settings-daemon")
2763 (uri (string-append "mirror://gnome/sources/" name "/"
2764 (version-major+minor version) "/"
2765 name "-" version ".tar.xz"))
2768 "02vm0jwhs9rdi3dphxw7dxharx7ng0l12j6hfdmn3vjc7v3ds50v"))))
2769 (build-system glib-or-gtk-build-system)
2771 `(;; Color management test can't reach the colord system service.
2774 `(("pkg-config" ,pkg-config)
2775 ("intltool" ,intltool)
2776 ("xsltproc" ,libxslt)
2777 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2778 ("docbook-xml" ,docbook-xml-4.2)
2779 ("docbook-xsl" ,docbook-xsl)))
2781 `(("colord" ,colord)
2782 ("libgudev" ,libgudev)
2785 ("pulseaudio" ,pulseaudio)
2786 ("libcanberra" ,libcanberra)
2788 ("libxtst" ,libxtst)
2790 ("libnotify" ,libnotify)
2791 ("geoclue" ,geoclue)
2792 ("geocode-glib" ,geocode-glib)
2793 ("libgweather" ,libgweather)
2794 ("gnome-desktop" ,gnome-desktop)
2797 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2798 ("libwacom" ,libwacom)
2799 ("librsvg" ,librsvg)
2800 ("xf86-input-wacom" ,xf86-input-wacom)
2801 ("network-manager" ,network-manager)))
2802 (home-page "http://www.gnome.org")
2803 (synopsis "GNOME settings daemon")
2805 "This package contains the daemon responsible for setting the various
2806 parameters of a GNOME session and the applications that run under it. It
2807 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2808 settings, themes, mouse settings, and startup of other daemons.")
2809 (license license:gpl2+)))
2811 (define-public totem-pl-parser
2813 (name "totem-pl-parser")
2817 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
2818 (version-major+minor version) "/"
2819 "totem-pl-parser-" version ".tar.xz"))
2822 "17089sqyh6w6zr8ci865ihmvqshnslcsk9fbsl4s7yii66y8b0lw"))))
2823 (build-system gnu-build-system)
2825 ;; FIXME: Tests require gvfs.
2828 `(("intltool" ,intltool)
2829 ("glib" ,glib "bin")
2830 ("gobject-introspection" ,gobject-introspection)
2831 ("pkg-config" ,pkg-config)))
2835 ("libxml2" ,libxml2)))
2837 `(("libarchive" ,libarchive)
2838 ("libgcrypt" ,libgcrypt)
2840 ("libsoup" ,libsoup)))
2841 (home-page "https://projects.gnome.org/totem")
2842 (synopsis "Library to parse and save media playlists for GNOME")
2843 (description "Totem-pl-parser is a GObjects-based library to parse and save
2844 playlists in a variety of formats.")
2845 (license license:lgpl2.0+)))
2847 (define-public aisleriot
2853 (uri (string-append "mirror://gnome/sources/" name "/"
2854 (version-major+minor version) "/"
2855 name "-" version ".tar.xz"))
2858 "01ydq39kk8xvv8nbqqbh458gpmvx676sms71r1iix42z40a13caj"))))
2859 (build-system glib-or-gtk-build-system)
2862 '("--with-platform=gtk-only"
2863 "--with-card-theme-formats=svg")))
2865 `(("desktop-file-utils" ,desktop-file-utils)
2866 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2867 ("intltool" ,intltool)
2868 ("itstool" ,itstool)
2869 ("pkg-config" ,pkg-config)
2870 ("xmllint" ,libxml2)))
2873 ("guile" ,guile-2.0)
2874 ("libcanberra" ,libcanberra)
2875 ("librsvg" ,librsvg)))
2876 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2877 (synopsis "Solitaire card games")
2879 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2880 which are easy to play with the aid of a mouse.")
2881 (license license:gpl3+)))
2883 (define-public devhelp
2889 (uri (string-append "mirror://gnome/sources/" name "/"
2890 (version-major+minor version) "/"
2891 name "-" version ".tar.xz"))
2894 "1c7zqn8apm1lnpsp74bd880rga2vi5wxfjghqdgwqf6j28pf1jjr"))))
2895 (build-system glib-or-gtk-build-system)
2897 `(("intltool" ,intltool)
2898 ("pkg-config" ,pkg-config)))
2900 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2901 ("webkitgtk" ,webkitgtk)))
2902 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2903 (synopsis "API documentation browser for GNOME")
2905 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2906 natively with GTK-Doc (the API reference system developed for GTK+ and used
2907 throughout GNOME for API documentation).")
2908 (license license:gpl2+)))
2917 (uri (string-append "mirror://gnome/sources/" name "/"
2918 (version-major+minor version) "/"
2919 name "-" version ".tar.xz"))
2922 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
2923 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
2924 ;; cogl, corresponding changes may be appropriate in mutter as well.
2925 (build-system gnu-build-system)
2927 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2928 ("gobject-introspection" ,gobject-introspection)
2929 ;;("xorg-server" ,xorg-server) ; for the test suite
2930 ("pkg-config" ,pkg-config)))
2933 ("gdk-pixbuf" ,gdk-pixbuf)
2935 ("libxext" ,libxext)
2936 ("libxfixes" ,libxfixes)
2937 ("libxdamage" ,libxdamage)
2938 ("libxcomposite" ,libxcomposite)
2939 ("libxrandr" ,libxrandr)))
2944 ("gstreamer" ,gstreamer)
2945 ("gst-plugins-base" ,gst-plugins-base)))
2947 `(#:configure-flags (list "--enable-cogl-gst"
2948 ;; Arrange to pass an absolute file name to
2949 ;; dlopen for libGL.so.
2950 (string-append "--with-gl-libname="
2951 (assoc-ref %build-inputs "mesa")
2953 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2954 ;; _FontTransOpen: Unable to Parse address
2955 ;; ${prefix}/share/fonts/X11/misc/
2959 (modify-phases %standard-phases
2960 (add-before 'check 'start-xorg-server
2961 (lambda* (#:key inputs #:allow-other-keys)
2962 ;; The test suite requires a running X server.
2963 (system (format #f "~a/bin/Xvfb :1 &"
2964 (assoc-ref inputs "xorg-server")))
2965 (setenv "DISPLAY" ":1")
2967 (home-page "http://www.cogl3d.org")
2968 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2970 "Cogl is a small library for using 3D graphics hardware to draw pretty
2971 pictures. The API departs from the flat state machine style of OpenGL and is
2972 designed to make it easy to write orthogonal components that can render
2973 without stepping on each others toes.")
2974 (license (list license:expat ; most of the code
2975 license:bsd-3 ; cogl/cogl-point-in-poly.c
2976 license:sgifreeb2.0 ; cogl-path/tesselator/
2977 license:asl2.0)))) ; examples/android/
2979 (define-public clutter
2986 (uri (string-append "mirror://gnome/sources/" name "/"
2987 (version-major+minor version) "/"
2988 name "-" version ".tar.xz"))
2991 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2992 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
2993 ;; to clutter, corresponding changes may be appropriate in mutter as well.
2994 (build-system gnu-build-system)
2996 "doc")) ;9 MiB of gtk-doc HTML pages
2998 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2999 ("gobject-introspection" ,gobject-introspection)
3000 ("pkg-config" ,pkg-config)
3001 ("xsltproc" ,libxslt)))
3007 ("json-glib" ,json-glib)
3009 ("libxcomposite" ,libxcomposite)
3010 ("libxdamage" ,libxdamage)
3011 ("libxext" ,libxext)
3012 ("xinput" ,xinput)))
3014 `(("libxkbcommon" ,libxkbcommon)
3017 `(#:configure-flags (list "--enable-x11-backend=yes"
3019 ;; This produces share/doc/{clutter,cally}.
3020 (string-append "--with-html-dir="
3021 (assoc-ref %outputs "doc")
3023 ;; XXX FIXME: Get test suite working. It would probably fail in the
3024 ;; same way the cogl tests fail, since clutter is based on cogl.
3026 (home-page "http://www.clutter-project.org")
3027 (synopsis "Open GL based interactive canvas library")
3029 "Clutter is an Open GL based interactive canvas library, designed for
3030 creating fast, mainly 2D single window applications such as media box UIs,
3031 presentations, kiosk style applications and so on.")
3032 (license license:lgpl2.0+)))
3034 (define-public clutter-gtk
3036 (name "clutter-gtk")
3041 (uri (string-append "mirror://gnome/sources/" name "/"
3042 (version-major+minor version) "/"
3043 name "-" version ".tar.xz"))
3046 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3047 (build-system gnu-build-system)
3049 `(("pkg-config" ,pkg-config)
3050 ("gobject-introspection" ,gobject-introspection)))
3052 ;; clutter-gtk.pc refers to all these.
3053 `(("clutter" ,clutter)
3055 (home-page "http://www.clutter-project.org")
3056 (synopsis "Open GL based interactive canvas library GTK+ widget")
3058 "Clutter is an Open GL based interactive canvas library, designed for
3059 creating fast, mainly 2D single window applications such as media box UIs,
3060 presentations, kiosk style applications and so on.")
3061 (license license:lgpl2.0+)))
3063 (define-public clutter-gst
3065 (name "clutter-gst")
3070 (uri (string-append "mirror://gnome/sources/" name "/"
3071 (version-major+minor version) "/"
3072 name "-" version ".tar.xz"))
3075 "1m6zwc7xr7lmbwiqav961g7jhc7gp5gb73dm6j93szpa6bxmgz7i"))))
3076 (build-system gnu-build-system)
3078 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3079 ("pkg-config" ,pkg-config)
3080 ("gobject-introspection" ,gobject-introspection)))
3082 `(("clutter" ,clutter)
3083 ("gstreamer" ,gstreamer)
3084 ("gst-plugins-base" ,gst-plugins-base)))
3085 (home-page "http://www.clutter-project.org")
3086 (synopsis "Integration library for using GStreamer with Clutter")
3088 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3089 It provides a GStreamer sink to upload frames to GL and an actor that
3090 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3091 GL based interactive canvas library.")
3092 (license license:lgpl2.0+)))
3094 (define-public libchamplain
3096 (name "libchamplain")
3101 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3105 "13snnka1jqc5qrgij8bm22xy02pncf3dn5ij3jh4rrpzq7g1sqpi"))))
3106 (build-system gnu-build-system)
3107 (arguments '(#:configure-flags '("--enable-vala")))
3109 `(("gobject-introspection" ,gobject-introspection)
3110 ("pkg-config" ,pkg-config)
3113 `(("libsoup" ,libsoup)
3115 ("clutter" ,clutter)
3116 ("clutter-gtk" ,clutter-gtk)
3117 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3121 (home-page "http://projects.gnome.org/libchamplain/")
3122 (synopsis "C library providing a ClutterActor to display maps")
3124 "libchamplain is a C library providing a ClutterActor to display maps.
3125 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3126 and Perl bindings are also available. It supports numerous free map sources
3127 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3128 (license license:lgpl2.1+)))
3137 (uri (string-append "mirror://gnome/sources/" name "/"
3138 (version-major+minor version) "/"
3139 name "-" version ".tar.xz"))
3142 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3143 (build-system gnu-build-system)
3145 `(("intltool" ,intltool)
3146 ("pkg-config" ,pkg-config)
3147 ("gobject-introspection" ,gobject-introspection)))
3150 ("gdk-pixbuf" ,gdk-pixbuf)
3151 ("sqlite" ,sqlite)))
3152 ;; XXX TODO: Figure out how to run the test suite.
3153 (arguments `(#:tests? #f))
3154 (home-page "https://wiki.gnome.org/Projects/Gom")
3155 (synopsis "Object mapper from GObjects to SQLite")
3157 "Gom provides an object mapper from GObjects to SQLite. It helps you
3158 write applications that need to store structured data as well as make complex
3159 queries upon that data.")
3160 (license license:lgpl2.1+)))
3162 (define-public libgames-support
3164 (name "libgames-support")
3168 (uri (string-append "mirror://gnome/sources/" name "/"
3169 (version-major+minor version) "/"
3170 name "-" version ".tar.xz"))
3173 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3174 (build-system gnu-build-system)
3177 (modify-phases %standard-phases
3178 (add-before 'check 'pre-check
3180 ;; tests require a writable HOME.
3181 (setenv "HOME" (getcwd))
3184 `(("intltool" ,intltool)
3185 ("pkg-config" ,pkg-config)
3188 ;; Required by libgames-support-1.0.pc
3190 ("libgee" ,libgee)))
3191 (home-page "https://www.gnome.org/")
3192 (synopsis "Useful functionality shared among GNOME games")
3194 "libgames-support is a small library intended for internal use by
3195 GNOME Games, but it may be used by others.")
3196 (license license:lgpl3+)))
3198 (define-public libgnome-games-support
3200 (inherit libgames-support)
3201 (name "libgnome-games-support")
3205 (uri (string-append "mirror://gnome/sources/" name "/"
3206 (version-major+minor version) "/"
3207 name "-" version ".tar.xz"))
3210 "1rsyf5hbjim7zpk1yar3gv65g1nmw6zbbc0smrmxsfk0f9n3j9m6"))))))
3212 (define-public gnome-klotski
3214 (name "gnome-klotski")
3218 (uri (string-append "mirror://gnome/sources/" name "/"
3219 (version-major+minor version) "/"
3220 name "-" version ".tar.xz"))
3223 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
3224 (build-system glib-or-gtk-build-system)
3226 `(("desktop-file-utils" ,desktop-file-utils)
3227 ("intltool" ,intltool)
3228 ("itstool" ,itstool)
3229 ("pkg-config" ,pkg-config)
3230 ("xmllint" ,libxml2)))
3233 ("libgnome-games-support" ,libgnome-games-support)
3234 ("librsvg" ,librsvg)))
3235 (home-page "https://wiki.gnome.org/Apps/Klotski")
3236 (synopsis "Sliding block puzzles")
3238 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3239 the patterned block to the area bordered by green markers. To do so, you will
3240 need to slide other blocks out of the way. Complete each puzzle in as few moves
3242 (license license:gpl2+)))
3244 (define-public grilo
3251 (uri (string-append "mirror://gnome/sources/" name "/"
3252 (version-major+minor version) "/"
3253 name "-" version ".tar.xz"))
3256 "0nvzr2gfk2mpzf99442zawv0n5yjcyy50rqkrvdsibknbm56hvzj"))))
3257 (build-system gnu-build-system)
3259 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3260 ("intltool" ,intltool)
3261 ("pkg-config" ,pkg-config)
3262 ("gobject-introspection" ,gobject-introspection)))
3266 ("libxml2" ,libxml2)
3267 ;; XXX TODO: Add oauth
3268 ("libsoup" ,libsoup)
3270 ("totem-pl-parser" ,totem-pl-parser)))
3273 (modify-phases %standard-phases
3274 (add-after 'unpack 'fix-introspection-install-dir
3275 (lambda* (#:key outputs #:allow-other-keys)
3276 (let ((out (assoc-ref outputs "out")))
3277 (substitute* '("src/Makefile.in"
3278 "libs/pls/Makefile.in"
3279 "libs/net/Makefile.in")
3280 (("@INTROSPECTION_GIRDIR@")
3281 (string-append out "/share/gir-1.0/"))
3282 (("@INTROSPECTION_TYPELIBDIR@")
3283 (string-append out "/lib/girepository-1.0/")))))))))
3284 (native-search-paths
3285 (list (search-path-specification
3286 (variable "GRL_PLUGIN_PATH")
3287 (files (list (string-append "lib/grilo-"
3288 (version-major+minor version)))))))
3289 (home-page "http://live.gnome.org/Grilo")
3290 (synopsis "Framework for discovering and browsing media")
3292 "Grilo is a framework focused on making media discovery and browsing easy
3293 for application developers.")
3294 (license license:lgpl2.1+)))
3296 (define-public grilo-plugins
3298 (name "grilo-plugins")
3303 (uri (string-append "mirror://gnome/sources/" name "/"
3304 (version-major+minor version) "/"
3305 name "-" version ".tar.xz"))
3308 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3309 (build-system gnu-build-system)
3311 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3312 ("intltool" ,intltool)
3313 ("itstool" ,itstool)
3314 ("pkg-config" ,pkg-config)))
3317 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3319 ("libxml2" ,libxml2)
3322 ;; XXX TODO: Add oauth
3323 ;; XXX TODO: Add goa
3324 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3325 ;; XXX TODO: Add lua (needs help finding it)
3326 ("json-glib" ,json-glib)
3329 ("libsoup" ,libsoup)
3330 ("libarchive" ,libarchive)
3331 ("totem-pl-parser" ,totem-pl-parser)))
3333 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3336 ,(version-major+minor version)))
3337 ;; XXX FIXME: Try to get the test suite working. It appears to require
3338 ;; a working system dbus. Inside the build container, all tests fail
3339 ;; with: "assertion failed: (source)". Outside of the build container,
3340 ;; most tests succeed.
3342 (home-page "http://live.gnome.org/Grilo")
3343 (synopsis "Plugins for the Grilo media discovery library")
3345 "Grilo is a framework focused on making media discovery and browsing easy
3346 for application developers.")
3347 (license license:lgpl2.1+)))
3349 (define-public totem
3356 (uri (string-append "mirror://gnome/sources/" name "/"
3357 (version-major+minor version) "/"
3358 name "-" version ".tar.xz"))
3361 "1sjgjqhpsh3kipnbc8y31xz64s61xjayxq98pi0vkgbl2rdmnsh2"))))
3362 (build-system glib-or-gtk-build-system)
3364 `(("pkg-config" ,pkg-config)
3365 ("desktop-file-utils" ,desktop-file-utils)
3366 ("gobject-introspection" ,gobject-introspection)
3367 ("intltool" ,intltool)
3368 ("itstool" ,itstool)
3369 ("xmllint" ,libxml2)))
3371 `(("dconf" ,dconf)))
3374 ("gdk-pixbuf" ,gdk-pixbuf)
3377 ("dbus-glib" ,dbus-glib)
3378 ("clutter" ,clutter)
3379 ("clutter-gtk" ,clutter-gtk)
3380 ("clutter-gst" ,clutter-gst)
3382 ("libxxf86vm" ,libxxf86vm)
3383 ("libxtst" ,libxtst)
3384 ("libxrandr" ,libxrandr)
3385 ("libxml2" ,libxml2)
3386 ("libsoup" ,libsoup)
3387 ("libpeas" ,libpeas)
3388 ("librsvg" ,librsvg)
3390 ("gnome-desktop" ,gnome-desktop)
3391 ("gstreamer" ,gstreamer)
3392 ("gst-plugins-base" ,gst-plugins-base)
3393 ("gst-plugins-good" ,gst-plugins-good)
3394 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3395 ("adwaita-icon-theme" ,adwaita-icon-theme)
3396 ;; XXX We use python-2 because libxml2 because itstool (which needs
3397 ;; libxml) currently uses python-2.
3398 ("python" ,python-2)
3399 ("python-pygobject" ,python2-pygobject)
3400 ;; XXX TODO pylint needed for python support
3401 ("totem-pl-parser" ,totem-pl-parser)
3403 ("grilo-plugins" ,grilo-plugins)
3408 (modify-phases %standard-phases
3410 'install 'wrap-totem
3411 (lambda* (#:key inputs outputs #:allow-other-keys)
3412 (let ((out (assoc-ref outputs "out"))
3413 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3414 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3415 (wrap-program (string-append out "/bin/totem")
3416 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3417 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3419 (home-page "https://wiki.gnome.org/Apps/Videos")
3420 (synopsis "Simple media player for GNOME based on GStreamer")
3421 (description "Totem is a simple yet featureful media player for GNOME
3422 which can read a large number of file formats.")
3423 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3424 ;; to be used and distributed together with GStreamer and Totem. See
3425 ;; file://COPYING in the source distribution for details.
3426 (license license:gpl2+)))
3428 (define-public rhythmbox
3434 (uri (string-append "mirror://gnome/sources/" name "/"
3435 (version-major+minor version) "/"
3436 name "-" version ".tar.xz"))
3439 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
3440 (build-system glib-or-gtk-build-system)
3443 (list "--enable-lirc"
3450 (modify-phases %standard-phases
3452 'install 'wrap-rhythmbox
3453 (lambda* (#:key inputs outputs #:allow-other-keys)
3454 (let ((out (assoc-ref outputs "out"))
3455 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3456 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3457 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3458 (python-path (getenv "PYTHONPATH")))
3459 (wrap-program (string-append out "/bin/rhythmbox")
3460 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3461 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3462 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3463 `("PYTHONPATH" ":" prefix (,python-path))))
3466 `(("dconf" ,dconf)))
3468 `(("itstool" ,itstool)
3469 ("intltool" ,intltool)
3470 ("glib" ,glib "bin")
3471 ("gobject-introspection" ,gobject-introspection)
3472 ("desktop-file-utils" ,desktop-file-utils)
3473 ("pkg-config" ,pkg-config)
3474 ("xmllint" ,libxml2)))
3476 `(("json-glib" ,json-glib)
3478 ("gnome-desktop" ,gnome-desktop)
3480 ("python-pygobject" ,python2-pygobject)
3484 ("adwaita-icon-theme" ,adwaita-icon-theme)
3486 ("grilo-plugins" ,grilo-plugins)
3487 ("gstreamer" ,gstreamer)
3488 ("gst-plugins-base" ,gst-plugins-base)
3489 ("gst-plugins-good" ,gst-plugins-good)
3490 ("totem-pl-parser" ,totem-pl-parser)
3491 ("libgudev" ,libgudev)
3492 ;;("libmtp" ,libmtp) FIXME: Not detected
3493 ("libsecret" ,libsecret)
3494 ("libsoup" ,libsoup)
3495 ("libnotify" ,libnotify)
3496 ("libpeas" ,libpeas)
3498 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3499 ;;("clutter" ,clutter)
3500 ;;("clutter-gtk" ,clutter-gtk)
3501 ;;("clutter-gst" ,clutter-gst)
3502 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3509 ("brasero" ,brasero)))
3510 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3511 (synopsis "Music player for GNOME")
3512 (description "Rhythmbox is a music playing application for GNOME. It
3513 supports playlists, song ratings, and any codecs installed through gstreamer.")
3514 (license license:gpl2+)))
3522 (uri (string-append "mirror://gnome/sources/" name "/"
3523 (version-major+minor version) "/"
3524 name "-" version ".tar.xz"))
3527 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
3528 (build-system glib-or-gtk-build-system)
3531 (modify-phases %standard-phases
3534 (lambda* (#:key outputs #:allow-other-keys)
3535 (let ((out (assoc-ref outputs "out"))
3536 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3537 (wrap-program (string-append out "/bin/eog")
3538 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3541 `(("dconf" ,dconf)))
3543 `(("intltool" ,intltool)
3544 ("itstool" ,itstool)
3545 ("glib" ,glib "bin")
3546 ("gobject-introspection" ,gobject-introspection)
3547 ("pkg-config" ,pkg-config)
3548 ("xmllint" ,libxml2)))
3550 `(("gnome-desktop" ,gnome-desktop)
3551 ("shared-mime-info" ,shared-mime-info)
3552 ("adwaita-icon-theme" ,adwaita-icon-theme)
3555 ("libexif" ,libexif)
3556 ("libpeas" ,libpeas)
3557 ("libjpeg" ,libjpeg)
3558 ("librsvg" ,librsvg)
3559 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3561 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3562 (synopsis "GNOME image viewer")
3563 (description "Eye of GNOME is the GNOME image viewer. It
3564 supports image conversion, rotation, and slideshows.")
3565 (license license:gpl2+)))
3567 (define-public libgudev
3573 (uri (string-append "mirror://gnome/sources/" name "/"
3574 version "/" name "-" version ".tar.xz"))
3577 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3578 (build-system gnu-build-system)
3580 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3581 ("gobject-introspection" ,gobject-introspection)
3582 ("pkg-config" ,pkg-config)))
3584 `(("glib" ,glib))) ; required by gudev-1.0.pc
3587 (home-page "https://wiki.gnome.org/Projects/libgudev")
3588 (synopsis "GObject bindings for libudev")
3590 "This library provides GObject bindings for libudev. It was originally
3591 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3592 (license license:lgpl2.1+)))
3600 (uri (string-append "mirror://gnome/sources/" name "/"
3601 (version-major+minor version) "/"
3602 name "-" version ".tar.xz"))
3605 "0xgis1kgglnazy1vm66xiqyz8yvvmiad3h0g3agg7ryai6aa495q"))))
3606 (build-system gnu-build-system)
3608 '(#:tests? #f)) ; XXX: requiring `pidof'
3610 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3611 ("intltool" ,intltool)
3612 ("pkg-config" ,pkg-config)
3613 ("xsltproc" ,libxslt)))
3616 ("docbook-xml" ,docbook-xml-4.2)
3617 ("docbook-xsl" ,docbook-xsl)
3622 ("libarchive" ,libarchive)
3623 ("libbluray" ,libbluray)
3625 ("libcdio-paranoia" ,libcdio-paranoia)
3626 ("libgcrypt" ,libgcrypt)
3627 ("libgphoto2" ,libgphoto2)
3628 ("libgudev" ,libgudev)
3630 ("libsecret" ,libsecret)
3631 ("libsmbclient" ,samba)
3632 ("libsoup" ,libsoup)
3633 ("libxml2" ,libxml2)
3634 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3636 ("udisks" ,udisks)))
3637 (home-page "https://wiki.gnome.org/gvfs/")
3638 (synopsis "Userspace virtual file system for GIO")
3640 "GVFS is a userspace virtual file system designed to work with the I/O
3641 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3642 to all applications using the GIO API. It also supports exposing the GVFS
3643 mounts to non-GIO applications using FUSE.
3645 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3647 (license license:lgpl2.0+)))
3655 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3657 (string-join (string-split version #\.)
3662 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3663 (build-system gnu-build-system)
3665 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3666 ("gobject-introspection" ,gobject-introspection)
3667 ("pkg-config" ,pkg-config)
3669 ("autoconf" ,autoconf)
3670 ("automake" ,automake)
3671 ("libtool" ,libtool)
3672 ("gtk-doc" ,gtk-doc)))
3674 ;; Both of these are required by gusb.pc.
3676 ("libusb" ,libusb)))
3678 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3680 (modify-phases %standard-phases
3681 (add-after 'unpack 'autogen
3683 (and (zero? (system* "gtkdocize"))
3684 (zero? (system* "autoreconf" "-vif"))))))))
3685 (home-page "https://github.com/hughsie/libgusb")
3686 (synopsis "GLib binding for libusb1")
3688 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3689 asynchronous control, bulk and interrupt transfers with proper cancellation
3690 and integration into a mainloop. This makes it easy to integrate low level
3691 USB transfers with your high-level application or system daemon.")
3692 (license license:lgpl2.1+)))
3694 (define-public simple-scan
3696 (name "simple-scan")
3700 (uri (string-append "https://launchpad.net/simple-scan/"
3701 (version-major+minor version) "/"
3702 version "/+download/simple-scan-"
3706 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
3707 (build-system glib-or-gtk-build-system)
3712 ("gdk-pixbuf" ,gdk-pixbuf)
3714 ("libsane" ,sane-backends)))
3716 `(("gettext" ,gettext-minimal)
3717 ("itstool" ,itstool)
3719 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3720 ("pkg-config" ,pkg-config)
3722 ("xmllint" ,libxml2)))
3724 '(#:configure-flags '("--disable-packagekit")
3726 (modify-phases %standard-phases
3727 (add-after 'unpack 'clean
3729 ;; Remove a left-over reference to PackageKit.
3731 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3733 ;; There are some generated C files erroneously
3734 ;; included in the source distribution, and this
3735 ;; one breaks the build by referring to a
3736 ;; non-existent header (packagekit.h)
3737 (delete-file "src/ui.c"))))))
3738 (home-page "https://launchpad.net/simple-scan")
3739 (synopsis "Document and image scanner")
3740 (description "Simple Scan is an easy-to-use application, designed to let
3741 users connect their scanner and quickly have the image/document in an
3742 appropriate format. Simple Scan is basically a frontend for SANE - which is
3743 the same backend as XSANE uses. This means that all existing scanners will
3744 work and the interface is well tested.")
3745 (license license:gpl3+)))
3747 (define-public epiphany
3753 (uri (string-append "mirror://gnome/sources/" name "/"
3754 (version-major+minor version) "/"
3755 name "-" version ".tar.xz"))
3758 "1167x5s0kawkqngjnzml0a11ib18raxqc4p11kacivj4jv0pwnx1"))))
3759 (build-system glib-or-gtk-build-system)
3761 ;; FIXME: tests run under Xvfb, but fail with:
3762 ;; /src/bookmarks/ephy-bookmarks/create:
3763 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3767 #:configure-flags '("CFLAGS=-std=gnu99")))
3769 `(("dconf" ,dconf)))
3771 `(("intltool" ,intltool)
3772 ("itstool" ,itstool)
3773 ("pkg-config" ,pkg-config)
3774 ("xmllint" ,libxml2)))
3778 ("glib-networking" ,glib-networking)
3779 ("gnome-desktop" ,gnome-desktop)
3780 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3781 ("iso-codes" ,iso-codes)
3782 ("libnotify" ,libnotify)
3783 ("libsecret" ,libsecret)
3784 ("libxslt" ,libxslt)
3786 ("webkitgtk" ,webkitgtk)))
3787 (home-page "https://wiki.gnome.org/Apps/Web")
3788 (synopsis "GNOME web browser")
3790 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3791 principles are simplicity and standards compliance.")
3792 (license license:gpl2+)))
3794 (define-public d-feet
3800 (uri (string-append "mirror://gnome/sources/" name "/"
3801 (version-major+minor version) "/"
3802 name "-" version ".tar.xz"))
3805 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
3806 (build-system glib-or-gtk-build-system)
3808 '(#:out-of-source? #f ; tests need to run in the source directory.
3810 (modify-phases %standard-phases
3814 ;; The test suite requires a running X server.
3815 (system "Xvfb :1 &")
3816 (setenv "DISPLAY" ":1")
3817 ;; Don't fail on missing '/etc/machine-id'.
3818 (setenv "DBUS_FATAL_WARNINGS" "0")
3819 ;; tests.py and window.py don't meet E402:
3820 ;; E402 module level import not at top of file
3821 (substitute* "src/tests/Makefile"
3822 (("--ignore=E123") "--ignore=E123,E402"))
3825 'install 'wrap-program
3826 (lambda* (#:key outputs #:allow-other-keys)
3827 (let ((prog (string-append (assoc-ref outputs "out")
3830 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3831 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3834 `(("intltool" ,intltool)
3835 ("itstool" ,itstool)
3836 ("pkg-config" ,pkg-config)
3837 ("python-pep8" ,python-pep8)
3838 ("xmllint" ,libxml2)
3839 ("xorg-server" ,xorg-server)))
3841 `(("gobject-introspection" ,gobject-introspection)
3843 ("python" ,python-wrapper)
3844 ("python-pygobject" ,python-pygobject)))
3845 (home-page "https://wiki.gnome.org/Apps/DFeet")
3846 (synopsis "D-Bus debugger")
3848 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3849 of running programs and invoke methods on those interfaces.")
3850 (license license:gpl2+)))
3852 (define-public yelp-xsl
3858 (uri (string-append "mirror://gnome/sources/" name "/"
3859 (version-major+minor version) "/"
3860 name "-" version ".tar.xz"))
3863 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3864 (build-system gnu-build-system)
3866 `(("intltool" ,intltool)
3867 ("itstool" ,itstool)
3868 ("xmllint" ,libxml2)))
3869 (home-page "https://wiki.gnome.org/Apps/Yelp")
3870 (synopsis "XSL stylesheets for Yelp")
3872 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3873 to format Docbook and Mallard documents.")
3874 (license license:gpl2+)))
3882 (uri (string-append "mirror://gnome/sources/" name "/"
3883 (version-major+minor version) "/"
3884 name "-" version ".tar.xz"))
3887 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
3888 (build-system glib-or-gtk-build-system)
3890 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3891 ("intltool" ,intltool)
3892 ("itstool" ,itstool)
3893 ("pkg-config" ,pkg-config)))
3895 `(("dconf" ,dconf)))
3897 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3898 ("libxslt" ,libxslt)
3900 ("webkitgtk" ,webkitgtk)
3901 ("yelp-xsl" ,yelp-xsl)))
3902 (home-page "https://wiki.gnome.org/Apps/Yelp")
3903 (synopsis "GNOME help browser")
3905 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3906 man, info, and HTML documents. It can locate documents according to the
3907 freedesktop.org help system specification.")
3908 (license license:gpl2+)))
3910 (define-public yelp-tools
3916 (uri (string-append "mirror://gnome/sources/" name "/"
3917 (version-major+minor version) "/"
3918 name "-" version ".tar.xz"))
3921 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3922 (build-system gnu-build-system)
3924 `(("pkg-config" ,pkg-config)))
3926 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3927 `(("itstool" ,itstool)
3928 ("xmllint" ,libxml2)
3929 ("xsltproc" ,libxslt)))
3931 `(("yelp-xsl" ,yelp-xsl)))
3932 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3933 (synopsis "Yelp documentation tools")
3935 "Yelp-tools is a collection of scripts and build utilities to help create,
3936 manage, and publish documentation for Yelp and the web. Most of the heavy
3937 lifting is done by packages like yelp-xsl and itstool. This package just
3938 wraps things up in a developer-friendly way.")
3939 (license license:gpl2+)))
3941 (define-public libgee
3947 (uri (string-append "mirror://gnome/sources/" name "/"
3948 (version-major+minor version) "/"
3949 name "-" version ".tar.xz"))
3952 "18ir5264bhdg76kcjn8i5bfs1vz89qqn2py20aavm2cwbaz6ns4r"))))
3953 (build-system gnu-build-system)
3956 (modify-phases %standard-phases
3957 (add-after 'unpack 'fix-introspection-install-dir
3958 (lambda* (#:key outputs #:allow-other-keys)
3959 (let ((out (assoc-ref outputs "out")))
3960 (substitute* "gee/Makefile.in"
3961 (("@INTROSPECTION_GIRDIR@")
3962 (string-append out "/share/gir-1.0/"))
3963 (("@INTROSPECTION_TYPELIBDIR@")
3964 (string-append out "/lib/girepository-1.0/")))))))))
3966 `(("glib" ,glib "bin")
3967 ("pkg-config" ,pkg-config)))
3970 ("gobject-introspection" ,gobject-introspection)))
3971 (home-page "https://wiki.gnome.org/Projects/Libgee")
3972 (synopsis "GObject collection library")
3974 "Libgee is a utility library providing GObject-based interfaces and
3975 classes for commonly used data structures.")
3976 (license license:lgpl2.1+)))
3978 (define-public gexiv2
3984 (uri (string-append "mirror://gnome/sources/" name "/"
3985 (version-major+minor version) "/"
3986 name "-" version ".tar.xz"))
3989 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3990 (build-system gnu-build-system)
3992 `(("glib" ,glib "bin")
3993 ("pkg-config" ,pkg-config)))
3995 ;; Listed in "Requires" section of gexiv2.pc
3996 `(("exiv2" ,exiv2)))
3999 ("gobject-introspection" ,gobject-introspection)))
4000 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4001 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4003 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4004 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4005 metadata in photo and video files of various formats.")
4006 (license license:gpl2+)))
4008 (define-public shotwell
4014 (uri (string-append "mirror://gnome/sources/" name "/"
4015 (version-major+minor version) "/"
4016 name "-" version ".tar.xz"))
4019 "10pv3v789hky8h7ladqzzmgvkmgy3c41n4xz0nnyjmpycwl26g29"))))
4020 (build-system glib-or-gtk-build-system)
4022 `(("dconf" ,dconf)))
4024 `(("pkg-config" ,pkg-config)
4025 ("itstool" ,itstool)
4026 ("gettext" ,gettext-minimal)
4027 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4028 ("itstool" ,itstool)
4031 `(("glib:bin" ,glib "bin")
4032 ("gstreamer" ,gstreamer)
4033 ("gst-plugins-base" ,gst-plugins-base)
4037 ("json-glib" ,json-glib)
4038 ("webkitgtk" ,webkitgtk)
4040 ("libsoup" ,libsoup)
4041 ("libxml2" ,libxml2)
4042 ("libgudev" ,libgudev)
4043 ("libgphoto2" ,libgphoto2)
4045 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4046 (synopsis "Photo manager for GNOME 3")
4048 "Shotwell is a digital photo manager designed for the GNOME desktop
4049 environment. It allows you to import photos from disk or camera, organize
4050 them by keywords and events, view them in full-window or fullscreen mode, and
4051 share them with others via social networking and more.")
4052 (license license:lgpl2.1+)))
4054 (define-public file-roller
4056 (name "file-roller")
4060 (uri (string-append "mirror://gnome/sources/" name "/"
4061 (version-major+minor version) "/"
4062 name "-" version ".tar.xz"))
4065 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
4066 (build-system glib-or-gtk-build-system)
4069 (modify-phases %standard-phases
4070 (add-before 'install 'skip-gtk-update-icon-cache
4072 ;; Don't create 'icon-theme.cache'
4073 (substitute* (find-files "data" "^Makefile$")
4074 (("gtk-update-icon-cache") (which "true")))
4077 `(("intltool" ,intltool)
4078 ("pkg-config" ,pkg-config)))
4079 ;; TODO: Add libnautilus.
4082 ("gdk-pixbuf" ,gdk-pixbuf)
4083 ("json-glib" ,json-glib)
4084 ("libarchive" ,libarchive)
4085 ("libnotify" ,libnotify)
4087 ("itstool" ,itstool)
4088 ("libxml2" ,libxml2)))
4089 (synopsis "Graphical archive manager for GNOME")
4090 (description "File Roller is an archive manager for the GNOME desktop
4091 environment that allows users to view, unpack, and create compressed archives
4092 such as gzip tarballs.")
4093 (home-page "http://fileroller.sourceforge.net/")
4094 (license license:gpl2+)))
4096 (define-public gnome-session
4098 (name "gnome-session")
4102 (uri (string-append "mirror://gnome/sources/" name "/"
4103 (version-major+minor version) "/"
4104 name "-" version ".tar.xz"))
4107 "1xahljysbpnc1zafm1y2lqnmmqi2jh4fx7h2y48d9ipqnknk26in"))))
4110 (modify-phases %standard-phases
4111 (add-before 'configure 'pre-configure
4112 (lambda* (#:key outputs #:allow-other-keys)
4113 ;; Use elogind instead of systemd.
4114 (substitute* "configure"
4115 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4117 (("systemd") "elogind"))
4118 (substitute* "gnome-session/gsm-systemd.c"
4119 (("#include <systemd/sd-login.h>")
4120 "#include <elogind/sd-login.h>"))
4121 ;; Remove uses of the systemd journal.
4122 (substitute* "gnome-session/main.c"
4123 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4124 (substitute* "gnome-session/gsm-manager.c"
4125 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4126 (substitute* "gnome-session/gsm-autostart-app.c"
4127 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4129 (add-after 'install 'wrap-gnome-session
4130 (lambda* (#:key inputs outputs #:allow-other-keys)
4131 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4132 (let ((glib (assoc-ref inputs "glib:bin"))
4133 (out (assoc-ref outputs "out")))
4134 (wrap-program (string-append out "/bin/gnome-session")
4135 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4137 (add-after 'install 'disable-hardware-acceleration-check
4138 (lambda* (#:key outputs #:allow-other-keys)
4139 ;; Do not abort if hardware acceleration is missing. This allows
4140 ;; GNOME to run in QEMU and on low-end devices.
4141 (let ((out (assoc-ref outputs "out")))
4142 (substitute* (string-append out
4143 "/share/xsessions/gnome.desktop")
4145 "gnome-session --disable-acceleration-check"))
4149 '("--enable-elogind")))
4150 (build-system glib-or-gtk-build-system)
4152 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4153 ("pkg-config" ,pkg-config)
4154 ("intltool" ,intltool)
4155 ("xsltproc" ,libxslt)))
4157 `(("elogind" ,elogind)
4158 ("gnome-desktop" ,gnome-desktop)
4159 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4161 ("json-glib" ,json-glib)
4163 ("libxcomposite" ,libxcomposite)
4164 ("libxtst" ,libxtst)
4167 ("xtrans" ,xtrans)))
4168 (synopsis "Session manager for GNOME")
4170 "This package contains the GNOME session manager, as well as a
4171 configuration program to choose applications starting on login.")
4172 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4173 (license license:gpl2+)))
4181 (uri (string-append "mirror://gnome/sources/" name "/"
4182 (version-major+minor version) "/"
4183 name "-" version ".tar.xz"))
4186 "1m2ssa6qsipbp8lz4xbhf0nhadhv0xkdpmz1jcvl9187lwgmk0r2"))
4187 (modules '((guix build utils)))
4188 (snippet '(substitute* "test/run-with-dbus"
4189 (("/bin/rm") "rm")))))
4190 (build-system gnu-build-system)
4193 (modify-phases %standard-phases
4197 ;; The test suite requires a running X server.
4198 (system "Xvfb :1 &")
4199 (setenv "DISPLAY" ":1")
4201 ;; For the missing /etc/machine-id.
4202 (setenv "DBUS_FATAL_WARNINGS" "0")
4205 ;; Failed to convert UTF-8 string to JS string: ...
4206 ;; TODO: actually fix it.
4207 (substitute* "installed-tests/js/testEverythingBasic.js"
4208 ((".*test_utf8_inout.*") ""))
4211 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4212 ("pkg-config" ,pkg-config)
4213 ("xmllint" ,libxml2)
4215 ("dbus-launch" ,dbus)
4216 ("uuidgen" ,util-linux)
4217 ("xvfb" ,xorg-server)))
4219 ;; These are all in the Requires.private field of gjs-1.0.pc.
4220 `(("gobject-introspection" ,gobject-introspection)
4221 ("mozjs" ,mozjs-24)))
4224 ("readline" ,readline)))
4225 (synopsis "Javascript bindings for GNOME")
4226 (home-page "http://live.gnome.org/Gjs")
4228 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4229 javascript engine and the GObject introspection framework.")
4230 (license license:gpl2+)))
4232 (define-public gedit
4238 (uri (string-append "mirror://gnome/sources/" name "/"
4239 (version-major+minor version) "/"
4240 name "-" version ".tar.xz"))
4243 "0i9z5d31vibb3dd329gwvyga38zq5k1a2glcdq7m93ycbl5mlfq6"))))
4244 (build-system glib-or-gtk-build-system)
4246 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4248 (modify-phases %standard-phases
4250 'install 'wrap-gedit
4251 (lambda* (#:key inputs outputs #:allow-other-keys)
4252 (let ((out (assoc-ref outputs "out"))
4253 (gtksourceview (assoc-ref inputs "gtksourceview"))
4254 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4255 (python-path (getenv "PYTHONPATH")))
4256 (wrap-program (string-append out "/bin/gedit")
4258 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4259 `("PYTHONPATH" ":" prefix (,python-path))
4260 ;; For language-specs.
4261 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4265 `(("dconf" ,dconf)))
4267 `(("intltool" ,intltool)
4268 ("itstool" ,itstool)
4269 ("gobject-introspection" ,gobject-introspection)
4270 ("pkg-config" ,pkg-config)))
4274 ("gtksourceview" ,gtksourceview)
4275 ("libpeas" ,libpeas)
4276 ("libxml2" ,libxml2)
4277 ("iso-codes" ,iso-codes)
4278 ("python-pygobject" ,python-pygobject)
4280 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4283 ("adwaita-icon-theme" ,adwaita-icon-theme)
4284 ("libsoup" ,libsoup)
4285 ("gnome-desktop" ,gnome-desktop)))
4286 (home-page "https://wiki.gnome.org/Apps/Gedit")
4287 (synopsis "GNOME text editor")
4288 (description "While aiming at simplicity and ease of use, gedit is a
4289 powerful general purpose text editor.")
4290 (license license:gpl2+)))
4292 (define-public zenity
4298 (uri (string-append "mirror://gnome/sources/" name "/"
4299 (version-major+minor version) "/"
4300 name "-" version ".tar.xz"))
4303 "0rp4l0vgyjhlkpk2imfwf7b05m1qxjrm8n8kp1rv70ykf48gmk8y"))))
4304 (build-system gnu-build-system)
4306 `(("gettext" ,gettext-minimal)
4307 ("itstool" ,itstool)
4308 ("pkg-config" ,pkg-config)))
4310 `(("libnotify" ,libnotify)
4311 ("webkitgtk" ,webkitgtk)))
4312 (synopsis "Display graphical dialog boxes from shell scripts")
4313 (home-page "http://www.gnome.org")
4315 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4316 to display dialog boxes from the commandline and shell scripts.")
4317 (license license:lgpl2.0+)))
4319 (define-public mutter
4320 ;; Uses the gnome 3.22 branch that only contains bug fixes.
4321 (let ((commit "23c315ea7121e9bd108e2837d0b4beeba53c5e18"))
4324 (version (git-version "3.22.2" "1" commit))
4328 (url "git://git.gnome.org/mutter")
4330 (file-name (git-file-name name version))
4333 "1v1f9xyzjr1ihmfwpq9kzlv2lyr9qn63ck8zny699mbp5hsi11mb"))))
4334 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4335 ;; versions of cogl and clutter. As a result, many of the inputs,
4336 ;; propagated-inputs, and configure flags used in cogl and clutter are
4337 ;; needed here as well.
4338 (build-system gnu-build-system)
4341 ;; XXX: build fails with [-Werror]:
4342 ;; backends/meta-cursor-renderer.c:112:5: error:
4343 ;; implicit declaration of function ?roundf?
4344 (list "--enable-compile-warnings=minimum"
4346 "--disable-wayland" ; TODO enable wayland
4347 ;; "--enable-native-backend" ; TODO enable the native backend
4349 ;; The following flags are needed for the bundled clutter
4350 "--enable-x11-backend=yes"
4352 ;; the remaining flags are needed for the bundled cogl
4354 (string-append "--with-gl-libname="
4355 (assoc-ref %build-inputs "mesa")
4358 (modify-phases %standard-phases
4359 (add-after 'unpack 'autoreconf
4361 (zero? (system* "autoreconf" "-vfi")))))))
4363 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4364 ("gobject-introspection" ,gobject-introspection)
4365 ("intltool" ,intltool)
4366 ("pkg-config" ,pkg-config)
4368 ("autoconf" ,autoconf)
4369 ("automake" ,automake)
4370 ("libtool" ,libtool)))
4372 `(;; libmutter.pc refers to these:
4373 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4375 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4378 ("gdk-pixbuf" ,gdk-pixbuf)
4382 ("json-glib" ,json-glib)
4383 ("libinput" ,libinput)
4385 ("libxcomposite" ,libxcomposite)
4386 ("libxdamage" ,libxdamage)
4387 ("libxext" ,libxext)
4388 ("libxfixes" ,libxfixes)
4389 ("libxkbcommon" ,libxkbcommon)
4390 ("libxrandr" ,libxrandr)
4394 ("wayland" ,wayland)
4395 ("wayland-protocols" ,wayland-protocols)
4396 ("xinput" ,xinput)))
4398 `(("gnome-desktop" ,gnome-desktop)
4399 ("libcanberra-gtk" ,libcanberra)
4400 ("libgudev" ,libgudev)
4403 ("libxkbfile" ,libxkbfile)
4404 ("libxrandr" ,libxrandr)
4405 ("startup-notification" ,startup-notification)
4406 ("upower-glib" ,upower)
4407 ("xkeyboard-config" ,xkeyboard-config)
4408 ("zenity" ,zenity)))
4409 (synopsis "Window and compositing manager")
4410 (home-page "http://www.gnome.org")
4412 "Mutter is a window and compositing manager that displays and manages your
4413 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4414 Clutter toolkit with solid window-management logic inherited from the Metacity
4416 (license license:gpl2+))))
4418 (define-public gnome-online-accounts
4420 (name "gnome-online-accounts")
4424 (uri (string-append "mirror://gnome/sources/" name "/"
4425 (version-major+minor version) "/"
4426 name "-" version ".tar.xz"))
4429 "13wvnfh3hnasdnb6fhjssybj2327qihd32kpdjjb3r1qiyc8dvqb"))))
4430 (build-system glib-or-gtk-build-system)
4432 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4433 ("gobject-introspection" ,gobject-introspection)
4434 ("intltool" ,intltool)
4435 ("pkg-config" ,pkg-config)
4436 ("xsltproc" ,libxslt)))
4438 `(("glib" ,glib) ; required by goa-1.0.pc
4439 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4441 `(("docbook-xsl" ,docbook-xsl)
4442 ("json-glib" ,json-glib)
4443 ("libsecret" ,libsecret)
4445 ("telepathy-glib" ,telepathy-glib)
4446 ("webkitgtk" ,webkitgtk)))
4447 (synopsis "Single sign-on framework for GNOME")
4448 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4450 "GNOME Online Accounts provides interfaces so that applications and
4451 libraries in GNOME can access the user's online accounts. It has providers for
4452 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4453 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4454 (license license:lgpl2.0+)))
4456 (define-public evolution-data-server
4458 (name "evolution-data-server")
4462 (uri (string-append "mirror://gnome/sources/" name "/"
4463 (version-major+minor version) "/"
4464 name "-" version ".tar.xz"))
4467 "0kygd46s0is6i451bqykagrfx34wjvrgjbjyyszaabnppp1dyn0c"))))
4468 (build-system gnu-build-system)
4470 '(;; XXX: fails with:
4471 ;; /Fixture/Calendar0: cleaning up pid xxxx
4475 (let ((nss (assoc-ref %build-inputs "nss"))
4476 (nspr (assoc-ref %build-inputs "nspr")))
4477 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4478 "--disable-google" ; disable Google Contacts support
4479 "--disable-google-auth" ; disable Google authentication
4480 "--enable-vala-bindings"
4481 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4482 (string-append "--with-nss-includes=" nss "/include/nss")
4483 (string-append "--with-nss-libs=" nss "/lib/nss")))
4485 (modify-phases %standard-phases
4486 (add-before 'check 'pre-check
4488 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4489 (("/bin/rm") (which "rm")))
4492 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4493 ("gobject-introspection" ,gobject-introspection)
4495 ("intltool" ,intltool)
4496 ("pkg-config" ,pkg-config)
4498 ("python" ,python)))
4500 ;; These are all in the Requires field of .pc files.
4502 ("libical" ,libical)
4503 ("libsecret" ,libsecret)
4504 ("libsoup" ,libsoup)
4506 ("sqlite" ,sqlite)))
4510 ("gnome-online-accounts" ,gnome-online-accounts)
4511 ("libgweather" ,libgweather)))
4512 (synopsis "Store address books and calendars")
4513 (home-page "https://wiki.gnome.org/Apps/Evolution")
4515 "This package provides a unified backend for programs that work with
4516 contacts, tasks, and calendar information. It was originally developed for
4517 Evolution (hence the name), but is now used by other packages as well.")
4518 (license license:lgpl2.0)))
4520 (define-public caribou
4526 (uri (string-append "mirror://gnome/sources/" name "/"
4527 (version-major+minor version) "/"
4528 name "-" version ".tar.xz"))
4531 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4532 (build-system glib-or-gtk-build-system)
4535 (modify-phases %standard-phases
4538 (lambda* (#:key outputs #:allow-other-keys)
4539 (let ((out (assoc-ref outputs "out")))
4540 ;; Use absolute shared library path in Caribou-1.0.typelib.
4541 (substitute* "libcaribou/Makefile"
4542 (("--shared-library=libcaribou.so")
4543 (string-append "--shared-library="
4544 out "/lib/libcaribou.so")))
4546 (add-after 'install 'wrap-programs
4547 (lambda* (#:key outputs #:allow-other-keys)
4548 (let* ((out (assoc-ref outputs "out"))
4549 (python-path (getenv "PYTHONPATH"))
4550 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4554 `("PYTHONPATH" ":" prefix (,python-path))
4555 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4556 (list (string-append out "/bin/caribou-preferences")
4557 (string-append out "/libexec/antler-keyboard"))))
4560 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4561 ("gobject-introspection" ,gobject-introspection)
4562 ("intltool" ,intltool)
4563 ("pkg-config" ,pkg-config)
4564 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4566 ("xsltproc" ,libxslt)))
4568 ;; caribou-1.0.pc refers to all these.
4569 `(("libgee" ,libgee)
4570 ("libxklavier" ,libxklavier)
4571 ("libxtst" ,libxtst)
4574 `(("clutter" ,clutter)
4577 ("python-pygobject" ,python2-pygobject)))
4578 (synopsis "Text entry and UI navigation application")
4579 (home-page "https://wiki.gnome.org/Projects/Caribou")
4581 "Caribou is an input assistive technology intended for switch and pointer
4583 (license license:lgpl2.1)))
4585 (define-public network-manager
4587 (name "network-manager")
4591 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4592 (version-major+minor version) "/"
4593 "NetworkManager-" version ".tar.xz"))
4596 "1y96k82rav8if334jl500zc024d210c4pgprh94yqyz3rmanyaxj"))
4599 (use-modules (guix build utils))
4600 (substitute* "configure"
4601 ;; Replace libsystemd-login with libelogind.
4602 (("libsystemd-login") "libelogind"))
4603 (substitute* "src/devices/wwan/nm-modem-manager.c"
4604 (("systemd") "elogind"))
4605 (substitute* "src/nm-session-monitor.c"
4606 (("systemd") "elogind"))
4607 (substitute* "./src/nm-logging.c"
4608 (("systemd") "elogind"))))))
4609 (build-system gnu-build-system)
4611 "doc")) ; 8 MiB of gtk-doc HTML
4614 (let ((out (assoc-ref %outputs "out"))
4615 (doc (assoc-ref %outputs "doc"))
4616 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4618 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4619 "--with-consolekit=no"
4620 "--with-crypto=gnutls"
4621 "--disable-config-plugin-ibft"
4623 "--localstatedir=/var"
4624 (string-append "--with-udev-dir="
4626 (string-append "--with-dbus-sys-dir="
4627 out "/etc/dbus-1/system.d")
4628 (string-append "--with-html-dir="
4629 doc "/share/gtk-doc/html")
4630 (string-append "--with-dhclient=" dhclient)))
4632 (modify-phases %standard-phases
4633 (add-before 'configure 'pre-configure
4635 ;; These tests try to test aspects of network-manager's
4636 ;; functionality within restricted containers, but they don't
4637 ;; cope with being already in the Guix build jail as that jail
4638 ;; lacks some features that they would like to proxy over (like
4640 (substitute* '("Makefile.in")
4641 (("src/platform/tests/test-address-linux") " ")
4642 (("src/platform/tests/test-cleanup-linux") " ")
4643 (("src/platform/tests/test-link-linux") " ")
4644 (("src/platform/tests/test-route-linux") " ")
4645 (("src/devices/tests/test-arping") " ")
4646 (("src/devices/tests/test-lldp") " ")
4647 (("src/tests/test-route-manager-linux") " "))
4649 (add-before 'check 'pre-check
4651 ;; For the missing /etc/machine-id.
4652 (setenv "DBUS_FATAL_WARNINGS" "0")
4656 (zero? (system* "make"
4660 "nmstatedir=/tmp/nm"
4665 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4666 ("gobject-introspection" ,gobject-introspection)
4667 ("docbook-xsl" ,docbook-xsl)
4668 ("intltool" ,intltool)
4669 ("libxslt" ,libxslt)
4670 ("libxml2" ,libxml2)
4671 ("pkg-config" ,pkg-config)
4673 ("python" ,python-wrapper)
4674 ("python-dbus" ,python-dbus)
4675 ("python-pygobject" ,python-pygobject)))
4677 `(("dbus-glib" ,dbus-glib)
4678 ("dnsmasq" ,dnsmasq)
4680 ("iptables" ,iptables)
4681 ("isc-dhcp" ,isc-dhcp)
4682 ("jansson" ,jansson)
4683 ("libgcrypt" ,libgcrypt)
4684 ("libgudev" ,libgudev)
4687 ("libsoup" ,libsoup)
4688 ("modem-manager" ,modem-manager)
4691 ("readline" ,readline)
4692 ("util-linux" ,util-linux)
4693 ("elogind" ,elogind)))
4694 (synopsis "Network connection manager")
4695 (home-page "http://www.gnome.org/projects/NetworkManager/")
4697 "NetworkManager is a system network service that manages your network
4698 devices and connections, attempting to keep active network connectivity when
4699 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4700 devices, and provides VPN integration with a variety of different VPN
4702 (license license:gpl2+)
4703 (properties '((upstream-name . "NetworkManager")))))
4705 (define-public mobile-broadband-provider-info
4707 (name "mobile-broadband-provider-info")
4708 (version "20151214")
4712 "mirror://gnome/sources/"
4713 "mobile-broadband-provider-info/" version "/"
4714 "mobile-broadband-provider-info-" version ".tar.xz"))
4717 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4718 (build-system gnu-build-system)
4720 `(#:tests? #f)) ; No tests
4721 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4722 (synopsis "Database of broadband connection configuration")
4723 (description "Database of broadband connection configuration.")
4724 (license license:public-domain)))
4726 (define-public network-manager-applet
4728 (name "network-manager-applet")
4732 (uri (string-append "mirror://gnome/sources/" name "/"
4733 (version-major+minor version) "/"
4734 name "-" version ".tar.xz"))
4737 "16a43sl9aijmvxbb08hbjqyjnlshj8dckycbgi9nm333fr47n6s3"))))
4738 (build-system glib-or-gtk-build-system)
4739 ;; TODO: WWAN support supposedly requires an update of glibmm which in turn
4740 ;; requires an update of the its dependencies (glib and others).
4741 (arguments '(#:configure-flags '("--disable-migration"
4744 `(("intltool" ,intltool)
4745 ("gobject-introspection" ,gobject-introspection)
4746 ("pkg-config" ,pkg-config)))
4748 ;; libnm-gtk.pc refers to all these.
4749 `(("dbus-glib" ,dbus-glib)
4751 ("network-manager" ,network-manager)))
4753 `(("iso-codes" ,iso-codes)
4754 ("libgudev" ,libgudev)
4755 ("libnotify" ,libnotify)
4756 ("libsecret" ,libsecret)
4757 ("jansson" ,jansson))) ;for team support
4758 (synopsis "Applet for managing network connections")
4759 (home-page "http://www.gnome.org/projects/NetworkManager/")
4761 "This package contains a systray applet for NetworkManager. It displays
4762 the available networks and allows users to easily switch between them.")
4763 (license license:gpl2+)))
4765 (define-public libxml++
4771 (uri (string-append "mirror://gnome/sources/" name "/"
4772 (version-major+minor version) "/"
4773 name "-" version ".tar.xz"))
4776 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
4777 (build-system gnu-build-system)
4778 ;; libxml++-3.0.pc refers to all these.
4780 `(("libxml2" ,libxml2)
4781 ("glibmm" ,glibmm)))
4784 ("pkg-config" ,pkg-config)))
4785 (home-page "http://libxmlplusplus.sourceforge.net/")
4786 (synopsis "C++ wrapper for XML parser library libxml2")
4788 "This package provides a C++ wrapper for the XML parser library
4790 (license license:lgpl2.1+)))
4792 (define-public libxml++-2
4799 (uri (string-append "mirror://gnome/sources/" name "/"
4800 (version-major+minor version) "/"
4801 name "-" version ".tar.xz"))
4804 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4812 (uri (string-append "mirror://gnome/sources/" name "/"
4813 (version-major+minor version) "/"
4814 name "-" version ".tar.xz"))
4817 "17wnsrv91mx14xp96wrc21g2hsjjc38yhbkw55kf7hk3yliychva"))))
4818 (build-system gnu-build-system)
4821 '("--without-plymouth")
4823 (modify-phases %standard-phases
4825 'configure 'pre-configure
4827 ;; We don't have <systemd/sd-daemon.h>.
4828 (substitute* '("common/gdm-log.c"
4829 "daemon/gdm-server.c"
4830 "daemon/gdm-session-worker.c"
4831 "daemon/gdm-session-worker-job.c")
4832 (("#include <systemd/sd-daemon\\.h>") ""))
4833 ;; Use elogind for sd-login.
4834 (substitute* '("common/gdm-common.c"
4835 "daemon/gdm-manager.c"
4836 "libgdm/gdm-user-switching.c")
4837 (("#include <systemd/sd-login\\.h>")
4838 "#include <elogind/sd-login.h>"))
4839 ;; Avoid checking SYSTEMD using pkg-config.
4840 (setenv "SYSTEMD_CFLAGS" " ")
4841 (setenv "SYSTEMD_LIBS" "-lelogind")
4845 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4846 ("gobject-introspection" ,gobject-introspection)
4847 ("intltool" ,intltool)
4848 ("itstool" ,itstool)
4849 ("pkg-config" ,pkg-config)
4850 ("xmllint" ,libxml2)))
4852 `(("accountsservice" ,accountsservice)
4853 ("check" ,check) ; for testing
4854 ("elogind" ,elogind)
4856 ("iso-codes" ,iso-codes)
4857 ("libcanberra" ,libcanberra)
4858 ("linux-pam" ,linux-pam)))
4859 (synopsis "Display manager for GNOME")
4860 (home-page "http://wiki.gnome.org/Projects/GDM/")
4862 "GNOME Display Manager is a system service that is responsible for
4863 providing graphical log-ins and managing local and remote displays.")
4864 (license license:gpl2+)))
4866 (define-public libgtop
4872 (uri (string-append "mirror://gnome/sources/" name "/"
4873 (version-major+minor version) "/"
4874 name "-" version ".tar.xz"))
4877 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4878 (build-system gnu-build-system)
4880 `(("gobject-introspection" ,gobject-introspection)
4881 ("intltool" ,intltool)
4883 ("pkg-config" ,pkg-config)))
4885 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4886 (synopsis "Portable system access library")
4887 (home-page "https://www.gnome.org/")
4889 "LibGTop is a library to get system specific data such as CPU and memory
4890 usage and information about running processes.")
4891 (license license:gpl2+)))
4893 (define-public gnome-bluetooth
4895 (name "gnome-bluetooth")
4899 (uri (string-append "mirror://gnome/sources/" name "/"
4900 (version-major+minor version) "/"
4901 name "-" version ".tar.xz"))
4904 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4905 (build-system glib-or-gtk-build-system)
4907 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4908 ("gobject-introspection" ,gobject-introspection)
4909 ("intltool" ,intltool)
4910 ("pkg-config" ,pkg-config)
4911 ("xmllint" ,libxml2)))
4913 ;; gnome-bluetooth-1.0.pc refers to all these.
4917 `(("libcanberra" ,libcanberra)
4918 ("libnotify" ,libnotify)))
4919 (synopsis "GNOME Bluetooth subsystem")
4920 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4922 "This package contains tools for managing and manipulating Bluetooth
4923 devices using the GNOME desktop.")
4924 (license license:lgpl2.1+)))
4926 (define-public gnome-control-center
4928 (name "gnome-control-center")
4932 (uri (string-append "mirror://gnome/sources/" name "/"
4933 (version-major+minor version) "/"
4934 name "-" version ".tar.xz"))
4937 "06h9937sjfrzjf36pxqybg4wmkc5xdhbxgdkclnkjxiiqidjjsax"))))
4938 (build-system glib-or-gtk-build-system)
4941 (modify-phases %standard-phases
4942 (add-before 'configure 'patch-paths
4943 (lambda* (#:key inputs #:allow-other-keys)
4944 (let ((libc (assoc-ref inputs "libc"))
4945 (tzdata (assoc-ref inputs "tzdata")))
4946 (substitute* "panels/datetime/tz.h"
4947 (("/usr/share/zoneinfo/zone.tab")
4948 (string-append tzdata "/share/zoneinfo/zone.tab")))
4949 (substitute* "panels/datetime/test-endianess.c"
4950 (("/usr/share/locale")
4951 (string-append libc "/share/locale")))
4954 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4955 ("intltool" ,intltool)
4956 ("pkg-config" ,pkg-config)
4957 ("xsltproc" ,libxslt)))
4959 `(("accountsservice" ,accountsservice)
4960 ("clutter-gtk" ,clutter-gtk)
4961 ("colord-gtk" ,colord-gtk)
4964 ("docbook-xsl" ,docbook-xsl)
4965 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4966 ("gnome-bluetooth" ,gnome-bluetooth)
4967 ("gnome-desktop" ,gnome-desktop)
4968 ("gnome-online-accounts" ,gnome-online-accounts)
4969 ("gnome-settings-daemon" ,gnome-settings-daemon)
4972 ("libcanberra" ,libcanberra)
4973 ("libgudev" ,libgudev)
4974 ("libgtop" ,libgtop)
4975 ("libpwquality" ,libpwquality)
4976 ("libsoup" ,libsoup)
4977 ("libxml2" ,libxml2)
4978 ("libwacom" ,libwacom)
4980 ("mit-krb5" ,mit-krb5)
4981 ("modem-manager" ,modem-manager)
4982 ("network-manager-applet" ,network-manager-applet)
4984 ("pulseaudio" ,pulseaudio)
4985 ("smbclient" ,samba)
4987 ("upower" ,upower)))
4988 (synopsis "Utilities to configure the GNOME desktop")
4989 (home-page "https://www.gnome.org/")
4991 "This package contains configuration applets for the GNOME desktop,
4992 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4993 properties, sound setup, desktop theme and background, user interface
4994 properties, screen resolution, and other GNOME parameters.")
4995 (license license:gpl2+)))
4997 (define-public gnome-shell
4999 (name "gnome-shell")
5003 (uri (string-append "mirror://gnome/sources/" name "/"
5004 (version-major+minor version) "/"
5005 name "-" version ".tar.xz"))
5006 (patches (search-patches "gnome-shell-CVE-2017-8288.patch"))
5009 "16smvjfrpyfphv479hjky5261hgl4kli4q86bcb2b8xdcav4w3yq"))))
5010 (build-system glib-or-gtk-build-system)
5013 (modify-phases %standard-phases
5015 (lambda* (#:key outputs #:allow-other-keys)
5016 (let* ((out (assoc-ref outputs "out"))
5017 (keysdir (string-append
5018 out "/share/gnome-control-center/keybindings")))
5019 (zero? (system* "make"
5020 (string-append "keysdir=" keysdir)
5023 'install 'wrap-programs
5024 (lambda* (#:key outputs #:allow-other-keys)
5025 (let ((out (assoc-ref outputs "out"))
5026 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5027 (python-path (getenv "PYTHONPATH")))
5028 (wrap-program (string-append out "/bin/gnome-shell")
5029 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5032 (wrap-program (string-append out "/bin/" prog)
5033 `("PYTHONPATH" ":" prefix (,python-path))
5034 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5035 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5038 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5039 ("gobject-introspection" ,gobject-introspection)
5040 ("intltool" ,intltool)
5041 ("pkg-config" ,pkg-config)
5043 ("xsltproc" ,libxslt)))
5045 `(("accountsservice" ,accountsservice)
5046 ("caribou" ,caribou)
5047 ("docbook-xsl" ,docbook-xsl)
5048 ("evolution-data-server" ,evolution-data-server)
5052 ("gnome-bluetooth" ,gnome-bluetooth)
5053 ("gnome-control-center" ,gnome-control-center)
5054 ("gnome-desktop" ,gnome-desktop)
5055 ("gnome-settings-daemon" ,gnome-settings-daemon)
5056 ("gst-plugins-base" ,gst-plugins-base)
5058 ("libcanberra" ,libcanberra)
5059 ("libcroco" ,libcroco)
5060 ("libgweather" ,libgweather)
5061 ("libsoup" ,libsoup)
5062 ("mesa-headers" ,mesa-headers)
5064 ("network-manager-applet" ,network-manager-applet)
5066 ("pulseaudio" ,pulseaudio)
5067 ("python-pygobject" ,python-pygobject)
5068 ("startup-notification" ,startup-notification)
5069 ("telepathy-logger" ,telepathy-logger)
5071 ;; XXX: required by libgjs.la.
5072 ("readline" ,readline)))
5073 (synopsis "Desktop shell for GNOME")
5074 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5076 "GNOME Shell provides core user interface functions for the GNOME desktop,
5077 like switching to windows and launching applications.")
5078 (license license:gpl2+)))
5080 (define-public gtk-vnc
5087 (uri (string-append "mirror://gnome/sources/" name "/"
5088 (version-major+minor version) "/"
5089 name "-" version ".tar.xz"))
5092 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5093 (build-system gnu-build-system)
5095 '(#:configure-flags '("--with-gtk=3.0")))
5097 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5099 `(("cyrus-sasl" ,cyrus-sasl)
5101 ("libgcrypt" ,libgcrypt)
5102 ("pulseaudio" ,pulseaudio)))
5104 `(("glib:bin" ,glib "bin")
5105 ("gobject-introspection" ,gobject-introspection)
5106 ("intltool" ,intltool)
5107 ("pkg-config" ,pkg-config)
5109 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5110 (synopsis "VNC viewer widget for GTK+")
5112 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5113 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5114 GTK-VNC implements client side RFB protocol and authentication extensions such
5115 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5116 (license license:lgpl2.1+)))
5118 (define-public gnome-autoar
5120 (name "gnome-autoar")
5124 (uri (string-append "mirror://gnome/sources/" name "/"
5125 (version-major+minor version) "/"
5126 name "-" version ".tar.xz"))
5129 "1jcs6jgysg9n3zi3d1l4iqddzmczfdcvz7vkxn607p32nl8bhp7n"))))
5130 (build-system glib-or-gtk-build-system)
5132 `(("gnome-common" ,gnome-common)
5133 ("gobject-introspection" ,gobject-introspection)
5134 ("pkg-config" ,pkg-config)))
5136 `(("libarchive" ,libarchive))) ; XXX document why
5139 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5140 (synopsis "Archives integration support for GNOME")
5141 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5143 "GNOME Autoar is a library which makes creating and extracting archives
5144 easy, safe, and automatic.")
5145 (license license:lgpl2.1+)))
5147 (define-public tracker
5153 (uri (string-append "mirror://gnome/sources/" name "/"
5154 (version-major+minor version) "/"
5155 name "-" version ".tar.xz"))
5158 "03ch3ndmxghfr9wnw9hfmpkjfa7k5v5cwwf3y1ja6ihk3c5avgbb"))))
5159 (build-system glib-or-gtk-build-system)
5161 `(("gnome-common" ,gnome-common)
5162 ("gobject-introspection" ,gobject-introspection)
5163 ("intltool" ,intltool)
5164 ("pkg-config" ,pkg-config)
5169 ("gstreamer" ,gstreamer)
5170 ("gst-plugins-base" ,gst-plugins-base)
5172 ("nettle" ,nettle) ; XXX why is this needed?
5173 ("poppler" ,poppler)
5175 ("libexif" ,libexif)
5177 ("libtiff" ,libtiff)
5178 ("libvorbis" ,libvorbis)
5180 ("totem-pl-parser" ,totem-pl-parser)
5183 ("libxml2" ,libxml2)
5186 ("libunistring" ,libunistring)
5188 ("openjpeg" ,openjpeg-1)
5189 ("libosinfo" ,libosinfo)
5191 ("libseccomp" ,libseccomp)
5192 ("libuuid" ,util-linux)))
5193 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5194 (synopsis "Metadata database, indexer and search tool")
5195 (home-page "https://wiki.gnome.org/Projects/Tracker")
5197 "Tracker is an advanced framework for first class objects with associated
5198 metadata and tags. It provides a one stop solution for all metadata, tags,
5199 shared object databases, search tools and indexing.")
5200 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5201 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5202 (license (list license:gpl2+
5204 license:lgpl2.0+))))
5206 (define-public nautilus
5212 (uri (string-append "mirror://gnome/sources/" name "/"
5213 (version-major+minor version) "/"
5214 name "-" version ".tar.xz"))
5217 "1cv5xsah04svxx0b6di7iah9gcwk6na2c6lp442pal9v2ybrw76f"))))
5218 (build-system glib-or-gtk-build-system)
5221 '("--disable-selinux") ; XXX: not packaged
5222 ;; XXX: FAIL: check-nautilus
5223 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5226 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5227 ("gobject-introspection" ,gobject-introspection)
5228 ("intltool" ,intltool)
5229 ("pkg-config" ,pkg-config)))
5234 ("gnome-desktop" ,gnome-desktop)
5235 ("gnome-autoar" ,gnome-autoar)
5236 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5237 ("tracker" ,tracker)
5238 ;; XXX: gtk+ is required by libnautilus-extension.pc
5240 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5242 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5244 ("libexif" ,libexif)
5245 ("libxml2" ,libxml2)))
5246 (synopsis "File manager for GNOME")
5247 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5249 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5250 design and behaviour, giving the user a simple way to navigate and manage its
5252 (license license:gpl2+)))
5254 (define-public baobab
5261 "mirror://gnome/sources/" name "/"
5262 (version-major+minor version) "/"
5263 name "-" version ".tar.xz"))
5266 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
5267 (build-system glib-or-gtk-build-system)
5269 `(("intltool" ,intltool)
5270 ("pkg-config" ,pkg-config)
5271 ("itstool" ,itstool)
5272 ("xmllint" ,libxml2)
5273 ("glib" ,glib "bin")
5277 (synopsis "Disk usage analyzer for GNOME")
5279 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5280 usage in the GNOME desktop environment. It can easily scan device volumes or
5281 a specific user-requested directory branch (local or remote). Once the scan
5282 is complete it provides a graphical representation of each selected folder.")
5283 (home-page "https://wiki.gnome.org/Apps/Baobab")
5284 (license license:gpl2+)))
5286 (define-public gnome-backgrounds
5288 (name "gnome-backgrounds")
5293 (uri (string-append "mirror://gnome/sources/" name "/"
5294 (version-major+minor version) "/"
5295 name "-" version ".tar.xz"))
5298 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
5299 (build-system glib-or-gtk-build-system)
5301 `(("intltool" ,intltool)))
5302 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5303 (synopsis "Background images for the GNOME desktop")
5305 "GNOME backgrounds package contains a collection of graphics files which
5306 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5307 the package creates the proper framework and directory structure so that you
5308 can add your own files to the collection.")
5309 (license (list license:gpl2+
5312 license:cc-by-sa3.0))))
5314 (define-public gnome-screenshot
5316 (name "gnome-screenshot")
5321 (uri (string-append "mirror://gnome/sources/" name "/"
5322 (version-major+minor version) "/"
5323 name "-" version ".tar.xz"))
5326 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5327 (build-system glib-or-gtk-build-system)
5329 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5330 ("intltool" ,intltool)
5331 ("pkg-config" ,pkg-config)))
5334 ("libcanberra" ,libcanberra)
5336 ("libxext" ,libxext)))
5337 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5338 (synopsis "Take pictures of your screen")
5340 "GNOME Screenshot is a utility used for taking screenshots of the entire
5341 screen, a window or a user defined area of the screen, with optional
5342 beautifying border effects.")
5343 (license license:gpl2+)))
5345 (define-public dconf-editor
5347 (name "dconf-editor")
5352 (uri (string-append "mirror://gnome/sources/" name "/"
5353 (version-major+minor version) "/"
5354 name "-" version ".tar.xz"))
5357 "09n1ljryjgkmxwly542zb2dh9j7h76chc0br2bbhrhkwvjjmc3ha"))))
5358 (build-system glib-or-gtk-build-system)
5361 (modify-phases %standard-phases
5362 (add-before 'install 'skip-gtk-update-icon-cache
5364 ;; Don't create 'icon-theme.cache'.
5365 (substitute* "editor/Makefile"
5366 (("gtk-update-icon-cache") "true"))
5369 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5370 ("intltool" ,intltool)
5371 ("pkg-config" ,pkg-config)))
5375 ("libxml2" ,libxml2)))
5376 (home-page "https://git.gnome.org/browse/dconf-editor")
5377 (synopsis "Graphical editor for GNOME's dconf configuration system")
5379 "Dconf-editor is a graphical tool for browsing and editing the dconf
5380 configuration system for GNOME. It allows users to configure desktop
5381 software that do not provide their own configuration interface.")
5382 (license license:lgpl2.1+)))
5384 (define-public gnome
5387 (version (package-version gnome-shell))
5389 (build-system trivial-build-system)
5390 (arguments '(#:builder (mkdir %output)))
5392 ;; TODO: Add more packages according to:
5393 ;; <https://packages.debian.org/jessie/gnome-core>.
5394 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5396 ("font-cantarell" ,font-cantarell)
5397 ("at-spi2-core" ,at-spi2-core)
5400 ("desktop-file-utils" ,desktop-file-utils)
5402 ("epiphany" ,epiphany)
5404 ("file-roller" ,file-roller)
5406 ("glib-networking" ,glib-networking)
5407 ("gnome-backgrounds" ,gnome-backgrounds)
5408 ("gnome-control-center" ,gnome-control-center)
5409 ("gnome-keyring" ,gnome-keyring)
5410 ("gnome-session" ,gnome-session)
5411 ("gnome-settings-daemon" ,gnome-settings-daemon)
5412 ("gnome-shell" ,gnome-shell)
5413 ("gnome-terminal" ,gnome-terminal)
5414 ("gnome-themes-standard" ,gnome-themes-standard)
5416 ("hicolor-icon-theme" ,hicolor-icon-theme)
5417 ("nautilus" ,nautilus)
5418 ("pinentry-gnome3" ,pinentry-gnome3)
5419 ("pulseaudio" ,pulseaudio)
5420 ("shared-mime-info" ,shared-mime-info)
5423 ("zenity" ,zenity)))
5424 (synopsis "The GNU desktop environment")
5425 (home-page "https://www.gnome.org/")
5427 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5428 applications for browsing the web, editing text and images, creating
5429 documents and diagrams, playing media, scanning, and much more.")
5430 (license license:gpl2+)))
5432 (define-public byzanz
5433 ;; The last stable release of Byzanz was in 2011, but there have been many
5434 ;; useful commits made to the Byzanz repository since then that it would be
5435 ;; silly to use such an old release.
5436 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5439 (version (string-append "0.2-1." (string-take commit 7)))
5443 (url "git://git.gnome.org/byzanz")
5447 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5448 (build-system glib-or-gtk-build-system)
5451 (modify-phases %standard-phases
5452 (add-after 'unpack 'bootstrap
5454 ;; The build system cleverly detects that we're not building from
5455 ;; a release tarball and turns on -Werror for GCC.
5456 ;; Unsurprisingly, there is a warning during compilation that
5457 ;; causes the build to fail unnecessarily, so we remove the flag.
5458 (substitute* '("configure.ac")
5460 ;; The autogen.sh script in gnome-common will run ./configure
5461 ;; by default, which is problematic because source shebangs
5462 ;; have not yet been patched.
5463 (setenv "NOCONFIGURE" "t")
5464 (zero? (system* "sh" "autogen.sh")))))))
5466 `(("autoconf" ,autoconf)
5467 ("automake" ,automake)
5468 ("gnome-common" ,gnome-common)
5469 ("intltool" ,intltool)
5470 ("libtool" ,libtool)
5471 ("pkg-config" ,pkg-config)
5475 ("gstreamer" ,gstreamer)
5476 ("gst-plugins-base" ,gst-plugins-base)
5478 (synopsis "Desktop recording program")
5479 (description "Byzanz is a simple desktop recording program with a
5480 command-line interface. It can record part or all of an X display for a
5481 specified duration and save it as a GIF encoded animated image file.")
5482 (home-page "https://git.gnome.org/browse/byzanz")
5483 (license license:gpl2+))))
5485 (define-public libzapojit
5491 (uri (string-append "mirror://gnome/sources/" name "/"
5492 (version-major+minor version) "/"
5493 name "-" version ".tar.xz"))
5496 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5497 (build-system gnu-build-system)
5499 `(("gobject-introspection" ,gobject-introspection)
5500 ("intltool" ,intltool)
5501 ("pkg-config" ,pkg-config)))
5503 `(("gnome-online-accounts" ,gnome-online-accounts)
5504 ("json-glib" ,json-glib)
5506 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5507 (synopsis "Library for accessing SkyDrive and Hotmail")
5509 "Libzapojit is a GLib-based library for accessing online service APIs of
5510 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5511 (license license:lgpl2.1+)))
5513 (define-public gnome-calendar
5515 (name "gnome-calendar")
5519 (uri (string-append "mirror://gnome/sources/" name "/"
5520 (version-major+minor version) "/"
5521 name "-" version ".tar.xz"))
5524 "03wivk7hbyqrqcrd7jg0m2xj6q13248la2184qkf7zncnj72g5ih"))))
5525 (build-system glib-or-gtk-build-system)
5527 `(("intltool" ,intltool)
5528 ("pkg-config" ,pkg-config)))
5531 ("desktop-file-utils" ,desktop-file-utils)
5532 ("evolution-data-server" ,evolution-data-server)
5533 ("gnome-online-accounts" ,gnome-online-accounts)
5534 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
5535 (home-page "https://wiki.gnome.org/Apps/Calendar")
5536 (synopsis "GNOME's calendar application")
5538 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5539 desktop. It supports multiple calendars, monthly view and yearly view.")
5540 (license license:gpl3+)))
5542 (define-public gnome-dictionary
5544 (name "gnome-dictionary")
5548 (uri (string-append "mirror://gnome/sources/" name "/"
5549 (version-major+minor version) "/"
5550 name "-" version ".tar.xz"))
5553 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5554 (build-system glib-or-gtk-build-system)
5556 `(("glib:bin" ,glib "bin")
5557 ("gobject-introspection" ,gobject-introspection)
5558 ("intltool" ,intltool)
5559 ("itstool" ,itstool)
5560 ("pkg-config" ,pkg-config)
5561 ("xmllint" ,libxml2)))
5563 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5565 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5566 (synopsis "Look up words in dictionary sources")
5568 "GNOME Dictionary can look for the definition or translation of a word in
5569 existing databases over the internet.")
5570 (license license:gpl3+)))
5572 (define-public gnome-tweak-tool
5574 (name "gnome-tweak-tool")
5578 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5579 (version-major+minor version) "/"
5580 "gnome-tweak-tool-" version ".tar.xz"))
5582 (search-patch "gnome-tweak-tool-search-paths.patch")))
5585 "1frs16p2284mdw65g1ldmf9cz5sn3rg16wz58gjrw5pn2cgf2six"))))
5586 (build-system glib-or-gtk-build-system)
5588 `(#:configure-flags '("--localstatedir=/tmp"
5589 "--sysconfdir=/tmp")
5590 #:imported-modules ((guix build python-build-system)
5591 ,@%glib-or-gtk-build-system-modules)
5592 #:phases (modify-phases %standard-phases
5593 (add-after 'install 'wrap-program
5594 (lambda* (#:key outputs #:allow-other-keys)
5595 (let ((out (assoc-ref outputs "out"))
5596 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5597 (wrap-program (string-append out "/bin/gnome-tweak-tool")
5598 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5600 (add-after 'install 'wrap
5601 (@@ (guix build python-build-system) wrap)))))
5603 `(("intltool" ,intltool)
5604 ("pkg-config" ,pkg-config)))
5606 `(("python" ,python-2)
5607 ("python2-pygobject" ,python2-pygobject)
5608 ("gnome-desktop" ,gnome-desktop)
5609 ("libsoup" ,libsoup)
5610 ("libnotify" ,libnotify)
5611 ("gobject-introspection" ,gobject-introspection)
5612 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5614 (synopsis "Customize advanced GNOME 3 options")
5615 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5617 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5618 GNOME 3. This includes things like the fonts used in user interface elements,
5619 alternative user interface themes, changes in window management behavior,
5620 GNOME Shell appearance and extension, etc.")
5621 (license license:gpl3+)))
5623 (define-public gnome-shell-extensions
5625 (name "gnome-shell-extensions")
5629 (uri (string-append "mirror://gnome/sources/" name "/"
5630 (version-major+minor version) "/"
5631 name "-" version ".tar.xz"))
5634 "11wa4f9arr89a4y8nsvla5j58dzwlawjb2q1lz0jn5i9kv324z6z"))))
5635 (build-system gnu-build-system)
5637 '(#:configure-flags '("--enable-extensions=all")))
5639 `(("intltool" ,intltool)
5640 ("pkg-config" ,pkg-config)))
5643 ("glib" ,glib "bin")))
5644 (synopsis "Extensions for GNOME Shell")
5645 (description "GNOME Shell extensions modify and extend GNOME Shell
5646 functionality and behavior.")
5647 (home-page "https://extensions.gnome.org/")
5648 (license license:gpl3+)))
5650 (define-public arc-theme
5653 (version "20170302")
5656 (uri (string-append "https://github.com/horst3180/arc-theme"
5657 "/archive/" version ".tar.gz"))
5658 (file-name (string-append name "-" version ".tar.gz"))
5661 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
5662 (build-system gnu-build-system)
5665 (modify-phases %standard-phases
5666 (add-after 'unpack 'bootstrap
5668 (zero? (system* "autoreconf" "-vif")))))))
5670 `(("autoconf" ,autoconf)
5671 ("automake" ,automake)
5672 ("pkg-config" ,pkg-config)))
5675 (synopsis "A flat GTK+ theme with transparent elements")
5676 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5677 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5678 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5679 (home-page "https://github.com/horst3180/arc-theme")
5680 ;; No "or later" language found.
5681 (license license:gpl3)))
5683 (define-public moka-icon-theme
5685 (name "moka-icon-theme")
5689 (uri (string-append "https://github.com/moka-project"
5690 "/moka-icon-theme/archive/v"
5692 (file-name (string-append name "-" version ".tar.gz"))
5695 "062rab0ggmgb3y0d6b3k5d47wsadi28cdnyyr2vqbjhza01dglci"))))
5696 (build-system gnu-build-system)
5699 (modify-phases %standard-phases
5700 (add-after 'unpack 'patch-makefile.am
5702 (substitute* '("Makefile.am")
5703 (("\\$\\(DESTDIR\\)/usr/share")
5706 (add-after 'patch-makefile.am 'bootstrap
5708 (zero? (system* "autoreconf" "-vif")))))))
5710 `(("autoconf" ,autoconf)
5711 ("automake" ,automake)))
5712 (synopsis "Moka icon theme")
5713 (description "Moka is a stylized desktop icon set, designed to be clear,
5714 simple and consistent.")
5715 (home-page "http://snwh.org/moka")
5716 (license license:gpl3+)))
5718 (define-public arc-icon-theme
5720 (name "arc-icon-theme")
5721 (version "20161122")
5724 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5725 "/archive/" version ".tar.gz"))
5726 (file-name (string-append name "-" version ".tar.gz"))
5729 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
5730 (build-system gnu-build-system)
5733 (modify-phases %standard-phases
5734 (add-after 'unpack 'bootstrap
5736 (zero? (system* "autoreconf" "-vif")))))))
5738 `(("autoconf" ,autoconf)
5739 ("automake" ,automake)))
5740 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5742 `(("moka-icon-theme" ,moka-icon-theme)))
5743 (synopsis "Arc icon theme")
5744 (description "The Arc icon theme provides a set of icons matching the
5745 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5746 the Moka icon theme.")
5747 (home-page "https://github.com/horst3180/arc-icon-theme")
5748 (license license:gpl3+)))
5750 (define-public folks
5757 "mirror://gnome/sources/" name "/"
5758 (version-major+minor version) "/"
5759 name "-" version ".tar.xz"))
5762 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5763 (build-system glib-or-gtk-build-system)
5766 ("dbus-glib" ,dbus-glib)
5767 ("evolution-data-server" ,evolution-data-server)
5770 ("telepathy-glib" ,telepathy-glib)))
5772 `(("gobject-introspection" ,gobject-introspection)
5773 ("intltool" ,intltool)
5774 ("pkg-config" ,pkg-config)
5776 (synopsis "Library to aggregate data about people")
5777 (description "Libfolks is a library that aggregates information about people
5778 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5779 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5780 etc.) to create metacontacts. It's written in Vala, which generates C code when
5782 (home-page "https://wiki.gnome.org/Projects/Folks")
5783 (license license:lgpl2.1+)))
5785 (define-public gfbgraph
5792 "mirror://gnome/sources/" name "/"
5793 (version-major+minor version) "/"
5794 name "-" version ".tar.xz"))
5797 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5798 (build-system glib-or-gtk-build-system)
5800 `(#:tests? #f ; Tests appear to require the network.
5801 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5802 #:configure-flags '("--disable-gtk-doc"
5804 "--enable-introspection")))
5806 `(("pkg-config" ,pkg-config)
5807 ("gobject-introspection" ,gobject-introspection)))
5809 `(("json-glib" ,json-glib)
5810 ("gnome-online-accounts" ,gnome-online-accounts)
5812 (synopsis "GLib/GObject wrapper for the Facebook API")
5813 (description "This library allows you to use the Facebook API from
5814 GLib/GObject code.")
5815 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5816 (license license:lgpl2.1+)))
5818 (define-public libgnomekbd
5820 (name "libgnomekbd")
5824 (uri (string-append "mirror://gnome/sources/" name "/"
5825 (version-major+minor version) "/"
5826 name "-" version ".tar.xz"))
5829 "1pvpbljvxc0riamraiflnm05dpb6i4vlmqqgdh74xggbpzd302rl"))))
5830 (build-system gnu-build-system)
5832 `(("pkg-config" ,pkg-config)
5833 ("glib" ,glib "bin")
5834 ("intltool" ,intltool)))
5836 ;; Referred to in .h files and .pc.
5839 ("libxklavier" ,libxklavier)))
5840 (home-page "https://www.gnome.org")
5841 (synopsis "GNOME keyboard configuration library")
5843 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5844 environment, which can notably display keyboard layouts.")
5845 (license license:lgpl2.0+)))
5847 ;;; This package is no longer maintained:
5848 ;;; https://wiki.gnome.org/Attic/LibUnique
5849 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5850 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5851 (define-public libunique
5857 (uri (string-append "mirror://gnome/sources/" name "/"
5858 (version-major+minor version) "/"
5859 name "-" version ".tar.xz"))
5862 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5863 (build-system glib-or-gtk-build-system)
5865 `(#:configure-flags '("--disable-static"
5866 "--disable-dbus" ; use gdbus
5867 "--enable-introspection")))
5869 `(("pkg-config" ,pkg-config)
5870 ("gobject-introspection" ,gobject-introspection)
5871 ("glib:bin" ,glib "bin")
5872 ("gtk-doc" ,gtk-doc)))
5874 ;; Referred to in .h files and .pc.
5876 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5877 (synopsis "Library for writing single instance applications")
5879 "Libunique is a library for writing single instance applications. If you
5880 launch a single instance application twice, the second instance will either just
5881 quit or will send a message to the running instance. Libunique makes it easy to
5882 write this kind of application, by providing a base class, taking care of all
5883 the IPC machinery needed to send messages to a running instance, and also
5884 handling the startup notification side.")
5885 (license license:lgpl2.1+)))
5887 (define-public gnome-calculator
5889 (name "gnome-calculator")
5894 (uri (string-append "mirror://gnome/sources/" name "/"
5895 (version-major+minor version) "/"
5896 name "-" version ".tar.xz"))
5899 "03il7xl4yr6xbzj6x1lbl16yzlb166c9h9wny1w7mj9dccnz99wr"))))
5900 (build-system glib-or-gtk-build-system)
5902 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5903 ("intltool" ,intltool)
5904 ("itstool" ,itstool)
5905 ("pkg-config" ,pkg-config)))
5907 `(("gtksourceview" ,gtksourceview)
5908 ("libsoup" ,libsoup)
5910 (home-page "https://wiki.gnome.org/Apps/Calculator")
5911 (synopsis "Desktop calculator")
5913 "Calculator is an application that solves mathematical equations and
5914 is suitable as a default application in a Desktop environment.")
5915 (license license:gpl3)))
5924 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5925 name "-" version ".tar.bz2"))
5928 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5929 (build-system gnu-build-system)
5931 `(("intltool" ,intltool)
5932 ("pkg-config" ,pkg-config)))
5935 ("gtksourceview" ,gtksourceview)
5937 (home-page "https://wiki.gnome.org/Apps/Xpad")
5938 (synopsis "Virtual sticky note")
5940 "Xpad is a sticky note that strives to be simple, fault tolerant,
5941 and customizable. Xpad consists of independent pad windows, each is
5942 basically a text box in which notes can be written.")
5943 (license license:gpl3+)))
5945 (define-public gucharmap
5952 (uri (string-append "mirror://gnome/sources/" name "/"
5953 (version-major+minor version) "/"
5954 name "-" version ".tar.xz"))
5957 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
5958 (build-system gnu-build-system)
5960 `(("desktop-file-utils" ,desktop-file-utils)
5961 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
5962 ("gobject-introspection" ,gobject-introspection)
5963 ("intltool" ,intltool)
5964 ("itstool" ,itstool)
5965 ("pkg-config" ,pkg-config)))
5968 ("xmllint" ,libxml2)))
5969 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
5970 (synopsis "Unicode character picker and font browser")
5972 "This program allows you to browse through all the available Unicode
5973 characters and categories for the installed fonts, and to examine their
5974 detailed properties. It is an easy way to find the character you might
5975 only know by its Unicode name or code point.")
5976 (license license:gpl3+)))
5978 (define-public bluefish
5985 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
5986 name "-" version ".tar.gz"))
5989 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
5990 (build-system gnu-build-system)
5992 `(("desktop-file-utils" ,desktop-file-utils)
5993 ("intltool" ,intltool)
5994 ("pkg-config" ,pkg-config)))
5996 `(("enchant" ,enchant)
5998 ("python" ,python-2)
5999 ("xmllint" ,libxml2)
6000 ("gucharmap" ,gucharmap)))
6001 (home-page "http://bluefish.openoffice.nl")
6002 (synopsis "Web development studio")
6004 "Bluefish is an editor targeted towards programmers and web developers,
6005 with many options to write web sites, scripts and other code.
6006 Bluefish supports many programming and markup languages.")
6007 (license license:gpl3+)))
6009 (define-public gnome-system-monitor
6011 (name "gnome-system-monitor")
6016 (uri (string-append "mirror://gnome/sources/" name "/"
6017 (version-major+minor version) "/"
6018 name "-" version ".tar.xz"))
6021 "10n9bl2q9xxnd6mfi4scfw5x0xyyzvnblz26q9gl8vks2nbv19b8"))))
6022 (build-system glib-or-gtk-build-system)
6024 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6025 ("intltool" ,intltool)
6026 ("itstool" ,itstool)
6027 ("libgtop" ,libgtop)
6028 ("pkg-config" ,pkg-config)))
6030 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6033 ("librsvg" ,librsvg)
6034 ("libxml2" ,libxml2)))
6035 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6036 (synopsis "Process viewer and system resource monitor for GNOME")
6038 "GNOME System Monitor is a GNOME process viewer and system monitor with
6039 an attractive, easy-to-use interface. It has features, such as a tree view
6040 for process dependencies, icons for processes, the ability to hide processes,
6041 graphical time histories of CPU/memory/swap usage and the ability to
6042 kill/reinice processes.")
6043 (license license:gpl2+)))
6045 (define-public python-pyatspi
6047 (name "python-pyatspi")
6052 "mirror://gnome/sources/pyatspi/"
6053 (version-major+minor version)
6054 "/pyatspi-" version ".tar.xz"))
6057 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6058 (build-system gnu-build-system)
6060 `(("pkg-config" ,pkg-config)))
6062 `(("python" ,python)
6063 ("python-pygobject" ,python-pygobject)))
6064 (synopsis "Python client bindings for D-Bus AT-SPI")
6065 (home-page "https://wiki.linuxfoundation.org/accessibility\
6066 /atk/at-spi/at-spi_on_d-bus")
6068 "This package includes a python client library for the AT-SPI D-Bus
6069 accessibility infrastructure.")
6070 (license license:lgpl2.0)
6071 (properties '((upstream-name . "pyatspi")))))
6080 "mirror://gnome/sources/" name "/"
6081 (version-major+minor version) "/"
6082 name "-" version ".tar.xz"))
6085 "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
6086 (build-system glib-or-gtk-build-system)
6089 (modify-phases %standard-phases
6090 (add-before 'configure 'qualify-xkbcomp
6091 (lambda* (#:key inputs #:allow-other-keys)
6092 (let ((xkbcomp (string-append
6093 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6094 (substitute* "src/orca/orca.py"
6095 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6097 (add-after 'install 'wrap-orca
6098 (lambda* (#:key outputs #:allow-other-keys)
6099 (let* ((out (assoc-ref outputs "out"))
6100 (prog (string-append out "/bin/orca")))
6102 `("GI_TYPELIB_PATH" ":" prefix
6103 (,(getenv "GI_TYPELIB_PATH")))
6104 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6105 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6106 `("PYTHONPATH" ":" prefix
6107 (,(getenv "PYTHONPATH")))))
6110 `(("intltool" ,intltool)
6111 ("itstool" ,itstool)
6112 ("pkg-config" ,pkg-config)
6113 ("xmllint" ,libxml2)))
6115 `(("at-spi2-atk" ,at-spi2-atk)
6116 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6117 ("gstreamer" ,gstreamer)
6118 ("gst-plugins-base" ,gst-plugins-base)
6119 ("gst-plugins-good" ,gst-plugins-good)
6122 ("python-pygobject" ,python-pygobject)
6123 ("python-pyatspi" ,python-pyatspi)
6124 ("python-speechd" ,speech-dispatcher)
6125 ("xkbcomp" ,xkbcomp)))
6127 "Screen reader for individuals who are blind or visually impaired")
6128 (home-page "https://wiki.gnome.org/Projects/Orca")
6130 "Orca is a screen reader that provides access to the graphical desktop
6131 via speech and refreshable braille. Orca works with applications and toolkits
6132 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6133 (license license:lgpl2.1+)))