1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
26 ;;; This file is part of GNU Guix.
28 ;;; GNU Guix is free software; you can redistribute it and/or modify it
29 ;;; under the terms of the GNU General Public License as published by
30 ;;; the Free Software Foundation; either version 3 of the License, or (at
31 ;;; your option) any later version.
33 ;;; GNU Guix is distributed in the hope that it will be useful, but
34 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
35 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 ;;; GNU General Public License for more details.
38 ;;; You should have received a copy of the GNU General Public License
39 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
41 (define-module (gnu packages gnome)
42 #:use-module ((guix licenses) #:prefix license:)
43 #:use-module (guix packages)
44 #:use-module (guix download)
45 #:use-module (guix git-download)
46 #:use-module (guix utils)
47 #:use-module (guix build-system gnu)
48 #:use-module (guix build-system glib-or-gtk)
49 #:use-module (guix build-system trivial)
50 #:use-module (gnu packages)
51 #:use-module (gnu packages admin)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages avahi)
54 #:use-module (gnu packages base)
55 #:use-module (gnu packages bison)
56 #:use-module (gnu packages calendar)
57 #:use-module (gnu packages check)
58 #:use-module (gnu packages cups)
59 #:use-module (gnu packages curl)
60 #:use-module (gnu packages cyrus-sasl)
61 #:use-module (gnu packages databases)
62 #:use-module (gnu packages djvu)
63 #:use-module (gnu packages dns)
64 #:use-module (gnu packages flex)
65 #:use-module (gnu packages docbook)
66 #:use-module (gnu packages enchant)
67 #:use-module (gnu packages fontutils)
68 #:use-module (gnu packages game-development)
69 #:use-module (gnu packages gettext)
70 #:use-module (gnu packages glib)
71 #:use-module (gnu packages gnupg)
72 #:use-module (gnu packages gnuzilla)
73 #:use-module (gnu packages gstreamer)
74 #:use-module (gnu packages gtk)
75 #:use-module (gnu packages gperf)
76 #:use-module (gnu packages guile)
77 #:use-module (gnu packages openldap)
78 #:use-module (gnu packages pdf)
79 #:use-module (gnu packages polkit)
80 #:use-module (gnu packages popt)
81 #:use-module (gnu packages ghostscript)
82 #:use-module (gnu packages ibus)
83 #:use-module (gnu packages iso-codes)
84 #:use-module (gnu packages libcanberra)
85 #:use-module (gnu packages linux)
86 #:use-module (gnu packages libusb)
87 #:use-module (gnu packages lirc)
88 #:use-module (gnu packages lua)
89 #:use-module (gnu packages image)
90 #:use-module (gnu packages networking)
91 #:use-module (gnu packages password-utils)
92 #:use-module (gnu packages perl)
93 #:use-module (gnu packages photo)
94 #:use-module (gnu packages pkg-config)
95 #:use-module (gnu packages pulseaudio)
96 #:use-module (gnu packages python)
97 #:use-module (gnu packages scanner)
98 #:use-module (gnu packages ssh)
99 #:use-module (gnu packages xml)
100 #:use-module (gnu packages gl)
101 #:use-module (gnu packages compression)
102 #:use-module (gnu packages tex)
103 #:use-module (gnu packages tls)
104 #:use-module (gnu packages web)
105 #:use-module (gnu packages webkit)
106 #:use-module (gnu packages xorg)
107 #:use-module (gnu packages xdisorg)
108 #:use-module (gnu packages freedesktop)
109 #:use-module (gnu packages mail)
110 #:use-module (gnu packages mit-krb5)
111 #:use-module (gnu packages multiprecision)
112 #:use-module (gnu packages backup)
113 #:use-module (gnu packages nettle)
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages video)
116 #:use-module (gnu packages cdrom)
117 #:use-module (gnu packages samba)
118 #:use-module (gnu packages readline)
119 #:use-module (gnu packages fonts)
120 #:use-module (srfi srfi-1))
122 (define-public brasero
128 (uri (string-append "mirror://gnome/sources/" name "/"
129 (version-major+minor version) "/"
130 name "-" version ".tar.xz"))
133 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
134 (build-system glib-or-gtk-build-system)
136 `(#:configure-flags (list
137 (string-append "--with-girdir="
138 (assoc-ref %outputs "out")
140 (string-append "--with-typelibdir="
141 (assoc-ref %outputs "out")
142 "/lib/girepository-1.0"))))
144 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
146 `(("intltool" ,intltool)
147 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
148 ("gobject-introspection" ,gobject-introspection)
149 ("pkg-config" ,pkg-config)))
152 ("gnome-doc-utils" ,gnome-doc-utils)
153 ("gstreamer" ,gstreamer)
154 ("gst-plugins-base" ,gst-plugins-base)
157 ("libcanberra" ,libcanberra)
159 ("libnotify" ,libnotify)
163 ("totem-pl-parser" ,totem-pl-parser)))
164 (home-page "https://projects.gnome.org/brasero/")
165 (synopsis "CD/DVD burning tool for Gnome")
166 (description "Brasero is an application to burn CD/DVD for the Gnome
167 Desktop. It is designed to be as simple as possible and has some unique
168 features to enable users to create their discs easily and quickly.")
169 (license license:gpl2+)))
172 ;; This version from GNOME's repository includes fixes for compiling with
173 ;; recent versions of the build tools. The latest activity on the
174 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
176 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
179 (version (string-append "0.97.2-" (string-take commit 7)))
183 (url "https://git.gnome.org/browse/dia")
185 (file-name (string-append name "-" version "-checkout"))
188 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
189 (build-system gnu-build-system)
191 `(("glib" ,glib "bin")
193 ("gdk-pixbuf" ,gdk-pixbuf)
196 ("freetype" ,freetype)
197 ("libart-lgpl" ,libart-lgpl)))
199 `(("intltool" ,intltool)
200 ("pkg-config" ,pkg-config)
201 ("automake" ,automake)
202 ("autoconf" ,autoconf)
205 ("python-wrapper" ,python-wrapper)))
208 (modify-phases %standard-phases
209 (add-before 'configure 'run-autogen
211 (system* "sh" "autogen.sh"))))))
212 (home-page "https://wiki.gnome.org/Apps/Dia")
213 (synopsis "Diagram creation for GNOME")
214 (description "Dia can be used to draw different types of diagrams, and
215 includes support for UML static structure diagrams (class diagrams), entity
216 relationship modeling, and network diagrams. The program supports various file
217 formats like PNG, SVG, PDF and EPS.")
218 (license license:gpl2+))))
220 (define-public gnome-common
222 (name "gnome-common")
227 (uri (string-append "mirror://gnome/sources/" name "/"
228 (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
232 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
233 (build-system gnu-build-system)
234 (home-page "https://www.gnome.org/")
235 (synopsis "Bootstrap GNOME modules built from Git")
236 (description "gnome-common contains various files needed to bootstrap
237 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
238 can be used to configure a source directory checked out from Git and some
239 commonly used macros.")
240 (license license:gpl2+)))
242 (define-public gnome-desktop
244 (name "gnome-desktop")
249 (uri (string-append "mirror://gnome/sources/" name "/"
250 (version-major+minor version) "/"
251 name "-" version ".tar.xz"))
254 "1cp2c6q1ybirfq6rqyfj5lr5vyqdizy730bfg5jqnflcmakjsb29"))))
255 (build-system gnu-build-system)
257 `(("gobject-introspection" ,gobject-introspection)
259 ("intltool" ,intltool)
260 ("pkg-config" ,pkg-config)
261 ("xmllint" ,libxml2)))
263 ;; Required by gnome-desktop-3.0.pc.
264 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
267 `(("gdk-pixbuf" ,gdk-pixbuf)
269 ("iso-codes" ,iso-codes)
272 ("libxkbfile" ,libxkbfile)
273 ("libxrandr" ,libxrandr)
274 ("xkeyboard-config" ,xkeyboard-config)))
275 (home-page "https://www.gnome.org/")
277 "Libgnome-desktop, gnome-about, and desktop-wide documents")
279 "The libgnome-desktop library provides API shared by several applications
280 on the desktop, but that cannot live in the platform for various reasons.
281 There is no API or ABI guarantee, although we are doing our best to provide
282 stability. Documentation for the API is available with gtk-doc.
284 The gnome-about program helps find which version of GNOME is installed.")
285 ; Some bits under the LGPL.
286 (license license:gpl2+)))
288 (define-public gnome-doc-utils
290 (name "gnome-doc-utils")
295 (uri (string-append "mirror://gnome/sources/" name "/"
296 (version-major+minor version) "/"
297 name "-" version ".tar.xz"))
300 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
301 (build-system gnu-build-system)
303 `(("intltool" ,intltool)
304 ("docbook-xml" ,docbook-xml-4.4)
305 ("python2-libxml2" ,python2-libxml2)
308 ("pkg-config" ,pkg-config)
309 ("python-2" ,python-2)))
310 (home-page "https://wiki.gnome.org/GnomeDocUtils")
312 "Documentation utilities for the Gnome project")
314 "Gnome-doc-utils is a collection of documentation utilities for the
315 Gnome project. It includes xml2po tool which makes it easier to translate
316 and keep up to date translations of documentation.")
317 (license license:gpl2+))) ; xslt under lgpl
325 (uri (string-append "mirror://gnome/sources/" name "/"
326 (version-major+minor version) "/"
327 name "-" version ".tar.xz"))
330 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
331 (build-system gnu-build-system)
333 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
335 #:phases (modify-phases %standard-phases
338 (lambda* (#:key inputs #:allow-other-keys)
339 (substitute* "build/tap-driver"
340 (("/usr/bin/env python") (which "python"))))))))
343 ("gnupg" ,gnupg) ;called as a child process during tests
344 ("libgcrypt" ,libgcrypt)))
346 `(("python" ,python-2) ;for tests
347 ("pkg-config" ,pkg-config)
349 ("gobject-introspection" ,gobject-introspection)
350 ("intltool" ,intltool)
351 ("xsltproc" ,libxslt)))
352 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
354 `(("p11-kit" ,p11-kit)
357 (home-page "http://www.gnome.org")
358 (synopsis "Libraries for displaying certificates and accessing key stores")
360 "The GCR package contains libraries used for displaying certificates and
361 accessing key stores. It also provides the viewer for crypto files on the
363 (license license:lgpl2.1+)))
365 (define-public libgnome-keyring
367 (name "libgnome-keyring")
371 (uri (string-append "mirror://gnome/sources/" name "/"
372 (version-major+minor version) "/"
373 name "-" version ".tar.xz"))
376 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
377 (build-system gnu-build-system)
379 `(("libgcrypt" ,libgcrypt)
382 `(("pkg-config" ,pkg-config)
384 ("intltool" ,intltool)))
386 ;; Referred to in .h files and .pc.
388 (home-page "http://www.gnome.org")
389 (synopsis "Accessing passwords from the GNOME keyring")
391 "Client library to access passwords from the GNOME keyring.")
393 ;; Though a couple of files are LGPLv2.1+.
394 (license license:lgpl2.0+)))
396 (define-public gnome-keyring
398 (name "gnome-keyring")
402 (uri (string-append "mirror://gnome/sources/" name "/"
403 (version-major+minor version) "/"
404 name "-" version ".tar.xz"))
407 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
408 (build-system gnu-build-system)
410 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
414 (string-append "--with-pkcs11-config="
415 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
416 (string-append "--with-pkcs11-modules="
417 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
419 (modify-phases %standard-phases
422 (lambda* (#:key inputs #:allow-other-keys)
423 (substitute* "build/tap-driver"
424 (("/usr/bin/env python") (which "python")))))
426 'configure 'fix-docbook
427 (lambda* (#:key inputs #:allow-other-keys)
428 (substitute* "docs/Makefile.am"
429 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
430 (string-append (assoc-ref inputs "docbook-xsl")
431 "/xml/xsl/docbook-xsl-"
432 ,(package-version docbook-xsl)
433 "/manpages/docbook.xsl")))
434 (setenv "XML_CATALOG_FILES"
435 (string-append (assoc-ref inputs "docbook-xml")
436 "/xml/dtd/docbook/catalog.xml")))))))
438 `(("libgcrypt" ,libgcrypt)
439 ("linux-pam" ,linux-pam)
443 `(("pkg-config" ,pkg-config)
445 ("python" ,python-2) ;for tests
446 ("intltool" ,intltool)
447 ("autoconf" ,autoconf)
448 ("automake" ,automake)
449 ("libxslt" ,libxslt) ;for documentation
450 ("docbook-xml" ,docbook-xml-4.2)
451 ("docbook-xsl" ,docbook-xsl)))
452 (home-page "http://www.gnome.org")
453 (synopsis "Daemon to store passwords and encryption keys")
455 "gnome-keyring is a program that keeps passwords and other secrets for
456 users. It is run as a daemon in the session, similar to ssh-agent, and other
457 applications locate it via an environment variable or D-Bus.
459 The program can manage several keyrings, each with its own master password,
460 and there is also a session keyring which is never stored to disk, but
461 forgotten when the session ends.")
462 (license license:lgpl2.1+)))
464 (define-public evince
470 (uri (string-append "mirror://gnome/sources/" name "/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
475 "0m80s98k4i463dclpyk01fqb91cawbb6vvcz5vq2974k6qqc4ypw"))))
476 (build-system glib-or-gtk-build-system)
478 `(#:configure-flags '("--disable-nautilus")
480 ;; FIXME: Tests fail with:
481 ;; ImportError: No module named gi.repository
482 ;; Where should that module come from?
485 (modify-phases %standard-phases
486 (add-before 'install 'skip-gtk-update-icon-cache
487 ;; Don't create 'icon-theme.cache'.
489 (substitute* "data/Makefile"
490 (("gtk-update-icon-cache") "true"))
493 `(("libspectre" ,libspectre)
494 ("djvulibre" ,djvulibre)
495 ("ghostscript" ,ghostscript)
499 ;; Add libgxps for XPS support.
500 ;; Build libkpathsea as a shared library for DVI support.
501 ;; ("libkpathsea" ,texlive-bin)
502 ("gnome-desktop" ,gnome-desktop)
503 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
504 ("libgnome-keyring" ,libgnome-keyring)
505 ("adwaita-icon-theme" ,adwaita-icon-theme)
506 ("gdk-pixbuf" ,gdk-pixbuf)
514 ("shared-mime-info" ,shared-mime-info)
516 ("libcanberra" ,libcanberra)
517 ("libsecret" ,libsecret)
519 ("dogtail" ,python2-dogtail)))
521 `(("itstool" ,itstool)
522 ("intltool" ,intltool)
524 ("pkg-config" ,pkg-config)
525 ("xmllint" ,libxml2)))
527 "http://www.gnome.org/projects/evince/")
528 (synopsis "GNOME's document viewer")
530 "Evince is a document viewer for multiple document formats. It
531 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
532 of Evince is to replace the multiple document viewers that exist
533 on the GNOME Desktop with a single simple application.")
534 (license license:gpl2+)))
536 (define-public gsettings-desktop-schemas
538 (name "gsettings-desktop-schemas")
543 (uri (string-append "mirror://gnome/sources/" name "/"
544 (version-major+minor version) "/"
545 name "-" version ".tar.xz"))
548 "1qgalzqwg0fl0n22vslqcsnsmj9kc54qj25ib16rxaf36jxcf1hg"))))
549 (build-system gnu-build-system)
553 `(("intltool" ,intltool)
554 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
555 ("gobject-introspection" ,gobject-introspection)
556 ("pkg-config" ,pkg-config)))
557 (home-page "https://launchpad.net/gsettings-desktop-schemas")
559 "GNOME settings for various desktop components")
561 "Gsettings-desktop-schemas contains a collection of GSettings schemas
562 for settings shared by various components of the GNOME desktop.")
563 (license license:lgpl2.1+)))
565 (define-public icon-naming-utils
567 (name "icon-naming-utils")
572 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
576 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
577 (build-system gnu-build-system)
580 ("perl-xml-simple" ,perl-xml-simple)))
584 'install 'set-load-paths
585 ;; Tell 'icon-name-mapping' where XML::Simple is.
586 (lambda* (#:key outputs #:allow-other-keys)
587 (let* ((out (assoc-ref outputs "out"))
588 (prog (string-append out "/libexec/icon-name-mapping")))
591 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
593 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
595 "Utility to implement the Freedesktop Icon Naming Specification")
597 "To help with the transition to the Freedesktop Icon Naming
598 Specification, the icon naming utility maps the icon names used by the
599 GNOME and KDE desktops to the icon names proposed in the specification.")
600 (license license:lgpl2.1+)))
602 (define-public desktop-file-utils
604 (name "desktop-file-utils")
608 (uri (string-append "https://www.freedesktop.org/software/" name
609 "/releases/" name "-" version ".tar.xz"))
612 "119kj2w0rrxkhg4f9cf5waa55jz1hj8933vh47vcjipcplql02bc"))))
613 (build-system gnu-build-system)
615 `(("pkg-config" ,pkg-config)))
618 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
619 (synopsis "Utilities for working with desktop entries")
621 "This package contains a few command line utilities for working with
624 desktop-file-validate: validates a desktop file and prints warnings/errors
625 about desktop entry specification violations.
627 desktop-file-install: installs a desktop file to the applications directory,
628 optionally munging it a bit in transit.
630 update-desktop-database: updates the database containing a cache of MIME types
631 handled by desktop files.")
632 (license license:gpl2+)))
634 (define-public gnome-icon-theme
636 (name "gnome-icon-theme")
641 (uri (string-append "mirror://gnome/sources/" name "/"
642 (version-major+minor version) "/"
643 name "-" version ".tar.xz"))
646 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
647 (build-system gnu-build-system)
650 ;; Don't create 'icon-theme.cache'.
651 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
652 (true (string-append coreutils "/bin/true")))
653 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
655 `(("icon-naming-utils" ,icon-naming-utils)
656 ("intltool" ,intltool)
657 ("pkg-config" ,pkg-config)))
658 (home-page "http://art.gnome.org/")
662 "Icons for the GNOME desktop.")
663 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
665 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
666 (define-public adwaita-icon-theme
667 (package (inherit gnome-icon-theme)
668 (name "adwaita-icon-theme")
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
677 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))
679 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
681 (define-public shared-mime-info
683 (name "shared-mime-info")
687 (uri (string-append "https://freedesktop.org/~hadess/"
688 "shared-mime-info-" version ".tar.xz"))
691 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
692 (build-system gnu-build-system)
694 ;; The build system appears not to be parallel-safe.
695 '(#:parallel-build? #f))
698 ("libxml2" ,libxml2)))
700 `(("intltool" ,intltool)
701 ("pkg-config" ,pkg-config)))
702 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
703 (synopsis "Database of common MIME types")
705 "The shared-mime-info package contains the core database of common types
706 and the update-mime-database command used to extend it. It requires glib2 to
707 be installed for building the update command. Additionally, it uses intltool
708 for translations, though this is only a dependency for the maintainers. This
709 database is translated at Transifex.")
710 (license license:gpl2+)))
712 (define-public hicolor-icon-theme
714 (name "hicolor-icon-theme")
719 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
720 "hicolor-icon-theme-" version ".tar.gz"))
723 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
724 (build-system gnu-build-system)
726 `(#:tests? #f)) ; no check target
727 (home-page "http://icon-theme.freedesktop.org/releases/")
729 "Freedesktop icon theme")
731 "Freedesktop icon theme.")
732 (license license:gpl2)))
734 (define-public libnotify
741 (uri (string-append "mirror://gnome/sources/" name "/"
742 (version-major+minor version) "/"
743 name "-" version ".tar.xz"))
746 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
747 (build-system gnu-build-system)
749 `(("gdk-pixbuf" ,gdk-pixbuf)
754 `(("pkg-config" ,pkg-config)
756 ("gobject-introspection" ,gobject-introspection)))
757 (home-page "https://developer-next.gnome.org/libnotify/")
759 "GNOME desktop notification library")
761 "Libnotify is a library that sends desktop notifications to a
762 notification daemon, as defined in the Desktop Notifications spec. These
763 notifications can be used to inform the user about an event or display
764 some form of information without getting in the user's way.")
765 (license license:lgpl2.1+)))
767 (define-public libpeas
774 (uri (string-append "mirror://gnome/sources/" name "/"
775 (version-major+minor version) "/"
776 name "-" version ".tar.xz"))
779 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
780 (build-system gnu-build-system)
784 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
786 ("python-pygobject" ,python-pygobject)))
788 `(("pkg-config" ,pkg-config)
789 ("glib:bin" ,glib "bin")
790 ("gobject-introspection" ,gobject-introspection)
791 ("intltool" ,intltool)))
792 (home-page "https://wiki.gnome.org/Libpeas")
793 (synopsis "GObject plugin system")
795 "Libpeas is a gobject-based plugins engine, and is targetted at giving
796 every application the chance to assume its own extensibility. It also has a
797 set of features including, but not limited to: multiple extension points; on
798 demand (lazy) programming language support for C, Python and JS; simplicity of
800 (license license:lgpl2.0+)))
802 (define-public gtkglext
808 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
809 version "/gtkglext-" version ".tar.gz"))
811 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
812 (patches (search-patches
813 "gtkglext-disable-disable-deprecated.patch"))))
814 (build-system gnu-build-system)
815 (inputs `(("gtk+" ,gtk+-2)
820 (native-inputs `(("pkg-config" ,pkg-config)
821 ("glib" ,glib "bin")))
822 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
823 (home-page "https://projects.gnome.org/gtkglext")
824 (synopsis "OpenGL extension to GTK+")
825 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
826 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
827 API add-ons to make GTK+ widgets OpenGL-capable.")
828 (license license:lgpl2.1+)))
830 (define-public glade3
836 (uri (string-append "mirror://gnome/sources/" name "/"
837 (version-major+minor version) "/"
838 name "-" version ".tar.xz"))
841 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
842 (build-system glib-or-gtk-build-system)
844 `(#:tests? #f ; needs X, GL, and software rendering
846 (modify-phases %standard-phases
847 (add-before 'configure 'fix-docbook
848 (lambda* (#:key inputs #:allow-other-keys)
849 (substitute* "man/Makefile.in"
850 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
851 (string-append (assoc-ref inputs "docbook-xsl")
852 "/xml/xsl/docbook-xsl-"
853 ,(package-version docbook-xsl)
854 "/manpages/docbook.xsl")))
858 ("libxml2" ,libxml2)))
860 `(("intltool" ,intltool)
862 ("libxslt" ,libxslt) ;for xsltproc
863 ("docbook-xml" ,docbook-xml-4.2)
864 ("docbook-xsl" ,docbook-xsl)
866 ("pkg-config" ,pkg-config)))
867 (home-page "https://glade.gnome.org")
868 (synopsis "GTK+ rapid application development tool")
869 (description "Glade is a rapid application development (RAD) tool to
870 enable quick & easy development of user interfaces for the GTK+ toolkit and
871 the GNOME desktop environment.")
872 (license license:lgpl2.0+)))
874 (define-public libcroco
880 (uri (string-append "mirror://gnome/sources/" name "/"
881 (version-major+minor version) "/"
882 name "-" version ".tar.xz"))
885 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
886 (build-system gnu-build-system)
888 `(("pkg-config" ,pkg-config)))
893 (home-page "https://github.com/GNOME/libcroco")
894 (synopsis "CSS2 parsing and manipulation library")
896 "Libcroco is a standalone CSS2 parsing and manipulation library.
897 The parser provides a low level event driven SAC-like API and a CSS object
898 model like API. Libcroco provides a CSS2 selection engine and an experimental
899 XML/CSS rendering engine.")
902 (license license:lgpl2.1)))
904 (define-public libgsf
910 (uri (string-append "mirror://gnome/sources/" name "/"
911 (version-major+minor version) "/"
912 name "-" version ".tar.xz"))
915 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
916 (build-system gnu-build-system)
918 `(("intltool" ,intltool)
919 ("pkg-config" ,pkg-config)))
925 `(("gdk-pixbuf" ,gdk-pixbuf)
927 ("libxml2" ,libxml2)))
928 (home-page "http://www.gnome.org/projects/libgsf")
929 (synopsis "GNOME's Structured File Library")
931 "Libgsf aims to provide an efficient extensible I/O abstraction for
932 dealing with different structured file formats.")
935 (license license:lgpl2.1)))
937 (define-public librsvg
943 (uri (string-append "mirror://gnome/sources/" name "/"
944 (version-major+minor version) "/"
945 name "-" version ".tar.xz"))
948 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
949 (build-system gnu-build-system)
953 'configure 'pre-configure
954 (lambda* (#:key inputs #:allow-other-keys)
955 (substitute* "gdk-pixbuf-loader/Makefile.in"
956 ;; By default the gdk-pixbuf loader is installed under
957 ;; gdk-pixbuf's prefix. Work around that.
958 (("gdk_pixbuf_moduledir = .*$")
959 (string-append "gdk_pixbuf_moduledir = "
960 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
962 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
963 (("gdk_pixbuf_cache_file = .*$")
964 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
967 `(("pkg-config" ,pkg-config)
968 ("glib" ,glib "bin") ; glib-mkenums, etc.
969 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
972 ("libcroco" ,libcroco)
975 ("libxml2" ,libxml2)))
977 ;; librsvg-2.0.pc refers to all of that.
979 ("gdk-pixbuf" ,gdk-pixbuf)
981 (home-page "https://wiki.gnome.org/LibRsvg")
982 (synopsis "Render SVG files using Cairo")
984 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
986 (license license:lgpl2.0+)))
988 (define-public libidl
994 (uri (let ((upstream-name "libIDL"))
995 (string-append "mirror://gnome/sources/" upstream-name "/"
996 (version-major+minor version) "/"
997 upstream-name "-" version ".tar.bz2")))
1000 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1001 (build-system gnu-build-system)
1002 (inputs `(("glib" ,glib)))
1004 `(("pkg-config" ,pkg-config)
1007 (home-page "http://freecode.com/projects/libidl")
1008 (synopsis "Create trees of CORBA Interface Definition Language files")
1009 (description "Libidl is a library for creating trees of CORBA Interface
1010 Definition Language (idl) files, which is a specification for defining
1011 portable interfaces. libidl was initially written for orbit (the orb from the
1012 GNOME project, and the primary means of libidl distribution). However, the
1013 functionality was designed to be as reusable and portable as possible.")
1014 (license license:lgpl2.0+)))
1017 (define-public orbit2
1023 (uri (let ((upstream-name "ORBit2"))
1024 (string-append "mirror://gnome/sources/" upstream-name "/"
1025 (version-major+minor version) "/"
1026 upstream-name "-" version ".tar.bz2")))
1029 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1030 (build-system gnu-build-system)
1033 ;; The programmer kindly gives us a hook to turn off deprecation
1035 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1036 ;; ... which they then completly ignore !!
1039 'configure 'ignore-deprecations
1041 (substitute* "linc2/src/Makefile.in"
1042 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1044 (inputs `(("glib" ,glib)
1045 ("libidl" ,libidl)))
1047 `(("pkg-config" ,pkg-config)))
1048 (home-page "https://projects.gnome.org/orbit2/")
1049 (synopsis "CORBA 2.4-compliant Object Request Broker")
1050 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1051 featuring mature C, C++ and Python bindings.")
1052 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1053 ;; a version. SOME of the code files have licence notices for GPLv2+.
1054 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1055 (license license:gpl2+)))
1058 (define-public libbonobo
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version)
1066 "/" name "-" version ".tar.bz2"))
1068 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1069 (patches (search-patches
1070 "libbonobo-activation-test-race.patch"))))
1071 (build-system gnu-build-system)
1073 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1075 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1076 ;; ... which they then completly ignore !!
1079 'configure 'ignore-deprecations
1081 (substitute* "activation-server/Makefile.in"
1082 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1084 (inputs `(("popt" ,popt)
1085 ("libxml2" ,libxml2)))
1086 ;; The following are Required by the .pc file
1089 ("orbit2" ,orbit2)))
1091 `(("intltool" ,intltool)
1092 ("pkg-config" ,pkg-config)
1093 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1096 (home-page "https://developer.gnome.org/libbonobo/")
1097 (synopsis "Framework for creating reusable components for use in GNOME applications")
1098 (description "Bonobo is a framework for creating reusable components for
1099 use in GNOME applications, built on top of CORBA.")
1100 ;; Licence not explicitly stated. Source files contain no licence notices.
1101 ;; Tarball contains text of both GPLv2 and LGPLv2
1102 ;; GPLv2 covers both conditions
1103 (license license:gpl2+)))
1106 (define-public gconf
1113 (let ((upstream-name "GConf"))
1114 (string-append "mirror://gnome/sources/" upstream-name "/"
1115 (version-major+minor version) "/"
1116 upstream-name "-" version ".tar.xz")))
1118 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1119 (build-system gnu-build-system)
1120 (inputs `(("dbus-glib" ,dbus-glib)
1121 ("libxml2" ,libxml2)))
1122 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1123 ("orbit2" ,orbit2)))
1125 `(("intltool" ,intltool)
1126 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1127 ("pkg-config" ,pkg-config)))
1128 (home-page "https://projects.gnome.org/gconf/")
1129 (synopsis "Store application preferences")
1130 (description "Gconf is a system for storing application preferences. It
1131 is intended for user preferences; not arbitrary data storage.")
1132 (license license:lgpl2.0+)
1133 (properties '((upstream-name . "GConf")))))
1136 (define-public gnome-mime-data
1138 (name "gnome-mime-data")
1142 (uri (string-append "mirror://gnome/sources/" name "/"
1143 (version-major+minor version) "/"
1144 name "-" version ".tar.bz2"))
1147 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1148 (build-system gnu-build-system)
1151 ("intltool" ,intltool)))
1152 (home-page "http://www.gnome.org")
1153 (synopsis "Base MIME and Application database for GNOME")
1154 (description "GNOME Mime Data is a module which contains the base MIME
1155 and Application database for GNOME. The data stored by this module is
1156 designed to be accessed through the MIME functions in GnomeVFS.")
1157 (license license:gpl2+)))
1160 (define-public gnome-vfs
1166 (uri (string-append "mirror://gnome/sources/" name "/"
1167 (version-major+minor version) "/"
1168 name "-" version ".tar.bz2"))
1171 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1172 (build-system gnu-build-system)
1176 'configure 'ignore-deprecations
1178 (substitute* '("libgnomevfs/Makefile.in"
1179 "daemon/Makefile.in")
1180 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1183 'configure 'patch-test-async-cancel-to-never-fail
1185 (substitute* "test/test-async-cancel.c"
1186 (("EXIT_FAILURE") "77")))
1187 %standard-phases))))
1188 (inputs `(("libxml2" ,libxml2)
1189 ("dbus-glib" ,dbus-glib)
1191 ("gnome-mime-data" ,gnome-mime-data)
1194 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1195 ("intltool" ,intltool)
1196 ("pkg-config" ,pkg-config)))
1197 (home-page "https://developer.gnome.org/gnome-vfs/")
1198 (synopsis "Access files and folders in GNOME applications")
1200 "GnomeVFS is the core library used to access files and folders in GNOME
1201 applications. It provides a file system abstraction which allows applications
1202 to access local and remote files with a single consistent API.")
1203 (license license:lgpl2.0+)))
1207 (define-public libgnome
1213 (uri (string-append "mirror://gnome/sources/" name "/"
1214 (version-major+minor version) "/"
1215 name "-" version ".tar.bz2"))
1218 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1219 (build-system gnu-build-system)
1223 'configure 'enable-deprecated
1225 (substitute* "libgnome/Makefile.in"
1226 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1228 (inputs `(("libxml2" ,libxml2)))
1230 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1231 ("intltool" ,intltool)
1232 ("pkg-config" ,pkg-config)))
1233 ;; The following are listed as Required in the .pc file
1234 ;; (except for libcanberra -- which seems to be oversight on the part
1235 ;; of the upstream developers -- anything that links against libgnome,
1236 ;; must also link against libcanberra
1238 `(("libcanberra" ,libcanberra)
1239 ("libbonobo" ,libbonobo)
1241 ("gnome-vfs" ,gnome-vfs)
1242 ("popt" ,popt))) ;gnome-program.h includes popt.h
1243 (home-page "https://developer.gnome.org/libgnome/")
1244 (synopsis "Useful routines for building applications")
1245 (description "The libgnome library provides a number of useful routines
1246 for building modern applications, including session management, activation of
1247 files and URIs, and displaying help.")
1248 (license license:lgpl2.0+)))
1251 (define-public libart-lgpl
1253 (name "libart-lgpl")
1257 (uri (let ((upstream-name "libart_lgpl"))
1258 (string-append "mirror://gnome/sources/" upstream-name "/"
1259 (version-major+minor version) "/"
1260 upstream-name "-" version ".tar.bz2")))
1263 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1264 (build-system gnu-build-system)
1266 `(("pkg-config" ,pkg-config)))
1267 (home-page "https://people.gnome.org/~mathieu/libart")
1268 (synopsis "2D drawing library")
1269 (description "Libart is a 2D drawing library intended as a
1270 high-quality vector-based 2D library with antialiasing and alpha composition.")
1271 (license license:lgpl2.0+)))
1275 (define-public libgnomecanvas
1277 (name "libgnomecanvas")
1281 (uri (string-append "mirror://gnome/sources/" name "/"
1282 (version-major+minor version) "/"
1283 name "-" version ".tar.gz"))
1286 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1287 (build-system gnu-build-system)
1288 ;; Mentioned as Required in the .pc file
1289 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1292 `(("intltool" ,intltool)
1293 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1294 ("pkg-config" ,pkg-config)))
1295 (home-page "https://developer.gnome.org/libgnomecanvas/")
1296 (synopsis "Flexible widget for creating interactive structured graphics")
1297 (description "The GnomeCanvas widget provides a flexible widget for
1298 creating interactive structured graphics.")
1299 (license license:lgpl2.0+)))
1301 (define-public libgnomecanvasmm
1303 (name "libgnomecanvasmm")
1307 (uri (string-append "mirror://gnome/sources/" name "/"
1308 (version-major+minor version) "/"
1309 name "-" version ".tar.bz2"))
1312 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1313 (build-system gnu-build-system)
1315 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1316 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1318 `(("gtkmm-2" ,gtkmm-2)
1319 ("pkg-config" ,pkg-config)))
1320 (home-page "http://gtkmm.org")
1321 (synopsis "C++ bindings to the GNOME Canvas library")
1322 (description "C++ bindings to the GNOME Canvas library.")
1323 (license license:lgpl2.0+)))
1325 (define-public libgnomeui
1331 (uri (string-append "mirror://gnome/sources/" name "/"
1332 (version-major+minor version) "/"
1333 name "-" version ".tar.bz2"))
1336 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1337 (build-system gnu-build-system)
1338 ;; Mentioned as Required in the .pc file
1339 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1340 ("libgnome" ,libgnome)
1341 ("libgnomecanvas" ,libgnomecanvas)
1342 ("libgnome-keyring" ,libgnome-keyring)))
1343 (inputs `(("libjpeg" ,libjpeg)
1345 ("libbonobo" ,libbonobo)
1346 ("libxml2" ,libxml2)
1347 ("libglade" ,libglade)))
1349 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1350 ("intltool" ,intltool)
1351 ("pkg-config" ,pkg-config)))
1352 (home-page "https://developer.gnome.org/libgnomeui/")
1353 (synopsis "Additional widgets for applications")
1354 (description "The libgnomeui library provides additional widgets for
1355 applications. Many of the widgets from libgnomeui have already been
1357 (license license:lgpl2.0+)))
1359 (define-public libglade
1365 (uri (string-append "mirror://gnome/sources/" name "/"
1366 (version-major+minor version) "/"
1367 name "-" version ".tar.bz2"))
1370 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1371 (build-system gnu-build-system)
1373 `(("python" ,python))) ;; needed for the optional libglade-convert program
1375 `(("gtk+-2" ,gtk+-2)
1376 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1378 `(("pkg-config" ,pkg-config)))
1379 (home-page "https://developer.gnome.org/libglade")
1380 (synopsis "Load glade interfaces and access the glade built widgets")
1381 (description "Libglade is a library that provides interfaces for loading
1382 graphical interfaces described in glade files and for accessing the
1383 widgets built in the loading process.")
1384 (license license:gpl2+))) ; This is correct. GPL not LGPL
1386 (define-public libgnomeprint
1387 ;; This library has been deprecated since 2006; see
1388 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1390 (name "libgnomeprint")
1394 (uri (string-append "mirror://gnome/sources/" name "/"
1395 (version-major+minor version) "/"
1396 name "-" version ".tar.bz2"))
1399 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1400 (build-system gnu-build-system)
1403 ("libart-lgpl" ,libart-lgpl)
1405 ("libxml2" ,libxml2)))
1407 `(("intltool" ,intltool)
1408 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1409 ("pkg-config" ,pkg-config)))
1410 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1411 (synopsis "Printing framework for GNOME")
1413 "GNOME-print was a printing framework for GNOME. It has been deprecated
1414 since ca. 2006, when GTK+ itself incorporated printing support.")
1415 (license license:lgpl2.0+)))
1418 (define-public libgnomeprintui
1419 ;; Deprecated; see libgnomeprint.
1421 (name "libgnomeprintui")
1425 (uri (string-append "mirror://gnome/sources/" name "/"
1426 (version-major+minor version) "/"
1427 name "-" version ".tar.bz2"))
1430 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1431 (build-system gnu-build-system)
1432 ;; Mentioned as Required in the .pc file
1433 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1434 (inputs `(("gtk+" ,gtk+-2)
1436 ("gnome-icon-theme" ,gnome-icon-theme)
1437 ("libgnomecanvas" ,libgnomecanvas)
1438 ("libxml2" ,libxml2)))
1440 `(("intltool" ,intltool)
1441 ("pkg-config" ,pkg-config)))
1442 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1443 (synopsis "Printing framework for GNOME")
1444 (description (package-description libgnomeprint))
1445 (license license:lgpl2.0+)))
1447 (define-public libbonoboui
1449 (name "libbonoboui")
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.bz2"))
1458 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1459 (build-system gnu-build-system)
1463 'check 'start-xserver
1464 (lambda* (#:key inputs #:allow-other-keys)
1465 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1468 (setenv "HOME" (getcwd))
1469 (setenv "DISPLAY" disp)
1470 ;; There must be a running X server and make check doesn't start one.
1471 ;; Therefore we must do it.
1472 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1474 ;; Mentioned as Required by the .pc file
1475 (propagated-inputs `(("libxml2" ,libxml2)))
1478 ("pangox-compat" ,pangox-compat)
1479 ("libgnome" ,libgnome)
1480 ("libgnomecanvas" ,libgnomecanvas)
1481 ("libglade" ,libglade)))
1483 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1484 ("intltool" ,intltool)
1485 ("xorg-server" ,xorg-server) ; For running the tests
1486 ("pkg-config" ,pkg-config)))
1487 (home-page "https://developer.gnome.org/libbonoboui/")
1488 (synopsis "Some user interface controls using Bonobo")
1489 (description "The Bonobo UI library provides a number of user interface
1490 controls using the Bonobo component framework.")
1491 (license license:lgpl2.0+)))
1493 (define-public libwnck
1499 (uri (string-append "mirror://gnome/sources/" name "/"
1500 (version-major+minor version) "/"
1501 name "-" version ".tar.xz"))
1503 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1504 (build-system gnu-build-system)
1506 `(("pkg-config" ,pkg-config)
1507 ("intltool" ,intltool)))
1510 ("libxres" ,libxres)
1511 ("startup-notification" ,startup-notification)))
1512 (home-page "https://developer.gnome.org/libwnck/")
1513 (synopsis "Window Navigator Construction Kit")
1515 "Libwnck is the Window Navigator Construction Kit, a library for use in
1516 writing pagers, tasklists, and more generally applications that are dealing
1517 with window management. It tries hard to respect the Extended Window Manager
1518 Hints specification (EWMH).")
1519 (license license:lgpl2.0+)))
1521 ;; stable version for gtk2, required by xfwm4.
1522 (define-public libwnck-2
1523 (package (inherit libwnck)
1528 (uri (string-append "mirror://gnome/sources/" name "/"
1529 (version-major+minor version) "/"
1530 name "-" version ".tar.xz"))
1533 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1536 ("libxres" ,libxres)
1537 ("startup-notification" ,startup-notification)))))
1539 (define-public goffice
1545 (uri (string-append "mirror://gnome/sources/" name "/"
1546 (version-major+minor version) "/"
1547 name "-" version ".tar.xz"))
1549 (base32 "1hvs5558x98yzm43dc3f93v596x45lfmv1vkp4jjgfagynlpvcq2"))))
1550 (build-system gnu-build-system)
1552 "doc")) ;4.1 MiB of gtk-doc
1554 '(#:configure-flags (list (string-append "--with-html-dir="
1555 (assoc-ref %outputs "doc")
1556 "/share/gtk-doc/html"))))
1560 ("librsvg" ,librsvg)
1561 ("libxslt" ,libxslt)
1562 ("libxml2" ,libxml2)))
1564 `(("intltool" ,intltool)
1565 ("glib" ,glib "bin")
1566 ("pkg-config" ,pkg-config)))
1567 (home-page "https://developer.gnome.org/goffice/")
1568 (synopsis "Document-centric objects and utilities")
1569 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1571 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1573 (list license:gpl2 license:gpl3))))
1575 (define-public goffice-0.8
1576 (package (inherit goffice)
1580 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1581 (version-major+minor version) "/"
1582 (package-name goffice) "-" version ".tar.xz"))
1584 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1588 'unpack 'fix-pcre-check
1590 ;; Only glib.h can be included directly. See
1591 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1592 (substitute* "configure"
1593 (("glib/gregex\\.h") "glib.h")) #t)
1596 ,@(package-arguments goffice)))
1598 ;; libgoffice-0.8.pc mentions libgsf-1
1599 `(("libgsf" ,libgsf)))
1602 ,@(alist-delete "gtk" (package-inputs goffice))))))
1604 (define-public gnumeric
1610 (uri (string-append "mirror://gnome/sources/" name "/"
1611 (version-major+minor version) "/"
1612 name "-" version ".tar.xz"))
1615 "1s3dxvdwzmppsp2dfg90rccilf4hknhwjdy7lazr9sys58zchyx0"))))
1616 (build-system glib-or-gtk-build-system)
1618 `(;; The gnumeric developers don't worry much about failing tests.
1619 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1622 (modify-phases %standard-phases
1624 'configure 'pre-conf
1625 (lambda* (#:key outputs #:allow-other-keys)
1626 ;; Make install tries to write into the directory of goffice
1627 ;; I am informed that this only affects the possibility to embed a
1628 ;; spreadsheet inside an Abiword document. So presumably when we
1629 ;; package Abiword we'll have to refer it to this directory.
1630 (substitute* "configure"
1631 (("^GOFFICE_PLUGINS_DIR=.*")
1632 (string-append "GOFFICE_PLUGINS_DIR="
1633 (assoc-ref outputs "out")
1634 "/goffice/plugins"))))))))
1638 ("goffice" ,goffice)
1640 ("librsvg" ,librsvg)
1641 ("libxml2" ,libxml2)
1642 ("libxslt" ,libxslt)
1643 ("python" ,python-2)
1644 ("python2-pygobject" ,python2-pygobject)
1648 ("intltool" ,intltool)
1649 ("glib:bin" ,glib "bin")
1650 ("pkg-config" ,pkg-config)))
1651 (home-page "http://www.gnumeric.org")
1652 (synopsis "Spreadsheet application")
1654 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1655 interoperable with other spreadsheet applications. It has a vast array of
1656 features beyond typical spreadsheet functionality, such as support for linear
1657 and non-linear solvers, statistical analysis, and telecommunication
1660 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1661 (list license:gpl2 license:gpl3))))
1663 (define-public gnome-themes-standard
1665 (name "gnome-themes-standard")
1670 (uri (string-append "mirror://gnome/sources/" name "/"
1671 (version-major+minor version) "/" name "-"
1675 "05br99z67f82i18nljpxnwssfnaqp7mph61w3hq0i44z5i5rq3cx"))))
1676 (build-system gnu-build-system)
1679 ;; Don't create 'icon-theme.cache'.
1680 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1681 (true (string-append coreutils "/bin/true")))
1682 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1686 ("librsvg" ,librsvg)
1687 ("libxml2" ,libxml2)
1690 `(("intltool" ,intltool)
1691 ("glib:bin" ,glib "bin")
1692 ("pkg-config" ,pkg-config)))
1693 (home-page "https://launchpad.net/gnome-themes-standard")
1694 (synopsis "Default GNOME 3 themes")
1696 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1697 (license license:lgpl2.1+)))
1699 (define-public seahorse
1706 (uri (string-append "mirror://gnome/sources/" name "/"
1707 (version-major+minor version) "/" name "-"
1711 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1712 (build-system glib-or-gtk-build-system)
1718 ("openldap" ,openldap)
1719 ("openssh" ,openssh)
1720 ("libsecret" ,libsecret)
1721 ("libsoup" ,libsoup)))
1723 `(("intltool" ,intltool)
1724 ("glib:bin" ,glib "bin")
1725 ("itstool" ,itstool)
1726 ("pkg-config" ,pkg-config)
1727 ("xmllint" ,libxml2)))
1728 (home-page "https://launchpad.net/gnome-themes-standard")
1729 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1731 "Seahorse is a GNOME application for managing encryption keys and
1732 passwords in the GNOME keyring.")
1733 (license license:gpl2+)))
1741 (uri (string-append "mirror://gnome/sources/" name "/"
1742 (version-major+minor version) "/"
1743 name "-" version ".tar.xz"))
1746 "10vbd74jazc3vhfagzx8v197bshrg61hnjzna6y3wmhljhrvs5vb"))))
1747 (build-system gnu-build-system)
1750 (modify-phases %standard-phases
1751 (add-before 'check 'pre-check
1754 ;; For missing '/etc/machine-id'.
1755 (setenv "DBUS_FATAL_WARNINGS" "0")
1757 ;; Build the Vala API generator
1758 #:configure-flags '("--enable-vapigen")))
1760 `(("pkg-config" ,pkg-config)
1763 ("xsltproc" ,libxslt)
1764 ("dbus" ,dbus) ; for dbus tests
1765 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1767 `(("glib" ,glib))) ; required by libvala-0.26.pc
1768 (home-page "http://live.gnome.org/Vala/")
1769 (synopsis "Compiler for the GObject type system")
1771 "Vala is a programming language that aims to bring modern programming
1772 language features to GNOME developers without imposing any additional runtime
1773 requirements and without using a different ABI compared to applications and
1774 libraries written in C.")
1775 (license license:lgpl2.1+)))
1783 (uri (string-append "mirror://gnome/sources/" name "/"
1784 (version-major+minor version) "/"
1785 name "-" version ".tar.xz"))
1788 "0j899ccrkzh7208w29c835m1yms0cas5cxkck8x6l4xv2i45ksm1"))))
1789 (build-system gnu-build-system)
1791 ;; XXX: fails to compile tests with the default flags.
1792 ;; vteconv.cc:774:40:
1793 ;; error: missing sentinel in function call [-Werror=format=]
1794 ;; g_test_init (&argc, &argv, NULL);
1796 ;; cc1plus: some warnings being treated as errors
1797 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1799 `(("pkg-config" ,pkg-config)
1800 ("intltool" ,intltool)
1802 ("gobject-introspection" ,gobject-introspection)
1803 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1804 ("xmllint" ,libxml2)))
1806 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1807 ("gnutls" ,gnutls))) ;ditto
1808 (home-page "http://www.gnome.org/")
1809 (synopsis "Virtual Terminal Emulator")
1811 "VTE is a library (libvte) implementing a terminal emulator widget for
1812 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1813 gnome-terminal, but can also be used to embed a console/terminal in games,
1814 editors, IDEs, etc.")
1815 (license license:lgpl2.1+)))
1817 (define-public vte-ng
1821 (version "0.44.1.b")
1823 `(("gtk-doc" ,gtk-doc)
1825 ("autoconf" ,autoconf)
1826 ("automake" ,automake)
1827 ("libtool" ,libtool)
1828 ,@(package-native-inputs vte)))
1831 (uri (string-append "https://github.com/thestinger/"
1832 name "/archive/" version ".tar.gz"))
1833 (file-name (string-append name "-" version ".tar.gz"))
1836 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1838 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1839 #:phases (modify-phases %standard-phases
1840 (add-after 'unpack 'bootstrap
1842 (setenv "NOCONFIGURE" "true")
1843 (zero? (system* "sh" "autogen.sh")))))))
1844 (synopsis "Enhanced VTE terminal widget")
1846 "VTE is a library (libvte) implementing a terminal emulator widget for
1847 GTK+, this fork provides additional functions exposed for keyboard text
1848 selection and URL hints.")))
1850 ;; provides vte 2.90, required for some terminal emulators
1851 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1852 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1853 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1854 ;; pantheon-terminal, roxterm are not currently packaged
1855 (define-public vte-0.36
1856 (package (inherit vte)
1861 (uri (string-append "mirror://gnome/sources/" name "/"
1862 (version-major+minor version) "/"
1863 name "-" version ".tar.xz"))
1866 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1869 ("ncurses" ,ncurses)))))
1871 ;; stable version for gtk2, required by xfce4-terminal.
1872 (define-public vte/gtk+-2
1873 (package (inherit vte)
1878 (uri (string-append "mirror://gnome/sources/" name "/"
1879 (version-major+minor version) "/"
1880 name "-" version ".tar.xz"))
1883 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1884 (patches (search-patches
1885 "vte-CVE-2012-2738-pt1.patch"
1886 "vte-CVE-2012-2738-pt2.patch"))))
1888 '(#:configure-flags '("--disable-python")))
1890 `(("pkg-config" ,pkg-config)
1891 ("intltool" ,intltool)
1892 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1894 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1895 ("ncurses" ,ncurses))))) ; required by libvte.la
1897 (define-public dconf
1904 "mirror://gnome/sources/" name "/"
1905 (version-major+minor version) "/"
1906 name "-" version ".tar.xz"))
1909 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1910 (build-system glib-or-gtk-build-system)
1915 ("libxml2" ,libxml2)))
1917 `(("libxslt" ,libxslt)
1918 ("docbook-xml" ,docbook-xml-4.2)
1919 ("docbook-xsl" ,docbook-xsl)
1920 ("intltool" ,intltool)
1921 ("pkg-config" ,pkg-config)))
1923 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1924 ; or /etc/machine-id.
1926 ;; Set the correct RUNPATH in binaries.
1927 (list (string-append "LDFLAGS=-Wl,-rpath="
1928 (assoc-ref %outputs "out") "/lib")
1929 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1932 'configure 'fix-docbook
1933 (lambda* (#:key inputs #:allow-other-keys)
1934 (substitute* "docs/Makefile.in"
1935 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1936 (string-append (assoc-ref inputs "docbook-xsl")
1937 "/xml/xsl/docbook-xsl-"
1938 ,(package-version docbook-xsl)
1939 "/manpages/docbook.xsl")))
1940 (setenv "XML_CATALOG_FILES"
1941 (string-append (assoc-ref inputs "docbook-xml")
1942 "/xml/dtd/docbook/catalog.xml")))
1944 (home-page "https://developer.gnome.org/dconf")
1945 (synopsis "Low-level GNOME configuration system")
1946 (description "Dconf is a low-level configuration system. Its main purpose
1947 is to provide a backend to GSettings on platforms that don't already have
1948 configuration storage systems.")
1949 (license license:lgpl2.1)))
1951 (define-public json-glib
1957 (uri (string-append "mirror://gnome/sources/" name "/"
1958 (version-major+minor version) "/"
1959 name "-" version ".tar.xz"))
1962 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
1963 (modules '((guix build utils)))
1965 ;; Don't duplicate test names.
1966 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1967 '(substitute* "json-glib/tests/builder.c"
1968 (("\"/builder/complex\", test_builder_empty")
1969 "\"/builder/empty\", test_builder_empty")))))
1970 (build-system gnu-build-system)
1972 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1973 ("gobject-introspection" ,gobject-introspection)
1974 ("pkg-config" ,pkg-config)))
1976 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1977 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1978 (synopsis "Compiler for the GObject type system")
1980 "JSON-GLib is a C library based on GLib providing serialization and
1981 deserialization support for the JavaScript Object Notation (JSON) format
1982 described by RFC 4627. It provides parser and generator GObject classes and
1983 various wrappers for the complex data types employed by JSON, such as arrays
1985 (license license:lgpl2.1+)))
1987 (define-public libxklavier
1989 (name "libxklavier")
1993 (uri (string-append "mirror://gnome/sources/" name "/"
1994 version "/" name "-" version ".tar.xz"))
1997 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1998 (build-system gnu-build-system)
2001 (list (string-append "--with-xkb-base="
2002 (assoc-ref %build-inputs "xkeyboard-config")
2003 "/share/X11/xkb"))))
2005 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2006 ("gobject-introspection" ,gobject-introspection)
2007 ("pkg-config" ,pkg-config)))
2009 ;; Required by libxklavier.pc.
2011 ("libxml2" ,libxml2)))
2013 `(("iso-codes" ,iso-codes)
2015 ("libxkbfile" ,libxkbfile)
2016 ("xkbcomp" ,xkbcomp)
2017 ("xkeyboard-config" ,xkeyboard-config)))
2018 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2019 (synopsis "High-level API for X Keyboard Extension")
2021 "LibXklavier is a library providing high-level API for X Keyboard
2022 Extension known as XKB. This library is intended to support XFree86 and other
2023 commercial X servers. It is useful for creating XKB-related software (layout
2025 (license license:lgpl2.0+)))
2027 (define-public python2-rsvg
2028 ;; XXX: This is actually a subset of gnome-python-desktop.
2030 (name "python2-rsvg")
2036 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2037 version ".tar.bz2"))
2040 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2041 (build-system gnu-build-system)
2043 `(("pkg-config" ,pkg-config)))
2045 `(("python" ,python-2)
2046 ("python2-pygtk" ,python2-pygtk)
2047 ("librsvg" ,librsvg)))
2048 (home-page "http://www.gnome.org")
2049 (synopsis "Python bindings to librsvg")
2051 "This packages provides Python bindings to librsvg, the SVG rendering
2054 ;; This is the license of the rsvg bindings. The license of each module
2055 ;; of gnome-python-desktop is given in 'COPYING'.
2056 (license license:lgpl2.1+)))
2058 (define-public glib-networking
2060 (name "glib-networking")
2064 (uri (string-append "mirror://gnome/sources/glib-networking/"
2065 (version-major+minor version) "/"
2066 name "-" version ".tar.xz"))
2069 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2071 (search-patches "glib-networking-ssl-cert-file.patch"))))
2072 (build-system gnu-build-system)
2075 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2077 (modify-phases %standard-phases
2078 (add-before 'configure 'patch-giomoduledir
2079 ;; Install GIO modules into $out/lib/gio/modules.
2081 (substitute* "configure"
2082 (("GIO_MODULE_DIR=.*")
2083 (string-append "GIO_MODULE_DIR=" %output
2084 "/lib/gio/modules\n")))))
2085 (add-before 'check 'use-empty-ssl-cert-file
2087 ;; The ca-certificates.crt is not available in the build
2089 (setenv "SSL_CERT_FILE" "/dev/null")
2092 `(("pkg-config" ,pkg-config)
2093 ("intltool" ,intltool)))
2097 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2098 ("p11-kit" ,p11-kit)))
2099 (home-page "http://www.gnome.org")
2100 (synopsis "Network-related GIO modules")
2102 "This package contains various network related extensions for the GIO
2104 (license license:lgpl2.0+)))
2112 (uri (string-append "mirror://gnome/sources/rest/"
2113 (version-major+minor version) "/"
2114 name "-" version ".tar.xz"))
2117 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2118 (build-system gnu-build-system)
2120 '(#:tests? #f ; tests require internet connection
2122 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2124 `(("glib-mkenums" ,glib "bin")
2125 ("gobject-introspection" ,gobject-introspection)
2126 ("pkg-config" ,pkg-config)))
2128 ;; rest-0.7.pc refers to all these.
2130 ("libsoup" ,libsoup)
2131 ("libxml2" ,libxml2)))
2132 (home-page "http://www.gtk.org/")
2133 (synopsis "RESTful web api query library")
2135 "This library was designed to make it easier to access web services that
2136 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2137 libxml to ease remote use of the RESTful API.")
2138 (license license:lgpl2.1+)))
2140 (define-public libsoup
2146 (uri (string-append "mirror://gnome/sources/libsoup/"
2147 (version-major+minor version) "/"
2148 name "-" version ".tar.xz"))
2151 "1r8zz270qdg92gbsvy61d51y1cj7hp059h2f4xpvqiw2vrqnn8fq"))))
2152 (build-system gnu-build-system)
2153 (outputs '("out" "doc"))
2156 (list (string-append "--with-html-dir="
2157 (assoc-ref %outputs "doc")
2158 "/share/gtk-doc/html"))
2160 (modify-phases %standard-phases
2161 (add-before 'configure 'disable-unconnected-socket-test
2162 ;; This test fails due to missing /etc/nsswitch.conf
2163 ;; in the build environment.
2165 (substitute* "tests/socket-test.c"
2166 ((".*/sockets/unconnected.*") ""))
2168 (add-before 'check 'pre-check
2170 ;; The 'check-local' target runs 'env LANG=C sort -u',
2171 ;; unset 'LC_ALL' to make 'LANG' working.
2173 ;; The ca-certificates.crt is not available in the build
2175 (setenv "SSL_CERT_FILE" "/dev/null")
2181 ;; Install vala bindings into $out.
2182 (string-append "vapidir=" %output
2186 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2187 ("gobject-introspection" ,gobject-introspection)
2188 ("intltool" ,intltool)
2189 ("pkg-config" ,pkg-config)
2190 ("python" ,python-wrapper)
2192 ;; These are needed for the tests.
2193 ;; FIXME: Add PHP once available.
2197 ;; libsoup-2.4.pc refers to all these.
2199 ("libxml2" ,libxml2)))
2201 `(("glib-networking" ,glib-networking)
2202 ("sqlite" ,sqlite)))
2203 (home-page "https://live.gnome.org/LibSoup/")
2204 (synopsis "GLib-based HTTP Library")
2206 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2207 and the GLib main loop, to integrate well with GNOME applications.")
2208 (license license:lgpl2.0+)))
2210 (define-public libsecret
2217 "mirror://gnome/sources/libsecret/"
2218 (version-major+minor version) "/"
2219 name "-" version ".tar.xz"))
2222 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2223 (build-system gnu-build-system)
2224 (outputs '("out" "doc"))
2226 `(#:tests? #f ; FIXME: Testing hangs.
2228 (list (string-append "--with-html-dir="
2229 (assoc-ref %outputs "doc")
2230 "/share/gtk-doc/html"))))
2232 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2233 ("gobject-introspection" ,gobject-introspection)
2234 ("intltool" ,intltool)
2235 ("pkg-config" ,pkg-config)
2237 ("xsltproc" ,libxslt)))
2238 ;; These are needed for the tests.
2239 ;; FIXME: Add gjs once available.
2241 ;("python2" ,python-2)
2242 ;("python2-dbus" ,python2-dbus)
2243 ;("python2-pygobject" ,python2-pygobject)
2244 ;("python2-pygobject-2" ,python2-pygobject-2)))
2246 `(("glib" ,glib))) ; required by libsecret-1.pc
2248 `(("docbook-xsl" ,docbook-xsl)
2249 ("libgcrypt" ,libgcrypt)
2250 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2251 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2252 (synopsis "GObject bindings for \"Secret Service\" API")
2254 "Libsecret is a GObject based library for storing and retrieving passwords
2255 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2256 (license license:lgpl2.1+)))
2258 (define-public gnome-mines
2260 (name "gnome-mines")
2265 (uri (string-append "mirror://gnome/sources/" name "/"
2266 (version-major+minor version) "/"
2267 name "-" version ".tar.xz"))
2270 "0frb1r0f55giz7yqxl9920vvzqlirdivz54ygc9d85r8v63fh5aq"))))
2271 (build-system glib-or-gtk-build-system)
2274 (modify-phases %standard-phases
2275 (add-before 'configure 'patch-/bin/true
2277 (substitute* "configure"
2278 (("/bin/true") (which "true"))))))))
2280 `(("pkg-config" ,pkg-config)
2281 ("desktop-file-utils" ,desktop-file-utils)
2282 ("intltool" ,intltool)
2283 ("itstool" ,itstool)
2284 ("xmllint" ,libxml2)))
2287 ("librsvg" ,librsvg)))
2288 (home-page "https://wiki.gnome.org/Apps/Mines")
2289 (synopsis "Minesweeper game")
2291 "Mines (previously gnomine) is a puzzle game where you locate mines
2292 floating in an ocean using only your brain and a little bit of luck.")
2293 (license license:gpl2+)))
2295 (define-public gnome-sudoku
2297 (name "gnome-sudoku")
2302 (uri (string-append "mirror://gnome/sources/" name "/"
2303 (version-major+minor version) "/"
2304 name "-" version ".tar.xz"))
2307 "166bbv5k50v7pjp3wbl2rmxcmv1adwr14hxg5rw2ws8kams8151k"))))
2308 (build-system glib-or-gtk-build-system)
2310 `(("pkg-config" ,pkg-config)
2311 ("desktop-file-utils" ,desktop-file-utils)
2312 ("intltool" ,intltool)
2313 ("itstool" ,itstool)
2314 ("xmllint" ,libxml2)))
2317 ("json-glib" ,json-glib)
2319 ("librsvg" ,librsvg)
2320 ("qqwing" ,qqwing)))
2321 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2322 (synopsis "Japanese logic game")
2324 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2325 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2326 possible while still providing features that make playing difficult Sudoku
2328 (license license:gpl2+)))
2330 (define-public gnome-terminal
2332 (name "gnome-terminal")
2337 (uri (string-append "mirror://gnome/sources/" name "/"
2338 (version-major+minor version) "/"
2339 name "-" version ".tar.xz"))
2342 "08ssch8h1y85wyhddkyr7ab4v8dnsn17z4ayyc5ff78gfdh30f7m"))))
2343 (build-system glib-or-gtk-build-system)
2346 (list "--disable-migration" "--disable-search-provider"
2347 "--without-nautilus-extension")
2349 (modify-phases %standard-phases
2350 (add-before 'configure 'patch-/bin/true
2352 (substitute* "configure"
2353 (("/bin/true") (which "true"))))))))
2355 `(("pkg-config" ,pkg-config)
2356 ("desktop-file-utils" ,desktop-file-utils)
2357 ("intltool" ,intltool)
2358 ("itstool" ,itstool)
2359 ("xmllint" ,libxml2)))
2361 `(("dconf" ,dconf)))
2366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2367 ("util-linux" ,util-linux)
2369 (home-page "https://wiki.gnome.org/Apps/Terminal")
2370 (synopsis "Terminal emulator")
2372 "GNOME Terminal is a terminal emulator application for accessing a
2373 UNIX shell environment which can be used to run programs available on
2376 It supports several profiles, multiple tabs and implements several
2377 keyboard shortcuts.")
2378 (license license:gpl3+)))
2380 (define-public colord
2387 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2388 name "-" version ".tar.xz"))
2391 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2392 (build-system glib-or-gtk-build-system)
2394 '(;; The tests want to run valgrind. Punt for now.
2396 #:configure-flags (list "--localstatedir=/var"
2397 ;; GUSB not packaged yet.
2399 ;; No dep on systemd.
2400 "--disable-systemd-login"
2401 ;; Wants to install to global completion dir;
2403 "--disable-bash-completion"
2404 ;; colord-gtk not packaged yet.
2405 "--disable-session-example"
2406 "--with-daemon-user=colord"
2408 (string-append "--with-udevrulesdir="
2409 (assoc-ref %outputs "out")
2410 "/lib/udev/rules.d"))
2412 (modify-phases %standard-phases
2413 (add-before 'configure 'patch-/bin/true
2415 (substitute* "configure"
2416 (("/bin/true") (which "true")))
2417 (substitute* "src/Makefile.in"
2418 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2419 "if test -w $(DESTDIR)$(localstatedir);")))))))
2421 `(("pkg-config" ,pkg-config)
2422 ("gobject-introspection" ,gobject-introspection)
2423 ("libtool" ,libtool)
2424 ("intltool" ,intltool)))
2426 ;; colord.pc refers to all these.
2431 `(("dbus-glib" ,dbus-glib)
2432 ("libgudev" ,libgudev)
2436 ("sane-backends" ,sane-backends)))
2437 (home-page "http://www.freedesktop.org/software/colord/")
2438 (synopsis "Color management service")
2439 (description "Colord is a system service that makes it easy to manage,
2440 install and generate color profiles to accurately color manage input and
2442 (license license:gpl2+)))
2444 (define-public geoclue
2451 (uri (string-append "https://www.freedesktop.org/software/" name
2452 "/releases/" (version-major+minor version) "/"
2453 name "-" version ".tar.xz"))
2456 "0p1ibjf5vzjsahw5xif2si3lj6a00sxhll008jk7w1hj1jfznhww"))
2457 (patches (search-patches "geoclue-config.patch"))))
2458 (build-system glib-or-gtk-build-system)
2460 '(;; The tests want to run the system bus.
2462 #:configure-flags (list ;; Disable bits requiring ModemManager.
2463 "--disable-3g-source"
2464 "--disable-cdma-source"
2465 "--disable-modem-gps-source"
2466 "--with-dbus-service-user=geoclue")
2468 (modify-phases %standard-phases
2469 (add-before 'configure 'patch-/bin/true
2471 (substitute* "configure"
2472 (("/bin/true") (which "true"))))))))
2474 `(("pkg-config" ,pkg-config)
2475 ("intltool" ,intltool)))
2479 ("json-glib" ,json-glib)
2480 ("libsoup" ,libsoup)))
2481 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2482 (synopsis "Geolocation service")
2483 (description "Geoclue is a D-Bus service that provides location
2484 information. The primary goal of the Geoclue project is to make creating
2485 location-aware applications as simple as possible, while the secondary goal is
2486 to ensure that no application can access location information without explicit
2487 permission from user.")
2488 (license license:gpl2+)))
2490 (define-public geocode-glib
2492 (name "geocode-glib")
2496 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2497 (version-major+minor version) "/"
2498 name "-" version ".tar.xz"))
2501 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2502 (build-system gnu-build-system)
2504 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2505 ;; work for the builder. Punt.
2508 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2509 ("gobject-introspection" ,gobject-introspection)
2510 ("pkg-config" ,pkg-config)
2511 ("json-glib" ,json-glib)))
2513 ;; geocode-glib-1.0.pc refers to GIO.
2516 `(("libsoup" ,libsoup)))
2517 (home-page "https://github.com/GNOME/geocode-glib/")
2518 (synopsis "Geocoding and reverse-geocoding library")
2520 "geocode-glib is a convenience library for geocoding (finding longitude,
2521 and latitude from an address) and reverse geocoding (finding an address from
2522 coordinates) using the Nominatim service. geocode-glib caches requests for
2523 faster results and to avoid unnecessary server load.")
2524 (license license:lgpl2.0+)))
2526 (define-public upower
2532 (uri (string-append "https://upower.freedesktop.org/releases/"
2533 name "-" version ".tar.xz"))
2536 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2537 (patches (search-patches "upower-builddir.patch"))))
2538 (build-system glib-or-gtk-build-system)
2540 '( ;; The tests want to contact the system bus, which can't be done in the
2541 ;; build environment. The integration test can run, but the last of
2542 ;; the up-self-tests doesn't. Disable tests for now.
2544 #:configure-flags (list "--localstatedir=/var"
2545 (string-append "--with-udevrulesdir="
2546 (assoc-ref %outputs "out")
2547 "/lib/udev/rules.d"))
2549 (modify-phases %standard-phases
2550 (add-before 'configure 'patch-/bin/true
2552 (substitute* "configure"
2553 (("/bin/true") (which "true")))))
2554 (add-before 'configure 'patch-integration-test
2556 (substitute* "src/linux/integration-test"
2557 (("/usr/bin/python3") (which "python3"))))))))
2559 `(("gobject-introspection" ,gobject-introspection)
2560 ("pkg-config" ,pkg-config)
2561 ("intltool" ,intltool)
2565 ("libxslt" ,libxslt) ;for 'xsltproc'
2566 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2567 ("docbook-xsl" ,docbook-xsl)))
2569 `(("dbus-glib" ,dbus-glib)
2570 ("libgudev" ,libgudev)
2571 ("libusb" ,libusb)))
2572 (home-page "http://upower.freedesktop.org/")
2573 (synopsis "System daemon for managing power devices")
2575 "UPower is an abstraction for enumerating power devices,
2576 listening to device events and querying history and statistics. Any
2577 application or service on the system can access the org.freedesktop.UPower
2578 service via the system message bus.")
2579 (license license:gpl2+)))
2581 (define-public libgweather
2583 (name "libgweather")
2587 (uri (string-append "mirror://gnome/sources/" name "/"
2588 (version-major+minor version) "/"
2589 name "-" version ".tar.xz"))
2592 "02vcnlchcq3hxsm75x2szzkszg1yp1rg164p1b23vnzm9svcaszv"))))
2593 (build-system gnu-build-system)
2596 `(,(string-append "--with-zoneinfo-dir="
2597 (assoc-ref %build-inputs "tzdata")
2600 (modify-phases %standard-phases
2601 (add-before 'check 'pre-check
2602 (lambda* (#:key inputs #:allow-other-keys)
2603 (substitute* "data/check-timezones.sh"
2604 (("/usr/share/zoneinfo/zone.tab")
2605 (string-append (assoc-ref inputs "tzdata")
2606 "/share/zoneinfo/zone.tab")))
2608 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2609 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2610 (substitute* "data/Locations.xml"
2615 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2616 ("gobject-introspection" ,gobject-introspection)
2617 ("pkg-config" ,pkg-config)
2618 ("intltool" ,intltool)))
2620 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2623 ("gdk-pixbuf" ,gdk-pixbuf)
2624 ("libxml2" ,libxml2)
2625 ("libsoup" ,libsoup)))
2627 `(("tzdata" ,tzdata)
2628 ("geocode-glib" ,geocode-glib)))
2629 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2630 (synopsis "Location, time zone, and weather library for GNOME")
2632 "libgweather is a library to access weather information from online
2633 services for numerous locations.")
2634 (license license:gpl2+)))
2636 (define-public gnome-settings-daemon
2638 (name "gnome-settings-daemon")
2643 (uri (string-append "mirror://gnome/sources/" name "/"
2644 (version-major+minor version) "/"
2645 name "-" version ".tar.xz"))
2648 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2649 (build-system glib-or-gtk-build-system)
2651 `(;; Color management test can't reach the colord system service.
2654 `(("pkg-config" ,pkg-config)
2655 ("intltool" ,intltool)
2656 ("xsltproc" ,libxslt)
2657 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2658 ("docbook-xml" ,docbook-xml-4.2)
2659 ("docbook-xsl" ,docbook-xsl)))
2661 `(("colord" ,colord)
2662 ("libgudev" ,libgudev)
2665 ("pulseaudio" ,pulseaudio)
2666 ("libcanberra" ,libcanberra)
2668 ("libxtst" ,libxtst)
2670 ("libnotify" ,libnotify)
2671 ("geoclue" ,geoclue)
2672 ("geocode-glib" ,geocode-glib)
2673 ("libgweather" ,libgweather)
2674 ("gnome-desktop" ,gnome-desktop)
2677 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2678 ("libwacom" ,libwacom)
2679 ("librsvg" ,librsvg)
2680 ("xf86-input-wacom" ,xf86-input-wacom)
2681 ("network-manager" ,network-manager)))
2682 (home-page "http://www.gnome.org")
2683 (synopsis "GNOME settings daemon")
2685 "This package contains the daemon responsible for setting the various
2686 parameters of a GNOME session and the applications that run under it. It
2687 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2688 settings, themes, mouse settings, and startup of other daemons.")
2689 (license license:gpl2+)))
2691 (define-public totem-pl-parser
2693 (name "totem-pl-parser")
2697 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2698 "totem-pl-parser-" version ".tar.xz"))
2701 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2702 (build-system gnu-build-system)
2704 ;; FIXME: Tests require gvfs.
2707 `(("intltool" ,intltool)
2708 ("glib" ,glib "bin")
2709 ("gobject-introspection" ,gobject-introspection)
2710 ("pkg-config" ,pkg-config)))
2714 ("libxml2" ,libxml2)))
2716 `(("libarchive" ,libarchive)
2717 ("libgcrypt" ,libgcrypt)
2719 ("libsoup" ,libsoup)))
2720 (home-page "https://projects.gnome.org/totem")
2721 (synopsis "Library to parse and save media playlists for GNOME")
2722 (description "Totem-pl-parser is a GObjects-based library to parse and save
2723 playlists in a variety of formats.")
2724 (license license:lgpl2.0+)))
2726 (define-public aisleriot
2732 (uri (string-append "mirror://gnome/sources/" name "/"
2733 (version-major+minor version) "/"
2734 name "-" version ".tar.xz"))
2737 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
2738 (build-system glib-or-gtk-build-system)
2741 '("--with-platform=gtk-only"
2742 "--with-card-theme-formats=svg")))
2744 `(("desktop-file-utils" ,desktop-file-utils)
2745 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2746 ("intltool" ,intltool)
2747 ("itstool" ,itstool)
2748 ("pkg-config" ,pkg-config)
2749 ("xmllint" ,libxml2)))
2752 ("guile" ,guile-2.0)
2753 ("libcanberra" ,libcanberra)
2754 ("librsvg" ,librsvg)))
2755 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2756 (synopsis "Solitaire card games")
2758 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2759 which are easy to play with the aid of a mouse.")
2760 (license license:gpl3+)))
2762 (define-public devhelp
2768 (uri (string-append "mirror://gnome/sources/" name "/"
2769 (version-major+minor version) "/"
2770 name "-" version ".tar.xz"))
2773 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2774 (build-system glib-or-gtk-build-system)
2776 `(("intltool" ,intltool)
2777 ("pkg-config" ,pkg-config)))
2779 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2780 ("webkitgtk" ,webkitgtk)))
2781 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2782 (synopsis "API documentation browser for GNOME")
2784 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2785 natively with GTK-Doc (the API reference system developed for GTK+ and used
2786 throughout GNOME for API documentation).")
2787 (license license:gpl2+)))
2796 (uri (string-append "mirror://gnome/sources/" name "/"
2797 (version-major+minor version) "/"
2798 name "-" version ".tar.xz"))
2801 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
2802 (build-system gnu-build-system)
2804 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2805 ("gobject-introspection" ,gobject-introspection)
2806 ;;("xorg-server" ,xorg-server) ; for the test suite
2807 ("pkg-config" ,pkg-config)))
2810 ("gdk-pixbuf" ,gdk-pixbuf)
2812 ("libxext" ,libxext)
2813 ("libxfixes" ,libxfixes)
2814 ("libxdamage" ,libxdamage)
2815 ("libxcomposite" ,libxcomposite)
2816 ("libxrandr" ,libxrandr)))
2821 ("gstreamer" ,gstreamer)
2822 ("gst-plugins-base" ,gst-plugins-base)))
2824 `(#:configure-flags (list "--enable-cogl-gst"
2825 ;; Arrange to pass an absolute file name to
2826 ;; dlopen for libGL.so.
2827 (string-append "--with-gl-libname="
2828 (assoc-ref %build-inputs "mesa")
2830 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2831 ;; _FontTransOpen: Unable to Parse address
2832 ;; ${prefix}/share/fonts/X11/misc/
2836 (modify-phases %standard-phases
2837 (add-before 'check 'start-xorg-server
2838 (lambda* (#:key inputs #:allow-other-keys)
2839 ;; The test suite requires a running X server.
2840 (system (format #f "~a/bin/Xvfb :1 &"
2841 (assoc-ref inputs "xorg-server")))
2842 (setenv "DISPLAY" ":1")
2844 (home-page "http://www.cogl3d.org")
2845 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2847 "Cogl is a small library for using 3D graphics hardware to draw pretty
2848 pictures. The API departs from the flat state machine style of OpenGL and is
2849 designed to make it easy to write orthogonal components that can render
2850 without stepping on each others toes.")
2851 (license (list license:expat ; most of the code
2852 license:bsd-3 ; cogl/cogl-point-in-poly.c
2853 license:sgifreeb2.0 ; cogl-path/tesselator/
2854 license:asl2.0)))) ; examples/android/
2856 (define-public clutter
2863 (uri (string-append "mirror://gnome/sources/" name "/"
2864 (version-major+minor version) "/"
2865 name "-" version ".tar.xz"))
2868 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2869 (build-system gnu-build-system)
2871 "doc")) ;9 MiB of gtk-doc HTML pages
2873 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2874 ("gobject-introspection" ,gobject-introspection)
2875 ("pkg-config" ,pkg-config)
2876 ("xsltproc" ,libxslt)))
2882 ("json-glib" ,json-glib)
2884 ("libxcomposite" ,libxcomposite)
2885 ("libxdamage" ,libxdamage)
2886 ("libxext" ,libxext)
2887 ("xinput" ,xinput)))
2889 `(("libxkbcommon" ,libxkbcommon)
2892 `(#:configure-flags (list "--enable-x11-backend=yes"
2894 ;; This produces share/doc/{clutter,cally}.
2895 (string-append "--with-html-dir="
2896 (assoc-ref %outputs "doc")
2898 ;; XXX FIXME: Get test suite working. It would probably fail in the
2899 ;; same way the cogl tests fail, since clutter is based on cogl.
2901 (home-page "http://www.clutter-project.org")
2902 (synopsis "Open GL based interactive canvas library")
2904 "Clutter is an Open GL based interactive canvas library, designed for
2905 creating fast, mainly 2D single window applications such as media box UIs,
2906 presentations, kiosk style applications and so on.")
2907 (license license:lgpl2.0+)))
2909 (define-public clutter-gtk
2911 (name "clutter-gtk")
2916 (uri (string-append "mirror://gnome/sources/" name "/"
2917 (version-major+minor version) "/"
2918 name "-" version ".tar.xz"))
2921 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
2922 (build-system gnu-build-system)
2924 `(("pkg-config" ,pkg-config)
2925 ("gobject-introspection" ,gobject-introspection)))
2927 ;; clutter-gtk.pc refers to all these.
2928 `(("clutter" ,clutter)
2930 (home-page "http://www.clutter-project.org")
2931 (synopsis "Open GL based interactive canvas library GTK+ widget")
2933 "Clutter is an Open GL based interactive canvas library, designed for
2934 creating fast, mainly 2D single window applications such as media box UIs,
2935 presentations, kiosk style applications and so on.")
2936 (license license:lgpl2.0+)))
2938 (define-public clutter-gst
2940 (name "clutter-gst")
2945 (uri (string-append "mirror://gnome/sources/" name "/"
2946 (version-major+minor version) "/"
2947 name "-" version ".tar.xz"))
2950 "1m6zwc7xr7lmbwiqav961g7jhc7gp5gb73dm6j93szpa6bxmgz7i"))))
2951 (build-system gnu-build-system)
2953 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2954 ("pkg-config" ,pkg-config)
2955 ("gobject-introspection" ,gobject-introspection)))
2957 `(("clutter" ,clutter)
2958 ("gstreamer" ,gstreamer)
2959 ("gst-plugins-base" ,gst-plugins-base)))
2960 (home-page "http://www.clutter-project.org")
2961 (synopsis "Integration library for using GStreamer with Clutter")
2963 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2964 It provides a GStreamer sink to upload frames to GL and an actor that
2965 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2966 GL based interactive canvas library.")
2967 (license license:lgpl2.0+)))
2969 (define-public libchamplain
2971 (name "libchamplain")
2976 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2980 "13snnka1jqc5qrgij8bm22xy02pncf3dn5ij3jh4rrpzq7g1sqpi"))))
2981 (build-system gnu-build-system)
2982 (arguments '(#:configure-flags '("--enable-vala")))
2984 `(("gobject-introspection" ,gobject-introspection)
2985 ("pkg-config" ,pkg-config)
2988 `(("libsoup" ,libsoup)
2990 ("clutter" ,clutter)
2991 ("clutter-gtk" ,clutter-gtk)
2992 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2996 (home-page "http://projects.gnome.org/libchamplain/")
2997 (synopsis "C library providing a ClutterActor to display maps")
2999 "libchamplain is a C library providing a ClutterActor to display maps.
3000 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3001 and Perl bindings are also available. It supports numerous free map sources
3002 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3003 (license license:lgpl2.1+)))
3012 (uri (string-append "mirror://gnome/sources/" name "/"
3013 (version-major+minor version) "/"
3014 name "-" version ".tar.xz"))
3017 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3018 (build-system gnu-build-system)
3020 `(("intltool" ,intltool)
3021 ("pkg-config" ,pkg-config)
3022 ("gobject-introspection" ,gobject-introspection)))
3025 ("gdk-pixbuf" ,gdk-pixbuf)
3026 ("sqlite" ,sqlite)))
3027 ;; XXX TODO: Figure out how to run the test suite.
3028 (arguments `(#:tests? #f))
3029 (home-page "https://wiki.gnome.org/Projects/Gom")
3030 (synopsis "Object mapper from GObjects to SQLite")
3032 "Gom provides an object mapper from GObjects to SQLite. It helps you
3033 write applications that need to store structured data as well as make complex
3034 queries upon that data.")
3035 (license license:lgpl2.1+)))
3037 (define-public libgames-support
3039 (name "libgames-support")
3043 (uri (string-append "mirror://gnome/sources/" name "/"
3044 (version-major+minor version) "/"
3045 name "-" version ".tar.xz"))
3048 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3049 (build-system gnu-build-system)
3052 (modify-phases %standard-phases
3053 (add-before 'check 'pre-check
3055 ;; tests require a writable HOME.
3056 (setenv "HOME" (getcwd))
3059 `(("intltool" ,intltool)
3060 ("pkg-config" ,pkg-config)
3063 ;; Required by libgames-support-1.0.pc
3065 ("libgee" ,libgee)))
3066 (home-page "https://www.gnome.org/")
3067 (synopsis "Useful functionality shared among GNOME games")
3069 "libgames-support is a small library intended for internal use by
3070 GNOME Games, but it may be used by others.")
3071 (license license:lgpl3+)))
3073 (define-public gnome-klotski
3075 (name "gnome-klotski")
3079 (uri (string-append "mirror://gnome/sources/" name "/"
3080 (version-major+minor version) "/"
3081 name "-" version ".tar.xz"))
3084 "14w40a1gjlg4l1vhcy0qcf3scmwm2v3vhxnxj269pfqlv8s7alaw"))))
3085 (build-system glib-or-gtk-build-system)
3087 `(("desktop-file-utils" ,desktop-file-utils)
3088 ("intltool" ,intltool)
3089 ("itstool" ,itstool)
3090 ("pkg-config" ,pkg-config)
3091 ("xmllint" ,libxml2)))
3094 ("libgames-support" ,libgames-support)
3095 ("librsvg" ,librsvg)))
3096 (home-page "https://wiki.gnome.org/Apps/Klotski")
3097 (synopsis "Sliding block puzzles")
3099 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3100 the patterned block to the area bordered by green markers. To do so, you will
3101 need to slide other blocks out of the way. Complete each puzzle in as few moves
3103 (license license:gpl2+)))
3105 (define-public grilo
3112 (uri (string-append "mirror://gnome/sources/" name "/"
3113 (version-major+minor version) "/"
3114 name "-" version ".tar.xz"))
3117 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3118 (build-system gnu-build-system)
3120 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3121 ("intltool" ,intltool)
3122 ("pkg-config" ,pkg-config)
3123 ("gobject-introspection" ,gobject-introspection)))
3127 ("libxml2" ,libxml2)
3128 ;; XXX TODO: Add oauth
3129 ("libsoup" ,libsoup)
3130 ("totem-pl-parser" ,totem-pl-parser)))
3133 (modify-phases %standard-phases
3134 (add-after 'unpack 'fix-introspection-install-dir
3135 (lambda* (#:key outputs #:allow-other-keys)
3136 (let ((out (assoc-ref outputs "out")))
3137 (substitute* '("src/Makefile.in"
3138 "libs/pls/Makefile.in"
3139 "libs/net/Makefile.in")
3140 (("@INTROSPECTION_GIRDIR@")
3141 (string-append out "/share/gir-1.0/"))
3142 (("@INTROSPECTION_TYPELIBDIR@")
3143 (string-append out "/lib/girepository-1.0/")))))))))
3144 (native-search-paths
3145 (list (search-path-specification
3146 (variable "GRL_PLUGIN_PATH")
3147 (files (list (string-append "lib/grilo-"
3148 (version-major+minor version)))))))
3149 (home-page "http://live.gnome.org/Grilo")
3150 (synopsis "Framework for discovering and browsing media")
3152 "Grilo is a framework focused on making media discovery and browsing easy
3153 for application developers.")
3154 (license license:lgpl2.1+)))
3156 (define-public grilo-plugins
3158 (name "grilo-plugins")
3163 (uri (string-append "mirror://gnome/sources/" name "/"
3164 (version-major+minor version) "/"
3165 name "-" version ".tar.xz"))
3168 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3169 (build-system gnu-build-system)
3171 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3172 ("intltool" ,intltool)
3173 ("itstool" ,itstool)
3174 ("pkg-config" ,pkg-config)))
3177 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3179 ("libxml2" ,libxml2)
3182 ;; XXX TODO: Add oauth
3183 ;; XXX TODO: Add goa
3184 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3185 ;; XXX TODO: Add lua (needs help finding it)
3186 ("json-glib" ,json-glib)
3189 ("libsoup" ,libsoup)
3190 ("libarchive" ,libarchive)
3191 ("totem-pl-parser" ,totem-pl-parser)))
3193 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3196 ,(version-major+minor version)))
3197 ;; XXX FIXME: Try to get the test suite working. It appears to require
3198 ;; a working system dbus. Inside the build container, all tests fail
3199 ;; with: "assertion failed: (source)". Outside of the build container,
3200 ;; most tests succeed.
3202 (home-page "http://live.gnome.org/Grilo")
3203 (synopsis "Plugins for the Grilo media discovery library")
3205 "Grilo is a framework focused on making media discovery and browsing easy
3206 for application developers.")
3207 (license license:lgpl2.1+)))
3209 (define-public totem
3216 (uri (string-append "mirror://gnome/sources/" name "/"
3217 (version-major+minor version) "/"
3218 name "-" version ".tar.xz"))
3221 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3222 (patches (search-patches "totem-debug-format-fix.patch"))))
3223 (build-system glib-or-gtk-build-system)
3225 `(("pkg-config" ,pkg-config)
3226 ("desktop-file-utils" ,desktop-file-utils)
3227 ("gobject-introspection" ,gobject-introspection)
3228 ("intltool" ,intltool)
3229 ("itstool" ,itstool)
3230 ("xmllint" ,libxml2)))
3232 `(("dconf" ,dconf)))
3235 ("gdk-pixbuf" ,gdk-pixbuf)
3238 ("dbus-glib" ,dbus-glib)
3239 ("clutter" ,clutter)
3240 ("clutter-gtk" ,clutter-gtk)
3241 ("clutter-gst" ,clutter-gst)
3243 ("libxxf86vm" ,libxxf86vm)
3244 ("libxtst" ,libxtst)
3245 ("libxrandr" ,libxrandr)
3246 ("libxml2" ,libxml2)
3247 ("libsoup" ,libsoup)
3248 ("libpeas" ,libpeas)
3249 ("librsvg" ,librsvg)
3251 ("gnome-desktop" ,gnome-desktop)
3252 ("gstreamer" ,gstreamer)
3253 ("gst-plugins-base" ,gst-plugins-base)
3254 ("gst-plugins-good" ,gst-plugins-good)
3255 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3256 ("adwaita-icon-theme" ,adwaita-icon-theme)
3257 ;; XXX We use python-2 because libxml2 because itstool (which needs
3258 ;; libxml) currently uses python-2.
3259 ("python" ,python-2)
3260 ("python-pygobject" ,python2-pygobject)
3261 ;; XXX TODO pylint needed for python support
3262 ("totem-pl-parser" ,totem-pl-parser)
3264 ("grilo-plugins" ,grilo-plugins)
3269 (modify-phases %standard-phases
3271 'install 'wrap-totem
3272 (lambda* (#:key inputs outputs #:allow-other-keys)
3273 (let ((out (assoc-ref outputs "out"))
3274 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3275 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3276 (wrap-program (string-append out "/bin/totem")
3277 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3278 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3280 (home-page "https://wiki.gnome.org/Apps/Videos")
3281 (synopsis "Simple media player for GNOME based on GStreamer")
3282 (description "Totem is a simple yet featureful media player for GNOME
3283 which can read a large number of file formats.")
3284 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3285 ;; to be used and distributed together with GStreamer and Totem. See
3286 ;; file://COPYING in the source distribution for details.
3287 (license license:gpl2+)))
3289 (define-public rhythmbox
3295 (uri (string-append "mirror://gnome/sources/" name "/"
3296 (version-major+minor version) "/"
3297 name "-" version ".tar.xz"))
3300 "1347747m90aiz47wny1f8rdk5195qf2ph0554c6y91711sm951gg"))))
3301 (build-system glib-or-gtk-build-system)
3304 (list "--enable-lirc"
3311 (modify-phases %standard-phases
3313 'install 'wrap-rhythmbox
3314 (lambda* (#:key inputs outputs #:allow-other-keys)
3315 (let ((out (assoc-ref outputs "out"))
3316 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3317 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3318 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3319 (python-path (getenv "PYTHONPATH")))
3320 (wrap-program (string-append out "/bin/rhythmbox")
3321 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3322 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3323 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3324 `("PYTHONPATH" ":" prefix (,python-path))))
3327 `(("dconf" ,dconf)))
3329 `(("itstool" ,itstool)
3330 ("intltool" ,intltool)
3331 ("glib" ,glib "bin")
3332 ("gobject-introspection" ,gobject-introspection)
3333 ("desktop-file-utils" ,desktop-file-utils)
3334 ("pkg-config" ,pkg-config)
3335 ("xmllint" ,libxml2)))
3337 `(("json-glib" ,json-glib)
3339 ("gnome-desktop" ,gnome-desktop)
3341 ("python-pygobject" ,python2-pygobject)
3345 ("adwaita-icon-theme" ,adwaita-icon-theme)
3347 ("grilo-plugins" ,grilo-plugins)
3348 ("gstreamer" ,gstreamer)
3349 ("gst-plugins-base" ,gst-plugins-base)
3350 ("gst-plugins-good" ,gst-plugins-good)
3351 ("totem-pl-parser" ,totem-pl-parser)
3352 ("libgudev" ,libgudev)
3353 ;;("libmtp" ,libmtp) FIXME: Not detected
3354 ("libsecret" ,libsecret)
3355 ("libsoup" ,libsoup)
3356 ("libnotify" ,libnotify)
3357 ("libpeas" ,libpeas)
3359 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3360 ;;("clutter" ,clutter)
3361 ;;("clutter-gtk" ,clutter-gtk)
3362 ;;("clutter-gst" ,clutter-gst)
3363 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3370 ("brasero" ,brasero)))
3371 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3372 (synopsis "Music player for GNOME")
3373 (description "Rhythmbox is a music playing application for GNOME. It
3374 supports playlists, song ratings, and any codecs installed through gstreamer.")
3375 (license license:gpl2+)))
3383 (uri (string-append "mirror://gnome/sources/" name "/"
3384 (version-major+minor version) "/"
3385 name "-" version ".tar.xz"))
3388 "1qsv3brhi8l8fr22nd3d0fwq5xhwspqw0bammhkkq3ga0z6791wn"))))
3389 (build-system glib-or-gtk-build-system)
3392 (modify-phases %standard-phases
3395 (lambda* (#:key outputs #:allow-other-keys)
3396 (let ((out (assoc-ref outputs "out"))
3397 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3398 (wrap-program (string-append out "/bin/eog")
3399 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3402 `(("dconf" ,dconf)))
3404 `(("intltool" ,intltool)
3405 ("itstool" ,itstool)
3406 ("glib" ,glib "bin")
3407 ("gobject-introspection" ,gobject-introspection)
3408 ("pkg-config" ,pkg-config)
3409 ("xmllint" ,libxml2)))
3411 `(("gnome-desktop" ,gnome-desktop)
3412 ("shared-mime-info" ,shared-mime-info)
3413 ("adwaita-icon-theme" ,adwaita-icon-theme)
3416 ("libexif" ,libexif)
3417 ("libpeas" ,libpeas)
3418 ("libjpeg" ,libjpeg)
3419 ("librsvg" ,librsvg)
3420 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3422 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3423 (synopsis "GNOME image viewer")
3424 (description "Eye of GNOME is the GNOME image viewer. It
3425 supports image conversion, rotation, and slideshows.")
3426 (license license:gpl2+)))
3428 (define-public libgudev
3434 (uri (string-append "mirror://gnome/sources/" name "/"
3435 version "/" name "-" version ".tar.xz"))
3438 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3439 (build-system gnu-build-system)
3441 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3442 ("gobject-introspection" ,gobject-introspection)
3443 ("pkg-config" ,pkg-config)))
3445 `(("glib" ,glib))) ; required by gudev-1.0.pc
3448 (home-page "https://wiki.gnome.org/Projects/libgudev")
3449 (synopsis "GObject bindings for libudev")
3451 "This library provides GObject bindings for libudev. It was originally
3452 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3453 (license license:lgpl2.1+)))
3461 (uri (string-append "mirror://gnome/sources/" name "/"
3462 (version-major+minor version) "/"
3463 name "-" version ".tar.xz"))
3466 "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325"))))
3467 (build-system gnu-build-system)
3469 '(#:tests? #f)) ; XXX: requiring `pidof'
3471 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3472 ("intltool" ,intltool)
3473 ("pkg-config" ,pkg-config)
3474 ("xsltproc" ,libxslt)))
3477 ("docbook-xml" ,docbook-xml-4.2)
3478 ("docbook-xsl" ,docbook-xsl)
3483 ("libarchive" ,libarchive)
3484 ("libbluray" ,libbluray)
3485 ("libcdio-paranoia" ,libcdio-paranoia)
3486 ("libgcrypt" ,libgcrypt)
3487 ("libgphoto2" ,libgphoto2)
3488 ("libgudev" ,libgudev)
3490 ("libsecret" ,libsecret)
3491 ("libsmbclient" ,samba)
3492 ("libsoup" ,libsoup)
3493 ("libxml2" ,libxml2)
3494 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3495 ("udisks" ,udisks)))
3496 (home-page "https://wiki.gnome.org/gvfs/")
3497 (synopsis "Userspace virtual file system for GIO")
3499 "GVFS is a userspace virtual file system designed to work with the I/O
3500 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3501 to all applications using the GIO API. It also supports exposing the GVFS
3502 mounts to non-GIO applications using FUSE.
3504 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3506 (license license:lgpl2.0+)))
3514 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3516 (string-join (string-split version #\.)
3521 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3522 (build-system gnu-build-system)
3524 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3525 ("gobject-introspection" ,gobject-introspection)
3526 ("pkg-config" ,pkg-config)
3528 ("autoconf" ,autoconf)
3529 ("automake" ,automake)
3530 ("libtool" ,libtool)
3531 ("gtk-doc" ,gtk-doc)))
3533 ;; Both of these are required by gusb.pc.
3535 ("libusb" ,libusb)))
3537 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3539 (modify-phases %standard-phases
3540 (add-after 'unpack 'autogen
3542 (and (zero? (system* "gtkdocize"))
3543 (zero? (system* "autoreconf" "-vif"))))))))
3544 (home-page "https://github.com/hughsie/libgusb")
3545 (synopsis "GLib binding for libusb1")
3547 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3548 asynchronous control, bulk and interrupt transfers with proper cancellation
3549 and integration into a mainloop. This makes it easy to integrate low level
3550 USB transfers with your high-level application or system daemon.")
3551 (license license:lgpl2.1+)))
3553 (define-public simple-scan
3555 (name "simple-scan")
3556 (version "3.22.0.1")
3559 (uri (string-append "https://launchpad.net/simple-scan/"
3560 (version-major+minor version) "/"
3561 version "/+download/simple-scan-"
3565 "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"))))
3566 (build-system glib-or-gtk-build-system)
3571 ("gdk-pixbuf" ,gdk-pixbuf)
3573 ("libsane" ,sane-backends)))
3575 `(("gettext" ,gettext-minimal)
3576 ("itstool" ,itstool)
3578 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3579 ("pkg-config" ,pkg-config)
3581 ("xmllint" ,libxml2)))
3583 '(#:configure-flags '("--disable-packagekit")
3585 (modify-phases %standard-phases
3586 (add-after 'unpack 'clean
3588 ;; Remove a left-over reference to PackageKit.
3590 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3592 ;; There are some generated C files erroneously
3593 ;; included in the source distribution, and this
3594 ;; one breaks the build by referring to a
3595 ;; non-existent header (packagekit.h)
3596 (delete-file "src/ui.c"))))))
3597 (home-page "https://launchpad.net/simple-scan")
3598 (synopsis "Document and image scanner")
3599 (description "Simple Scan is an easy-to-use application, designed to let
3600 users connect their scanner and quickly have the image/document in an
3601 appropriate format. Simple Scan is basically a frontend for SANE - which is
3602 the same backend as XSANE uses. This means that all existing scanners will
3603 work and the interface is well tested.")
3604 (license license:gpl3+)))
3606 (define-public epiphany
3612 (uri (string-append "mirror://gnome/sources/" name "/"
3613 (version-major+minor version) "/"
3614 name "-" version ".tar.xz"))
3617 "03ncqmb8n06qr88rlwa2rph833gjcwsmxaw2wf1yawadwpnn5cda"))))
3618 (build-system glib-or-gtk-build-system)
3620 ;; FIXME: tests run under Xvfb, but fail with:
3621 ;; /src/bookmarks/ephy-bookmarks/create:
3622 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3627 `(("dconf" ,dconf)))
3629 `(("intltool" ,intltool)
3630 ("itstool" ,itstool)
3631 ("pkg-config" ,pkg-config)
3632 ("xmllint" ,libxml2)))
3636 ("glib-networking" ,glib-networking)
3637 ("gnome-desktop" ,gnome-desktop)
3638 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3639 ("iso-codes" ,iso-codes)
3640 ("libnotify" ,libnotify)
3641 ("libsecret" ,libsecret)
3642 ("libxslt" ,libxslt)
3644 ("webkitgtk" ,webkitgtk)))
3645 (home-page "https://wiki.gnome.org/Apps/Web")
3646 (synopsis "GNOME web browser")
3648 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3649 principles are simplicity and standards compliance.")
3650 (license license:gpl2+)))
3652 (define-public d-feet
3658 (uri (string-append "mirror://gnome/sources/" name "/"
3659 (version-major+minor version) "/"
3660 name "-" version ".tar.xz"))
3663 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3664 (build-system glib-or-gtk-build-system)
3666 '(#:out-of-source? #f ; tests need to run in the source directory.
3668 (modify-phases %standard-phases
3672 ;; The test suite requires a running X server.
3673 (system "Xvfb :1 &")
3674 (setenv "DISPLAY" ":1")
3675 ;; Don't fail on missing '/etc/machine-id'.
3676 (setenv "DBUS_FATAL_WARNINGS" "0")
3677 ;; tests.py and window.py don't meet E402:
3678 ;; E402 module level import not at top of file
3679 (substitute* "src/tests/Makefile"
3680 (("--ignore=E123") "--ignore=E123,E402"))
3683 'install 'wrap-program
3684 (lambda* (#:key outputs #:allow-other-keys)
3685 (let ((prog (string-append (assoc-ref outputs "out")
3688 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3689 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3692 `(("intltool" ,intltool)
3693 ("itstool" ,itstool)
3694 ("pkg-config" ,pkg-config)
3695 ("python-pep8" ,python-pep8)
3696 ("xmllint" ,libxml2)
3697 ("xorg-server" ,xorg-server)))
3699 `(("gobject-introspection" ,gobject-introspection)
3701 ("python" ,python-wrapper)
3702 ("python-pygobject" ,python-pygobject)))
3703 (home-page "https://wiki.gnome.org/Apps/DFeet")
3704 (synopsis "D-Bus debugger")
3706 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3707 of running programs and invoke methods on those interfaces.")
3708 (license license:gpl2+)))
3710 (define-public yelp-xsl
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.xz"))
3721 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3722 (build-system gnu-build-system)
3724 `(("intltool" ,intltool)
3725 ("itstool" ,itstool)
3726 ("xmllint" ,libxml2)))
3727 (home-page "https://wiki.gnome.org/Apps/Yelp")
3728 (synopsis "XSL stylesheets for Yelp")
3730 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3731 to format Docbook and Mallard documents.")
3732 (license license:gpl2+)))
3740 (uri (string-append "mirror://gnome/sources/" name "/"
3741 (version-major+minor version) "/"
3742 name "-" version ".tar.xz"))
3745 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3746 (build-system glib-or-gtk-build-system)
3748 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3749 ("intltool" ,intltool)
3750 ("itstool" ,itstool)
3751 ("pkg-config" ,pkg-config)))
3753 `(("dconf" ,dconf)))
3755 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3756 ("libxslt" ,libxslt)
3758 ("webkitgtk" ,webkitgtk)
3759 ("yelp-xsl" ,yelp-xsl)))
3760 (home-page "https://wiki.gnome.org/Apps/Yelp")
3761 (synopsis "GNOME help browser")
3763 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3764 man, info, and HTML documents. It can locate documents according to the
3765 freedesktop.org help system specification.")
3766 (license license:gpl2+)))
3768 (define-public yelp-tools
3774 (uri (string-append "mirror://gnome/sources/" name "/"
3775 (version-major+minor version) "/"
3776 name "-" version ".tar.xz"))
3779 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3780 (build-system gnu-build-system)
3782 `(("pkg-config" ,pkg-config)))
3784 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3785 `(("itstool" ,itstool)
3786 ("xmllint" ,libxml2)
3787 ("xsltproc" ,libxslt)))
3789 `(("yelp-xsl" ,yelp-xsl)))
3790 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3791 (synopsis "Yelp documentation tools")
3793 "Yelp-tools is a collection of scripts and build utilities to help create,
3794 manage, and publish documentation for Yelp and the web. Most of the heavy
3795 lifting is done by packages like yelp-xsl and itstool. This package just
3796 wraps things up in a developer-friendly way.")
3797 (license license:gpl2+)))
3799 (define-public libgee
3805 (uri (string-append "mirror://gnome/sources/" name "/"
3806 (version-major+minor version) "/"
3807 name "-" version ".tar.xz"))
3810 "18ir5264bhdg76kcjn8i5bfs1vz89qqn2py20aavm2cwbaz6ns4r"))))
3811 (build-system gnu-build-system)
3814 (modify-phases %standard-phases
3815 (add-after 'unpack 'fix-introspection-install-dir
3816 (lambda* (#:key outputs #:allow-other-keys)
3817 (let ((out (assoc-ref outputs "out")))
3818 (substitute* "gee/Makefile.in"
3819 (("@INTROSPECTION_GIRDIR@")
3820 (string-append out "/share/gir-1.0/"))
3821 (("@INTROSPECTION_TYPELIBDIR@")
3822 (string-append out "/lib/girepository-1.0/")))))))))
3824 `(("glib" ,glib "bin")
3825 ("pkg-config" ,pkg-config)))
3828 ("gobject-introspection" ,gobject-introspection)))
3829 (home-page "https://wiki.gnome.org/Projects/Libgee")
3830 (synopsis "GObject collection library")
3832 "Libgee is a utility library providing GObject-based interfaces and
3833 classes for commonly used data structures.")
3834 (license license:lgpl2.1+)))
3836 (define-public gexiv2
3842 (uri (string-append "mirror://gnome/sources/" name "/"
3843 (version-major+minor version) "/"
3844 name "-" version ".tar.xz"))
3847 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3848 (build-system gnu-build-system)
3850 `(("glib" ,glib "bin")
3851 ("pkg-config" ,pkg-config)))
3853 ;; Listed in "Requires" section of gexiv2.pc
3854 `(("exiv2" ,exiv2)))
3857 ("gobject-introspection" ,gobject-introspection)))
3858 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3859 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3861 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3862 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3863 metadata in photo and video files of various formats.")
3864 (license license:gpl2+)))
3866 (define-public shotwell
3872 (uri (string-append "mirror://gnome/sources/" name "/"
3873 (version-major+minor version) "/"
3874 name "-" version ".tar.xz"))
3877 "1bih5hr3pvpkx3fck55bnhngn4fl92ryjizc34wb8pwigbkxnaj1"))))
3878 (build-system glib-or-gtk-build-system)
3880 `(("dconf" ,dconf)))
3882 `(("pkg-config" ,pkg-config)
3883 ("itstool" ,itstool)
3884 ("gettext" ,gettext-minimal)
3885 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
3886 ("itstool" ,itstool)
3889 `(("glib:bin" ,glib "bin")
3890 ("gstreamer" ,gstreamer)
3891 ("gst-plugins-base" ,gst-plugins-base)
3895 ("json-glib" ,json-glib)
3896 ("webkitgtk" ,webkitgtk)
3898 ("libsoup" ,libsoup)
3899 ("libxml2" ,libxml2)
3900 ("libgudev" ,libgudev)
3901 ("libgphoto2" ,libgphoto2)
3903 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3904 (synopsis "Photo manager for GNOME 3")
3906 "Shotwell is a digital photo manager designed for the GNOME desktop
3907 environment. It allows you to import photos from disk or camera, organize
3908 them by keywords and events, view them in full-window or fullscreen mode, and
3909 share them with others via social networking and more.")
3910 (license license:lgpl2.1+)))
3912 (define-public file-roller
3914 (name "file-roller")
3918 (uri (string-append "mirror://gnome/sources/" name "/"
3919 (version-major+minor version) "/"
3920 name "-" version ".tar.xz"))
3923 "1sa46vjx78d670m6bikpibgz39a5zb6ri8yjmj632lmxqvj2sp3b"))))
3924 (build-system glib-or-gtk-build-system)
3927 (modify-phases %standard-phases
3928 (add-before 'install 'skip-gtk-update-icon-cache
3930 ;; Don't create 'icon-theme.cache'
3931 (substitute* (find-files "data" "^Makefile$")
3932 (("gtk-update-icon-cache") (which "true")))
3935 `(("intltool" ,intltool)
3936 ("pkg-config" ,pkg-config)))
3937 ;; TODO: Add libnautilus.
3940 ("gdk-pixbuf" ,gdk-pixbuf)
3941 ("json-glib" ,json-glib)
3942 ("libarchive" ,libarchive)
3943 ("libnotify" ,libnotify)
3945 ("itstool" ,itstool)
3946 ("libxml2" ,libxml2)))
3947 (synopsis "Graphical archive manager for GNOME")
3948 (description "File Roller is an archive manager for the GNOME desktop
3949 environment that allows users to view, unpack, and create compressed archives
3950 such as gzip tarballs.")
3951 (home-page "http://fileroller.sourceforge.net/")
3952 (license license:gpl2+)))
3954 (define-public gnome-session
3956 (name "gnome-session")
3960 (uri (string-append "mirror://gnome/sources/" name "/"
3961 (version-major+minor version) "/"
3962 name "-" version ".tar.xz"))
3965 "1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"))))
3968 (modify-phases %standard-phases
3969 (add-before 'configure 'pre-configure
3970 (lambda* (#:key outputs #:allow-other-keys)
3971 ;; Use elogind instead of systemd.
3972 (substitute* "configure"
3973 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3975 (("systemd") "elogind"))
3976 (substitute* "gnome-session/gsm-systemd.c"
3977 (("#include <systemd/sd-login.h>")
3978 "#include <elogind/sd-login.h>"))
3979 ;; Remove uses of the systemd journal.
3980 (substitute* "gnome-session/main.c"
3981 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3982 (substitute* "gnome-session/gsm-manager.c"
3983 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3984 (substitute* "gnome-session/gsm-autostart-app.c"
3985 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3987 (add-after 'install 'wrap-gnome-session
3988 (lambda* (#:key inputs outputs #:allow-other-keys)
3989 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3990 (let ((glib (assoc-ref inputs "glib:bin"))
3991 (out (assoc-ref outputs "out")))
3992 (wrap-program (string-append out "/bin/gnome-session")
3993 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3995 (add-after 'install 'disable-hardware-acceleration-check
3996 (lambda* (#:key outputs #:allow-other-keys)
3997 ;; Do not abort if hardware acceleration is missing. This allows
3998 ;; GNOME to run in QEMU and on low-end devices.
3999 (let ((out (assoc-ref outputs "out")))
4000 (substitute* (string-append out
4001 "/share/xsessions/gnome.desktop")
4003 "gnome-session --disable-acceleration-check"))
4007 '("--enable-elogind")))
4008 (build-system glib-or-gtk-build-system)
4010 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4011 ("pkg-config" ,pkg-config)
4012 ("intltool" ,intltool)
4013 ("xsltproc" ,libxslt)))
4015 `(("elogind" ,elogind)
4016 ("gnome-desktop" ,gnome-desktop)
4017 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4019 ("json-glib" ,json-glib)
4021 ("libxcomposite" ,libxcomposite)
4022 ("libxtst" ,libxtst)
4025 ("xtrans" ,xtrans)))
4026 (synopsis "Session manager for GNOME")
4028 "This package contains the GNOME session manager, as well as a
4029 configuration program to choose applications starting on login.")
4030 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4031 (license license:gpl2+)))
4039 (uri (string-append "mirror://gnome/sources/" name "/"
4040 (version-major+minor version) "/"
4041 name "-" version ".tar.xz"))
4044 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4045 (modules '((guix build utils)))
4046 (snippet '(substitute* "test/run-with-dbus"
4047 (("/bin/rm") "rm")))))
4048 (build-system gnu-build-system)
4051 (modify-phases %standard-phases
4055 ;; For the missing /etc/machine-id.
4056 (setenv "DBUS_FATAL_WARNINGS" "0")
4059 ;; Failed to convert UTF-8 string to JS string: ...
4060 ;; TODO: actually fix it.
4061 (substitute* "installed-tests/js/testEverythingBasic.js"
4062 ((".*test_utf8_inout.*") ""))
4065 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4066 ("pkg-config" ,pkg-config)
4067 ("xmllint" ,libxml2)
4069 ("dbus-launch" ,dbus)
4070 ("uuidgen" ,util-linux)
4071 ("xvfb" ,xorg-server)))
4073 ;; These are all in the Requires.private field of gjs-1.0.pc.
4074 `(("gobject-introspection" ,gobject-introspection)
4075 ("mozjs" ,mozjs-24)))
4078 ("readline" ,readline)))
4079 (synopsis "Javascript bindings for GNOME")
4080 (home-page "http://live.gnome.org/Gjs")
4082 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4083 javascript engine and the GObject introspection framework.")
4084 (license license:gpl2+)))
4086 (define-public gedit
4092 (uri (string-append "mirror://gnome/sources/" name "/"
4093 (version-major+minor version) "/"
4094 name "-" version ".tar.xz"))
4097 "1y330hanqfld3kssf77wfphah2qpfg17pa109spsbm50f5m2g89j"))))
4098 (build-system glib-or-gtk-build-system)
4100 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4102 (modify-phases %standard-phases
4104 'install 'wrap-gedit
4105 (lambda* (#:key inputs outputs #:allow-other-keys)
4106 (let ((out (assoc-ref outputs "out"))
4107 (gtksourceview (assoc-ref inputs "gtksourceview"))
4108 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4109 (python-path (getenv "PYTHONPATH")))
4110 (wrap-program (string-append out "/bin/gedit")
4112 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4113 `("PYTHONPATH" ":" prefix (,python-path))
4114 ;; For language-specs.
4115 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4119 `(("dconf" ,dconf)))
4121 `(("intltool" ,intltool)
4122 ("itstool" ,itstool)
4123 ("gobject-introspection" ,gobject-introspection)
4124 ("pkg-config" ,pkg-config)))
4128 ("gtksourceview" ,gtksourceview)
4129 ("libpeas" ,libpeas)
4130 ("libxml2" ,libxml2)
4131 ("iso-codes" ,iso-codes)
4132 ("python-pygobject" ,python-pygobject)
4134 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4137 ("adwaita-icon-theme" ,adwaita-icon-theme)
4138 ("libsoup" ,libsoup)
4139 ("gnome-desktop" ,gnome-desktop)))
4140 (home-page "https://wiki.gnome.org/Apps/Gedit")
4141 (synopsis "GNOME text editor")
4142 (description "While aiming at simplicity and ease of use, gedit is a
4143 powerful general purpose text editor.")
4144 (license license:gpl2+)))
4146 (define-public zenity
4152 (uri (string-append "mirror://gnome/sources/" name "/"
4153 (version-major+minor version) "/"
4154 name "-" version ".tar.xz"))
4157 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4158 (build-system gnu-build-system)
4160 `(("gettext" ,gettext-minimal)
4161 ("itstool" ,itstool)
4162 ("pkg-config" ,pkg-config)))
4164 `(("libnotify" ,libnotify)
4165 ("webkitgtk" ,webkitgtk)))
4166 (synopsis "Display graphical dialog boxes from shell scripts")
4167 (home-page "http://www.gnome.org")
4169 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4170 to display dialog boxes from the commandline and shell scripts.")
4171 (license license:lgpl2.0+)))
4173 (define-public mutter
4179 (uri (string-append "mirror://gnome/sources/" name "/"
4180 (version-major+minor version) "/"
4181 name "-" version ".tar.xz"))
4184 "05pr78vgq52bkkqpbfnp9mxw14ij2wk91l2yfa69dpjbvxqm4b0l"))))
4185 (build-system gnu-build-system)
4188 ;; XXX: build fails with [-Werror]:
4189 ;; backends/meta-cursor-renderer.c:112:5: error:
4190 ;; implicit declaration of function ?roundf?
4191 '("--enable-compile-warnings=minimum")))
4193 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4194 ("gobject-introspection" ,gobject-introspection)
4195 ("intltool" ,intltool)
4196 ("pkg-config" ,pkg-config)))
4198 ;; libmutter.pc refers to all these.
4199 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4201 ("clutter" ,clutter)))
4203 `(("gnome-desktop" ,gnome-desktop)
4204 ("libcanberra-gtk" ,libcanberra)
4207 ("libxkbcommon" ,libxkbcommon)
4208 ("libxkbfile" ,libxkbfile)
4209 ("mesa-headers" ,mesa-headers)
4210 ("startup-notification" ,startup-notification)
4211 ("upower-glib" ,upower)
4212 ("xkeyboard-config" ,xkeyboard-config)
4213 ("zenity" ,zenity)))
4214 (synopsis "Window and compositing manager")
4215 (home-page "http://www.gnome.org")
4217 "Mutter is a window and compositing manager that displays and manages your
4218 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4219 Clutter toolkit with solid window-management logic inherited from the Metacity
4221 (license license:gpl2+)))
4223 (define-public gnome-online-accounts
4225 (name "gnome-online-accounts")
4229 (uri (string-append "mirror://gnome/sources/" name "/"
4230 (version-major+minor version) "/"
4231 name "-" version ".tar.xz"))
4234 "0ip0q539bik3wqwl867rjc63w2d5rjyvbqzwczkard70yd6c0kq9"))))
4235 (build-system glib-or-gtk-build-system)
4237 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4238 ("gobject-introspection" ,gobject-introspection)
4239 ("intltool" ,intltool)
4240 ("pkg-config" ,pkg-config)
4241 ("xsltproc" ,libxslt)))
4243 `(("glib" ,glib) ; required by goa-1.0.pc
4244 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4246 `(("docbook-xsl" ,docbook-xsl)
4247 ("json-glib" ,json-glib)
4248 ("libsecret" ,libsecret)
4250 ("telepathy-glib" ,telepathy-glib)
4251 ("webkitgtk" ,webkitgtk)))
4252 (synopsis "Single sign-on framework for GNOME")
4253 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4255 "GNOME Online Accounts provides interfaces so that applications and
4256 libraries in GNOME can access the user's online accounts. It has providers for
4257 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4258 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4259 (license license:lgpl2.0+)))
4261 (define-public evolution-data-server
4263 (name "evolution-data-server")
4267 (uri (string-append "mirror://gnome/sources/" name "/"
4268 (version-major+minor version) "/"
4269 name "-" version ".tar.xz"))
4272 "0zmybf63y0d5zn48q3xjgkh2p2c3ka9xvzd6labp96bd6b6qc58d"))))
4273 (build-system gnu-build-system)
4275 '(;; XXX: fails with:
4276 ;; /Fixture/Calendar0: cleaning up pid xxxx
4280 (let ((nss (assoc-ref %build-inputs "nss"))
4281 (nspr (assoc-ref %build-inputs "nspr")))
4282 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4283 "--disable-google" ; disable Google Contacts support
4284 "--disable-google-auth" ; disable Google authentication
4285 "--enable-vala-bindings"
4286 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4287 (string-append "--with-nss-includes=" nss "/include/nss")
4288 (string-append "--with-nss-libs=" nss "/lib/nss")))
4290 (modify-phases %standard-phases
4291 (add-before 'check 'pre-check
4293 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4294 (("/bin/rm") (which "rm")))
4297 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4298 ("gobject-introspection" ,gobject-introspection)
4300 ("intltool" ,intltool)
4301 ("pkg-config" ,pkg-config)
4303 ("python" ,python)))
4305 ;; These are all in the Requires field of .pc files.
4307 ("libical" ,libical)
4308 ("libsecret" ,libsecret)
4309 ("libsoup" ,libsoup)
4311 ("sqlite" ,sqlite)))
4315 ("gnome-online-accounts" ,gnome-online-accounts)
4316 ("libgweather" ,libgweather)))
4317 (synopsis "Store address books and calendars")
4318 (home-page "https://wiki.gnome.org/Apps/Evolution")
4320 "This package provides a unified backend for programs that work with
4321 contacts, tasks, and calendar information. It was originally developed for
4322 Evolution (hence the name), but is now used by other packages as well.")
4323 (license license:lgpl2.0)))
4325 (define-public caribou
4331 (uri (string-append "mirror://gnome/sources/" name "/"
4332 (version-major+minor version) "/"
4333 name "-" version ".tar.xz"))
4336 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4337 (build-system glib-or-gtk-build-system)
4340 (modify-phases %standard-phases
4343 (lambda* (#:key outputs #:allow-other-keys)
4344 (let ((out (assoc-ref outputs "out")))
4345 ;; Use absolute shared library path in Caribou-1.0.typelib.
4346 (substitute* "libcaribou/Makefile"
4347 (("--shared-library=libcaribou.so")
4348 (string-append "--shared-library="
4349 out "/lib/libcaribou.so")))
4351 (add-after 'install 'wrap-programs
4352 (lambda* (#:key outputs #:allow-other-keys)
4353 (let* ((out (assoc-ref outputs "out"))
4354 (python-path (getenv "PYTHONPATH"))
4355 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4359 `("PYTHONPATH" ":" prefix (,python-path))
4360 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4361 (list (string-append out "/bin/caribou-preferences")
4362 (string-append out "/libexec/antler-keyboard"))))
4365 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4366 ("gobject-introspection" ,gobject-introspection)
4367 ("intltool" ,intltool)
4368 ("pkg-config" ,pkg-config)
4369 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4371 ("xsltproc" ,libxslt)))
4373 ;; caribou-1.0.pc refers to all these.
4374 `(("libgee" ,libgee)
4375 ("libxklavier" ,libxklavier)
4376 ("libxtst" ,libxtst)
4379 `(("clutter" ,clutter)
4382 ("python-pygobject" ,python2-pygobject)))
4383 (synopsis "Text entry and UI navigation application")
4384 (home-page "https://wiki.gnome.org/Projects/Caribou")
4386 "Caribou is an input assistive technology intended for switch and pointer
4388 (license license:lgpl2.1)))
4390 (define-public network-manager
4392 (name "network-manager")
4396 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4397 (version-major+minor version) "/"
4398 "NetworkManager-" version ".tar.xz"))
4401 "016jc21mwjxvnfiblp5lji55sr8aq6w8a08fsjmqvnpnvm3y6r58"))
4404 (use-modules (guix build utils))
4405 (substitute* "configure"
4406 ;; Replace libsystemd-login with libelogind.
4407 (("libsystemd-login") "libelogind"))
4408 (substitute* "src/devices/wwan/nm-modem-manager.c"
4409 (("systemd") "elogind"))
4410 (substitute* "src/nm-session-monitor.c"
4411 (("systemd") "elogind"))
4412 (substitute* "./src/nm-logging.c"
4413 (("systemd") "elogind"))))))
4414 (build-system gnu-build-system)
4416 "doc")) ; 8 MiB of gtk-doc HTML
4419 (let ((out (assoc-ref %outputs "out"))
4420 (doc (assoc-ref %outputs "doc"))
4421 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4423 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4424 "--with-consolekit=no"
4425 "--with-crypto=gnutls"
4426 "--disable-config-plugin-ibft"
4428 "--localstatedir=/var"
4429 (string-append "--with-udev-dir="
4431 (string-append "--with-dbus-sys-dir="
4432 out "/etc/dbus-1/system.d")
4433 (string-append "--with-html-dir="
4434 doc "/share/gtk-doc/html")
4435 (string-append "--with-dhclient=" dhclient)))
4437 (modify-phases %standard-phases
4438 (add-before 'configure 'pre-configure
4440 ;; These tests try to test aspects of network-manager's
4441 ;; functionality within restricted containers, but they don't
4442 ;; cope with being already in the Guix build jail as that jail
4443 ;; lacks some features that they would like to proxy over (like
4445 (substitute* '("src/platform/Makefile.in"
4446 "src/devices/Makefile.in")
4447 (("SUBDIRS = tests") ""))
4448 (substitute* '("src/tests/Makefile.in")
4449 (("\ttest-route-manager-linux") "\t")
4450 (("\ttest-route-manager-fake") "\t"))
4452 (add-before 'check 'pre-check
4454 ;; For the missing /etc/machine-id.
4455 (setenv "DBUS_FATAL_WARNINGS" "0")
4459 (zero? (system* "make"
4467 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4468 ("gobject-introspection" ,gobject-introspection)
4469 ("intltool" ,intltool)
4470 ("pkg-config" ,pkg-config)
4472 ("python" ,python-wrapper)
4473 ("python-dbus" ,python-dbus)
4474 ("python-pygobject" ,python-pygobject)))
4476 `(("dbus-glib" ,dbus-glib)
4477 ("dnsmasq" ,dnsmasq)
4479 ("iptables" ,iptables)
4480 ("isc-dhcp" ,isc-dhcp)
4481 ("libgcrypt" ,libgcrypt)
4482 ("libgudev" ,libgudev)
4485 ("libsoup" ,libsoup)
4486 ("modem-manager" ,modem-manager)
4489 ("readline" ,readline)
4490 ("util-linux" ,util-linux)
4491 ("elogind" ,elogind)))
4492 (synopsis "Network connection manager")
4493 (home-page "http://www.gnome.org/projects/NetworkManager/")
4495 "NetworkManager is a system network service that manages your network
4496 devices and connections, attempting to keep active network connectivity when
4497 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4498 devices, and provides VPN integration with a variety of different VPN
4500 (license license:gpl2+)
4501 (properties '((upstream-name . "NetworkManager")))))
4503 (define-public mobile-broadband-provider-info
4505 (name "mobile-broadband-provider-info")
4506 (version "20151214")
4510 "mirror://gnome/sources/"
4511 "mobile-broadband-provider-info/" version "/"
4512 "mobile-broadband-provider-info-" version ".tar.xz"))
4515 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4516 (build-system gnu-build-system)
4518 `(#:tests? #f)) ; No tests
4519 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4520 (synopsis "Database of broadband connection configuration")
4521 (description "Database of broadband connection configuration.")
4522 (license license:public-domain)))
4524 (define-public network-manager-applet
4526 (name "network-manager-applet")
4530 (uri (string-append "mirror://gnome/sources/" name "/"
4531 (version-major+minor version) "/"
4532 name "-" version ".tar.xz"))
4535 "16a43sl9aijmvxbb08hbjqyjnlshj8dckycbgi9nm333fr47n6s3"))))
4536 (build-system glib-or-gtk-build-system)
4537 ;; TODO: WWAN support supposedly requires an update of glibmm which in turn
4538 ;; requires an update of the its dependencies (glib and others).
4539 (arguments '(#:configure-flags '("--disable-migration"
4542 `(("intltool" ,intltool)
4543 ("gobject-introspection" ,gobject-introspection)
4544 ("pkg-config" ,pkg-config)))
4546 ;; libnm-gtk.pc refers to all these.
4547 `(("dbus-glib" ,dbus-glib)
4549 ("network-manager" ,network-manager)))
4551 `(("iso-codes" ,iso-codes)
4552 ("libgudev" ,libgudev)
4553 ("libnotify" ,libnotify)
4554 ("libsecret" ,libsecret)
4555 ("jansson" ,jansson))) ;for team support
4556 (synopsis "Applet for managing network connections")
4557 (home-page "http://www.gnome.org/projects/NetworkManager/")
4559 "This package contains a systray applet for NetworkManager. It displays
4560 the available networks and allows users to easily switch between them.")
4561 (license license:gpl2+)))
4563 (define-public libxml++
4569 (uri (string-append "mirror://gnome/sources/" name "/"
4570 (version-major+minor version) "/"
4571 name "-" version ".tar.xz"))
4574 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
4575 (build-system gnu-build-system)
4576 ;; libxml++-3.0.pc refers to all these.
4578 `(("libxml2" ,libxml2)
4579 ("glibmm" ,glibmm)))
4582 ("pkg-config" ,pkg-config)))
4583 (home-page "http://libxmlplusplus.sourceforge.net/")
4584 (synopsis "C++ wrapper for XML parser library libxml2")
4586 "This package provides a C++ wrapper for the XML parser library
4588 (license license:lgpl2.1+)))
4590 (define-public libxml++-2
4597 (uri (string-append "mirror://gnome/sources/" name "/"
4598 (version-major+minor version) "/"
4599 name "-" version ".tar.xz"))
4602 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4610 (uri (string-append "mirror://gnome/sources/" name "/"
4611 (version-major+minor version) "/"
4612 name "-" version ".tar.xz"))
4615 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4616 (build-system gnu-build-system)
4619 '("--without-plymouth")
4621 (modify-phases %standard-phases
4623 'configure 'pre-configure
4625 ;; We don't have <systemd/sd-daemon.h>.
4626 (substitute* '("common/gdm-log.c"
4627 "daemon/gdm-server.c"
4628 "daemon/gdm-session-worker.c"
4629 "daemon/gdm-session-worker-job.c")
4630 (("#include <systemd/sd-daemon\\.h>") ""))
4631 ;; Use elogind for sd-login.
4632 (substitute* '("common/gdm-common.c"
4633 "daemon/gdm-manager.c"
4634 "libgdm/gdm-user-switching.c")
4635 (("#include <systemd/sd-login\\.h>")
4636 "#include <elogind/sd-login.h>"))
4637 ;; Avoid checking SYSTEMD using pkg-config.
4638 (setenv "SYSTEMD_CFLAGS" " ")
4639 (setenv "SYSTEMD_LIBS" "-lelogind")
4643 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4644 ("gobject-introspection" ,gobject-introspection)
4645 ("intltool" ,intltool)
4646 ("itstool" ,itstool)
4647 ("pkg-config" ,pkg-config)
4648 ("xmllint" ,libxml2)))
4650 `(("accountsservice" ,accountsservice)
4651 ("check" ,check) ; for testing
4652 ("elogind" ,elogind)
4654 ("iso-codes" ,iso-codes)
4655 ("libcanberra" ,libcanberra)
4656 ("linux-pam" ,linux-pam)))
4657 (synopsis "Display manager for GNOME")
4658 (home-page "http://wiki.gnome.org/Projects/GDM/")
4660 "GNOME Display Manager is a system service that is responsible for
4661 providing graphical log-ins and managing local and remote displays.")
4662 (license license:gpl2+)))
4664 (define-public libgtop
4670 (uri (string-append "mirror://gnome/sources/" name "/"
4671 (version-major+minor version) "/"
4672 name "-" version ".tar.xz"))
4675 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4676 (build-system gnu-build-system)
4678 `(("gobject-introspection" ,gobject-introspection)
4679 ("intltool" ,intltool)
4681 ("pkg-config" ,pkg-config)))
4683 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4684 (synopsis "Portable system access library")
4685 (home-page "https://www.gnome.org/")
4687 "LibGTop is a library to get system specific data such as CPU and memory
4688 usage and information about running processes.")
4689 (license license:gpl2+)))
4691 (define-public gnome-bluetooth
4693 (name "gnome-bluetooth")
4697 (uri (string-append "mirror://gnome/sources/" name "/"
4698 (version-major+minor version) "/"
4699 name "-" version ".tar.xz"))
4702 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4703 (build-system glib-or-gtk-build-system)
4705 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4706 ("gobject-introspection" ,gobject-introspection)
4707 ("intltool" ,intltool)
4708 ("pkg-config" ,pkg-config)
4709 ("xmllint" ,libxml2)))
4711 ;; gnome-bluetooth-1.0.pc refers to all these.
4715 `(("libcanberra" ,libcanberra)
4716 ("libnotify" ,libnotify)))
4717 (synopsis "GNOME Bluetooth subsystem")
4718 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4720 "This package contains tools for managing and manipulating Bluetooth
4721 devices using the GNOME desktop.")
4722 (license license:lgpl2.1+)))
4724 (define-public gnome-control-center
4726 (name "gnome-control-center")
4730 (uri (string-append "mirror://gnome/sources/" name "/"
4731 (version-major+minor version) "/"
4732 name "-" version ".tar.xz"))
4735 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4736 (build-system glib-or-gtk-build-system)
4739 (modify-phases %standard-phases
4740 (add-before 'configure 'patch-paths
4741 (lambda* (#:key inputs #:allow-other-keys)
4742 (let ((libc (assoc-ref inputs "libc"))
4743 (tzdata (assoc-ref inputs "tzdata")))
4744 (substitute* "panels/datetime/tz.h"
4745 (("/usr/share/zoneinfo/zone.tab")
4746 (string-append tzdata "/share/zoneinfo/zone.tab")))
4747 (substitute* "panels/datetime/test-endianess.c"
4748 (("/usr/share/locale")
4749 (string-append libc "/share/locale")))
4752 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4753 ("intltool" ,intltool)
4754 ("pkg-config" ,pkg-config)
4755 ("xsltproc" ,libxslt)))
4757 `(("accountsservice" ,accountsservice)
4758 ("clutter-gtk" ,clutter-gtk)
4759 ("colord-gtk" ,colord-gtk)
4762 ("docbook-xsl" ,docbook-xsl)
4763 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
4764 ("gnome-bluetooth" ,gnome-bluetooth)
4765 ("gnome-desktop" ,gnome-desktop)
4766 ("gnome-online-accounts" ,gnome-online-accounts)
4767 ("gnome-settings-daemon" ,gnome-settings-daemon)
4770 ("libcanberra" ,libcanberra)
4771 ("libgudev" ,libgudev)
4772 ("libgtop" ,libgtop)
4773 ("libpwquality" ,libpwquality)
4774 ("libsoup" ,libsoup)
4775 ("libxml2" ,libxml2)
4776 ("libwacom" ,libwacom)
4778 ("mit-krb5" ,mit-krb5)
4779 ("modem-manager" ,modem-manager)
4780 ("network-manager-applet" ,network-manager-applet)
4782 ("pulseaudio" ,pulseaudio)
4783 ("smbclient" ,samba)
4785 ("upower" ,upower)))
4786 (synopsis "Utilities to configure the GNOME desktop")
4787 (home-page "https://www.gnome.org/")
4789 "This package contains configuration applets for the GNOME desktop,
4790 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4791 properties, sound setup, desktop theme and background, user interface
4792 properties, screen resolution, and other GNOME parameters.")
4793 (license license:gpl2+)))
4795 (define-public gnome-shell
4797 (name "gnome-shell")
4801 (uri (string-append "mirror://gnome/sources/" name "/"
4802 (version-major+minor version) "/"
4803 name "-" version ".tar.xz"))
4806 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
4807 (build-system glib-or-gtk-build-system)
4810 (modify-phases %standard-phases
4812 (lambda* (#:key outputs #:allow-other-keys)
4813 (let* ((out (assoc-ref outputs "out"))
4814 (keysdir (string-append
4815 out "/share/gnome-control-center/keybindings")))
4816 (zero? (system* "make"
4817 (string-append "keysdir=" keysdir)
4820 'install 'wrap-programs
4821 (lambda* (#:key outputs #:allow-other-keys)
4822 (let ((out (assoc-ref outputs "out"))
4823 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4824 (python-path (getenv "PYTHONPATH")))
4825 (wrap-program (string-append out "/bin/gnome-shell")
4826 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4829 (wrap-program (string-append out "/bin/" prog)
4830 `("PYTHONPATH" ":" prefix (,python-path))
4831 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4832 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4835 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4836 ("gobject-introspection" ,gobject-introspection)
4837 ("intltool" ,intltool)
4838 ("pkg-config" ,pkg-config)
4840 ("xsltproc" ,libxslt)))
4842 `(("accountsservice" ,accountsservice)
4843 ("caribou" ,caribou)
4844 ("docbook-xsl" ,docbook-xsl)
4845 ("evolution-data-server" ,evolution-data-server)
4849 ("gnome-bluetooth" ,gnome-bluetooth)
4850 ("gnome-control-center" ,gnome-control-center)
4851 ("gnome-desktop" ,gnome-desktop)
4852 ("gnome-settings-daemon" ,gnome-settings-daemon)
4853 ("gst-plugins-base" ,gst-plugins-base)
4855 ("libcanberra" ,libcanberra)
4856 ("libcroco" ,libcroco)
4857 ("libgweather" ,libgweather)
4858 ("libsoup" ,libsoup)
4859 ("mesa-headers" ,mesa-headers)
4861 ("network-manager-applet" ,network-manager-applet)
4863 ("pulseaudio" ,pulseaudio)
4864 ("python-pygobject" ,python-pygobject)
4865 ("startup-notification" ,startup-notification)
4866 ("telepathy-logger" ,telepathy-logger)
4868 ;; XXX: required by libgjs.la.
4869 ("readline" ,readline)))
4870 (synopsis "Desktop shell for GNOME")
4871 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4873 "GNOME Shell provides core user interface functions for the GNOME desktop,
4874 like switching to windows and launching applications.")
4875 (license license:gpl2+)))
4877 (define-public gtk-vnc
4884 (uri (string-append "mirror://gnome/sources/" name "/"
4885 (version-major+minor version) "/"
4886 name "-" version ".tar.xz"))
4889 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
4890 (build-system gnu-build-system)
4892 '(#:configure-flags '("--with-gtk=3.0")))
4894 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4896 `(("cyrus-sasl" ,cyrus-sasl)
4898 ("libgcrypt" ,libgcrypt)
4899 ("pulseaudio" ,pulseaudio)))
4901 `(("glib:bin" ,glib "bin")
4902 ("gobject-introspection" ,gobject-introspection)
4903 ("intltool" ,intltool)
4904 ("pkg-config" ,pkg-config)
4906 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4907 (synopsis "VNC viewer widget for GTK+")
4909 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4910 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4911 GTK-VNC implements client side RFB protocol and authentication extensions such
4912 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4913 (license license:lgpl2.1+)))
4915 (define-public nautilus
4921 (uri (string-append "mirror://gnome/sources/" name "/"
4922 (version-major+minor version) "/"
4923 name "-" version ".tar.xz"))
4926 "1bnalv0ljdjzqzvh3rfyg7r4z8vdbq1gdard5q68riqdi2dnfvld"))))
4927 (build-system glib-or-gtk-build-system)
4930 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4931 ;; XXX: FAIL: check-nautilus
4932 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4935 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4936 ("gobject-introspection" ,gobject-introspection)
4937 ("intltool" ,intltool)
4938 ("pkg-config" ,pkg-config)))
4943 ("gnome-desktop" ,gnome-desktop)
4944 ;; XXX: gtk+ is required by libnautilus-extension.pc
4946 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4948 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4950 ("libexif" ,libexif)
4951 ("libxml2" ,libxml2)))
4952 (synopsis "File manager for GNOME")
4953 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4955 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4956 design and behaviour, giving the user a simple way to navigate and manage its
4958 (license license:gpl2+)))
4960 (define-public baobab
4967 "mirror://gnome/sources/" name "/"
4968 (version-major+minor version) "/"
4969 name "-" version ".tar.xz"))
4972 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4973 (build-system glib-or-gtk-build-system)
4975 `(("intltool" ,intltool)
4976 ("pkg-config" ,pkg-config)
4977 ("itstool" ,itstool)
4978 ("xmllint" ,libxml2)
4979 ("glib" ,glib "bin")
4983 (synopsis "Disk usage analyzer for GNOME")
4985 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4986 usage in the GNOME desktop environment. It can easily scan device volumes or
4987 a specific user-requested directory branch (local or remote). Once the scan
4988 is complete it provides a graphical representation of each selected folder.")
4989 (home-page "https://wiki.gnome.org/Apps/Baobab")
4990 (license license:gpl2+)))
4992 (define-public gnome-backgrounds
4994 (name "gnome-backgrounds")
4999 (uri (string-append "mirror://gnome/sources/" name "/"
5000 (version-major+minor version) "/"
5001 name "-" version ".tar.xz"))
5004 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
5005 (build-system glib-or-gtk-build-system)
5007 `(("intltool" ,intltool)))
5008 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5009 (synopsis "Background images for the GNOME desktop")
5011 "GNOME backgrounds package contains a collection of graphics files which
5012 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5013 the package creates the proper framework and directory structure so that you
5014 can add your own files to the collection.")
5015 (license (list license:gpl2+
5018 license:cc-by-sa3.0))))
5020 (define-public gnome-screenshot
5022 (name "gnome-screenshot")
5027 (uri (string-append "mirror://gnome/sources/" name "/"
5028 (version-major+minor version) "/"
5029 name "-" version ".tar.xz"))
5032 "0hz1ywgb5vbfqr0p0cr20hmz5b11msyi3psanszdnv0lhxl9pa06"))))
5033 (build-system glib-or-gtk-build-system)
5035 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5036 ("intltool" ,intltool)
5037 ("pkg-config" ,pkg-config)))
5040 ("libcanberra" ,libcanberra)
5042 ("libxext" ,libxext)))
5043 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5044 (synopsis "Take pictures of your screen")
5046 "GNOME Screenshot is a utility used for taking screenshots of the entire
5047 screen, a window or a user defined area of the screen, with optional
5048 beautifying border effects.")
5049 (license license:gpl2+)))
5051 (define-public dconf-editor
5053 (name "dconf-editor")
5058 (uri (string-append "mirror://gnome/sources/" name "/"
5059 (version-major+minor version) "/"
5060 name "-" version ".tar.xz"))
5063 "0yf553bd9l030shhs0jkl5gvkzkfxbxxm56xv0l0nmbplaci8wm8"))))
5064 (build-system glib-or-gtk-build-system)
5067 (modify-phases %standard-phases
5068 (add-before 'install 'skip-gtk-update-icon-cache
5070 ;; Don't create 'icon-theme.cache'.
5071 (substitute* "editor/Makefile"
5072 (("gtk-update-icon-cache") "true"))
5075 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5076 ("intltool" ,intltool)
5077 ("pkg-config" ,pkg-config)))
5081 ("libxml2" ,libxml2)))
5082 (home-page "https://git.gnome.org/browse/dconf-editor")
5083 (synopsis "Graphical editor for GNOME's dconf configuration system")
5085 "Dconf-editor is a graphical tool for browsing and editing the dconf
5086 configuration system for GNOME. It allows users to configure desktop
5087 software that do not provide their own configuration interface.")
5088 (license license:lgpl2.1+)))
5090 (define-public gnome
5093 (version (package-version gnome-shell))
5095 (build-system trivial-build-system)
5096 (arguments '(#:builder (mkdir %output)))
5098 ;; TODO: Add more packages according to:
5099 ;; <https://packages.debian.org/jessie/gnome-core>.
5100 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5102 ("font-cantarell" ,font-cantarell)
5103 ("at-spi2-core" ,at-spi2-core)
5106 ("desktop-file-utils" ,desktop-file-utils)
5108 ("epiphany" ,epiphany)
5110 ("file-roller" ,file-roller)
5112 ("glib-networking" ,glib-networking)
5113 ("gnome-backgrounds" ,gnome-backgrounds)
5114 ("gnome-control-center" ,gnome-control-center)
5115 ("gnome-keyring" ,gnome-keyring)
5116 ("gnome-session" ,gnome-session)
5117 ("gnome-settings-daemon" ,gnome-settings-daemon)
5118 ("gnome-shell" ,gnome-shell)
5119 ("gnome-terminal" ,gnome-terminal)
5120 ("gnome-themes-standard" ,gnome-themes-standard)
5122 ("hicolor-icon-theme" ,hicolor-icon-theme)
5123 ("nautilus" ,nautilus)
5124 ("pinentry-gnome3" ,pinentry-gnome3)
5125 ("pulseaudio" ,pulseaudio)
5126 ("shared-mime-info" ,shared-mime-info)
5129 ("zenity" ,zenity)))
5130 (synopsis "The GNU desktop environment")
5131 (home-page "https://www.gnome.org/")
5133 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5134 applications for browsing the web, editing text and images, creating
5135 documents and diagrams, playing media, scanning, and much more.")
5136 (license license:gpl2+)))
5138 (define-public byzanz
5139 ;; The last stable release of Byzanz was in 2011, but there have been many
5140 ;; useful commits made to the Byzanz repository since then that it would be
5141 ;; silly to use such an old release.
5142 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5145 (version (string-append "0.2-1." (string-take commit 7)))
5149 (url "git://git.gnome.org/byzanz")
5153 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5154 (build-system glib-or-gtk-build-system)
5157 (modify-phases %standard-phases
5158 (add-after 'unpack 'bootstrap
5160 ;; The build system cleverly detects that we're not building from
5161 ;; a release tarball and turns on -Werror for GCC.
5162 ;; Unsurprisingly, there is a warning during compilation that
5163 ;; causes the build to fail unnecessarily, so we remove the flag.
5164 (substitute* '("configure.ac")
5166 ;; The autogen.sh script in gnome-common will run ./configure
5167 ;; by default, which is problematic because source shebangs
5168 ;; have not yet been patched.
5169 (setenv "NOCONFIGURE" "t")
5170 (zero? (system* "sh" "autogen.sh")))))))
5172 `(("autoconf" ,autoconf)
5173 ("automake" ,automake)
5174 ("gnome-common" ,gnome-common)
5175 ("intltool" ,intltool)
5176 ("libtool" ,libtool)
5177 ("pkg-config" ,pkg-config)
5181 ("gstreamer" ,gstreamer)
5182 ("gst-plugins-base" ,gst-plugins-base)
5184 (synopsis "Desktop recording program")
5185 (description "Byzanz is a simple desktop recording program with a
5186 command-line interface. It can record part or all of an X display for a
5187 specified duration and save it as a GIF encoded animated image file.")
5188 (home-page "https://git.gnome.org/browse/byzanz")
5189 (license license:gpl2+))))
5191 (define-public libzapojit
5197 (uri (string-append "mirror://gnome/sources/" name "/"
5198 (version-major+minor version) "/"
5199 name "-" version ".tar.xz"))
5202 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5203 (build-system gnu-build-system)
5205 `(("gobject-introspection" ,gobject-introspection)
5206 ("intltool" ,intltool)
5207 ("pkg-config" ,pkg-config)))
5209 `(("gnome-online-accounts" ,gnome-online-accounts)
5210 ("json-glib" ,json-glib)
5212 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5213 (synopsis "Library for accessing SkyDrive and Hotmail")
5215 "Libzapojit is a GLib-based library for accessing online service APIs of
5216 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5217 (license license:lgpl2.1+)))
5219 (define-public gnome-calendar
5221 (name "gnome-calendar")
5225 (uri (string-append "mirror://gnome/sources/" name "/"
5226 (version-major+minor version) "/"
5227 name "-" version ".tar.xz"))
5230 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5231 (build-system glib-or-gtk-build-system)
5233 `(("intltool" ,intltool)
5234 ("pkg-config" ,pkg-config)))
5237 ("desktop-file-utils" ,desktop-file-utils)
5238 ("evolution-data-server" ,evolution-data-server)
5239 ("gnome-online-accounts" ,gnome-online-accounts)))
5240 (home-page "https://wiki.gnome.org/Apps/Calendar")
5241 (synopsis "GNOME's calendar application")
5243 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5244 desktop. It supports multiple calendars, monthly view and yearly view.")
5245 (license license:gpl3+)))
5247 (define-public gnome-dictionary
5249 (name "gnome-dictionary")
5253 (uri (string-append "mirror://gnome/sources/" name "/"
5254 (version-major+minor version) "/"
5255 name "-" version ".tar.xz"))
5258 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5259 (build-system glib-or-gtk-build-system)
5261 `(("glib:bin" ,glib "bin")
5262 ("gobject-introspection" ,gobject-introspection)
5263 ("intltool" ,intltool)
5264 ("itstool" ,itstool)
5265 ("pkg-config" ,pkg-config)
5266 ("xmllint" ,libxml2)))
5268 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5270 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5271 (synopsis "Look up words in dictionary sources")
5273 "GNOME Dictionary can look for the definition or translation of a word in
5274 existing databases over the internet.")
5275 (license license:gpl3+)))
5277 (define-public gnome-tweak-tool
5279 (name "gnome-tweak-tool")
5283 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5284 (version-major+minor version) "/"
5285 "gnome-tweak-tool-" version ".tar.xz"))
5287 (search-patch "gnome-tweak-tool-search-paths.patch")))
5290 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5291 (build-system glib-or-gtk-build-system)
5293 `(#:configure-flags '("--localstatedir=/tmp"
5294 "--sysconfdir=/tmp")
5295 #:imported-modules ((guix build python-build-system)
5296 ,@%glib-or-gtk-build-system-modules)
5297 #:phases (modify-phases %standard-phases
5298 (add-after 'install 'wrap-program
5299 (lambda* (#:key outputs #:allow-other-keys)
5300 (let ((out (assoc-ref outputs "out"))
5301 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5302 (wrap-program (string-append out "/bin/gnome-tweak-tool")
5303 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5305 (add-after 'install 'wrap
5306 (@@ (guix build python-build-system) wrap)))))
5308 `(("intltool" ,intltool)
5309 ("pkg-config" ,pkg-config)))
5311 `(("python" ,python-2)
5312 ("python2-pygobject" ,python2-pygobject)
5313 ("gnome-desktop" ,gnome-desktop)
5314 ("libsoup" ,libsoup)
5315 ("libnotify" ,libnotify)
5316 ("gobject-introspection" ,gobject-introspection)
5317 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5319 (synopsis "Customize advanced GNOME 3 options")
5320 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5322 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5323 GNOME 3. This includes things like the fonts used in user interface elements,
5324 alternative user interface themes, changes in window management behavior,
5325 GNOME Shell appearance and extension, etc.")
5326 (license license:gpl3+)))
5328 (define-public gnome-shell-extensions
5330 (name "gnome-shell-extensions")
5334 (uri (string-append "mirror://gnome/sources/" name "/"
5335 (version-major+minor version) "/"
5336 name "-" version ".tar.xz"))
5339 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5340 (build-system gnu-build-system)
5342 '(#:configure-flags '("--enable-extensions=all")))
5344 `(("intltool" ,intltool)
5345 ("pkg-config" ,pkg-config)))
5348 ("glib" ,glib "bin")))
5349 (synopsis "Extensions for GNOME Shell")
5350 (description "GNOME Shell extensions modify and extend GNOME Shell
5351 functionality and behavior.")
5352 (home-page "https://extensions.gnome.org/")
5353 (license license:gpl3+)))
5355 (define-public arc-theme
5358 (version "20161119")
5361 (uri (string-append "https://github.com/horst3180/arc-theme"
5362 "/archive/" version ".tar.gz"))
5363 (file-name (string-append name "-" version ".tar.gz"))
5366 "1kbhaxmydyip3vdw4kf8rk776jcd9wf0w7z6h2i4naxdn4rsnw54"))))
5367 (build-system gnu-build-system)
5370 (modify-phases %standard-phases
5371 (add-after 'unpack 'bootstrap
5373 (zero? (system* "autoreconf" "-vif")))))))
5375 `(("autoconf" ,autoconf)
5376 ("automake" ,automake)
5377 ("pkg-config" ,pkg-config)))
5380 (synopsis "A flat GTK+ theme with transparent elements")
5381 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5382 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5383 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5384 (home-page "https://github.com/horst3180/arc-theme")
5385 ;; No "or later" language found.
5386 (license license:gpl3)))
5388 (define-public moka-icon-theme
5390 (name "moka-icon-theme")
5394 (uri (string-append "https://github.com/moka-project"
5395 "/moka-icon-theme/archive/v"
5397 (file-name (string-append name "-" version ".tar.gz"))
5400 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5401 (build-system gnu-build-system)
5404 (modify-phases %standard-phases
5405 (add-after 'unpack 'patch-makefile.am
5407 (substitute* '("Makefile.am")
5408 (("\\$\\(DESTDIR\\)/usr/share")
5411 (add-after 'patch-makefile.am 'bootstrap
5413 (zero? (system* "autoreconf" "-vif")))))))
5415 `(("autoconf" ,autoconf)
5416 ("automake" ,automake)))
5417 (synopsis "Moka icon theme")
5418 (description "Moka is a stylized desktop icon set, designed to be clear,
5419 simple and consistent.")
5420 (home-page "http://snwh.org/moka")
5421 (license license:gpl3+)))
5423 (define-public arc-icon-theme
5425 (name "arc-icon-theme")
5426 (version "20160605")
5429 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5430 "/archive/" version ".tar.gz"))
5431 (file-name (string-append name "-" version ".tar.gz"))
5434 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5435 (build-system gnu-build-system)
5438 (modify-phases %standard-phases
5439 (add-after 'unpack 'bootstrap
5441 (zero? (system* "autoreconf" "-vif")))))))
5443 `(("autoconf" ,autoconf)
5444 ("automake" ,automake)))
5445 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5447 `(("moka-icon-theme" ,moka-icon-theme)))
5448 (synopsis "Arc icon theme")
5449 (description "The Arc icon theme provides a set of icons matching the
5450 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5451 the Moka icon theme.")
5452 (home-page "https://github.com/horst3180/arc-icon-theme")
5453 (license license:gpl3+)))
5455 (define-public folks
5462 "mirror://gnome/sources/" name "/"
5463 (version-major+minor version) "/"
5464 name "-" version ".tar.xz"))
5467 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5468 (build-system glib-or-gtk-build-system)
5471 ("dbus-glib" ,dbus-glib)
5472 ("evolution-data-server" ,evolution-data-server)
5475 ("telepathy-glib" ,telepathy-glib)))
5477 `(("gobject-introspection" ,gobject-introspection)
5478 ("intltool" ,intltool)
5479 ("pkg-config" ,pkg-config)
5481 (synopsis "Library to aggregate data about people")
5482 (description "Libfolks is a library that aggregates information about people
5483 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5484 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5485 etc.) to create metacontacts. It's written in Vala, which generates C code when
5487 (home-page "https://wiki.gnome.org/Projects/Folks")
5488 (license license:lgpl2.1+)))
5490 (define-public gfbgraph
5497 "mirror://gnome/sources/" name "/"
5498 (version-major+minor version) "/"
5499 name "-" version ".tar.xz"))
5502 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5503 (build-system glib-or-gtk-build-system)
5505 `(#:tests? #f ; Tests appear to require the network.
5506 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5507 #:configure-flags '("--disable-gtk-doc"
5509 "--enable-introspection")))
5511 `(("pkg-config" ,pkg-config)
5512 ("gobject-introspection" ,gobject-introspection)))
5514 `(("json-glib" ,json-glib)
5515 ("gnome-online-accounts" ,gnome-online-accounts)
5517 (synopsis "GLib/GObject wrapper for the Facebook API")
5518 (description "This library allows you to use the Facebook API from
5519 GLib/GObject code.")
5520 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5521 (license license:lgpl2.1+)))
5523 (define-public libgnomekbd
5525 (name "libgnomekbd")
5529 (uri (string-append "mirror://gnome/sources/" name "/"
5530 (version-major+minor version) "/"
5531 name "-" version ".tar.xz"))
5534 "1pvpbljvxc0riamraiflnm05dpb6i4vlmqqgdh74xggbpzd302rl"))))
5535 (build-system gnu-build-system)
5537 `(("pkg-config" ,pkg-config)
5538 ("glib" ,glib "bin")
5539 ("intltool" ,intltool)))
5541 ;; Referred to in .h files and .pc.
5544 ("libxklavier" ,libxklavier)))
5545 (home-page "https://www.gnome.org")
5546 (synopsis "GNOME keyboard configuration library")
5548 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5549 environment, which can notably display keyboard layouts.")
5550 (license license:lgpl2.0+)))
5552 ;;; This package is no longer maintained:
5553 ;;; https://wiki.gnome.org/Attic/LibUnique
5554 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5555 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5556 (define-public libunique
5562 (uri (string-append "mirror://gnome/sources/" name "/"
5563 (version-major+minor version) "/"
5564 name "-" version ".tar.xz"))
5567 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5568 (build-system glib-or-gtk-build-system)
5570 `(#:configure-flags '("--disable-static"
5571 "--disable-dbus" ; use gdbus
5572 "--enable-introspection")))
5574 `(("pkg-config" ,pkg-config)
5575 ("gobject-introspection" ,gobject-introspection)
5576 ("glib:bin" ,glib "bin")
5577 ("gtk-doc" ,gtk-doc)))
5579 ;; Referred to in .h files and .pc.
5581 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5582 (synopsis "Library for writing single instance applications")
5584 "Libunique is a library for writing single instance applications. If you
5585 launch a single instance application twice, the second instance will either just
5586 quit or will send a message to the running instance. Libunique makes it easy to
5587 write this kind of application, by providing a base class, taking care of all
5588 the IPC machinery needed to send messages to a running instance, and also
5589 handling the startup notification side.")
5590 (license license:lgpl2.1+)))
5592 (define-public gnome-calculator
5594 (name "gnome-calculator")
5599 (uri (string-append "mirror://gnome/sources/" name "/"
5600 (version-major+minor version) "/"
5601 name "-" version ".tar.xz"))
5604 "03il7xl4yr6xbzj6x1lbl16yzlb166c9h9wny1w7mj9dccnz99wr"))))
5605 (build-system glib-or-gtk-build-system)
5607 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5608 ("intltool" ,intltool)
5609 ("itstool" ,itstool)
5610 ("pkg-config" ,pkg-config)))
5612 `(("gtksourceview" ,gtksourceview)
5613 ("libsoup" ,libsoup)
5615 (home-page "https://wiki.gnome.org/Apps/Calculator")
5616 (synopsis "Desktop calculator")
5618 "Calculator is an application that solves mathematical equations and
5619 is suitable as a default application in a Desktop environment.")
5620 (license license:gpl3)))
5629 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5630 name "-" version ".tar.bz2"))
5633 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5634 (build-system gnu-build-system)
5636 `(("intltool" ,intltool)
5637 ("pkg-config" ,pkg-config)))
5640 ("gtksourceview" ,gtksourceview)
5642 (home-page "https://wiki.gnome.org/Apps/Xpad")
5643 (synopsis "Virtual sticky note")
5645 "Xpad is a sticky note that strives to be simple, fault tolerant,
5646 and customizable. Xpad consists of independent pad windows, each is
5647 basically a text box in which notes can be written.")
5648 (license license:gpl3+)))
5650 (define-public gucharmap
5657 (uri (string-append "mirror://gnome/sources/" name "/"
5658 (version-major+minor version) "/"
5659 name "-" version ".tar.xz"))
5662 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
5663 (build-system gnu-build-system)
5665 `(("desktop-file-utils" ,desktop-file-utils)
5666 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
5667 ("gobject-introspection" ,gobject-introspection)
5668 ("intltool" ,intltool)
5669 ("itstool" ,itstool)
5670 ("pkg-config" ,pkg-config)))
5673 ("xmllint" ,libxml2)))
5674 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
5675 (synopsis "Unicode character picker and font browser")
5677 "This program allows you to browse through all the available Unicode
5678 characters and categories for the installed fonts, and to examine their
5679 detailed properties. It is an easy way to find the character you might
5680 only know by its Unicode name or code point.")
5681 (license license:gpl3+)))
5683 (define-public bluefish
5690 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
5691 name "-" version ".tar.gz"))
5694 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
5695 (build-system gnu-build-system)
5697 `(("desktop-file-utils" ,desktop-file-utils)
5698 ("intltool" ,intltool)
5699 ("pkg-config" ,pkg-config)))
5701 `(("enchant" ,enchant)
5703 ("python" ,python-2)
5704 ("xmllint" ,libxml2)
5705 ("gucharmap" ,gucharmap)))
5706 (home-page "http://bluefish.openoffice.nl")
5707 (synopsis "Web development studio")
5709 "Bluefish is an editor targeted towards programmers and web developers,
5710 with many options to write web sites, scripts and other code.
5711 Bluefish supports many programming and markup languages.")
5712 (license license:gpl3+)))
5714 (define-public gnome-system-monitor
5716 (name "gnome-system-monitor")
5721 (uri (string-append "mirror://gnome/sources/" name "/"
5722 (version-major+minor version) "/"
5723 name "-" version ".tar.xz"))
5726 "1ya41b58syf8g5pc12gw1xm6jhdx3crap803bjwm086r7x2an8wv"))))
5727 (build-system glib-or-gtk-build-system)
5729 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
5730 ("intltool" ,intltool)
5731 ("itstool" ,itstool)
5732 ("libgtop" ,libgtop)
5733 ("pkg-config" ,pkg-config)))
5735 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
5738 ("librsvg" ,librsvg)
5739 ("libxml2" ,libxml2)))
5740 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
5741 (synopsis "Process viewer and system resource monitor for GNOME")
5743 "GNOME System Monitor is a GNOME process viewer and system monitor with
5744 an attractive, easy-to-use interface. It has features, such as a tree view
5745 for process dependencies, icons for processes, the ability to hide processes,
5746 graphical time histories of CPU/memory/swap usage and the ability to
5747 kill/reinice processes.")
5748 (license license:gpl2+)))