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 geeqie)
101 #:use-module (gnu packages gl)
102 #:use-module (gnu packages compression)
103 #:use-module (gnu packages tex)
104 #:use-module (gnu packages tls)
105 #:use-module (gnu packages web)
106 #:use-module (gnu packages webkit)
107 #:use-module (gnu packages xorg)
108 #:use-module (gnu packages xdisorg)
109 #:use-module (gnu packages freedesktop)
110 #:use-module (gnu packages mail)
111 #:use-module (gnu packages mit-krb5)
112 #:use-module (gnu packages multiprecision)
113 #:use-module (gnu packages backup)
114 #:use-module (gnu packages nettle)
115 #:use-module (gnu packages ncurses)
116 #:use-module (gnu packages video)
117 #:use-module (gnu packages cdrom)
118 #:use-module (gnu packages samba)
119 #:use-module (gnu packages readline)
120 #:use-module (gnu packages fonts)
121 #:use-module (srfi srfi-1))
123 (define-public brasero
129 (uri (string-append "mirror://gnome/sources/" name "/"
130 (version-major+minor version) "/"
131 name "-" version ".tar.xz"))
134 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
135 (build-system glib-or-gtk-build-system)
137 `(#:configure-flags (list
138 (string-append "--with-girdir="
139 (assoc-ref %outputs "out")
141 (string-append "--with-typelibdir="
142 (assoc-ref %outputs "out")
143 "/lib/girepository-1.0"))))
145 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
147 `(("intltool" ,intltool)
148 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
149 ("gobject-introspection" ,gobject-introspection)
150 ("pkg-config" ,pkg-config)))
153 ("gnome-doc-utils" ,gnome-doc-utils)
154 ("gstreamer" ,gstreamer)
155 ("gst-plugins-base" ,gst-plugins-base)
158 ("libcanberra" ,libcanberra)
160 ("libnotify" ,libnotify)
164 ("totem-pl-parser" ,totem-pl-parser)))
165 (home-page "https://projects.gnome.org/brasero/")
166 (synopsis "CD/DVD burning tool for Gnome")
167 (description "Brasero is an application to burn CD/DVD for the Gnome
168 Desktop. It is designed to be as simple as possible and has some unique
169 features to enable users to create their discs easily and quickly.")
170 (license license:gpl2+)))
173 ;; This version from GNOME's repository includes fixes for compiling with
174 ;; recent versions of the build tools. The latest activity on the
175 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
177 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
180 (version (string-append "0.97.2-" (string-take commit 7)))
184 (url "https://git.gnome.org/browse/dia")
186 (file-name (string-append name "-" version "-checkout"))
189 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
190 (build-system gnu-build-system)
192 `(("glib" ,glib "bin")
194 ("gdk-pixbuf" ,gdk-pixbuf)
197 ("freetype" ,freetype)
198 ("libart-lgpl" ,libart-lgpl)))
200 `(("intltool" ,intltool)
201 ("pkg-config" ,pkg-config)
202 ("automake" ,automake)
203 ("autoconf" ,autoconf)
206 ("python-wrapper" ,python-wrapper)))
209 (modify-phases %standard-phases
210 (add-before 'configure 'run-autogen
212 (system* "sh" "autogen.sh"))))))
213 (home-page "https://wiki.gnome.org/Apps/Dia")
214 (synopsis "Diagram creation for GNOME")
215 (description "Dia can be used to draw different types of diagrams, and
216 includes support for UML static structure diagrams (class diagrams), entity
217 relationship modeling, and network diagrams. The program supports various file
218 formats like PNG, SVG, PDF and EPS.")
219 (license license:gpl2+))))
221 (define-public gnome-common
223 (name "gnome-common")
228 (uri (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
233 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
234 (build-system gnu-build-system)
235 (home-page "https://www.gnome.org/")
236 (synopsis "Bootstrap GNOME modules built from Git")
237 (description "gnome-common contains various files needed to bootstrap
238 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
239 can be used to configure a source directory checked out from Git and some
240 commonly used macros.")
241 (license license:gpl2+)))
243 (define-public gnome-desktop
245 (name "gnome-desktop")
250 (uri (string-append "mirror://gnome/sources/" name "/"
251 (version-major+minor version) "/"
252 name "-" version ".tar.xz"))
255 "1cp2c6q1ybirfq6rqyfj5lr5vyqdizy730bfg5jqnflcmakjsb29"))))
256 (build-system gnu-build-system)
258 `(("gobject-introspection" ,gobject-introspection)
260 ("intltool" ,intltool)
261 ("pkg-config" ,pkg-config)
262 ("xmllint" ,libxml2)))
264 ;; Required by gnome-desktop-3.0.pc.
265 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
268 `(("gdk-pixbuf" ,gdk-pixbuf)
270 ("iso-codes" ,iso-codes)
273 ("libxkbfile" ,libxkbfile)
274 ("libxrandr" ,libxrandr)
275 ("xkeyboard-config" ,xkeyboard-config)))
276 (home-page "https://www.gnome.org/")
278 "Libgnome-desktop, gnome-about, and desktop-wide documents")
280 "The libgnome-desktop library provides API shared by several applications
281 on the desktop, but that cannot live in the platform for various reasons.
282 There is no API or ABI guarantee, although we are doing our best to provide
283 stability. Documentation for the API is available with gtk-doc.
285 The gnome-about program helps find which version of GNOME is installed.")
286 ; Some bits under the LGPL.
287 (license license:gpl2+)))
289 (define-public gnome-doc-utils
291 (name "gnome-doc-utils")
296 (uri (string-append "mirror://gnome/sources/" name "/"
297 (version-major+minor version) "/"
298 name "-" version ".tar.xz"))
301 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
302 (build-system gnu-build-system)
304 `(("intltool" ,intltool)
305 ("docbook-xml" ,docbook-xml-4.4)
306 ("python2-libxml2" ,python2-libxml2)
309 ("pkg-config" ,pkg-config)
310 ("python-2" ,python-2)))
311 (home-page "https://wiki.gnome.org/GnomeDocUtils")
313 "Documentation utilities for the Gnome project")
315 "Gnome-doc-utils is a collection of documentation utilities for the
316 Gnome project. It includes xml2po tool which makes it easier to translate
317 and keep up to date translations of documentation.")
318 (license license:gpl2+))) ; xslt under lgpl
326 (uri (string-append "mirror://gnome/sources/" name "/"
327 (version-major+minor version) "/"
328 name "-" version ".tar.xz"))
331 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
332 (build-system gnu-build-system)
334 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
336 #:phases (modify-phases %standard-phases
339 (lambda* (#:key inputs #:allow-other-keys)
340 (substitute* "build/tap-driver"
341 (("/usr/bin/env python") (which "python"))))))))
344 ("gnupg" ,gnupg) ;called as a child process during tests
345 ("libgcrypt" ,libgcrypt)))
347 `(("python" ,python-2) ;for tests
348 ("pkg-config" ,pkg-config)
350 ("gobject-introspection" ,gobject-introspection)
351 ("intltool" ,intltool)
352 ("xsltproc" ,libxslt)))
353 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
355 `(("p11-kit" ,p11-kit)
358 (home-page "http://www.gnome.org")
359 (synopsis "Libraries for displaying certificates and accessing key stores")
361 "The GCR package contains libraries used for displaying certificates and
362 accessing key stores. It also provides the viewer for crypto files on the
364 (license license:lgpl2.1+)))
366 (define-public libgnome-keyring
368 (name "libgnome-keyring")
372 (uri (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.xz"))
377 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
378 (build-system gnu-build-system)
380 `(("libgcrypt" ,libgcrypt)
383 `(("pkg-config" ,pkg-config)
385 ("intltool" ,intltool)))
387 ;; Referred to in .h files and .pc.
389 (home-page "http://www.gnome.org")
390 (synopsis "Accessing passwords from the GNOME keyring")
392 "Client library to access passwords from the GNOME keyring.")
394 ;; Though a couple of files are LGPLv2.1+.
395 (license license:lgpl2.0+)))
397 (define-public gnome-keyring
399 (name "gnome-keyring")
403 (uri (string-append "mirror://gnome/sources/" name "/"
404 (version-major+minor version) "/"
405 name "-" version ".tar.xz"))
408 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
409 (build-system gnu-build-system)
411 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
415 (string-append "--with-pkcs11-config="
416 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
417 (string-append "--with-pkcs11-modules="
418 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
420 (modify-phases %standard-phases
423 (lambda* (#:key inputs #:allow-other-keys)
424 (substitute* "build/tap-driver"
425 (("/usr/bin/env python") (which "python")))))
427 'configure 'fix-docbook
428 (lambda* (#:key inputs #:allow-other-keys)
429 (substitute* "docs/Makefile.am"
430 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
431 (string-append (assoc-ref inputs "docbook-xsl")
432 "/xml/xsl/docbook-xsl-"
433 ,(package-version docbook-xsl)
434 "/manpages/docbook.xsl")))
435 (setenv "XML_CATALOG_FILES"
436 (string-append (assoc-ref inputs "docbook-xml")
437 "/xml/dtd/docbook/catalog.xml")))))))
439 `(("libgcrypt" ,libgcrypt)
440 ("linux-pam" ,linux-pam)
444 `(("pkg-config" ,pkg-config)
446 ("python" ,python-2) ;for tests
447 ("intltool" ,intltool)
448 ("autoconf" ,autoconf)
449 ("automake" ,automake)
450 ("libxslt" ,libxslt) ;for documentation
451 ("docbook-xml" ,docbook-xml-4.2)
452 ("docbook-xsl" ,docbook-xsl)))
453 (home-page "http://www.gnome.org")
454 (synopsis "Daemon to store passwords and encryption keys")
456 "gnome-keyring is a program that keeps passwords and other secrets for
457 users. It is run as a daemon in the session, similar to ssh-agent, and other
458 applications locate it via an environment variable or D-Bus.
460 The program can manage several keyrings, each with its own master password,
461 and there is also a session keyring which is never stored to disk, but
462 forgotten when the session ends.")
463 (license license:lgpl2.1+)))
465 (define-public evince
471 (uri (string-append "mirror://gnome/sources/" name "/"
472 (version-major+minor version) "/"
473 name "-" version ".tar.xz"))
476 "0m80s98k4i463dclpyk01fqb91cawbb6vvcz5vq2974k6qqc4ypw"))))
477 (build-system glib-or-gtk-build-system)
479 `(#:configure-flags '("--disable-nautilus")
481 ;; FIXME: Tests fail with:
482 ;; ImportError: No module named gi.repository
483 ;; Where should that module come from?
486 (modify-phases %standard-phases
487 (add-before 'install 'skip-gtk-update-icon-cache
488 ;; Don't create 'icon-theme.cache'.
490 (substitute* "data/Makefile"
491 (("gtk-update-icon-cache") "true"))
494 `(("libspectre" ,libspectre)
495 ("djvulibre" ,djvulibre)
496 ("ghostscript" ,ghostscript)
500 ;; Add libgxps for XPS support.
501 ;; Build libkpathsea as a shared library for DVI support.
502 ;; ("libkpathsea" ,texlive-bin)
503 ("gnome-desktop" ,gnome-desktop)
504 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
505 ("libgnome-keyring" ,libgnome-keyring)
506 ("adwaita-icon-theme" ,adwaita-icon-theme)
507 ("gdk-pixbuf" ,gdk-pixbuf)
515 ("shared-mime-info" ,shared-mime-info)
517 ("libcanberra" ,libcanberra)
518 ("libsecret" ,libsecret)
520 ("dogtail" ,python2-dogtail)))
522 `(("itstool" ,itstool)
523 ("intltool" ,intltool)
525 ("pkg-config" ,pkg-config)
526 ("xmllint" ,libxml2)))
528 "http://www.gnome.org/projects/evince/")
529 (synopsis "GNOME's document viewer")
531 "Evince is a document viewer for multiple document formats. It
532 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
533 of Evince is to replace the multiple document viewers that exist
534 on the GNOME Desktop with a single simple application.")
535 (license license:gpl2+)))
537 (define-public gsettings-desktop-schemas
539 (name "gsettings-desktop-schemas")
544 (uri (string-append "mirror://gnome/sources/" name "/"
545 (version-major+minor version) "/"
546 name "-" version ".tar.xz"))
549 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
550 (build-system gnu-build-system)
554 `(("intltool" ,intltool)
555 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
556 ("gobject-introspection" ,gobject-introspection)
557 ("pkg-config" ,pkg-config)))
558 (home-page "https://launchpad.net/gsettings-desktop-schemas")
560 "GNOME settings for various desktop components")
562 "Gsettings-desktop-schemas contains a collection of GSettings schemas
563 for settings shared by various components of the GNOME desktop.")
564 (license license:lgpl2.1+)))
566 (define-public icon-naming-utils
568 (name "icon-naming-utils")
573 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
577 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
578 (build-system gnu-build-system)
581 ("perl-xml-simple" ,perl-xml-simple)))
585 'install 'set-load-paths
586 ;; Tell 'icon-name-mapping' where XML::Simple is.
587 (lambda* (#:key outputs #:allow-other-keys)
588 (let* ((out (assoc-ref outputs "out"))
589 (prog (string-append out "/libexec/icon-name-mapping")))
592 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
594 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
596 "Utility to implement the Freedesktop Icon Naming Specification")
598 "To help with the transition to the Freedesktop Icon Naming
599 Specification, the icon naming utility maps the icon names used by the
600 GNOME and KDE desktops to the icon names proposed in the specification.")
601 (license license:lgpl2.1+)))
603 (define-public desktop-file-utils
605 (name "desktop-file-utils")
609 (uri (string-append "https://www.freedesktop.org/software/" name
610 "/releases/" name "-" version ".tar.xz"))
613 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
614 (build-system gnu-build-system)
616 `(("pkg-config" ,pkg-config)))
619 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
620 (synopsis "Utilities for working with desktop entries")
622 "This package contains a few command line utilities for working with
625 desktop-file-validate: validates a desktop file and prints warnings/errors
626 about desktop entry specification violations.
628 desktop-file-install: installs a desktop file to the applications directory,
629 optionally munging it a bit in transit.
631 update-desktop-database: updates the database containing a cache of MIME types
632 handled by desktop files.")
633 (license license:gpl2+)))
635 (define-public gnome-icon-theme
637 (name "gnome-icon-theme")
642 (uri (string-append "mirror://gnome/sources/" name "/"
643 (version-major+minor version) "/"
644 name "-" version ".tar.xz"))
647 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
648 (build-system gnu-build-system)
651 ;; Don't create 'icon-theme.cache'.
652 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
653 (true (string-append coreutils "/bin/true")))
654 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
656 `(("icon-naming-utils" ,icon-naming-utils)
657 ("intltool" ,intltool)
658 ("pkg-config" ,pkg-config)))
659 (home-page "http://art.gnome.org/")
663 "Icons for the GNOME desktop.")
664 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
666 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
667 (define-public adwaita-icon-theme
668 (package (inherit gnome-icon-theme)
669 (name "adwaita-icon-theme")
673 (uri (string-append "mirror://gnome/sources/" name "/"
674 (version-major+minor version) "/"
675 name "-" version ".tar.xz"))
678 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))
680 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
682 (define-public shared-mime-info
684 (name "shared-mime-info")
688 (uri (string-append "https://freedesktop.org/~hadess/"
689 "shared-mime-info-" version ".tar.xz"))
692 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
693 (build-system gnu-build-system)
695 ;; The build system appears not to be parallel-safe.
696 '(#:parallel-build? #f))
699 ("libxml2" ,libxml2)))
701 `(("intltool" ,intltool)
702 ("pkg-config" ,pkg-config)))
703 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
704 (synopsis "Database of common MIME types")
706 "The shared-mime-info package contains the core database of common types
707 and the update-mime-database command used to extend it. It requires glib2 to
708 be installed for building the update command. Additionally, it uses intltool
709 for translations, though this is only a dependency for the maintainers. This
710 database is translated at Transifex.")
711 (license license:gpl2+)))
713 (define-public hicolor-icon-theme
715 (name "hicolor-icon-theme")
720 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
721 "hicolor-icon-theme-" version ".tar.gz"))
724 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
725 (build-system gnu-build-system)
727 `(#:tests? #f)) ; no check target
728 (home-page "http://icon-theme.freedesktop.org/releases/")
730 "Freedesktop icon theme")
732 "Freedesktop icon theme.")
733 (license license:gpl2)))
735 (define-public libnotify
742 (uri (string-append "mirror://gnome/sources/" name "/"
743 (version-major+minor version) "/"
744 name "-" version ".tar.xz"))
747 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
748 (build-system gnu-build-system)
750 `(("gdk-pixbuf" ,gdk-pixbuf)
755 `(("pkg-config" ,pkg-config)
757 ("gobject-introspection" ,gobject-introspection)))
758 (home-page "https://developer-next.gnome.org/libnotify/")
760 "GNOME desktop notification library")
762 "Libnotify is a library that sends desktop notifications to a
763 notification daemon, as defined in the Desktop Notifications spec. These
764 notifications can be used to inform the user about an event or display
765 some form of information without getting in the user's way.")
766 (license license:lgpl2.1+)))
768 (define-public libpeas
775 (uri (string-append "mirror://gnome/sources/" name "/"
776 (version-major+minor version) "/"
777 name "-" version ".tar.xz"))
780 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
781 (build-system gnu-build-system)
785 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
787 ("python-pygobject" ,python-pygobject)))
789 `(("pkg-config" ,pkg-config)
790 ("glib:bin" ,glib "bin")
791 ("gobject-introspection" ,gobject-introspection)
792 ("intltool" ,intltool)))
793 (home-page "https://wiki.gnome.org/Libpeas")
794 (synopsis "GObject plugin system")
796 "Libpeas is a gobject-based plugins engine, and is targetted at giving
797 every application the chance to assume its own extensibility. It also has a
798 set of features including, but not limited to: multiple extension points; on
799 demand (lazy) programming language support for C, Python and JS; simplicity of
801 (license license:lgpl2.0+)))
803 (define-public gtkglext
809 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
810 version "/gtkglext-" version ".tar.gz"))
812 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
813 (patches (search-patches
814 "gtkglext-disable-disable-deprecated.patch"))))
815 (build-system gnu-build-system)
816 (inputs `(("gtk+" ,gtk+-2)
821 (native-inputs `(("pkg-config" ,pkg-config)
822 ("glib" ,glib "bin")))
823 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
824 (home-page "https://projects.gnome.org/gtkglext")
825 (synopsis "OpenGL extension to GTK+")
826 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
827 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
828 API add-ons to make GTK+ widgets OpenGL-capable.")
829 (license license:lgpl2.1+)))
831 (define-public glade3
837 (uri (string-append "mirror://gnome/sources/" name "/"
838 (version-major+minor version) "/"
839 name "-" version ".tar.xz"))
842 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
843 (build-system glib-or-gtk-build-system)
845 `(#:tests? #f ; needs X, GL, and software rendering
847 (modify-phases %standard-phases
848 (add-before 'configure 'fix-docbook
849 (lambda* (#:key inputs #:allow-other-keys)
850 (substitute* "man/Makefile.in"
851 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
852 (string-append (assoc-ref inputs "docbook-xsl")
853 "/xml/xsl/docbook-xsl-"
854 ,(package-version docbook-xsl)
855 "/manpages/docbook.xsl")))
859 ("libxml2" ,libxml2)))
861 `(("intltool" ,intltool)
863 ("libxslt" ,libxslt) ;for xsltproc
864 ("docbook-xml" ,docbook-xml-4.2)
865 ("docbook-xsl" ,docbook-xsl)
867 ("pkg-config" ,pkg-config)))
868 (home-page "https://glade.gnome.org")
869 (synopsis "GTK+ rapid application development tool")
870 (description "Glade is a rapid application development (RAD) tool to
871 enable quick & easy development of user interfaces for the GTK+ toolkit and
872 the GNOME desktop environment.")
873 (license license:lgpl2.0+)))
875 (define-public libcroco
881 (uri (string-append "mirror://gnome/sources/" name "/"
882 (version-major+minor version) "/"
883 name "-" version ".tar.xz"))
886 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
887 (build-system gnu-build-system)
889 `(("pkg-config" ,pkg-config)))
894 (home-page "https://github.com/GNOME/libcroco")
895 (synopsis "CSS2 parsing and manipulation library")
897 "Libcroco is a standalone CSS2 parsing and manipulation library.
898 The parser provides a low level event driven SAC-like API and a CSS object
899 model like API. Libcroco provides a CSS2 selection engine and an experimental
900 XML/CSS rendering engine.")
903 (license license:lgpl2.1)))
905 (define-public libgsf
911 (uri (string-append "mirror://gnome/sources/" name "/"
912 (version-major+minor version) "/"
913 name "-" version ".tar.xz"))
916 "1q2i5p9s5zw0y0502risykrzkfma7p24n3mmh244scjy9f4kh1im"))))
917 (build-system gnu-build-system)
919 `(("intltool" ,intltool)
920 ("pkg-config" ,pkg-config)))
926 `(("gdk-pixbuf" ,gdk-pixbuf)
928 ("libxml2" ,libxml2)))
929 (home-page "http://www.gnome.org/projects/libgsf")
930 (synopsis "GNOME's Structured File Library")
932 "Libgsf aims to provide an efficient extensible I/O abstraction for
933 dealing with different structured file formats.")
936 (license license:lgpl2.1)))
938 (define-public librsvg
944 (uri (string-append "mirror://gnome/sources/" name "/"
945 (version-major+minor version) "/"
946 name "-" version ".tar.xz"))
949 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
950 (build-system gnu-build-system)
954 'configure 'pre-configure
955 (lambda* (#:key inputs #:allow-other-keys)
956 (substitute* "gdk-pixbuf-loader/Makefile.in"
957 ;; By default the gdk-pixbuf loader is installed under
958 ;; gdk-pixbuf's prefix. Work around that.
959 (("gdk_pixbuf_moduledir = .*$")
960 (string-append "gdk_pixbuf_moduledir = "
961 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
963 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
964 (("gdk_pixbuf_cache_file = .*$")
965 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
968 `(("pkg-config" ,pkg-config)
969 ("glib" ,glib "bin") ; glib-mkenums, etc.
970 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
973 ("libcroco" ,libcroco)
976 ("libxml2" ,libxml2)))
978 ;; librsvg-2.0.pc refers to all of that.
980 ("gdk-pixbuf" ,gdk-pixbuf)
982 (home-page "https://wiki.gnome.org/LibRsvg")
983 (synopsis "Render SVG files using Cairo")
985 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
987 (license license:lgpl2.0+)))
989 (define-public libidl
995 (uri (let ((upstream-name "libIDL"))
996 (string-append "mirror://gnome/sources/" upstream-name "/"
997 (version-major+minor version) "/"
998 upstream-name "-" version ".tar.bz2")))
1001 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1002 (build-system gnu-build-system)
1003 (inputs `(("glib" ,glib)))
1005 `(("pkg-config" ,pkg-config)
1008 (home-page "http://freecode.com/projects/libidl")
1009 (synopsis "Create trees of CORBA Interface Definition Language files")
1010 (description "Libidl is a library for creating trees of CORBA Interface
1011 Definition Language (idl) files, which is a specification for defining
1012 portable interfaces. libidl was initially written for orbit (the orb from the
1013 GNOME project, and the primary means of libidl distribution). However, the
1014 functionality was designed to be as reusable and portable as possible.")
1015 (license license:lgpl2.0+)))
1018 (define-public orbit2
1024 (uri (let ((upstream-name "ORBit2"))
1025 (string-append "mirror://gnome/sources/" upstream-name "/"
1026 (version-major+minor version) "/"
1027 upstream-name "-" version ".tar.bz2")))
1030 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1031 (build-system gnu-build-system)
1034 ;; The programmer kindly gives us a hook to turn off deprecation
1036 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1037 ;; ... which they then completly ignore !!
1040 'configure 'ignore-deprecations
1042 (substitute* "linc2/src/Makefile.in"
1043 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1045 (inputs `(("glib" ,glib)
1046 ("libidl" ,libidl)))
1048 `(("pkg-config" ,pkg-config)))
1049 (home-page "https://projects.gnome.org/orbit2/")
1050 (synopsis "CORBA 2.4-compliant Object Request Broker")
1051 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1052 featuring mature C, C++ and Python bindings.")
1053 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1054 ;; a version. SOME of the code files have licence notices for GPLv2+.
1055 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1056 (license license:gpl2+)))
1059 (define-public libbonobo
1065 (uri (string-append "mirror://gnome/sources/" name "/"
1066 (version-major+minor version)
1067 "/" name "-" version ".tar.bz2"))
1069 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1070 (patches (search-patches
1071 "libbonobo-activation-test-race.patch"))))
1072 (build-system gnu-build-system)
1074 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1076 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1077 ;; ... which they then completly ignore !!
1080 'configure 'ignore-deprecations
1082 (substitute* "activation-server/Makefile.in"
1083 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1085 (inputs `(("popt" ,popt)
1086 ("libxml2" ,libxml2)))
1087 ;; The following are Required by the .pc file
1090 ("orbit2" ,orbit2)))
1092 `(("intltool" ,intltool)
1093 ("pkg-config" ,pkg-config)
1094 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1097 (home-page "https://developer.gnome.org/libbonobo/")
1098 (synopsis "Framework for creating reusable components for use in GNOME applications")
1099 (description "Bonobo is a framework for creating reusable components for
1100 use in GNOME applications, built on top of CORBA.")
1101 ;; Licence not explicitly stated. Source files contain no licence notices.
1102 ;; Tarball contains text of both GPLv2 and LGPLv2
1103 ;; GPLv2 covers both conditions
1104 (license license:gpl2+)))
1107 (define-public gconf
1114 (let ((upstream-name "GConf"))
1115 (string-append "mirror://gnome/sources/" upstream-name "/"
1116 (version-major+minor version) "/"
1117 upstream-name "-" version ".tar.xz")))
1119 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1120 (build-system gnu-build-system)
1121 (inputs `(("dbus-glib" ,dbus-glib)
1122 ("libxml2" ,libxml2)))
1123 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1124 ("orbit2" ,orbit2)))
1126 `(("intltool" ,intltool)
1127 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1128 ("pkg-config" ,pkg-config)))
1129 (home-page "https://projects.gnome.org/gconf/")
1130 (synopsis "Store application preferences")
1131 (description "Gconf is a system for storing application preferences. It
1132 is intended for user preferences; not arbitrary data storage.")
1133 (license license:lgpl2.0+)))
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 gnu-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 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
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 "15ycgvdvika57rhnb46j6pj1907nj5y5nyy7sgj0yvpjbqsiskzp"))))
2593 (build-system gnu-build-system)
2596 `(,(string-append "--with-zoneinfo-dir="
2597 (assoc-ref %build-inputs "tzdata")
2600 (modify-phases %standard-phases
2603 (lambda* (#:key inputs #:allow-other-keys)
2604 (substitute* "data/check-timezones.sh"
2605 (("/usr/share/zoneinfo/zone.tab")
2606 (string-append (assoc-ref inputs "tzdata")
2607 "/share/zoneinfo/zone.tab")))
2610 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2611 ("gobject-introspection" ,gobject-introspection)
2612 ("pkg-config" ,pkg-config)
2613 ("intltool" ,intltool)))
2615 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2618 ("gdk-pixbuf" ,gdk-pixbuf)
2619 ("libxml2" ,libxml2)
2620 ("libsoup" ,libsoup)))
2622 `(("tzdata" ,tzdata)
2623 ("geocode-glib" ,geocode-glib)))
2624 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2625 (synopsis "Location, time zone, and weather library for GNOME")
2627 "libgweather is a library to access weather information from online
2628 services for numerous locations.")
2629 (license license:gpl2+)))
2631 (define-public gnome-settings-daemon
2633 (name "gnome-settings-daemon")
2638 (uri (string-append "mirror://gnome/sources/" name "/"
2639 (version-major+minor version) "/"
2640 name "-" version ".tar.xz"))
2643 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2644 (build-system glib-or-gtk-build-system)
2646 `(;; Network manager not yet packaged.
2647 #:configure-flags '("--disable-network-manager")
2648 ;; Color management test can't reach the colord system service.
2651 `(("pkg-config" ,pkg-config)
2652 ("intltool" ,intltool)
2653 ("xsltproc" ,libxslt)
2654 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2655 ("docbook-xml" ,docbook-xml-4.2)
2656 ("docbook-xsl" ,docbook-xsl)))
2658 `(("colord" ,colord)
2659 ("libgudev" ,libgudev)
2662 ("pulseaudio" ,pulseaudio)
2663 ("libcanberra" ,libcanberra)
2665 ("libxtst" ,libxtst)
2667 ("libnotify" ,libnotify)
2668 ("geoclue" ,geoclue)
2669 ("geocode-glib" ,geocode-glib)
2670 ("libgweather" ,libgweather)
2671 ("gnome-desktop" ,gnome-desktop)
2674 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2675 ("libwacom" ,libwacom)
2676 ("librsvg" ,librsvg)
2677 ("xf86-input-wacom" ,xf86-input-wacom)))
2678 (home-page "http://www.gnome.org")
2679 (synopsis "GNOME settings daemon")
2681 "This package contains the daemon responsible for setting the various
2682 parameters of a GNOME session and the applications that run under it. It
2683 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2684 settings, themes, mouse settings, and startup of other daemons.")
2685 (license license:gpl2+)))
2687 (define-public totem-pl-parser
2689 (name "totem-pl-parser")
2693 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2694 "totem-pl-parser-" version ".tar.xz"))
2697 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2698 (build-system gnu-build-system)
2700 ;; FIXME: Tests require gvfs.
2703 `(("intltool" ,intltool)
2704 ("glib" ,glib "bin")
2705 ("gobject-introspection" ,gobject-introspection)
2706 ("pkg-config" ,pkg-config)))
2710 ("libxml2" ,libxml2)))
2712 `(("libarchive" ,libarchive)
2713 ("libgcrypt" ,libgcrypt)
2715 ("libsoup" ,libsoup)))
2716 (home-page "https://projects.gnome.org/totem")
2717 (synopsis "Library to parse and save media playlists for GNOME")
2718 (description "Totem-pl-parser is a GObjects-based library to parse and save
2719 playlists in a variety of formats.")
2720 (license license:lgpl2.0+)))
2722 (define-public aisleriot
2728 (uri (string-append "mirror://gnome/sources/" name "/"
2729 (version-major+minor version) "/"
2730 name "-" version ".tar.xz"))
2733 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
2734 (build-system glib-or-gtk-build-system)
2737 '("--with-platform=gtk-only"
2738 "--with-card-theme-formats=svg")))
2740 `(("desktop-file-utils" ,desktop-file-utils)
2741 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2742 ("intltool" ,intltool)
2743 ("itstool" ,itstool)
2744 ("pkg-config" ,pkg-config)
2745 ("xmllint" ,libxml2)))
2748 ("guile" ,guile-2.0)
2749 ("libcanberra" ,libcanberra)
2750 ("librsvg" ,librsvg)))
2751 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2752 (synopsis "Solitaire card games")
2754 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2755 which are easy to play with the aid of a mouse.")
2756 (license license:gpl3+)))
2758 (define-public devhelp
2764 (uri (string-append "mirror://gnome/sources/" name "/"
2765 (version-major+minor version) "/"
2766 name "-" version ".tar.xz"))
2769 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2770 (build-system glib-or-gtk-build-system)
2772 `(("intltool" ,intltool)
2773 ("pkg-config" ,pkg-config)))
2775 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2776 ("webkitgtk" ,webkitgtk)))
2777 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2778 (synopsis "API documentation browser for GNOME")
2780 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2781 natively with GTK-Doc (the API reference system developed for GTK+ and used
2782 throughout GNOME for API documentation).")
2783 (license license:gpl2+)))
2792 (uri (string-append "mirror://gnome/sources/" name "/"
2793 (version-major+minor version) "/"
2794 name "-" version ".tar.xz"))
2797 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2798 (build-system gnu-build-system)
2800 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2801 ("gobject-introspection" ,gobject-introspection)
2802 ;;("xorg-server" ,xorg-server) ; for the test suite
2803 ("pkg-config" ,pkg-config)))
2806 ("gdk-pixbuf" ,gdk-pixbuf)
2808 ("libxext" ,libxext)
2809 ("libxfixes" ,libxfixes)
2810 ("libxdamage" ,libxdamage)
2811 ("libxcomposite" ,libxcomposite)
2812 ("libxrandr" ,libxrandr)))
2817 ("gstreamer" ,gstreamer)
2818 ("gst-plugins-base" ,gst-plugins-base)))
2820 `(#:configure-flags (list "--enable-cogl-gst"
2821 ;; Arrange to pass an absolute file name to
2822 ;; dlopen for libGL.so.
2823 (string-append "--with-gl-libname="
2824 (assoc-ref %build-inputs "mesa")
2826 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2827 ;; _FontTransOpen: Unable to Parse address
2828 ;; ${prefix}/share/fonts/X11/misc/
2832 (modify-phases %standard-phases
2833 (add-before 'check 'start-xorg-server
2834 (lambda* (#:key inputs #:allow-other-keys)
2835 ;; The test suite requires a running X server.
2836 (system (format #f "~a/bin/Xvfb :1 &"
2837 (assoc-ref inputs "xorg-server")))
2838 (setenv "DISPLAY" ":1")
2840 (home-page "http://www.cogl3d.org")
2841 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2843 "Cogl is a small library for using 3D graphics hardware to draw pretty
2844 pictures. The API departs from the flat state machine style of OpenGL and is
2845 designed to make it easy to write orthogonal components that can render
2846 without stepping on each others toes.")
2847 (license (list license:expat ; most of the code
2848 license:bsd-3 ; cogl/cogl-point-in-poly.c
2849 license:sgifreeb2.0 ; cogl-path/tesselator/
2850 license:asl2.0)))) ; examples/android/
2852 (define-public clutter
2859 (uri (string-append "mirror://gnome/sources/" name "/"
2860 (version-major+minor version) "/"
2861 name "-" version ".tar.xz"))
2864 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2865 (build-system gnu-build-system)
2867 "doc")) ;9 MiB of gtk-doc HTML pages
2869 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2870 ("gobject-introspection" ,gobject-introspection)
2871 ("pkg-config" ,pkg-config)
2872 ("xsltproc" ,libxslt)))
2878 ("json-glib" ,json-glib)
2880 ("libxcomposite" ,libxcomposite)
2881 ("libxdamage" ,libxdamage)
2882 ("libxext" ,libxext)
2883 ("xinput" ,xinput)))
2885 `(("libxkbcommon" ,libxkbcommon)
2888 `(#:configure-flags (list "--enable-x11-backend=yes"
2890 ;; This produces share/doc/{clutter,cally}.
2891 (string-append "--with-html-dir="
2892 (assoc-ref %outputs "doc")
2894 ;; XXX FIXME: Get test suite working. It would probably fail in the
2895 ;; same way the cogl tests fail, since clutter is based on cogl.
2897 (home-page "http://www.clutter-project.org")
2898 (synopsis "Open GL based interactive canvas library")
2900 "Clutter is an Open GL based interactive canvas library, designed for
2901 creating fast, mainly 2D single window applications such as media box UIs,
2902 presentations, kiosk style applications and so on.")
2903 (license license:lgpl2.0+)))
2905 (define-public clutter-gtk
2907 (name "clutter-gtk")
2912 (uri (string-append "mirror://gnome/sources/" name "/"
2913 (version-major+minor version) "/"
2914 name "-" version ".tar.xz"))
2917 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2918 (build-system gnu-build-system)
2920 `(("pkg-config" ,pkg-config)
2921 ("gobject-introspection" ,gobject-introspection)))
2923 ;; clutter-gtk.pc refers to all these.
2924 `(("clutter" ,clutter)
2926 (home-page "http://www.clutter-project.org")
2927 (synopsis "Open GL based interactive canvas library GTK+ widget")
2929 "Clutter is an Open GL based interactive canvas library, designed for
2930 creating fast, mainly 2D single window applications such as media box UIs,
2931 presentations, kiosk style applications and so on.")
2932 (license license:lgpl2.0+)))
2934 (define-public clutter-gst
2936 (name "clutter-gst")
2941 (uri (string-append "mirror://gnome/sources/" name "/"
2942 (version-major+minor version) "/"
2943 name "-" version ".tar.xz"))
2946 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2947 (build-system gnu-build-system)
2949 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2950 ("pkg-config" ,pkg-config)
2951 ("gobject-introspection" ,gobject-introspection)))
2953 `(("clutter" ,clutter)
2954 ("gstreamer" ,gstreamer)
2955 ("gst-plugins-base" ,gst-plugins-base)))
2956 (home-page "http://www.clutter-project.org")
2957 (synopsis "Integration library for using GStreamer with Clutter")
2959 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2960 It provides a GStreamer sink to upload frames to GL and an actor that
2961 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2962 GL based interactive canvas library.")
2963 (license license:lgpl2.0+)))
2965 (define-public libchamplain
2967 (name "libchamplain")
2972 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2976 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2977 (build-system gnu-build-system)
2978 (arguments '(#:configure-flags '("--enable-vala")))
2980 `(("gobject-introspection" ,gobject-introspection)
2981 ("pkg-config" ,pkg-config)
2984 `(("libsoup" ,libsoup)
2986 ("clutter" ,clutter)
2987 ("clutter-gtk" ,clutter-gtk)
2988 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2992 (home-page "http://projects.gnome.org/libchamplain/")
2993 (synopsis "C library providing a ClutterActor to display maps")
2995 "libchamplain is a C library providing a ClutterActor to display maps.
2996 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2997 and Perl bindings are also available. It supports numerous free map sources
2998 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2999 (license license:lgpl2.1+)))
3008 (uri (string-append "mirror://gnome/sources/" name "/"
3009 (version-major+minor version) "/"
3010 name "-" version ".tar.xz"))
3013 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3014 (build-system gnu-build-system)
3016 `(("intltool" ,intltool)
3017 ("pkg-config" ,pkg-config)
3018 ("gobject-introspection" ,gobject-introspection)))
3021 ("gdk-pixbuf" ,gdk-pixbuf)
3022 ("sqlite" ,sqlite)))
3023 ;; XXX TODO: Figure out how to run the test suite.
3024 (arguments `(#:tests? #f))
3025 (home-page "https://wiki.gnome.org/Projects/Gom")
3026 (synopsis "Object mapper from GObjects to SQLite")
3028 "Gom provides an object mapper from GObjects to SQLite. It helps you
3029 write applications that need to store structured data as well as make complex
3030 queries upon that data.")
3031 (license license:lgpl2.1+)))
3033 (define-public libgames-support
3035 (name "libgames-support")
3039 (uri (string-append "mirror://gnome/sources/" name "/"
3040 (version-major+minor version) "/"
3041 name "-" version ".tar.xz"))
3044 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3045 (build-system gnu-build-system)
3048 (modify-phases %standard-phases
3049 (add-before 'check 'pre-check
3051 ;; tests require a writable HOME.
3052 (setenv "HOME" (getcwd))
3055 `(("intltool" ,intltool)
3056 ("pkg-config" ,pkg-config)
3059 ;; Required by libgames-support-1.0.pc
3061 ("libgee" ,libgee)))
3062 (home-page "https://www.gnome.org/")
3063 (synopsis "Useful functionality shared among GNOME games")
3065 "libgames-support is a small library intended for internal use by
3066 GNOME Games, but it may be used by others.")
3067 (license license:lgpl3+)))
3069 (define-public gnome-klotski
3071 (name "gnome-klotski")
3075 (uri (string-append "mirror://gnome/sources/" name "/"
3076 (version-major+minor version) "/"
3077 name "-" version ".tar.xz"))
3080 "14w40a1gjlg4l1vhcy0qcf3scmwm2v3vhxnxj269pfqlv8s7alaw"))))
3081 (build-system glib-or-gtk-build-system)
3083 `(("desktop-file-utils" ,desktop-file-utils)
3084 ("intltool" ,intltool)
3085 ("itstool" ,itstool)
3086 ("pkg-config" ,pkg-config)
3087 ("xmllint" ,libxml2)))
3090 ("libgames-support" ,libgames-support)
3091 ("librsvg" ,librsvg)))
3092 (home-page "https://wiki.gnome.org/Apps/Klotski")
3093 (synopsis "Sliding block puzzles")
3095 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3096 the patterned block to the area bordered by green markers. To do so, you will
3097 need to slide other blocks out of the way. Complete each puzzle in as few moves
3099 (license license:gpl2+)))
3101 (define-public grilo
3108 (uri (string-append "mirror://gnome/sources/" name "/"
3109 (version-major+minor version) "/"
3110 name "-" version ".tar.xz"))
3113 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3114 (build-system gnu-build-system)
3116 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3117 ("intltool" ,intltool)
3118 ("pkg-config" ,pkg-config)
3119 ("gobject-introspection" ,gobject-introspection)))
3123 ("libxml2" ,libxml2)
3124 ;; XXX TODO: Add oauth
3125 ("libsoup" ,libsoup)
3126 ("totem-pl-parser" ,totem-pl-parser)))
3129 (modify-phases %standard-phases
3130 (add-after 'unpack 'fix-introspection-install-dir
3131 (lambda* (#:key outputs #:allow-other-keys)
3132 (let ((out (assoc-ref outputs "out")))
3133 (substitute* '("src/Makefile.in"
3134 "libs/pls/Makefile.in"
3135 "libs/net/Makefile.in")
3136 (("@INTROSPECTION_GIRDIR@")
3137 (string-append out "/share/gir-1.0/"))
3138 (("@INTROSPECTION_TYPELIBDIR@")
3139 (string-append out "/lib/girepository-1.0/")))))))))
3140 (native-search-paths
3141 (list (search-path-specification
3142 (variable "GRL_PLUGIN_PATH")
3143 (files (list (string-append "lib/grilo-"
3144 (version-major+minor version)))))))
3145 (home-page "http://live.gnome.org/Grilo")
3146 (synopsis "Framework for discovering and browsing media")
3148 "Grilo is a framework focused on making media discovery and browsing easy
3149 for application developers.")
3150 (license license:lgpl2.1+)))
3152 (define-public grilo-plugins
3154 (name "grilo-plugins")
3159 (uri (string-append "mirror://gnome/sources/" name "/"
3160 (version-major+minor version) "/"
3161 name "-" version ".tar.xz"))
3164 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3165 (build-system gnu-build-system)
3167 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3168 ("intltool" ,intltool)
3169 ("itstool" ,itstool)
3170 ("pkg-config" ,pkg-config)))
3173 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3175 ("libxml2" ,libxml2)
3178 ;; XXX TODO: Add oauth
3179 ;; XXX TODO: Add goa
3180 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3181 ;; XXX TODO: Add lua (needs help finding it)
3182 ("json-glib" ,json-glib)
3185 ("libsoup" ,libsoup)
3186 ("libarchive" ,libarchive)
3187 ("totem-pl-parser" ,totem-pl-parser)))
3189 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3192 ,(version-major+minor version)))
3193 ;; XXX FIXME: Try to get the test suite working. It appears to require
3194 ;; a working system dbus. Inside the build container, all tests fail
3195 ;; with: "assertion failed: (source)". Outside of the build container,
3196 ;; most tests succeed.
3198 (home-page "http://live.gnome.org/Grilo")
3199 (synopsis "Plugins for the Grilo media discovery library")
3201 "Grilo is a framework focused on making media discovery and browsing easy
3202 for application developers.")
3203 (license license:lgpl2.1+)))
3205 (define-public totem
3212 (uri (string-append "mirror://gnome/sources/" name "/"
3213 (version-major+minor version) "/"
3214 name "-" version ".tar.xz"))
3217 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3218 (patches (search-patches "totem-debug-format-fix.patch"))))
3219 (build-system glib-or-gtk-build-system)
3221 `(("pkg-config" ,pkg-config)
3222 ("desktop-file-utils" ,desktop-file-utils)
3223 ("gobject-introspection" ,gobject-introspection)
3224 ("intltool" ,intltool)
3225 ("itstool" ,itstool)
3226 ("xmllint" ,libxml2)))
3228 `(("dconf" ,dconf)))
3231 ("gdk-pixbuf" ,gdk-pixbuf)
3234 ("dbus-glib" ,dbus-glib)
3235 ("clutter" ,clutter)
3236 ("clutter-gtk" ,clutter-gtk)
3237 ("clutter-gst" ,clutter-gst)
3239 ("libxxf86vm" ,libxxf86vm)
3240 ("libxtst" ,libxtst)
3241 ("libxrandr" ,libxrandr)
3242 ("libxml2" ,libxml2)
3243 ("libsoup" ,libsoup)
3244 ("libpeas" ,libpeas)
3245 ("librsvg" ,librsvg)
3247 ("gnome-desktop" ,gnome-desktop)
3248 ("gstreamer" ,gstreamer)
3249 ("gst-plugins-base" ,gst-plugins-base)
3250 ("gst-plugins-good" ,gst-plugins-good)
3251 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3252 ("adwaita-icon-theme" ,adwaita-icon-theme)
3253 ;; XXX We use python-2 because libxml2 because itstool (which needs
3254 ;; libxml) currently uses python-2.
3255 ("python" ,python-2)
3256 ("python-pygobject" ,python2-pygobject)
3257 ;; XXX TODO pylint needed for python support
3258 ("totem-pl-parser" ,totem-pl-parser)
3260 ("grilo-plugins" ,grilo-plugins)
3265 (modify-phases %standard-phases
3267 'install 'wrap-totem
3268 (lambda* (#:key inputs outputs #:allow-other-keys)
3269 (let ((out (assoc-ref outputs "out"))
3270 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3271 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3272 (wrap-program (string-append out "/bin/totem")
3273 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3274 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3276 (home-page "https://wiki.gnome.org/Apps/Videos")
3277 (synopsis "Simple media player for GNOME based on GStreamer")
3278 (description "Totem is a simple yet featureful media player for GNOME
3279 which can read a large number of file formats.")
3280 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3281 ;; to be used and distributed together with GStreamer and Totem. See
3282 ;; file://COPYING in the source distribution for details.
3283 (license license:gpl2+)))
3285 (define-public rhythmbox
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3296 "1347747m90aiz47wny1f8rdk5195qf2ph0554c6y91711sm951gg"))))
3297 (build-system glib-or-gtk-build-system)
3300 (list "--enable-lirc"
3307 (modify-phases %standard-phases
3309 'install 'wrap-rhythmbox
3310 (lambda* (#:key inputs outputs #:allow-other-keys)
3311 (let ((out (assoc-ref outputs "out"))
3312 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3313 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3314 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3315 (python-path (getenv "PYTHONPATH")))
3316 (wrap-program (string-append out "/bin/rhythmbox")
3317 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3318 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3319 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3320 `("PYTHONPATH" ":" prefix (,python-path))))
3323 `(("dconf" ,dconf)))
3325 `(("itstool" ,itstool)
3326 ("intltool" ,intltool)
3327 ("glib" ,glib "bin")
3328 ("gobject-introspection" ,gobject-introspection)
3329 ("desktop-file-utils" ,desktop-file-utils)
3330 ("pkg-config" ,pkg-config)
3331 ("xmllint" ,libxml2)))
3333 `(("json-glib" ,json-glib)
3335 ("gnome-desktop" ,gnome-desktop)
3337 ("python-pygobject" ,python2-pygobject)
3341 ("adwaita-icon-theme" ,adwaita-icon-theme)
3343 ("grilo-plugins" ,grilo-plugins)
3344 ("gstreamer" ,gstreamer)
3345 ("gst-plugins-base" ,gst-plugins-base)
3346 ("gst-plugins-good" ,gst-plugins-good)
3347 ("totem-pl-parser" ,totem-pl-parser)
3348 ("libgudev" ,libgudev)
3349 ;;("libmtp" ,libmtp) FIXME: Not detected
3350 ("libsecret" ,libsecret)
3351 ("libsoup" ,libsoup)
3352 ("libnotify" ,libnotify)
3353 ("libpeas" ,libpeas)
3355 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3356 ;;("clutter" ,clutter)
3357 ;;("clutter-gtk" ,clutter-gtk)
3358 ;;("clutter-gst" ,clutter-gst)
3359 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3366 ("brasero" ,brasero)))
3367 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3368 (synopsis "Music player for GNOME")
3369 (description "Rhythmbox is a music playing application for GNOME. It
3370 supports playlists, song ratings, and any codecs installed through gstreamer.")
3371 (license license:gpl2+)))
3379 (uri (string-append "mirror://gnome/sources/" name "/"
3380 (version-major+minor version) "/"
3381 name "-" version ".tar.xz"))
3384 "1qsv3brhi8l8fr22nd3d0fwq5xhwspqw0bammhkkq3ga0z6791wn"))))
3385 (build-system glib-or-gtk-build-system)
3388 (modify-phases %standard-phases
3391 (lambda* (#:key outputs #:allow-other-keys)
3392 (let ((out (assoc-ref outputs "out"))
3393 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3394 (wrap-program (string-append out "/bin/eog")
3395 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3398 `(("dconf" ,dconf)))
3400 `(("intltool" ,intltool)
3401 ("itstool" ,itstool)
3402 ("glib" ,glib "bin")
3403 ("gobject-introspection" ,gobject-introspection)
3404 ("pkg-config" ,pkg-config)
3405 ("xmllint" ,libxml2)))
3407 `(("gnome-desktop" ,gnome-desktop)
3408 ("shared-mime-info" ,shared-mime-info)
3409 ("adwaita-icon-theme" ,adwaita-icon-theme)
3412 ("libexif" ,libexif)
3413 ("libpeas" ,libpeas)
3414 ("libjpeg" ,libjpeg)
3415 ("librsvg" ,librsvg)
3416 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3418 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3419 (synopsis "GNOME image viewer")
3420 (description "Eye of GNOME is the GNOME image viewer. It
3421 supports image conversion, rotation, and slideshows.")
3422 (license license:gpl2+)))
3424 (define-public libgudev
3430 (uri (string-append "mirror://gnome/sources/" name "/"
3431 version "/" name "-" version ".tar.xz"))
3434 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3435 (build-system gnu-build-system)
3437 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3438 ("gobject-introspection" ,gobject-introspection)
3439 ("pkg-config" ,pkg-config)))
3441 `(("glib" ,glib))) ; required by gudev-1.0.pc
3444 (home-page "https://wiki.gnome.org/Projects/libgudev")
3445 (synopsis "GObject bindings for libudev")
3447 "This library provides GObject bindings for libudev. It was originally
3448 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3449 (license license:lgpl2.1+)))
3457 (uri (string-append "mirror://gnome/sources/" name "/"
3458 (version-major+minor version) "/"
3459 name "-" version ".tar.xz"))
3462 "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325"))))
3463 (build-system gnu-build-system)
3465 '(#:tests? #f)) ; XXX: requiring `pidof'
3467 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3468 ("intltool" ,intltool)
3469 ("pkg-config" ,pkg-config)
3470 ("xsltproc" ,libxslt)))
3473 ("docbook-xml" ,docbook-xml-4.2)
3474 ("docbook-xsl" ,docbook-xsl)
3479 ("libarchive" ,libarchive)
3480 ("libbluray" ,libbluray)
3481 ("libcdio-paranoia" ,libcdio-paranoia)
3482 ("libgcrypt" ,libgcrypt)
3483 ("libgphoto2" ,libgphoto2)
3484 ("libgudev" ,libgudev)
3486 ("libsecret" ,libsecret)
3487 ("libsmbclient" ,samba)
3488 ("libsoup" ,libsoup)
3489 ("libxml2" ,libxml2)
3490 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3491 ("udisks" ,udisks)))
3492 (home-page "https://wiki.gnome.org/gvfs/")
3493 (synopsis "Userspace virtual file system for GIO")
3495 "GVFS is a userspace virtual file system designed to work with the I/O
3496 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3497 to all applications using the GIO API. It also supports exposing the GVFS
3498 mounts to non-GIO applications using FUSE.
3500 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3502 (license license:lgpl2.0+)))
3510 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3512 (string-join (string-split version #\.)
3517 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3518 (build-system gnu-build-system)
3520 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3521 ("gobject-introspection" ,gobject-introspection)
3522 ("pkg-config" ,pkg-config)
3524 ("autoconf" ,autoconf)
3525 ("automake" ,automake)
3526 ("libtool" ,libtool)
3527 ("gtk-doc" ,gtk-doc)))
3529 ;; Both of these are required by gusb.pc.
3531 ("libusb" ,libusb)))
3533 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3535 (modify-phases %standard-phases
3536 (add-after 'unpack 'autogen
3538 (and (zero? (system* "gtkdocize"))
3539 (zero? (system* "autoreconf" "-vif"))))))))
3540 (home-page "https://github.com/hughsie/libgusb")
3541 (synopsis "GLib binding for libusb1")
3543 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3544 asynchronous control, bulk and interrupt transfers with proper cancellation
3545 and integration into a mainloop. This makes it easy to integrate low level
3546 USB transfers with your high-level application or system daemon.")
3547 (license license:lgpl2.1+)))
3549 (define-public simple-scan
3551 (name "simple-scan")
3552 (version "3.22.0.1")
3555 (uri (string-append "https://launchpad.net/simple-scan/"
3556 (version-major+minor version) "/"
3557 version "/+download/simple-scan-"
3561 "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"))))
3562 (build-system glib-or-gtk-build-system)
3567 ("gdk-pixbuf" ,gdk-pixbuf)
3569 ("libsane" ,sane-backends)))
3571 `(("gettext" ,gettext-minimal)
3572 ("itstool" ,itstool)
3574 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3575 ("pkg-config" ,pkg-config)
3577 ("xmllint" ,libxml2)))
3579 '(#:configure-flags '("--disable-packagekit")
3581 (modify-phases %standard-phases
3582 (add-after 'unpack 'clean
3584 ;; Remove a left-over reference to PackageKit.
3586 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3588 ;; There are some generated C files erroneously
3589 ;; included in the source distribution, and this
3590 ;; one breaks the build by referring to a
3591 ;; non-existent header (packagekit.h)
3592 (delete-file "src/ui.c"))))))
3593 (home-page "https://launchpad.net/simple-scan")
3594 (synopsis "Document and image scanner")
3595 (description "Simple Scan is an easy-to-use application, designed to let
3596 users connect their scanner and quickly have the image/document in an
3597 appropriate format. Simple Scan is basically a frontend for SANE - which is
3598 the same backend as XSANE uses. This means that all existing scanners will
3599 work and the interface is well tested.")
3600 (license license:gpl3+)))
3602 (define-public epiphany
3608 (uri (string-append "mirror://gnome/sources/" name "/"
3609 (version-major+minor version) "/"
3610 name "-" version ".tar.xz"))
3613 "09rscbmyjxzd8wlibn1fbmbwmlwnahzfl1kkcka6dhm121yd2id6"))))
3614 (build-system glib-or-gtk-build-system)
3616 ;; FIXME: tests run under Xvfb, but fail with:
3617 ;; /src/bookmarks/ephy-bookmarks/create:
3618 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3623 `(("dconf" ,dconf)))
3625 `(("intltool" ,intltool)
3626 ("itstool" ,itstool)
3627 ("pkg-config" ,pkg-config)
3628 ("xmllint" ,libxml2)))
3632 ("glib-networking" ,glib-networking)
3633 ("gnome-desktop" ,gnome-desktop)
3634 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3635 ("iso-codes" ,iso-codes)
3636 ("libnotify" ,libnotify)
3637 ("libsecret" ,libsecret)
3638 ("libxslt" ,libxslt)
3640 ("webkitgtk" ,webkitgtk)))
3641 (home-page "https://wiki.gnome.org/Apps/Web")
3642 (synopsis "GNOME web browser")
3644 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3645 principles are simplicity and standards compliance.")
3646 (license license:gpl2+)))
3648 (define-public d-feet
3654 (uri (string-append "mirror://gnome/sources/" name "/"
3655 (version-major+minor version) "/"
3656 name "-" version ".tar.xz"))
3659 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3660 (build-system glib-or-gtk-build-system)
3662 '(#:out-of-source? #f ; tests need to run in the source directory.
3664 (modify-phases %standard-phases
3668 ;; The test suite requires a running X server.
3669 (system "Xvfb :1 &")
3670 (setenv "DISPLAY" ":1")
3671 ;; Don't fail on missing '/etc/machine-id'.
3672 (setenv "DBUS_FATAL_WARNINGS" "0")
3673 ;; tests.py and window.py don't meet E402:
3674 ;; E402 module level import not at top of file
3675 (substitute* "src/tests/Makefile"
3676 (("--ignore=E123") "--ignore=E123,E402"))
3679 'install 'wrap-program
3680 (lambda* (#:key outputs #:allow-other-keys)
3681 (let ((prog (string-append (assoc-ref outputs "out")
3684 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3685 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3688 `(("intltool" ,intltool)
3689 ("itstool" ,itstool)
3690 ("pkg-config" ,pkg-config)
3691 ("python-pep8" ,python-pep8)
3692 ("xmllint" ,libxml2)
3693 ("xorg-server" ,xorg-server)))
3695 `(("gobject-introspection" ,gobject-introspection)
3697 ("python" ,python-wrapper)
3698 ("python-pygobject" ,python-pygobject)))
3699 (home-page "https://wiki.gnome.org/Apps/DFeet")
3700 (synopsis "D-Bus debugger")
3702 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3703 of running programs and invoke methods on those interfaces.")
3704 (license license:gpl2+)))
3706 (define-public yelp-xsl
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.xz"))
3717 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3718 (build-system gnu-build-system)
3720 `(("intltool" ,intltool)
3721 ("itstool" ,itstool)
3722 ("xmllint" ,libxml2)))
3723 (home-page "https://wiki.gnome.org/Apps/Yelp")
3724 (synopsis "XSL stylesheets for Yelp")
3726 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3727 to format Docbook and Mallard documents.")
3728 (license license:gpl2+)))
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3741 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3742 (build-system glib-or-gtk-build-system)
3744 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3745 ("intltool" ,intltool)
3746 ("itstool" ,itstool)
3747 ("pkg-config" ,pkg-config)))
3749 `(("dconf" ,dconf)))
3751 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3752 ("libxslt" ,libxslt)
3754 ("webkitgtk" ,webkitgtk)
3755 ("yelp-xsl" ,yelp-xsl)))
3756 (home-page "https://wiki.gnome.org/Apps/Yelp")
3757 (synopsis "GNOME help browser")
3759 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3760 man, info, and HTML documents. It can locate documents according to the
3761 freedesktop.org help system specification.")
3762 (license license:gpl2+)))
3764 (define-public yelp-tools
3770 (uri (string-append "mirror://gnome/sources/" name "/"
3771 (version-major+minor version) "/"
3772 name "-" version ".tar.xz"))
3775 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3776 (build-system gnu-build-system)
3778 `(("pkg-config" ,pkg-config)))
3780 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3781 `(("itstool" ,itstool)
3782 ("xmllint" ,libxml2)
3783 ("xsltproc" ,libxslt)))
3785 `(("yelp-xsl" ,yelp-xsl)))
3786 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3787 (synopsis "Yelp documentation tools")
3789 "Yelp-tools is a collection of scripts and build utilities to help create,
3790 manage, and publish documentation for Yelp and the web. Most of the heavy
3791 lifting is done by packages like yelp-xsl and itstool. This package just
3792 wraps things up in a developer-friendly way.")
3793 (license license:gpl2+)))
3795 (define-public libgee
3801 (uri (string-append "mirror://gnome/sources/" name "/"
3802 (version-major+minor version) "/"
3803 name "-" version ".tar.xz"))
3806 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3807 (build-system gnu-build-system)
3810 (modify-phases %standard-phases
3811 (add-after 'unpack 'fix-introspection-install-dir
3812 (lambda* (#:key outputs #:allow-other-keys)
3813 (let ((out (assoc-ref outputs "out")))
3814 (substitute* "gee/Makefile.in"
3815 (("@INTROSPECTION_GIRDIR@")
3816 (string-append out "/share/gir-1.0/"))
3817 (("@INTROSPECTION_TYPELIBDIR@")
3818 (string-append out "/lib/girepository-1.0/")))))))))
3820 `(("glib" ,glib "bin")
3821 ("pkg-config" ,pkg-config)))
3824 ("gobject-introspection" ,gobject-introspection)))
3825 (home-page "https://wiki.gnome.org/Projects/Libgee")
3826 (synopsis "GObject collection library")
3828 "Libgee is a utility library providing GObject-based interfaces and
3829 classes for commonly used data structures.")
3830 (license license:lgpl2.1+)))
3832 (define-public gexiv2
3838 (uri (string-append "mirror://gnome/sources/" name "/"
3839 (version-major+minor version) "/"
3840 name "-" version ".tar.xz"))
3843 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3844 (build-system gnu-build-system)
3846 `(("glib" ,glib "bin")
3847 ("pkg-config" ,pkg-config)))
3849 ;; Listed in "Requires" section of gexiv2.pc
3850 `(("exiv2" ,exiv2)))
3853 ("gobject-introspection" ,gobject-introspection)))
3854 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3855 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3857 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3858 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3859 metadata in photo and video files of various formats.")
3860 (license license:gpl2+)))
3862 (define-public shotwell
3868 (uri (string-append "mirror://gnome/sources/" name "/"
3869 (version-major+minor version) "/"
3870 name "-" version ".tar.xz"))
3873 "0fgs1rgvkmy79bmpxrsvm5w8rvqml4l1vnwma0xqx5zzm02p8a07"))))
3874 (build-system glib-or-gtk-build-system)
3876 `(("dconf" ,dconf)))
3878 `(("pkg-config" ,pkg-config)
3879 ("itstool" ,itstool)
3880 ("gettext" ,gettext-minimal)
3881 ("itstool" ,itstool)
3884 `(("glib:bin" ,glib "bin")
3885 ("gstreamer" ,gstreamer)
3886 ("gst-plugins-base" ,gst-plugins-base)
3890 ("json-glib" ,json-glib)
3891 ("webkitgtk" ,webkitgtk)
3893 ("libsoup" ,libsoup)
3894 ("libxml2" ,libxml2)
3895 ("libgudev" ,libgudev)
3896 ("libgphoto2" ,libgphoto2)))
3897 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3898 (synopsis "Photo manager for GNOME 3")
3900 "Shotwell is a digital photo manager designed for the GNOME desktop
3901 environment. It allows you to import photos from disk or camera, organize
3902 them by keywords and events, view them in full-window or fullscreen mode, and
3903 share them with others via social networking and more.")
3904 (license license:lgpl2.1+)))
3906 (define-public file-roller
3908 (name "file-roller")
3912 (uri (string-append "mirror://gnome/sources/" name "/"
3913 (version-major+minor version) "/"
3914 name "-" version ".tar.xz"))
3917 "1sa46vjx78d670m6bikpibgz39a5zb6ri8yjmj632lmxqvj2sp3b"))))
3918 (build-system glib-or-gtk-build-system)
3921 (modify-phases %standard-phases
3922 (add-before 'install 'skip-gtk-update-icon-cache
3924 ;; Don't create 'icon-theme.cache'
3925 (substitute* (find-files "data" "^Makefile$")
3926 (("gtk-update-icon-cache") (which "true")))
3929 `(("intltool" ,intltool)
3930 ("pkg-config" ,pkg-config)))
3931 ;; TODO: Add libnautilus.
3934 ("gdk-pixbuf" ,gdk-pixbuf)
3935 ("json-glib" ,json-glib)
3936 ("libarchive" ,libarchive)
3937 ("libnotify" ,libnotify)
3939 ("itstool" ,itstool)
3940 ("libxml2" ,libxml2)))
3941 (synopsis "Graphical archive manager for GNOME")
3942 (description "File Roller is an archive manager for the GNOME desktop
3943 environment that allows users to view, unpack, and create compressed archives
3944 such as gzip tarballs.")
3945 (home-page "http://fileroller.sourceforge.net/")
3946 (license license:gpl2+)))
3948 (define-public gnome-session
3950 (name "gnome-session")
3954 (uri (string-append "mirror://gnome/sources/" name "/"
3955 (version-major+minor version) "/"
3956 name "-" version ".tar.xz"))
3959 "1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"))))
3962 (modify-phases %standard-phases
3963 (add-before 'configure 'pre-configure
3964 (lambda* (#:key outputs #:allow-other-keys)
3965 ;; Use elogind instead of systemd.
3966 (substitute* "configure"
3967 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3969 (("systemd") "elogind"))
3970 (substitute* "gnome-session/gsm-systemd.c"
3971 (("#include <systemd/sd-login.h>")
3972 "#include <elogind/sd-login.h>"))
3973 ;; Remove uses of the systemd journal.
3974 (substitute* "gnome-session/main.c"
3975 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3976 (substitute* "gnome-session/gsm-manager.c"
3977 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3978 (substitute* "gnome-session/gsm-autostart-app.c"
3979 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3981 (add-after 'install 'wrap-gnome-session
3982 (lambda* (#:key inputs outputs #:allow-other-keys)
3983 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3984 (let ((glib (assoc-ref inputs "glib:bin"))
3985 (out (assoc-ref outputs "out")))
3986 (wrap-program (string-append out "/bin/gnome-session")
3987 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3989 (add-after 'install 'disable-hardware-acceleration-check
3990 (lambda* (#:key outputs #:allow-other-keys)
3991 ;; Do not abort if hardware acceleration is missing. This allows
3992 ;; GNOME to run in QEMU and on low-end devices.
3993 (let ((out (assoc-ref outputs "out")))
3994 (substitute* (string-append out
3995 "/share/xsessions/gnome.desktop")
3997 "gnome-session --disable-acceleration-check"))
4001 '("--enable-elogind")))
4002 (build-system glib-or-gtk-build-system)
4004 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4005 ("pkg-config" ,pkg-config)
4006 ("intltool" ,intltool)
4007 ("xsltproc" ,libxslt)))
4009 `(("elogind" ,elogind)
4010 ("gnome-desktop" ,gnome-desktop)
4011 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4013 ("json-glib" ,json-glib)
4015 ("libxcomposite" ,libxcomposite)
4016 ("libxtst" ,libxtst)
4019 ("xtrans" ,xtrans)))
4020 (synopsis "Session manager for GNOME")
4022 "This package contains the GNOME session manager, as well as a
4023 configuration program to choose applications starting on login.")
4024 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4025 (license license:gpl2+)))
4033 (uri (string-append "mirror://gnome/sources/" name "/"
4034 (version-major+minor version) "/"
4035 name "-" version ".tar.xz"))
4038 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4039 (modules '((guix build utils)))
4040 (snippet '(substitute* "test/run-with-dbus"
4041 (("/bin/rm") "rm")))))
4042 (build-system gnu-build-system)
4045 (modify-phases %standard-phases
4049 ;; For the missing /etc/machine-id.
4050 (setenv "DBUS_FATAL_WARNINGS" "0")
4053 ;; Failed to convert UTF-8 string to JS string: ...
4054 ;; TODO: actually fix it.
4055 (substitute* "installed-tests/js/testEverythingBasic.js"
4056 ((".*test_utf8_inout.*") ""))
4059 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4060 ("pkg-config" ,pkg-config)
4061 ("xmllint" ,libxml2)
4063 ("dbus-launch" ,dbus)
4064 ("uuidgen" ,util-linux)
4065 ("xvfb" ,xorg-server)))
4067 ;; These are all in the Requires.private field of gjs-1.0.pc.
4068 `(("gobject-introspection" ,gobject-introspection)
4069 ("mozjs" ,mozjs-24)))
4072 ("readline" ,readline)))
4073 (synopsis "Javascript bindings for GNOME")
4074 (home-page "http://live.gnome.org/Gjs")
4076 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4077 javascript engine and the GObject introspection framework.")
4078 (license license:gpl2+)))
4080 (define-public gedit
4086 (uri (string-append "mirror://gnome/sources/" name "/"
4087 (version-major+minor version) "/"
4088 name "-" version ".tar.xz"))
4091 "1y330hanqfld3kssf77wfphah2qpfg17pa109spsbm50f5m2g89j"))))
4092 (build-system glib-or-gtk-build-system)
4094 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4096 (modify-phases %standard-phases
4098 'install 'wrap-gedit
4099 (lambda* (#:key inputs outputs #:allow-other-keys)
4100 (let ((out (assoc-ref outputs "out"))
4101 (gtksourceview (assoc-ref inputs "gtksourceview"))
4102 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4103 (python-path (getenv "PYTHONPATH")))
4104 (wrap-program (string-append out "/bin/gedit")
4106 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4107 `("PYTHONPATH" ":" prefix (,python-path))
4108 ;; For language-specs.
4109 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4113 `(("dconf" ,dconf)))
4115 `(("intltool" ,intltool)
4116 ("itstool" ,itstool)
4117 ("gobject-introspection" ,gobject-introspection)
4118 ("pkg-config" ,pkg-config)))
4122 ("gtksourceview" ,gtksourceview)
4123 ("libpeas" ,libpeas)
4124 ("libxml2" ,libxml2)
4125 ("iso-codes" ,iso-codes)
4126 ("python-pygobject" ,python-pygobject)
4128 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4131 ("adwaita-icon-theme" ,adwaita-icon-theme)
4132 ("libsoup" ,libsoup)
4133 ("gnome-desktop" ,gnome-desktop)))
4134 (home-page "https://wiki.gnome.org/Apps/Gedit")
4135 (synopsis "GNOME text editor")
4136 (description "While aiming at simplicity and ease of use, gedit is a
4137 powerful general purpose text editor.")
4138 (license license:gpl2+)))
4140 (define-public zenity
4146 (uri (string-append "mirror://gnome/sources/" name "/"
4147 (version-major+minor version) "/"
4148 name "-" version ".tar.xz"))
4151 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4152 (build-system gnu-build-system)
4154 `(("gettext" ,gettext-minimal)
4155 ("itstool" ,itstool)
4156 ("pkg-config" ,pkg-config)))
4158 `(("libnotify" ,libnotify)
4159 ("webkitgtk" ,webkitgtk)))
4160 (synopsis "Display graphical dialog boxes from shell scripts")
4161 (home-page "http://www.gnome.org")
4163 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4164 to display dialog boxes from the commandline and shell scripts.")
4165 (license license:lgpl2.0+)))
4167 (define-public mutter
4173 (uri (string-append "mirror://gnome/sources/" name "/"
4174 (version-major+minor version) "/"
4175 name "-" version ".tar.xz"))
4178 "05pr78vgq52bkkqpbfnp9mxw14ij2wk91l2yfa69dpjbvxqm4b0l"))))
4179 (build-system gnu-build-system)
4182 ;; XXX: build fails with [-Werror]:
4183 ;; backends/meta-cursor-renderer.c:112:5: error:
4184 ;; implicit declaration of function ?roundf?
4185 '("--enable-compile-warnings=minimum")))
4187 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4188 ("gobject-introspection" ,gobject-introspection)
4189 ("intltool" ,intltool)
4190 ("pkg-config" ,pkg-config)))
4192 ;; libmutter.pc refers to all these.
4193 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4195 ("clutter" ,clutter)))
4197 `(("gnome-desktop" ,gnome-desktop)
4198 ("libcanberra-gtk" ,libcanberra)
4201 ("libxkbcommon" ,libxkbcommon)
4202 ("libxkbfile" ,libxkbfile)
4203 ("mesa-headers" ,mesa-headers)
4204 ("startup-notification" ,startup-notification)
4205 ("upower-glib" ,upower)
4206 ("xkeyboard-config" ,xkeyboard-config)
4207 ("zenity" ,zenity)))
4208 (synopsis "Window and compositing manager")
4209 (home-page "http://www.gnome.org")
4211 "Mutter is a window and compositing manager that displays and manages your
4212 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4213 Clutter toolkit with solid window-management logic inherited from the Metacity
4215 (license license:gpl2+)))
4217 (define-public gnome-online-accounts
4219 (name "gnome-online-accounts")
4223 (uri (string-append "mirror://gnome/sources/" name "/"
4224 (version-major+minor version) "/"
4225 name "-" version ".tar.xz"))
4228 "0ip0q539bik3wqwl867rjc63w2d5rjyvbqzwczkard70yd6c0kq9"))))
4229 (build-system glib-or-gtk-build-system)
4231 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4232 ("gobject-introspection" ,gobject-introspection)
4233 ("intltool" ,intltool)
4234 ("pkg-config" ,pkg-config)
4235 ("xsltproc" ,libxslt)))
4237 `(("glib" ,glib) ; required by goa-1.0.pc
4238 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4240 `(("docbook-xsl" ,docbook-xsl)
4241 ("json-glib" ,json-glib)
4242 ("libsecret" ,libsecret)
4244 ("telepathy-glib" ,telepathy-glib)
4245 ("webkitgtk" ,webkitgtk)))
4246 (synopsis "Single sign-on framework for GNOME")
4247 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4249 "GNOME Online Accounts provides interfaces so that applications and
4250 libraries in GNOME can access the user's online accounts. It has providers for
4251 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4252 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4253 (license license:lgpl2.0+)))
4255 (define-public evolution-data-server
4257 (name "evolution-data-server")
4261 (uri (string-append "mirror://gnome/sources/" name "/"
4262 (version-major+minor version) "/"
4263 name "-" version ".tar.xz"))
4266 "0zmybf63y0d5zn48q3xjgkh2p2c3ka9xvzd6labp96bd6b6qc58d"))))
4267 (build-system gnu-build-system)
4269 '(;; XXX: fails with:
4270 ;; /Fixture/Calendar0: cleaning up pid xxxx
4274 (let ((nss (assoc-ref %build-inputs "nss"))
4275 (nspr (assoc-ref %build-inputs "nspr")))
4276 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4277 "--disable-google" ; disable Google Contacts support
4278 "--disable-google-auth" ; disable Google authentication
4279 "--enable-vala-bindings"
4280 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4281 (string-append "--with-nss-includes=" nss "/include/nss")
4282 (string-append "--with-nss-libs=" nss "/lib/nss")))
4284 (modify-phases %standard-phases
4285 (add-before 'check 'pre-check
4287 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4288 (("/bin/rm") (which "rm")))
4291 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4292 ("gobject-introspection" ,gobject-introspection)
4294 ("intltool" ,intltool)
4295 ("pkg-config" ,pkg-config)
4297 ("python" ,python)))
4299 ;; These are all in the Requires field of .pc files.
4301 ("libical" ,libical)
4302 ("libsecret" ,libsecret)
4303 ("libsoup" ,libsoup)
4305 ("sqlite" ,sqlite)))
4309 ("gnome-online-accounts" ,gnome-online-accounts)
4310 ("libgweather" ,libgweather)))
4311 (synopsis "Store address books and calendars")
4312 (home-page "https://wiki.gnome.org/Apps/Evolution")
4314 "This package provides a unified backend for programs that work with
4315 contacts, tasks, and calendar information. It was originally developed for
4316 Evolution (hence the name), but is now used by other packages as well.")
4317 (license license:lgpl2.0)))
4319 (define-public caribou
4325 (uri (string-append "mirror://gnome/sources/" name "/"
4326 (version-major+minor version) "/"
4327 name "-" version ".tar.xz"))
4330 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4331 (build-system glib-or-gtk-build-system)
4334 (modify-phases %standard-phases
4337 (lambda* (#:key outputs #:allow-other-keys)
4338 (let ((out (assoc-ref outputs "out")))
4339 ;; Use absolute shared library path in Caribou-1.0.typelib.
4340 (substitute* "libcaribou/Makefile"
4341 (("--shared-library=libcaribou.so")
4342 (string-append "--shared-library="
4343 out "/lib/libcaribou.so")))
4345 (add-after 'install 'wrap-programs
4346 (lambda* (#:key outputs #:allow-other-keys)
4347 (let* ((out (assoc-ref outputs "out"))
4348 (python-path (getenv "PYTHONPATH"))
4349 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4353 `("PYTHONPATH" ":" prefix (,python-path))
4354 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4355 (list (string-append out "/bin/caribou-preferences")
4356 (string-append out "/libexec/antler-keyboard"))))
4359 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4360 ("gobject-introspection" ,gobject-introspection)
4361 ("intltool" ,intltool)
4362 ("pkg-config" ,pkg-config)
4363 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4365 ("xsltproc" ,libxslt)))
4367 ;; caribou-1.0.pc refers to all these.
4368 `(("libgee" ,libgee)
4369 ("libxklavier" ,libxklavier)
4370 ("libxtst" ,libxtst)
4373 `(("clutter" ,clutter)
4376 ("python-pygobject" ,python2-pygobject)))
4377 (synopsis "Text entry and UI navigation application")
4378 (home-page "https://wiki.gnome.org/Projects/Caribou")
4380 "Caribou is an input assistive technology intended for switch and pointer
4382 (license license:lgpl2.1)))
4384 (define-public network-manager
4386 (name "network-manager")
4390 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4391 (version-major+minor version) "/"
4392 "NetworkManager-" version ".tar.xz"))
4395 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
4396 (build-system gnu-build-system)
4398 "doc")) ; 8 MiB of gtk-doc HTML
4401 (let ((out (assoc-ref %outputs "out"))
4402 (doc (assoc-ref %outputs "doc"))
4403 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4405 (list "--with-crypto=gnutls"
4406 "--disable-config-plugin-ibft"
4408 "--localstatedir=/var"
4409 (string-append "--with-udev-dir="
4411 (string-append "--with-dbus-sys-dir="
4412 out "/etc/dbus-1/system.d")
4413 (string-append "--with-html-dir="
4414 doc "/share/gtk-doc/html")
4415 (string-append "--with-dhclient=" dhclient)))
4417 (modify-phases %standard-phases
4418 (add-before 'configure 'pre-configure
4420 ;; These tests try to test aspects of network-manager's
4421 ;; functionality within restricted containers, but they don't
4422 ;; cope with being already in the Guix build jail as that jail
4423 ;; lacks some features that they would like to proxy over (like
4425 (substitute* '("src/platform/Makefile.in"
4426 "src/devices/Makefile.in")
4427 (("SUBDIRS = tests") ""))
4428 (substitute* '("src/tests/Makefile.in")
4429 (("\ttest-route-manager-linux") "\t")
4430 (("\ttest-route-manager-fake") "\t"))
4432 (add-before 'check 'pre-check
4434 ;; For the missing /etc/machine-id.
4435 (setenv "DBUS_FATAL_WARNINGS" "0")
4439 (zero? (system* "make"
4447 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4448 ("gobject-introspection" ,gobject-introspection)
4449 ("intltool" ,intltool)
4450 ("pkg-config" ,pkg-config)
4452 ("python" ,python-wrapper)
4453 ("python-dbus" ,python-dbus)
4454 ("python-pygobject" ,python-pygobject)))
4456 `(("dbus-glib" ,dbus-glib)
4457 ("dnsmasq" ,dnsmasq)
4459 ("iptables" ,iptables)
4460 ("isc-dhcp" ,isc-dhcp)
4461 ("libgcrypt" ,libgcrypt)
4462 ("libgudev" ,libgudev)
4465 ("libsoup" ,libsoup)
4466 ("modem-manager" ,modem-manager)
4469 ("readline" ,readline)
4470 ("util-linux" ,util-linux)))
4471 (synopsis "Network connection manager")
4472 (home-page "http://www.gnome.org/projects/NetworkManager/")
4474 "NetworkManager is a system network service that manages your network
4475 devices and connections, attempting to keep active network connectivity when
4476 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4477 devices, and provides VPN integration with a variety of different VPN
4479 (license license:gpl2+)))
4481 (define-public mobile-broadband-provider-info
4483 (name "mobile-broadband-provider-info")
4484 (version "20151214")
4488 "mirror://gnome/sources/"
4489 "mobile-broadband-provider-info/" version "/"
4490 "mobile-broadband-provider-info-" version ".tar.xz"))
4493 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4494 (build-system gnu-build-system)
4496 `(#:tests? #f)) ; No tests
4497 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4498 (synopsis "Database of broadband connection configuration")
4499 (description "Database of broadband connection configuration.")
4500 (license license:public-domain)))
4502 (define-public network-manager-applet
4504 (name "network-manager-applet")
4508 (uri (string-append "mirror://gnome/sources/" name "/"
4509 (version-major+minor version) "/"
4510 name "-" version ".tar.xz"))
4513 "0ym31m55hj65mmbq2yihy49z5x5z1qpx7jalk64kwx1rr5b2kxyz"))))
4514 (build-system glib-or-gtk-build-system)
4515 (arguments '(#:configure-flags '("--disable-migration")))
4517 `(("intltool" ,intltool)
4518 ("gobject-introspection" ,gobject-introspection)
4519 ("pkg-config" ,pkg-config)))
4521 ;; libnm-gtk.pc refers to all these.
4522 `(("dbus-glib" ,dbus-glib)
4524 ("network-manager" ,network-manager)))
4526 `(("iso-codes" ,iso-codes)
4527 ("libgudev" ,libgudev)
4528 ("libnotify" ,libnotify)
4529 ("libsecret" ,libsecret)))
4530 (synopsis "Applet for managing network connections")
4531 (home-page "http://www.gnome.org/projects/NetworkManager/")
4533 "This package contains a systray applet for NetworkManager. It displays
4534 the available networks and allows users to easily switch between them.")
4535 (license license:gpl2+)))
4537 (define-public libxml++
4543 (uri (string-append "mirror://gnome/sources/" name "/"
4544 (version-major+minor version) "/"
4545 name "-" version ".tar.xz"))
4548 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4549 (build-system gnu-build-system)
4550 ;; libxml++-3.0.pc refers to all these.
4552 `(("libxml2" ,libxml2)
4553 ("glibmm" ,glibmm)))
4556 ("pkg-config" ,pkg-config)))
4557 (home-page "http://libxmlplusplus.sourceforge.net/")
4558 (synopsis "C++ wrapper for XML parser library libxml2")
4560 "This package provides a C++ wrapper for the XML parser library
4562 (license license:lgpl2.1+)))
4564 (define-public libxml++-2
4571 (uri (string-append "mirror://gnome/sources/" name "/"
4572 (version-major+minor version) "/"
4573 name "-" version ".tar.xz"))
4576 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4584 (uri (string-append "mirror://gnome/sources/" name "/"
4585 (version-major+minor version) "/"
4586 name "-" version ".tar.xz"))
4589 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4590 (build-system gnu-build-system)
4593 '("--without-plymouth")
4595 (modify-phases %standard-phases
4597 'configure 'pre-configure
4599 ;; We don't have <systemd/sd-daemon.h>.
4600 (substitute* '("common/gdm-log.c"
4601 "daemon/gdm-server.c"
4602 "daemon/gdm-session-worker.c"
4603 "daemon/gdm-session-worker-job.c")
4604 (("#include <systemd/sd-daemon\\.h>") ""))
4605 ;; Use elogind for sd-login.
4606 (substitute* '("common/gdm-common.c"
4607 "daemon/gdm-manager.c"
4608 "libgdm/gdm-user-switching.c")
4609 (("#include <systemd/sd-login\\.h>")
4610 "#include <elogind/sd-login.h>"))
4611 ;; Avoid checking SYSTEMD using pkg-config.
4612 (setenv "SYSTEMD_CFLAGS" " ")
4613 (setenv "SYSTEMD_LIBS" "-lelogind")
4617 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4618 ("gobject-introspection" ,gobject-introspection)
4619 ("intltool" ,intltool)
4620 ("itstool" ,itstool)
4621 ("pkg-config" ,pkg-config)
4622 ("xmllint" ,libxml2)))
4624 `(("accountsservice" ,accountsservice)
4625 ("check" ,check) ; for testing
4626 ("elogind" ,elogind)
4628 ("iso-codes" ,iso-codes)
4629 ("libcanberra" ,libcanberra)
4630 ("linux-pam" ,linux-pam)))
4631 (synopsis "Display manager for GNOME")
4632 (home-page "http://wiki.gnome.org/Projects/GDM/")
4634 "GNOME Display Manager is a system service that is responsible for
4635 providing graphical log-ins and managing local and remote displays.")
4636 (license license:gpl2+)))
4638 (define-public libgtop
4644 (uri (string-append "mirror://gnome/sources/" name "/"
4645 (version-major+minor version) "/"
4646 name "-" version ".tar.xz"))
4649 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4650 (build-system gnu-build-system)
4652 `(("gobject-introspection" ,gobject-introspection)
4653 ("intltool" ,intltool)
4655 ("pkg-config" ,pkg-config)))
4657 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4658 (synopsis "Portable system access library")
4659 (home-page "https://www.gnome.org/")
4661 "LibGTop is a library to get system specific data such as CPU and memory
4662 usage and information about running processes.")
4663 (license license:gpl2+)))
4665 (define-public gnome-bluetooth
4667 (name "gnome-bluetooth")
4671 (uri (string-append "mirror://gnome/sources/" name "/"
4672 (version-major+minor version) "/"
4673 name "-" version ".tar.xz"))
4676 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4677 (build-system glib-or-gtk-build-system)
4679 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4680 ("gobject-introspection" ,gobject-introspection)
4681 ("intltool" ,intltool)
4682 ("pkg-config" ,pkg-config)
4683 ("xmllint" ,libxml2)))
4685 ;; gnome-bluetooth-1.0.pc refers to all these.
4689 `(("libcanberra" ,libcanberra)
4690 ("libnotify" ,libnotify)))
4691 (synopsis "GNOME Bluetooth subsystem")
4692 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4694 "This package contains tools for managing and manipulating Bluetooth
4695 devices using the GNOME desktop.")
4696 (license license:lgpl2.1+)))
4698 (define-public gnome-control-center
4700 (name "gnome-control-center")
4704 (uri (string-append "mirror://gnome/sources/" name "/"
4705 (version-major+minor version) "/"
4706 name "-" version ".tar.xz"))
4709 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4710 (build-system glib-or-gtk-build-system)
4713 (modify-phases %standard-phases
4714 (add-before 'configure 'patch-paths
4715 (lambda* (#:key inputs #:allow-other-keys)
4716 (let ((libc (assoc-ref inputs "libc"))
4717 (tzdata (assoc-ref inputs "tzdata")))
4718 (substitute* "panels/datetime/tz.h"
4719 (("/usr/share/zoneinfo/zone.tab")
4720 (string-append tzdata "/share/zoneinfo/zone.tab")))
4721 (substitute* "panels/datetime/test-endianess.c"
4722 (("/usr/share/locale")
4723 (string-append libc "/share/locale")))
4726 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4727 ("intltool" ,intltool)
4728 ("pkg-config" ,pkg-config)
4729 ("xsltproc" ,libxslt)))
4731 `(("accountsservice" ,accountsservice)
4732 ("clutter-gtk" ,clutter-gtk)
4733 ("colord-gtk" ,colord-gtk)
4736 ("docbook-xsl" ,docbook-xsl)
4737 ("gnome-bluetooth" ,gnome-bluetooth)
4738 ("gnome-desktop" ,gnome-desktop)
4739 ("gnome-online-accounts" ,gnome-online-accounts)
4740 ("gnome-settings-daemon" ,gnome-settings-daemon)
4743 ("libcanberra" ,libcanberra)
4744 ("libgudev" ,libgudev)
4745 ("libgtop" ,libgtop)
4746 ("libpwquality" ,libpwquality)
4747 ("libsoup" ,libsoup)
4748 ("libxml2" ,libxml2)
4749 ("libwacom" ,libwacom)
4751 ("mit-krb5" ,mit-krb5)
4752 ("modem-manager" ,modem-manager)
4753 ("network-manager-applet" ,network-manager-applet)
4755 ("pulseaudio" ,pulseaudio)
4756 ("smbclient" ,samba)
4758 ("upower" ,upower)))
4759 (synopsis "Utilities to configure the GNOME desktop")
4760 (home-page "https://www.gnome.org/")
4762 "This package contains configuration applets for the GNOME desktop,
4763 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4764 properties, sound setup, desktop theme and background, user interface
4765 properties, screen resolution, and other GNOME parameters.")
4766 (license license:gpl2+)))
4768 (define-public gnome-shell
4770 (name "gnome-shell")
4774 (uri (string-append "mirror://gnome/sources/" name "/"
4775 (version-major+minor version) "/"
4776 name "-" version ".tar.xz"))
4779 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
4780 (build-system glib-or-gtk-build-system)
4783 (modify-phases %standard-phases
4785 (lambda* (#:key outputs #:allow-other-keys)
4786 (let* ((out (assoc-ref outputs "out"))
4787 (keysdir (string-append
4788 out "/share/gnome-control-center/keybindings")))
4789 (zero? (system* "make"
4790 (string-append "keysdir=" keysdir)
4793 'install 'wrap-programs
4794 (lambda* (#:key outputs #:allow-other-keys)
4795 (let ((out (assoc-ref outputs "out"))
4796 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4797 (python-path (getenv "PYTHONPATH")))
4798 (wrap-program (string-append out "/bin/gnome-shell")
4799 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4802 (wrap-program (string-append out "/bin/" prog)
4803 `("PYTHONPATH" ":" prefix (,python-path))
4804 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4805 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4808 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4809 ("gobject-introspection" ,gobject-introspection)
4810 ("intltool" ,intltool)
4811 ("pkg-config" ,pkg-config)
4813 ("xsltproc" ,libxslt)))
4815 `(("accountsservice" ,accountsservice)
4816 ("caribou" ,caribou)
4817 ("docbook-xsl" ,docbook-xsl)
4818 ("evolution-data-server" ,evolution-data-server)
4822 ("gnome-bluetooth" ,gnome-bluetooth)
4823 ("gnome-control-center" ,gnome-control-center)
4824 ("gnome-desktop" ,gnome-desktop)
4825 ("gnome-settings-daemon" ,gnome-settings-daemon)
4826 ("gst-plugins-base" ,gst-plugins-base)
4828 ("libcanberra" ,libcanberra)
4829 ("libcroco" ,libcroco)
4830 ("libgweather" ,libgweather)
4831 ("libsoup" ,libsoup)
4832 ("mesa-headers" ,mesa-headers)
4834 ("network-manager-applet" ,network-manager-applet)
4836 ("pulseaudio" ,pulseaudio)
4837 ("python-pygobject" ,python-pygobject)
4838 ("startup-notification" ,startup-notification)
4839 ("telepathy-logger" ,telepathy-logger)
4841 ;; XXX: required by libgjs.la.
4842 ("readline" ,readline)))
4843 (synopsis "Desktop shell for GNOME")
4844 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4846 "GNOME Shell provides core user interface functions for the GNOME desktop,
4847 like switching to windows and launching applications.")
4848 (license license:gpl2+)))
4850 (define-public gtk-vnc
4857 (uri (string-append "mirror://gnome/sources/" name "/"
4858 (version-major+minor version) "/"
4859 name "-" version ".tar.xz"))
4862 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
4863 (build-system gnu-build-system)
4865 '(#:configure-flags '("--with-gtk=3.0")))
4867 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4869 `(("cyrus-sasl" ,cyrus-sasl)
4871 ("libgcrypt" ,libgcrypt)
4872 ("pulseaudio" ,pulseaudio)))
4874 `(("glib:bin" ,glib "bin")
4875 ("gobject-introspection" ,gobject-introspection)
4876 ("intltool" ,intltool)
4877 ("pkg-config" ,pkg-config)
4879 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4880 (synopsis "VNC viewer widget for GTK+")
4882 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4883 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4884 GTK-VNC implements client side RFB protocol and authentication extensions such
4885 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4886 (license license:lgpl2.1+)))
4888 (define-public nautilus
4894 (uri (string-append "mirror://gnome/sources/" name "/"
4895 (version-major+minor version) "/"
4896 name "-" version ".tar.xz"))
4899 "1bnalv0ljdjzqzvh3rfyg7r4z8vdbq1gdard5q68riqdi2dnfvld"))))
4900 (build-system glib-or-gtk-build-system)
4903 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4904 ;; XXX: FAIL: check-nautilus
4905 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4908 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4909 ("gobject-introspection" ,gobject-introspection)
4910 ("intltool" ,intltool)
4911 ("pkg-config" ,pkg-config)))
4916 ("gnome-desktop" ,gnome-desktop)
4917 ;; XXX: gtk+ is required by libnautilus-extension.pc
4919 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4921 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4923 ("libexif" ,libexif)
4924 ("libxml2" ,libxml2)))
4925 (synopsis "File manager for GNOME")
4926 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4928 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4929 design and behaviour, giving the user a simple way to navigate and manage its
4931 (license license:gpl2+)))
4933 (define-public baobab
4940 "mirror://gnome/sources/" name "/"
4941 (version-major+minor version) "/"
4942 name "-" version ".tar.xz"))
4945 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4946 (build-system glib-or-gtk-build-system)
4948 `(("intltool" ,intltool)
4949 ("pkg-config" ,pkg-config)
4950 ("itstool" ,itstool)
4951 ("xmllint" ,libxml2)
4952 ("glib" ,glib "bin")
4956 (synopsis "Disk usage analyzer for GNOME")
4958 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4959 usage in the GNOME desktop environment. It can easily scan device volumes or
4960 a specific user-requested directory branch (local or remote). Once the scan
4961 is complete it provides a graphical representation of each selected folder.")
4962 (home-page "https://wiki.gnome.org/Apps/Baobab")
4963 (license license:gpl2+)))
4965 (define-public gnome-backgrounds
4967 (name "gnome-backgrounds")
4972 (uri (string-append "mirror://gnome/sources/" name "/"
4973 (version-major+minor version) "/"
4974 name "-" version ".tar.xz"))
4977 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4978 (build-system glib-or-gtk-build-system)
4980 `(("intltool" ,intltool)))
4981 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4982 (synopsis "Background images for the GNOME desktop")
4984 "GNOME backgrounds package contains a collection of graphics files which
4985 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4986 the package creates the proper framework and directory structure so that you
4987 can add your own files to the collection.")
4988 (license (list license:gpl2+
4991 license:cc-by-sa3.0))))
4993 (define-public gnome-screenshot
4995 (name "gnome-screenshot")
5000 (uri (string-append "mirror://gnome/sources/" name "/"
5001 (version-major+minor version) "/"
5002 name "-" version ".tar.xz"))
5005 "0hz1ywgb5vbfqr0p0cr20hmz5b11msyi3psanszdnv0lhxl9pa06"))))
5006 (build-system glib-or-gtk-build-system)
5008 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5009 ("intltool" ,intltool)
5010 ("pkg-config" ,pkg-config)))
5013 ("libcanberra" ,libcanberra)
5015 ("libxext" ,libxext)))
5016 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5017 (synopsis "Take pictures of your screen")
5019 "GNOME Screenshot is a utility used for taking screenshots of the entire
5020 screen, a window or a user defined area of the screen, with optional
5021 beautifying border effects.")
5022 (license license:gpl2+)))
5024 (define-public dconf-editor
5026 (name "dconf-editor")
5031 (uri (string-append "mirror://gnome/sources/" name "/"
5032 (version-major+minor version) "/"
5033 name "-" version ".tar.xz"))
5036 "0yf553bd9l030shhs0jkl5gvkzkfxbxxm56xv0l0nmbplaci8wm8"))))
5037 (build-system glib-or-gtk-build-system)
5040 (modify-phases %standard-phases
5041 (add-before 'install 'skip-gtk-update-icon-cache
5043 ;; Don't create 'icon-theme.cache'.
5044 (substitute* "editor/Makefile"
5045 (("gtk-update-icon-cache") "true"))
5048 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5049 ("intltool" ,intltool)
5050 ("pkg-config" ,pkg-config)))
5054 ("libxml2" ,libxml2)))
5055 (home-page "https://git.gnome.org/browse/dconf-editor")
5056 (synopsis "Graphical editor for GNOME's dconf configuration system")
5058 "Dconf-editor is a graphical tool for browsing and editing the dconf
5059 configuration system for GNOME. It allows users to configure desktop
5060 software that do not provide their own configuration interface.")
5061 (license license:lgpl2.1+)))
5063 (define-public gnome
5066 (version (package-version gnome-shell))
5068 (build-system trivial-build-system)
5069 (arguments '(#:builder (mkdir %output)))
5071 ;; TODO: Add more packages according to:
5072 ;; <https://packages.debian.org/jessie/gnome-core>.
5073 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5075 ("font-cantarell" ,font-cantarell)
5076 ("at-spi2-core" ,at-spi2-core)
5079 ("desktop-file-utils" ,desktop-file-utils)
5081 ("epiphany" ,epiphany)
5083 ("file-roller" ,file-roller)
5085 ("glib-networking" ,glib-networking)
5086 ("gnome-backgrounds" ,gnome-backgrounds)
5087 ("gnome-control-center" ,gnome-control-center)
5088 ("gnome-keyring" ,gnome-keyring)
5089 ("gnome-session" ,gnome-session)
5090 ("gnome-settings-daemon" ,gnome-settings-daemon)
5091 ("gnome-shell" ,gnome-shell)
5092 ("gnome-terminal" ,gnome-terminal)
5093 ("gnome-themes-standard" ,gnome-themes-standard)
5095 ("hicolor-icon-theme" ,hicolor-icon-theme)
5096 ("nautilus" ,nautilus)
5097 ("pinentry-gnome3" ,pinentry-gnome3)
5098 ("pulseaudio" ,pulseaudio)
5099 ("shared-mime-info" ,shared-mime-info)
5102 ("zenity" ,zenity)))
5103 (synopsis "The GNU desktop environment")
5104 (home-page "https://www.gnome.org/")
5106 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5107 applications for browsing the web, editing text and images, creating
5108 documents and diagrams, playing media, scanning, and much more.")
5109 (license license:gpl2+)))
5111 (define-public byzanz
5112 ;; The last stable release of Byzanz was in 2011, but there have been many
5113 ;; useful commits made to the Byzanz repository since then that it would be
5114 ;; silly to use such an old release.
5115 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5118 (version (string-append "0.2-1." (string-take commit 7)))
5122 (url "git://git.gnome.org/byzanz")
5126 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5127 (build-system glib-or-gtk-build-system)
5130 (modify-phases %standard-phases
5131 (add-after 'unpack 'bootstrap
5133 ;; The build system cleverly detects that we're not building from
5134 ;; a release tarball and turns on -Werror for GCC.
5135 ;; Unsurprisingly, there is a warning during compilation that
5136 ;; causes the build to fail unnecessarily, so we remove the flag.
5137 (substitute* '("configure.ac")
5139 ;; The autogen.sh script in gnome-common will run ./configure
5140 ;; by default, which is problematic because source shebangs
5141 ;; have not yet been patched.
5142 (setenv "NOCONFIGURE" "t")
5143 (zero? (system* "sh" "autogen.sh")))))))
5145 `(("autoconf" ,autoconf)
5146 ("automake" ,automake)
5147 ("gnome-common" ,gnome-common)
5148 ("intltool" ,intltool)
5149 ("libtool" ,libtool)
5150 ("pkg-config" ,pkg-config)
5154 ("gstreamer" ,gstreamer)
5155 ("gst-plugins-base" ,gst-plugins-base)
5157 (synopsis "Desktop recording program")
5158 (description "Byzanz is a simple desktop recording program with a
5159 command-line interface. It can record part or all of an X display for a
5160 specified duration and save it as a GIF encoded animated image file.")
5161 (home-page "https://git.gnome.org/browse/byzanz")
5162 (license license:gpl2+))))
5164 (define-public libzapojit
5170 (uri (string-append "mirror://gnome/sources/" name "/"
5171 (version-major+minor version) "/"
5172 name "-" version ".tar.xz"))
5175 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5176 (build-system gnu-build-system)
5178 `(("gobject-introspection" ,gobject-introspection)
5179 ("intltool" ,intltool)
5180 ("pkg-config" ,pkg-config)))
5182 `(("gnome-online-accounts" ,gnome-online-accounts)
5183 ("json-glib" ,json-glib)
5185 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5186 (synopsis "Library for accessing SkyDrive and Hotmail")
5188 "Libzapojit is a GLib-based library for accessing online service APIs of
5189 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5190 (license license:lgpl2.1+)))
5192 (define-public gnome-calendar
5194 (name "gnome-calendar")
5198 (uri (string-append "mirror://gnome/sources/" name "/"
5199 (version-major+minor version) "/"
5200 name "-" version ".tar.xz"))
5203 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5204 (build-system glib-or-gtk-build-system)
5206 `(("intltool" ,intltool)
5207 ("pkg-config" ,pkg-config)))
5210 ("desktop-file-utils" ,desktop-file-utils)
5211 ("evolution-data-server" ,evolution-data-server)
5212 ("gnome-online-accounts" ,gnome-online-accounts)))
5213 (home-page "https://wiki.gnome.org/Apps/Calendar")
5214 (synopsis "GNOME's calendar application")
5216 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5217 desktop. It supports multiple calendars, monthly view and yearly view.")
5218 (license license:gpl3+)))
5220 (define-public gnome-dictionary
5222 (name "gnome-dictionary")
5226 (uri (string-append "mirror://gnome/sources/" name "/"
5227 (version-major+minor version) "/"
5228 name "-" version ".tar.xz"))
5231 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5232 (build-system glib-or-gtk-build-system)
5234 `(("glib:bin" ,glib "bin")
5235 ("gobject-introspection" ,gobject-introspection)
5236 ("intltool" ,intltool)
5237 ("itstool" ,itstool)
5238 ("pkg-config" ,pkg-config)
5239 ("xmllint" ,libxml2)))
5241 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5243 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5244 (synopsis "Look up words in dictionary sources")
5246 "GNOME Dictionary can look for the definition or translation of a word in
5247 existing databases over the internet.")
5248 (license license:gpl3+)))
5250 (define-public gnome-tweak-tool
5252 (name "gnome-tweak-tool")
5256 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5257 (version-major+minor version) "/"
5258 "gnome-tweak-tool-" version ".tar.xz"))
5260 (search-patch "gnome-tweak-tool-search-paths.patch")))
5263 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5264 (build-system gnu-build-system)
5266 `(#:configure-flags '("--localstatedir=/tmp"
5267 "--sysconfdir=/tmp")
5268 #:imported-modules ((guix build python-build-system)
5269 ,@%gnu-build-system-modules)
5270 #:phases (modify-phases %standard-phases
5271 (add-after 'install 'wrap
5272 (@@ (guix build python-build-system) wrap)))))
5274 `(("intltool" ,intltool)
5275 ("pkg-config" ,pkg-config)))
5277 `(("python" ,python-2)
5278 ("python2-pygobject" ,python2-pygobject)))
5280 `(("libnotify" ,libnotify)
5281 ("gobject-introspection" ,gobject-introspection)
5282 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5284 (synopsis "Customize advanced GNOME 3 options")
5285 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5287 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5288 GNOME 3. This includes things like the fonts used in user interface elements,
5289 alternative user interface themes, changes in window management behavior,
5290 GNOME Shell appearance and extension, etc.")
5291 (license license:gpl3+)))
5293 (define-public gnome-shell-extensions
5295 (name "gnome-shell-extensions")
5299 (uri (string-append "mirror://gnome/sources/" name "/"
5300 (version-major+minor version) "/"
5301 name "-" version ".tar.xz"))
5304 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5305 (build-system gnu-build-system)
5307 '(#:configure-flags '("--enable-extensions=all")))
5309 `(("intltool" ,intltool)
5310 ("pkg-config" ,pkg-config)))
5313 ("glib" ,glib "bin")))
5314 (synopsis "Extensions for GNOME Shell")
5315 (description "GNOME Shell extensions modify and extend GNOME Shell
5316 functionality and behavior.")
5317 (home-page "https://extensions.gnome.org/")
5318 (license license:gpl3+)))
5320 (define-public arc-theme
5323 (version "20160605")
5326 (uri (string-append "https://github.com/horst3180/arc-theme"
5327 "/archive/" version ".tar.gz"))
5328 (file-name (string-append name "-" version ".tar.gz"))
5331 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5332 (build-system gnu-build-system)
5335 (modify-phases %standard-phases
5336 (add-after 'unpack 'bootstrap
5338 (zero? (system* "autoreconf" "-vif")))))))
5340 `(("autoconf" ,autoconf)
5341 ("automake" ,automake)
5342 ("pkg-config" ,pkg-config)))
5345 (synopsis "A flat GTK+ theme with transparent elements")
5346 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5347 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5348 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5349 (home-page "https://github.com/horst3180/arc-theme")
5350 ;; No "or later" language found.
5351 (license license:gpl3)))
5353 (define-public moka-icon-theme
5355 (name "moka-icon-theme")
5359 (uri (string-append "https://github.com/moka-project"
5360 "/moka-icon-theme/archive/v"
5362 (file-name (string-append name "-" version ".tar.gz"))
5365 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5366 (build-system gnu-build-system)
5369 (modify-phases %standard-phases
5370 (add-after 'unpack 'patch-makefile.am
5372 (substitute* '("Makefile.am")
5373 (("\\$\\(DESTDIR\\)/usr/share")
5376 (add-after 'patch-makefile.am 'bootstrap
5378 (zero? (system* "autoreconf" "-vif")))))))
5380 `(("autoconf" ,autoconf)
5381 ("automake" ,automake)))
5382 (synopsis "Moka icon theme")
5383 (description "Moka is a stylized desktop icon set, designed to be clear,
5384 simple and consistent.")
5385 (home-page "http://snwh.org/moka")
5386 (license license:gpl3+)))
5388 (define-public arc-icon-theme
5390 (name "arc-icon-theme")
5391 (version "20160605")
5394 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5395 "/archive/" version ".tar.gz"))
5396 (file-name (string-append name "-" version ".tar.gz"))
5399 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5400 (build-system gnu-build-system)
5403 (modify-phases %standard-phases
5404 (add-after 'unpack 'bootstrap
5406 (zero? (system* "autoreconf" "-vif")))))))
5408 `(("autoconf" ,autoconf)
5409 ("automake" ,automake)))
5410 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5412 `(("moka-icon-theme" ,moka-icon-theme)))
5413 (synopsis "Arc icon theme")
5414 (description "The Arc icon theme provides a set of icons matching the
5415 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5416 the Moka icon theme.")
5417 (home-page "https://github.com/horst3180/arc-icon-theme")
5418 (license license:gpl3+)))
5420 (define-public folks
5427 "mirror://gnome/sources/" name "/"
5428 (version-major+minor version) "/"
5429 name "-" version ".tar.xz"))
5432 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5433 (build-system glib-or-gtk-build-system)
5436 ("dbus-glib" ,dbus-glib)
5437 ("evolution-data-server" ,evolution-data-server)
5440 ("telepathy-glib" ,telepathy-glib)))
5442 `(("gobject-introspection" ,gobject-introspection)
5443 ("intltool" ,intltool)
5444 ("pkg-config" ,pkg-config)
5446 (synopsis "Library to aggregate data about people")
5447 (description "Libfolks is a library that aggregates information about people
5448 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5449 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5450 etc.) to create metacontacts. It's written in Vala, which generates C code when
5452 (home-page "https://wiki.gnome.org/Projects/Folks")
5453 (license license:lgpl2.1+)))
5455 (define-public gfbgraph
5462 "mirror://gnome/sources/" name "/"
5463 (version-major+minor version) "/"
5464 name "-" version ".tar.xz"))
5467 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5468 (build-system glib-or-gtk-build-system)
5470 `(#:tests? #f ; Tests appear to require the network.
5471 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5472 #:configure-flags '("--disable-gtk-doc"
5474 "--enable-introspection")))
5476 `(("pkg-config" ,pkg-config)
5477 ("gobject-introspection" ,gobject-introspection)))
5479 `(("json-glib" ,json-glib)
5480 ("gnome-online-accounts" ,gnome-online-accounts)
5482 (synopsis "GLib/GObject wrapper for the Facebook API")
5483 (description "This library allows you to use the Facebook API from
5484 GLib/GObject code.")
5485 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5486 (license license:lgpl2.1+)))
5488 (define-public libgnomekbd
5490 (name "libgnomekbd")
5494 (uri (string-append "mirror://gnome/sources/" name "/"
5495 (version-major+minor version) "/"
5496 name "-" version ".tar.xz"))
5499 "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
5500 (build-system gnu-build-system)
5502 `(("pkg-config" ,pkg-config)
5503 ("glib" ,glib "bin")
5504 ("intltool" ,intltool)))
5506 ;; Referred to in .h files and .pc.
5509 ("libxklavier" ,libxklavier)))
5510 (home-page "https://www.gnome.org")
5511 (synopsis "GNOME keyboard configuration library")
5513 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5514 environment, which can notably display keyboard layouts.")
5515 (license license:lgpl2.0+)))
5517 ;;; This package is no longer maintained:
5518 ;;; https://wiki.gnome.org/Attic/LibUnique
5519 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5520 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5521 (define-public libunique
5527 (uri (string-append "mirror://gnome/sources/" name "/"
5528 (version-major+minor version) "/"
5529 name "-" version ".tar.xz"))
5532 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5533 (build-system glib-or-gtk-build-system)
5535 `(#:configure-flags '("--disable-static"
5536 "--disable-dbus" ; use gdbus
5537 "--enable-introspection")))
5539 `(("pkg-config" ,pkg-config)
5540 ("gobject-introspection" ,gobject-introspection)
5541 ("glib:bin" ,glib "bin")
5542 ("gtk-doc" ,gtk-doc)))
5544 ;; Referred to in .h files and .pc.
5546 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5547 (synopsis "Library for writing single instance applications")
5549 "Libunique is a library for writing single instance applications. If you
5550 launch a single instance application twice, the second instance will either just
5551 quit or will send a message to the running instance. Libunique makes it easy to
5552 write this kind of application, by providing a base class, taking care of all
5553 the IPC machinery needed to send messages to a running instance, and also
5554 handling the startup notification side.")
5555 (license license:lgpl2.1+)))
5557 (define-public gnome-calculator
5559 (name "gnome-calculator")
5564 (uri (string-append "mirror://gnome/sources/" name "/"
5565 (version-major+minor version) "/"
5566 name "-" version ".tar.xz"))
5569 "1yx86kyd54y3k3b6rmdazvmpxzl0zn791zr1q87zjc5228mc3w9a"))))
5570 (build-system glib-or-gtk-build-system)
5572 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5573 ("intltool" ,intltool)
5574 ("itstool" ,itstool)
5575 ("pkg-config" ,pkg-config)))
5577 `(("gtksourceview" ,gtksourceview)
5578 ("libsoup" ,libsoup)
5580 (home-page "https://wiki.gnome.org/Apps/Calculator")
5581 (synopsis "Desktop calculator")
5583 "Calculator is an application that solves mathematical equations and
5584 is suitable as a default application in a Desktop environment.")
5585 (license license:gpl3)))
5594 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5595 name "-" version ".tar.bz2"))
5598 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5599 (build-system gnu-build-system)
5601 `(("intltool" ,intltool)
5602 ("pkg-config" ,pkg-config)))
5605 ("gtksourceview" ,gtksourceview)
5607 (home-page "https://wiki.gnome.org/Apps/Xpad")
5608 (synopsis "Virtual sticky note")
5610 "Xpad is a sticky note that strives to be simple, fault tolerant,
5611 and customizable. Xpad consists of independent pad windows, each is
5612 basically a text box in which notes can be written.")
5613 (license license:gpl3+)))