1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 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 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016 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 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 Tobias Geerinckx-Rice <me@tobias.gr>
26 ;;; This file is part of GNU Guix.
28 ;;; GNU Guix is free software; you can redistribute it and/or modify it
29 ;;; under the terms of the GNU General Public License as published by
30 ;;; the Free Software Foundation; either version 3 of the License, or (at
31 ;;; your option) any later version.
33 ;;; GNU Guix is distributed in the hope that it will be useful, but
34 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
35 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 ;;; GNU General Public License for more details.
38 ;;; You should have received a copy of the GNU General Public License
39 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
41 (define-module (gnu packages gnome)
42 #:use-module ((guix licenses) #:prefix license:)
43 #:use-module (guix packages)
44 #:use-module (guix download)
45 #:use-module (guix git-download)
46 #:use-module (guix utils)
47 #:use-module (guix build-system gnu)
48 #:use-module (guix build-system glib-or-gtk)
49 #:use-module (guix build-system trivial)
50 #:use-module (gnu packages)
51 #:use-module (gnu packages admin)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages avahi)
54 #:use-module (gnu packages base)
55 #:use-module (gnu packages bison)
56 #:use-module (gnu packages calendar)
57 #:use-module (gnu packages check)
58 #:use-module (gnu packages cups)
59 #:use-module (gnu packages curl)
60 #:use-module (gnu packages cyrus-sasl)
61 #:use-module (gnu packages databases)
62 #:use-module (gnu packages djvu)
63 #:use-module (gnu packages dns)
64 #:use-module (gnu packages flex)
65 #:use-module (gnu packages docbook)
66 #:use-module (gnu packages enchant)
67 #:use-module (gnu packages fontutils)
68 #:use-module (gnu packages game-development)
69 #:use-module (gnu packages gettext)
70 #:use-module (gnu packages glib)
71 #:use-module (gnu packages gnupg)
72 #:use-module (gnu packages gnuzilla)
73 #:use-module (gnu packages gstreamer)
74 #:use-module (gnu packages gtk)
75 #:use-module (gnu packages gperf)
76 #:use-module (gnu packages guile)
77 #:use-module (gnu packages openldap)
78 #:use-module (gnu packages pdf)
79 #:use-module (gnu packages polkit)
80 #:use-module (gnu packages popt)
81 #:use-module (gnu packages ghostscript)
82 #:use-module (gnu packages ibus)
83 #:use-module (gnu packages iso-codes)
84 #:use-module (gnu packages libcanberra)
85 #:use-module (gnu packages linux)
86 #:use-module (gnu packages libusb)
87 #:use-module (gnu packages lirc)
88 #:use-module (gnu packages lua)
89 #:use-module (gnu packages image)
90 #:use-module (gnu packages networking)
91 #:use-module (gnu packages password-utils)
92 #:use-module (gnu packages perl)
93 #:use-module (gnu packages photo)
94 #:use-module (gnu packages pkg-config)
95 #:use-module (gnu packages pulseaudio)
96 #:use-module (gnu packages python)
97 #:use-module (gnu packages scanner)
98 #:use-module (gnu packages ssh)
99 #:use-module (gnu packages xml)
100 #:use-module (gnu packages gl)
101 #:use-module (gnu packages compression)
102 #:use-module (gnu packages tex)
103 #:use-module (gnu packages tls)
104 #:use-module (gnu packages web)
105 #:use-module (gnu packages webkit)
106 #:use-module (gnu packages xorg)
107 #:use-module (gnu packages xdisorg)
108 #:use-module (gnu packages freedesktop)
109 #:use-module (gnu packages mail)
110 #:use-module (gnu packages mit-krb5)
111 #:use-module (gnu packages multiprecision)
112 #:use-module (gnu packages backup)
113 #:use-module (gnu packages nettle)
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages video)
116 #:use-module (gnu packages cdrom)
117 #:use-module (gnu packages samba)
118 #:use-module (gnu packages readline)
119 #:use-module (gnu packages fonts)
120 #:use-module (srfi srfi-1))
122 (define-public brasero
128 (uri (string-append "mirror://gnome/sources/" name "/"
129 (version-major+minor version) "/"
130 name "-" version ".tar.xz"))
133 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
134 (build-system glib-or-gtk-build-system)
136 `(#:configure-flags (list
137 (string-append "--with-girdir="
138 (assoc-ref %outputs "out")
140 (string-append "--with-typelibdir="
141 (assoc-ref %outputs "out")
142 "/lib/girepository-1.0"))))
144 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
146 `(("intltool" ,intltool)
147 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
148 ("gobject-introspection" ,gobject-introspection)
149 ("pkg-config" ,pkg-config)))
152 ("gnome-doc-utils" ,gnome-doc-utils)
153 ("gstreamer" ,gstreamer)
154 ("gst-plugins-base" ,gst-plugins-base)
157 ("libcanberra" ,libcanberra)
159 ("libnotify" ,libnotify)
163 ("totem-pl-parser" ,totem-pl-parser)))
164 (home-page "https://projects.gnome.org/brasero/")
165 (synopsis "CD/DVD burning tool for Gnome")
166 (description "Brasero is an application to burn CD/DVD for the Gnome
167 Desktop. It is designed to be as simple as possible and has some unique
168 features to enable users to create their discs easily and quickly.")
169 (license license:gpl2+)))
172 ;; This version from GNOME's repository includes fixes for compiling with
173 ;; recent versions of the build tools. The latest activity on the
174 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
176 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
179 (version (string-append "0.97.2-" (string-take commit 7)))
183 (url "https://git.gnome.org/browse/dia")
185 (file-name (string-append name "-" version "-checkout"))
188 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
189 (build-system gnu-build-system)
191 `(("glib" ,glib "bin")
193 ("gdk-pixbuf" ,gdk-pixbuf)
196 ("freetype" ,freetype)
197 ("libart-lgpl" ,libart-lgpl)))
199 `(("intltool" ,intltool)
200 ("pkg-config" ,pkg-config)
201 ("automake" ,automake)
202 ("autoconf" ,autoconf)
205 ("python-wrapper" ,python-wrapper)))
208 (modify-phases %standard-phases
209 (add-before 'configure 'run-autogen
211 (system* "sh" "autogen.sh"))))))
212 (home-page "https://wiki.gnome.org/Apps/Dia")
213 (synopsis "Diagram creation for GNOME")
214 (description "Dia can be used to draw different types of diagrams, and
215 includes support for UML static structure diagrams (class diagrams), entity
216 relationship modeling, and network diagrams. The program supports various file
217 formats like PNG, SVG, PDF and EPS.")
218 (license license:gpl2+))))
220 (define-public gnome-common
222 (name "gnome-common")
227 (uri (string-append "mirror://gnome/sources/" name "/"
228 (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
232 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
233 (build-system gnu-build-system)
234 (home-page "https://www.gnome.org/")
235 (synopsis "Bootstrap GNOME modules built from Git")
236 (description "gnome-common contains various files needed to bootstrap
237 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
238 can be used to configure a source directory checked out from Git and some
239 commonly used macros.")
240 (license license:gpl2+)))
242 (define-public gnome-desktop
244 (name "gnome-desktop")
249 (uri (string-append "mirror://gnome/sources/" name "/"
250 (version-major+minor version) "/"
251 name "-" version ".tar.xz"))
254 "1cp2c6q1ybirfq6rqyfj5lr5vyqdizy730bfg5jqnflcmakjsb29"))))
255 (build-system gnu-build-system)
257 `(("gobject-introspection" ,gobject-introspection)
259 ("intltool" ,intltool)
260 ("pkg-config" ,pkg-config)
261 ("xmllint" ,libxml2)))
263 ;; Required by gnome-desktop-3.0.pc.
264 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
267 `(("gdk-pixbuf" ,gdk-pixbuf)
269 ("iso-codes" ,iso-codes)
272 ("libxkbfile" ,libxkbfile)
273 ("libxrandr" ,libxrandr)
274 ("xkeyboard-config" ,xkeyboard-config)))
275 (home-page "https://www.gnome.org/")
277 "Libgnome-desktop, gnome-about, and desktop-wide documents")
279 "The libgnome-desktop library provides API shared by several applications
280 on the desktop, but that cannot live in the platform for various reasons.
281 There is no API or ABI guarantee, although we are doing our best to provide
282 stability. Documentation for the API is available with gtk-doc.
284 The gnome-about program helps find which version of GNOME is installed.")
285 ; Some bits under the LGPL.
286 (license license:gpl2+)))
288 (define-public gnome-doc-utils
290 (name "gnome-doc-utils")
295 (uri (string-append "mirror://gnome/sources/" name "/"
296 (version-major+minor version) "/"
297 name "-" version ".tar.xz"))
300 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
301 (build-system gnu-build-system)
303 `(("intltool" ,intltool)
304 ("docbook-xml" ,docbook-xml-4.4)
305 ("python2-libxml2" ,python2-libxml2)
308 ("pkg-config" ,pkg-config)
309 ("python-2" ,python-2)))
310 (home-page "https://wiki.gnome.org/GnomeDocUtils")
312 "Documentation utilities for the Gnome project")
314 "Gnome-doc-utils is a collection of documentation utilities for the
315 Gnome project. It includes xml2po tool which makes it easier to translate
316 and keep up to date translations of documentation.")
317 (license license:gpl2+))) ; xslt under lgpl
325 (uri (string-append "mirror://gnome/sources/" name "/"
326 (version-major+minor version) "/"
327 name "-" version ".tar.xz"))
330 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
331 (build-system gnu-build-system)
333 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
335 #:phases (modify-phases %standard-phases
338 (lambda* (#:key inputs #:allow-other-keys)
339 (substitute* "build/tap-driver"
340 (("/usr/bin/env python") (which "python"))))))))
343 ("gnupg" ,gnupg) ;called as a child process during tests
344 ("libgcrypt" ,libgcrypt)))
346 `(("python" ,python-2) ;for tests
347 ("pkg-config" ,pkg-config)
349 ("gobject-introspection" ,gobject-introspection)
350 ("intltool" ,intltool)
351 ("xsltproc" ,libxslt)))
352 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
354 `(("p11-kit" ,p11-kit)
357 (home-page "http://www.gnome.org")
358 (synopsis "Libraries for displaying certificates and accessing key stores")
360 "The GCR package contains libraries used for displaying certificates and
361 accessing key stores. It also provides the viewer for crypto files on the
363 (license license:lgpl2.1+)))
365 (define-public libgnome-keyring
367 (name "libgnome-keyring")
371 (uri (string-append "mirror://gnome/sources/" name "/"
372 (version-major+minor version) "/"
373 name "-" version ".tar.xz"))
376 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
377 (build-system gnu-build-system)
379 `(("libgcrypt" ,libgcrypt)
382 `(("pkg-config" ,pkg-config)
384 ("intltool" ,intltool)))
386 ;; Referred to in .h files and .pc.
388 (home-page "http://www.gnome.org")
389 (synopsis "Accessing passwords from the GNOME keyring")
391 "Client library to access passwords from the GNOME keyring.")
393 ;; Though a couple of files are LGPLv2.1+.
394 (license license:lgpl2.0+)))
396 (define-public gnome-keyring
398 (name "gnome-keyring")
402 (uri (string-append "mirror://gnome/sources/" name "/"
403 (version-major+minor version) "/"
404 name "-" version ".tar.xz"))
407 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
408 (build-system gnu-build-system)
410 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
414 (string-append "--with-pkcs11-config="
415 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
416 (string-append "--with-pkcs11-modules="
417 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
419 (modify-phases %standard-phases
422 (lambda* (#:key inputs #:allow-other-keys)
423 (substitute* "build/tap-driver"
424 (("/usr/bin/env python") (which "python")))))
426 'configure 'fix-docbook
427 (lambda* (#:key inputs #:allow-other-keys)
428 (substitute* "docs/Makefile.am"
429 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
430 (string-append (assoc-ref inputs "docbook-xsl")
431 "/xml/xsl/docbook-xsl-"
432 ,(package-version docbook-xsl)
433 "/manpages/docbook.xsl")))
434 (setenv "XML_CATALOG_FILES"
435 (string-append (assoc-ref inputs "docbook-xml")
436 "/xml/dtd/docbook/catalog.xml")))))))
438 `(("libgcrypt" ,libgcrypt)
439 ("linux-pam" ,linux-pam)
443 `(("pkg-config" ,pkg-config)
445 ("python" ,python-2) ;for tests
446 ("intltool" ,intltool)
447 ("autoconf" ,autoconf)
448 ("automake" ,automake)
449 ("libxslt" ,libxslt) ;for documentation
450 ("docbook-xml" ,docbook-xml-4.2)
451 ("docbook-xsl" ,docbook-xsl)))
452 (home-page "http://www.gnome.org")
453 (synopsis "Daemon to store passwords and encryption keys")
455 "gnome-keyring is a program that keeps passwords and other secrets for
456 users. It is run as a daemon in the session, similar to ssh-agent, and other
457 applications locate it via an environment variable or D-Bus.
459 The program can manage several keyrings, each with its own master password,
460 and there is also a session keyring which is never stored to disk, but
461 forgotten when the session ends.")
462 (license license:lgpl2.1+)))
464 (define-public evince
470 (uri (string-append "mirror://gnome/sources/" name "/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
475 "0m80s98k4i463dclpyk01fqb91cawbb6vvcz5vq2974k6qqc4ypw"))))
476 (build-system glib-or-gtk-build-system)
478 `(#:configure-flags '("--disable-nautilus")
480 ;; FIXME: Tests fail with:
481 ;; ImportError: No module named gi.repository
482 ;; Where should that module come from?
485 (modify-phases %standard-phases
486 (add-before 'install 'skip-gtk-update-icon-cache
487 ;; Don't create 'icon-theme.cache'.
489 (substitute* "data/Makefile"
490 (("gtk-update-icon-cache") "true"))
493 `(("libspectre" ,libspectre)
494 ("djvulibre" ,djvulibre)
495 ("ghostscript" ,ghostscript)
499 ;; Add libgxps for XPS support.
500 ;; Build libkpathsea as a shared library for DVI support.
501 ;; ("libkpathsea" ,texlive-bin)
502 ("gnome-desktop" ,gnome-desktop)
503 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
504 ("libgnome-keyring" ,libgnome-keyring)
505 ("adwaita-icon-theme" ,adwaita-icon-theme)
506 ("gdk-pixbuf" ,gdk-pixbuf)
514 ("shared-mime-info" ,shared-mime-info)
516 ("libcanberra" ,libcanberra)
517 ("libsecret" ,libsecret)
519 ("dogtail" ,python2-dogtail)))
521 `(("itstool" ,itstool)
522 ("intltool" ,intltool)
524 ("pkg-config" ,pkg-config)
525 ("xmllint" ,libxml2)))
527 "http://www.gnome.org/projects/evince/")
528 (synopsis "GNOME's document viewer")
530 "Evince is a document viewer for multiple document formats. It
531 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
532 of Evince is to replace the multiple document viewers that exist
533 on the GNOME Desktop with a single simple application.")
534 (license license:gpl2+)))
536 (define-public gsettings-desktop-schemas
538 (name "gsettings-desktop-schemas")
543 (uri (string-append "mirror://gnome/sources/" name "/"
544 (version-major+minor version) "/"
545 name "-" version ".tar.xz"))
548 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
549 (build-system gnu-build-system)
553 `(("intltool" ,intltool)
554 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
555 ("gobject-introspection" ,gobject-introspection)
556 ("pkg-config" ,pkg-config)))
557 (home-page "https://launchpad.net/gsettings-desktop-schemas")
559 "GNOME settings for various desktop components")
561 "Gsettings-desktop-schemas contains a collection of GSettings schemas
562 for settings shared by various components of the GNOME desktop.")
563 (license license:lgpl2.1+)))
565 (define-public icon-naming-utils
567 (name "icon-naming-utils")
572 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
576 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
577 (build-system gnu-build-system)
580 ("perl-xml-simple" ,perl-xml-simple)))
584 'install 'set-load-paths
585 ;; Tell 'icon-name-mapping' where XML::Simple is.
586 (lambda* (#:key outputs #:allow-other-keys)
587 (let* ((out (assoc-ref outputs "out"))
588 (prog (string-append out "/libexec/icon-name-mapping")))
591 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
593 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
595 "Utility to implement the Freedesktop Icon Naming Specification")
597 "To help with the transition to the Freedesktop Icon Naming
598 Specification, the icon naming utility maps the icon names used by the
599 GNOME and KDE desktops to the icon names proposed in the specification.")
600 (license license:lgpl2.1+)))
602 (define-public desktop-file-utils
604 (name "desktop-file-utils")
608 (uri (string-append "https://www.freedesktop.org/software/" name
609 "/releases/" name "-" version ".tar.xz"))
612 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
613 (build-system gnu-build-system)
615 `(("pkg-config" ,pkg-config)))
618 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
619 (synopsis "Utilities for working with desktop entries")
621 "This package contains a few command line utilities for working with
624 desktop-file-validate: validates a desktop file and prints warnings/errors
625 about desktop entry specification violations.
627 desktop-file-install: installs a desktop file to the applications directory,
628 optionally munging it a bit in transit.
630 update-desktop-database: updates the database containing a cache of MIME types
631 handled by desktop files.")
632 (license license:gpl2+)))
634 (define-public gnome-icon-theme
636 (name "gnome-icon-theme")
641 (uri (string-append "mirror://gnome/sources/" name "/"
642 (version-major+minor version) "/"
643 name "-" version ".tar.xz"))
646 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
647 (build-system gnu-build-system)
650 ;; Don't create 'icon-theme.cache'.
651 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
652 (true (string-append coreutils "/bin/true")))
653 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
655 `(("icon-naming-utils" ,icon-naming-utils)
656 ("intltool" ,intltool)
657 ("pkg-config" ,pkg-config)))
658 (home-page "http://art.gnome.org/")
662 "Icons for the GNOME desktop.")
663 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
665 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
666 (define-public adwaita-icon-theme
667 (package (inherit gnome-icon-theme)
668 (name "adwaita-icon-theme")
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
677 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))
679 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
681 (define-public shared-mime-info
683 (name "shared-mime-info")
687 (uri (string-append "https://freedesktop.org/~hadess/"
688 "shared-mime-info-" version ".tar.xz"))
691 "0bjd2j1rqrj150mr04j7ib71lfdlgbf235fg8d70g8mszqf7ik7a"))))
692 (build-system gnu-build-system)
694 ;; The build system appears not to be parallel-safe.
695 '(#:parallel-build? #f))
698 ("libxml2" ,libxml2)))
700 `(("intltool" ,intltool)
701 ("pkg-config" ,pkg-config)))
702 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
703 (synopsis "Database of common MIME types")
705 "The shared-mime-info package contains the core database of common types
706 and the update-mime-database command used to extend it. It requires glib2 to
707 be installed for building the update command. Additionally, it uses intltool
708 for translations, though this is only a dependency for the maintainers. This
709 database is translated at Transifex.")
710 (license license:gpl2+)))
712 (define-public hicolor-icon-theme
714 (name "hicolor-icon-theme")
719 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
720 "hicolor-icon-theme-" version ".tar.gz"))
723 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
724 (build-system gnu-build-system)
726 `(#:tests? #f)) ; no check target
727 (home-page "http://icon-theme.freedesktop.org/releases/")
729 "Freedesktop icon theme")
731 "Freedesktop icon theme.")
732 (license license:gpl2)))
734 (define-public libnotify
741 (uri (string-append "mirror://gnome/sources/" name "/"
742 (version-major+minor version) "/"
743 name "-" version ".tar.xz"))
746 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
747 (build-system gnu-build-system)
749 `(("gdk-pixbuf" ,gdk-pixbuf)
754 `(("pkg-config" ,pkg-config)
756 ("gobject-introspection" ,gobject-introspection)))
757 (home-page "https://developer-next.gnome.org/libnotify/")
759 "GNOME desktop notification library")
761 "Libnotify is a library that sends desktop notifications to a
762 notification daemon, as defined in the Desktop Notifications spec. These
763 notifications can be used to inform the user about an event or display
764 some form of information without getting in the user's way.")
765 (license license:lgpl2.1+)))
767 (define-public libpeas
774 (uri (string-append "mirror://gnome/sources/" name "/"
775 (version-major+minor version) "/"
776 name "-" version ".tar.xz"))
779 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
780 (build-system gnu-build-system)
784 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
786 ("python-pygobject" ,python-pygobject)))
788 `(("pkg-config" ,pkg-config)
789 ("glib:bin" ,glib "bin")
790 ("gobject-introspection" ,gobject-introspection)
791 ("intltool" ,intltool)))
792 (home-page "https://wiki.gnome.org/Libpeas")
793 (synopsis "GObject plugin system")
795 "Libpeas is a gobject-based plugins engine, and is targetted at giving
796 every application the chance to assume its own extensibility. It also has a
797 set of features including, but not limited to: multiple extension points; on
798 demand (lazy) programming language support for C, Python and JS; simplicity of
800 (license license:lgpl2.0+)))
802 (define-public gtkglext
808 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
809 version "/gtkglext-" version ".tar.gz"))
811 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
812 (patches (search-patches
813 "gtkglext-disable-disable-deprecated.patch"))))
814 (build-system gnu-build-system)
815 (inputs `(("gtk+" ,gtk+-2)
820 (native-inputs `(("pkg-config" ,pkg-config)
821 ("glib" ,glib "bin")))
822 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
823 (home-page "https://projects.gnome.org/gtkglext")
824 (synopsis "OpenGL extension to GTK+")
825 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
826 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
827 API add-ons to make GTK+ widgets OpenGL-capable.")
828 (license license:lgpl2.1+)))
830 (define-public glade3
836 (uri (string-append "mirror://gnome/sources/" name "/"
837 (version-major+minor version) "/"
838 name "-" version ".tar.xz"))
841 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
842 (build-system glib-or-gtk-build-system)
844 `(#:tests? #f ; needs X, GL, and software rendering
846 (modify-phases %standard-phases
847 (add-before 'configure 'fix-docbook
848 (lambda* (#:key inputs #:allow-other-keys)
849 (substitute* "man/Makefile.in"
850 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
851 (string-append (assoc-ref inputs "docbook-xsl")
852 "/xml/xsl/docbook-xsl-"
853 ,(package-version docbook-xsl)
854 "/manpages/docbook.xsl")))
858 ("libxml2" ,libxml2)))
860 `(("intltool" ,intltool)
862 ("libxslt" ,libxslt) ;for xsltproc
863 ("docbook-xml" ,docbook-xml-4.2)
864 ("docbook-xsl" ,docbook-xsl)
866 ("pkg-config" ,pkg-config)))
867 (home-page "https://glade.gnome.org")
868 (synopsis "GTK+ rapid application development tool")
869 (description "Glade is a rapid application development (RAD) tool to
870 enable quick & easy development of user interfaces for the GTK+ toolkit and
871 the GNOME desktop environment.")
872 (license license:lgpl2.0+)))
874 (define-public libcroco
880 (uri (string-append "mirror://gnome/sources/" name "/"
881 (version-major+minor version) "/"
882 name "-" version ".tar.xz"))
885 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
886 (build-system gnu-build-system)
888 `(("pkg-config" ,pkg-config)))
893 (home-page "https://github.com/GNOME/libcroco")
894 (synopsis "CSS2 parsing and manipulation library")
896 "Libcroco is a standalone CSS2 parsing and manipulation library.
897 The parser provides a low level event driven SAC-like API and a CSS object
898 model like API. Libcroco provides a CSS2 selection engine and an experimental
899 XML/CSS rendering engine.")
902 (license license:lgpl2.1)))
904 (define-public libgsf
910 (uri (string-append "mirror://gnome/sources/" name "/"
911 (version-major+minor version) "/"
912 name "-" version ".tar.xz"))
915 "1q2i5p9s5zw0y0502risykrzkfma7p24n3mmh244scjy9f4kh1im"))))
916 (build-system gnu-build-system)
918 `(("intltool" ,intltool)
919 ("pkg-config" ,pkg-config)))
925 `(("gdk-pixbuf" ,gdk-pixbuf)
927 ("libxml2" ,libxml2)))
928 (home-page "http://www.gnome.org/projects/libgsf")
929 (synopsis "GNOME's Structured File Library")
931 "Libgsf aims to provide an efficient extensible I/O abstraction for
932 dealing with different structured file formats.")
935 (license license:lgpl2.1)))
937 (define-public librsvg
943 (uri (string-append "mirror://gnome/sources/" name "/"
944 (version-major+minor version) "/"
945 name "-" version ".tar.xz"))
948 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
949 (build-system gnu-build-system)
953 'configure 'pre-configure
954 (lambda* (#:key inputs #:allow-other-keys)
955 (substitute* "gdk-pixbuf-loader/Makefile.in"
956 ;; By default the gdk-pixbuf loader is installed under
957 ;; gdk-pixbuf's prefix. Work around that.
958 (("gdk_pixbuf_moduledir = .*$")
959 (string-append "gdk_pixbuf_moduledir = "
960 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
962 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
963 (("gdk_pixbuf_cache_file = .*$")
964 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
967 `(("pkg-config" ,pkg-config)
968 ("glib" ,glib "bin") ; glib-mkenums, etc.
969 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
972 ("libcroco" ,libcroco)
975 ("libxml2" ,libxml2)))
977 ;; librsvg-2.0.pc refers to all of that.
979 ("gdk-pixbuf" ,gdk-pixbuf)
981 (home-page "https://wiki.gnome.org/LibRsvg")
982 (synopsis "Render SVG files using Cairo")
984 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
986 (license license:lgpl2.0+)))
988 (define-public libidl
994 (uri (let ((upstream-name "libIDL"))
995 (string-append "mirror://gnome/sources/" upstream-name "/"
996 (version-major+minor version) "/"
997 upstream-name "-" version ".tar.bz2")))
1000 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1001 (build-system gnu-build-system)
1002 (inputs `(("glib" ,glib)))
1004 `(("pkg-config" ,pkg-config)
1007 (home-page "http://freecode.com/projects/libidl")
1008 (synopsis "Create trees of CORBA Interface Definition Language files")
1009 (description "Libidl is a library for creating trees of CORBA Interface
1010 Definition Language (idl) files, which is a specification for defining
1011 portable interfaces. libidl was initially written for orbit (the orb from the
1012 GNOME project, and the primary means of libidl distribution). However, the
1013 functionality was designed to be as reusable and portable as possible.")
1014 (license license:lgpl2.0+)))
1017 (define-public orbit2
1023 (uri (let ((upstream-name "ORBit2"))
1024 (string-append "mirror://gnome/sources/" upstream-name "/"
1025 (version-major+minor version) "/"
1026 upstream-name "-" version ".tar.bz2")))
1029 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1030 (build-system gnu-build-system)
1033 ;; The programmer kindly gives us a hook to turn off deprecation
1035 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1036 ;; ... which they then completly ignore !!
1039 'configure 'ignore-deprecations
1041 (substitute* "linc2/src/Makefile.in"
1042 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1044 (inputs `(("glib" ,glib)
1045 ("libidl" ,libidl)))
1047 `(("pkg-config" ,pkg-config)))
1048 (home-page "https://projects.gnome.org/orbit2/")
1049 (synopsis "CORBA 2.4-compliant Object Request Broker")
1050 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1051 featuring mature C, C++ and Python bindings.")
1052 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1053 ;; a version. SOME of the code files have licence notices for GPLv2+.
1054 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1055 (license license:gpl2+)))
1058 (define-public libbonobo
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version)
1066 "/" name "-" version ".tar.bz2"))
1068 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1069 (patches (search-patches
1070 "libbonobo-activation-test-race.patch"))))
1071 (build-system gnu-build-system)
1073 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1075 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1076 ;; ... which they then completly ignore !!
1079 'configure 'ignore-deprecations
1081 (substitute* "activation-server/Makefile.in"
1082 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1084 (inputs `(("popt" ,popt)
1085 ("libxml2" ,libxml2)))
1086 ;; The following are Required by the .pc file
1089 ("orbit2" ,orbit2)))
1091 `(("intltool" ,intltool)
1092 ("pkg-config" ,pkg-config)
1093 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1096 (home-page "https://developer.gnome.org/libbonobo/")
1097 (synopsis "Framework for creating reusable components for use in GNOME applications")
1098 (description "Bonobo is a framework for creating reusable components for
1099 use in GNOME applications, built on top of CORBA.")
1100 ;; Licence not explicitly stated. Source files contain no licence notices.
1101 ;; Tarball contains text of both GPLv2 and LGPLv2
1102 ;; GPLv2 covers both conditions
1103 (license license:gpl2+)))
1106 (define-public gconf
1113 (let ((upstream-name "GConf"))
1114 (string-append "mirror://gnome/sources/" upstream-name "/"
1115 (version-major+minor version) "/"
1116 upstream-name "-" version ".tar.xz")))
1118 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1119 (build-system gnu-build-system)
1120 (inputs `(("dbus-glib" ,dbus-glib)
1121 ("libxml2" ,libxml2)))
1122 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1123 ("orbit2" ,orbit2)))
1125 `(("intltool" ,intltool)
1126 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1127 ("pkg-config" ,pkg-config)))
1128 (home-page "https://projects.gnome.org/gconf/")
1129 (synopsis "Store application preferences")
1130 (description "Gconf is a system for storing application preferences. It
1131 is intended for user preferences; not arbitrary data storage.")
1132 (license license:lgpl2.0+)
1133 (properties '((upstream-name . "GConf")))))
1136 (define-public gnome-mime-data
1138 (name "gnome-mime-data")
1142 (uri (string-append "mirror://gnome/sources/" name "/"
1143 (version-major+minor version) "/"
1144 name "-" version ".tar.bz2"))
1147 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1148 (build-system gnu-build-system)
1151 ("intltool" ,intltool)))
1152 (home-page "http://www.gnome.org")
1153 (synopsis "Base MIME and Application database for GNOME")
1154 (description "GNOME Mime Data is a module which contains the base MIME
1155 and Application database for GNOME. The data stored by this module is
1156 designed to be accessed through the MIME functions in GnomeVFS.")
1157 (license license:gpl2+)))
1160 (define-public gnome-vfs
1166 (uri (string-append "mirror://gnome/sources/" name "/"
1167 (version-major+minor version) "/"
1168 name "-" version ".tar.bz2"))
1171 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1172 (build-system gnu-build-system)
1176 'configure 'ignore-deprecations
1178 (substitute* '("libgnomevfs/Makefile.in"
1179 "daemon/Makefile.in")
1180 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1183 'configure 'patch-test-async-cancel-to-never-fail
1185 (substitute* "test/test-async-cancel.c"
1186 (("EXIT_FAILURE") "77")))
1187 %standard-phases))))
1188 (inputs `(("libxml2" ,libxml2)
1189 ("dbus-glib" ,dbus-glib)
1191 ("gnome-mime-data" ,gnome-mime-data)
1194 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1195 ("intltool" ,intltool)
1196 ("pkg-config" ,pkg-config)))
1197 (home-page "https://developer.gnome.org/gnome-vfs/")
1198 (synopsis "Access files and folders in GNOME applications")
1200 "GnomeVFS is the core library used to access files and folders in GNOME
1201 applications. It provides a file system abstraction which allows applications
1202 to access local and remote files with a single consistent API.")
1203 (license license:lgpl2.0+)))
1207 (define-public libgnome
1213 (uri (string-append "mirror://gnome/sources/" name "/"
1214 (version-major+minor version) "/"
1215 name "-" version ".tar.bz2"))
1218 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1219 (build-system gnu-build-system)
1223 'configure 'enable-deprecated
1225 (substitute* "libgnome/Makefile.in"
1226 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1228 (inputs `(("libxml2" ,libxml2)))
1230 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1231 ("intltool" ,intltool)
1232 ("pkg-config" ,pkg-config)))
1233 ;; The following are listed as Required in the .pc file
1234 ;; (except for libcanberra -- which seems to be oversight on the part
1235 ;; of the upstream developers -- anything that links against libgnome,
1236 ;; must also link against libcanberra
1238 `(("libcanberra" ,libcanberra)
1239 ("libbonobo" ,libbonobo)
1241 ("gnome-vfs" ,gnome-vfs)
1242 ("popt" ,popt))) ;gnome-program.h includes popt.h
1243 (home-page "https://developer.gnome.org/libgnome/")
1244 (synopsis "Useful routines for building applications")
1245 (description "The libgnome library provides a number of useful routines
1246 for building modern applications, including session management, activation of
1247 files and URIs, and displaying help.")
1248 (license license:lgpl2.0+)))
1251 (define-public libart-lgpl
1253 (name "libart-lgpl")
1257 (uri (let ((upstream-name "libart_lgpl"))
1258 (string-append "mirror://gnome/sources/" upstream-name "/"
1259 (version-major+minor version) "/"
1260 upstream-name "-" version ".tar.bz2")))
1263 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1264 (build-system gnu-build-system)
1266 `(("pkg-config" ,pkg-config)))
1267 (home-page "https://people.gnome.org/~mathieu/libart")
1268 (synopsis "2D drawing library")
1269 (description "Libart is a 2D drawing library intended as a
1270 high-quality vector-based 2D library with antialiasing and alpha composition.")
1271 (license license:lgpl2.0+)))
1275 (define-public libgnomecanvas
1277 (name "libgnomecanvas")
1281 (uri (string-append "mirror://gnome/sources/" name "/"
1282 (version-major+minor version) "/"
1283 name "-" version ".tar.gz"))
1286 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1287 (build-system gnu-build-system)
1288 ;; Mentioned as Required in the .pc file
1289 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1292 `(("intltool" ,intltool)
1293 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1294 ("pkg-config" ,pkg-config)))
1295 (home-page "https://developer.gnome.org/libgnomecanvas/")
1296 (synopsis "Flexible widget for creating interactive structured graphics")
1297 (description "The GnomeCanvas widget provides a flexible widget for
1298 creating interactive structured graphics.")
1299 (license license:lgpl2.0+)))
1301 (define-public libgnomecanvasmm
1303 (name "libgnomecanvasmm")
1307 (uri (string-append "mirror://gnome/sources/" name "/"
1308 (version-major+minor version) "/"
1309 name "-" version ".tar.bz2"))
1312 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1313 (build-system gnu-build-system)
1315 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1316 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1318 `(("gtkmm-2" ,gtkmm-2)
1319 ("pkg-config" ,pkg-config)))
1320 (home-page "http://gtkmm.org")
1321 (synopsis "C++ bindings to the GNOME Canvas library")
1322 (description "C++ bindings to the GNOME Canvas library.")
1323 (license license:lgpl2.0+)))
1325 (define-public libgnomeui
1331 (uri (string-append "mirror://gnome/sources/" name "/"
1332 (version-major+minor version) "/"
1333 name "-" version ".tar.bz2"))
1336 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1337 (build-system gnu-build-system)
1338 ;; Mentioned as Required in the .pc file
1339 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1340 ("libgnome" ,libgnome)
1341 ("libgnomecanvas" ,libgnomecanvas)
1342 ("libgnome-keyring" ,libgnome-keyring)))
1343 (inputs `(("libjpeg" ,libjpeg)
1345 ("libbonobo" ,libbonobo)
1346 ("libxml2" ,libxml2)
1347 ("libglade" ,libglade)))
1349 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1350 ("intltool" ,intltool)
1351 ("pkg-config" ,pkg-config)))
1352 (home-page "https://developer.gnome.org/libgnomeui/")
1353 (synopsis "Additional widgets for applications")
1354 (description "The libgnomeui library provides additional widgets for
1355 applications. Many of the widgets from libgnomeui have already been
1357 (license license:lgpl2.0+)))
1359 (define-public libglade
1365 (uri (string-append "mirror://gnome/sources/" name "/"
1366 (version-major+minor version) "/"
1367 name "-" version ".tar.bz2"))
1370 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1371 (build-system gnu-build-system)
1373 `(("python" ,python))) ;; needed for the optional libglade-convert program
1375 `(("gtk+-2" ,gtk+-2)
1376 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1378 `(("pkg-config" ,pkg-config)))
1379 (home-page "https://developer.gnome.org/libglade")
1380 (synopsis "Load glade interfaces and access the glade built widgets")
1381 (description "Libglade is a library that provides interfaces for loading
1382 graphical interfaces described in glade files and for accessing the
1383 widgets built in the loading process.")
1384 (license license:gpl2+))) ; This is correct. GPL not LGPL
1386 (define-public libgnomeprint
1387 ;; This library has been deprecated since 2006; see
1388 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1390 (name "libgnomeprint")
1394 (uri (string-append "mirror://gnome/sources/" name "/"
1395 (version-major+minor version) "/"
1396 name "-" version ".tar.bz2"))
1399 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1400 (build-system gnu-build-system)
1403 ("libart-lgpl" ,libart-lgpl)
1405 ("libxml2" ,libxml2)))
1407 `(("intltool" ,intltool)
1408 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1409 ("pkg-config" ,pkg-config)))
1410 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1411 (synopsis "Printing framework for GNOME")
1413 "GNOME-print was a printing framework for GNOME. It has been deprecated
1414 since ca. 2006, when GTK+ itself incorporated printing support.")
1415 (license license:lgpl2.0+)))
1418 (define-public libgnomeprintui
1419 ;; Deprecated; see libgnomeprint.
1421 (name "libgnomeprintui")
1425 (uri (string-append "mirror://gnome/sources/" name "/"
1426 (version-major+minor version) "/"
1427 name "-" version ".tar.bz2"))
1430 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1431 (build-system gnu-build-system)
1432 ;; Mentioned as Required in the .pc file
1433 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1434 (inputs `(("gtk+" ,gtk+-2)
1436 ("gnome-icon-theme" ,gnome-icon-theme)
1437 ("libgnomecanvas" ,libgnomecanvas)
1438 ("libxml2" ,libxml2)))
1440 `(("intltool" ,intltool)
1441 ("pkg-config" ,pkg-config)))
1442 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1443 (synopsis "Printing framework for GNOME")
1444 (description (package-description libgnomeprint))
1445 (license license:lgpl2.0+)))
1447 (define-public libbonoboui
1449 (name "libbonoboui")
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.bz2"))
1458 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1459 (build-system gnu-build-system)
1463 'check 'start-xserver
1464 (lambda* (#:key inputs #:allow-other-keys)
1465 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1468 (setenv "HOME" (getcwd))
1469 (setenv "DISPLAY" disp)
1470 ;; There must be a running X server and make check doesn't start one.
1471 ;; Therefore we must do it.
1472 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1474 ;; Mentioned as Required by the .pc file
1475 (propagated-inputs `(("libxml2" ,libxml2)))
1478 ("pangox-compat" ,pangox-compat)
1479 ("libgnome" ,libgnome)
1480 ("libgnomecanvas" ,libgnomecanvas)
1481 ("libglade" ,libglade)))
1483 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1484 ("intltool" ,intltool)
1485 ("xorg-server" ,xorg-server) ; For running the tests
1486 ("pkg-config" ,pkg-config)))
1487 (home-page "https://developer.gnome.org/libbonoboui/")
1488 (synopsis "Some user interface controls using Bonobo")
1489 (description "The Bonobo UI library provides a number of user interface
1490 controls using the Bonobo component framework.")
1491 (license license:lgpl2.0+)))
1493 (define-public libwnck
1499 (uri (string-append "mirror://gnome/sources/" name "/"
1500 (version-major+minor version) "/"
1501 name "-" version ".tar.xz"))
1503 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1504 (build-system gnu-build-system)
1506 `(("pkg-config" ,pkg-config)
1507 ("intltool" ,intltool)))
1510 ("libxres" ,libxres)
1511 ("startup-notification" ,startup-notification)))
1512 (home-page "https://developer.gnome.org/libwnck/")
1513 (synopsis "Window Navigator Construction Kit")
1515 "Libwnck is the Window Navigator Construction Kit, a library for use in
1516 writing pagers, tasklists, and more generally applications that are dealing
1517 with window management. It tries hard to respect the Extended Window Manager
1518 Hints specification (EWMH).")
1519 (license license:lgpl2.0+)))
1521 ;; stable version for gtk2, required by xfwm4.
1522 (define-public libwnck-2
1523 (package (inherit libwnck)
1528 (uri (string-append "mirror://gnome/sources/" name "/"
1529 (version-major+minor version) "/"
1530 name "-" version ".tar.xz"))
1533 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1536 ("libxres" ,libxres)
1537 ("startup-notification" ,startup-notification)))))
1539 (define-public goffice
1545 (uri (string-append "mirror://gnome/sources/" name "/"
1546 (version-major+minor version) "/"
1547 name "-" version ".tar.xz"))
1549 (base32 "1hvs5558x98yzm43dc3f93v596x45lfmv1vkp4jjgfagynlpvcq2"))))
1550 (build-system gnu-build-system)
1552 "doc")) ;4.1 MiB of gtk-doc
1554 '(#:configure-flags (list (string-append "--with-html-dir="
1555 (assoc-ref %outputs "doc")
1556 "/share/gtk-doc/html"))))
1560 ("librsvg" ,librsvg)
1561 ("libxslt" ,libxslt)
1562 ("libxml2" ,libxml2)))
1564 `(("intltool" ,intltool)
1565 ("glib" ,glib "bin")
1566 ("pkg-config" ,pkg-config)))
1567 (home-page "https://developer.gnome.org/goffice/")
1568 (synopsis "Document-centric objects and utilities")
1569 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1571 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1573 (list license:gpl2 license:gpl3))))
1575 (define-public goffice-0.8
1576 (package (inherit goffice)
1580 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1581 (version-major+minor version) "/"
1582 (package-name goffice) "-" version ".tar.xz"))
1584 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1588 'unpack 'fix-pcre-check
1590 ;; Only glib.h can be included directly. See
1591 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1592 (substitute* "configure"
1593 (("glib/gregex\\.h") "glib.h")) #t)
1596 ,@(package-arguments goffice)))
1598 ;; libgoffice-0.8.pc mentions libgsf-1
1599 `(("libgsf" ,libgsf)))
1602 ,@(alist-delete "gtk" (package-inputs goffice))))))
1604 (define-public gnumeric
1610 (uri (string-append "mirror://gnome/sources/" name "/"
1611 (version-major+minor version) "/"
1612 name "-" version ".tar.xz"))
1615 "1s3dxvdwzmppsp2dfg90rccilf4hknhwjdy7lazr9sys58zchyx0"))))
1616 (build-system glib-or-gtk-build-system)
1618 `(;; The gnumeric developers don't worry much about failing tests.
1619 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1622 (modify-phases %standard-phases
1624 'configure 'pre-conf
1625 (lambda* (#:key outputs #:allow-other-keys)
1626 ;; Make install tries to write into the directory of goffice
1627 ;; I am informed that this only affects the possibility to embed a
1628 ;; spreadsheet inside an Abiword document. So presumably when we
1629 ;; package Abiword we'll have to refer it to this directory.
1630 (substitute* "configure"
1631 (("^GOFFICE_PLUGINS_DIR=.*")
1632 (string-append "GOFFICE_PLUGINS_DIR="
1633 (assoc-ref outputs "out")
1634 "/goffice/plugins"))))))))
1638 ("goffice" ,goffice)
1640 ("librsvg" ,librsvg)
1641 ("libxml2" ,libxml2)
1642 ("libxslt" ,libxslt)
1643 ("python" ,python-2)
1644 ("python2-pygobject" ,python2-pygobject)
1648 ("intltool" ,intltool)
1649 ("glib:bin" ,glib "bin")
1650 ("pkg-config" ,pkg-config)))
1651 (home-page "http://www.gnumeric.org")
1652 (synopsis "Spreadsheet application")
1654 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1655 interoperable with other spreadsheet applications. It has a vast array of
1656 features beyond typical spreadsheet functionality, such as support for linear
1657 and non-linear solvers, statistical analysis, and telecommunication
1660 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1661 (list license:gpl2 license:gpl3))))
1663 (define-public gnome-themes-standard
1665 (name "gnome-themes-standard")
1670 (uri (string-append "mirror://gnome/sources/" name "/"
1671 (version-major+minor version) "/" name "-"
1675 "05br99z67f82i18nljpxnwssfnaqp7mph61w3hq0i44z5i5rq3cx"))))
1676 (build-system gnu-build-system)
1679 ;; Don't create 'icon-theme.cache'.
1680 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1681 (true (string-append coreutils "/bin/true")))
1682 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1686 ("librsvg" ,librsvg)
1687 ("libxml2" ,libxml2)
1690 `(("intltool" ,intltool)
1691 ("glib:bin" ,glib "bin")
1692 ("pkg-config" ,pkg-config)))
1693 (home-page "https://launchpad.net/gnome-themes-standard")
1694 (synopsis "Default GNOME 3 themes")
1696 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1697 (license license:lgpl2.1+)))
1699 (define-public seahorse
1706 (uri (string-append "mirror://gnome/sources/" name "/"
1707 (version-major+minor version) "/" name "-"
1711 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1712 (build-system glib-or-gtk-build-system)
1718 ("openldap" ,openldap)
1719 ("openssh" ,openssh)
1720 ("libsecret" ,libsecret)
1721 ("libsoup" ,libsoup)))
1723 `(("intltool" ,intltool)
1724 ("glib:bin" ,glib "bin")
1725 ("itstool" ,itstool)
1726 ("pkg-config" ,pkg-config)
1727 ("xmllint" ,libxml2)))
1728 (home-page "https://launchpad.net/gnome-themes-standard")
1729 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1731 "Seahorse is a GNOME application for managing encryption keys and
1732 passwords in the GNOME keyring.")
1733 (license license:gpl2+)))
1741 (uri (string-append "mirror://gnome/sources/" name "/"
1742 (version-major+minor version) "/"
1743 name "-" version ".tar.xz"))
1746 "1ab1l44abf9fj1wznzq5956431ia136rl5049cggnk5393jlf3fx"))))
1747 (build-system gnu-build-system)
1750 (modify-phases %standard-phases
1751 (add-before 'check 'pre-check
1754 ;; For missing '/etc/machine-id'.
1755 (setenv "DBUS_FATAL_WARNINGS" "0")
1757 ;; Build the Vala API generator
1758 #:configure-flags '("--enable-vapigen")))
1760 `(("pkg-config" ,pkg-config)
1763 ("xsltproc" ,libxslt)
1764 ("dbus" ,dbus) ; for dbus tests
1765 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1767 `(("glib" ,glib))) ; required by libvala-0.26.pc
1768 (home-page "http://live.gnome.org/Vala/")
1769 (synopsis "Compiler for the GObject type system")
1771 "Vala is a programming language that aims to bring modern programming
1772 language features to GNOME developers without imposing any additional runtime
1773 requirements and without using a different ABI compared to applications and
1774 libraries written in C.")
1775 (license license:lgpl2.1+)))
1783 (uri (string-append "mirror://gnome/sources/" name "/"
1784 (version-major+minor version) "/"
1785 name "-" version ".tar.xz"))
1788 "0j899ccrkzh7208w29c835m1yms0cas5cxkck8x6l4xv2i45ksm1"))))
1789 (build-system gnu-build-system)
1791 ;; XXX: fails to compile tests with the default flags.
1792 ;; vteconv.cc:774:40:
1793 ;; error: missing sentinel in function call [-Werror=format=]
1794 ;; g_test_init (&argc, &argv, NULL);
1796 ;; cc1plus: some warnings being treated as errors
1797 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1799 `(("pkg-config" ,pkg-config)
1800 ("intltool" ,intltool)
1802 ("gobject-introspection" ,gobject-introspection)
1803 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1804 ("xmllint" ,libxml2)))
1806 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1807 ("gnutls" ,gnutls))) ;ditto
1808 (home-page "http://www.gnome.org/")
1809 (synopsis "Virtual Terminal Emulator")
1811 "VTE is a library (libvte) implementing a terminal emulator widget for
1812 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1813 gnome-terminal, but can also be used to embed a console/terminal in games,
1814 editors, IDEs, etc.")
1815 (license license:lgpl2.1+)))
1817 (define-public vte-ng
1821 (version "0.44.1.b")
1823 `(("gtk-doc" ,gtk-doc)
1825 ("autoconf" ,autoconf)
1826 ("automake" ,automake)
1827 ("libtool" ,libtool)
1828 ,@(package-native-inputs vte)))
1831 (uri (string-append "https://github.com/thestinger/"
1832 name "/archive/" version ".tar.gz"))
1833 (file-name (string-append name "-" version ".tar.gz"))
1836 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1838 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1839 #:phases (modify-phases %standard-phases
1840 (add-after 'unpack 'bootstrap
1842 (setenv "NOCONFIGURE" "true")
1843 (zero? (system* "sh" "autogen.sh")))))))
1844 (synopsis "Enhanced VTE terminal widget")
1846 "VTE is a library (libvte) implementing a terminal emulator widget for
1847 GTK+, this fork provides additional functions exposed for keyboard text
1848 selection and URL hints.")))
1850 ;; provides vte 2.90, required for some terminal emulators
1851 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1852 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1853 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1854 ;; pantheon-terminal, roxterm are not currently packaged
1855 (define-public vte-0.36
1856 (package (inherit vte)
1861 (uri (string-append "mirror://gnome/sources/" name "/"
1862 (version-major+minor version) "/"
1863 name "-" version ".tar.xz"))
1866 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1869 ("ncurses" ,ncurses)))))
1871 ;; stable version for gtk2, required by xfce4-terminal.
1872 (define-public vte/gtk+-2
1873 (package (inherit vte)
1878 (uri (string-append "mirror://gnome/sources/" name "/"
1879 (version-major+minor version) "/"
1880 name "-" version ".tar.xz"))
1883 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1884 (patches (search-patches
1885 "vte-CVE-2012-2738-pt1.patch"
1886 "vte-CVE-2012-2738-pt2.patch"))))
1888 '(#:configure-flags '("--disable-python")))
1890 `(("pkg-config" ,pkg-config)
1891 ("intltool" ,intltool)
1892 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1894 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1895 ("ncurses" ,ncurses))))) ; required by libvte.la
1897 (define-public dconf
1904 "mirror://gnome/sources/" name "/"
1905 (version-major+minor version) "/"
1906 name "-" version ".tar.xz"))
1909 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1910 (build-system glib-or-gtk-build-system)
1915 ("libxml2" ,libxml2)))
1917 `(("libxslt" ,libxslt)
1918 ("docbook-xml" ,docbook-xml-4.2)
1919 ("docbook-xsl" ,docbook-xsl)
1920 ("intltool" ,intltool)
1921 ("pkg-config" ,pkg-config)))
1923 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1924 ; or /etc/machine-id.
1926 ;; Set the correct RUNPATH in binaries.
1927 (list (string-append "LDFLAGS=-Wl,-rpath="
1928 (assoc-ref %outputs "out") "/lib")
1929 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1932 'configure 'fix-docbook
1933 (lambda* (#:key inputs #:allow-other-keys)
1934 (substitute* "docs/Makefile.in"
1935 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1936 (string-append (assoc-ref inputs "docbook-xsl")
1937 "/xml/xsl/docbook-xsl-"
1938 ,(package-version docbook-xsl)
1939 "/manpages/docbook.xsl")))
1940 (setenv "XML_CATALOG_FILES"
1941 (string-append (assoc-ref inputs "docbook-xml")
1942 "/xml/dtd/docbook/catalog.xml")))
1944 (home-page "https://developer.gnome.org/dconf")
1945 (synopsis "Low-level GNOME configuration system")
1946 (description "Dconf is a low-level configuration system. Its main purpose
1947 is to provide a backend to GSettings on platforms that don't already have
1948 configuration storage systems.")
1949 (license license:lgpl2.1)))
1951 (define-public json-glib
1957 (uri (string-append "mirror://gnome/sources/" name "/"
1958 (version-major+minor version) "/"
1959 name "-" version ".tar.xz"))
1962 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
1963 (modules '((guix build utils)))
1965 ;; Don't duplicate test names.
1966 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1967 '(substitute* "json-glib/tests/builder.c"
1968 (("\"/builder/complex\", test_builder_empty")
1969 "\"/builder/empty\", test_builder_empty")))))
1970 (build-system gnu-build-system)
1972 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1973 ("gobject-introspection" ,gobject-introspection)
1974 ("pkg-config" ,pkg-config)))
1976 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1977 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1978 (synopsis "Compiler for the GObject type system")
1980 "JSON-GLib is a C library based on GLib providing serialization and
1981 deserialization support for the JavaScript Object Notation (JSON) format
1982 described by RFC 4627. It provides parser and generator GObject classes and
1983 various wrappers for the complex data types employed by JSON, such as arrays
1985 (license license:lgpl2.1+)))
1987 (define-public libxklavier
1989 (name "libxklavier")
1993 (uri (string-append "mirror://gnome/sources/" name "/"
1994 version "/" name "-" version ".tar.xz"))
1997 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1998 (build-system gnu-build-system)
2001 (list (string-append "--with-xkb-base="
2002 (assoc-ref %build-inputs "xkeyboard-config")
2003 "/share/X11/xkb"))))
2005 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2006 ("gobject-introspection" ,gobject-introspection)
2007 ("pkg-config" ,pkg-config)))
2009 ;; Required by libxklavier.pc.
2011 ("libxml2" ,libxml2)))
2013 `(("iso-codes" ,iso-codes)
2015 ("libxkbfile" ,libxkbfile)
2016 ("xkbcomp" ,xkbcomp)
2017 ("xkeyboard-config" ,xkeyboard-config)))
2018 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2019 (synopsis "High-level API for X Keyboard Extension")
2021 "LibXklavier is a library providing high-level API for X Keyboard
2022 Extension known as XKB. This library is intended to support XFree86 and other
2023 commercial X servers. It is useful for creating XKB-related software (layout
2025 (license license:lgpl2.0+)))
2027 (define-public python2-rsvg
2028 ;; XXX: This is actually a subset of gnome-python-desktop.
2030 (name "python2-rsvg")
2036 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2037 version ".tar.bz2"))
2040 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2041 (build-system gnu-build-system)
2043 `(("pkg-config" ,pkg-config)))
2045 `(("python" ,python-2)
2046 ("python2-pygtk" ,python2-pygtk)
2047 ("librsvg" ,librsvg)))
2048 (home-page "http://www.gnome.org")
2049 (synopsis "Python bindings to librsvg")
2051 "This packages provides Python bindings to librsvg, the SVG rendering
2054 ;; This is the license of the rsvg bindings. The license of each module
2055 ;; of gnome-python-desktop is given in 'COPYING'.
2056 (license license:lgpl2.1+)))
2058 (define-public glib-networking
2060 (name "glib-networking")
2064 (uri (string-append "mirror://gnome/sources/glib-networking/"
2065 (version-major+minor version) "/"
2066 name "-" version ".tar.xz"))
2069 "111spcar6wbp6m0rdxzjscc7vfqx5nawscrfbxlvbf5jsr4hqp4j"))
2071 (search-patches "glib-networking-ssl-cert-file.patch"))))
2072 (build-system gnu-build-system)
2075 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2077 (modify-phases %standard-phases
2078 (add-before 'configure 'patch-giomoduledir
2079 ;; Install GIO modules into $out/lib/gio/modules.
2081 (substitute* "configure"
2082 (("GIO_MODULE_DIR=.*")
2083 (string-append "GIO_MODULE_DIR=" %output
2084 "/lib/gio/modules\n")))))
2085 (add-before 'check 'use-empty-ssl-cert-file
2087 ;; The ca-certificates.crt is not available in the build
2089 (setenv "SSL_CERT_FILE" "/dev/null")
2092 `(("pkg-config" ,pkg-config)
2093 ("intltool" ,intltool)))
2097 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2098 ("p11-kit" ,p11-kit)))
2099 (home-page "http://www.gnome.org")
2100 (synopsis "Network-related GIO modules")
2102 "This package contains various network related extensions for the GIO
2104 (license license:lgpl2.0+)))
2112 (uri (string-append "mirror://gnome/sources/rest/"
2113 (version-major+minor version) "/"
2114 name "-" version ".tar.xz"))
2117 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2118 (build-system gnu-build-system)
2120 '(#:tests? #f ; tests require internet connection
2122 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2124 `(("glib-mkenums" ,glib "bin")
2125 ("gobject-introspection" ,gobject-introspection)
2126 ("pkg-config" ,pkg-config)))
2128 ;; rest-0.7.pc refers to all these.
2130 ("libsoup" ,libsoup)
2131 ("libxml2" ,libxml2)))
2132 (home-page "http://www.gtk.org/")
2133 (synopsis "RESTful web api query library")
2135 "This library was designed to make it easier to access web services that
2136 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2137 libxml to ease remote use of the RESTful API.")
2138 (license license:lgpl2.1+)))
2140 (define-public libsoup
2146 (uri (string-append "mirror://gnome/sources/libsoup/"
2147 (version-major+minor version) "/"
2148 name "-" version ".tar.xz"))
2151 "1r8zz270qdg92gbsvy61d51y1cj7hp059h2f4xpvqiw2vrqnn8fq"))))
2152 (build-system gnu-build-system)
2153 (outputs '("out" "doc"))
2156 (list (string-append "--with-html-dir="
2157 (assoc-ref %outputs "doc")
2158 "/share/gtk-doc/html"))
2160 (modify-phases %standard-phases
2161 (add-before 'configure 'disable-unconnected-socket-test
2162 ;; This test fails due to missing /etc/nsswitch.conf
2163 ;; in the build environment.
2165 (substitute* "tests/socket-test.c"
2166 ((".*/sockets/unconnected.*") ""))
2168 (add-before 'check 'pre-check
2170 ;; The 'check-local' target runs 'env LANG=C sort -u',
2171 ;; unset 'LC_ALL' to make 'LANG' working.
2173 ;; The ca-certificates.crt is not available in the build
2175 (setenv "SSL_CERT_FILE" "/dev/null")
2181 ;; Install vala bindings into $out.
2182 (string-append "vapidir=" %output
2186 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2187 ("gobject-introspection" ,gobject-introspection)
2188 ("intltool" ,intltool)
2189 ("pkg-config" ,pkg-config)
2190 ("python" ,python-wrapper)
2192 ;; These are needed for the tests.
2193 ;; FIXME: Add PHP once available.
2197 ;; libsoup-2.4.pc refers to all these.
2199 ("libxml2" ,libxml2)))
2201 `(("glib-networking" ,glib-networking)
2202 ("sqlite" ,sqlite)))
2203 (home-page "https://live.gnome.org/LibSoup/")
2204 (synopsis "GLib-based HTTP Library")
2206 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2207 and the GLib main loop, to integrate well with GNOME applications.")
2208 (license license:lgpl2.0+)))
2210 (define-public libsecret
2217 "mirror://gnome/sources/libsecret/"
2218 (version-major+minor version) "/"
2219 name "-" version ".tar.xz"))
2222 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2223 (build-system gnu-build-system)
2224 (outputs '("out" "doc"))
2226 `(#:tests? #f ; FIXME: Testing hangs.
2228 (list (string-append "--with-html-dir="
2229 (assoc-ref %outputs "doc")
2230 "/share/gtk-doc/html"))))
2232 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2233 ("gobject-introspection" ,gobject-introspection)
2234 ("intltool" ,intltool)
2235 ("pkg-config" ,pkg-config)
2237 ("xsltproc" ,libxslt)))
2238 ;; These are needed for the tests.
2239 ;; FIXME: Add gjs once available.
2241 ;("python2" ,python-2)
2242 ;("python2-dbus" ,python2-dbus)
2243 ;("python2-pygobject" ,python2-pygobject)
2244 ;("python2-pygobject-2" ,python2-pygobject-2)))
2246 `(("glib" ,glib))) ; required by libsecret-1.pc
2248 `(("docbook-xsl" ,docbook-xsl)
2249 ("libgcrypt" ,libgcrypt)
2250 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2251 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2252 (synopsis "GObject bindings for \"Secret Service\" API")
2254 "Libsecret is a GObject based library for storing and retrieving passwords
2255 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2256 (license license:lgpl2.1+)))
2258 (define-public gnome-mines
2260 (name "gnome-mines")
2265 (uri (string-append "mirror://gnome/sources/" name "/"
2266 (version-major+minor version) "/"
2267 name "-" version ".tar.xz"))
2270 "0frb1r0f55giz7yqxl9920vvzqlirdivz54ygc9d85r8v63fh5aq"))))
2271 (build-system glib-or-gtk-build-system)
2274 (modify-phases %standard-phases
2275 (add-before 'configure 'patch-/bin/true
2277 (substitute* "configure"
2278 (("/bin/true") (which "true"))))))))
2280 `(("pkg-config" ,pkg-config)
2281 ("desktop-file-utils" ,desktop-file-utils)
2282 ("intltool" ,intltool)
2283 ("itstool" ,itstool)
2284 ("xmllint" ,libxml2)))
2287 ("librsvg" ,librsvg)))
2288 (home-page "https://wiki.gnome.org/Apps/Mines")
2289 (synopsis "Minesweeper game")
2291 "Mines (previously gnomine) is a puzzle game where you locate mines
2292 floating in an ocean using only your brain and a little bit of luck.")
2293 (license license:gpl2+)))
2295 (define-public gnome-sudoku
2297 (name "gnome-sudoku")
2302 (uri (string-append "mirror://gnome/sources/" name "/"
2303 (version-major+minor version) "/"
2304 name "-" version ".tar.xz"))
2307 "166bbv5k50v7pjp3wbl2rmxcmv1adwr14hxg5rw2ws8kams8151k"))))
2308 (build-system glib-or-gtk-build-system)
2310 `(("pkg-config" ,pkg-config)
2311 ("desktop-file-utils" ,desktop-file-utils)
2312 ("intltool" ,intltool)
2313 ("itstool" ,itstool)
2314 ("xmllint" ,libxml2)))
2317 ("json-glib" ,json-glib)
2319 ("librsvg" ,librsvg)
2320 ("qqwing" ,qqwing)))
2321 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2322 (synopsis "Japanese logic game")
2324 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2325 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2326 possible while still providing features that make playing difficult Sudoku
2328 (license license:gpl2+)))
2330 (define-public gnome-terminal
2332 (name "gnome-terminal")
2337 (uri (string-append "mirror://gnome/sources/" name "/"
2338 (version-major+minor version) "/"
2339 name "-" version ".tar.xz"))
2342 "08ssch8h1y85wyhddkyr7ab4v8dnsn17z4ayyc5ff78gfdh30f7m"))))
2343 (build-system glib-or-gtk-build-system)
2346 (list "--disable-migration" "--disable-search-provider"
2347 "--without-nautilus-extension")
2349 (modify-phases %standard-phases
2350 (add-before 'configure 'patch-/bin/true
2352 (substitute* "configure"
2353 (("/bin/true") (which "true"))))))))
2355 `(("pkg-config" ,pkg-config)
2356 ("desktop-file-utils" ,desktop-file-utils)
2357 ("intltool" ,intltool)
2358 ("itstool" ,itstool)
2359 ("xmllint" ,libxml2)))
2361 `(("dconf" ,dconf)))
2366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2367 ("util-linux" ,util-linux)
2369 (home-page "https://wiki.gnome.org/Apps/Terminal")
2370 (synopsis "Terminal emulator")
2372 "GNOME Terminal is a terminal emulator application for accessing a
2373 UNIX shell environment which can be used to run programs available on
2376 It supports several profiles, multiple tabs and implements several
2377 keyboard shortcuts.")
2378 (license license:gpl3+)))
2380 (define-public colord
2387 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2388 name "-" version ".tar.xz"))
2391 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2392 (build-system glib-or-gtk-build-system)
2394 '(;; The tests want to run valgrind. Punt for now.
2396 #:configure-flags (list "--localstatedir=/var"
2397 ;; GUSB not packaged yet.
2399 ;; No dep on systemd.
2400 "--disable-systemd-login"
2401 ;; Wants to install to global completion dir;
2403 "--disable-bash-completion"
2404 ;; colord-gtk not packaged yet.
2405 "--disable-session-example"
2406 "--with-daemon-user=colord"
2408 (string-append "--with-udevrulesdir="
2409 (assoc-ref %outputs "out")
2410 "/lib/udev/rules.d"))
2412 (modify-phases %standard-phases
2413 (add-before 'configure 'patch-/bin/true
2415 (substitute* "configure"
2416 (("/bin/true") (which "true")))
2417 (substitute* "src/Makefile.in"
2418 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2419 "if test -w $(DESTDIR)$(localstatedir);")))))))
2421 `(("pkg-config" ,pkg-config)
2422 ("gobject-introspection" ,gobject-introspection)
2423 ("libtool" ,libtool)
2424 ("intltool" ,intltool)))
2426 ;; colord.pc refers to all these.
2431 `(("dbus-glib" ,dbus-glib)
2432 ("libgudev" ,libgudev)
2436 ("sane-backends" ,sane-backends)))
2437 (home-page "http://www.freedesktop.org/software/colord/")
2438 (synopsis "Color management service")
2439 (description "Colord is a system service that makes it easy to manage,
2440 install and generate color profiles to accurately color manage input and
2442 (license license:gpl2+)))
2444 (define-public geoclue
2451 (uri (string-append "https://www.freedesktop.org/software/" name
2452 "/releases/" (version-major+minor version) "/"
2453 name "-" version ".tar.xz"))
2456 "0p1ibjf5vzjsahw5xif2si3lj6a00sxhll008jk7w1hj1jfznhww"))
2457 (patches (search-patches "geoclue-config.patch"))))
2458 (build-system glib-or-gtk-build-system)
2460 '(;; The tests want to run the system bus.
2462 #:configure-flags (list ;; Disable bits requiring ModemManager.
2463 "--disable-3g-source"
2464 "--disable-cdma-source"
2465 "--disable-modem-gps-source"
2466 "--with-dbus-service-user=geoclue")
2468 (modify-phases %standard-phases
2469 (add-before 'configure 'patch-/bin/true
2471 (substitute* "configure"
2472 (("/bin/true") (which "true"))))))))
2474 `(("pkg-config" ,pkg-config)
2475 ("intltool" ,intltool)))
2479 ("json-glib" ,json-glib)
2480 ("libsoup" ,libsoup)))
2481 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2482 (synopsis "Geolocation service")
2483 (description "Geoclue is a D-Bus service that provides location
2484 information. The primary goal of the Geoclue project is to make creating
2485 location-aware applications as simple as possible, while the secondary goal is
2486 to ensure that no application can access location information without explicit
2487 permission from user.")
2488 (license license:gpl2+)))
2490 (define-public geocode-glib
2492 (name "geocode-glib")
2496 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2497 (version-major+minor version) "/"
2498 name "-" version ".tar.xz"))
2501 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2502 (build-system gnu-build-system)
2504 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2505 ;; work for the builder. Punt.
2508 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2509 ("gobject-introspection" ,gobject-introspection)
2510 ("pkg-config" ,pkg-config)
2511 ("json-glib" ,json-glib)))
2513 ;; geocode-glib-1.0.pc refers to GIO.
2516 `(("libsoup" ,libsoup)))
2517 (home-page "https://github.com/GNOME/geocode-glib/")
2518 (synopsis "Geocoding and reverse-geocoding library")
2520 "geocode-glib is a convenience library for geocoding (finding longitude,
2521 and latitude from an address) and reverse geocoding (finding an address from
2522 coordinates) using the Nominatim service. geocode-glib caches requests for
2523 faster results and to avoid unnecessary server load.")
2524 (license license:lgpl2.0+)))
2526 (define-public upower
2532 (uri (string-append "https://upower.freedesktop.org/releases/"
2533 name "-" version ".tar.xz"))
2536 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2537 (patches (search-patches "upower-builddir.patch"))))
2538 (build-system glib-or-gtk-build-system)
2540 '( ;; The tests want to contact the system bus, which can't be done in the
2541 ;; build environment. The integration test can run, but the last of
2542 ;; the up-self-tests doesn't. Disable tests for now.
2544 #:configure-flags (list "--localstatedir=/var"
2545 (string-append "--with-udevrulesdir="
2546 (assoc-ref %outputs "out")
2547 "/lib/udev/rules.d"))
2549 (modify-phases %standard-phases
2550 (add-before 'configure 'patch-/bin/true
2552 (substitute* "configure"
2553 (("/bin/true") (which "true")))))
2554 (add-before 'configure 'patch-integration-test
2556 (substitute* "src/linux/integration-test"
2557 (("/usr/bin/python3") (which "python3"))))))))
2559 `(("gobject-introspection" ,gobject-introspection)
2560 ("pkg-config" ,pkg-config)
2561 ("intltool" ,intltool)
2565 ("libxslt" ,libxslt) ;for 'xsltproc'
2566 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2567 ("docbook-xsl" ,docbook-xsl)))
2569 `(("dbus-glib" ,dbus-glib)
2570 ("libgudev" ,libgudev)
2571 ("libusb" ,libusb)))
2572 (home-page "http://upower.freedesktop.org/")
2573 (synopsis "System daemon for managing power devices")
2575 "UPower is an abstraction for enumerating power devices,
2576 listening to device events and querying history and statistics. Any
2577 application or service on the system can access the org.freedesktop.UPower
2578 service via the system message bus.")
2579 (license license:gpl2+)))
2581 (define-public libgweather
2583 (name "libgweather")
2587 (uri (string-append "mirror://gnome/sources/" name "/"
2588 (version-major+minor version) "/"
2589 name "-" version ".tar.xz"))
2592 "02vcnlchcq3hxsm75x2szzkszg1yp1rg164p1b23vnzm9svcaszv"))))
2593 (build-system gnu-build-system)
2596 `(,(string-append "--with-zoneinfo-dir="
2597 (assoc-ref %build-inputs "tzdata")
2600 (modify-phases %standard-phases
2601 (add-before 'check 'pre-check
2602 (lambda* (#:key inputs #:allow-other-keys)
2603 (substitute* "data/check-timezones.sh"
2604 (("/usr/share/zoneinfo/zone.tab")
2605 (string-append (assoc-ref inputs "tzdata")
2606 "/share/zoneinfo/zone.tab")))
2608 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2609 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2610 (substitute* "data/Locations.xml"
2615 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2616 ("gobject-introspection" ,gobject-introspection)
2617 ("pkg-config" ,pkg-config)
2618 ("intltool" ,intltool)))
2620 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2623 ("gdk-pixbuf" ,gdk-pixbuf)
2624 ("libxml2" ,libxml2)
2625 ("libsoup" ,libsoup)))
2627 `(("tzdata" ,tzdata)
2628 ("geocode-glib" ,geocode-glib)))
2629 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2630 (synopsis "Location, time zone, and weather library for GNOME")
2632 "libgweather is a library to access weather information from online
2633 services for numerous locations.")
2634 (license license:gpl2+)))
2636 (define-public gnome-settings-daemon
2638 (name "gnome-settings-daemon")
2643 (uri (string-append "mirror://gnome/sources/" name "/"
2644 (version-major+minor version) "/"
2645 name "-" version ".tar.xz"))
2648 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2649 (build-system glib-or-gtk-build-system)
2651 `(;; Network manager not yet packaged.
2652 #:configure-flags '("--disable-network-manager")
2653 ;; Color management test can't reach the colord system service.
2656 `(("pkg-config" ,pkg-config)
2657 ("intltool" ,intltool)
2658 ("xsltproc" ,libxslt)
2659 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2660 ("docbook-xml" ,docbook-xml-4.2)
2661 ("docbook-xsl" ,docbook-xsl)))
2663 `(("colord" ,colord)
2664 ("libgudev" ,libgudev)
2667 ("pulseaudio" ,pulseaudio)
2668 ("libcanberra" ,libcanberra)
2670 ("libxtst" ,libxtst)
2672 ("libnotify" ,libnotify)
2673 ("geoclue" ,geoclue)
2674 ("geocode-glib" ,geocode-glib)
2675 ("libgweather" ,libgweather)
2676 ("gnome-desktop" ,gnome-desktop)
2679 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2680 ("libwacom" ,libwacom)
2681 ("librsvg" ,librsvg)
2682 ("xf86-input-wacom" ,xf86-input-wacom)))
2683 (home-page "http://www.gnome.org")
2684 (synopsis "GNOME settings daemon")
2686 "This package contains the daemon responsible for setting the various
2687 parameters of a GNOME session and the applications that run under it. It
2688 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2689 settings, themes, mouse settings, and startup of other daemons.")
2690 (license license:gpl2+)))
2692 (define-public totem-pl-parser
2694 (name "totem-pl-parser")
2698 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2699 "totem-pl-parser-" version ".tar.xz"))
2702 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2703 (build-system gnu-build-system)
2705 ;; FIXME: Tests require gvfs.
2708 `(("intltool" ,intltool)
2709 ("glib" ,glib "bin")
2710 ("gobject-introspection" ,gobject-introspection)
2711 ("pkg-config" ,pkg-config)))
2715 ("libxml2" ,libxml2)))
2717 `(("libarchive" ,libarchive)
2718 ("libgcrypt" ,libgcrypt)
2720 ("libsoup" ,libsoup)))
2721 (home-page "https://projects.gnome.org/totem")
2722 (synopsis "Library to parse and save media playlists for GNOME")
2723 (description "Totem-pl-parser is a GObjects-based library to parse and save
2724 playlists in a variety of formats.")
2725 (license license:lgpl2.0+)))
2727 (define-public aisleriot
2733 (uri (string-append "mirror://gnome/sources/" name "/"
2734 (version-major+minor version) "/"
2735 name "-" version ".tar.xz"))
2738 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
2739 (build-system glib-or-gtk-build-system)
2742 '("--with-platform=gtk-only"
2743 "--with-card-theme-formats=svg")))
2745 `(("desktop-file-utils" ,desktop-file-utils)
2746 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2747 ("intltool" ,intltool)
2748 ("itstool" ,itstool)
2749 ("pkg-config" ,pkg-config)
2750 ("xmllint" ,libxml2)))
2753 ("guile" ,guile-2.0)
2754 ("libcanberra" ,libcanberra)
2755 ("librsvg" ,librsvg)))
2756 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2757 (synopsis "Solitaire card games")
2759 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2760 which are easy to play with the aid of a mouse.")
2761 (license license:gpl3+)))
2763 (define-public devhelp
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2774 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2775 (build-system glib-or-gtk-build-system)
2777 `(("intltool" ,intltool)
2778 ("pkg-config" ,pkg-config)))
2780 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2781 ("webkitgtk" ,webkitgtk)))
2782 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2783 (synopsis "API documentation browser for GNOME")
2785 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2786 natively with GTK-Doc (the API reference system developed for GTK+ and used
2787 throughout GNOME for API documentation).")
2788 (license license:gpl2+)))
2797 (uri (string-append "mirror://gnome/sources/" name "/"
2798 (version-major+minor version) "/"
2799 name "-" version ".tar.xz"))
2802 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2803 (build-system gnu-build-system)
2805 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2806 ("gobject-introspection" ,gobject-introspection)
2807 ;;("xorg-server" ,xorg-server) ; for the test suite
2808 ("pkg-config" ,pkg-config)))
2811 ("gdk-pixbuf" ,gdk-pixbuf)
2813 ("libxext" ,libxext)
2814 ("libxfixes" ,libxfixes)
2815 ("libxdamage" ,libxdamage)
2816 ("libxcomposite" ,libxcomposite)
2817 ("libxrandr" ,libxrandr)))
2822 ("gstreamer" ,gstreamer)
2823 ("gst-plugins-base" ,gst-plugins-base)))
2825 `(#:configure-flags (list "--enable-cogl-gst"
2826 ;; Arrange to pass an absolute file name to
2827 ;; dlopen for libGL.so.
2828 (string-append "--with-gl-libname="
2829 (assoc-ref %build-inputs "mesa")
2831 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2832 ;; _FontTransOpen: Unable to Parse address
2833 ;; ${prefix}/share/fonts/X11/misc/
2837 (modify-phases %standard-phases
2838 (add-before 'check 'start-xorg-server
2839 (lambda* (#:key inputs #:allow-other-keys)
2840 ;; The test suite requires a running X server.
2841 (system (format #f "~a/bin/Xvfb :1 &"
2842 (assoc-ref inputs "xorg-server")))
2843 (setenv "DISPLAY" ":1")
2845 (home-page "http://www.cogl3d.org")
2846 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2848 "Cogl is a small library for using 3D graphics hardware to draw pretty
2849 pictures. The API departs from the flat state machine style of OpenGL and is
2850 designed to make it easy to write orthogonal components that can render
2851 without stepping on each others toes.")
2852 (license (list license:expat ; most of the code
2853 license:bsd-3 ; cogl/cogl-point-in-poly.c
2854 license:sgifreeb2.0 ; cogl-path/tesselator/
2855 license:asl2.0)))) ; examples/android/
2857 (define-public clutter
2864 (uri (string-append "mirror://gnome/sources/" name "/"
2865 (version-major+minor version) "/"
2866 name "-" version ".tar.xz"))
2869 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2870 (build-system gnu-build-system)
2872 "doc")) ;9 MiB of gtk-doc HTML pages
2874 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2875 ("gobject-introspection" ,gobject-introspection)
2876 ("pkg-config" ,pkg-config)
2877 ("xsltproc" ,libxslt)))
2883 ("json-glib" ,json-glib)
2885 ("libxcomposite" ,libxcomposite)
2886 ("libxdamage" ,libxdamage)
2887 ("libxext" ,libxext)
2888 ("xinput" ,xinput)))
2890 `(("libxkbcommon" ,libxkbcommon)
2893 `(#:configure-flags (list "--enable-x11-backend=yes"
2895 ;; This produces share/doc/{clutter,cally}.
2896 (string-append "--with-html-dir="
2897 (assoc-ref %outputs "doc")
2899 ;; XXX FIXME: Get test suite working. It would probably fail in the
2900 ;; same way the cogl tests fail, since clutter is based on cogl.
2902 (home-page "http://www.clutter-project.org")
2903 (synopsis "Open GL based interactive canvas library")
2905 "Clutter is an Open GL based interactive canvas library, designed for
2906 creating fast, mainly 2D single window applications such as media box UIs,
2907 presentations, kiosk style applications and so on.")
2908 (license license:lgpl2.0+)))
2910 (define-public clutter-gtk
2912 (name "clutter-gtk")
2917 (uri (string-append "mirror://gnome/sources/" name "/"
2918 (version-major+minor version) "/"
2919 name "-" version ".tar.xz"))
2922 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2923 (build-system gnu-build-system)
2925 `(("pkg-config" ,pkg-config)
2926 ("gobject-introspection" ,gobject-introspection)))
2928 ;; clutter-gtk.pc refers to all these.
2929 `(("clutter" ,clutter)
2931 (home-page "http://www.clutter-project.org")
2932 (synopsis "Open GL based interactive canvas library GTK+ widget")
2934 "Clutter is an Open GL based interactive canvas library, designed for
2935 creating fast, mainly 2D single window applications such as media box UIs,
2936 presentations, kiosk style applications and so on.")
2937 (license license:lgpl2.0+)))
2939 (define-public clutter-gst
2941 (name "clutter-gst")
2946 (uri (string-append "mirror://gnome/sources/" name "/"
2947 (version-major+minor version) "/"
2948 name "-" version ".tar.xz"))
2951 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2952 (build-system gnu-build-system)
2954 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2955 ("pkg-config" ,pkg-config)
2956 ("gobject-introspection" ,gobject-introspection)))
2958 `(("clutter" ,clutter)
2959 ("gstreamer" ,gstreamer)
2960 ("gst-plugins-base" ,gst-plugins-base)))
2961 (home-page "http://www.clutter-project.org")
2962 (synopsis "Integration library for using GStreamer with Clutter")
2964 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2965 It provides a GStreamer sink to upload frames to GL and an actor that
2966 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2967 GL based interactive canvas library.")
2968 (license license:lgpl2.0+)))
2970 (define-public libchamplain
2972 (name "libchamplain")
2977 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2981 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2982 (build-system gnu-build-system)
2983 (arguments '(#:configure-flags '("--enable-vala")))
2985 `(("gobject-introspection" ,gobject-introspection)
2986 ("pkg-config" ,pkg-config)
2989 `(("libsoup" ,libsoup)
2991 ("clutter" ,clutter)
2992 ("clutter-gtk" ,clutter-gtk)
2993 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2997 (home-page "http://projects.gnome.org/libchamplain/")
2998 (synopsis "C library providing a ClutterActor to display maps")
3000 "libchamplain is a C library providing a ClutterActor to display maps.
3001 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3002 and Perl bindings are also available. It supports numerous free map sources
3003 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3004 (license license:lgpl2.1+)))
3013 (uri (string-append "mirror://gnome/sources/" name "/"
3014 (version-major+minor version) "/"
3015 name "-" version ".tar.xz"))
3018 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3019 (build-system gnu-build-system)
3021 `(("intltool" ,intltool)
3022 ("pkg-config" ,pkg-config)
3023 ("gobject-introspection" ,gobject-introspection)))
3026 ("gdk-pixbuf" ,gdk-pixbuf)
3027 ("sqlite" ,sqlite)))
3028 ;; XXX TODO: Figure out how to run the test suite.
3029 (arguments `(#:tests? #f))
3030 (home-page "https://wiki.gnome.org/Projects/Gom")
3031 (synopsis "Object mapper from GObjects to SQLite")
3033 "Gom provides an object mapper from GObjects to SQLite. It helps you
3034 write applications that need to store structured data as well as make complex
3035 queries upon that data.")
3036 (license license:lgpl2.1+)))
3038 (define-public libgames-support
3040 (name "libgames-support")
3044 (uri (string-append "mirror://gnome/sources/" name "/"
3045 (version-major+minor version) "/"
3046 name "-" version ".tar.xz"))
3049 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3050 (build-system gnu-build-system)
3053 (modify-phases %standard-phases
3054 (add-before 'check 'pre-check
3056 ;; tests require a writable HOME.
3057 (setenv "HOME" (getcwd))
3060 `(("intltool" ,intltool)
3061 ("pkg-config" ,pkg-config)
3064 ;; Required by libgames-support-1.0.pc
3066 ("libgee" ,libgee)))
3067 (home-page "https://www.gnome.org/")
3068 (synopsis "Useful functionality shared among GNOME games")
3070 "libgames-support is a small library intended for internal use by
3071 GNOME Games, but it may be used by others.")
3072 (license license:lgpl3+)))
3074 (define-public gnome-klotski
3076 (name "gnome-klotski")
3080 (uri (string-append "mirror://gnome/sources/" name "/"
3081 (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3085 "14w40a1gjlg4l1vhcy0qcf3scmwm2v3vhxnxj269pfqlv8s7alaw"))))
3086 (build-system glib-or-gtk-build-system)
3088 `(("desktop-file-utils" ,desktop-file-utils)
3089 ("intltool" ,intltool)
3090 ("itstool" ,itstool)
3091 ("pkg-config" ,pkg-config)
3092 ("xmllint" ,libxml2)))
3095 ("libgames-support" ,libgames-support)
3096 ("librsvg" ,librsvg)))
3097 (home-page "https://wiki.gnome.org/Apps/Klotski")
3098 (synopsis "Sliding block puzzles")
3100 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3101 the patterned block to the area bordered by green markers. To do so, you will
3102 need to slide other blocks out of the way. Complete each puzzle in as few moves
3104 (license license:gpl2+)))
3106 (define-public grilo
3113 (uri (string-append "mirror://gnome/sources/" name "/"
3114 (version-major+minor version) "/"
3115 name "-" version ".tar.xz"))
3118 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3119 (build-system gnu-build-system)
3121 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3122 ("intltool" ,intltool)
3123 ("pkg-config" ,pkg-config)
3124 ("gobject-introspection" ,gobject-introspection)))
3128 ("libxml2" ,libxml2)
3129 ;; XXX TODO: Add oauth
3130 ("libsoup" ,libsoup)
3131 ("totem-pl-parser" ,totem-pl-parser)))
3134 (modify-phases %standard-phases
3135 (add-after 'unpack 'fix-introspection-install-dir
3136 (lambda* (#:key outputs #:allow-other-keys)
3137 (let ((out (assoc-ref outputs "out")))
3138 (substitute* '("src/Makefile.in"
3139 "libs/pls/Makefile.in"
3140 "libs/net/Makefile.in")
3141 (("@INTROSPECTION_GIRDIR@")
3142 (string-append out "/share/gir-1.0/"))
3143 (("@INTROSPECTION_TYPELIBDIR@")
3144 (string-append out "/lib/girepository-1.0/")))))))))
3145 (native-search-paths
3146 (list (search-path-specification
3147 (variable "GRL_PLUGIN_PATH")
3148 (files (list (string-append "lib/grilo-"
3149 (version-major+minor version)))))))
3150 (home-page "http://live.gnome.org/Grilo")
3151 (synopsis "Framework for discovering and browsing media")
3153 "Grilo is a framework focused on making media discovery and browsing easy
3154 for application developers.")
3155 (license license:lgpl2.1+)))
3157 (define-public grilo-plugins
3159 (name "grilo-plugins")
3164 (uri (string-append "mirror://gnome/sources/" name "/"
3165 (version-major+minor version) "/"
3166 name "-" version ".tar.xz"))
3169 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3170 (build-system gnu-build-system)
3172 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3173 ("intltool" ,intltool)
3174 ("itstool" ,itstool)
3175 ("pkg-config" ,pkg-config)))
3178 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3180 ("libxml2" ,libxml2)
3183 ;; XXX TODO: Add oauth
3184 ;; XXX TODO: Add goa
3185 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3186 ;; XXX TODO: Add lua (needs help finding it)
3187 ("json-glib" ,json-glib)
3190 ("libsoup" ,libsoup)
3191 ("libarchive" ,libarchive)
3192 ("totem-pl-parser" ,totem-pl-parser)))
3194 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3197 ,(version-major+minor version)))
3198 ;; XXX FIXME: Try to get the test suite working. It appears to require
3199 ;; a working system dbus. Inside the build container, all tests fail
3200 ;; with: "assertion failed: (source)". Outside of the build container,
3201 ;; most tests succeed.
3203 (home-page "http://live.gnome.org/Grilo")
3204 (synopsis "Plugins for the Grilo media discovery library")
3206 "Grilo is a framework focused on making media discovery and browsing easy
3207 for application developers.")
3208 (license license:lgpl2.1+)))
3210 (define-public totem
3217 (uri (string-append "mirror://gnome/sources/" name "/"
3218 (version-major+minor version) "/"
3219 name "-" version ".tar.xz"))
3222 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3223 (patches (search-patches "totem-debug-format-fix.patch"))))
3224 (build-system glib-or-gtk-build-system)
3226 `(("pkg-config" ,pkg-config)
3227 ("desktop-file-utils" ,desktop-file-utils)
3228 ("gobject-introspection" ,gobject-introspection)
3229 ("intltool" ,intltool)
3230 ("itstool" ,itstool)
3231 ("xmllint" ,libxml2)))
3233 `(("dconf" ,dconf)))
3236 ("gdk-pixbuf" ,gdk-pixbuf)
3239 ("dbus-glib" ,dbus-glib)
3240 ("clutter" ,clutter)
3241 ("clutter-gtk" ,clutter-gtk)
3242 ("clutter-gst" ,clutter-gst)
3244 ("libxxf86vm" ,libxxf86vm)
3245 ("libxtst" ,libxtst)
3246 ("libxrandr" ,libxrandr)
3247 ("libxml2" ,libxml2)
3248 ("libsoup" ,libsoup)
3249 ("libpeas" ,libpeas)
3250 ("librsvg" ,librsvg)
3252 ("gnome-desktop" ,gnome-desktop)
3253 ("gstreamer" ,gstreamer)
3254 ("gst-plugins-base" ,gst-plugins-base)
3255 ("gst-plugins-good" ,gst-plugins-good)
3256 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3257 ("adwaita-icon-theme" ,adwaita-icon-theme)
3258 ;; XXX We use python-2 because libxml2 because itstool (which needs
3259 ;; libxml) currently uses python-2.
3260 ("python" ,python-2)
3261 ("python-pygobject" ,python2-pygobject)
3262 ;; XXX TODO pylint needed for python support
3263 ("totem-pl-parser" ,totem-pl-parser)
3265 ("grilo-plugins" ,grilo-plugins)
3270 (modify-phases %standard-phases
3272 'install 'wrap-totem
3273 (lambda* (#:key inputs outputs #:allow-other-keys)
3274 (let ((out (assoc-ref outputs "out"))
3275 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3276 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3277 (wrap-program (string-append out "/bin/totem")
3278 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3279 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3281 (home-page "https://wiki.gnome.org/Apps/Videos")
3282 (synopsis "Simple media player for GNOME based on GStreamer")
3283 (description "Totem is a simple yet featureful media player for GNOME
3284 which can read a large number of file formats.")
3285 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3286 ;; to be used and distributed together with GStreamer and Totem. See
3287 ;; file://COPYING in the source distribution for details.
3288 (license license:gpl2+)))
3290 (define-public rhythmbox
3296 (uri (string-append "mirror://gnome/sources/" name "/"
3297 (version-major+minor version) "/"
3298 name "-" version ".tar.xz"))
3301 "1347747m90aiz47wny1f8rdk5195qf2ph0554c6y91711sm951gg"))))
3302 (build-system glib-or-gtk-build-system)
3305 (list "--enable-lirc"
3312 (modify-phases %standard-phases
3314 'install 'wrap-rhythmbox
3315 (lambda* (#:key inputs outputs #:allow-other-keys)
3316 (let ((out (assoc-ref outputs "out"))
3317 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3318 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3319 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3320 (python-path (getenv "PYTHONPATH")))
3321 (wrap-program (string-append out "/bin/rhythmbox")
3322 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3323 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3324 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3325 `("PYTHONPATH" ":" prefix (,python-path))))
3328 `(("dconf" ,dconf)))
3330 `(("itstool" ,itstool)
3331 ("intltool" ,intltool)
3332 ("glib" ,glib "bin")
3333 ("gobject-introspection" ,gobject-introspection)
3334 ("desktop-file-utils" ,desktop-file-utils)
3335 ("pkg-config" ,pkg-config)
3336 ("xmllint" ,libxml2)))
3338 `(("json-glib" ,json-glib)
3340 ("gnome-desktop" ,gnome-desktop)
3342 ("python-pygobject" ,python2-pygobject)
3346 ("adwaita-icon-theme" ,adwaita-icon-theme)
3348 ("grilo-plugins" ,grilo-plugins)
3349 ("gstreamer" ,gstreamer)
3350 ("gst-plugins-base" ,gst-plugins-base)
3351 ("gst-plugins-good" ,gst-plugins-good)
3352 ("totem-pl-parser" ,totem-pl-parser)
3353 ("libgudev" ,libgudev)
3354 ;;("libmtp" ,libmtp) FIXME: Not detected
3355 ("libsecret" ,libsecret)
3356 ("libsoup" ,libsoup)
3357 ("libnotify" ,libnotify)
3358 ("libpeas" ,libpeas)
3360 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3361 ;;("clutter" ,clutter)
3362 ;;("clutter-gtk" ,clutter-gtk)
3363 ;;("clutter-gst" ,clutter-gst)
3364 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3371 ("brasero" ,brasero)))
3372 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3373 (synopsis "Music player for GNOME")
3374 (description "Rhythmbox is a music playing application for GNOME. It
3375 supports playlists, song ratings, and any codecs installed through gstreamer.")
3376 (license license:gpl2+)))
3384 (uri (string-append "mirror://gnome/sources/" name "/"
3385 (version-major+minor version) "/"
3386 name "-" version ".tar.xz"))
3389 "1qsv3brhi8l8fr22nd3d0fwq5xhwspqw0bammhkkq3ga0z6791wn"))))
3390 (build-system glib-or-gtk-build-system)
3393 (modify-phases %standard-phases
3396 (lambda* (#:key outputs #:allow-other-keys)
3397 (let ((out (assoc-ref outputs "out"))
3398 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3399 (wrap-program (string-append out "/bin/eog")
3400 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3403 `(("dconf" ,dconf)))
3405 `(("intltool" ,intltool)
3406 ("itstool" ,itstool)
3407 ("glib" ,glib "bin")
3408 ("gobject-introspection" ,gobject-introspection)
3409 ("pkg-config" ,pkg-config)
3410 ("xmllint" ,libxml2)))
3412 `(("gnome-desktop" ,gnome-desktop)
3413 ("shared-mime-info" ,shared-mime-info)
3414 ("adwaita-icon-theme" ,adwaita-icon-theme)
3417 ("libexif" ,libexif)
3418 ("libpeas" ,libpeas)
3419 ("libjpeg" ,libjpeg)
3420 ("librsvg" ,librsvg)
3421 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3423 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3424 (synopsis "GNOME image viewer")
3425 (description "Eye of GNOME is the GNOME image viewer. It
3426 supports image conversion, rotation, and slideshows.")
3427 (license license:gpl2+)))
3429 (define-public libgudev
3435 (uri (string-append "mirror://gnome/sources/" name "/"
3436 version "/" name "-" version ".tar.xz"))
3439 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3440 (build-system gnu-build-system)
3442 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3443 ("gobject-introspection" ,gobject-introspection)
3444 ("pkg-config" ,pkg-config)))
3446 `(("glib" ,glib))) ; required by gudev-1.0.pc
3449 (home-page "https://wiki.gnome.org/Projects/libgudev")
3450 (synopsis "GObject bindings for libudev")
3452 "This library provides GObject bindings for libudev. It was originally
3453 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3454 (license license:lgpl2.1+)))
3462 (uri (string-append "mirror://gnome/sources/" name "/"
3463 (version-major+minor version) "/"
3464 name "-" version ".tar.xz"))
3467 "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325"))))
3468 (build-system gnu-build-system)
3470 '(#:tests? #f)) ; XXX: requiring `pidof'
3472 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3473 ("intltool" ,intltool)
3474 ("pkg-config" ,pkg-config)
3475 ("xsltproc" ,libxslt)))
3478 ("docbook-xml" ,docbook-xml-4.2)
3479 ("docbook-xsl" ,docbook-xsl)
3484 ("libarchive" ,libarchive)
3485 ("libbluray" ,libbluray)
3486 ("libcdio-paranoia" ,libcdio-paranoia)
3487 ("libgcrypt" ,libgcrypt)
3488 ("libgphoto2" ,libgphoto2)
3489 ("libgudev" ,libgudev)
3491 ("libsecret" ,libsecret)
3492 ("libsmbclient" ,samba)
3493 ("libsoup" ,libsoup)
3494 ("libxml2" ,libxml2)
3495 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3496 ("udisks" ,udisks)))
3497 (home-page "https://wiki.gnome.org/gvfs/")
3498 (synopsis "Userspace virtual file system for GIO")
3500 "GVFS is a userspace virtual file system designed to work with the I/O
3501 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3502 to all applications using the GIO API. It also supports exposing the GVFS
3503 mounts to non-GIO applications using FUSE.
3505 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3507 (license license:lgpl2.0+)))
3515 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3517 (string-join (string-split version #\.)
3522 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3523 (build-system gnu-build-system)
3525 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3526 ("gobject-introspection" ,gobject-introspection)
3527 ("pkg-config" ,pkg-config)
3529 ("autoconf" ,autoconf)
3530 ("automake" ,automake)
3531 ("libtool" ,libtool)
3532 ("gtk-doc" ,gtk-doc)))
3534 ;; Both of these are required by gusb.pc.
3536 ("libusb" ,libusb)))
3538 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3540 (modify-phases %standard-phases
3541 (add-after 'unpack 'autogen
3543 (and (zero? (system* "gtkdocize"))
3544 (zero? (system* "autoreconf" "-vif"))))))))
3545 (home-page "https://github.com/hughsie/libgusb")
3546 (synopsis "GLib binding for libusb1")
3548 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3549 asynchronous control, bulk and interrupt transfers with proper cancellation
3550 and integration into a mainloop. This makes it easy to integrate low level
3551 USB transfers with your high-level application or system daemon.")
3552 (license license:lgpl2.1+)))
3554 (define-public simple-scan
3556 (name "simple-scan")
3557 (version "3.22.0.1")
3560 (uri (string-append "https://launchpad.net/simple-scan/"
3561 (version-major+minor version) "/"
3562 version "/+download/simple-scan-"
3566 "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"))))
3567 (build-system glib-or-gtk-build-system)
3572 ("gdk-pixbuf" ,gdk-pixbuf)
3574 ("libsane" ,sane-backends)))
3576 `(("gettext" ,gettext-minimal)
3577 ("itstool" ,itstool)
3579 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3580 ("pkg-config" ,pkg-config)
3582 ("xmllint" ,libxml2)))
3584 '(#:configure-flags '("--disable-packagekit")
3586 (modify-phases %standard-phases
3587 (add-after 'unpack 'clean
3589 ;; Remove a left-over reference to PackageKit.
3591 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3593 ;; There are some generated C files erroneously
3594 ;; included in the source distribution, and this
3595 ;; one breaks the build by referring to a
3596 ;; non-existent header (packagekit.h)
3597 (delete-file "src/ui.c"))))))
3598 (home-page "https://launchpad.net/simple-scan")
3599 (synopsis "Document and image scanner")
3600 (description "Simple Scan is an easy-to-use application, designed to let
3601 users connect their scanner and quickly have the image/document in an
3602 appropriate format. Simple Scan is basically a frontend for SANE - which is
3603 the same backend as XSANE uses. This means that all existing scanners will
3604 work and the interface is well tested.")
3605 (license license:gpl3+)))
3607 (define-public epiphany
3613 (uri (string-append "mirror://gnome/sources/" name "/"
3614 (version-major+minor version) "/"
3615 name "-" version ".tar.xz"))
3618 "03ncqmb8n06qr88rlwa2rph833gjcwsmxaw2wf1yawadwpnn5cda"))))
3619 (build-system glib-or-gtk-build-system)
3621 ;; FIXME: tests run under Xvfb, but fail with:
3622 ;; /src/bookmarks/ephy-bookmarks/create:
3623 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3628 `(("dconf" ,dconf)))
3630 `(("intltool" ,intltool)
3631 ("itstool" ,itstool)
3632 ("pkg-config" ,pkg-config)
3633 ("xmllint" ,libxml2)))
3637 ("glib-networking" ,glib-networking)
3638 ("gnome-desktop" ,gnome-desktop)
3639 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3640 ("iso-codes" ,iso-codes)
3641 ("libnotify" ,libnotify)
3642 ("libsecret" ,libsecret)
3643 ("libxslt" ,libxslt)
3645 ("webkitgtk" ,webkitgtk)))
3646 (home-page "https://wiki.gnome.org/Apps/Web")
3647 (synopsis "GNOME web browser")
3649 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3650 principles are simplicity and standards compliance.")
3651 (license license:gpl2+)))
3653 (define-public d-feet
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.xz"))
3664 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3665 (build-system glib-or-gtk-build-system)
3667 '(#:out-of-source? #f ; tests need to run in the source directory.
3669 (modify-phases %standard-phases
3673 ;; The test suite requires a running X server.
3674 (system "Xvfb :1 &")
3675 (setenv "DISPLAY" ":1")
3676 ;; Don't fail on missing '/etc/machine-id'.
3677 (setenv "DBUS_FATAL_WARNINGS" "0")
3678 ;; tests.py and window.py don't meet E402:
3679 ;; E402 module level import not at top of file
3680 (substitute* "src/tests/Makefile"
3681 (("--ignore=E123") "--ignore=E123,E402"))
3684 'install 'wrap-program
3685 (lambda* (#:key outputs #:allow-other-keys)
3686 (let ((prog (string-append (assoc-ref outputs "out")
3689 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3690 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3693 `(("intltool" ,intltool)
3694 ("itstool" ,itstool)
3695 ("pkg-config" ,pkg-config)
3696 ("python-pep8" ,python-pep8)
3697 ("xmllint" ,libxml2)
3698 ("xorg-server" ,xorg-server)))
3700 `(("gobject-introspection" ,gobject-introspection)
3702 ("python" ,python-wrapper)
3703 ("python-pygobject" ,python-pygobject)))
3704 (home-page "https://wiki.gnome.org/Apps/DFeet")
3705 (synopsis "D-Bus debugger")
3707 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3708 of running programs and invoke methods on those interfaces.")
3709 (license license:gpl2+)))
3711 (define-public yelp-xsl
3717 (uri (string-append "mirror://gnome/sources/" name "/"
3718 (version-major+minor version) "/"
3719 name "-" version ".tar.xz"))
3722 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3723 (build-system gnu-build-system)
3725 `(("intltool" ,intltool)
3726 ("itstool" ,itstool)
3727 ("xmllint" ,libxml2)))
3728 (home-page "https://wiki.gnome.org/Apps/Yelp")
3729 (synopsis "XSL stylesheets for Yelp")
3731 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3732 to format Docbook and Mallard documents.")
3733 (license license:gpl2+)))
3741 (uri (string-append "mirror://gnome/sources/" name "/"
3742 (version-major+minor version) "/"
3743 name "-" version ".tar.xz"))
3746 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3747 (build-system glib-or-gtk-build-system)
3749 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3750 ("intltool" ,intltool)
3751 ("itstool" ,itstool)
3752 ("pkg-config" ,pkg-config)))
3754 `(("dconf" ,dconf)))
3756 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3757 ("libxslt" ,libxslt)
3759 ("webkitgtk" ,webkitgtk)
3760 ("yelp-xsl" ,yelp-xsl)))
3761 (home-page "https://wiki.gnome.org/Apps/Yelp")
3762 (synopsis "GNOME help browser")
3764 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3765 man, info, and HTML documents. It can locate documents according to the
3766 freedesktop.org help system specification.")
3767 (license license:gpl2+)))
3769 (define-public yelp-tools
3775 (uri (string-append "mirror://gnome/sources/" name "/"
3776 (version-major+minor version) "/"
3777 name "-" version ".tar.xz"))
3780 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3781 (build-system gnu-build-system)
3783 `(("pkg-config" ,pkg-config)))
3785 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3786 `(("itstool" ,itstool)
3787 ("xmllint" ,libxml2)
3788 ("xsltproc" ,libxslt)))
3790 `(("yelp-xsl" ,yelp-xsl)))
3791 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3792 (synopsis "Yelp documentation tools")
3794 "Yelp-tools is a collection of scripts and build utilities to help create,
3795 manage, and publish documentation for Yelp and the web. Most of the heavy
3796 lifting is done by packages like yelp-xsl and itstool. This package just
3797 wraps things up in a developer-friendly way.")
3798 (license license:gpl2+)))
3800 (define-public libgee
3806 (uri (string-append "mirror://gnome/sources/" name "/"
3807 (version-major+minor version) "/"
3808 name "-" version ".tar.xz"))
3811 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3812 (build-system gnu-build-system)
3815 (modify-phases %standard-phases
3816 (add-after 'unpack 'fix-introspection-install-dir
3817 (lambda* (#:key outputs #:allow-other-keys)
3818 (let ((out (assoc-ref outputs "out")))
3819 (substitute* "gee/Makefile.in"
3820 (("@INTROSPECTION_GIRDIR@")
3821 (string-append out "/share/gir-1.0/"))
3822 (("@INTROSPECTION_TYPELIBDIR@")
3823 (string-append out "/lib/girepository-1.0/")))))))))
3825 `(("glib" ,glib "bin")
3826 ("pkg-config" ,pkg-config)))
3829 ("gobject-introspection" ,gobject-introspection)))
3830 (home-page "https://wiki.gnome.org/Projects/Libgee")
3831 (synopsis "GObject collection library")
3833 "Libgee is a utility library providing GObject-based interfaces and
3834 classes for commonly used data structures.")
3835 (license license:lgpl2.1+)))
3837 (define-public gexiv2
3843 (uri (string-append "mirror://gnome/sources/" name "/"
3844 (version-major+minor version) "/"
3845 name "-" version ".tar.xz"))
3848 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3849 (build-system gnu-build-system)
3851 `(("glib" ,glib "bin")
3852 ("pkg-config" ,pkg-config)))
3854 ;; Listed in "Requires" section of gexiv2.pc
3855 `(("exiv2" ,exiv2)))
3858 ("gobject-introspection" ,gobject-introspection)))
3859 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3860 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3862 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3863 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3864 metadata in photo and video files of various formats.")
3865 (license license:gpl2+)))
3867 (define-public shotwell
3870 (version "0.25.0.1")
3873 (uri (string-append "mirror://gnome/sources/" name "/"
3874 (version-major+minor version) "/"
3875 name "-" version ".tar.xz"))
3878 "19h0ckrgv0c6sj85m6ankyqkmy453ph9kq6zhf7ys2k5xsrrd776"))))
3879 (build-system glib-or-gtk-build-system)
3881 `(("dconf" ,dconf)))
3883 `(("pkg-config" ,pkg-config)
3884 ("itstool" ,itstool)
3885 ("gettext" ,gettext-minimal)
3886 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
3887 ("itstool" ,itstool)
3890 `(("glib:bin" ,glib "bin")
3891 ("gstreamer" ,gstreamer)
3892 ("gst-plugins-base" ,gst-plugins-base)
3896 ("json-glib" ,json-glib)
3897 ("webkitgtk" ,webkitgtk)
3899 ("libsoup" ,libsoup)
3900 ("libxml2" ,libxml2)
3901 ("libgudev" ,libgudev)
3902 ("libgphoto2" ,libgphoto2)
3904 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3905 (synopsis "Photo manager for GNOME 3")
3907 "Shotwell is a digital photo manager designed for the GNOME desktop
3908 environment. It allows you to import photos from disk or camera, organize
3909 them by keywords and events, view them in full-window or fullscreen mode, and
3910 share them with others via social networking and more.")
3911 (license license:lgpl2.1+)))
3913 (define-public file-roller
3915 (name "file-roller")
3919 (uri (string-append "mirror://gnome/sources/" name "/"
3920 (version-major+minor version) "/"
3921 name "-" version ".tar.xz"))
3924 "1sa46vjx78d670m6bikpibgz39a5zb6ri8yjmj632lmxqvj2sp3b"))))
3925 (build-system glib-or-gtk-build-system)
3928 (modify-phases %standard-phases
3929 (add-before 'install 'skip-gtk-update-icon-cache
3931 ;; Don't create 'icon-theme.cache'
3932 (substitute* (find-files "data" "^Makefile$")
3933 (("gtk-update-icon-cache") (which "true")))
3936 `(("intltool" ,intltool)
3937 ("pkg-config" ,pkg-config)))
3938 ;; TODO: Add libnautilus.
3941 ("gdk-pixbuf" ,gdk-pixbuf)
3942 ("json-glib" ,json-glib)
3943 ("libarchive" ,libarchive)
3944 ("libnotify" ,libnotify)
3946 ("itstool" ,itstool)
3947 ("libxml2" ,libxml2)))
3948 (synopsis "Graphical archive manager for GNOME")
3949 (description "File Roller is an archive manager for the GNOME desktop
3950 environment that allows users to view, unpack, and create compressed archives
3951 such as gzip tarballs.")
3952 (home-page "http://fileroller.sourceforge.net/")
3953 (license license:gpl2+)))
3955 (define-public gnome-session
3957 (name "gnome-session")
3961 (uri (string-append "mirror://gnome/sources/" name "/"
3962 (version-major+minor version) "/"
3963 name "-" version ".tar.xz"))
3966 "1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"))))
3969 (modify-phases %standard-phases
3970 (add-before 'configure 'pre-configure
3971 (lambda* (#:key outputs #:allow-other-keys)
3972 ;; Use elogind instead of systemd.
3973 (substitute* "configure"
3974 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3976 (("systemd") "elogind"))
3977 (substitute* "gnome-session/gsm-systemd.c"
3978 (("#include <systemd/sd-login.h>")
3979 "#include <elogind/sd-login.h>"))
3980 ;; Remove uses of the systemd journal.
3981 (substitute* "gnome-session/main.c"
3982 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3983 (substitute* "gnome-session/gsm-manager.c"
3984 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3985 (substitute* "gnome-session/gsm-autostart-app.c"
3986 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3988 (add-after 'install 'wrap-gnome-session
3989 (lambda* (#:key inputs outputs #:allow-other-keys)
3990 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3991 (let ((glib (assoc-ref inputs "glib:bin"))
3992 (out (assoc-ref outputs "out")))
3993 (wrap-program (string-append out "/bin/gnome-session")
3994 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3996 (add-after 'install 'disable-hardware-acceleration-check
3997 (lambda* (#:key outputs #:allow-other-keys)
3998 ;; Do not abort if hardware acceleration is missing. This allows
3999 ;; GNOME to run in QEMU and on low-end devices.
4000 (let ((out (assoc-ref outputs "out")))
4001 (substitute* (string-append out
4002 "/share/xsessions/gnome.desktop")
4004 "gnome-session --disable-acceleration-check"))
4008 '("--enable-elogind")))
4009 (build-system glib-or-gtk-build-system)
4011 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4012 ("pkg-config" ,pkg-config)
4013 ("intltool" ,intltool)
4014 ("xsltproc" ,libxslt)))
4016 `(("elogind" ,elogind)
4017 ("gnome-desktop" ,gnome-desktop)
4018 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4020 ("json-glib" ,json-glib)
4022 ("libxcomposite" ,libxcomposite)
4023 ("libxtst" ,libxtst)
4026 ("xtrans" ,xtrans)))
4027 (synopsis "Session manager for GNOME")
4029 "This package contains the GNOME session manager, as well as a
4030 configuration program to choose applications starting on login.")
4031 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4032 (license license:gpl2+)))
4040 (uri (string-append "mirror://gnome/sources/" name "/"
4041 (version-major+minor version) "/"
4042 name "-" version ".tar.xz"))
4045 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4046 (modules '((guix build utils)))
4047 (snippet '(substitute* "test/run-with-dbus"
4048 (("/bin/rm") "rm")))))
4049 (build-system gnu-build-system)
4052 (modify-phases %standard-phases
4056 ;; For the missing /etc/machine-id.
4057 (setenv "DBUS_FATAL_WARNINGS" "0")
4060 ;; Failed to convert UTF-8 string to JS string: ...
4061 ;; TODO: actually fix it.
4062 (substitute* "installed-tests/js/testEverythingBasic.js"
4063 ((".*test_utf8_inout.*") ""))
4066 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4067 ("pkg-config" ,pkg-config)
4068 ("xmllint" ,libxml2)
4070 ("dbus-launch" ,dbus)
4071 ("uuidgen" ,util-linux)
4072 ("xvfb" ,xorg-server)))
4074 ;; These are all in the Requires.private field of gjs-1.0.pc.
4075 `(("gobject-introspection" ,gobject-introspection)
4076 ("mozjs" ,mozjs-24)))
4079 ("readline" ,readline)))
4080 (synopsis "Javascript bindings for GNOME")
4081 (home-page "http://live.gnome.org/Gjs")
4083 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4084 javascript engine and the GObject introspection framework.")
4085 (license license:gpl2+)))
4087 (define-public gedit
4093 (uri (string-append "mirror://gnome/sources/" name "/"
4094 (version-major+minor version) "/"
4095 name "-" version ".tar.xz"))
4098 "1y330hanqfld3kssf77wfphah2qpfg17pa109spsbm50f5m2g89j"))))
4099 (build-system glib-or-gtk-build-system)
4101 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4103 (modify-phases %standard-phases
4105 'install 'wrap-gedit
4106 (lambda* (#:key inputs outputs #:allow-other-keys)
4107 (let ((out (assoc-ref outputs "out"))
4108 (gtksourceview (assoc-ref inputs "gtksourceview"))
4109 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4110 (python-path (getenv "PYTHONPATH")))
4111 (wrap-program (string-append out "/bin/gedit")
4113 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4114 `("PYTHONPATH" ":" prefix (,python-path))
4115 ;; For language-specs.
4116 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4120 `(("dconf" ,dconf)))
4122 `(("intltool" ,intltool)
4123 ("itstool" ,itstool)
4124 ("gobject-introspection" ,gobject-introspection)
4125 ("pkg-config" ,pkg-config)))
4129 ("gtksourceview" ,gtksourceview)
4130 ("libpeas" ,libpeas)
4131 ("libxml2" ,libxml2)
4132 ("iso-codes" ,iso-codes)
4133 ("python-pygobject" ,python-pygobject)
4135 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4138 ("adwaita-icon-theme" ,adwaita-icon-theme)
4139 ("libsoup" ,libsoup)
4140 ("gnome-desktop" ,gnome-desktop)))
4141 (home-page "https://wiki.gnome.org/Apps/Gedit")
4142 (synopsis "GNOME text editor")
4143 (description "While aiming at simplicity and ease of use, gedit is a
4144 powerful general purpose text editor.")
4145 (license license:gpl2+)))
4147 (define-public zenity
4153 (uri (string-append "mirror://gnome/sources/" name "/"
4154 (version-major+minor version) "/"
4155 name "-" version ".tar.xz"))
4158 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4159 (build-system gnu-build-system)
4161 `(("gettext" ,gettext-minimal)
4162 ("itstool" ,itstool)
4163 ("pkg-config" ,pkg-config)))
4165 `(("libnotify" ,libnotify)
4166 ("webkitgtk" ,webkitgtk)))
4167 (synopsis "Display graphical dialog boxes from shell scripts")
4168 (home-page "http://www.gnome.org")
4170 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4171 to display dialog boxes from the commandline and shell scripts.")
4172 (license license:lgpl2.0+)))
4174 (define-public mutter
4180 (uri (string-append "mirror://gnome/sources/" name "/"
4181 (version-major+minor version) "/"
4182 name "-" version ".tar.xz"))
4185 "05pr78vgq52bkkqpbfnp9mxw14ij2wk91l2yfa69dpjbvxqm4b0l"))))
4186 (build-system gnu-build-system)
4189 ;; XXX: build fails with [-Werror]:
4190 ;; backends/meta-cursor-renderer.c:112:5: error:
4191 ;; implicit declaration of function ?roundf?
4192 '("--enable-compile-warnings=minimum")))
4194 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4195 ("gobject-introspection" ,gobject-introspection)
4196 ("intltool" ,intltool)
4197 ("pkg-config" ,pkg-config)))
4199 ;; libmutter.pc refers to all these.
4200 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4202 ("clutter" ,clutter)))
4204 `(("gnome-desktop" ,gnome-desktop)
4205 ("libcanberra-gtk" ,libcanberra)
4208 ("libxkbcommon" ,libxkbcommon)
4209 ("libxkbfile" ,libxkbfile)
4210 ("mesa-headers" ,mesa-headers)
4211 ("startup-notification" ,startup-notification)
4212 ("upower-glib" ,upower)
4213 ("xkeyboard-config" ,xkeyboard-config)
4214 ("zenity" ,zenity)))
4215 (synopsis "Window and compositing manager")
4216 (home-page "http://www.gnome.org")
4218 "Mutter is a window and compositing manager that displays and manages your
4219 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4220 Clutter toolkit with solid window-management logic inherited from the Metacity
4222 (license license:gpl2+)))
4224 (define-public gnome-online-accounts
4226 (name "gnome-online-accounts")
4230 (uri (string-append "mirror://gnome/sources/" name "/"
4231 (version-major+minor version) "/"
4232 name "-" version ".tar.xz"))
4235 "0ip0q539bik3wqwl867rjc63w2d5rjyvbqzwczkard70yd6c0kq9"))))
4236 (build-system glib-or-gtk-build-system)
4238 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4239 ("gobject-introspection" ,gobject-introspection)
4240 ("intltool" ,intltool)
4241 ("pkg-config" ,pkg-config)
4242 ("xsltproc" ,libxslt)))
4244 `(("glib" ,glib) ; required by goa-1.0.pc
4245 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4247 `(("docbook-xsl" ,docbook-xsl)
4248 ("json-glib" ,json-glib)
4249 ("libsecret" ,libsecret)
4251 ("telepathy-glib" ,telepathy-glib)
4252 ("webkitgtk" ,webkitgtk)))
4253 (synopsis "Single sign-on framework for GNOME")
4254 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4256 "GNOME Online Accounts provides interfaces so that applications and
4257 libraries in GNOME can access the user's online accounts. It has providers for
4258 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4259 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4260 (license license:lgpl2.0+)))
4262 (define-public evolution-data-server
4264 (name "evolution-data-server")
4268 (uri (string-append "mirror://gnome/sources/" name "/"
4269 (version-major+minor version) "/"
4270 name "-" version ".tar.xz"))
4273 "0zmybf63y0d5zn48q3xjgkh2p2c3ka9xvzd6labp96bd6b6qc58d"))))
4274 (build-system gnu-build-system)
4276 '(;; XXX: fails with:
4277 ;; /Fixture/Calendar0: cleaning up pid xxxx
4281 (let ((nss (assoc-ref %build-inputs "nss"))
4282 (nspr (assoc-ref %build-inputs "nspr")))
4283 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4284 "--disable-google" ; disable Google Contacts support
4285 "--disable-google-auth" ; disable Google authentication
4286 "--enable-vala-bindings"
4287 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4288 (string-append "--with-nss-includes=" nss "/include/nss")
4289 (string-append "--with-nss-libs=" nss "/lib/nss")))
4291 (modify-phases %standard-phases
4292 (add-before 'check 'pre-check
4294 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4295 (("/bin/rm") (which "rm")))
4298 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4299 ("gobject-introspection" ,gobject-introspection)
4301 ("intltool" ,intltool)
4302 ("pkg-config" ,pkg-config)
4304 ("python" ,python)))
4306 ;; These are all in the Requires field of .pc files.
4308 ("libical" ,libical)
4309 ("libsecret" ,libsecret)
4310 ("libsoup" ,libsoup)
4312 ("sqlite" ,sqlite)))
4316 ("gnome-online-accounts" ,gnome-online-accounts)
4317 ("libgweather" ,libgweather)))
4318 (synopsis "Store address books and calendars")
4319 (home-page "https://wiki.gnome.org/Apps/Evolution")
4321 "This package provides a unified backend for programs that work with
4322 contacts, tasks, and calendar information. It was originally developed for
4323 Evolution (hence the name), but is now used by other packages as well.")
4324 (license license:lgpl2.0)))
4326 (define-public caribou
4332 (uri (string-append "mirror://gnome/sources/" name "/"
4333 (version-major+minor version) "/"
4334 name "-" version ".tar.xz"))
4337 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4338 (build-system glib-or-gtk-build-system)
4341 (modify-phases %standard-phases
4344 (lambda* (#:key outputs #:allow-other-keys)
4345 (let ((out (assoc-ref outputs "out")))
4346 ;; Use absolute shared library path in Caribou-1.0.typelib.
4347 (substitute* "libcaribou/Makefile"
4348 (("--shared-library=libcaribou.so")
4349 (string-append "--shared-library="
4350 out "/lib/libcaribou.so")))
4352 (add-after 'install 'wrap-programs
4353 (lambda* (#:key outputs #:allow-other-keys)
4354 (let* ((out (assoc-ref outputs "out"))
4355 (python-path (getenv "PYTHONPATH"))
4356 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4360 `("PYTHONPATH" ":" prefix (,python-path))
4361 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4362 (list (string-append out "/bin/caribou-preferences")
4363 (string-append out "/libexec/antler-keyboard"))))
4366 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4367 ("gobject-introspection" ,gobject-introspection)
4368 ("intltool" ,intltool)
4369 ("pkg-config" ,pkg-config)
4370 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4372 ("xsltproc" ,libxslt)))
4374 ;; caribou-1.0.pc refers to all these.
4375 `(("libgee" ,libgee)
4376 ("libxklavier" ,libxklavier)
4377 ("libxtst" ,libxtst)
4380 `(("clutter" ,clutter)
4383 ("python-pygobject" ,python2-pygobject)))
4384 (synopsis "Text entry and UI navigation application")
4385 (home-page "https://wiki.gnome.org/Projects/Caribou")
4387 "Caribou is an input assistive technology intended for switch and pointer
4389 (license license:lgpl2.1)))
4391 (define-public network-manager
4393 (name "network-manager")
4397 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4398 (version-major+minor version) "/"
4399 "NetworkManager-" version ".tar.xz"))
4402 "016jc21mwjxvnfiblp5lji55sr8aq6w8a08fsjmqvnpnvm3y6r58"))))
4403 (build-system gnu-build-system)
4405 "doc")) ; 8 MiB of gtk-doc HTML
4408 (let ((out (assoc-ref %outputs "out"))
4409 (doc (assoc-ref %outputs "doc"))
4410 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4412 (list "--with-crypto=gnutls"
4413 "--disable-config-plugin-ibft"
4415 "--localstatedir=/var"
4416 (string-append "--with-udev-dir="
4418 (string-append "--with-dbus-sys-dir="
4419 out "/etc/dbus-1/system.d")
4420 (string-append "--with-html-dir="
4421 doc "/share/gtk-doc/html")
4422 (string-append "--with-dhclient=" dhclient)))
4424 (modify-phases %standard-phases
4425 (add-before 'configure 'pre-configure
4427 ;; These tests try to test aspects of network-manager's
4428 ;; functionality within restricted containers, but they don't
4429 ;; cope with being already in the Guix build jail as that jail
4430 ;; lacks some features that they would like to proxy over (like
4432 (substitute* '("src/platform/Makefile.in"
4433 "src/devices/Makefile.in")
4434 (("SUBDIRS = tests") ""))
4435 (substitute* '("src/tests/Makefile.in")
4436 (("\ttest-route-manager-linux") "\t")
4437 (("\ttest-route-manager-fake") "\t"))
4439 (add-before 'check 'pre-check
4441 ;; For the missing /etc/machine-id.
4442 (setenv "DBUS_FATAL_WARNINGS" "0")
4446 (zero? (system* "make"
4454 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4455 ("gobject-introspection" ,gobject-introspection)
4456 ("intltool" ,intltool)
4457 ("pkg-config" ,pkg-config)
4459 ("python" ,python-wrapper)
4460 ("python-dbus" ,python-dbus)
4461 ("python-pygobject" ,python-pygobject)))
4463 `(("dbus-glib" ,dbus-glib)
4464 ("dnsmasq" ,dnsmasq)
4466 ("iptables" ,iptables)
4467 ("isc-dhcp" ,isc-dhcp)
4468 ("libgcrypt" ,libgcrypt)
4469 ("libgudev" ,libgudev)
4472 ("libsoup" ,libsoup)
4473 ("modem-manager" ,modem-manager)
4476 ("readline" ,readline)
4477 ("util-linux" ,util-linux)))
4478 (synopsis "Network connection manager")
4479 (home-page "http://www.gnome.org/projects/NetworkManager/")
4481 "NetworkManager is a system network service that manages your network
4482 devices and connections, attempting to keep active network connectivity when
4483 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4484 devices, and provides VPN integration with a variety of different VPN
4486 (license license:gpl2+)
4487 (properties '((upstream-name . "NetworkManager")))))
4489 (define-public mobile-broadband-provider-info
4491 (name "mobile-broadband-provider-info")
4492 (version "20151214")
4496 "mirror://gnome/sources/"
4497 "mobile-broadband-provider-info/" version "/"
4498 "mobile-broadband-provider-info-" version ".tar.xz"))
4501 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4502 (build-system gnu-build-system)
4504 `(#:tests? #f)) ; No tests
4505 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4506 (synopsis "Database of broadband connection configuration")
4507 (description "Database of broadband connection configuration.")
4508 (license license:public-domain)))
4510 (define-public network-manager-applet
4512 (name "network-manager-applet")
4516 (uri (string-append "mirror://gnome/sources/" name "/"
4517 (version-major+minor version) "/"
4518 name "-" version ".tar.xz"))
4521 "16a43sl9aijmvxbb08hbjqyjnlshj8dckycbgi9nm333fr47n6s3"))))
4522 (build-system glib-or-gtk-build-system)
4523 ;; TODO: WWAN support supposedly requires an update of glibmm which in turn
4524 ;; requires an update of the its dependencies (glib and others).
4525 (arguments '(#:configure-flags '("--disable-migration"
4528 `(("intltool" ,intltool)
4529 ("gobject-introspection" ,gobject-introspection)
4530 ("pkg-config" ,pkg-config)))
4532 ;; libnm-gtk.pc refers to all these.
4533 `(("dbus-glib" ,dbus-glib)
4535 ("network-manager" ,network-manager)))
4537 `(("iso-codes" ,iso-codes)
4538 ("libgudev" ,libgudev)
4539 ("libnotify" ,libnotify)
4540 ("libsecret" ,libsecret)
4541 ("jansson" ,jansson))) ;for team support
4542 (synopsis "Applet for managing network connections")
4543 (home-page "http://www.gnome.org/projects/NetworkManager/")
4545 "This package contains a systray applet for NetworkManager. It displays
4546 the available networks and allows users to easily switch between them.")
4547 (license license:gpl2+)))
4549 (define-public libxml++
4555 (uri (string-append "mirror://gnome/sources/" name "/"
4556 (version-major+minor version) "/"
4557 name "-" version ".tar.xz"))
4560 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4561 (build-system gnu-build-system)
4562 ;; libxml++-3.0.pc refers to all these.
4564 `(("libxml2" ,libxml2)
4565 ("glibmm" ,glibmm)))
4568 ("pkg-config" ,pkg-config)))
4569 (home-page "http://libxmlplusplus.sourceforge.net/")
4570 (synopsis "C++ wrapper for XML parser library libxml2")
4572 "This package provides a C++ wrapper for the XML parser library
4574 (license license:lgpl2.1+)))
4576 (define-public libxml++-2
4583 (uri (string-append "mirror://gnome/sources/" name "/"
4584 (version-major+minor version) "/"
4585 name "-" version ".tar.xz"))
4588 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4596 (uri (string-append "mirror://gnome/sources/" name "/"
4597 (version-major+minor version) "/"
4598 name "-" version ".tar.xz"))
4601 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4602 (build-system gnu-build-system)
4605 '("--without-plymouth")
4607 (modify-phases %standard-phases
4609 'configure 'pre-configure
4611 ;; We don't have <systemd/sd-daemon.h>.
4612 (substitute* '("common/gdm-log.c"
4613 "daemon/gdm-server.c"
4614 "daemon/gdm-session-worker.c"
4615 "daemon/gdm-session-worker-job.c")
4616 (("#include <systemd/sd-daemon\\.h>") ""))
4617 ;; Use elogind for sd-login.
4618 (substitute* '("common/gdm-common.c"
4619 "daemon/gdm-manager.c"
4620 "libgdm/gdm-user-switching.c")
4621 (("#include <systemd/sd-login\\.h>")
4622 "#include <elogind/sd-login.h>"))
4623 ;; Avoid checking SYSTEMD using pkg-config.
4624 (setenv "SYSTEMD_CFLAGS" " ")
4625 (setenv "SYSTEMD_LIBS" "-lelogind")
4629 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4630 ("gobject-introspection" ,gobject-introspection)
4631 ("intltool" ,intltool)
4632 ("itstool" ,itstool)
4633 ("pkg-config" ,pkg-config)
4634 ("xmllint" ,libxml2)))
4636 `(("accountsservice" ,accountsservice)
4637 ("check" ,check) ; for testing
4638 ("elogind" ,elogind)
4640 ("iso-codes" ,iso-codes)
4641 ("libcanberra" ,libcanberra)
4642 ("linux-pam" ,linux-pam)))
4643 (synopsis "Display manager for GNOME")
4644 (home-page "http://wiki.gnome.org/Projects/GDM/")
4646 "GNOME Display Manager is a system service that is responsible for
4647 providing graphical log-ins and managing local and remote displays.")
4648 (license license:gpl2+)))
4650 (define-public libgtop
4656 (uri (string-append "mirror://gnome/sources/" name "/"
4657 (version-major+minor version) "/"
4658 name "-" version ".tar.xz"))
4661 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4662 (build-system gnu-build-system)
4664 `(("gobject-introspection" ,gobject-introspection)
4665 ("intltool" ,intltool)
4667 ("pkg-config" ,pkg-config)))
4669 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4670 (synopsis "Portable system access library")
4671 (home-page "https://www.gnome.org/")
4673 "LibGTop is a library to get system specific data such as CPU and memory
4674 usage and information about running processes.")
4675 (license license:gpl2+)))
4677 (define-public gnome-bluetooth
4679 (name "gnome-bluetooth")
4683 (uri (string-append "mirror://gnome/sources/" name "/"
4684 (version-major+minor version) "/"
4685 name "-" version ".tar.xz"))
4688 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4689 (build-system glib-or-gtk-build-system)
4691 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4692 ("gobject-introspection" ,gobject-introspection)
4693 ("intltool" ,intltool)
4694 ("pkg-config" ,pkg-config)
4695 ("xmllint" ,libxml2)))
4697 ;; gnome-bluetooth-1.0.pc refers to all these.
4701 `(("libcanberra" ,libcanberra)
4702 ("libnotify" ,libnotify)))
4703 (synopsis "GNOME Bluetooth subsystem")
4704 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4706 "This package contains tools for managing and manipulating Bluetooth
4707 devices using the GNOME desktop.")
4708 (license license:lgpl2.1+)))
4710 (define-public gnome-control-center
4712 (name "gnome-control-center")
4716 (uri (string-append "mirror://gnome/sources/" name "/"
4717 (version-major+minor version) "/"
4718 name "-" version ".tar.xz"))
4721 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4722 (build-system glib-or-gtk-build-system)
4725 (modify-phases %standard-phases
4726 (add-before 'configure 'patch-paths
4727 (lambda* (#:key inputs #:allow-other-keys)
4728 (let ((libc (assoc-ref inputs "libc"))
4729 (tzdata (assoc-ref inputs "tzdata")))
4730 (substitute* "panels/datetime/tz.h"
4731 (("/usr/share/zoneinfo/zone.tab")
4732 (string-append tzdata "/share/zoneinfo/zone.tab")))
4733 (substitute* "panels/datetime/test-endianess.c"
4734 (("/usr/share/locale")
4735 (string-append libc "/share/locale")))
4738 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4739 ("intltool" ,intltool)
4740 ("pkg-config" ,pkg-config)
4741 ("xsltproc" ,libxslt)))
4743 `(("accountsservice" ,accountsservice)
4744 ("clutter-gtk" ,clutter-gtk)
4745 ("colord-gtk" ,colord-gtk)
4748 ("docbook-xsl" ,docbook-xsl)
4749 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4750 ("gnome-bluetooth" ,gnome-bluetooth)
4751 ("gnome-desktop" ,gnome-desktop)
4752 ("gnome-online-accounts" ,gnome-online-accounts)
4753 ("gnome-settings-daemon" ,gnome-settings-daemon)
4756 ("libcanberra" ,libcanberra)
4757 ("libgudev" ,libgudev)
4758 ("libgtop" ,libgtop)
4759 ("libpwquality" ,libpwquality)
4760 ("libsoup" ,libsoup)
4761 ("libxml2" ,libxml2)
4762 ("libwacom" ,libwacom)
4764 ("mit-krb5" ,mit-krb5)
4765 ("modem-manager" ,modem-manager)
4766 ("network-manager-applet" ,network-manager-applet)
4768 ("pulseaudio" ,pulseaudio)
4769 ("smbclient" ,samba)
4771 ("upower" ,upower)))
4772 (synopsis "Utilities to configure the GNOME desktop")
4773 (home-page "https://www.gnome.org/")
4775 "This package contains configuration applets for the GNOME desktop,
4776 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4777 properties, sound setup, desktop theme and background, user interface
4778 properties, screen resolution, and other GNOME parameters.")
4779 (license license:gpl2+)))
4781 (define-public gnome-shell
4783 (name "gnome-shell")
4787 (uri (string-append "mirror://gnome/sources/" name "/"
4788 (version-major+minor version) "/"
4789 name "-" version ".tar.xz"))
4792 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
4793 (build-system glib-or-gtk-build-system)
4796 (modify-phases %standard-phases
4798 (lambda* (#:key outputs #:allow-other-keys)
4799 (let* ((out (assoc-ref outputs "out"))
4800 (keysdir (string-append
4801 out "/share/gnome-control-center/keybindings")))
4802 (zero? (system* "make"
4803 (string-append "keysdir=" keysdir)
4806 'install 'wrap-programs
4807 (lambda* (#:key outputs #:allow-other-keys)
4808 (let ((out (assoc-ref outputs "out"))
4809 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4810 (python-path (getenv "PYTHONPATH")))
4811 (wrap-program (string-append out "/bin/gnome-shell")
4812 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4815 (wrap-program (string-append out "/bin/" prog)
4816 `("PYTHONPATH" ":" prefix (,python-path))
4817 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4818 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4821 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4822 ("gobject-introspection" ,gobject-introspection)
4823 ("intltool" ,intltool)
4824 ("pkg-config" ,pkg-config)
4826 ("xsltproc" ,libxslt)))
4828 `(("accountsservice" ,accountsservice)
4829 ("caribou" ,caribou)
4830 ("docbook-xsl" ,docbook-xsl)
4831 ("evolution-data-server" ,evolution-data-server)
4835 ("gnome-bluetooth" ,gnome-bluetooth)
4836 ("gnome-control-center" ,gnome-control-center)
4837 ("gnome-desktop" ,gnome-desktop)
4838 ("gnome-settings-daemon" ,gnome-settings-daemon)
4839 ("gst-plugins-base" ,gst-plugins-base)
4841 ("libcanberra" ,libcanberra)
4842 ("libcroco" ,libcroco)
4843 ("libgweather" ,libgweather)
4844 ("libsoup" ,libsoup)
4845 ("mesa-headers" ,mesa-headers)
4847 ("network-manager-applet" ,network-manager-applet)
4849 ("pulseaudio" ,pulseaudio)
4850 ("python-pygobject" ,python-pygobject)
4851 ("startup-notification" ,startup-notification)
4852 ("telepathy-logger" ,telepathy-logger)
4854 ;; XXX: required by libgjs.la.
4855 ("readline" ,readline)))
4856 (synopsis "Desktop shell for GNOME")
4857 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4859 "GNOME Shell provides core user interface functions for the GNOME desktop,
4860 like switching to windows and launching applications.")
4861 (license license:gpl2+)))
4863 (define-public gtk-vnc
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4875 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
4876 (build-system gnu-build-system)
4878 '(#:configure-flags '("--with-gtk=3.0")))
4880 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4882 `(("cyrus-sasl" ,cyrus-sasl)
4884 ("libgcrypt" ,libgcrypt)
4885 ("pulseaudio" ,pulseaudio)))
4887 `(("glib:bin" ,glib "bin")
4888 ("gobject-introspection" ,gobject-introspection)
4889 ("intltool" ,intltool)
4890 ("pkg-config" ,pkg-config)
4892 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4893 (synopsis "VNC viewer widget for GTK+")
4895 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4896 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4897 GTK-VNC implements client side RFB protocol and authentication extensions such
4898 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4899 (license license:lgpl2.1+)))
4901 (define-public nautilus
4907 (uri (string-append "mirror://gnome/sources/" name "/"
4908 (version-major+minor version) "/"
4909 name "-" version ".tar.xz"))
4912 "1bnalv0ljdjzqzvh3rfyg7r4z8vdbq1gdard5q68riqdi2dnfvld"))))
4913 (build-system glib-or-gtk-build-system)
4916 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4917 ;; XXX: FAIL: check-nautilus
4918 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4921 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4922 ("gobject-introspection" ,gobject-introspection)
4923 ("intltool" ,intltool)
4924 ("pkg-config" ,pkg-config)))
4929 ("gnome-desktop" ,gnome-desktop)
4930 ;; XXX: gtk+ is required by libnautilus-extension.pc
4932 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4934 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4936 ("libexif" ,libexif)
4937 ("libxml2" ,libxml2)))
4938 (synopsis "File manager for GNOME")
4939 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4941 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4942 design and behaviour, giving the user a simple way to navigate and manage its
4944 (license license:gpl2+)))
4946 (define-public baobab
4953 "mirror://gnome/sources/" name "/"
4954 (version-major+minor version) "/"
4955 name "-" version ".tar.xz"))
4958 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4959 (build-system glib-or-gtk-build-system)
4961 `(("intltool" ,intltool)
4962 ("pkg-config" ,pkg-config)
4963 ("itstool" ,itstool)
4964 ("xmllint" ,libxml2)
4965 ("glib" ,glib "bin")
4969 (synopsis "Disk usage analyzer for GNOME")
4971 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4972 usage in the GNOME desktop environment. It can easily scan device volumes or
4973 a specific user-requested directory branch (local or remote). Once the scan
4974 is complete it provides a graphical representation of each selected folder.")
4975 (home-page "https://wiki.gnome.org/Apps/Baobab")
4976 (license license:gpl2+)))
4978 (define-public gnome-backgrounds
4980 (name "gnome-backgrounds")
4985 (uri (string-append "mirror://gnome/sources/" name "/"
4986 (version-major+minor version) "/"
4987 name "-" version ".tar.xz"))
4990 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4991 (build-system glib-or-gtk-build-system)
4993 `(("intltool" ,intltool)))
4994 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4995 (synopsis "Background images for the GNOME desktop")
4997 "GNOME backgrounds package contains a collection of graphics files which
4998 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4999 the package creates the proper framework and directory structure so that you
5000 can add your own files to the collection.")
5001 (license (list license:gpl2+
5004 license:cc-by-sa3.0))))
5006 (define-public gnome-screenshot
5008 (name "gnome-screenshot")
5013 (uri (string-append "mirror://gnome/sources/" name "/"
5014 (version-major+minor version) "/"
5015 name "-" version ".tar.xz"))
5018 "0hz1ywgb5vbfqr0p0cr20hmz5b11msyi3psanszdnv0lhxl9pa06"))))
5019 (build-system glib-or-gtk-build-system)
5021 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5022 ("intltool" ,intltool)
5023 ("pkg-config" ,pkg-config)))
5026 ("libcanberra" ,libcanberra)
5028 ("libxext" ,libxext)))
5029 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5030 (synopsis "Take pictures of your screen")
5032 "GNOME Screenshot is a utility used for taking screenshots of the entire
5033 screen, a window or a user defined area of the screen, with optional
5034 beautifying border effects.")
5035 (license license:gpl2+)))
5037 (define-public dconf-editor
5039 (name "dconf-editor")
5044 (uri (string-append "mirror://gnome/sources/" name "/"
5045 (version-major+minor version) "/"
5046 name "-" version ".tar.xz"))
5049 "0yf553bd9l030shhs0jkl5gvkzkfxbxxm56xv0l0nmbplaci8wm8"))))
5050 (build-system glib-or-gtk-build-system)
5053 (modify-phases %standard-phases
5054 (add-before 'install 'skip-gtk-update-icon-cache
5056 ;; Don't create 'icon-theme.cache'.
5057 (substitute* "editor/Makefile"
5058 (("gtk-update-icon-cache") "true"))
5061 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5062 ("intltool" ,intltool)
5063 ("pkg-config" ,pkg-config)))
5067 ("libxml2" ,libxml2)))
5068 (home-page "https://git.gnome.org/browse/dconf-editor")
5069 (synopsis "Graphical editor for GNOME's dconf configuration system")
5071 "Dconf-editor is a graphical tool for browsing and editing the dconf
5072 configuration system for GNOME. It allows users to configure desktop
5073 software that do not provide their own configuration interface.")
5074 (license license:lgpl2.1+)))
5076 (define-public gnome
5079 (version (package-version gnome-shell))
5081 (build-system trivial-build-system)
5082 (arguments '(#:builder (mkdir %output)))
5084 ;; TODO: Add more packages according to:
5085 ;; <https://packages.debian.org/jessie/gnome-core>.
5086 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5088 ("font-cantarell" ,font-cantarell)
5089 ("at-spi2-core" ,at-spi2-core)
5092 ("desktop-file-utils" ,desktop-file-utils)
5094 ("epiphany" ,epiphany)
5096 ("file-roller" ,file-roller)
5098 ("glib-networking" ,glib-networking)
5099 ("gnome-backgrounds" ,gnome-backgrounds)
5100 ("gnome-control-center" ,gnome-control-center)
5101 ("gnome-keyring" ,gnome-keyring)
5102 ("gnome-session" ,gnome-session)
5103 ("gnome-settings-daemon" ,gnome-settings-daemon)
5104 ("gnome-shell" ,gnome-shell)
5105 ("gnome-terminal" ,gnome-terminal)
5106 ("gnome-themes-standard" ,gnome-themes-standard)
5108 ("hicolor-icon-theme" ,hicolor-icon-theme)
5109 ("nautilus" ,nautilus)
5110 ("pinentry-gnome3" ,pinentry-gnome3)
5111 ("pulseaudio" ,pulseaudio)
5112 ("shared-mime-info" ,shared-mime-info)
5115 ("zenity" ,zenity)))
5116 (synopsis "The GNU desktop environment")
5117 (home-page "https://www.gnome.org/")
5119 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5120 applications for browsing the web, editing text and images, creating
5121 documents and diagrams, playing media, scanning, and much more.")
5122 (license license:gpl2+)))
5124 (define-public byzanz
5125 ;; The last stable release of Byzanz was in 2011, but there have been many
5126 ;; useful commits made to the Byzanz repository since then that it would be
5127 ;; silly to use such an old release.
5128 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5131 (version (string-append "0.2-1." (string-take commit 7)))
5135 (url "git://git.gnome.org/byzanz")
5139 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5140 (build-system glib-or-gtk-build-system)
5143 (modify-phases %standard-phases
5144 (add-after 'unpack 'bootstrap
5146 ;; The build system cleverly detects that we're not building from
5147 ;; a release tarball and turns on -Werror for GCC.
5148 ;; Unsurprisingly, there is a warning during compilation that
5149 ;; causes the build to fail unnecessarily, so we remove the flag.
5150 (substitute* '("configure.ac")
5152 ;; The autogen.sh script in gnome-common will run ./configure
5153 ;; by default, which is problematic because source shebangs
5154 ;; have not yet been patched.
5155 (setenv "NOCONFIGURE" "t")
5156 (zero? (system* "sh" "autogen.sh")))))))
5158 `(("autoconf" ,autoconf)
5159 ("automake" ,automake)
5160 ("gnome-common" ,gnome-common)
5161 ("intltool" ,intltool)
5162 ("libtool" ,libtool)
5163 ("pkg-config" ,pkg-config)
5167 ("gstreamer" ,gstreamer)
5168 ("gst-plugins-base" ,gst-plugins-base)
5170 (synopsis "Desktop recording program")
5171 (description "Byzanz is a simple desktop recording program with a
5172 command-line interface. It can record part or all of an X display for a
5173 specified duration and save it as a GIF encoded animated image file.")
5174 (home-page "https://git.gnome.org/browse/byzanz")
5175 (license license:gpl2+))))
5177 (define-public libzapojit
5183 (uri (string-append "mirror://gnome/sources/" name "/"
5184 (version-major+minor version) "/"
5185 name "-" version ".tar.xz"))
5188 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5189 (build-system gnu-build-system)
5191 `(("gobject-introspection" ,gobject-introspection)
5192 ("intltool" ,intltool)
5193 ("pkg-config" ,pkg-config)))
5195 `(("gnome-online-accounts" ,gnome-online-accounts)
5196 ("json-glib" ,json-glib)
5198 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5199 (synopsis "Library for accessing SkyDrive and Hotmail")
5201 "Libzapojit is a GLib-based library for accessing online service APIs of
5202 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5203 (license license:lgpl2.1+)))
5205 (define-public gnome-calendar
5207 (name "gnome-calendar")
5211 (uri (string-append "mirror://gnome/sources/" name "/"
5212 (version-major+minor version) "/"
5213 name "-" version ".tar.xz"))
5216 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5217 (build-system glib-or-gtk-build-system)
5219 `(("intltool" ,intltool)
5220 ("pkg-config" ,pkg-config)))
5223 ("desktop-file-utils" ,desktop-file-utils)
5224 ("evolution-data-server" ,evolution-data-server)
5225 ("gnome-online-accounts" ,gnome-online-accounts)))
5226 (home-page "https://wiki.gnome.org/Apps/Calendar")
5227 (synopsis "GNOME's calendar application")
5229 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5230 desktop. It supports multiple calendars, monthly view and yearly view.")
5231 (license license:gpl3+)))
5233 (define-public gnome-dictionary
5235 (name "gnome-dictionary")
5239 (uri (string-append "mirror://gnome/sources/" name "/"
5240 (version-major+minor version) "/"
5241 name "-" version ".tar.xz"))
5244 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5245 (build-system glib-or-gtk-build-system)
5247 `(("glib:bin" ,glib "bin")
5248 ("gobject-introspection" ,gobject-introspection)
5249 ("intltool" ,intltool)
5250 ("itstool" ,itstool)
5251 ("pkg-config" ,pkg-config)
5252 ("xmllint" ,libxml2)))
5254 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5256 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5257 (synopsis "Look up words in dictionary sources")
5259 "GNOME Dictionary can look for the definition or translation of a word in
5260 existing databases over the internet.")
5261 (license license:gpl3+)))
5263 (define-public gnome-tweak-tool
5265 (name "gnome-tweak-tool")
5269 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5270 (version-major+minor version) "/"
5271 "gnome-tweak-tool-" version ".tar.xz"))
5273 (search-patch "gnome-tweak-tool-search-paths.patch")))
5276 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5277 (build-system gnu-build-system)
5279 `(#:configure-flags '("--localstatedir=/tmp"
5280 "--sysconfdir=/tmp")
5281 #:imported-modules ((guix build python-build-system)
5282 ,@%gnu-build-system-modules)
5283 #:phases (modify-phases %standard-phases
5284 (add-after 'install 'wrap
5285 (@@ (guix build python-build-system) wrap)))))
5287 `(("intltool" ,intltool)
5288 ("pkg-config" ,pkg-config)))
5290 `(("python" ,python-2)
5291 ("python2-pygobject" ,python2-pygobject)))
5293 `(("libnotify" ,libnotify)
5294 ("gobject-introspection" ,gobject-introspection)
5295 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5297 (synopsis "Customize advanced GNOME 3 options")
5298 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5300 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5301 GNOME 3. This includes things like the fonts used in user interface elements,
5302 alternative user interface themes, changes in window management behavior,
5303 GNOME Shell appearance and extension, etc.")
5304 (license license:gpl3+)))
5306 (define-public gnome-shell-extensions
5308 (name "gnome-shell-extensions")
5312 (uri (string-append "mirror://gnome/sources/" name "/"
5313 (version-major+minor version) "/"
5314 name "-" version ".tar.xz"))
5317 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5318 (build-system gnu-build-system)
5320 '(#:configure-flags '("--enable-extensions=all")))
5322 `(("intltool" ,intltool)
5323 ("pkg-config" ,pkg-config)))
5326 ("glib" ,glib "bin")))
5327 (synopsis "Extensions for GNOME Shell")
5328 (description "GNOME Shell extensions modify and extend GNOME Shell
5329 functionality and behavior.")
5330 (home-page "https://extensions.gnome.org/")
5331 (license license:gpl3+)))
5333 (define-public arc-theme
5336 (version "20160605")
5339 (uri (string-append "https://github.com/horst3180/arc-theme"
5340 "/archive/" version ".tar.gz"))
5341 (file-name (string-append name "-" version ".tar.gz"))
5344 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5345 (build-system gnu-build-system)
5348 (modify-phases %standard-phases
5349 (add-after 'unpack 'bootstrap
5351 (zero? (system* "autoreconf" "-vif")))))))
5353 `(("autoconf" ,autoconf)
5354 ("automake" ,automake)
5355 ("pkg-config" ,pkg-config)))
5358 (synopsis "A flat GTK+ theme with transparent elements")
5359 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5360 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5361 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5362 (home-page "https://github.com/horst3180/arc-theme")
5363 ;; No "or later" language found.
5364 (license license:gpl3)))
5366 (define-public moka-icon-theme
5368 (name "moka-icon-theme")
5372 (uri (string-append "https://github.com/moka-project"
5373 "/moka-icon-theme/archive/v"
5375 (file-name (string-append name "-" version ".tar.gz"))
5378 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5379 (build-system gnu-build-system)
5382 (modify-phases %standard-phases
5383 (add-after 'unpack 'patch-makefile.am
5385 (substitute* '("Makefile.am")
5386 (("\\$\\(DESTDIR\\)/usr/share")
5389 (add-after 'patch-makefile.am 'bootstrap
5391 (zero? (system* "autoreconf" "-vif")))))))
5393 `(("autoconf" ,autoconf)
5394 ("automake" ,automake)))
5395 (synopsis "Moka icon theme")
5396 (description "Moka is a stylized desktop icon set, designed to be clear,
5397 simple and consistent.")
5398 (home-page "http://snwh.org/moka")
5399 (license license:gpl3+)))
5401 (define-public arc-icon-theme
5403 (name "arc-icon-theme")
5404 (version "20160605")
5407 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5408 "/archive/" version ".tar.gz"))
5409 (file-name (string-append name "-" version ".tar.gz"))
5412 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5413 (build-system gnu-build-system)
5416 (modify-phases %standard-phases
5417 (add-after 'unpack 'bootstrap
5419 (zero? (system* "autoreconf" "-vif")))))))
5421 `(("autoconf" ,autoconf)
5422 ("automake" ,automake)))
5423 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5425 `(("moka-icon-theme" ,moka-icon-theme)))
5426 (synopsis "Arc icon theme")
5427 (description "The Arc icon theme provides a set of icons matching the
5428 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5429 the Moka icon theme.")
5430 (home-page "https://github.com/horst3180/arc-icon-theme")
5431 (license license:gpl3+)))
5433 (define-public folks
5440 "mirror://gnome/sources/" name "/"
5441 (version-major+minor version) "/"
5442 name "-" version ".tar.xz"))
5445 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5446 (build-system glib-or-gtk-build-system)
5449 ("dbus-glib" ,dbus-glib)
5450 ("evolution-data-server" ,evolution-data-server)
5453 ("telepathy-glib" ,telepathy-glib)))
5455 `(("gobject-introspection" ,gobject-introspection)
5456 ("intltool" ,intltool)
5457 ("pkg-config" ,pkg-config)
5459 (synopsis "Library to aggregate data about people")
5460 (description "Libfolks is a library that aggregates information about people
5461 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5462 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5463 etc.) to create metacontacts. It's written in Vala, which generates C code when
5465 (home-page "https://wiki.gnome.org/Projects/Folks")
5466 (license license:lgpl2.1+)))
5468 (define-public gfbgraph
5475 "mirror://gnome/sources/" name "/"
5476 (version-major+minor version) "/"
5477 name "-" version ".tar.xz"))
5480 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5481 (build-system glib-or-gtk-build-system)
5483 `(#:tests? #f ; Tests appear to require the network.
5484 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5485 #:configure-flags '("--disable-gtk-doc"
5487 "--enable-introspection")))
5489 `(("pkg-config" ,pkg-config)
5490 ("gobject-introspection" ,gobject-introspection)))
5492 `(("json-glib" ,json-glib)
5493 ("gnome-online-accounts" ,gnome-online-accounts)
5495 (synopsis "GLib/GObject wrapper for the Facebook API")
5496 (description "This library allows you to use the Facebook API from
5497 GLib/GObject code.")
5498 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5499 (license license:lgpl2.1+)))
5501 (define-public libgnomekbd
5503 (name "libgnomekbd")
5507 (uri (string-append "mirror://gnome/sources/" name "/"
5508 (version-major+minor version) "/"
5509 name "-" version ".tar.xz"))
5512 "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
5513 (build-system gnu-build-system)
5515 `(("pkg-config" ,pkg-config)
5516 ("glib" ,glib "bin")
5517 ("intltool" ,intltool)))
5519 ;; Referred to in .h files and .pc.
5522 ("libxklavier" ,libxklavier)))
5523 (home-page "https://www.gnome.org")
5524 (synopsis "GNOME keyboard configuration library")
5526 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5527 environment, which can notably display keyboard layouts.")
5528 (license license:lgpl2.0+)))
5530 ;;; This package is no longer maintained:
5531 ;;; https://wiki.gnome.org/Attic/LibUnique
5532 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5533 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5534 (define-public libunique
5540 (uri (string-append "mirror://gnome/sources/" name "/"
5541 (version-major+minor version) "/"
5542 name "-" version ".tar.xz"))
5545 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5546 (build-system glib-or-gtk-build-system)
5548 `(#:configure-flags '("--disable-static"
5549 "--disable-dbus" ; use gdbus
5550 "--enable-introspection")))
5552 `(("pkg-config" ,pkg-config)
5553 ("gobject-introspection" ,gobject-introspection)
5554 ("glib:bin" ,glib "bin")
5555 ("gtk-doc" ,gtk-doc)))
5557 ;; Referred to in .h files and .pc.
5559 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5560 (synopsis "Library for writing single instance applications")
5562 "Libunique is a library for writing single instance applications. If you
5563 launch a single instance application twice, the second instance will either just
5564 quit or will send a message to the running instance. Libunique makes it easy to
5565 write this kind of application, by providing a base class, taking care of all
5566 the IPC machinery needed to send messages to a running instance, and also
5567 handling the startup notification side.")
5568 (license license:lgpl2.1+)))
5570 (define-public gnome-calculator
5572 (name "gnome-calculator")
5577 (uri (string-append "mirror://gnome/sources/" name "/"
5578 (version-major+minor version) "/"
5579 name "-" version ".tar.xz"))
5582 "03il7xl4yr6xbzj6x1lbl16yzlb166c9h9wny1w7mj9dccnz99wr"))))
5583 (build-system glib-or-gtk-build-system)
5585 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5586 ("intltool" ,intltool)
5587 ("itstool" ,itstool)
5588 ("pkg-config" ,pkg-config)))
5590 `(("gtksourceview" ,gtksourceview)
5591 ("libsoup" ,libsoup)
5593 (home-page "https://wiki.gnome.org/Apps/Calculator")
5594 (synopsis "Desktop calculator")
5596 "Calculator is an application that solves mathematical equations and
5597 is suitable as a default application in a Desktop environment.")
5598 (license license:gpl3)))
5607 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5608 name "-" version ".tar.bz2"))
5611 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5612 (build-system gnu-build-system)
5614 `(("intltool" ,intltool)
5615 ("pkg-config" ,pkg-config)))
5618 ("gtksourceview" ,gtksourceview)
5620 (home-page "https://wiki.gnome.org/Apps/Xpad")
5621 (synopsis "Virtual sticky note")
5623 "Xpad is a sticky note that strives to be simple, fault tolerant,
5624 and customizable. Xpad consists of independent pad windows, each is
5625 basically a text box in which notes can be written.")
5626 (license license:gpl3+)))
5628 (define-public gucharmap
5635 (uri (string-append "mirror://gnome/sources/" name "/"
5636 (version-major+minor version) "/"
5637 name "-" version ".tar.xz"))
5640 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
5641 (build-system gnu-build-system)
5643 `(("desktop-file-utils" ,desktop-file-utils)
5644 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
5645 ("gobject-introspection" ,gobject-introspection)
5646 ("intltool" ,intltool)
5647 ("itstool" ,itstool)
5648 ("pkg-config" ,pkg-config)))
5651 ("xmllint" ,libxml2)))
5652 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
5653 (synopsis "Unicode character picker and font browser")
5655 "This program allows you to browse through all the available Unicode
5656 characters and categories for the installed fonts, and to examine their
5657 detailed properties. It is an easy way to find the character you might
5658 only know by its Unicode name or code point.")
5659 (license license:gpl3+)))
5661 (define-public bluefish
5668 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
5669 name "-" version ".tar.gz"))
5672 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
5673 (build-system gnu-build-system)
5675 `(("desktop-file-utils" ,desktop-file-utils)
5676 ("intltool" ,intltool)
5677 ("pkg-config" ,pkg-config)))
5679 `(("enchant" ,enchant)
5681 ("python" ,python-2)
5682 ("xmllint" ,libxml2)
5683 ("gucharmap" ,gucharmap)))
5684 (home-page "http://bluefish.openoffice.nl")
5685 (synopsis "Web development studio")
5687 "Bluefish is an editor targeted towards programmers and web developers,
5688 with many options to write web sites, scripts and other code.
5689 Bluefish supports many programming and markup languages.")
5690 (license license:gpl3+)))
5692 (define-public gnome-system-monitor
5694 (name "gnome-system-monitor")
5699 (uri (string-append "mirror://gnome/sources/" name "/"
5700 (version-major+minor version) "/"
5701 name "-" version ".tar.xz"))
5704 "1ya41b58syf8g5pc12gw1xm6jhdx3crap803bjwm086r7x2an8wv"))))
5705 (build-system glib-or-gtk-build-system)
5707 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
5708 ("intltool" ,intltool)
5709 ("itstool" ,itstool)
5710 ("libgtop" ,libgtop)
5711 ("pkg-config" ,pkg-config)))
5713 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
5716 ("librsvg" ,librsvg)
5717 ("libxml2" ,libxml2)))
5718 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
5719 (synopsis "Process viewer and system resource monitor for GNOME")
5721 "GNOME System Monitor is a GNOME process viewer and system monitor with
5722 an attractive, easy-to-use interface. It has features, such as a tree view
5723 for process dependencies, icons for processes, the ability to hide processes,
5724 graphical time histories of CPU/memory/swap usage and the ability to
5725 kill/reinice processes.")
5726 (license license:gpl2+)))