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 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 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 Rene Saavedra <rennes@openmailbox.org>
18 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
19 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
21 ;;; This file is part of GNU Guix.
23 ;;; GNU Guix is free software; you can redistribute it and/or modify it
24 ;;; under the terms of the GNU General Public License as published by
25 ;;; the Free Software Foundation; either version 3 of the License, or (at
26 ;;; your option) any later version.
28 ;;; GNU Guix is distributed in the hope that it will be useful, but
29 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
30 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 ;;; GNU General Public License for more details.
33 ;;; You should have received a copy of the GNU General Public License
34 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
36 (define-module (gnu packages gnome)
37 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix packages)
39 #:use-module (guix download)
40 #:use-module (guix git-download)
41 #:use-module (guix utils)
42 #:use-module (guix build-system gnu)
43 #:use-module (guix build-system glib-or-gtk)
44 #:use-module (guix build-system trivial)
45 #:use-module (gnu packages)
46 #:use-module (gnu packages admin)
47 #:use-module (gnu packages autotools)
48 #:use-module (gnu packages avahi)
49 #:use-module (gnu packages base)
50 #:use-module (gnu packages bison)
51 #:use-module (gnu packages calendar)
52 #:use-module (gnu packages check)
53 #:use-module (gnu packages cups)
54 #:use-module (gnu packages curl)
55 #:use-module (gnu packages cyrus-sasl)
56 #:use-module (gnu packages databases)
57 #:use-module (gnu packages djvu)
58 #:use-module (gnu packages dns)
59 #:use-module (gnu packages flex)
60 #:use-module (gnu packages docbook)
61 #:use-module (gnu packages enchant)
62 #:use-module (gnu packages game-development)
63 #:use-module (gnu packages gettext)
64 #:use-module (gnu packages glib)
65 #:use-module (gnu packages gnupg)
66 #:use-module (gnu packages gnuzilla)
67 #:use-module (gnu packages gstreamer)
68 #:use-module (gnu packages gtk)
69 #:use-module (gnu packages gperf)
70 #:use-module (gnu packages guile)
71 #:use-module (gnu packages openldap)
72 #:use-module (gnu packages pdf)
73 #:use-module (gnu packages polkit)
74 #:use-module (gnu packages popt)
75 #:use-module (gnu packages ghostscript)
76 #:use-module (gnu packages ibus)
77 #:use-module (gnu packages iso-codes)
78 #:use-module (gnu packages libcanberra)
79 #:use-module (gnu packages linux)
80 #:use-module (gnu packages libusb)
81 #:use-module (gnu packages lirc)
82 #:use-module (gnu packages lua)
83 #:use-module (gnu packages m4)
84 #:use-module (gnu packages image)
85 #:use-module (gnu packages networking)
86 #:use-module (gnu packages password-utils)
87 #:use-module (gnu packages perl)
88 #:use-module (gnu packages photo)
89 #:use-module (gnu packages pkg-config)
90 #:use-module (gnu packages pulseaudio)
91 #:use-module (gnu packages python)
92 #:use-module (gnu packages scanner)
93 #:use-module (gnu packages ssh)
94 #:use-module (gnu packages xml)
95 #:use-module (gnu packages geeqie)
96 #:use-module (gnu packages gl)
97 #:use-module (gnu packages compression)
98 #:use-module (gnu packages texlive)
99 #:use-module (gnu packages tls)
100 #:use-module (gnu packages web)
101 #:use-module (gnu packages webkit)
102 #:use-module (gnu packages xorg)
103 #:use-module (gnu packages xdisorg)
104 #:use-module (gnu packages freedesktop)
105 #:use-module (gnu packages mail)
106 #:use-module (gnu packages mit-krb5)
107 #:use-module (gnu packages backup)
108 #:use-module (gnu packages nettle)
109 #:use-module (gnu packages ncurses)
110 #:use-module (gnu packages video)
111 #:use-module (gnu packages cdrom)
112 #:use-module (gnu packages samba)
113 #:use-module (gnu packages readline)
114 #:use-module (gnu packages fonts)
115 #:use-module (srfi srfi-1))
117 (define-public brasero
123 (uri (string-append "mirror://gnome/sources/" name "/"
124 (version-major+minor version) "/"
125 name "-" version ".tar.xz"))
128 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
129 (build-system glib-or-gtk-build-system)
131 `(#:configure-flags (list
132 (string-append "--with-girdir="
133 (assoc-ref %outputs "out")
135 (string-append "--with-typelibdir="
136 (assoc-ref %outputs "out")
137 "/lib/girepository-1.0"))))
139 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
141 `(("intltool" ,intltool)
142 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
143 ("gobject-introspection" ,gobject-introspection)
144 ("pkg-config" ,pkg-config)))
147 ("gnome-doc-utils" ,gnome-doc-utils)
148 ("gstreamer" ,gstreamer)
149 ("gst-plugins-base" ,gst-plugins-base)
152 ("libcanberra" ,libcanberra)
154 ("libnotify" ,libnotify)
158 ("totem-pl-parser" ,totem-pl-parser)))
159 (home-page "https://projects.gnome.org/brasero/")
160 (synopsis "CD/DVD burning tool for Gnome")
161 (description "Brasero is an application to burn CD/DVD for the Gnome
162 Desktop. It is designed to be as simple as possible and has some unique
163 features to enable users to create their discs easily and quickly.")
164 (license license:gpl2+)))
166 (define-public gnome-common
168 (name "gnome-common")
173 (uri (string-append "mirror://gnome/sources/" name "/"
174 (version-major+minor version) "/"
175 name "-" version ".tar.xz"))
178 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
179 (build-system gnu-build-system)
180 (home-page "https://www.gnome.org/")
181 (synopsis "Bootstrap GNOME modules built from Git")
182 (description "gnome-common contains various files needed to bootstrap
183 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
184 can be used to configure a source directory checked out from Git and some
185 commonly used macros.")
186 (license license:gpl2+)))
188 (define-public gnome-desktop
190 (name "gnome-desktop")
195 (uri (string-append "mirror://gnome/sources/" name "/"
196 (version-major+minor version) "/"
197 name "-" version ".tar.xz"))
200 "0h6185lmkaf49dr43pb6gsb9yi25rc32n7dq5186hwln38mppb3f"))))
201 (build-system gnu-build-system)
203 `(("gobject-introspection" ,gobject-introspection)
205 ("intltool" ,intltool)
206 ("pkg-config" ,pkg-config)
207 ("xmllint" ,libxml2)))
209 ;; Required by gnome-desktop-3.0.pc.
210 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
213 `(("gdk-pixbuf" ,gdk-pixbuf)
215 ("iso-codes" ,iso-codes)
218 ("libxkbfile" ,libxkbfile)
219 ("libxrandr" ,libxrandr)
220 ("xkeyboard-config" ,xkeyboard-config)))
221 (home-page "https://www.gnome.org/")
223 "Libgnome-desktop, gnome-about, and desktop-wide documents")
225 "The libgnome-desktop library provides API shared by several applications
226 on the desktop, but that cannot live in the platform for various reasons.
227 There is no API or ABI guarantee, although we are doing our best to provide
228 stability. Documentation for the API is available with gtk-doc.
230 The gnome-about program helps find which version of GNOME is installed.")
231 ; Some bits under the LGPL.
232 (license license:gpl2+)))
234 (define-public gnome-doc-utils
236 (name "gnome-doc-utils")
241 (uri (string-append "mirror://gnome/sources/" name "/"
242 (version-major+minor version) "/"
243 name "-" version ".tar.xz"))
246 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
247 (build-system gnu-build-system)
249 `(("intltool" ,intltool)
250 ("docbook-xml" ,docbook-xml-4.4)
251 ("python2-libxml2" ,python2-libxml2)
254 ("pkg-config" ,pkg-config)
255 ("python-2" ,python-2)))
256 (home-page "https://wiki.gnome.org/GnomeDocUtils")
258 "Documentation utilities for the Gnome project")
260 "Gnome-doc-utils is a collection of documentation utilities for the
261 Gnome project. It includes xml2po tool which makes it easier to translate
262 and keep up to date translations of documentation.")
263 (license license:gpl2+))) ; xslt under lgpl
271 (uri (string-append "mirror://gnome/sources/" name "/"
272 (version-major+minor version) "/"
273 name "-" version ".tar.xz"))
276 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
277 (build-system gnu-build-system)
279 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
281 #:phases (modify-phases %standard-phases
284 (lambda* (#:key inputs #:allow-other-keys)
285 (substitute* "build/tap-driver"
286 (("/usr/bin/env python") (which "python"))))))))
289 ("gnupg" ,gnupg) ;called as a child process during tests
290 ("libgcrypt" ,libgcrypt)))
292 `(("python" ,python-2) ;for tests
293 ("pkg-config" ,pkg-config)
295 ("gobject-introspection" ,gobject-introspection)
296 ("intltool" ,intltool)
297 ("xsltproc" ,libxslt)))
298 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
300 `(("p11-kit" ,p11-kit)
303 (home-page "http://www.gnome.org")
304 (synopsis "Libraries for displaying certificates and accessing key stores")
306 "The GCR package contains libraries used for displaying certificates and
307 accessing key stores. It also provides the viewer for crypto files on the
309 (license license:lgpl2.1+)))
311 (define-public libgnome-keyring
313 (name "libgnome-keyring")
317 (uri (string-append "mirror://gnome/sources/" name "/"
318 (version-major+minor version) "/"
319 name "-" version ".tar.xz"))
322 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
323 (build-system gnu-build-system)
325 `(("libgcrypt" ,libgcrypt)
328 `(("pkg-config" ,pkg-config)
330 ("intltool" ,intltool)))
332 ;; Referred to in .h files and .pc.
334 (home-page "http://www.gnome.org")
335 (synopsis "Accessing passwords from the GNOME keyring")
337 "Client library to access passwords from the GNOME keyring.")
339 ;; Though a couple of files are LGPLv2.1+.
340 (license license:lgpl2.0+)))
342 (define-public gnome-keyring
344 (name "gnome-keyring")
348 (uri (string-append "mirror://gnome/sources/" name "/"
349 (version-major+minor version) "/"
350 name "-" version ".tar.xz"))
353 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
354 (build-system gnu-build-system)
356 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
360 (string-append "--with-pkcs11-config="
361 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
362 (string-append "--with-pkcs11-modules="
363 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
365 (modify-phases %standard-phases
368 (lambda* (#:key inputs #:allow-other-keys)
369 (substitute* "build/tap-driver"
370 (("/usr/bin/env python") (which "python")))))
372 'configure 'fix-docbook
373 (lambda* (#:key inputs #:allow-other-keys)
374 (substitute* "docs/Makefile.am"
375 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
376 (string-append (assoc-ref inputs "docbook-xsl")
377 "/xml/xsl/docbook-xsl-"
378 ,(package-version docbook-xsl)
379 "/manpages/docbook.xsl")))
380 (setenv "XML_CATALOG_FILES"
381 (string-append (assoc-ref inputs "docbook-xml")
382 "/xml/dtd/docbook/catalog.xml")))))))
384 `(("libgcrypt" ,libgcrypt)
385 ("linux-pam" ,linux-pam)
389 `(("pkg-config" ,pkg-config)
391 ("python" ,python-2) ;for tests
392 ("intltool" ,intltool)
393 ("autoconf" ,autoconf)
394 ("automake" ,automake)
395 ("libxslt" ,libxslt) ;for documentation
396 ("docbook-xml" ,docbook-xml-4.2)
397 ("docbook-xsl" ,docbook-xsl)))
398 (home-page "http://www.gnome.org")
399 (synopsis "Daemon to store passwords and encryption keys")
401 "gnome-keyring is a program that keeps passwords and other secrets for
402 users. It is run as a daemon in the session, similar to ssh-agent, and other
403 applications locate it via an environment variable or D-Bus.
405 The program can manage several keyrings, each with its own master password,
406 and there is also a session keyring which is never stored to disk, but
407 forgotten when the session ends.")
408 (license license:lgpl2.1+)))
410 (define-public evince
416 (uri (string-append "mirror://gnome/sources/" name "/"
417 (version-major+minor version) "/"
418 name "-" version ".tar.xz"))
421 "1052lm4i5qq27sgk6ck5xc1cxh0qx4zzhifjhmzjlv38afj5i0yg"))))
422 (build-system glib-or-gtk-build-system)
424 `(#:configure-flags '("--disable-nautilus")
426 ;; FIXME: Tests fail with:
427 ;; ImportError: No module named gi.repository
428 ;; Where should that module come from?
431 `(("libspectre" ,libspectre)
432 ("djvulibre" ,djvulibre)
433 ("ghostscript" ,ghostscript)
437 ;; Add libgxps for XPS support.
438 ;; Build libkpathsea as a shared library for DVI support.
439 ;; ("libkpathsea" ,texlive-bin)
440 ("gnome-desktop" ,gnome-desktop)
441 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
442 ("libgnome-keyring" ,libgnome-keyring)
443 ("adwaita-icon-theme" ,adwaita-icon-theme)
444 ("gdk-pixbuf" ,gdk-pixbuf)
452 ("shared-mime-info" ,shared-mime-info)
454 ("libcanberra" ,libcanberra)
455 ("libsecret" ,libsecret)
457 ("dogtail" ,python2-dogtail)))
459 `(("itstool" ,itstool)
460 ("intltool" ,intltool)
462 ("pkg-config" ,pkg-config)
463 ("xmllint" ,libxml2)))
465 "http://www.gnome.org/projects/evince/")
466 (synopsis "GNOME's document viewer")
468 "Evince is a document viewer for multiple document formats. It
469 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
470 of Evince is to replace the multiple document viewers that exist
471 on the GNOME Desktop with a single simple application.")
472 (license license:gpl2+)))
474 (define-public gsettings-desktop-schemas
476 (name "gsettings-desktop-schemas")
481 (uri (string-append "mirror://gnome/sources/" name "/"
482 (version-major+minor version) "/"
483 name "-" version ".tar.xz"))
486 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
487 (build-system gnu-build-system)
491 `(("intltool" ,intltool)
492 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
493 ("gobject-introspection" ,gobject-introspection)
494 ("pkg-config" ,pkg-config)))
495 (home-page "https://launchpad.net/gsettings-desktop-schemas")
497 "GNOME settings for various desktop components")
499 "Gsettings-desktop-schemas contains a collection of GSettings schemas
500 for settings shared by various components of the GNOME desktop.")
501 (license license:lgpl2.1+)))
503 (define-public icon-naming-utils
505 (name "icon-naming-utils")
510 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
514 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
515 (build-system gnu-build-system)
518 ("perl-xml-simple" ,perl-xml-simple)))
522 'install 'set-load-paths
523 ;; Tell 'icon-name-mapping' where XML::Simple is.
524 (lambda* (#:key outputs #:allow-other-keys)
525 (let* ((out (assoc-ref outputs "out"))
526 (prog (string-append out "/libexec/icon-name-mapping")))
529 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
531 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
533 "Utility to implement the Freedesktop Icon Naming Specification")
535 "To help with the transition to the Freedesktop Icon Naming
536 Specification, the icon naming utility maps the icon names used by the
537 GNOME and KDE desktops to the icon names proposed in the specification.")
538 (license license:lgpl2.1+)))
540 (define-public desktop-file-utils
542 (name "desktop-file-utils")
546 (uri (string-append "https://www.freedesktop.org/software/" name
547 "/releases/" name "-" version ".tar.xz"))
550 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
551 (build-system gnu-build-system)
553 `(("pkg-config" ,pkg-config)))
556 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
557 (synopsis "Utilities for working with desktop entries")
559 "This package contains a few command line utilities for working with
562 desktop-file-validate: validates a desktop file and prints warnings/errors
563 about desktop entry specification violations.
565 desktop-file-install: installs a desktop file to the applications directory,
566 optionally munging it a bit in transit.
568 update-desktop-database: updates the database containing a cache of MIME types
569 handled by desktop files.")
570 (license license:gpl2+)))
572 (define-public gnome-icon-theme
574 (name "gnome-icon-theme")
579 (uri (string-append "mirror://gnome/sources/" name "/"
580 (version-major+minor version) "/"
581 name "-" version ".tar.xz"))
584 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
585 (build-system gnu-build-system)
587 `(("gtk+" ,gtk+) ; for gtk-update-icon-cache
588 ("icon-naming-utils" ,icon-naming-utils)
589 ("intltool" ,intltool)
590 ("pkg-config" ,pkg-config)))
591 (home-page "http://art.gnome.org/")
595 "Icons for the GNOME desktop.")
596 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
598 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
599 (define-public adwaita-icon-theme
600 (package (inherit gnome-icon-theme)
601 (name "adwaita-icon-theme")
605 (uri (string-append "mirror://gnome/sources/" name "/"
606 (version-major+minor version) "/"
607 name "-" version ".tar.xz"))
610 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))))
612 (define-public shared-mime-info
614 (name "shared-mime-info")
618 (uri (string-append "https://freedesktop.org/~hadess/"
619 "shared-mime-info-" version ".tar.xz"))
622 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
623 (build-system gnu-build-system)
625 ;; The build system appears not to be parallel-safe.
626 '(#:parallel-build? #f))
629 ("libxml2" ,libxml2)))
631 `(("intltool" ,intltool)
632 ("pkg-config" ,pkg-config)))
633 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
634 (synopsis "Database of common MIME types")
636 "The shared-mime-info package contains the core database of common types
637 and the update-mime-database command used to extend it. It requires glib2 to
638 be installed for building the update command. Additionally, it uses intltool
639 for translations, though this is only a dependency for the maintainers. This
640 database is translated at Transifex.")
641 (license license:gpl2+)))
643 (define-public hicolor-icon-theme
645 (name "hicolor-icon-theme")
650 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
651 "hicolor-icon-theme-" version ".tar.gz"))
654 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
655 (build-system gnu-build-system)
657 `(#:tests? #f)) ; no check target
658 (home-page "http://icon-theme.freedesktop.org/releases/")
660 "Freedesktop icon theme")
662 "Freedesktop icon theme.")
663 (license license:gpl2)))
665 (define-public libnotify
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
677 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
678 (build-system gnu-build-system)
680 `(("gdk-pixbuf" ,gdk-pixbuf)
685 `(("pkg-config" ,pkg-config)
687 ("gobject-introspection" ,gobject-introspection)))
688 (home-page "https://developer-next.gnome.org/libnotify/")
690 "GNOME desktop notification library")
692 "Libnotify is a library that sends desktop notifications to a
693 notification daemon, as defined in the Desktop Notifications spec. These
694 notifications can be used to inform the user about an event or display
695 some form of information without getting in the user's way.")
696 (license license:lgpl2.1+)))
698 (define-public libpeas
705 (uri (string-append "mirror://gnome/sources/" name "/"
706 (version-major+minor version) "/"
707 name "-" version ".tar.xz"))
710 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
711 (build-system gnu-build-system)
715 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
717 ("python-pygobject" ,python-pygobject)))
719 `(("pkg-config" ,pkg-config)
720 ("glib:bin" ,glib "bin")
721 ("gobject-introspection" ,gobject-introspection)
722 ("intltool" ,intltool)))
723 (home-page "https://wiki.gnome.org/Libpeas")
724 (synopsis "GObject plugin system")
726 "Libpeas is a gobject-based plugins engine, and is targetted at giving
727 every application the chance to assume its own extensibility. It also has a
728 set of features including, but not limited to: multiple extension points; on
729 demand (lazy) programming language support for C, Python and JS; simplicity of
731 (license license:lgpl2.0+)))
733 (define-public gtkglext
739 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
740 version "/gtkglext-" version ".tar.gz"))
742 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
743 (patches (search-patches
744 "gtkglext-disable-disable-deprecated.patch"))))
745 (build-system gnu-build-system)
746 (inputs `(("gtk+" ,gtk+-2)
751 (native-inputs `(("pkg-config" ,pkg-config)
752 ("glib" ,glib "bin")))
753 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
754 (home-page "https://projects.gnome.org/gtkglext")
755 (synopsis "OpenGL extension to GTK+")
756 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
757 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
758 API add-ons to make GTK+ widgets OpenGL-capable.")
759 (license license:lgpl2.1+)))
761 (define-public glade3
767 (uri (string-append "mirror://gnome/sources/" name "/"
768 (version-major+minor version) "/"
769 name "-" version ".tar.xz"))
772 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
773 (build-system glib-or-gtk-build-system)
775 `(#:tests? #f ; needs X, GL, and software rendering
777 (modify-phases %standard-phases
778 (add-before 'configure 'fix-docbook
779 (lambda* (#:key inputs #:allow-other-keys)
780 (substitute* "man/Makefile.in"
781 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
782 (string-append (assoc-ref inputs "docbook-xsl")
783 "/xml/xsl/docbook-xsl-"
784 ,(package-version docbook-xsl)
785 "/manpages/docbook.xsl")))
789 ("libxml2" ,libxml2)))
791 `(("intltool" ,intltool)
793 ("libxslt" ,libxslt) ;for xsltproc
794 ("docbook-xml" ,docbook-xml-4.2)
795 ("docbook-xsl" ,docbook-xsl)
797 ("pkg-config" ,pkg-config)))
798 (home-page "https://glade.gnome.org")
799 (synopsis "GTK+ rapid application development tool")
800 (description "Glade is a rapid application development (RAD) tool to
801 enable quick & easy development of user interfaces for the GTK+ toolkit and
802 the GNOME desktop environment.")
803 (license license:lgpl2.0+)))
805 (define-public libcroco
811 (uri (string-append "mirror://gnome/sources/" name "/"
812 (version-major+minor version) "/"
813 name "-" version ".tar.xz"))
816 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
817 (build-system gnu-build-system)
819 `(("pkg-config" ,pkg-config)))
824 (home-page "https://github.com/GNOME/libcroco")
825 (synopsis "CSS2 parsing and manipulation library")
827 "Libcroco is a standalone CSS2 parsing and manipulation library.
828 The parser provides a low level event driven SAC-like API and a CSS object
829 model like API. Libcroco provides a CSS2 selection engine and an experimental
830 XML/CSS rendering engine.")
833 (license license:lgpl2.1)))
835 (define-public libgsf
841 (uri (string-append "mirror://gnome/sources/" name "/"
842 (version-major+minor version) "/"
843 name "-" version ".tar.xz"))
846 "0h19ssxzz0cmznwga2xy55kjibm24mwxqarnpd0w7xy0hrzm1dvi"))))
847 (build-system gnu-build-system)
849 `(("intltool" ,intltool)
850 ("pkg-config" ,pkg-config)))
856 `(("gdk-pixbuf" ,gdk-pixbuf)
858 ("libxml2" ,libxml2)))
859 (home-page "http://www.gnome.org/projects/libgsf")
860 (synopsis "GNOME's Structured File Library")
862 "Libgsf aims to provide an efficient extensible I/O abstraction for
863 dealing with different structured file formats.")
866 (license license:lgpl2.1)))
868 (define-public librsvg
874 (uri (string-append "mirror://gnome/sources/" name "/"
875 (version-major+minor version) "/"
876 name "-" version ".tar.xz"))
879 "1x05vd2llpmskq3prkp7kbpmshmpp9whj4kfl99ybipf4fhw9jnr"))))
880 (build-system gnu-build-system)
884 'configure 'pre-configure
885 (lambda* (#:key inputs #:allow-other-keys)
886 (substitute* "gdk-pixbuf-loader/Makefile.in"
887 ;; By default the gdk-pixbuf loader is installed under
888 ;; gdk-pixbuf's prefix. Work around that.
889 (("gdk_pixbuf_moduledir = .*$")
890 (string-append "gdk_pixbuf_moduledir = "
891 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
893 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
894 (("gdk_pixbuf_cache_file = .*$")
895 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
898 `(("pkg-config" ,pkg-config)
899 ("glib" ,glib "bin") ; glib-mkenums, etc.
900 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
903 ("libcroco" ,libcroco)
906 ("libxml2" ,libxml2)))
908 ;; librsvg-2.0.pc refers to all of that.
910 ("gdk-pixbuf" ,gdk-pixbuf)
912 (home-page "https://wiki.gnome.org/LibRsvg")
913 (synopsis "Render SVG files using Cairo")
915 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
917 (license license:lgpl2.0+)))
919 (define-public libidl
925 (uri (let ((upstream-name "libIDL"))
926 (string-append "mirror://gnome/sources/" upstream-name "/"
927 (version-major+minor version) "/"
928 upstream-name "-" version ".tar.bz2")))
931 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
932 (build-system gnu-build-system)
933 (inputs `(("glib" ,glib)))
935 `(("pkg-config" ,pkg-config)
938 (home-page "http://freecode.com/projects/libidl")
939 (synopsis "Create trees of CORBA Interface Definition Language files")
940 (description "Libidl is a library for creating trees of CORBA Interface
941 Definition Language (idl) files, which is a specification for defining
942 portable interfaces. libidl was initially written for orbit (the orb from the
943 GNOME project, and the primary means of libidl distribution). However, the
944 functionality was designed to be as reusable and portable as possible.")
945 (license license:lgpl2.0+)))
948 (define-public orbit2
954 (uri (let ((upstream-name "ORBit2"))
955 (string-append "mirror://gnome/sources/" upstream-name "/"
956 (version-major+minor version) "/"
957 upstream-name "-" version ".tar.bz2")))
960 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
961 (build-system gnu-build-system)
964 ;; The programmer kindly gives us a hook to turn off deprecation
966 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
967 ;; ... which they then completly ignore !!
970 'configure 'ignore-deprecations
972 (substitute* "linc2/src/Makefile.in"
973 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
975 (inputs `(("glib" ,glib)
978 `(("pkg-config" ,pkg-config)))
979 (home-page "https://projects.gnome.org/orbit2/")
980 (synopsis "CORBA 2.4-compliant Object Request Broker")
981 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
982 featuring mature C, C++ and Python bindings.")
983 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
984 ;; a version. SOME of the code files have licence notices for GPLv2+.
985 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
986 (license license:gpl2+)))
989 (define-public libbonobo
995 (uri (string-append "mirror://gnome/sources/" name "/"
996 (version-major+minor version)
997 "/" name "-" version ".tar.bz2"))
999 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1000 (patches (search-patches
1001 "libbonobo-activation-test-race.patch"))))
1002 (build-system gnu-build-system)
1004 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1006 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1007 ;; ... which they then completly ignore !!
1010 'configure 'ignore-deprecations
1012 (substitute* "activation-server/Makefile.in"
1013 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1015 (inputs `(("popt" ,popt)
1016 ("libxml2" ,libxml2)))
1017 ;; The following are Required by the .pc file
1020 ("orbit2" ,orbit2)))
1022 `(("intltool" ,intltool)
1023 ("pkg-config" ,pkg-config)
1024 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1027 (home-page "https://developer.gnome.org/libbonobo/")
1028 (synopsis "Framework for creating reusable components for use in GNOME applications")
1029 (description "Bonobo is a framework for creating reusable components for
1030 use in GNOME applications, built on top of CORBA.")
1031 ;; Licence not explicitly stated. Source files contain no licence notices.
1032 ;; Tarball contains text of both GPLv2 and LGPLv2
1033 ;; GPLv2 covers both conditions
1034 (license license:gpl2+)))
1037 (define-public gconf
1044 (let ((upstream-name "GConf"))
1045 (string-append "mirror://gnome/sources/" upstream-name "/"
1046 (version-major+minor version) "/"
1047 upstream-name "-" version ".tar.xz")))
1049 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1050 (build-system gnu-build-system)
1051 (inputs `(("dbus-glib" ,dbus-glib)
1052 ("libxml2" ,libxml2)))
1053 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1054 ("orbit2" ,orbit2)))
1056 `(("intltool" ,intltool)
1057 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1058 ("pkg-config" ,pkg-config)))
1059 (home-page "https://projects.gnome.org/gconf/")
1060 (synopsis "Store application preferences")
1061 (description "Gconf is a system for storing application preferences. It
1062 is intended for user preferences; not arbitrary data storage.")
1063 (license license:lgpl2.0+)))
1066 (define-public gnome-mime-data
1068 (name "gnome-mime-data")
1072 (uri (string-append "mirror://gnome/sources/" name "/"
1073 (version-major+minor version) "/"
1074 name "-" version ".tar.bz2"))
1077 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1078 (build-system gnu-build-system)
1081 ("intltool" ,intltool)))
1082 (home-page "http://www.gnome.org")
1083 (synopsis "Base MIME and Application database for GNOME")
1084 (description "GNOME Mime Data is a module which contains the base MIME
1085 and Application database for GNOME. The data stored by this module is
1086 designed to be accessed through the MIME functions in GnomeVFS.")
1087 (license license:gpl2+)))
1090 (define-public gnome-vfs
1096 (uri (string-append "mirror://gnome/sources/" name "/"
1097 (version-major+minor version) "/"
1098 name "-" version ".tar.bz2"))
1101 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1102 (build-system gnu-build-system)
1106 'configure 'ignore-deprecations
1108 (substitute* '("libgnomevfs/Makefile.in"
1109 "daemon/Makefile.in")
1110 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1113 'configure 'patch-test-async-cancel-to-never-fail
1115 (substitute* "test/test-async-cancel.c"
1116 (("EXIT_FAILURE") "77")))
1117 %standard-phases))))
1118 (inputs `(("libxml2" ,libxml2)
1119 ("dbus-glib" ,dbus-glib)
1121 ("gnome-mime-data" ,gnome-mime-data)
1124 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1125 ("intltool" ,intltool)
1126 ("pkg-config" ,pkg-config)))
1127 (home-page "https://developer.gnome.org/gnome-vfs/")
1128 (synopsis "Access files and folders in GNOME applications")
1130 "GnomeVFS is the core library used to access files and folders in GNOME
1131 applications. It provides a file system abstraction which allows applications
1132 to access local and remote files with a single consistent API.")
1133 (license license:lgpl2.0+)))
1137 (define-public libgnome
1143 (uri (string-append "mirror://gnome/sources/" name "/"
1144 (version-major+minor version) "/"
1145 name "-" version ".tar.bz2"))
1148 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1149 (build-system gnu-build-system)
1153 'configure 'enable-deprecated
1155 (substitute* "libgnome/Makefile.in"
1156 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1158 (inputs `(("libxml2" ,libxml2)))
1160 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1161 ("intltool" ,intltool)
1162 ("pkg-config" ,pkg-config)))
1163 ;; The following are listed as Required in the .pc file
1164 ;; (except for libcanberra -- which seems to be oversight on the part
1165 ;; of the upstream developers -- anything that links against libgnome,
1166 ;; must also link against libcanberra
1168 `(("libcanberra" ,libcanberra)
1169 ("libbonobo" ,libbonobo)
1171 ("gnome-vfs" ,gnome-vfs)
1172 ("popt" ,popt))) ;gnome-program.h includes popt.h
1173 (home-page "https://developer.gnome.org/libgnome/")
1174 (synopsis "Useful routines for building applications")
1175 (description "The libgnome library provides a number of useful routines
1176 for building modern applications, including session management, activation of
1177 files and URIs, and displaying help.")
1178 (license license:lgpl2.0+)))
1181 (define-public libart-lgpl
1183 (name "libart-lgpl")
1187 (uri (let ((upstream-name "libart_lgpl"))
1188 (string-append "mirror://gnome/sources/" upstream-name "/"
1189 (version-major+minor version) "/"
1190 upstream-name "-" version ".tar.bz2")))
1193 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1194 (build-system gnu-build-system)
1196 `(("pkg-config" ,pkg-config)))
1197 (home-page "https://people.gnome.org/~mathieu/libart")
1198 (synopsis "2D drawing library")
1199 (description "Libart is a 2D drawing library intended as a
1200 high-quality vector-based 2D library with antialiasing and alpha composition.")
1201 (license license:lgpl2.0+)))
1205 (define-public libgnomecanvas
1207 (name "libgnomecanvas")
1211 (uri (string-append "mirror://gnome/sources/" name "/"
1212 (version-major+minor version) "/"
1213 name "-" version ".tar.gz"))
1216 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1217 (build-system gnu-build-system)
1218 ;; Mentioned as Required in the .pc file
1219 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1222 `(("intltool" ,intltool)
1223 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1224 ("pkg-config" ,pkg-config)))
1225 (home-page "https://developer.gnome.org/libgnomecanvas/")
1226 (synopsis "Flexible widget for creating interactive structured graphics")
1227 (description "The GnomeCanvas widget provides a flexible widget for
1228 creating interactive structured graphics.")
1229 (license license:lgpl2.0+)))
1231 (define-public libgnomecanvasmm
1233 (name "libgnomecanvasmm")
1237 (uri (string-append "mirror://gnome/sources/" name "/"
1238 (version-major+minor version) "/"
1239 name "-" version ".tar.bz2"))
1242 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1243 (build-system gnu-build-system)
1245 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1246 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1248 `(("gtkmm-2" ,gtkmm-2)
1249 ("pkg-config" ,pkg-config)))
1250 (home-page "http://gtkmm.org")
1251 (synopsis "C++ bindings to the GNOME Canvas library")
1252 (description "C++ bindings to the GNOME Canvas library.")
1253 (license license:lgpl2.0+)))
1255 (define-public libgnomeui
1261 (uri (string-append "mirror://gnome/sources/" name "/"
1262 (version-major+minor version) "/"
1263 name "-" version ".tar.bz2"))
1266 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1267 (build-system gnu-build-system)
1268 ;; Mentioned as Required in the .pc file
1269 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1270 ("libgnome" ,libgnome)
1271 ("libgnomecanvas" ,libgnomecanvas)
1272 ("libgnome-keyring" ,libgnome-keyring)))
1273 (inputs `(("libjpeg" ,libjpeg)
1275 ("libbonobo" ,libbonobo)
1276 ("libxml2" ,libxml2)
1277 ("libglade" ,libglade)))
1279 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1280 ("intltool" ,intltool)
1281 ("pkg-config" ,pkg-config)))
1282 (home-page "https://developer.gnome.org/libgnomeui/")
1283 (synopsis "Additional widgets for applications")
1284 (description "The libgnomeui library provides additional widgets for
1285 applications. Many of the widgets from libgnomeui have already been
1287 (license license:lgpl2.0+)))
1289 (define-public libglade
1295 (uri (string-append "mirror://gnome/sources/" name "/"
1296 (version-major+minor version) "/"
1297 name "-" version ".tar.bz2"))
1300 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1301 (build-system gnu-build-system)
1303 `(("python" ,python))) ;; needed for the optional libglade-convert program
1305 `(("gtk+-2" ,gtk+-2)
1306 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1308 `(("pkg-config" ,pkg-config)))
1309 (home-page "https://developer.gnome.org/libglade")
1310 (synopsis "Load glade interfaces and access the glade built widgets")
1311 (description "Libglade is a library that provides interfaces for loading
1312 graphical interfaces described in glade files and for accessing the
1313 widgets built in the loading process.")
1314 (license license:gpl2+))) ; This is correct. GPL not LGPL
1316 (define-public libgnomeprint
1317 ;; This library has been deprecated since 2006; see
1318 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1320 (name "libgnomeprint")
1324 (uri (string-append "mirror://gnome/sources/" name "/"
1325 (version-major+minor version) "/"
1326 name "-" version ".tar.bz2"))
1329 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1330 (build-system gnu-build-system)
1333 ("libart-lgpl" ,libart-lgpl)
1335 ("libxml2" ,libxml2)))
1337 `(("intltool" ,intltool)
1338 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1339 ("pkg-config" ,pkg-config)))
1340 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1341 (synopsis "Printing framework for GNOME")
1343 "GNOME-print was a printing framework for GNOME. It has been deprecated
1344 since ca. 2006, when GTK+ itself incorporated printing support.")
1345 (license license:lgpl2.0+)))
1348 (define-public libgnomeprintui
1349 ;; Deprecated; see libgnomeprint.
1351 (name "libgnomeprintui")
1355 (uri (string-append "mirror://gnome/sources/" name "/"
1356 (version-major+minor version) "/"
1357 name "-" version ".tar.bz2"))
1360 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1361 (build-system gnu-build-system)
1362 ;; Mentioned as Required in the .pc file
1363 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1364 (inputs `(("gtk+" ,gtk+-2)
1366 ("gnome-icon-theme" ,gnome-icon-theme)
1367 ("libgnomecanvas" ,libgnomecanvas)
1368 ("libxml2" ,libxml2)))
1370 `(("intltool" ,intltool)
1371 ("pkg-config" ,pkg-config)))
1372 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1373 (synopsis "Printing framework for GNOME")
1374 (description (package-description libgnomeprint))
1375 (license license:lgpl2.0+)))
1377 (define-public libbonoboui
1379 (name "libbonoboui")
1383 (uri (string-append "mirror://gnome/sources/" name "/"
1384 (version-major+minor version) "/"
1385 name "-" version ".tar.bz2"))
1388 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1389 (build-system gnu-build-system)
1393 'check 'start-xserver
1394 (lambda* (#:key inputs #:allow-other-keys)
1395 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1398 (setenv "HOME" (getcwd))
1399 (setenv "DISPLAY" disp)
1400 ;; There must be a running X server and make check doesn't start one.
1401 ;; Therefore we must do it.
1402 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1404 ;; Mentioned as Required by the .pc file
1405 (propagated-inputs `(("libxml2" ,libxml2)))
1408 ("pangox-compat" ,pangox-compat)
1409 ("libgnome" ,libgnome)
1410 ("libgnomecanvas" ,libgnomecanvas)
1411 ("libglade" ,libglade)))
1413 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1414 ("intltool" ,intltool)
1415 ("xorg-server" ,xorg-server) ; For running the tests
1416 ("pkg-config" ,pkg-config)))
1417 (home-page "https://developer.gnome.org/libbonoboui/")
1418 (synopsis "Some user interface controls using Bonobo")
1419 (description "The Bonobo UI library provides a number of user interface
1420 controls using the Bonobo component framework.")
1421 (license license:lgpl2.0+)))
1423 (define-public libwnck
1429 (uri (string-append "mirror://gnome/sources/" name "/"
1430 (version-major+minor version) "/"
1431 name "-" version ".tar.xz"))
1433 (base32 "1ymya8gkjygvg0i901wr3q6ihfqxx5yf4g4pb6fag2iw8af3qr5v"))))
1434 (build-system gnu-build-system)
1436 `(("pkg-config" ,pkg-config)
1437 ("intltool" ,intltool)))
1440 ("libxres" ,libxres)
1441 ("startup-notification" ,startup-notification)))
1442 (home-page "https://developer.gnome.org/libwnck/")
1443 (synopsis "Window Navigator Construction Kit")
1445 "Libwnck is the Window Navigator Construction Kit, a library for use in
1446 writing pagers, tasklists, and more generally applications that are dealing
1447 with window management. It tries hard to respect the Extended Window Manager
1448 Hints specification (EWMH).")
1449 (license license:lgpl2.0+)))
1451 ;; stable version for gtk2, required by xfwm4.
1452 (define-public libwnck-2
1453 (package (inherit libwnck)
1458 (uri (string-append "mirror://gnome/sources/" name "/"
1459 (version-major+minor version) "/"
1460 name "-" version ".tar.xz"))
1463 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1466 ("libxres" ,libxres)
1467 ("startup-notification" ,startup-notification)))))
1469 (define-public goffice
1475 (uri (string-append "mirror://gnome/sources/" name "/"
1476 (version-major+minor version) "/"
1477 name "-" version ".tar.xz"))
1479 (base32 "12rsgxrixkfpk420gv026i74pnlgqjzsvm6vffrmih54w46hd3q6"))))
1480 (build-system gnu-build-system)
1482 "doc")) ;4.1 MiB of gtk-doc
1484 '(#:configure-flags (list (string-append "--with-html-dir="
1485 (assoc-ref %outputs "doc")
1486 "/share/gtk-doc/html"))))
1490 ("librsvg" ,librsvg)
1491 ("libxslt" ,libxslt)
1492 ("libxml2" ,libxml2)))
1494 `(("intltool" ,intltool)
1495 ("glib" ,glib "bin")
1496 ("pkg-config" ,pkg-config)))
1497 (home-page "https://developer.gnome.org/goffice/")
1498 (synopsis "Document-centric objects and utilities")
1499 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1501 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1503 (list license:gpl2 license:gpl3))))
1505 (define-public goffice-0.8
1506 (package (inherit goffice)
1510 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1511 (version-major+minor version) "/"
1512 (package-name goffice) "-" version ".tar.xz"))
1514 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1518 'unpack 'fix-pcre-check
1520 ;; Only glib.h can be included directly. See
1521 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1522 (substitute* "configure"
1523 (("glib/gregex\\.h") "glib.h")) #t)
1526 ,@(package-arguments goffice)))
1528 ;; libgoffice-0.8.pc mentions libgsf-1
1529 `(("libgsf" ,libgsf)))
1532 ,@(alist-delete "gtk" (package-inputs goffice))))))
1534 (define-public gnumeric
1540 (uri (string-append "mirror://gnome/sources/" name "/"
1541 (version-major+minor version) "/"
1542 name "-" version ".tar.xz"))
1545 "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02"))))
1546 (build-system gnu-build-system)
1548 `(;; The gnumeric developers don't worry much about failing tests.
1549 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1552 (modify-phases %standard-phases
1554 'configure 'pre-conf
1555 (lambda* (#:key outputs #:allow-other-keys)
1556 ;; Make install tries to write into the directory of goffice
1557 ;; I am informed that this only affects the possibility to embed a
1558 ;; spreadsheet inside an Abiword document. So presumably when we
1559 ;; package Abiword we'll have to refer it to this directory.
1560 (substitute* "configure"
1561 (("^GOFFICE_PLUGINS_DIR=.*")
1562 (string-append "GOFFICE_PLUGINS_DIR="
1563 (assoc-ref outputs "out")
1564 "/goffice/plugins"))))))))
1568 ("goffice" ,goffice)
1570 ("librsvg" ,librsvg)
1571 ("libxml2" ,libxml2)
1572 ("libxslt" ,libxslt)
1573 ("python" ,python-2)
1574 ("python2-pygobject" ,python2-pygobject)
1578 ("intltool" ,intltool)
1579 ("glib:bin" ,glib "bin")
1580 ("pkg-config" ,pkg-config)))
1581 (home-page "http://www.gnumeric.org")
1582 (synopsis "Spreadsheet application")
1584 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1585 interoperable with other spreadsheet applications. It has a vast array of
1586 features beyond typical spreadsheet functionality, such as support for linear
1587 and non-linear solvers, statistical analysis, and telecommunication
1590 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1591 (list license:gpl2 license:gpl3))))
1593 (define-public gnome-themes-standard
1595 (name "gnome-themes-standard")
1600 (uri (string-append "mirror://gnome/sources/" name "/"
1601 (version-major+minor version) "/" name "-"
1605 "1p1vvmzfky1ax3yv9ld10xgqwydhmglxpgq3skrfc4539nrq9phw"))))
1606 (build-system gnu-build-system)
1610 ("librsvg" ,librsvg)
1611 ("libxml2" ,libxml2)
1614 `(("intltool" ,intltool)
1615 ("glib:bin" ,glib "bin")
1616 ("pkg-config" ,pkg-config)))
1617 (home-page "https://launchpad.net/gnome-themes-standard")
1618 (synopsis "Default GNOME 3 themes")
1620 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1621 (license license:lgpl2.1+)))
1623 (define-public seahorse
1630 (uri (string-append "mirror://gnome/sources/" name "/"
1631 (version-major+minor version) "/" name "-"
1635 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1636 (build-system glib-or-gtk-build-system)
1642 ("openldap" ,openldap)
1643 ("openssh" ,openssh)
1644 ("libsecret" ,libsecret)
1645 ("libsoup" ,libsoup)))
1647 `(("intltool" ,intltool)
1648 ("glib:bin" ,glib "bin")
1649 ("itstool" ,itstool)
1650 ("pkg-config" ,pkg-config)
1651 ("xmllint" ,libxml2)))
1652 (home-page "https://launchpad.net/gnome-themes-standard")
1653 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1655 "Seahorse is a GNOME application for managing encryption keys and
1656 passwords in the GNOME keyring.")
1657 (license license:gpl2+)))
1665 (uri (string-append "mirror://gnome/sources/" name "/"
1666 (version-major+minor version) "/"
1667 name "-" version ".tar.xz"))
1670 "0vpvq403vdd25irvgk7zibz3nw4x4i17m0dgnns8j1q4vr7am8h7"))))
1671 (build-system gnu-build-system)
1674 (modify-phases %standard-phases
1675 (add-before 'check 'pre-check
1678 ;; For missing '/etc/machine-id'.
1679 (setenv "DBUS_FATAL_WARNINGS" "0")
1682 `(("pkg-config" ,pkg-config)
1685 ("xsltproc" ,libxslt)
1686 ("dbus" ,dbus) ; for dbus tests
1687 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1689 `(("glib" ,glib))) ; required by libvala-0.26.pc
1690 (home-page "http://live.gnome.org/Vala/")
1691 (synopsis "Compiler for the GObject type system")
1693 "Vala is a programming language that aims to bring modern programming
1694 language features to GNOME developers without imposing any additional runtime
1695 requirements and without using a different ABI compared to applications and
1696 libraries written in C.")
1697 (license license:lgpl2.1+)))
1705 (uri (string-append "mirror://gnome/sources/" name "/"
1706 (version-major+minor version) "/"
1707 name "-" version ".tar.xz"))
1710 "0kjxzqcwqxky0l7bl8ydn9hl6fm1f0k2pl91wbbhyq4z6d4dabbi"))))
1711 (build-system gnu-build-system)
1713 ;; XXX: fails to compile tests with the default flags.
1714 ;; vteconv.cc:774:40:
1715 ;; error: missing sentinel in function call [-Werror=format=]
1716 ;; g_test_init (&argc, &argv, NULL);
1718 ;; cc1plus: some warnings being treated as errors
1719 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1721 `(("pkg-config" ,pkg-config)
1722 ("intltool" ,intltool)
1724 ("gobject-introspection" ,gobject-introspection)
1725 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1726 ("xmllint" ,libxml2)))
1728 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1729 ("gnutls" ,gnutls))) ;ditto
1730 (home-page "http://www.gnome.org/")
1731 (synopsis "Virtual Terminal Emulator")
1733 "VTE is a library (libvte) implementing a terminal emulator widget for
1734 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1735 gnome-terminal, but can also be used to embed a console/terminal in games,
1736 editors, IDEs, etc.")
1737 (license license:lgpl2.1+)))
1739 ;; provides vte 2.90, required for some terminal emulators
1740 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1741 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1742 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1743 ;; pantheon-terminal, roxterm are not currently packaged
1744 (define-public vte-0.36
1745 (package (inherit vte)
1750 (uri (string-append "mirror://gnome/sources/" name "/"
1751 (version-major+minor version) "/"
1752 name "-" version ".tar.xz"))
1755 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1758 ("ncurses" ,ncurses)))))
1760 ;; stable version for gtk2, required by xfce4-terminal.
1761 (define-public vte/gtk+-2
1762 (package (inherit vte)
1767 (uri (string-append "mirror://gnome/sources/" name "/"
1768 (version-major+minor version) "/"
1769 name "-" version ".tar.xz"))
1772 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1774 '(#:configure-flags '("--disable-python")))
1776 `(("pkg-config" ,pkg-config)
1777 ("intltool" ,intltool)
1778 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1780 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1781 ("ncurses" ,ncurses))))) ; required by libvte.la
1783 (define-public dconf
1790 "mirror://gnome/sources/" name "/"
1791 (version-major+minor version) "/"
1792 name "-" version ".tar.xz"))
1795 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1796 (build-system glib-or-gtk-build-system)
1801 ("libxml2" ,libxml2)))
1803 `(("libxslt" ,libxslt)
1804 ("docbook-xml" ,docbook-xml-4.2)
1805 ("docbook-xsl" ,docbook-xsl)
1806 ("intltool" ,intltool)
1807 ("pkg-config" ,pkg-config)))
1809 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1810 ; or /etc/machine-id.
1812 ;; Set the correct RUNPATH in binaries.
1813 (list (string-append "LDFLAGS=-Wl,-rpath="
1814 (assoc-ref %outputs "out") "/lib")
1815 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1818 'configure 'fix-docbook
1819 (lambda* (#:key inputs #:allow-other-keys)
1820 (substitute* "docs/Makefile.in"
1821 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1822 (string-append (assoc-ref inputs "docbook-xsl")
1823 "/xml/xsl/docbook-xsl-"
1824 ,(package-version docbook-xsl)
1825 "/manpages/docbook.xsl")))
1826 (setenv "XML_CATALOG_FILES"
1827 (string-append (assoc-ref inputs "docbook-xml")
1828 "/xml/dtd/docbook/catalog.xml")))
1830 (home-page "https://developer.gnome.org/dconf")
1831 (synopsis "Low-level GNOME configuration system")
1832 (description "Dconf is a low-level configuration system. Its main purpose
1833 is to provide a backend to GSettings on platforms that don't already have
1834 configuration storage systems.")
1835 (license license:lgpl2.1)))
1837 (define-public json-glib
1843 (uri (string-append "mirror://gnome/sources/" name "/"
1844 (version-major+minor version) "/"
1845 name "-" version ".tar.xz"))
1848 "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr"))
1849 (modules '((guix build utils)))
1851 ;; Don't duplicate test names.
1852 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1853 '(substitute* "json-glib/tests/builder.c"
1854 (("\"/builder/complex\", test_builder_empty")
1855 "\"/builder/empty\", test_builder_empty")))))
1856 (build-system gnu-build-system)
1858 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1859 ("gobject-introspection" ,gobject-introspection)
1860 ("pkg-config" ,pkg-config)))
1862 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1863 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1864 (synopsis "Compiler for the GObject type system")
1866 "JSON-GLib is a C library based on GLib providing serialization and
1867 deserialization support for the JavaScript Object Notation (JSON) format
1868 described by RFC 4627. It provides parser and generator GObject classes and
1869 various wrappers for the complex data types employed by JSON, such as arrays
1871 (license license:lgpl2.1+)))
1873 (define-public libxklavier
1875 (name "libxklavier")
1879 (uri (string-append "mirror://gnome/sources/" name "/"
1880 version "/" name "-" version ".tar.xz"))
1883 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1884 (build-system gnu-build-system)
1887 (list (string-append "--with-xkb-base="
1888 (assoc-ref %build-inputs "xkeyboard-config")
1889 "/share/X11/xkb"))))
1891 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1892 ("gobject-introspection" ,gobject-introspection)
1893 ("pkg-config" ,pkg-config)))
1895 ;; Required by libxklavier.pc.
1897 ("libxml2" ,libxml2)))
1899 `(("iso-codes" ,iso-codes)
1901 ("libxkbfile" ,libxkbfile)
1902 ("xkbcomp" ,xkbcomp)
1903 ("xkeyboard-config" ,xkeyboard-config)))
1904 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1905 (synopsis "High-level API for X Keyboard Extension")
1907 "LibXklavier is a library providing high-level API for X Keyboard
1908 Extension known as XKB. This library is intended to support XFree86 and other
1909 commercial X servers. It is useful for creating XKB-related software (layout
1911 (license license:lgpl2.0+)))
1913 (define-public python2-rsvg
1914 ;; XXX: This is actually a subset of gnome-python-desktop.
1916 (name "python2-rsvg")
1922 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1923 version ".tar.bz2"))
1926 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1927 (build-system gnu-build-system)
1929 `(("pkg-config" ,pkg-config)))
1931 `(("python" ,python-2)
1932 ("python2-pygtk" ,python2-pygtk)
1933 ("librsvg" ,librsvg)))
1934 (home-page "http://www.gnome.org")
1935 (synopsis "Python bindings to librsvg")
1937 "This packages provides Python bindings to librsvg, the SVG rendering
1940 ;; This is the license of the rsvg bindings. The license of each module
1941 ;; of gnome-python-desktop is given in 'COPYING'.
1942 (license license:lgpl2.1+)))
1944 (define-public glib-networking
1946 (name "glib-networking")
1950 (uri (string-append "mirror://gnome/sources/glib-networking/"
1951 (version-major+minor version) "/"
1952 name "-" version ".tar.xz"))
1955 "0jm4pr91kbq7rcyll08840zkagb9vfhhm2ymyrd1q0b0k2mj76fg"))
1957 (search-patches "glib-networking-ssl-cert-file.patch"))))
1958 (build-system gnu-build-system)
1961 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
1963 (modify-phases %standard-phases
1964 (add-before 'configure 'patch-giomoduledir
1965 ;; Install GIO modules into $out/lib/gio/modules.
1967 (substitute* "configure"
1968 (("GIO_MODULE_DIR=.*")
1969 (string-append "GIO_MODULE_DIR=" %output
1970 "/lib/gio/modules\n")))))
1971 (add-before 'check 'use-empty-ssl-cert-file
1973 ;; The ca-certificates.crt is not available in the build
1975 (setenv "SSL_CERT_FILE" "/dev/null")
1978 `(("pkg-config" ,pkg-config)
1979 ("intltool" ,intltool)))
1983 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1984 ("p11-kit" ,p11-kit)))
1985 (home-page "http://www.gnome.org")
1986 (synopsis "Network-related GIO modules")
1988 "This package contains various network related extensions for the GIO
1990 (license license:lgpl2.0+)))
1998 (uri (string-append "mirror://gnome/sources/rest/"
1999 (version-major+minor version) "/"
2000 name "-" version ".tar.xz"))
2003 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2004 (build-system gnu-build-system)
2006 '(#:tests? #f ; tests require internet connection
2008 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2010 `(("glib-mkenums" ,glib "bin")
2011 ("gobject-introspection" ,gobject-introspection)
2012 ("pkg-config" ,pkg-config)))
2014 ;; rest-0.7.pc refers to all these.
2016 ("libsoup" ,libsoup)
2017 ("libxml2" ,libxml2)))
2018 (home-page "http://www.gtk.org/")
2019 (synopsis "RESTful web api query library")
2021 "This library was designed to make it easier to access web services that
2022 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2023 libxml to ease remote use of the RESTful API.")
2024 (license license:lgpl2.1+)))
2026 (define-public libsoup
2032 (uri (string-append "mirror://gnome/sources/libsoup/"
2033 (version-major+minor version) "/"
2034 name "-" version ".tar.xz"))
2037 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
2038 (build-system gnu-build-system)
2039 (outputs '("out" "doc"))
2042 (list (string-append "--with-html-dir="
2043 (assoc-ref %outputs "doc")
2044 "/share/gtk-doc/html"))
2046 (modify-phases %standard-phases
2047 (add-before 'configure 'disable-unconnected-socket-test
2048 ;; This test fails due to missing /etc/nsswitch.conf
2049 ;; in the build environment.
2051 (substitute* "tests/socket-test.c"
2052 ((".*/sockets/unconnected.*") ""))
2054 (add-before 'check 'pre-check
2056 ;; The 'check-local' target runs 'env LANG=C sort -u',
2057 ;; unset 'LC_ALL' to make 'LANG' working.
2059 ;; The ca-certificates.crt is not available in the build
2061 (setenv "SSL_CERT_FILE" "/dev/null")
2067 ;; Install vala bindings into $out.
2068 (string-append "vapidir=" %output
2072 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2073 ("gobject-introspection" ,gobject-introspection)
2074 ("intltool" ,intltool)
2075 ("pkg-config" ,pkg-config)
2076 ("python" ,python-wrapper)
2078 ;; These are needed for the tests.
2079 ;; FIXME: Add PHP once available.
2083 ;; libsoup-2.4.pc refers to all these.
2085 ("libxml2" ,libxml2)))
2087 `(("glib-networking" ,glib-networking)
2088 ("sqlite" ,sqlite)))
2089 (home-page "https://live.gnome.org/LibSoup/")
2090 (synopsis "GLib-based HTTP Library")
2092 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2093 and the GLib main loop, to integrate well with GNOME applications.")
2094 (license license:lgpl2.0+)))
2096 (define-public libsecret
2103 "mirror://gnome/sources/libsecret/"
2104 (version-major+minor version) "/"
2105 name "-" version ".tar.xz"))
2108 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2109 (build-system gnu-build-system)
2110 (outputs '("out" "doc"))
2112 `(#:tests? #f ; FIXME: Testing hangs.
2114 (list (string-append "--with-html-dir="
2115 (assoc-ref %outputs "doc")
2116 "/share/gtk-doc/html"))))
2118 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2119 ("gobject-introspection" ,gobject-introspection)
2120 ("intltool" ,intltool)
2121 ("pkg-config" ,pkg-config)
2123 ("xsltproc" ,libxslt)))
2124 ;; These are needed for the tests.
2125 ;; FIXME: Add gjs once available.
2127 ;("python2" ,python-2)
2128 ;("python2-dbus" ,python2-dbus)
2129 ;("python2-pygobject" ,python2-pygobject)
2130 ;("python2-pygobject-2" ,python2-pygobject-2)))
2132 `(("glib" ,glib))) ; required by libsecret-1.pc
2134 `(("docbook-xsl" ,docbook-xsl)
2135 ("libgcrypt" ,libgcrypt)
2136 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2137 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2138 (synopsis "GObject bindings for \"Secret Service\" API")
2140 "Libsecret is a GObject based library for storing and retrieving passwords
2141 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2142 (license license:lgpl2.1+)))
2144 (define-public gnome-mines
2146 (name "gnome-mines")
2151 (uri (string-append "mirror://gnome/sources/" name "/"
2152 (version-major+minor version) "/"
2153 name "-" version ".tar.xz"))
2156 "19khp4ckqbdgk6828gprxy52fsg8klf957dnwsin75nskk8whxbp"))))
2157 (build-system glib-or-gtk-build-system)
2160 (modify-phases %standard-phases
2161 (add-before 'configure 'patch-/bin/true
2163 (substitute* "configure"
2164 (("/bin/true") (which "true"))))))))
2166 `(("pkg-config" ,pkg-config)
2167 ("desktop-file-utils" ,desktop-file-utils)
2168 ("intltool" ,intltool)
2169 ("itstool" ,itstool)
2170 ("xmllint" ,libxml2)))
2173 ("librsvg" ,librsvg)))
2174 (home-page "https://wiki.gnome.org/Apps/Mines")
2175 (synopsis "Minesweeper game")
2177 "Mines (previously gnomine) is a puzzle game where you locate mines
2178 floating in an ocean using only your brain and a little bit of luck.")
2179 (license license:gpl2+)))
2181 (define-public gnome-sudoku
2183 (name "gnome-sudoku")
2188 (uri (string-append "mirror://gnome/sources/" name "/"
2189 (version-major+minor version) "/"
2190 name "-" version ".tar.xz"))
2193 "1n8hp3pl56p9s0c5kldk11zg1vg7ykhgn3ndp8nf375h1q49ldh8"))))
2194 (build-system glib-or-gtk-build-system)
2196 `(("pkg-config" ,pkg-config)
2197 ("desktop-file-utils" ,desktop-file-utils)
2198 ("intltool" ,intltool)
2199 ("itstool" ,itstool)
2200 ("xmllint" ,libxml2)))
2203 ("json-glib" ,json-glib)
2205 ("librsvg" ,librsvg)
2206 ("qqwing" ,qqwing)))
2207 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2208 (synopsis "Japanese logic game")
2210 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2211 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2212 possible while still providing features that make playing difficult Sudoku
2214 (license license:gpl2+)))
2216 (define-public gnome-terminal
2218 (name "gnome-terminal")
2223 (uri (string-append "mirror://gnome/sources/" name "/"
2224 (version-major+minor version) "/"
2225 name "-" version ".tar.xz"))
2228 "1508nm35znlfq9v1s2j4ypx5x608yq391c565b4hazxk2f5z9dwq"))))
2229 (build-system glib-or-gtk-build-system)
2232 (list "--disable-migration" "--disable-search-provider"
2233 "--without-nautilus-extension")
2235 (modify-phases %standard-phases
2236 (add-before 'configure 'patch-/bin/true
2238 (substitute* "configure"
2239 (("/bin/true") (which "true"))))))))
2241 `(("pkg-config" ,pkg-config)
2242 ("desktop-file-utils" ,desktop-file-utils)
2243 ("intltool" ,intltool)
2244 ("itstool" ,itstool)
2245 ("xmllint" ,libxml2)))
2247 `(("dconf" ,dconf)))
2252 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2253 ("util-linux" ,util-linux)
2255 (home-page "https://wiki.gnome.org/Apps/Terminal")
2256 (synopsis "Terminal emulator")
2258 "GNOME Terminal is a terminal emulator application for accessing a
2259 UNIX shell environment which can be used to run programs available on
2262 It supports several profiles, multiple tabs and implements several
2263 keyboard shortcuts.")
2264 (license license:gpl3+)))
2266 (define-public colord
2273 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2274 name "-" version ".tar.xz"))
2277 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2278 (build-system glib-or-gtk-build-system)
2280 '(;; The tests want to run valgrind. Punt for now.
2282 #:configure-flags (list "--localstatedir=/var"
2283 ;; GUSB not packaged yet.
2285 ;; No dep on systemd.
2286 "--disable-systemd-login"
2287 ;; Wants to install to global completion dir;
2289 "--disable-bash-completion"
2290 ;; colord-gtk not packaged yet.
2291 "--disable-session-example"
2292 "--with-daemon-user=colord"
2294 (string-append "--with-udevrulesdir="
2295 (assoc-ref %outputs "out")
2296 "/lib/udev/rules.d"))
2298 (modify-phases %standard-phases
2299 (add-before 'configure 'patch-/bin/true
2301 (substitute* "configure"
2302 (("/bin/true") (which "true")))
2303 (substitute* "src/Makefile.in"
2304 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2305 "if test -w $(DESTDIR)$(localstatedir);")))))))
2307 `(("pkg-config" ,pkg-config)
2308 ("gobject-introspection" ,gobject-introspection)
2309 ("libtool" ,libtool)
2310 ("intltool" ,intltool)))
2312 ;; colord.pc refers to all these.
2317 `(("dbus-glib" ,dbus-glib)
2318 ("libgudev" ,libgudev)
2322 ("sane-backends" ,sane-backends)))
2323 (home-page "http://www.freedesktop.org/software/colord/")
2324 (synopsis "Color management service")
2325 (description "Colord is a system service that makes it easy to manage,
2326 install and generate color profiles to accurately color manage input and
2328 (license license:gpl2+)))
2330 (define-public geoclue
2337 (uri (string-append "https://www.freedesktop.org/software/" name
2338 "/releases/" (version-major+minor version) "/"
2339 name "-" version ".tar.xz"))
2342 "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd"))
2343 (patches (search-patches "geoclue-config.patch"))))
2344 (build-system glib-or-gtk-build-system)
2346 '(;; The tests want to run the system bus.
2348 #:configure-flags (list ;; Disable bits requiring ModemManager.
2349 "--disable-3g-source"
2350 "--disable-cdma-source"
2351 "--disable-modem-gps-source"
2352 "--with-dbus-service-user=geoclue")
2354 (modify-phases %standard-phases
2355 (add-before 'configure 'patch-/bin/true
2357 (substitute* "configure"
2358 (("/bin/true") (which "true"))))))))
2360 `(("pkg-config" ,pkg-config)
2361 ("intltool" ,intltool)))
2365 ("json-glib" ,json-glib)
2366 ("libsoup" ,libsoup)))
2367 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2368 (synopsis "Geolocation service")
2369 (description "Geoclue is a D-Bus service that provides location
2370 information. The primary goal of the Geoclue project is to make creating
2371 location-aware applications as simple as possible, while the secondary goal is
2372 to ensure that no application can access location information without explicit
2373 permission from user.")
2374 (license license:gpl2+)))
2376 (define-public geocode-glib
2378 (name "geocode-glib")
2382 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2383 (version-major+minor version) "/"
2384 name "-" version ".tar.xz"))
2387 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2388 (build-system gnu-build-system)
2390 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2391 ;; work for the builder. Punt.
2394 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2395 ("gobject-introspection" ,gobject-introspection)
2396 ("pkg-config" ,pkg-config)
2397 ("json-glib" ,json-glib)))
2399 ;; geocode-glib-1.0.pc refers to GIO.
2402 `(("libsoup" ,libsoup)))
2403 (home-page "https://github.com/GNOME/geocode-glib/")
2404 (synopsis "Geocoding and reverse-geocoding library")
2406 "geocode-glib is a convenience library for geocoding (finding longitude,
2407 and latitude from an address) and reverse geocoding (finding an address from
2408 coordinates) using the Nominatim service. geocode-glib caches requests for
2409 faster results and to avoid unnecessary server load.")
2410 (license license:lgpl2.0+)))
2412 (define-public upower
2418 (uri (string-append "https://upower.freedesktop.org/releases/"
2419 name "-" version ".tar.xz"))
2422 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2423 (patches (search-patches "upower-builddir.patch"))))
2424 (build-system glib-or-gtk-build-system)
2426 '( ;; The tests want to contact the system bus, which can't be done in the
2427 ;; build environment. The integration test can run, but the last of
2428 ;; the up-self-tests doesn't. Disable tests for now.
2430 #:configure-flags (list "--localstatedir=/var"
2431 (string-append "--with-udevrulesdir="
2432 (assoc-ref %outputs "out")
2433 "/lib/udev/rules.d"))
2435 (modify-phases %standard-phases
2436 (add-before 'configure 'patch-/bin/true
2438 (substitute* "configure"
2439 (("/bin/true") (which "true")))))
2440 (add-before 'configure 'patch-integration-test
2442 (substitute* "src/linux/integration-test"
2443 (("/usr/bin/python3") (which "python3"))))))))
2445 `(("gobject-introspection" ,gobject-introspection)
2446 ("pkg-config" ,pkg-config)
2447 ("intltool" ,intltool)
2451 ("libxslt" ,libxslt) ;for 'xsltproc'
2452 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2453 ("docbook-xsl" ,docbook-xsl)))
2455 `(("dbus-glib" ,dbus-glib)
2456 ("libgudev" ,libgudev)
2457 ("libusb" ,libusb)))
2458 (home-page "http://upower.freedesktop.org/")
2459 (synopsis "System daemon for managing power devices")
2461 "UPower is an abstraction for enumerating power devices,
2462 listening to device events and querying history and statistics. Any
2463 application or service on the system can access the org.freedesktop.UPower
2464 service via the system message bus.")
2465 (license license:gpl2+)))
2467 (define-public libgweather
2469 (name "libgweather")
2473 (uri (string-append "mirror://gnome/sources/" name "/"
2474 (version-major+minor version) "/"
2475 name "-" version ".tar.xz"))
2478 "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj"))))
2479 (build-system gnu-build-system)
2482 `(,(string-append "--with-zoneinfo-dir="
2483 (assoc-ref %build-inputs "tzdata")
2486 (modify-phases %standard-phases
2489 (lambda* (#:key inputs #:allow-other-keys)
2490 (substitute* "data/check-timezones.sh"
2491 (("/usr/share/zoneinfo/zone.tab")
2492 (string-append (assoc-ref inputs "tzdata")
2493 "/share/zoneinfo/zone.tab")))
2496 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2497 ("gobject-introspection" ,gobject-introspection)
2498 ("pkg-config" ,pkg-config)
2499 ("intltool" ,intltool)))
2501 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2504 ("gdk-pixbuf" ,gdk-pixbuf)
2505 ("libxml2" ,libxml2)
2506 ("libsoup" ,libsoup)))
2508 `(("tzdata" ,tzdata)
2509 ("geocode-glib" ,geocode-glib)))
2510 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2511 (synopsis "Location, time zone, and weather library for GNOME")
2513 "libgweather is a library to access weather information from online
2514 services for numerous locations.")
2515 (license license:gpl2+)))
2517 (define-public gnome-settings-daemon
2519 (name "gnome-settings-daemon")
2524 (uri (string-append "mirror://gnome/sources/" name "/"
2525 (version-major+minor version) "/"
2526 name "-" version ".tar.xz"))
2529 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2530 (build-system glib-or-gtk-build-system)
2532 `(;; Network manager not yet packaged.
2533 #:configure-flags '("--disable-network-manager")
2534 ;; Color management test can't reach the colord system service.
2537 `(("pkg-config" ,pkg-config)
2538 ("intltool" ,intltool)
2539 ("xsltproc" ,libxslt)
2540 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2541 ("docbook-xml" ,docbook-xml-4.2)
2542 ("docbook-xsl" ,docbook-xsl)))
2544 `(("colord" ,colord)
2545 ("libgudev" ,libgudev)
2548 ("pulseaudio" ,pulseaudio)
2549 ("libcanberra" ,libcanberra)
2551 ("libxtst" ,libxtst)
2553 ("libnotify" ,libnotify)
2554 ("geoclue" ,geoclue)
2555 ("geocode-glib" ,geocode-glib)
2556 ("libgweather" ,libgweather)
2557 ("gnome-desktop" ,gnome-desktop)
2560 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2561 ("libwacom" ,libwacom)
2562 ("librsvg" ,librsvg)
2563 ("xf86-input-wacom" ,xf86-input-wacom)))
2564 (home-page "http://www.gnome.org")
2565 (synopsis "GNOME settings daemon")
2567 "This package contains the daemon responsible for setting the various
2568 parameters of a GNOME session and the applications that run under it. It
2569 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2570 settings, themes, mouse settings, and startup of other daemons.")
2571 (license license:gpl2+)))
2573 (define-public totem-pl-parser
2575 (name "totem-pl-parser")
2579 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2580 "totem-pl-parser-" version ".tar.xz"))
2583 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2584 (build-system gnu-build-system)
2586 ;; FIXME: Tests require gvfs.
2589 `(("intltool" ,intltool)
2590 ("glib" ,glib "bin")
2591 ("gobject-introspection" ,gobject-introspection)
2592 ("pkg-config" ,pkg-config)))
2596 ("libxml2" ,libxml2)))
2598 `(("libarchive" ,libarchive)
2599 ("libgcrypt" ,libgcrypt)
2601 ("libsoup" ,libsoup)))
2602 (home-page "https://projects.gnome.org/totem")
2603 (synopsis "Library to parse and save media playlists for GNOME")
2604 (description "Totem-pl-parser is a GObjects-based library to parse and save
2605 playlists in a variety of formats.")
2606 (license license:lgpl2.0+)))
2608 (define-public aisleriot
2614 (uri (string-append "mirror://gnome/sources/" name "/"
2615 (version-major+minor version) "/"
2616 name "-" version ".tar.xz"))
2619 "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy"))))
2620 (build-system glib-or-gtk-build-system)
2623 '("--with-platform=gtk-only"
2624 "--with-card-theme-formats=svg")))
2626 `(("desktop-file-utils" ,desktop-file-utils)
2627 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2628 ("intltool" ,intltool)
2629 ("itstool" ,itstool)
2630 ("pkg-config" ,pkg-config)
2631 ("xmllint" ,libxml2)))
2634 ("guile" ,guile-2.0)
2635 ("libcanberra" ,libcanberra)
2636 ("librsvg" ,librsvg)))
2637 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2638 (synopsis "Solitaire card games")
2640 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2641 which are easy to play with the aid of a mouse.")
2642 (license license:gpl3+)))
2644 (define-public devhelp
2650 (uri (string-append "mirror://gnome/sources/" name "/"
2651 (version-major+minor version) "/"
2652 name "-" version ".tar.xz"))
2655 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2656 (build-system glib-or-gtk-build-system)
2658 `(("intltool" ,intltool)
2659 ("pkg-config" ,pkg-config)))
2661 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2662 ("webkitgtk" ,webkitgtk)))
2663 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2664 (synopsis "API documentation browser for GNOME")
2666 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2667 natively with GTK-Doc (the API reference system developed for GTK+ and used
2668 throughout GNOME for API documentation).")
2669 (license license:gpl2+)))
2678 (uri (string-append "mirror://gnome/sources/" name "/"
2679 (version-major+minor version) "/"
2680 name "-" version ".tar.xz"))
2683 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2684 (build-system gnu-build-system)
2686 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2687 ("gobject-introspection" ,gobject-introspection)
2688 ;;("xorg-server" ,xorg-server) ; for the test suite
2689 ("pkg-config" ,pkg-config)))
2692 ("gdk-pixbuf" ,gdk-pixbuf)
2694 ("libxext" ,libxext)
2695 ("libxfixes" ,libxfixes)
2696 ("libxdamage" ,libxdamage)
2697 ("libxcomposite" ,libxcomposite)
2698 ("libxrandr" ,libxrandr)))
2703 ("gstreamer" ,gstreamer)
2704 ("gst-plugins-base" ,gst-plugins-base)))
2706 `(#:configure-flags (list "--enable-cogl-gst"
2707 ;; Arrange to pass an absolute file name to
2708 ;; dlopen for libGL.so.
2709 (string-append "--with-gl-libname="
2710 (assoc-ref %build-inputs "mesa")
2712 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2713 ;; _FontTransOpen: Unable to Parse address
2714 ;; ${prefix}/share/fonts/X11/misc/
2718 (modify-phases %standard-phases
2719 (add-before 'check 'start-xorg-server
2720 (lambda* (#:key inputs #:allow-other-keys)
2721 ;; The test suite requires a running X server.
2722 (system (format #f "~a/bin/Xvfb :1 &"
2723 (assoc-ref inputs "xorg-server")))
2724 (setenv "DISPLAY" ":1")
2726 (home-page "http://www.cogl3d.org")
2727 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2729 "Cogl is a small library for using 3D graphics hardware to draw pretty
2730 pictures. The API departs from the flat state machine style of OpenGL and is
2731 designed to make it easy to write orthogonal components that can render
2732 without stepping on each others toes.")
2733 (license (list license:expat ; most of the code
2734 license:bsd-3 ; cogl/cogl-point-in-poly.c
2735 license:sgifreeb2.0 ; cogl-path/tesselator/
2736 license:asl2.0)))) ; examples/android/
2738 (define-public clutter
2745 (uri (string-append "mirror://gnome/sources/" name "/"
2746 (version-major+minor version) "/"
2747 name "-" version ".tar.xz"))
2750 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2751 (build-system gnu-build-system)
2753 "doc")) ;9 MiB of gtk-doc HTML pages
2755 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2756 ("gobject-introspection" ,gobject-introspection)
2757 ("pkg-config" ,pkg-config)
2758 ("xsltproc" ,libxslt)))
2764 ("json-glib" ,json-glib)
2766 ("libxcomposite" ,libxcomposite)
2767 ("libxdamage" ,libxdamage)
2768 ("libxext" ,libxext)
2769 ("xinput" ,xinput)))
2771 `(("libxkbcommon" ,libxkbcommon)
2774 `(#:configure-flags (list "--enable-x11-backend=yes"
2776 ;; This produces share/doc/{clutter,cally}.
2777 (string-append "--with-html-dir="
2778 (assoc-ref %outputs "doc")
2780 ;; XXX FIXME: Get test suite working. It would probably fail in the
2781 ;; same way the cogl tests fail, since clutter is based on cogl.
2783 (home-page "http://www.clutter-project.org")
2784 (synopsis "Open GL based interactive canvas library")
2786 "Clutter is an Open GL based interactive canvas library, designed for
2787 creating fast, mainly 2D single window applications such as media box UIs,
2788 presentations, kiosk style applications and so on.")
2789 (license license:lgpl2.0+)))
2791 (define-public clutter-gtk
2793 (name "clutter-gtk")
2798 (uri (string-append "mirror://gnome/sources/" name "/"
2799 (version-major+minor version) "/"
2800 name "-" version ".tar.xz"))
2803 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2804 (build-system gnu-build-system)
2806 `(("pkg-config" ,pkg-config)
2807 ("gobject-introspection" ,gobject-introspection)))
2809 ;; clutter-gtk.pc refers to all these.
2810 `(("clutter" ,clutter)
2812 (home-page "http://www.clutter-project.org")
2813 (synopsis "Open GL based interactive canvas library GTK+ widget")
2815 "Clutter is an Open GL based interactive canvas library, designed for
2816 creating fast, mainly 2D single window applications such as media box UIs,
2817 presentations, kiosk style applications and so on.")
2818 (license license:lgpl2.0+)))
2820 (define-public clutter-gst
2822 (name "clutter-gst")
2827 (uri (string-append "mirror://gnome/sources/" name "/"
2828 (version-major+minor version) "/"
2829 name "-" version ".tar.xz"))
2832 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2833 (build-system gnu-build-system)
2835 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2836 ("pkg-config" ,pkg-config)
2837 ("gobject-introspection" ,gobject-introspection)))
2839 `(("clutter" ,clutter)
2840 ("gstreamer" ,gstreamer)
2841 ("gst-plugins-base" ,gst-plugins-base)))
2842 (home-page "http://www.clutter-project.org")
2843 (synopsis "Integration library for using GStreamer with Clutter")
2845 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2846 It provides a GStreamer sink to upload frames to GL and an actor that
2847 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2848 GL based interactive canvas library.")
2849 (license license:lgpl2.0+)))
2851 (define-public libchamplain
2853 (name "libchamplain")
2858 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2862 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2863 (build-system gnu-build-system)
2864 (native-inputs `(("pkg-config" ,pkg-config)))
2866 `(("libsoup" ,libsoup)
2868 ("clutter" ,clutter)
2869 ("clutter-gtk" ,clutter-gtk)
2870 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2874 (home-page "http://projects.gnome.org/libchamplain/")
2875 (synopsis "C library providing a ClutterActor to display maps")
2877 "libchamplain is a C library providing a ClutterActor to display maps.
2878 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2879 and Perl bindings are also available. It supports numerous free map sources
2880 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2881 (license license:lgpl2.1+)))
2890 (uri (string-append "mirror://gnome/sources/" name "/"
2891 (version-major+minor version) "/"
2892 name "-" version ".tar.xz"))
2895 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
2896 (build-system gnu-build-system)
2898 `(("intltool" ,intltool)
2899 ("pkg-config" ,pkg-config)
2900 ("gobject-introspection" ,gobject-introspection)))
2903 ("gdk-pixbuf" ,gdk-pixbuf)
2904 ("sqlite" ,sqlite)))
2905 ;; XXX TODO: Figure out how to run the test suite.
2906 (arguments `(#:tests? #f))
2907 (home-page "https://wiki.gnome.org/Projects/Gom")
2908 (synopsis "Object mapper from GObjects to SQLite")
2910 "Gom provides an object mapper from GObjects to SQLite. It helps you
2911 write applications that need to store structured data as well as make complex
2912 queries upon that data.")
2913 (license license:lgpl2.1+)))
2915 (define-public libgames-support
2917 (name "libgames-support")
2921 (uri (string-append "mirror://gnome/sources/" name "/"
2922 (version-major+minor version) "/"
2923 name "-" version ".tar.xz"))
2926 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
2927 (build-system gnu-build-system)
2930 (modify-phases %standard-phases
2931 (add-before 'check 'pre-check
2933 ;; tests require a writable HOME.
2934 (setenv "HOME" (getcwd))
2937 `(("intltool" ,intltool)
2938 ("pkg-config" ,pkg-config)
2941 ;; Required by libgames-support-1.0.pc
2943 ("libgee" ,libgee)))
2944 (home-page "https://www.gnome.org/")
2945 (synopsis "Useful functionality shared among GNOME games")
2947 "libgames-support is a small library intended for internal use by
2948 GNOME Games, but it may be used by others.")
2949 (license license:lgpl3+)))
2951 (define-public gnome-klotski
2953 (name "gnome-klotski")
2957 (uri (string-append "mirror://gnome/sources/" name "/"
2958 (version-major+minor version) "/"
2959 name "-" version ".tar.xz"))
2962 "1130v6sk9h74b3xgv0bq43anaw7xs9x8vdab3q7p9db6w0px02wj"))))
2963 (build-system glib-or-gtk-build-system)
2965 `(("desktop-file-utils" ,desktop-file-utils)
2966 ("intltool" ,intltool)
2967 ("itstool" ,itstool)
2968 ("pkg-config" ,pkg-config)
2969 ("xmllint" ,libxml2)))
2972 ("libgames-support" ,libgames-support)
2973 ("librsvg" ,librsvg)))
2974 (home-page "https://wiki.gnome.org/Apps/Klotski")
2975 (synopsis "Sliding block puzzles")
2977 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2978 the patterned block to the area bordered by green markers. To do so, you will
2979 need to slide other blocks out of the way. Complete each puzzle in as few moves
2981 (license license:gpl2+)))
2983 (define-public grilo
2990 (uri (string-append "mirror://gnome/sources/" name "/"
2991 (version-major+minor version) "/"
2992 name "-" version ".tar.xz"))
2995 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
2996 (build-system gnu-build-system)
2998 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2999 ("intltool" ,intltool)
3000 ("pkg-config" ,pkg-config)
3001 ("gobject-introspection" ,gobject-introspection)))
3005 ("libxml2" ,libxml2)
3006 ;; XXX TODO: Add oauth
3007 ("libsoup" ,libsoup)
3008 ("totem-pl-parser" ,totem-pl-parser)))
3011 (modify-phases %standard-phases
3012 (add-after 'unpack 'fix-introspection-install-dir
3013 (lambda* (#:key outputs #:allow-other-keys)
3014 (let ((out (assoc-ref outputs "out")))
3015 (substitute* '("src/Makefile.in"
3016 "libs/pls/Makefile.in"
3017 "libs/net/Makefile.in")
3018 (("@INTROSPECTION_GIRDIR@")
3019 (string-append out "/share/gir-1.0/"))
3020 (("@INTROSPECTION_TYPELIBDIR@")
3021 (string-append out "/lib/girepository-1.0/")))))))))
3022 (native-search-paths
3023 (list (search-path-specification
3024 (variable "GRL_PLUGIN_PATH")
3025 (files (list (string-append "lib/grilo-"
3026 (version-major+minor version)))))))
3027 (home-page "http://live.gnome.org/Grilo")
3028 (synopsis "Framework for discovering and browsing media")
3030 "Grilo is a framework focused on making media discovery and browsing easy
3031 for application developers.")
3032 (license license:lgpl2.1+)))
3034 (define-public grilo-plugins
3036 (name "grilo-plugins")
3041 (uri (string-append "mirror://gnome/sources/" name "/"
3042 (version-major+minor version) "/"
3043 name "-" version ".tar.xz"))
3046 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3047 (build-system gnu-build-system)
3049 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3050 ("intltool" ,intltool)
3051 ("itstool" ,itstool)
3052 ("pkg-config" ,pkg-config)))
3055 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3057 ("libxml2" ,libxml2)
3060 ;; XXX TODO: Add oauth
3061 ;; XXX TODO: Add goa
3062 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3063 ;; XXX TODO: Add lua (needs help finding it)
3064 ("json-glib" ,json-glib)
3067 ("libsoup" ,libsoup)
3068 ("libarchive" ,libarchive)
3069 ("totem-pl-parser" ,totem-pl-parser)))
3071 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3074 ,(version-major+minor version)))
3075 ;; XXX FIXME: Try to get the test suite working. It appears to require
3076 ;; a working system dbus. Inside the build container, all tests fail
3077 ;; with: "assertion failed: (source)". Outside of the build container,
3078 ;; most tests succeed.
3080 (home-page "http://live.gnome.org/Grilo")
3081 (synopsis "Plugins for the Grilo media discovery library")
3083 "Grilo is a framework focused on making media discovery and browsing easy
3084 for application developers.")
3085 (license license:lgpl2.1+)))
3087 (define-public totem
3094 (uri (string-append "mirror://gnome/sources/" name "/"
3095 (version-major+minor version) "/"
3096 name "-" version ".tar.xz"))
3099 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3100 (patches (search-patches "totem-debug-format-fix.patch"))))
3101 (build-system glib-or-gtk-build-system)
3103 `(("pkg-config" ,pkg-config)
3104 ("desktop-file-utils" ,desktop-file-utils)
3105 ("gobject-introspection" ,gobject-introspection)
3106 ("intltool" ,intltool)
3107 ("itstool" ,itstool)
3108 ("xmllint" ,libxml2)))
3110 `(("dconf" ,dconf)))
3113 ("gdk-pixbuf" ,gdk-pixbuf)
3116 ("dbus-glib" ,dbus-glib)
3117 ("clutter" ,clutter)
3118 ("clutter-gtk" ,clutter-gtk)
3119 ("clutter-gst" ,clutter-gst)
3121 ("libxxf86vm" ,libxxf86vm)
3122 ("libxtst" ,libxtst)
3123 ("libxrandr" ,libxrandr)
3124 ("libxml2" ,libxml2)
3125 ("libsoup" ,libsoup)
3126 ("libpeas" ,libpeas)
3127 ("librsvg" ,librsvg)
3129 ("gnome-desktop" ,gnome-desktop)
3130 ("gstreamer" ,gstreamer)
3131 ("gst-plugins-base" ,gst-plugins-base)
3132 ("gst-plugins-good" ,gst-plugins-good)
3133 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3134 ("adwaita-icon-theme" ,adwaita-icon-theme)
3135 ;; XXX We use python-2 because libxml2 because itstool (which needs
3136 ;; libxml) currently uses python-2.
3137 ("python" ,python-2)
3138 ("python-pygobject" ,python2-pygobject)
3139 ;; XXX TODO pylint needed for python support
3140 ("totem-pl-parser" ,totem-pl-parser)
3142 ("grilo-plugins" ,grilo-plugins)
3147 (modify-phases %standard-phases
3149 'install 'wrap-totem
3150 (lambda* (#:key inputs outputs #:allow-other-keys)
3151 (let ((out (assoc-ref outputs "out"))
3152 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3153 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3154 (wrap-program (string-append out "/bin/totem")
3155 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3156 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3158 (home-page "https://wiki.gnome.org/Apps/Videos")
3159 (synopsis "Simple media player for GNOME based on GStreamer")
3160 (description "Totem is a simple yet featureful media player for GNOME
3161 which can read a large number of file formats.")
3162 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3163 ;; to be used and distributed together with GStreamer and Totem. See
3164 ;; file://COPYING in the source distribution for details.
3165 (license license:gpl2+)))
3167 (define-public rhythmbox
3173 (uri (string-append "mirror://gnome/sources/" name "/"
3174 (version-major+minor version) "/"
3175 name "-" version ".tar.xz"))
3178 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3179 (build-system glib-or-gtk-build-system)
3182 (list "--enable-lirc"
3189 (modify-phases %standard-phases
3191 'install 'wrap-rhythmbox
3192 (lambda* (#:key inputs outputs #:allow-other-keys)
3193 (let ((out (assoc-ref outputs "out"))
3194 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3195 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3196 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3197 (wrap-program (string-append out "/bin/rhythmbox")
3198 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3199 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3200 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3203 `(("dconf" ,dconf)))
3205 `(("itstool" ,itstool)
3206 ("intltool" ,intltool)
3207 ("glib" ,glib "bin")
3208 ("gobject-introspection" ,gobject-introspection)
3209 ("desktop-file-utils" ,desktop-file-utils)
3210 ("pkg-config" ,pkg-config)
3211 ("xmllint" ,libxml2)))
3213 `(("json-glib" ,json-glib)
3215 ("gnome-desktop" ,gnome-desktop)
3217 ("python-pygobject" ,python2-pygobject)
3221 ("adwaita-icon-theme" ,adwaita-icon-theme)
3223 ("grilo-plugins" ,grilo-plugins)
3224 ("gstreamer" ,gstreamer)
3225 ("gst-plugins-base" ,gst-plugins-base)
3226 ("gst-plugins-good" ,gst-plugins-good)
3227 ("totem-pl-parser" ,totem-pl-parser)
3228 ("libgudev" ,libgudev)
3229 ;;("libmtp" ,libmtp) FIXME: Not detected
3230 ("libsecret" ,libsecret)
3231 ("libsoup" ,libsoup)
3232 ("libnotify" ,libnotify)
3233 ("libpeas" ,libpeas)
3235 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3236 ;;("clutter" ,clutter)
3237 ;;("clutter-gtk" ,clutter-gtk)
3238 ;;("clutter-gst" ,clutter-gst)
3239 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3247 ("brasero" ,brasero)))
3248 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3249 (synopsis "Music player for GNOME")
3250 (description "Rhythmbox is a music playing application for GNOME. It
3251 supports playlists, song ratings, and any codecs installed through gstreamer.")
3252 (license license:gpl2+)))
3260 (uri (string-append "mirror://gnome/sources/" name "/"
3261 (version-major+minor version) "/"
3262 name "-" version ".tar.xz"))
3265 "0ll3vz1kyjagiqmrpypk1a4nwjhrjsapiz45bxblsjxjy641j0jg"))))
3266 (build-system glib-or-gtk-build-system)
3269 (modify-phases %standard-phases
3272 (lambda* (#:key outputs #:allow-other-keys)
3273 (let ((out (assoc-ref outputs "out"))
3274 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3275 (wrap-program (string-append out "/bin/eog")
3276 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3279 `(("dconf" ,dconf)))
3281 `(("intltool" ,intltool)
3282 ("itstool" ,itstool)
3283 ("glib" ,glib "bin")
3284 ("gobject-introspection" ,gobject-introspection)
3285 ("pkg-config" ,pkg-config)
3286 ("xmllint" ,libxml2)))
3288 `(("gnome-desktop" ,gnome-desktop)
3289 ("shared-mime-info" ,shared-mime-info)
3290 ("adwaita-icon-theme" ,adwaita-icon-theme)
3293 ("libexif" ,libexif)
3294 ("libpeas" ,libpeas)
3295 ("libjpeg" ,libjpeg)
3296 ("librsvg" ,librsvg)
3297 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3299 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3300 (synopsis "GNOME image viewer")
3301 (description "Eye of GNOME is the GNOME image viewer. It
3302 supports image conversion, rotation, and slideshows.")
3303 (license license:gpl2+)))
3305 (define-public libgudev
3311 (uri (string-append "mirror://gnome/sources/" name "/"
3312 version "/" name "-" version ".tar.xz"))
3315 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3316 (build-system gnu-build-system)
3318 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3319 ("gobject-introspection" ,gobject-introspection)
3320 ("pkg-config" ,pkg-config)))
3322 `(("glib" ,glib))) ; required by gudev-1.0.pc
3325 (home-page "https://wiki.gnome.org/Projects/libgudev")
3326 (synopsis "GObject bindings for libudev")
3328 "This library provides GObject bindings for libudev. It was originally
3329 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3330 (license license:lgpl2.1+)))
3338 (uri (string-append "mirror://gnome/sources/" name "/"
3339 (version-major+minor version) "/"
3340 name "-" version ".tar.xz"))
3343 "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf"))))
3344 (build-system gnu-build-system)
3346 '(#:tests? #f)) ; XXX: requiring `pidof'
3348 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3349 ("intltool" ,intltool)
3350 ("pkg-config" ,pkg-config)
3351 ("xsltproc" ,libxslt)))
3354 ("docbook-xml" ,docbook-xml-4.2)
3355 ("docbook-xsl" ,docbook-xsl)
3360 ("libarchive" ,libarchive)
3361 ("libbluray" ,libbluray)
3362 ("libcdio-paranoia" ,libcdio-paranoia)
3363 ("libgcrypt" ,libgcrypt)
3364 ("libgphoto2" ,libgphoto2)
3365 ("libgudev" ,libgudev)
3367 ("libsecret" ,libsecret)
3368 ("libsmbclient" ,samba)
3369 ("libsoup" ,libsoup)
3370 ("libxml2" ,libxml2)
3371 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3372 ("udisks" ,udisks)))
3373 (home-page "https://wiki.gnome.org/gvfs/")
3374 (synopsis "Userspace virtual filesystem for GIO")
3376 "GVFS is a userspace virtual filesystem designed to work with the I/O
3377 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3378 to all applications using the GIO API. It also supports exposing the GVFS
3379 mounts to non-GIO applications using FUSE.
3381 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3383 (license license:lgpl2.0+)))
3391 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3393 (string-join (string-split version #\.)
3398 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3399 (build-system gnu-build-system)
3401 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3402 ("gobject-introspection" ,gobject-introspection)
3403 ("pkg-config" ,pkg-config)
3405 ("autoconf" ,autoconf)
3406 ("automake" ,automake)
3407 ("libtool" ,libtool)
3408 ("gtk-doc" ,gtk-doc)))
3410 ;; Both of these are required by gusb.pc.
3412 ("libusb" ,libusb)))
3414 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3416 (modify-phases %standard-phases
3417 (add-after 'unpack 'autogen
3419 (and (zero? (system* "gtkdocize"))
3420 (zero? (system* "autoreconf" "-vif"))))))))
3421 (home-page "https://github.com/hughsie/libgusb")
3422 (synopsis "GLib binding for libusb1")
3424 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3425 asynchronous control, bulk and interrupt transfers with proper cancellation
3426 and integration into a mainloop. This makes it easy to integrate low level
3427 USB transfers with your high-level application or system daemon.")
3428 (license license:lgpl2.1+)))
3430 (define-public simple-scan
3432 (name "simple-scan")
3436 (uri (string-append "https://launchpad.net/simple-scan/"
3437 (version-major+minor version) "/"
3438 version "/+download/simple-scan-"
3442 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
3443 (build-system glib-or-gtk-build-system)
3448 ("gdk-pixbuf" ,gdk-pixbuf)
3450 ("libgudev" ,libgudev)
3451 ("libsane" ,sane-backends)))
3453 `(("intltool" ,intltool)
3454 ("itstool" ,itstool)
3456 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3457 ("pkg-config" ,pkg-config)
3459 ("xmllint" ,libxml2)))
3461 '(#:configure-flags '("--disable-packagekit")
3463 (modify-phases %standard-phases
3464 (add-after 'unpack 'clean
3466 ;; Remove a left-over reference to PackageKit.
3468 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3470 ;; There are some generated C files erroneously
3471 ;; included in the source distribution, and this
3472 ;; one breaks the build by referring to a
3473 ;; non-existent header (packagekit.h)
3474 (delete-file "src/ui.c"))))))
3475 (home-page "https://launchpad.net/simple-scan")
3476 (synopsis "Document and image scanner")
3477 (description "Simple Scan is an easy-to-use application, designed to let
3478 users connect their scanner and quickly have the image/document in an
3479 appropriate format. Simple Scan is basically a frontend for SANE - which is
3480 the same backend as XSANE uses. This means that all existing scanners will
3481 work and the interface is well tested.")
3482 (license license:gpl3+)))
3484 (define-public epiphany
3490 (uri (string-append "mirror://gnome/sources/" name "/"
3491 (version-major+minor version) "/"
3492 name "-" version ".tar.xz"))
3495 "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi"))))
3496 (build-system glib-or-gtk-build-system)
3498 ;; FIXME: tests run under Xvfb, but fail with:
3499 ;; /src/bookmarks/ephy-bookmarks/create:
3500 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3505 `(("dconf" ,dconf)))
3507 `(("intltool" ,intltool)
3508 ("itstool" ,itstool)
3509 ("pkg-config" ,pkg-config)
3510 ("xmllint" ,libxml2)))
3514 ("glib-networking" ,glib-networking)
3515 ("gnome-desktop" ,gnome-desktop)
3516 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3517 ("iso-codes" ,iso-codes)
3518 ("libnotify" ,libnotify)
3519 ("libsecret" ,libsecret)
3520 ("libwnck" ,libwnck)
3521 ("libxslt" ,libxslt)
3524 ("webkitgtk" ,webkitgtk)))
3525 (home-page "https://wiki.gnome.org/Apps/Web")
3526 (synopsis "GNOME web browser")
3528 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3529 principles are simplicity and standards compliance.")
3530 (license license:gpl2+)))
3532 (define-public d-feet
3538 (uri (string-append "mirror://gnome/sources/" name "/"
3539 (version-major+minor version) "/"
3540 name "-" version ".tar.xz"))
3543 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3544 (build-system glib-or-gtk-build-system)
3546 '(#:out-of-source? #f ; tests need to run in the source directory.
3548 (modify-phases %standard-phases
3552 ;; The test suite requires a running X server.
3553 (system "Xvfb :1 &")
3554 (setenv "DISPLAY" ":1")
3555 ;; Don't fail on missing '/etc/machine-id'.
3556 (setenv "DBUS_FATAL_WARNINGS" "0")
3557 ;; tests.py and window.py don't meet E402:
3558 ;; E402 module level import not at top of file
3559 (substitute* "src/tests/Makefile"
3560 (("--ignore=E123") "--ignore=E123,E402"))
3563 'install 'wrap-program
3564 (lambda* (#:key outputs #:allow-other-keys)
3565 (let ((prog (string-append (assoc-ref outputs "out")
3568 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3569 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3572 `(("intltool" ,intltool)
3573 ("itstool" ,itstool)
3574 ("pkg-config" ,pkg-config)
3575 ("python-pep8" ,python-pep8)
3576 ("xmllint" ,libxml2)
3577 ("xorg-server" ,xorg-server)))
3579 `(("gobject-introspection" ,gobject-introspection)
3581 ("python" ,python-wrapper)
3582 ("python-pygobject" ,python-pygobject)))
3583 (home-page "https://wiki.gnome.org/Apps/DFeet")
3584 (synopsis "D-Bus debugger")
3586 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3587 of running programs and invoke methods on those interfaces.")
3588 (license license:gpl2+)))
3590 (define-public yelp-xsl
3596 (uri (string-append "mirror://gnome/sources/" name "/"
3597 (version-major+minor version) "/"
3598 name "-" version ".tar.xz"))
3601 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3602 (build-system gnu-build-system)
3604 `(("intltool" ,intltool)
3605 ("itstool" ,itstool)
3606 ("xmllint" ,libxml2)))
3607 (home-page "https://wiki.gnome.org/Apps/Yelp")
3608 (synopsis "XSL stylesheets for Yelp")
3610 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3611 to format Docbook and Mallard documents.")
3612 (license license:gpl2+)))
3620 (uri (string-append "mirror://gnome/sources/" name "/"
3621 (version-major+minor version) "/"
3622 name "-" version ".tar.xz"))
3625 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3626 (build-system glib-or-gtk-build-system)
3628 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3629 ("intltool" ,intltool)
3630 ("itstool" ,itstool)
3631 ("pkg-config" ,pkg-config)))
3633 `(("dconf" ,dconf)))
3635 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3636 ("libxslt" ,libxslt)
3638 ("webkitgtk" ,webkitgtk)
3639 ("yelp-xsl" ,yelp-xsl)))
3640 (home-page "https://wiki.gnome.org/Apps/Yelp")
3641 (synopsis "GNOME help browser")
3643 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3644 man, info, and HTML documents. It can locate documents according to the
3645 freedesktop.org help system specification.")
3646 (license license:gpl2+)))
3648 (define-public yelp-tools
3654 (uri (string-append "mirror://gnome/sources/" name "/"
3655 (version-major+minor version) "/"
3656 name "-" version ".tar.xz"))
3659 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3660 (build-system gnu-build-system)
3662 `(("pkg-config" ,pkg-config)))
3664 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3665 `(("itstool" ,itstool)
3666 ("xmllint" ,libxml2)
3667 ("xsltproc" ,libxslt)))
3669 `(("yelp-xsl" ,yelp-xsl)))
3670 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3671 (synopsis "Yelp documentation tools")
3673 "Yelp-tools is a collection of scripts and build utilities to help create,
3674 manage, and publish documentation for Yelp and the web. Most of the heavy
3675 lifting is done by packages like yelp-xsl and itstool. This package just
3676 wraps things up in a developer-friendly way.")
3677 (license license:gpl2+)))
3679 (define-public libgee
3685 (uri (string-append "mirror://gnome/sources/" name "/"
3686 (version-major+minor version) "/"
3687 name "-" version ".tar.xz"))
3690 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3691 (build-system gnu-build-system)
3694 (modify-phases %standard-phases
3695 (add-after 'unpack 'fix-introspection-install-dir
3696 (lambda* (#:key outputs #:allow-other-keys)
3697 (let ((out (assoc-ref outputs "out")))
3698 (substitute* "gee/Makefile.in"
3699 (("@INTROSPECTION_GIRDIR@")
3700 (string-append out "/share/gir-1.0/"))
3701 (("@INTROSPECTION_TYPELIBDIR@")
3702 (string-append out "/lib/girepository-1.0/")))))))))
3704 `(("glib" ,glib "bin")
3705 ("pkg-config" ,pkg-config)))
3708 ("gobject-introspection" ,gobject-introspection)))
3709 (home-page "https://wiki.gnome.org/Projects/Libgee")
3710 (synopsis "GObject collection library")
3712 "Libgee is a utility library providing GObject-based interfaces and
3713 classes for commonly used data structures.")
3714 (license license:lgpl2.1+)))
3716 (define-public gexiv2
3722 (uri (string-append "mirror://gnome/sources/" name "/"
3723 (version-major+minor version) "/"
3724 name "-" version ".tar.xz"))
3727 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3728 (build-system gnu-build-system)
3730 `(("glib" ,glib "bin")
3731 ("pkg-config" ,pkg-config)))
3733 ;; Listed in "Requires" section of gexiv2.pc
3734 `(("exiv2" ,exiv2)))
3737 ("gobject-introspection" ,gobject-introspection)))
3738 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3739 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3741 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3742 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3743 metadata in photo and video files of various formats.")
3744 (license license:gpl2+)))
3746 (define-public shotwell
3752 (uri (string-append "mirror://gnome/sources/" name "/"
3753 (version-major+minor version) "/"
3754 name "-" version ".tar.xz"))
3757 "1a9lx9a7p6fgaf838xlw98f73xxyxmg6jmm29830lsl8ynbhq9bk"))))
3758 (build-system glib-or-gtk-build-system)
3760 `(#:tests? #f ;no "check" target
3761 #:make-flags '("CC=gcc")
3762 #:configure-flags '("--disable-gsettings-convert-install")
3763 #:out-of-source? #f))
3765 `(("pkg-config" ,pkg-config)
3766 ("gettext" ,gnu-gettext)
3768 ("desktop-file-utils" ,desktop-file-utils)
3771 ("gnome-doc-utils" ,gnome-doc-utils)
3772 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3773 ;; runtime. It should be propagated.
3774 ("python2-libxml2" ,python2-libxml2)
3775 ("python2" ,python-2)))
3777 `(("gstreamer" ,gstreamer)
3778 ("gst-plugins-base" ,gst-plugins-base)
3779 ("gst-plugins-good" ,gst-plugins-good)
3783 ("json-glib" ,json-glib)
3785 ("webkitgtk" ,webkitgtk-2.4)
3787 ("libsoup" ,libsoup)
3788 ("libxml2" ,libxml2)
3790 ("libgudev" ,libgudev)
3791 ("libgphoto2" ,libgphoto2)))
3792 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3793 (synopsis "Photo manager for GNOME 3")
3795 "Shotwell is a digital photo manager designed for the GNOME desktop
3796 environment. It allows you to import photos from disk or camera, organize
3797 them by keywords and events, view them in full-window or fullscreen mode, and
3798 share them with others via social networking and more.")
3799 (license license:lgpl2.1+)))
3801 (define-public file-roller
3803 (name "file-roller")
3807 (uri (string-append "mirror://gnome/sources/" name "/"
3808 (version-major+minor version) "/"
3809 name "-" version ".tar.xz"))
3812 "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8"))))
3813 (build-system glib-or-gtk-build-system)
3815 `(("intltool" ,intltool)
3816 ("pkg-config" ,pkg-config)))
3817 ;; TODO: Add libnautilus.
3820 ("gdk-pixbuf" ,gdk-pixbuf)
3821 ("json-glib" ,json-glib)
3822 ("libarchive" ,libarchive)
3823 ("libnotify" ,libnotify)
3825 ("itstool" ,itstool)
3826 ("libxml2" ,libxml2)))
3827 (synopsis "Graphical archive manager for GNOME")
3828 (description "File Roller is an archive manager for the GNOME desktop
3829 environment that allows users to view, unpack, and create compressed archives
3830 such as gzip tarballs.")
3831 (home-page "http://fileroller.sourceforge.net/")
3832 (license license:gpl2+)))
3834 (define-public gnome-session
3836 (name "gnome-session")
3840 (uri (string-append "mirror://gnome/sources/" name "/"
3841 (version-major+minor version) "/"
3842 name "-" version ".tar.xz"))
3845 "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"))))
3848 (modify-phases %standard-phases
3849 (add-before 'configure 'pre-configure
3850 (lambda* (#:key outputs #:allow-other-keys)
3851 ;; Use elogind instead of systemd.
3852 (substitute* "configure"
3853 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3855 (("systemd") "elogind"))
3856 (substitute* "gnome-session/gsm-systemd.c"
3857 (("#include <systemd/sd-login.h>")
3858 "#include <elogind/sd-login.h>"))
3859 ;; Remove uses of the systemd journal.
3860 (substitute* "gnome-session/main.c"
3861 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3862 (substitute* "gnome-session/gsm-manager.c"
3863 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3864 (substitute* "gnome-session/gsm-autostart-app.c"
3865 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3867 (add-after 'install 'wrap-gnome-session
3868 (lambda* (#:key inputs outputs #:allow-other-keys)
3869 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3870 (let ((glib (assoc-ref inputs "glib:bin"))
3871 (out (assoc-ref outputs "out")))
3872 (wrap-program (string-append out "/bin/gnome-session")
3873 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3875 (add-after 'install 'disable-hardware-acceleration-check
3876 (lambda* (#:key outputs #:allow-other-keys)
3877 ;; Do not abort if hardware acceleration is missing. This allows
3878 ;; GNOME to run in QEMU and on low-end devices.
3879 (let ((out (assoc-ref outputs "out")))
3880 (substitute* (string-append out
3881 "/share/xsessions/gnome.desktop")
3883 "gnome-session --disable-acceleration-check"))
3887 '("--enable-elogind")))
3888 (build-system glib-or-gtk-build-system)
3890 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3891 ("pkg-config" ,pkg-config)
3892 ("intltool" ,intltool)
3893 ("xsltproc" ,libxslt)))
3895 `(("elogind" ,elogind)
3896 ("gnome-desktop" ,gnome-desktop)
3897 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3899 ("json-glib" ,json-glib)
3901 ("libxcomposite" ,libxcomposite)
3902 ("libxtst" ,libxtst)
3905 ("xtrans" ,xtrans)))
3906 (synopsis "Session manager for GNOME")
3908 "This package contains the GNOME session manager, as well as a
3909 configuration program to choose applications starting on login.")
3910 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3911 (license license:gpl2+)))
3919 (uri (string-append "mirror://gnome/sources/" name "/"
3920 (version-major+minor version) "/"
3921 name "-" version ".tar.xz"))
3924 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3925 (modules '((guix build utils)))
3926 (snippet '(substitute* "test/run-with-dbus"
3927 (("/bin/rm") "rm")))))
3928 (build-system gnu-build-system)
3931 (modify-phases %standard-phases
3935 ;; For the missing /etc/machine-id.
3936 (setenv "DBUS_FATAL_WARNINGS" "0")
3939 ;; Failed to convert UTF-8 string to JS string: ...
3940 ;; TODO: actually fix it.
3941 (substitute* "installed-tests/js/testEverythingBasic.js"
3942 ((".*test_utf8_inout.*") ""))
3945 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3946 ("pkg-config" ,pkg-config)
3947 ("xmllint" ,libxml2)
3949 ("dbus-launch" ,dbus)
3950 ("uuidgen" ,util-linux)
3951 ("xvfb" ,xorg-server)))
3953 ;; These are all in the Requires.private field of gjs-1.0.pc.
3954 `(("gobject-introspection" ,gobject-introspection)
3955 ("mozjs" ,mozjs-24)))
3958 ("readline" ,readline)))
3959 (synopsis "Javascript bindings for GNOME")
3960 (home-page "http://live.gnome.org/Gjs")
3962 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
3963 javascript engine and the GObject introspection framework.")
3964 (license license:gpl2+)))
3966 (define-public gedit
3972 (uri (string-append "mirror://gnome/sources/" name "/"
3973 (version-major+minor version) "/"
3974 name "-" version ".tar.xz"))
3977 "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws"))))
3978 (build-system glib-or-gtk-build-system)
3980 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
3982 (modify-phases %standard-phases
3984 'install 'wrap-gedit
3985 (lambda* (#:key inputs outputs #:allow-other-keys)
3986 (let ((out (assoc-ref outputs "out"))
3987 (gtksourceview (assoc-ref inputs "gtksourceview"))
3988 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3989 (python-path (getenv "PYTHONPATH")))
3990 (wrap-program (string-append out "/bin/gedit")
3992 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3993 `("PYTHONPATH" ":" prefix (,python-path))
3994 ;; For language-specs.
3995 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
3999 `(("dconf" ,dconf)))
4001 `(("intltool" ,intltool)
4002 ("itstool" ,itstool)
4003 ("gobject-introspection" ,gobject-introspection)
4004 ("pkg-config" ,pkg-config)))
4008 ("gtksourceview" ,gtksourceview)
4009 ("libpeas" ,libpeas)
4010 ("libxml2" ,libxml2)
4011 ("iso-codes" ,iso-codes)
4012 ("python-pygobject" ,python-pygobject)
4014 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4017 ("adwaita-icon-theme" ,adwaita-icon-theme)
4018 ("libsoup" ,libsoup)
4019 ("gnome-desktop" ,gnome-desktop)))
4020 (home-page "https://wiki.gnome.org/Apps/Gedit")
4021 (synopsis "GNOME text editor")
4022 (description "While aiming at simplicity and ease of use, gedit is a
4023 powerful general purpose text editor.")
4024 (license license:gpl2+)))
4026 (define-public zenity
4032 (uri (string-append "mirror://gnome/sources/" name "/"
4033 (version-major+minor version) "/"
4034 name "-" version ".tar.xz"))
4037 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4038 (build-system gnu-build-system)
4040 `(("gettext" ,gnu-gettext)
4041 ("itstool" ,itstool)
4042 ("pkg-config" ,pkg-config)))
4044 `(("libnotify" ,libnotify)
4045 ("webkitgtk" ,webkitgtk)))
4046 (synopsis "Display graphical dialog boxes from shell scripts")
4047 (home-page "http://www.gnome.org")
4049 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4050 to display dialog boxes from the commandline and shell scripts.")
4051 (license license:lgpl2.0+)))
4053 (define-public mutter
4059 (uri (string-append "mirror://gnome/sources/" name "/"
4060 (version-major+minor version) "/"
4061 name "-" version ".tar.xz"))
4064 "0752vkkmaaay8ziczqrf7z3735bq3brx2djw36arqsdhwawh6jba"))))
4065 (build-system gnu-build-system)
4068 ;; XXX: build fails with [-Werror]:
4069 ;; backends/meta-cursor-renderer.c:112:5: error:
4070 ;; implicit declaration of function ?roundf?
4071 '("--enable-compile-warnings=minimum")))
4073 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4074 ("gobject-introspection" ,gobject-introspection)
4075 ("intltool" ,intltool)
4076 ("pkg-config" ,pkg-config)))
4078 ;; libmutter.pc refers to all these.
4079 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4081 ("clutter" ,clutter)))
4083 `(("gnome-desktop" ,gnome-desktop)
4084 ("libcanberra-gtk" ,libcanberra)
4087 ("libxkbcommon" ,libxkbcommon)
4088 ("libxkbfile" ,libxkbfile)
4089 ("mesa-headers" ,mesa-headers)
4090 ("startup-notification" ,startup-notification)
4091 ("upower-glib" ,upower)
4092 ("xkeyboard-config" ,xkeyboard-config)
4093 ("zenity" ,zenity)))
4094 (synopsis "Window and compositing manager")
4095 (home-page "http://www.gnome.org")
4097 "Mutter is a window and compositing manager that displays and manages your
4098 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4099 Clutter toolkit with solid window-management logic inherited from the Metacity
4101 (license license:gpl2+)))
4103 (define-public gnome-online-accounts
4105 (name "gnome-online-accounts")
4109 (uri (string-append "mirror://gnome/sources/" name "/"
4110 (version-major+minor version) "/"
4111 name "-" version ".tar.xz"))
4114 "14qcih1g136sn2aklzagv83jl82d3qc598rkdm8zac9gw70ynyn3"))))
4115 (build-system glib-or-gtk-build-system)
4117 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4118 ("gobject-introspection" ,gobject-introspection)
4119 ("intltool" ,intltool)
4120 ("pkg-config" ,pkg-config)
4121 ("xsltproc" ,libxslt)))
4123 `(("glib" ,glib) ; required by goa-1.0.pc
4124 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4126 `(("docbook-xsl" ,docbook-xsl)
4127 ("json-glib" ,json-glib)
4128 ("libsecret" ,libsecret)
4130 ("telepathy-glib" ,telepathy-glib)
4131 ("webkitgtk" ,webkitgtk)))
4132 (synopsis "Single sign-on framework for GNOME")
4133 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4135 "GNOME Online Accounts provides interfaces so that applications and
4136 libraries in GNOME can access the user's online accounts. It has providers for
4137 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4138 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4139 (license license:lgpl2.0+)))
4141 (define-public evolution-data-server
4143 (name "evolution-data-server")
4147 (uri (string-append "mirror://gnome/sources/" name "/"
4148 (version-major+minor version) "/"
4149 name "-" version ".tar.xz"))
4152 "0lsbhzacr2bs90z8sx44vf403r0h2yqsy4l2svrh5hjnassgdyqx"))))
4153 (build-system gnu-build-system)
4155 '(;; XXX: fails with:
4156 ;; /Fixture/Calendar0: cleaning up pid xxxx
4160 (let ((nss (assoc-ref %build-inputs "nss"))
4161 (nspr (assoc-ref %build-inputs "nspr")))
4162 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4163 "--disable-google" ; disable Google Contacts support
4164 "--disable-google-auth" ; disable Google authentication
4165 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4166 (string-append "--with-nss-includes=" nss "/include/nss")
4167 (string-append "--with-nss-libs=" nss "/lib/nss")))
4169 (modify-phases %standard-phases
4170 (add-before 'check 'pre-check
4172 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4173 (("/bin/rm") (which "rm")))
4176 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4177 ("gobject-introspection" ,gobject-introspection)
4179 ("intltool" ,intltool)
4180 ("pkg-config" ,pkg-config)
4181 ("python" ,python)))
4183 ;; These are all in the Requires field of .pc files.
4185 ("libical" ,libical)
4186 ("libsecret" ,libsecret)
4187 ("libsoup" ,libsoup)
4189 ("sqlite" ,sqlite)))
4193 ("gnome-online-accounts" ,gnome-online-accounts)
4194 ("libgweather" ,libgweather)))
4195 (synopsis "Store address books and calendars")
4196 (home-page "https://wiki.gnome.org/Apps/Evolution")
4198 "This package provides a unified backend for programs that work with
4199 contacts, tasks, and calendar information. It was originally developed for
4200 Evolution (hence the name), but is now used by other packages as well.")
4201 (license license:lgpl2.0)))
4203 (define-public caribou
4209 (uri (string-append "mirror://gnome/sources/" name "/"
4210 (version-major+minor version) "/"
4211 name "-" version ".tar.xz"))
4214 "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris"))))
4215 (build-system glib-or-gtk-build-system)
4218 (modify-phases %standard-phases
4221 (lambda* (#:key outputs #:allow-other-keys)
4222 (let ((out (assoc-ref outputs "out")))
4223 ;; Use absolute shared library path in Caribou-1.0.typelib.
4224 (substitute* "libcaribou/Makefile"
4225 (("--shared-library=libcaribou.so")
4226 (string-append "--shared-library="
4227 out "/lib/libcaribou.so")))
4229 (add-after 'install 'wrap-programs
4230 (lambda* (#:key outputs #:allow-other-keys)
4231 (let* ((out (assoc-ref outputs "out"))
4232 (python-path (getenv "PYTHONPATH"))
4233 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4237 `("PYTHONPATH" ":" prefix (,python-path))
4238 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4239 (list (string-append out "/bin/caribou-preferences")
4240 (string-append out "/libexec/antler-keyboard"))))
4243 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4244 ("gobject-introspection" ,gobject-introspection)
4245 ("intltool" ,intltool)
4246 ("pkg-config" ,pkg-config)
4247 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4249 ("xsltproc" ,libxslt)))
4251 ;; caribou-1.0.pc refers to all these.
4252 `(("libgee" ,libgee)
4253 ("libxklavier" ,libxklavier)
4254 ("libxtst" ,libxtst)
4257 `(("clutter" ,clutter)
4260 ("python-pygobject" ,python2-pygobject)))
4261 (synopsis "Text entry and UI navigation application")
4262 (home-page "https://wiki.gnome.org/Projects/Caribou")
4264 "Caribou is an input assistive technology intended for switch and pointer
4266 (license license:lgpl2.1)))
4268 (define-public network-manager
4270 (name "network-manager")
4274 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4275 (version-major+minor version) "/"
4276 "NetworkManager-" version ".tar.xz"))
4279 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
4280 (build-system gnu-build-system)
4282 "doc")) ; 8 MiB of gtk-doc HTML
4285 (let ((out (assoc-ref %outputs "out"))
4286 (doc (assoc-ref %outputs "doc"))
4287 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4289 (list "--with-crypto=gnutls"
4290 "--disable-config-plugin-ibft"
4292 "--localstatedir=/var"
4293 (string-append "--with-udev-dir="
4295 (string-append "--with-dbus-sys-dir="
4296 out "/etc/dbus-1/system.d")
4297 (string-append "--with-html-dir="
4298 doc "/share/gtk-doc/html")
4299 (string-append "--with-dhclient=" dhclient)))
4301 (modify-phases %standard-phases
4302 (add-before 'configure 'pre-configure
4304 ;; These tests try to test aspects of network-manager's
4305 ;; functionality within restricted containers, but they don't
4306 ;; cope with being already in the Guix build jail as that jail
4307 ;; lacks some features that they would like to proxy over (like
4309 (substitute* '("src/platform/Makefile.in"
4310 "src/devices/Makefile.in")
4311 (("SUBDIRS = tests") ""))
4312 (substitute* '("src/tests/Makefile.in")
4313 (("\ttest-route-manager-linux") "\t")
4314 (("\ttest-route-manager-fake") "\t"))
4316 (add-before 'check 'pre-check
4318 ;; For the missing /etc/machine-id.
4319 (setenv "DBUS_FATAL_WARNINGS" "0")
4323 (zero? (system* "make"
4329 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4330 ("gobject-introspection" ,gobject-introspection)
4331 ("intltool" ,intltool)
4332 ("pkg-config" ,pkg-config)
4334 ("python" ,python-wrapper)
4335 ("python-dbus" ,python-dbus)
4336 ("python-pygobject" ,python-pygobject)))
4338 `(("dbus-glib" ,dbus-glib)
4339 ("dnsmasq" ,dnsmasq)
4341 ("iptables" ,iptables)
4342 ("isc-dhcp" ,isc-dhcp)
4343 ("libgcrypt" ,libgcrypt)
4344 ("libgudev" ,libgudev)
4347 ("libsoup" ,libsoup)
4348 ("modem-manager" ,modem-manager)
4351 ("readline" ,readline)
4352 ("util-linux" ,util-linux)))
4353 (synopsis "Network connection manager")
4354 (home-page "http://www.gnome.org/projects/NetworkManager/")
4356 "NetworkManager is a system network service that manages your network
4357 devices and connections, attempting to keep active network connectivity when
4358 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4359 devices, and provides VPN integration with a variety of different VPN
4361 (license license:gpl2+)))
4363 (define-public network-manager-applet
4365 (name "network-manager-applet")
4369 (uri (string-append "mirror://gnome/sources/" name "/"
4370 (version-major+minor version) "/"
4371 name "-" version ".tar.xz"))
4374 "0dhvk3dvy6djn6blpkv46dn6yfh28wsh6mpl0v53qxfip97j8kwk"))))
4375 (build-system glib-or-gtk-build-system)
4376 (arguments '(#:configure-flags '("--disable-migration")))
4378 `(("intltool" ,intltool)
4379 ("gobject-introspection" ,gobject-introspection)
4380 ("pkg-config" ,pkg-config)))
4382 ;; libnm-gtk.pc refers to all these.
4383 `(("dbus-glib" ,dbus-glib)
4385 ("network-manager" ,network-manager)))
4387 `(("iso-codes" ,iso-codes)
4388 ("libgudev" ,libgudev)
4389 ("libnotify" ,libnotify)
4390 ("libsecret" ,libsecret)))
4391 (synopsis "Applet for managing network connections")
4392 (home-page "http://www.gnome.org/projects/NetworkManager/")
4394 "This package contains a systray applet for NetworkManager. It displays
4395 the available networks and allows users to easily switch between them.")
4396 (license license:gpl2+)))
4398 (define-public libxml++
4404 (uri (string-append "mirror://gnome/sources/" name "/"
4405 (version-major+minor version) "/"
4406 name "-" version ".tar.xz"))
4409 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4410 (build-system gnu-build-system)
4411 ;; libxml++-3.0.pc refers to all these.
4413 `(("libxml2" ,libxml2)
4414 ("glibmm" ,glibmm)))
4417 ("pkg-config" ,pkg-config)))
4418 (home-page "http://libxmlplusplus.sourceforge.net/")
4419 (synopsis "C++ wrapper for XML parser library libxml2")
4421 "This package provides a C++ wrapper for the XML parser library
4423 (license license:lgpl2.1+)))
4431 (uri (string-append "mirror://gnome/sources/" name "/"
4432 (version-major+minor version) "/"
4433 name "-" version ".tar.xz"))
4436 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4437 (build-system gnu-build-system)
4440 '("--without-plymouth")
4442 (modify-phases %standard-phases
4444 'configure 'pre-configure
4446 ;; We don't have <systemd/sd-daemon.h>.
4447 (substitute* '("common/gdm-log.c"
4448 "daemon/gdm-server.c"
4449 "daemon/gdm-session-worker.c"
4450 "daemon/gdm-session-worker-job.c")
4451 (("#include <systemd/sd-daemon\\.h>") ""))
4452 ;; Use elogind for sd-login.
4453 (substitute* '("common/gdm-common.c"
4454 "daemon/gdm-manager.c"
4455 "libgdm/gdm-user-switching.c")
4456 (("#include <systemd/sd-login\\.h>")
4457 "#include <elogind/sd-login.h>"))
4458 ;; Avoid checking SYSTEMD using pkg-config.
4459 (setenv "SYSTEMD_CFLAGS" " ")
4460 (setenv "SYSTEMD_LIBS" "-lelogind")
4464 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4465 ("gobject-introspection" ,gobject-introspection)
4466 ("intltool" ,intltool)
4467 ("itstool" ,itstool)
4468 ("pkg-config" ,pkg-config)
4469 ("xmllint" ,libxml2)))
4471 `(("accountsservice" ,accountsservice)
4472 ("check" ,check) ; for testing
4473 ("elogind" ,elogind)
4475 ("iso-codes" ,iso-codes)
4476 ("libcanberra" ,libcanberra)
4477 ("linux-pam" ,linux-pam)))
4478 (synopsis "Display manager for GNOME")
4479 (home-page "http://wiki.gnome.org/Projects/GDM/")
4481 "GNOME Display Manager is a system service that is responsible for
4482 providing graphical log-ins and managing local and remote displays.")
4483 (license license:gpl2+)))
4485 (define-public libgtop
4491 (uri (string-append "mirror://gnome/sources/" name "/"
4492 (version-major+minor version) "/"
4493 name "-" version ".tar.xz"))
4496 "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld"))))
4497 (build-system gnu-build-system)
4499 `(("gobject-introspection" ,gobject-introspection)
4500 ("intltool" ,intltool)
4502 ("pkg-config" ,pkg-config)))
4504 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4505 (synopsis "Portable system access library")
4506 (home-page "https://www.gnome.org/")
4508 "LibGTop is a library to get system specific data such as CPU and memory
4509 usage and information about running processes.")
4510 (license license:gpl2+)))
4512 (define-public gnome-bluetooth
4514 (name "gnome-bluetooth")
4518 (uri (string-append "mirror://gnome/sources/" name "/"
4519 (version-major+minor version) "/"
4520 name "-" version ".tar.xz"))
4523 "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4"))))
4524 (build-system glib-or-gtk-build-system)
4526 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4527 ("gobject-introspection" ,gobject-introspection)
4528 ("intltool" ,intltool)
4529 ("pkg-config" ,pkg-config)
4530 ("xmllint" ,libxml2)))
4532 ;; gnome-bluetooth-1.0.pc refers to all these.
4536 `(("libcanberra" ,libcanberra)
4537 ("libnotify" ,libnotify)))
4538 (synopsis "GNOME Bluetooth subsystem")
4539 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4541 "This package contains tools for managing and manipulating Bluetooth
4542 devices using the GNOME desktop.")
4543 (license license:lgpl2.1+)))
4545 (define-public gnome-control-center
4547 (name "gnome-control-center")
4551 (uri (string-append "mirror://gnome/sources/" name "/"
4552 (version-major+minor version) "/"
4553 name "-" version ".tar.xz"))
4556 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4557 (build-system glib-or-gtk-build-system)
4560 (modify-phases %standard-phases
4561 (add-before 'configure 'patch-paths
4562 (lambda* (#:key inputs #:allow-other-keys)
4563 (let ((libc (assoc-ref inputs "libc"))
4564 (tzdata (assoc-ref inputs "tzdata")))
4565 (substitute* "panels/datetime/tz.h"
4566 (("/usr/share/zoneinfo/zone.tab")
4567 (string-append tzdata "/share/zoneinfo/zone.tab")))
4568 (substitute* "panels/datetime/test-endianess.c"
4569 (("/usr/share/locale")
4570 (string-append libc "/share/locale")))
4573 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4574 ("intltool" ,intltool)
4575 ("pkg-config" ,pkg-config)
4576 ("xsltproc" ,libxslt)))
4578 `(("accountsservice" ,accountsservice)
4579 ("clutter-gtk" ,clutter-gtk)
4580 ("colord-gtk" ,colord-gtk)
4583 ("docbook-xsl" ,docbook-xsl)
4584 ("gnome-bluetooth" ,gnome-bluetooth)
4585 ("gnome-desktop" ,gnome-desktop)
4586 ("gnome-online-accounts" ,gnome-online-accounts)
4587 ("gnome-settings-daemon" ,gnome-settings-daemon)
4590 ("libcanberra" ,libcanberra)
4591 ("libgudev" ,libgudev)
4592 ("libgtop" ,libgtop)
4593 ("libpwquality" ,libpwquality)
4594 ("libsoup" ,libsoup)
4595 ("libxml2" ,libxml2)
4596 ("libwacom" ,libwacom)
4598 ("mit-krb5" ,mit-krb5)
4599 ("modem-manager" ,modem-manager)
4600 ("network-manager-applet" ,network-manager-applet)
4602 ("pulseaudio" ,pulseaudio)
4603 ("smbclient" ,samba)
4605 ("upower" ,upower)))
4606 (synopsis "Utilities to configure the GNOME desktop")
4607 (home-page "https://www.gnome.org/")
4609 "This package contains configuration applets for the GNOME desktop,
4610 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4611 properties, sound setup, desktop theme and background, user interface
4612 properties, screen resolution, and other GNOME parameters.")
4613 (license license:gpl2+)))
4615 (define-public gnome-shell
4617 (name "gnome-shell")
4621 (uri (string-append "mirror://gnome/sources/" name "/"
4622 (version-major+minor version) "/"
4623 name "-" version ".tar.xz"))
4626 "08cgbr15cim3rgcngrv98rm48pkdxwj4nqx5za1lsnv376m4x5bs"))))
4627 (build-system glib-or-gtk-build-system)
4630 (modify-phases %standard-phases
4632 (lambda* (#:key outputs #:allow-other-keys)
4633 (let* ((out (assoc-ref outputs "out"))
4634 (keysdir (string-append
4635 out "/share/gnome-control-center/keybindings")))
4636 (zero? (system* "make"
4637 (string-append "keysdir=" keysdir)
4640 'install 'wrap-programs
4641 (lambda* (#:key outputs #:allow-other-keys)
4642 (let ((out (assoc-ref outputs "out"))
4643 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4644 (python-path (getenv "PYTHONPATH")))
4645 (wrap-program (string-append out "/bin/gnome-shell")
4646 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4649 (wrap-program (string-append out "/bin/" prog)
4650 `("PYTHONPATH" ":" prefix (,python-path))
4651 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4652 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4655 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("intltool" ,intltool)
4658 ("pkg-config" ,pkg-config)
4660 ("xsltproc" ,libxslt)))
4662 `(("accountsservice" ,accountsservice)
4663 ("caribou" ,caribou)
4664 ("docbook-xsl" ,docbook-xsl)
4665 ("evolution-data-server" ,evolution-data-server)
4669 ("gnome-bluetooth" ,gnome-bluetooth)
4670 ("gnome-control-center" ,gnome-control-center)
4671 ("gnome-desktop" ,gnome-desktop)
4672 ("gnome-settings-daemon" ,gnome-settings-daemon)
4673 ("gst-plugins-base" ,gst-plugins-base)
4675 ("libcanberra" ,libcanberra)
4676 ("libcroco" ,libcroco)
4677 ("libgweather" ,libgweather)
4678 ("libsoup" ,libsoup)
4679 ("mesa-headers" ,mesa-headers)
4681 ("network-manager-applet" ,network-manager-applet)
4683 ("pulseaudio" ,pulseaudio)
4684 ("python-pygobject" ,python-pygobject)
4685 ("startup-notification" ,startup-notification)
4686 ("telepathy-logger" ,telepathy-logger)
4688 ;; XXX: required by libgjs.la.
4689 ("readline" ,readline)))
4690 (synopsis "Desktop shell for GNOME")
4691 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4693 "GNOME Shell provides core user interface functions for the GNOME desktop,
4694 like switching to windows and launching applications.")
4695 (license license:gpl2+)))
4697 (define-public gtk-vnc
4704 (uri (string-append "mirror://gnome/sources/" name "/"
4705 (version-major+minor version) "/"
4706 name "-" version ".tar.xz"))
4709 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4710 (build-system gnu-build-system)
4712 '(#:configure-flags '("--with-gtk=3.0")))
4714 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4716 `(("cyrus-sasl" ,cyrus-sasl)
4718 ("libgcrypt" ,libgcrypt)
4719 ("pulseaudio" ,pulseaudio)))
4721 `(("glib:bin" ,glib "bin")
4722 ("gobject-introspection" ,gobject-introspection)
4723 ("intltool" ,intltool)
4724 ("pkg-config" ,pkg-config)
4726 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4727 (synopsis "VNC viewer widget for GTK+")
4729 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4730 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4731 GTK-VNC implements client side RFB protocol and authentication extensions such
4732 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4733 (license license:lgpl2.1+)))
4735 (define-public nautilus
4741 (uri (string-append "mirror://gnome/sources/" name "/"
4742 (version-major+minor version) "/"
4743 name "-" version ".tar.xz"))
4746 "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj"))))
4747 (build-system glib-or-gtk-build-system)
4750 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4751 ;; XXX: FAIL: check-nautilus
4752 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4755 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4756 ("gobject-introspection" ,gobject-introspection)
4757 ("intltool" ,intltool)
4758 ("pkg-config" ,pkg-config)))
4760 ;; TODO: add gvfs support.
4763 ("gnome-desktop" ,gnome-desktop)
4764 ;; XXX: gtk+ is required by libnautilus-extension.pc
4766 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4768 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4770 ("libexif" ,libexif)
4771 ("libxml2" ,libxml2)))
4772 (synopsis "File manager for GNOME")
4773 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4775 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4776 design and behaviour, giving the user a simple way to navigate and manage its
4778 (license license:gpl2+)))
4780 (define-public baobab
4787 "mirror://gnome/sources/" name "/"
4788 (version-major+minor version) "/"
4789 name "-" version ".tar.xz"))
4792 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4793 (build-system glib-or-gtk-build-system)
4795 `(("intltool" ,intltool)
4796 ("pkg-config" ,pkg-config)
4797 ("itstool" ,itstool)
4798 ("xmllint" ,libxml2)
4799 ("glib" ,glib "bin")
4803 (synopsis "Disk usage analyzer for GNOME")
4805 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4806 usage in the GNOME desktop environment. It can easily scan device volumes or
4807 a specific user-requested directory branch (local or remote). Once the scan
4808 is complete it provides a graphical representation of each selected folder.")
4809 (home-page "https://wiki.gnome.org/Apps/Baobab")
4810 (license license:gpl2+)))
4812 (define-public gnome-backgrounds
4814 (name "gnome-backgrounds")
4819 (uri (string-append "mirror://gnome/sources/" name "/"
4820 (version-major+minor version) "/"
4821 name "-" version ".tar.xz"))
4824 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4825 (build-system glib-or-gtk-build-system)
4827 `(("intltool" ,intltool)))
4828 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4829 (synopsis "Background images for the GNOME desktop")
4831 "GNOME backgrounds package contains a collection of graphics files which
4832 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4833 the package creates the proper framework and directory structure so that you
4834 can add your own files to the collection.")
4835 (license (list license:gpl2+
4838 license:cc-by-sa3.0))))
4840 (define-public gnome-screenshot
4842 (name "gnome-screenshot")
4847 (uri (string-append "mirror://gnome/sources/" name "/"
4848 (version-major+minor version) "/"
4849 name "-" version ".tar.xz"))
4852 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4853 (build-system glib-or-gtk-build-system)
4855 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4856 ("intltool" ,intltool)
4857 ("pkg-config" ,pkg-config)))
4860 ("libcanberra" ,libcanberra)
4862 ("libxext" ,libxext)))
4863 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4864 (synopsis "Take pictures of your screen")
4866 "GNOME Screenshot is a utility used for taking screenshots of the entire
4867 screen, a window or a user defined area of the screen, with optional
4868 beautifying border effects.")
4869 (license license:gpl2+)))
4871 (define-public dconf-editor
4873 (name "dconf-editor")
4878 (uri (string-append "mirror://gnome/sources/" name "/"
4879 (version-major+minor version) "/"
4880 name "-" version ".tar.xz"))
4883 "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p"))))
4884 (build-system glib-or-gtk-build-system)
4886 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4887 ("intltool" ,intltool)
4888 ("pkg-config" ,pkg-config)))
4892 ("libxml2" ,libxml2)))
4893 (home-page "https://git.gnome.org/browse/dconf-editor")
4894 (synopsis "Graphical editor for GNOME's dconf configuration system")
4896 "Dconf-editor is a graphical tool for browsing and editing the dconf
4897 configuration system for GNOME. It allows users to configure desktop
4898 software that do not provide their own configuration interface.")
4899 (license license:lgpl2.1+)))
4901 (define-public gnome
4904 (version (package-version gnome-shell))
4906 (build-system trivial-build-system)
4907 (arguments '(#:builder (mkdir %output)))
4909 ;; TODO: Add more packages according to:
4910 ;; <https://packages.debian.org/jessie/gnome-core>.
4911 `(("adwaita-icon-theme" ,adwaita-icon-theme)
4913 ("font-cantarell" ,font-cantarell)
4914 ("at-spi2-core" ,at-spi2-core)
4917 ("desktop-file-utils" ,desktop-file-utils)
4919 ("epiphany" ,epiphany)
4922 ("glib-networking" ,glib-networking)
4923 ("gnome-backgrounds" ,gnome-backgrounds)
4924 ("gnome-control-center" ,gnome-control-center)
4925 ("gnome-keyring" ,gnome-keyring)
4926 ("gnome-session" ,gnome-session)
4927 ("gnome-settings-daemon" ,gnome-settings-daemon)
4928 ("gnome-shell" ,gnome-shell)
4929 ("gnome-terminal" ,gnome-terminal)
4930 ("gnome-themes-standard" ,gnome-themes-standard)
4932 ("hicolor-icon-theme" ,hicolor-icon-theme)
4933 ("nautilus" ,nautilus)
4934 ("pulseaudio" ,pulseaudio)
4935 ("shared-mime-info" ,shared-mime-info)
4938 ("zenity" ,zenity)))
4939 (synopsis "The GNU desktop environment")
4940 (home-page "https://www.gnome.org/")
4942 "GNOME is the graphical desktop for GNU. It includes a wide variety of
4943 applications for browsing the web, editing text and images, creating
4944 documents and diagrams, playing media, scanning, and much more.")
4945 (license license:gpl2+)))
4947 (define-public byzanz
4948 ;; The last stable release of Byzanz was in 2011, but there have been many
4949 ;; useful commits made to the Byzanz repository since then that it would be
4950 ;; silly to use such an old release.
4951 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
4954 (version (string-append "0.2-1." (string-take commit 7)))
4958 (url "git://git.gnome.org/byzanz")
4962 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
4963 (build-system glib-or-gtk-build-system)
4966 (modify-phases %standard-phases
4967 (add-after 'unpack 'bootstrap
4969 ;; The build system cleverly detects that we're not building from
4970 ;; a release tarball and turns on -Werror for GCC.
4971 ;; Unsurprisingly, there is a warning during compilation that
4972 ;; causes the build to fail unnecessarily, so we remove the flag.
4973 (substitute* '("configure.ac")
4975 ;; The autogen.sh script in gnome-common will run ./configure
4976 ;; by default, which is problematic because source shebangs
4977 ;; have not yet been patched.
4978 (setenv "NOCONFIGURE" "t")
4979 (zero? (system* "sh" "autogen.sh")))))))
4981 `(("autoconf" ,autoconf)
4982 ("automake" ,automake)
4983 ("gnome-common" ,gnome-common)
4984 ("intltool" ,intltool)
4985 ("libtool" ,libtool)
4986 ("pkg-config" ,pkg-config)
4990 ("gstreamer" ,gstreamer)
4991 ("gst-plugins-base" ,gst-plugins-base)
4993 (synopsis "Desktop recording program")
4994 (description "Byzanz is a simple desktop recording program with a
4995 command-line interface. It can record part or all of an X display for a
4996 specified duration and save it as a GIF encoded animated image file.")
4997 (home-page "https://git.gnome.org/browse/byzanz")
4998 (license license:gpl2+))))
5000 (define-public libzapojit
5006 (uri (string-append "mirror://gnome/sources/" name "/"
5007 (version-major+minor version) "/"
5008 name "-" version ".tar.xz"))
5011 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5012 (build-system gnu-build-system)
5014 `(("gobject-introspection" ,gobject-introspection)
5015 ("intltool" ,intltool)
5016 ("pkg-config" ,pkg-config)))
5018 `(("gnome-online-accounts" ,gnome-online-accounts)
5019 ("json-glib" ,json-glib)
5021 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5022 (synopsis "Library for accessing SkyDrive and Hotmail")
5024 "Libzapojit is a GLib-based library for accessing online service APIs of
5025 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5026 (license license:lgpl2.1+)))
5028 (define-public gnome-tweak-tool
5030 (name "gnome-tweak-tool")
5034 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5035 (version-major+minor version) "/"
5036 "gnome-tweak-tool-" version ".tar.xz"))
5038 (search-patch "gnome-tweak-tool-search-paths.patch")))
5041 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5042 (build-system gnu-build-system)
5044 `(#:configure-flags '("--localstatedir=/tmp"
5045 "--sysconfdir=/tmp")
5046 #:imported-modules ((guix build python-build-system)
5047 ,@%gnu-build-system-modules)
5048 #:phases (modify-phases %standard-phases
5049 (add-after 'install 'wrap
5050 (@@ (guix build python-build-system) wrap)))))
5052 `(("intltool" ,intltool)
5053 ("pkg-config" ,pkg-config)))
5055 `(("python" ,python-2)
5056 ("python2-pygobject" ,python2-pygobject)))
5058 `(("libnotify" ,libnotify)
5059 ("gobject-introspection" ,gobject-introspection)
5060 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5062 (synopsis "Customize advanced GNOME 3 options")
5063 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5065 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5066 GNOME 3. This includes things like the fonts used in user interface elements,
5067 alternative user interface themes, changes in window management behavior,
5068 GNOME Shell appearance and extension, etc.")
5069 (license license:gpl3+)))