1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
26 ;;; This file is part of GNU Guix.
28 ;;; GNU Guix is free software; you can redistribute it and/or modify it
29 ;;; under the terms of the GNU General Public License as published by
30 ;;; the Free Software Foundation; either version 3 of the License, or (at
31 ;;; your option) any later version.
33 ;;; GNU Guix is distributed in the hope that it will be useful, but
34 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
35 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 ;;; GNU General Public License for more details.
38 ;;; You should have received a copy of the GNU General Public License
39 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
41 (define-module (gnu packages gnome)
42 #:use-module ((guix licenses) #:prefix license:)
43 #:use-module (guix packages)
44 #:use-module (guix download)
45 #:use-module (guix git-download)
46 #:use-module (guix utils)
47 #:use-module (guix build-system gnu)
48 #:use-module (guix build-system glib-or-gtk)
49 #:use-module (guix build-system trivial)
50 #:use-module (gnu packages)
51 #:use-module (gnu packages admin)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages avahi)
54 #:use-module (gnu packages base)
55 #:use-module (gnu packages bison)
56 #:use-module (gnu packages calendar)
57 #:use-module (gnu packages check)
58 #:use-module (gnu packages cups)
59 #:use-module (gnu packages curl)
60 #:use-module (gnu packages cyrus-sasl)
61 #:use-module (gnu packages databases)
62 #:use-module (gnu packages djvu)
63 #:use-module (gnu packages dns)
64 #:use-module (gnu packages flex)
65 #:use-module (gnu packages docbook)
66 #:use-module (gnu packages enchant)
67 #:use-module (gnu packages fontutils)
68 #:use-module (gnu packages game-development)
69 #:use-module (gnu packages gettext)
70 #:use-module (gnu packages glib)
71 #:use-module (gnu packages gnupg)
72 #:use-module (gnu packages gnuzilla)
73 #:use-module (gnu packages gstreamer)
74 #:use-module (gnu packages gtk)
75 #:use-module (gnu packages gperf)
76 #:use-module (gnu packages guile)
77 #:use-module (gnu packages openldap)
78 #:use-module (gnu packages pdf)
79 #:use-module (gnu packages polkit)
80 #:use-module (gnu packages popt)
81 #:use-module (gnu packages ghostscript)
82 #:use-module (gnu packages ibus)
83 #:use-module (gnu packages iso-codes)
84 #:use-module (gnu packages libcanberra)
85 #:use-module (gnu packages linux)
86 #:use-module (gnu packages libusb)
87 #:use-module (gnu packages lirc)
88 #:use-module (gnu packages lua)
89 #:use-module (gnu packages image)
90 #:use-module (gnu packages networking)
91 #:use-module (gnu packages password-utils)
92 #:use-module (gnu packages perl)
93 #:use-module (gnu packages photo)
94 #:use-module (gnu packages pkg-config)
95 #:use-module (gnu packages pulseaudio)
96 #:use-module (gnu packages python)
97 #:use-module (gnu packages scanner)
98 #:use-module (gnu packages ssh)
99 #:use-module (gnu packages xml)
100 #:use-module (gnu packages geeqie)
101 #:use-module (gnu packages gl)
102 #:use-module (gnu packages compression)
103 #:use-module (gnu packages tex)
104 #:use-module (gnu packages tls)
105 #:use-module (gnu packages web)
106 #:use-module (gnu packages webkit)
107 #:use-module (gnu packages xorg)
108 #:use-module (gnu packages xdisorg)
109 #:use-module (gnu packages freedesktop)
110 #:use-module (gnu packages mail)
111 #:use-module (gnu packages mit-krb5)
112 #:use-module (gnu packages multiprecision)
113 #:use-module (gnu packages backup)
114 #:use-module (gnu packages nettle)
115 #:use-module (gnu packages ncurses)
116 #:use-module (gnu packages video)
117 #:use-module (gnu packages cdrom)
118 #:use-module (gnu packages samba)
119 #:use-module (gnu packages readline)
120 #:use-module (gnu packages fonts)
121 #:use-module (srfi srfi-1))
123 (define-public brasero
129 (uri (string-append "mirror://gnome/sources/" name "/"
130 (version-major+minor version) "/"
131 name "-" version ".tar.xz"))
134 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
135 (build-system glib-or-gtk-build-system)
137 `(#:configure-flags (list
138 (string-append "--with-girdir="
139 (assoc-ref %outputs "out")
141 (string-append "--with-typelibdir="
142 (assoc-ref %outputs "out")
143 "/lib/girepository-1.0"))))
145 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
147 `(("intltool" ,intltool)
148 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
149 ("gobject-introspection" ,gobject-introspection)
150 ("pkg-config" ,pkg-config)))
153 ("gnome-doc-utils" ,gnome-doc-utils)
154 ("gstreamer" ,gstreamer)
155 ("gst-plugins-base" ,gst-plugins-base)
158 ("libcanberra" ,libcanberra)
160 ("libnotify" ,libnotify)
164 ("totem-pl-parser" ,totem-pl-parser)))
165 (home-page "https://projects.gnome.org/brasero/")
166 (synopsis "CD/DVD burning tool for Gnome")
167 (description "Brasero is an application to burn CD/DVD for the Gnome
168 Desktop. It is designed to be as simple as possible and has some unique
169 features to enable users to create their discs easily and quickly.")
170 (license license:gpl2+)))
173 ;; This version from GNOME's repository includes fixes for compiling with
174 ;; recent versions of the build tools. The latest activity on the
175 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
177 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
180 (version (string-append "0.97.2-" (string-take commit 7)))
184 (url "https://git.gnome.org/browse/dia")
186 (file-name (string-append name "-" version "-checkout"))
189 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
190 (build-system gnu-build-system)
192 `(("glib" ,glib "bin")
194 ("gdk-pixbuf" ,gdk-pixbuf)
197 ("freetype" ,freetype)
198 ("libart-lgpl" ,libart-lgpl)))
200 `(("intltool" ,intltool)
201 ("pkg-config" ,pkg-config)
202 ("automake" ,automake)
203 ("autoconf" ,autoconf)
206 ("python-wrapper" ,python-wrapper)))
209 (modify-phases %standard-phases
210 (add-before 'configure 'run-autogen
212 (system* "sh" "autogen.sh"))))))
213 (home-page "https://wiki.gnome.org/Apps/Dia")
214 (synopsis "Diagram creation for GNOME")
215 (description "Dia can be used to draw different types of diagrams, and
216 includes support for UML static structure diagrams (class diagrams), entity
217 relationship modeling, and network diagrams. The program supports various file
218 formats like PNG, SVG, PDF and EPS.")
219 (license license:gpl2+))))
221 (define-public gnome-common
223 (name "gnome-common")
228 (uri (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
233 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
234 (build-system gnu-build-system)
235 (home-page "https://www.gnome.org/")
236 (synopsis "Bootstrap GNOME modules built from Git")
237 (description "gnome-common contains various files needed to bootstrap
238 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
239 can be used to configure a source directory checked out from Git and some
240 commonly used macros.")
241 (license license:gpl2+)))
243 (define-public gnome-desktop
245 (name "gnome-desktop")
250 (uri (string-append "mirror://gnome/sources/" name "/"
251 (version-major+minor version) "/"
252 name "-" version ".tar.xz"))
255 "1cp2c6q1ybirfq6rqyfj5lr5vyqdizy730bfg5jqnflcmakjsb29"))))
256 (build-system gnu-build-system)
258 `(("gobject-introspection" ,gobject-introspection)
260 ("intltool" ,intltool)
261 ("pkg-config" ,pkg-config)
262 ("xmllint" ,libxml2)))
264 ;; Required by gnome-desktop-3.0.pc.
265 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
268 `(("gdk-pixbuf" ,gdk-pixbuf)
270 ("iso-codes" ,iso-codes)
273 ("libxkbfile" ,libxkbfile)
274 ("libxrandr" ,libxrandr)
275 ("xkeyboard-config" ,xkeyboard-config)))
276 (home-page "https://www.gnome.org/")
278 "Libgnome-desktop, gnome-about, and desktop-wide documents")
280 "The libgnome-desktop library provides API shared by several applications
281 on the desktop, but that cannot live in the platform for various reasons.
282 There is no API or ABI guarantee, although we are doing our best to provide
283 stability. Documentation for the API is available with gtk-doc.
285 The gnome-about program helps find which version of GNOME is installed.")
286 ; Some bits under the LGPL.
287 (license license:gpl2+)))
289 (define-public gnome-doc-utils
291 (name "gnome-doc-utils")
296 (uri (string-append "mirror://gnome/sources/" name "/"
297 (version-major+minor version) "/"
298 name "-" version ".tar.xz"))
301 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
302 (build-system gnu-build-system)
304 `(("intltool" ,intltool)
305 ("docbook-xml" ,docbook-xml-4.4)
306 ("python2-libxml2" ,python2-libxml2)
309 ("pkg-config" ,pkg-config)
310 ("python-2" ,python-2)))
311 (home-page "https://wiki.gnome.org/GnomeDocUtils")
313 "Documentation utilities for the Gnome project")
315 "Gnome-doc-utils is a collection of documentation utilities for the
316 Gnome project. It includes xml2po tool which makes it easier to translate
317 and keep up to date translations of documentation.")
318 (license license:gpl2+))) ; xslt under lgpl
326 (uri (string-append "mirror://gnome/sources/" name "/"
327 (version-major+minor version) "/"
328 name "-" version ".tar.xz"))
331 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
332 (build-system gnu-build-system)
334 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
336 #:phases (modify-phases %standard-phases
339 (lambda* (#:key inputs #:allow-other-keys)
340 (substitute* "build/tap-driver"
341 (("/usr/bin/env python") (which "python"))))))))
344 ("gnupg" ,gnupg) ;called as a child process during tests
345 ("libgcrypt" ,libgcrypt)))
347 `(("python" ,python-2) ;for tests
348 ("pkg-config" ,pkg-config)
350 ("gobject-introspection" ,gobject-introspection)
351 ("intltool" ,intltool)
352 ("xsltproc" ,libxslt)))
353 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
355 `(("p11-kit" ,p11-kit)
358 (home-page "http://www.gnome.org")
359 (synopsis "Libraries for displaying certificates and accessing key stores")
361 "The GCR package contains libraries used for displaying certificates and
362 accessing key stores. It also provides the viewer for crypto files on the
364 (license license:lgpl2.1+)))
366 (define-public libgnome-keyring
368 (name "libgnome-keyring")
372 (uri (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.xz"))
377 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
378 (build-system gnu-build-system)
380 `(("libgcrypt" ,libgcrypt)
383 `(("pkg-config" ,pkg-config)
385 ("intltool" ,intltool)))
387 ;; Referred to in .h files and .pc.
389 (home-page "http://www.gnome.org")
390 (synopsis "Accessing passwords from the GNOME keyring")
392 "Client library to access passwords from the GNOME keyring.")
394 ;; Though a couple of files are LGPLv2.1+.
395 (license license:lgpl2.0+)))
397 (define-public gnome-keyring
399 (name "gnome-keyring")
403 (uri (string-append "mirror://gnome/sources/" name "/"
404 (version-major+minor version) "/"
405 name "-" version ".tar.xz"))
408 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
409 (build-system gnu-build-system)
411 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
415 (string-append "--with-pkcs11-config="
416 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
417 (string-append "--with-pkcs11-modules="
418 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
420 (modify-phases %standard-phases
423 (lambda* (#:key inputs #:allow-other-keys)
424 (substitute* "build/tap-driver"
425 (("/usr/bin/env python") (which "python")))))
427 'configure 'fix-docbook
428 (lambda* (#:key inputs #:allow-other-keys)
429 (substitute* "docs/Makefile.am"
430 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
431 (string-append (assoc-ref inputs "docbook-xsl")
432 "/xml/xsl/docbook-xsl-"
433 ,(package-version docbook-xsl)
434 "/manpages/docbook.xsl")))
435 (setenv "XML_CATALOG_FILES"
436 (string-append (assoc-ref inputs "docbook-xml")
437 "/xml/dtd/docbook/catalog.xml")))))))
439 `(("libgcrypt" ,libgcrypt)
440 ("linux-pam" ,linux-pam)
444 `(("pkg-config" ,pkg-config)
446 ("python" ,python-2) ;for tests
447 ("intltool" ,intltool)
448 ("autoconf" ,autoconf)
449 ("automake" ,automake)
450 ("libxslt" ,libxslt) ;for documentation
451 ("docbook-xml" ,docbook-xml-4.2)
452 ("docbook-xsl" ,docbook-xsl)))
453 (home-page "http://www.gnome.org")
454 (synopsis "Daemon to store passwords and encryption keys")
456 "gnome-keyring is a program that keeps passwords and other secrets for
457 users. It is run as a daemon in the session, similar to ssh-agent, and other
458 applications locate it via an environment variable or D-Bus.
460 The program can manage several keyrings, each with its own master password,
461 and there is also a session keyring which is never stored to disk, but
462 forgotten when the session ends.")
463 (license license:lgpl2.1+)))
465 (define-public evince
471 (uri (string-append "mirror://gnome/sources/" name "/"
472 (version-major+minor version) "/"
473 name "-" version ".tar.xz"))
476 "0m80s98k4i463dclpyk01fqb91cawbb6vvcz5vq2974k6qqc4ypw"))))
477 (build-system glib-or-gtk-build-system)
479 `(#:configure-flags '("--disable-nautilus")
481 ;; FIXME: Tests fail with:
482 ;; ImportError: No module named gi.repository
483 ;; Where should that module come from?
486 (modify-phases %standard-phases
487 (add-before 'install 'skip-gtk-update-icon-cache
488 ;; Don't create 'icon-theme.cache'.
490 (substitute* "data/Makefile"
491 (("gtk-update-icon-cache") "true"))
494 `(("libspectre" ,libspectre)
495 ("djvulibre" ,djvulibre)
496 ("ghostscript" ,ghostscript)
500 ;; Add libgxps for XPS support.
501 ;; Build libkpathsea as a shared library for DVI support.
502 ;; ("libkpathsea" ,texlive-bin)
503 ("gnome-desktop" ,gnome-desktop)
504 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
505 ("libgnome-keyring" ,libgnome-keyring)
506 ("adwaita-icon-theme" ,adwaita-icon-theme)
507 ("gdk-pixbuf" ,gdk-pixbuf)
515 ("shared-mime-info" ,shared-mime-info)
517 ("libcanberra" ,libcanberra)
518 ("libsecret" ,libsecret)
520 ("dogtail" ,python2-dogtail)))
522 `(("itstool" ,itstool)
523 ("intltool" ,intltool)
525 ("pkg-config" ,pkg-config)
526 ("xmllint" ,libxml2)))
528 "http://www.gnome.org/projects/evince/")
529 (synopsis "GNOME's document viewer")
531 "Evince is a document viewer for multiple document formats. It
532 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
533 of Evince is to replace the multiple document viewers that exist
534 on the GNOME Desktop with a single simple application.")
535 (license license:gpl2+)))
537 (define-public gsettings-desktop-schemas
539 (name "gsettings-desktop-schemas")
544 (uri (string-append "mirror://gnome/sources/" name "/"
545 (version-major+minor version) "/"
546 name "-" version ".tar.xz"))
549 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
550 (build-system gnu-build-system)
554 `(("intltool" ,intltool)
555 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
556 ("gobject-introspection" ,gobject-introspection)
557 ("pkg-config" ,pkg-config)))
558 (home-page "https://launchpad.net/gsettings-desktop-schemas")
560 "GNOME settings for various desktop components")
562 "Gsettings-desktop-schemas contains a collection of GSettings schemas
563 for settings shared by various components of the GNOME desktop.")
564 (license license:lgpl2.1+)))
566 (define-public icon-naming-utils
568 (name "icon-naming-utils")
573 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
577 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
578 (build-system gnu-build-system)
581 ("perl-xml-simple" ,perl-xml-simple)))
585 'install 'set-load-paths
586 ;; Tell 'icon-name-mapping' where XML::Simple is.
587 (lambda* (#:key outputs #:allow-other-keys)
588 (let* ((out (assoc-ref outputs "out"))
589 (prog (string-append out "/libexec/icon-name-mapping")))
592 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
594 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
596 "Utility to implement the Freedesktop Icon Naming Specification")
598 "To help with the transition to the Freedesktop Icon Naming
599 Specification, the icon naming utility maps the icon names used by the
600 GNOME and KDE desktops to the icon names proposed in the specification.")
601 (license license:lgpl2.1+)))
603 (define-public desktop-file-utils
605 (name "desktop-file-utils")
609 (uri (string-append "https://www.freedesktop.org/software/" name
610 "/releases/" name "-" version ".tar.xz"))
613 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
614 (build-system gnu-build-system)
616 `(("pkg-config" ,pkg-config)))
619 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
620 (synopsis "Utilities for working with desktop entries")
622 "This package contains a few command line utilities for working with
625 desktop-file-validate: validates a desktop file and prints warnings/errors
626 about desktop entry specification violations.
628 desktop-file-install: installs a desktop file to the applications directory,
629 optionally munging it a bit in transit.
631 update-desktop-database: updates the database containing a cache of MIME types
632 handled by desktop files.")
633 (license license:gpl2+)))
635 (define-public gnome-icon-theme
637 (name "gnome-icon-theme")
642 (uri (string-append "mirror://gnome/sources/" name "/"
643 (version-major+minor version) "/"
644 name "-" version ".tar.xz"))
647 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
648 (build-system gnu-build-system)
651 ;; Don't create 'icon-theme.cache'.
652 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
653 (true (string-append coreutils "/bin/true")))
654 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
656 `(("icon-naming-utils" ,icon-naming-utils)
657 ("intltool" ,intltool)
658 ("pkg-config" ,pkg-config)))
659 (home-page "http://art.gnome.org/")
663 "Icons for the GNOME desktop.")
664 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
666 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
667 (define-public adwaita-icon-theme
668 (package (inherit gnome-icon-theme)
669 (name "adwaita-icon-theme")
673 (uri (string-append "mirror://gnome/sources/" name "/"
674 (version-major+minor version) "/"
675 name "-" version ".tar.xz"))
678 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))
680 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
682 (define-public shared-mime-info
684 (name "shared-mime-info")
688 (uri (string-append "https://freedesktop.org/~hadess/"
689 "shared-mime-info-" version ".tar.xz"))
692 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
693 (build-system gnu-build-system)
695 ;; The build system appears not to be parallel-safe.
696 '(#:parallel-build? #f))
699 ("libxml2" ,libxml2)))
701 `(("intltool" ,intltool)
702 ("pkg-config" ,pkg-config)))
703 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
704 (synopsis "Database of common MIME types")
706 "The shared-mime-info package contains the core database of common types
707 and the update-mime-database command used to extend it. It requires glib2 to
708 be installed for building the update command. Additionally, it uses intltool
709 for translations, though this is only a dependency for the maintainers. This
710 database is translated at Transifex.")
711 (license license:gpl2+)))
713 (define-public hicolor-icon-theme
715 (name "hicolor-icon-theme")
720 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
721 "hicolor-icon-theme-" version ".tar.gz"))
724 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
725 (build-system gnu-build-system)
727 `(#:tests? #f)) ; no check target
728 (home-page "http://icon-theme.freedesktop.org/releases/")
730 "Freedesktop icon theme")
732 "Freedesktop icon theme.")
733 (license license:gpl2)))
735 (define-public libnotify
742 (uri (string-append "mirror://gnome/sources/" name "/"
743 (version-major+minor version) "/"
744 name "-" version ".tar.xz"))
747 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
748 (build-system gnu-build-system)
750 `(("gdk-pixbuf" ,gdk-pixbuf)
755 `(("pkg-config" ,pkg-config)
757 ("gobject-introspection" ,gobject-introspection)))
758 (home-page "https://developer-next.gnome.org/libnotify/")
760 "GNOME desktop notification library")
762 "Libnotify is a library that sends desktop notifications to a
763 notification daemon, as defined in the Desktop Notifications spec. These
764 notifications can be used to inform the user about an event or display
765 some form of information without getting in the user's way.")
766 (license license:lgpl2.1+)))
768 (define-public libpeas
775 (uri (string-append "mirror://gnome/sources/" name "/"
776 (version-major+minor version) "/"
777 name "-" version ".tar.xz"))
780 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
781 (build-system gnu-build-system)
785 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
787 ("python-pygobject" ,python-pygobject)))
789 `(("pkg-config" ,pkg-config)
790 ("glib:bin" ,glib "bin")
791 ("gobject-introspection" ,gobject-introspection)
792 ("intltool" ,intltool)))
793 (home-page "https://wiki.gnome.org/Libpeas")
794 (synopsis "GObject plugin system")
796 "Libpeas is a gobject-based plugins engine, and is targetted at giving
797 every application the chance to assume its own extensibility. It also has a
798 set of features including, but not limited to: multiple extension points; on
799 demand (lazy) programming language support for C, Python and JS; simplicity of
801 (license license:lgpl2.0+)))
803 (define-public gtkglext
809 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
810 version "/gtkglext-" version ".tar.gz"))
812 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
813 (patches (search-patches
814 "gtkglext-disable-disable-deprecated.patch"))))
815 (build-system gnu-build-system)
816 (inputs `(("gtk+" ,gtk+-2)
821 (native-inputs `(("pkg-config" ,pkg-config)
822 ("glib" ,glib "bin")))
823 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
824 (home-page "https://projects.gnome.org/gtkglext")
825 (synopsis "OpenGL extension to GTK+")
826 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
827 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
828 API add-ons to make GTK+ widgets OpenGL-capable.")
829 (license license:lgpl2.1+)))
831 (define-public glade3
837 (uri (string-append "mirror://gnome/sources/" name "/"
838 (version-major+minor version) "/"
839 name "-" version ".tar.xz"))
842 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
843 (build-system glib-or-gtk-build-system)
845 `(#:tests? #f ; needs X, GL, and software rendering
847 (modify-phases %standard-phases
848 (add-before 'configure 'fix-docbook
849 (lambda* (#:key inputs #:allow-other-keys)
850 (substitute* "man/Makefile.in"
851 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
852 (string-append (assoc-ref inputs "docbook-xsl")
853 "/xml/xsl/docbook-xsl-"
854 ,(package-version docbook-xsl)
855 "/manpages/docbook.xsl")))
859 ("libxml2" ,libxml2)))
861 `(("intltool" ,intltool)
863 ("libxslt" ,libxslt) ;for xsltproc
864 ("docbook-xml" ,docbook-xml-4.2)
865 ("docbook-xsl" ,docbook-xsl)
867 ("pkg-config" ,pkg-config)))
868 (home-page "https://glade.gnome.org")
869 (synopsis "GTK+ rapid application development tool")
870 (description "Glade is a rapid application development (RAD) tool to
871 enable quick & easy development of user interfaces for the GTK+ toolkit and
872 the GNOME desktop environment.")
873 (license license:lgpl2.0+)))
875 (define-public libcroco
881 (uri (string-append "mirror://gnome/sources/" name "/"
882 (version-major+minor version) "/"
883 name "-" version ".tar.xz"))
886 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
887 (build-system gnu-build-system)
889 `(("pkg-config" ,pkg-config)))
894 (home-page "https://github.com/GNOME/libcroco")
895 (synopsis "CSS2 parsing and manipulation library")
897 "Libcroco is a standalone CSS2 parsing and manipulation library.
898 The parser provides a low level event driven SAC-like API and a CSS object
899 model like API. Libcroco provides a CSS2 selection engine and an experimental
900 XML/CSS rendering engine.")
903 (license license:lgpl2.1)))
905 (define-public libgsf
911 (uri (string-append "mirror://gnome/sources/" name "/"
912 (version-major+minor version) "/"
913 name "-" version ".tar.xz"))
916 "1q2i5p9s5zw0y0502risykrzkfma7p24n3mmh244scjy9f4kh1im"))))
917 (build-system gnu-build-system)
919 `(("intltool" ,intltool)
920 ("pkg-config" ,pkg-config)))
926 `(("gdk-pixbuf" ,gdk-pixbuf)
928 ("libxml2" ,libxml2)))
929 (home-page "http://www.gnome.org/projects/libgsf")
930 (synopsis "GNOME's Structured File Library")
932 "Libgsf aims to provide an efficient extensible I/O abstraction for
933 dealing with different structured file formats.")
936 (license license:lgpl2.1)))
938 (define-public librsvg
944 (uri (string-append "mirror://gnome/sources/" name "/"
945 (version-major+minor version) "/"
946 name "-" version ".tar.xz"))
949 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
950 (build-system gnu-build-system)
954 'configure 'pre-configure
955 (lambda* (#:key inputs #:allow-other-keys)
956 (substitute* "gdk-pixbuf-loader/Makefile.in"
957 ;; By default the gdk-pixbuf loader is installed under
958 ;; gdk-pixbuf's prefix. Work around that.
959 (("gdk_pixbuf_moduledir = .*$")
960 (string-append "gdk_pixbuf_moduledir = "
961 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
963 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
964 (("gdk_pixbuf_cache_file = .*$")
965 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
968 `(("pkg-config" ,pkg-config)
969 ("glib" ,glib "bin") ; glib-mkenums, etc.
970 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
973 ("libcroco" ,libcroco)
976 ("libxml2" ,libxml2)))
978 ;; librsvg-2.0.pc refers to all of that.
980 ("gdk-pixbuf" ,gdk-pixbuf)
982 (home-page "https://wiki.gnome.org/LibRsvg")
983 (synopsis "Render SVG files using Cairo")
985 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
987 (license license:lgpl2.0+)))
989 (define-public libidl
995 (uri (let ((upstream-name "libIDL"))
996 (string-append "mirror://gnome/sources/" upstream-name "/"
997 (version-major+minor version) "/"
998 upstream-name "-" version ".tar.bz2")))
1001 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1002 (build-system gnu-build-system)
1003 (inputs `(("glib" ,glib)))
1005 `(("pkg-config" ,pkg-config)
1008 (home-page "http://freecode.com/projects/libidl")
1009 (synopsis "Create trees of CORBA Interface Definition Language files")
1010 (description "Libidl is a library for creating trees of CORBA Interface
1011 Definition Language (idl) files, which is a specification for defining
1012 portable interfaces. libidl was initially written for orbit (the orb from the
1013 GNOME project, and the primary means of libidl distribution). However, the
1014 functionality was designed to be as reusable and portable as possible.")
1015 (license license:lgpl2.0+)))
1018 (define-public orbit2
1024 (uri (let ((upstream-name "ORBit2"))
1025 (string-append "mirror://gnome/sources/" upstream-name "/"
1026 (version-major+minor version) "/"
1027 upstream-name "-" version ".tar.bz2")))
1030 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1031 (build-system gnu-build-system)
1034 ;; The programmer kindly gives us a hook to turn off deprecation
1036 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1037 ;; ... which they then completly ignore !!
1040 'configure 'ignore-deprecations
1042 (substitute* "linc2/src/Makefile.in"
1043 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1045 (inputs `(("glib" ,glib)
1046 ("libidl" ,libidl)))
1048 `(("pkg-config" ,pkg-config)))
1049 (home-page "https://projects.gnome.org/orbit2/")
1050 (synopsis "CORBA 2.4-compliant Object Request Broker")
1051 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1052 featuring mature C, C++ and Python bindings.")
1053 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1054 ;; a version. SOME of the code files have licence notices for GPLv2+.
1055 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1056 (license license:gpl2+)))
1059 (define-public libbonobo
1065 (uri (string-append "mirror://gnome/sources/" name "/"
1066 (version-major+minor version)
1067 "/" name "-" version ".tar.bz2"))
1069 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1070 (patches (search-patches
1071 "libbonobo-activation-test-race.patch"))))
1072 (build-system gnu-build-system)
1074 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1076 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1077 ;; ... which they then completly ignore !!
1080 'configure 'ignore-deprecations
1082 (substitute* "activation-server/Makefile.in"
1083 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1085 (inputs `(("popt" ,popt)
1086 ("libxml2" ,libxml2)))
1087 ;; The following are Required by the .pc file
1090 ("orbit2" ,orbit2)))
1092 `(("intltool" ,intltool)
1093 ("pkg-config" ,pkg-config)
1094 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1097 (home-page "https://developer.gnome.org/libbonobo/")
1098 (synopsis "Framework for creating reusable components for use in GNOME applications")
1099 (description "Bonobo is a framework for creating reusable components for
1100 use in GNOME applications, built on top of CORBA.")
1101 ;; Licence not explicitly stated. Source files contain no licence notices.
1102 ;; Tarball contains text of both GPLv2 and LGPLv2
1103 ;; GPLv2 covers both conditions
1104 (license license:gpl2+)))
1107 (define-public gconf
1114 (let ((upstream-name "GConf"))
1115 (string-append "mirror://gnome/sources/" upstream-name "/"
1116 (version-major+minor version) "/"
1117 upstream-name "-" version ".tar.xz")))
1119 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1120 (build-system gnu-build-system)
1121 (inputs `(("dbus-glib" ,dbus-glib)
1122 ("libxml2" ,libxml2)))
1123 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1124 ("orbit2" ,orbit2)))
1126 `(("intltool" ,intltool)
1127 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1128 ("pkg-config" ,pkg-config)))
1129 (home-page "https://projects.gnome.org/gconf/")
1130 (synopsis "Store application preferences")
1131 (description "Gconf is a system for storing application preferences. It
1132 is intended for user preferences; not arbitrary data storage.")
1133 (license license:lgpl2.0+)
1134 (properties '((upstream-name . "GConf")))))
1137 (define-public gnome-mime-data
1139 (name "gnome-mime-data")
1143 (uri (string-append "mirror://gnome/sources/" name "/"
1144 (version-major+minor version) "/"
1145 name "-" version ".tar.bz2"))
1148 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1149 (build-system gnu-build-system)
1152 ("intltool" ,intltool)))
1153 (home-page "http://www.gnome.org")
1154 (synopsis "Base MIME and Application database for GNOME")
1155 (description "GNOME Mime Data is a module which contains the base MIME
1156 and Application database for GNOME. The data stored by this module is
1157 designed to be accessed through the MIME functions in GnomeVFS.")
1158 (license license:gpl2+)))
1161 (define-public gnome-vfs
1167 (uri (string-append "mirror://gnome/sources/" name "/"
1168 (version-major+minor version) "/"
1169 name "-" version ".tar.bz2"))
1172 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1173 (build-system gnu-build-system)
1177 'configure 'ignore-deprecations
1179 (substitute* '("libgnomevfs/Makefile.in"
1180 "daemon/Makefile.in")
1181 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1184 'configure 'patch-test-async-cancel-to-never-fail
1186 (substitute* "test/test-async-cancel.c"
1187 (("EXIT_FAILURE") "77")))
1188 %standard-phases))))
1189 (inputs `(("libxml2" ,libxml2)
1190 ("dbus-glib" ,dbus-glib)
1192 ("gnome-mime-data" ,gnome-mime-data)
1195 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1196 ("intltool" ,intltool)
1197 ("pkg-config" ,pkg-config)))
1198 (home-page "https://developer.gnome.org/gnome-vfs/")
1199 (synopsis "Access files and folders in GNOME applications")
1201 "GnomeVFS is the core library used to access files and folders in GNOME
1202 applications. It provides a file system abstraction which allows applications
1203 to access local and remote files with a single consistent API.")
1204 (license license:lgpl2.0+)))
1208 (define-public libgnome
1214 (uri (string-append "mirror://gnome/sources/" name "/"
1215 (version-major+minor version) "/"
1216 name "-" version ".tar.bz2"))
1219 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1220 (build-system gnu-build-system)
1224 'configure 'enable-deprecated
1226 (substitute* "libgnome/Makefile.in"
1227 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1229 (inputs `(("libxml2" ,libxml2)))
1231 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1232 ("intltool" ,intltool)
1233 ("pkg-config" ,pkg-config)))
1234 ;; The following are listed as Required in the .pc file
1235 ;; (except for libcanberra -- which seems to be oversight on the part
1236 ;; of the upstream developers -- anything that links against libgnome,
1237 ;; must also link against libcanberra
1239 `(("libcanberra" ,libcanberra)
1240 ("libbonobo" ,libbonobo)
1242 ("gnome-vfs" ,gnome-vfs)
1243 ("popt" ,popt))) ;gnome-program.h includes popt.h
1244 (home-page "https://developer.gnome.org/libgnome/")
1245 (synopsis "Useful routines for building applications")
1246 (description "The libgnome library provides a number of useful routines
1247 for building modern applications, including session management, activation of
1248 files and URIs, and displaying help.")
1249 (license license:lgpl2.0+)))
1252 (define-public libart-lgpl
1254 (name "libart-lgpl")
1258 (uri (let ((upstream-name "libart_lgpl"))
1259 (string-append "mirror://gnome/sources/" upstream-name "/"
1260 (version-major+minor version) "/"
1261 upstream-name "-" version ".tar.bz2")))
1264 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1265 (build-system gnu-build-system)
1267 `(("pkg-config" ,pkg-config)))
1268 (home-page "https://people.gnome.org/~mathieu/libart")
1269 (synopsis "2D drawing library")
1270 (description "Libart is a 2D drawing library intended as a
1271 high-quality vector-based 2D library with antialiasing and alpha composition.")
1272 (license license:lgpl2.0+)))
1276 (define-public libgnomecanvas
1278 (name "libgnomecanvas")
1282 (uri (string-append "mirror://gnome/sources/" name "/"
1283 (version-major+minor version) "/"
1284 name "-" version ".tar.gz"))
1287 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1288 (build-system gnu-build-system)
1289 ;; Mentioned as Required in the .pc file
1290 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1293 `(("intltool" ,intltool)
1294 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1295 ("pkg-config" ,pkg-config)))
1296 (home-page "https://developer.gnome.org/libgnomecanvas/")
1297 (synopsis "Flexible widget for creating interactive structured graphics")
1298 (description "The GnomeCanvas widget provides a flexible widget for
1299 creating interactive structured graphics.")
1300 (license license:lgpl2.0+)))
1302 (define-public libgnomecanvasmm
1304 (name "libgnomecanvasmm")
1308 (uri (string-append "mirror://gnome/sources/" name "/"
1309 (version-major+minor version) "/"
1310 name "-" version ".tar.bz2"))
1313 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1314 (build-system gnu-build-system)
1316 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1317 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1319 `(("gtkmm-2" ,gtkmm-2)
1320 ("pkg-config" ,pkg-config)))
1321 (home-page "http://gtkmm.org")
1322 (synopsis "C++ bindings to the GNOME Canvas library")
1323 (description "C++ bindings to the GNOME Canvas library.")
1324 (license license:lgpl2.0+)))
1326 (define-public libgnomeui
1332 (uri (string-append "mirror://gnome/sources/" name "/"
1333 (version-major+minor version) "/"
1334 name "-" version ".tar.bz2"))
1337 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1338 (build-system gnu-build-system)
1339 ;; Mentioned as Required in the .pc file
1340 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1341 ("libgnome" ,libgnome)
1342 ("libgnomecanvas" ,libgnomecanvas)
1343 ("libgnome-keyring" ,libgnome-keyring)))
1344 (inputs `(("libjpeg" ,libjpeg)
1346 ("libbonobo" ,libbonobo)
1347 ("libxml2" ,libxml2)
1348 ("libglade" ,libglade)))
1350 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1351 ("intltool" ,intltool)
1352 ("pkg-config" ,pkg-config)))
1353 (home-page "https://developer.gnome.org/libgnomeui/")
1354 (synopsis "Additional widgets for applications")
1355 (description "The libgnomeui library provides additional widgets for
1356 applications. Many of the widgets from libgnomeui have already been
1358 (license license:lgpl2.0+)))
1360 (define-public libglade
1366 (uri (string-append "mirror://gnome/sources/" name "/"
1367 (version-major+minor version) "/"
1368 name "-" version ".tar.bz2"))
1371 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1372 (build-system gnu-build-system)
1374 `(("python" ,python))) ;; needed for the optional libglade-convert program
1376 `(("gtk+-2" ,gtk+-2)
1377 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1379 `(("pkg-config" ,pkg-config)))
1380 (home-page "https://developer.gnome.org/libglade")
1381 (synopsis "Load glade interfaces and access the glade built widgets")
1382 (description "Libglade is a library that provides interfaces for loading
1383 graphical interfaces described in glade files and for accessing the
1384 widgets built in the loading process.")
1385 (license license:gpl2+))) ; This is correct. GPL not LGPL
1387 (define-public libgnomeprint
1388 ;; This library has been deprecated since 2006; see
1389 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1391 (name "libgnomeprint")
1395 (uri (string-append "mirror://gnome/sources/" name "/"
1396 (version-major+minor version) "/"
1397 name "-" version ".tar.bz2"))
1400 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1401 (build-system gnu-build-system)
1404 ("libart-lgpl" ,libart-lgpl)
1406 ("libxml2" ,libxml2)))
1408 `(("intltool" ,intltool)
1409 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1410 ("pkg-config" ,pkg-config)))
1411 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1412 (synopsis "Printing framework for GNOME")
1414 "GNOME-print was a printing framework for GNOME. It has been deprecated
1415 since ca. 2006, when GTK+ itself incorporated printing support.")
1416 (license license:lgpl2.0+)))
1419 (define-public libgnomeprintui
1420 ;; Deprecated; see libgnomeprint.
1422 (name "libgnomeprintui")
1426 (uri (string-append "mirror://gnome/sources/" name "/"
1427 (version-major+minor version) "/"
1428 name "-" version ".tar.bz2"))
1431 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1432 (build-system gnu-build-system)
1433 ;; Mentioned as Required in the .pc file
1434 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1435 (inputs `(("gtk+" ,gtk+-2)
1437 ("gnome-icon-theme" ,gnome-icon-theme)
1438 ("libgnomecanvas" ,libgnomecanvas)
1439 ("libxml2" ,libxml2)))
1441 `(("intltool" ,intltool)
1442 ("pkg-config" ,pkg-config)))
1443 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1444 (synopsis "Printing framework for GNOME")
1445 (description (package-description libgnomeprint))
1446 (license license:lgpl2.0+)))
1448 (define-public libbonoboui
1450 (name "libbonoboui")
1454 (uri (string-append "mirror://gnome/sources/" name "/"
1455 (version-major+minor version) "/"
1456 name "-" version ".tar.bz2"))
1459 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1460 (build-system gnu-build-system)
1464 'check 'start-xserver
1465 (lambda* (#:key inputs #:allow-other-keys)
1466 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1469 (setenv "HOME" (getcwd))
1470 (setenv "DISPLAY" disp)
1471 ;; There must be a running X server and make check doesn't start one.
1472 ;; Therefore we must do it.
1473 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1475 ;; Mentioned as Required by the .pc file
1476 (propagated-inputs `(("libxml2" ,libxml2)))
1479 ("pangox-compat" ,pangox-compat)
1480 ("libgnome" ,libgnome)
1481 ("libgnomecanvas" ,libgnomecanvas)
1482 ("libglade" ,libglade)))
1484 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1485 ("intltool" ,intltool)
1486 ("xorg-server" ,xorg-server) ; For running the tests
1487 ("pkg-config" ,pkg-config)))
1488 (home-page "https://developer.gnome.org/libbonoboui/")
1489 (synopsis "Some user interface controls using Bonobo")
1490 (description "The Bonobo UI library provides a number of user interface
1491 controls using the Bonobo component framework.")
1492 (license license:lgpl2.0+)))
1494 (define-public libwnck
1500 (uri (string-append "mirror://gnome/sources/" name "/"
1501 (version-major+minor version) "/"
1502 name "-" version ".tar.xz"))
1504 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1505 (build-system gnu-build-system)
1507 `(("pkg-config" ,pkg-config)
1508 ("intltool" ,intltool)))
1511 ("libxres" ,libxres)
1512 ("startup-notification" ,startup-notification)))
1513 (home-page "https://developer.gnome.org/libwnck/")
1514 (synopsis "Window Navigator Construction Kit")
1516 "Libwnck is the Window Navigator Construction Kit, a library for use in
1517 writing pagers, tasklists, and more generally applications that are dealing
1518 with window management. It tries hard to respect the Extended Window Manager
1519 Hints specification (EWMH).")
1520 (license license:lgpl2.0+)))
1522 ;; stable version for gtk2, required by xfwm4.
1523 (define-public libwnck-2
1524 (package (inherit libwnck)
1529 (uri (string-append "mirror://gnome/sources/" name "/"
1530 (version-major+minor version) "/"
1531 name "-" version ".tar.xz"))
1534 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1537 ("libxres" ,libxres)
1538 ("startup-notification" ,startup-notification)))))
1540 (define-public goffice
1546 (uri (string-append "mirror://gnome/sources/" name "/"
1547 (version-major+minor version) "/"
1548 name "-" version ".tar.xz"))
1550 (base32 "1hvs5558x98yzm43dc3f93v596x45lfmv1vkp4jjgfagynlpvcq2"))))
1551 (build-system gnu-build-system)
1553 "doc")) ;4.1 MiB of gtk-doc
1555 '(#:configure-flags (list (string-append "--with-html-dir="
1556 (assoc-ref %outputs "doc")
1557 "/share/gtk-doc/html"))))
1561 ("librsvg" ,librsvg)
1562 ("libxslt" ,libxslt)
1563 ("libxml2" ,libxml2)))
1565 `(("intltool" ,intltool)
1566 ("glib" ,glib "bin")
1567 ("pkg-config" ,pkg-config)))
1568 (home-page "https://developer.gnome.org/goffice/")
1569 (synopsis "Document-centric objects and utilities")
1570 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1572 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1574 (list license:gpl2 license:gpl3))))
1576 (define-public goffice-0.8
1577 (package (inherit goffice)
1581 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1582 (version-major+minor version) "/"
1583 (package-name goffice) "-" version ".tar.xz"))
1585 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1589 'unpack 'fix-pcre-check
1591 ;; Only glib.h can be included directly. See
1592 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1593 (substitute* "configure"
1594 (("glib/gregex\\.h") "glib.h")) #t)
1597 ,@(package-arguments goffice)))
1599 ;; libgoffice-0.8.pc mentions libgsf-1
1600 `(("libgsf" ,libgsf)))
1603 ,@(alist-delete "gtk" (package-inputs goffice))))))
1605 (define-public gnumeric
1611 (uri (string-append "mirror://gnome/sources/" name "/"
1612 (version-major+minor version) "/"
1613 name "-" version ".tar.xz"))
1616 "1s3dxvdwzmppsp2dfg90rccilf4hknhwjdy7lazr9sys58zchyx0"))))
1617 (build-system glib-or-gtk-build-system)
1619 `(;; The gnumeric developers don't worry much about failing tests.
1620 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1623 (modify-phases %standard-phases
1625 'configure 'pre-conf
1626 (lambda* (#:key outputs #:allow-other-keys)
1627 ;; Make install tries to write into the directory of goffice
1628 ;; I am informed that this only affects the possibility to embed a
1629 ;; spreadsheet inside an Abiword document. So presumably when we
1630 ;; package Abiword we'll have to refer it to this directory.
1631 (substitute* "configure"
1632 (("^GOFFICE_PLUGINS_DIR=.*")
1633 (string-append "GOFFICE_PLUGINS_DIR="
1634 (assoc-ref outputs "out")
1635 "/goffice/plugins"))))))))
1639 ("goffice" ,goffice)
1641 ("librsvg" ,librsvg)
1642 ("libxml2" ,libxml2)
1643 ("libxslt" ,libxslt)
1644 ("python" ,python-2)
1645 ("python2-pygobject" ,python2-pygobject)
1649 ("intltool" ,intltool)
1650 ("glib:bin" ,glib "bin")
1651 ("pkg-config" ,pkg-config)))
1652 (home-page "http://www.gnumeric.org")
1653 (synopsis "Spreadsheet application")
1655 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1656 interoperable with other spreadsheet applications. It has a vast array of
1657 features beyond typical spreadsheet functionality, such as support for linear
1658 and non-linear solvers, statistical analysis, and telecommunication
1661 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1662 (list license:gpl2 license:gpl3))))
1664 (define-public gnome-themes-standard
1666 (name "gnome-themes-standard")
1671 (uri (string-append "mirror://gnome/sources/" name "/"
1672 (version-major+minor version) "/" name "-"
1676 "05br99z67f82i18nljpxnwssfnaqp7mph61w3hq0i44z5i5rq3cx"))))
1677 (build-system gnu-build-system)
1680 ;; Don't create 'icon-theme.cache'.
1681 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1682 (true (string-append coreutils "/bin/true")))
1683 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1687 ("librsvg" ,librsvg)
1688 ("libxml2" ,libxml2)
1691 `(("intltool" ,intltool)
1692 ("glib:bin" ,glib "bin")
1693 ("pkg-config" ,pkg-config)))
1694 (home-page "https://launchpad.net/gnome-themes-standard")
1695 (synopsis "Default GNOME 3 themes")
1697 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1698 (license license:lgpl2.1+)))
1700 (define-public seahorse
1707 (uri (string-append "mirror://gnome/sources/" name "/"
1708 (version-major+minor version) "/" name "-"
1712 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1713 (build-system glib-or-gtk-build-system)
1719 ("openldap" ,openldap)
1720 ("openssh" ,openssh)
1721 ("libsecret" ,libsecret)
1722 ("libsoup" ,libsoup)))
1724 `(("intltool" ,intltool)
1725 ("glib:bin" ,glib "bin")
1726 ("itstool" ,itstool)
1727 ("pkg-config" ,pkg-config)
1728 ("xmllint" ,libxml2)))
1729 (home-page "https://launchpad.net/gnome-themes-standard")
1730 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1732 "Seahorse is a GNOME application for managing encryption keys and
1733 passwords in the GNOME keyring.")
1734 (license license:gpl2+)))
1742 (uri (string-append "mirror://gnome/sources/" name "/"
1743 (version-major+minor version) "/"
1744 name "-" version ".tar.xz"))
1747 "1ab1l44abf9fj1wznzq5956431ia136rl5049cggnk5393jlf3fx"))))
1748 (build-system gnu-build-system)
1751 (modify-phases %standard-phases
1752 (add-before 'check 'pre-check
1755 ;; For missing '/etc/machine-id'.
1756 (setenv "DBUS_FATAL_WARNINGS" "0")
1758 ;; Build the Vala API generator
1759 #:configure-flags '("--enable-vapigen")))
1761 `(("pkg-config" ,pkg-config)
1764 ("xsltproc" ,libxslt)
1765 ("dbus" ,dbus) ; for dbus tests
1766 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1768 `(("glib" ,glib))) ; required by libvala-0.26.pc
1769 (home-page "http://live.gnome.org/Vala/")
1770 (synopsis "Compiler for the GObject type system")
1772 "Vala is a programming language that aims to bring modern programming
1773 language features to GNOME developers without imposing any additional runtime
1774 requirements and without using a different ABI compared to applications and
1775 libraries written in C.")
1776 (license license:lgpl2.1+)))
1784 (uri (string-append "mirror://gnome/sources/" name "/"
1785 (version-major+minor version) "/"
1786 name "-" version ".tar.xz"))
1789 "0j899ccrkzh7208w29c835m1yms0cas5cxkck8x6l4xv2i45ksm1"))))
1790 (build-system gnu-build-system)
1792 ;; XXX: fails to compile tests with the default flags.
1793 ;; vteconv.cc:774:40:
1794 ;; error: missing sentinel in function call [-Werror=format=]
1795 ;; g_test_init (&argc, &argv, NULL);
1797 ;; cc1plus: some warnings being treated as errors
1798 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1800 `(("pkg-config" ,pkg-config)
1801 ("intltool" ,intltool)
1803 ("gobject-introspection" ,gobject-introspection)
1804 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1805 ("xmllint" ,libxml2)))
1807 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1808 ("gnutls" ,gnutls))) ;ditto
1809 (home-page "http://www.gnome.org/")
1810 (synopsis "Virtual Terminal Emulator")
1812 "VTE is a library (libvte) implementing a terminal emulator widget for
1813 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1814 gnome-terminal, but can also be used to embed a console/terminal in games,
1815 editors, IDEs, etc.")
1816 (license license:lgpl2.1+)))
1818 (define-public vte-ng
1822 (version "0.44.1.b")
1824 `(("gtk-doc" ,gtk-doc)
1826 ("autoconf" ,autoconf)
1827 ("automake" ,automake)
1828 ("libtool" ,libtool)
1829 ,@(package-native-inputs vte)))
1832 (uri (string-append "https://github.com/thestinger/"
1833 name "/archive/" version ".tar.gz"))
1834 (file-name (string-append name "-" version ".tar.gz"))
1837 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1839 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1840 #:phases (modify-phases %standard-phases
1841 (add-after 'unpack 'bootstrap
1843 (setenv "NOCONFIGURE" "true")
1844 (zero? (system* "sh" "autogen.sh")))))))
1845 (synopsis "Enhanced VTE terminal widget")
1847 "VTE is a library (libvte) implementing a terminal emulator widget for
1848 GTK+, this fork provides additional functions exposed for keyboard text
1849 selection and URL hints.")))
1851 ;; provides vte 2.90, required for some terminal emulators
1852 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1853 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1854 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1855 ;; pantheon-terminal, roxterm are not currently packaged
1856 (define-public vte-0.36
1857 (package (inherit vte)
1862 (uri (string-append "mirror://gnome/sources/" name "/"
1863 (version-major+minor version) "/"
1864 name "-" version ".tar.xz"))
1867 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1870 ("ncurses" ,ncurses)))))
1872 ;; stable version for gtk2, required by xfce4-terminal.
1873 (define-public vte/gtk+-2
1874 (package (inherit vte)
1879 (uri (string-append "mirror://gnome/sources/" name "/"
1880 (version-major+minor version) "/"
1881 name "-" version ".tar.xz"))
1884 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1885 (patches (search-patches
1886 "vte-CVE-2012-2738-pt1.patch"
1887 "vte-CVE-2012-2738-pt2.patch"))))
1889 '(#:configure-flags '("--disable-python")))
1891 `(("pkg-config" ,pkg-config)
1892 ("intltool" ,intltool)
1893 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1895 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1896 ("ncurses" ,ncurses))))) ; required by libvte.la
1898 (define-public dconf
1905 "mirror://gnome/sources/" name "/"
1906 (version-major+minor version) "/"
1907 name "-" version ".tar.xz"))
1910 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1911 (build-system glib-or-gtk-build-system)
1916 ("libxml2" ,libxml2)))
1918 `(("libxslt" ,libxslt)
1919 ("docbook-xml" ,docbook-xml-4.2)
1920 ("docbook-xsl" ,docbook-xsl)
1921 ("intltool" ,intltool)
1922 ("pkg-config" ,pkg-config)))
1924 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1925 ; or /etc/machine-id.
1927 ;; Set the correct RUNPATH in binaries.
1928 (list (string-append "LDFLAGS=-Wl,-rpath="
1929 (assoc-ref %outputs "out") "/lib")
1930 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1933 'configure 'fix-docbook
1934 (lambda* (#:key inputs #:allow-other-keys)
1935 (substitute* "docs/Makefile.in"
1936 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1937 (string-append (assoc-ref inputs "docbook-xsl")
1938 "/xml/xsl/docbook-xsl-"
1939 ,(package-version docbook-xsl)
1940 "/manpages/docbook.xsl")))
1941 (setenv "XML_CATALOG_FILES"
1942 (string-append (assoc-ref inputs "docbook-xml")
1943 "/xml/dtd/docbook/catalog.xml")))
1945 (home-page "https://developer.gnome.org/dconf")
1946 (synopsis "Low-level GNOME configuration system")
1947 (description "Dconf is a low-level configuration system. Its main purpose
1948 is to provide a backend to GSettings on platforms that don't already have
1949 configuration storage systems.")
1950 (license license:lgpl2.1)))
1952 (define-public json-glib
1958 (uri (string-append "mirror://gnome/sources/" name "/"
1959 (version-major+minor version) "/"
1960 name "-" version ".tar.xz"))
1963 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
1964 (modules '((guix build utils)))
1966 ;; Don't duplicate test names.
1967 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1968 '(substitute* "json-glib/tests/builder.c"
1969 (("\"/builder/complex\", test_builder_empty")
1970 "\"/builder/empty\", test_builder_empty")))))
1971 (build-system gnu-build-system)
1973 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1974 ("gobject-introspection" ,gobject-introspection)
1975 ("pkg-config" ,pkg-config)))
1977 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1978 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1979 (synopsis "Compiler for the GObject type system")
1981 "JSON-GLib is a C library based on GLib providing serialization and
1982 deserialization support for the JavaScript Object Notation (JSON) format
1983 described by RFC 4627. It provides parser and generator GObject classes and
1984 various wrappers for the complex data types employed by JSON, such as arrays
1986 (license license:lgpl2.1+)))
1988 (define-public libxklavier
1990 (name "libxklavier")
1994 (uri (string-append "mirror://gnome/sources/" name "/"
1995 version "/" name "-" version ".tar.xz"))
1998 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1999 (build-system gnu-build-system)
2002 (list (string-append "--with-xkb-base="
2003 (assoc-ref %build-inputs "xkeyboard-config")
2004 "/share/X11/xkb"))))
2006 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2007 ("gobject-introspection" ,gobject-introspection)
2008 ("pkg-config" ,pkg-config)))
2010 ;; Required by libxklavier.pc.
2012 ("libxml2" ,libxml2)))
2014 `(("iso-codes" ,iso-codes)
2016 ("libxkbfile" ,libxkbfile)
2017 ("xkbcomp" ,xkbcomp)
2018 ("xkeyboard-config" ,xkeyboard-config)))
2019 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2020 (synopsis "High-level API for X Keyboard Extension")
2022 "LibXklavier is a library providing high-level API for X Keyboard
2023 Extension known as XKB. This library is intended to support XFree86 and other
2024 commercial X servers. It is useful for creating XKB-related software (layout
2026 (license license:lgpl2.0+)))
2028 (define-public python2-rsvg
2029 ;; XXX: This is actually a subset of gnome-python-desktop.
2031 (name "python2-rsvg")
2037 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2038 version ".tar.bz2"))
2041 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2042 (build-system gnu-build-system)
2044 `(("pkg-config" ,pkg-config)))
2046 `(("python" ,python-2)
2047 ("python2-pygtk" ,python2-pygtk)
2048 ("librsvg" ,librsvg)))
2049 (home-page "http://www.gnome.org")
2050 (synopsis "Python bindings to librsvg")
2052 "This packages provides Python bindings to librsvg, the SVG rendering
2055 ;; This is the license of the rsvg bindings. The license of each module
2056 ;; of gnome-python-desktop is given in 'COPYING'.
2057 (license license:lgpl2.1+)))
2059 (define-public glib-networking
2061 (name "glib-networking")
2065 (uri (string-append "mirror://gnome/sources/glib-networking/"
2066 (version-major+minor version) "/"
2067 name "-" version ".tar.xz"))
2070 "111spcar6wbp6m0rdxzjscc7vfqx5nawscrfbxlvbf5jsr4hqp4j"))
2072 (search-patches "glib-networking-ssl-cert-file.patch"))))
2073 (build-system gnu-build-system)
2076 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2078 (modify-phases %standard-phases
2079 (add-before 'configure 'patch-giomoduledir
2080 ;; Install GIO modules into $out/lib/gio/modules.
2082 (substitute* "configure"
2083 (("GIO_MODULE_DIR=.*")
2084 (string-append "GIO_MODULE_DIR=" %output
2085 "/lib/gio/modules\n")))))
2086 (add-before 'check 'use-empty-ssl-cert-file
2088 ;; The ca-certificates.crt is not available in the build
2090 (setenv "SSL_CERT_FILE" "/dev/null")
2093 `(("pkg-config" ,pkg-config)
2094 ("intltool" ,intltool)))
2098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2099 ("p11-kit" ,p11-kit)))
2100 (home-page "http://www.gnome.org")
2101 (synopsis "Network-related GIO modules")
2103 "This package contains various network related extensions for the GIO
2105 (license license:lgpl2.0+)))
2113 (uri (string-append "mirror://gnome/sources/rest/"
2114 (version-major+minor version) "/"
2115 name "-" version ".tar.xz"))
2118 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2119 (build-system gnu-build-system)
2121 '(#:tests? #f ; tests require internet connection
2123 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2125 `(("glib-mkenums" ,glib "bin")
2126 ("gobject-introspection" ,gobject-introspection)
2127 ("pkg-config" ,pkg-config)))
2129 ;; rest-0.7.pc refers to all these.
2131 ("libsoup" ,libsoup)
2132 ("libxml2" ,libxml2)))
2133 (home-page "http://www.gtk.org/")
2134 (synopsis "RESTful web api query library")
2136 "This library was designed to make it easier to access web services that
2137 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2138 libxml to ease remote use of the RESTful API.")
2139 (license license:lgpl2.1+)))
2141 (define-public libsoup
2147 (uri (string-append "mirror://gnome/sources/libsoup/"
2148 (version-major+minor version) "/"
2149 name "-" version ".tar.xz"))
2152 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
2153 (build-system gnu-build-system)
2154 (outputs '("out" "doc"))
2157 (list (string-append "--with-html-dir="
2158 (assoc-ref %outputs "doc")
2159 "/share/gtk-doc/html"))
2161 (modify-phases %standard-phases
2162 (add-before 'configure 'disable-unconnected-socket-test
2163 ;; This test fails due to missing /etc/nsswitch.conf
2164 ;; in the build environment.
2166 (substitute* "tests/socket-test.c"
2167 ((".*/sockets/unconnected.*") ""))
2169 (add-before 'check 'pre-check
2171 ;; The 'check-local' target runs 'env LANG=C sort -u',
2172 ;; unset 'LC_ALL' to make 'LANG' working.
2174 ;; The ca-certificates.crt is not available in the build
2176 (setenv "SSL_CERT_FILE" "/dev/null")
2182 ;; Install vala bindings into $out.
2183 (string-append "vapidir=" %output
2187 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2188 ("gobject-introspection" ,gobject-introspection)
2189 ("intltool" ,intltool)
2190 ("pkg-config" ,pkg-config)
2191 ("python" ,python-wrapper)
2193 ;; These are needed for the tests.
2194 ;; FIXME: Add PHP once available.
2198 ;; libsoup-2.4.pc refers to all these.
2200 ("libxml2" ,libxml2)))
2202 `(("glib-networking" ,glib-networking)
2203 ("sqlite" ,sqlite)))
2204 (home-page "https://live.gnome.org/LibSoup/")
2205 (synopsis "GLib-based HTTP Library")
2207 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2208 and the GLib main loop, to integrate well with GNOME applications.")
2209 (license license:lgpl2.0+)))
2211 (define-public libsecret
2218 "mirror://gnome/sources/libsecret/"
2219 (version-major+minor version) "/"
2220 name "-" version ".tar.xz"))
2223 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2224 (build-system gnu-build-system)
2225 (outputs '("out" "doc"))
2227 `(#:tests? #f ; FIXME: Testing hangs.
2229 (list (string-append "--with-html-dir="
2230 (assoc-ref %outputs "doc")
2231 "/share/gtk-doc/html"))))
2233 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2234 ("gobject-introspection" ,gobject-introspection)
2235 ("intltool" ,intltool)
2236 ("pkg-config" ,pkg-config)
2238 ("xsltproc" ,libxslt)))
2239 ;; These are needed for the tests.
2240 ;; FIXME: Add gjs once available.
2242 ;("python2" ,python-2)
2243 ;("python2-dbus" ,python2-dbus)
2244 ;("python2-pygobject" ,python2-pygobject)
2245 ;("python2-pygobject-2" ,python2-pygobject-2)))
2247 `(("glib" ,glib))) ; required by libsecret-1.pc
2249 `(("docbook-xsl" ,docbook-xsl)
2250 ("libgcrypt" ,libgcrypt)
2251 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2252 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2253 (synopsis "GObject bindings for \"Secret Service\" API")
2255 "Libsecret is a GObject based library for storing and retrieving passwords
2256 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2257 (license license:lgpl2.1+)))
2259 (define-public gnome-mines
2261 (name "gnome-mines")
2266 (uri (string-append "mirror://gnome/sources/" name "/"
2267 (version-major+minor version) "/"
2268 name "-" version ".tar.xz"))
2271 "0frb1r0f55giz7yqxl9920vvzqlirdivz54ygc9d85r8v63fh5aq"))))
2272 (build-system glib-or-gtk-build-system)
2275 (modify-phases %standard-phases
2276 (add-before 'configure 'patch-/bin/true
2278 (substitute* "configure"
2279 (("/bin/true") (which "true"))))))))
2281 `(("pkg-config" ,pkg-config)
2282 ("desktop-file-utils" ,desktop-file-utils)
2283 ("intltool" ,intltool)
2284 ("itstool" ,itstool)
2285 ("xmllint" ,libxml2)))
2288 ("librsvg" ,librsvg)))
2289 (home-page "https://wiki.gnome.org/Apps/Mines")
2290 (synopsis "Minesweeper game")
2292 "Mines (previously gnomine) is a puzzle game where you locate mines
2293 floating in an ocean using only your brain and a little bit of luck.")
2294 (license license:gpl2+)))
2296 (define-public gnome-sudoku
2298 (name "gnome-sudoku")
2303 (uri (string-append "mirror://gnome/sources/" name "/"
2304 (version-major+minor version) "/"
2305 name "-" version ".tar.xz"))
2308 "166bbv5k50v7pjp3wbl2rmxcmv1adwr14hxg5rw2ws8kams8151k"))))
2309 (build-system glib-or-gtk-build-system)
2311 `(("pkg-config" ,pkg-config)
2312 ("desktop-file-utils" ,desktop-file-utils)
2313 ("intltool" ,intltool)
2314 ("itstool" ,itstool)
2315 ("xmllint" ,libxml2)))
2318 ("json-glib" ,json-glib)
2320 ("librsvg" ,librsvg)
2321 ("qqwing" ,qqwing)))
2322 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2323 (synopsis "Japanese logic game")
2325 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2326 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2327 possible while still providing features that make playing difficult Sudoku
2329 (license license:gpl2+)))
2331 (define-public gnome-terminal
2333 (name "gnome-terminal")
2338 (uri (string-append "mirror://gnome/sources/" name "/"
2339 (version-major+minor version) "/"
2340 name "-" version ".tar.xz"))
2343 "08ssch8h1y85wyhddkyr7ab4v8dnsn17z4ayyc5ff78gfdh30f7m"))))
2344 (build-system glib-or-gtk-build-system)
2347 (list "--disable-migration" "--disable-search-provider"
2348 "--without-nautilus-extension")
2350 (modify-phases %standard-phases
2351 (add-before 'configure 'patch-/bin/true
2353 (substitute* "configure"
2354 (("/bin/true") (which "true"))))))))
2356 `(("pkg-config" ,pkg-config)
2357 ("desktop-file-utils" ,desktop-file-utils)
2358 ("intltool" ,intltool)
2359 ("itstool" ,itstool)
2360 ("xmllint" ,libxml2)))
2362 `(("dconf" ,dconf)))
2367 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2368 ("util-linux" ,util-linux)
2370 (home-page "https://wiki.gnome.org/Apps/Terminal")
2371 (synopsis "Terminal emulator")
2373 "GNOME Terminal is a terminal emulator application for accessing a
2374 UNIX shell environment which can be used to run programs available on
2377 It supports several profiles, multiple tabs and implements several
2378 keyboard shortcuts.")
2379 (license license:gpl3+)))
2381 (define-public colord
2388 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2389 name "-" version ".tar.xz"))
2392 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2393 (build-system glib-or-gtk-build-system)
2395 '(;; The tests want to run valgrind. Punt for now.
2397 #:configure-flags (list "--localstatedir=/var"
2398 ;; GUSB not packaged yet.
2400 ;; No dep on systemd.
2401 "--disable-systemd-login"
2402 ;; Wants to install to global completion dir;
2404 "--disable-bash-completion"
2405 ;; colord-gtk not packaged yet.
2406 "--disable-session-example"
2407 "--with-daemon-user=colord"
2409 (string-append "--with-udevrulesdir="
2410 (assoc-ref %outputs "out")
2411 "/lib/udev/rules.d"))
2413 (modify-phases %standard-phases
2414 (add-before 'configure 'patch-/bin/true
2416 (substitute* "configure"
2417 (("/bin/true") (which "true")))
2418 (substitute* "src/Makefile.in"
2419 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2420 "if test -w $(DESTDIR)$(localstatedir);")))))))
2422 `(("pkg-config" ,pkg-config)
2423 ("gobject-introspection" ,gobject-introspection)
2424 ("libtool" ,libtool)
2425 ("intltool" ,intltool)))
2427 ;; colord.pc refers to all these.
2432 `(("dbus-glib" ,dbus-glib)
2433 ("libgudev" ,libgudev)
2437 ("sane-backends" ,sane-backends)))
2438 (home-page "http://www.freedesktop.org/software/colord/")
2439 (synopsis "Color management service")
2440 (description "Colord is a system service that makes it easy to manage,
2441 install and generate color profiles to accurately color manage input and
2443 (license license:gpl2+)))
2445 (define-public geoclue
2452 (uri (string-append "https://www.freedesktop.org/software/" name
2453 "/releases/" (version-major+minor version) "/"
2454 name "-" version ".tar.xz"))
2457 "0p1ibjf5vzjsahw5xif2si3lj6a00sxhll008jk7w1hj1jfznhww"))
2458 (patches (search-patches "geoclue-config.patch"))))
2459 (build-system glib-or-gtk-build-system)
2461 '(;; The tests want to run the system bus.
2463 #:configure-flags (list ;; Disable bits requiring ModemManager.
2464 "--disable-3g-source"
2465 "--disable-cdma-source"
2466 "--disable-modem-gps-source"
2467 "--with-dbus-service-user=geoclue")
2469 (modify-phases %standard-phases
2470 (add-before 'configure 'patch-/bin/true
2472 (substitute* "configure"
2473 (("/bin/true") (which "true"))))))))
2475 `(("pkg-config" ,pkg-config)
2476 ("intltool" ,intltool)))
2480 ("json-glib" ,json-glib)
2481 ("libsoup" ,libsoup)))
2482 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2483 (synopsis "Geolocation service")
2484 (description "Geoclue is a D-Bus service that provides location
2485 information. The primary goal of the Geoclue project is to make creating
2486 location-aware applications as simple as possible, while the secondary goal is
2487 to ensure that no application can access location information without explicit
2488 permission from user.")
2489 (license license:gpl2+)))
2491 (define-public geocode-glib
2493 (name "geocode-glib")
2497 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2498 (version-major+minor version) "/"
2499 name "-" version ".tar.xz"))
2502 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2503 (build-system gnu-build-system)
2505 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2506 ;; work for the builder. Punt.
2509 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2510 ("gobject-introspection" ,gobject-introspection)
2511 ("pkg-config" ,pkg-config)
2512 ("json-glib" ,json-glib)))
2514 ;; geocode-glib-1.0.pc refers to GIO.
2517 `(("libsoup" ,libsoup)))
2518 (home-page "https://github.com/GNOME/geocode-glib/")
2519 (synopsis "Geocoding and reverse-geocoding library")
2521 "geocode-glib is a convenience library for geocoding (finding longitude,
2522 and latitude from an address) and reverse geocoding (finding an address from
2523 coordinates) using the Nominatim service. geocode-glib caches requests for
2524 faster results and to avoid unnecessary server load.")
2525 (license license:lgpl2.0+)))
2527 (define-public upower
2533 (uri (string-append "https://upower.freedesktop.org/releases/"
2534 name "-" version ".tar.xz"))
2537 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2538 (patches (search-patches "upower-builddir.patch"))))
2539 (build-system glib-or-gtk-build-system)
2541 '( ;; The tests want to contact the system bus, which can't be done in the
2542 ;; build environment. The integration test can run, but the last of
2543 ;; the up-self-tests doesn't. Disable tests for now.
2545 #:configure-flags (list "--localstatedir=/var"
2546 (string-append "--with-udevrulesdir="
2547 (assoc-ref %outputs "out")
2548 "/lib/udev/rules.d"))
2550 (modify-phases %standard-phases
2551 (add-before 'configure 'patch-/bin/true
2553 (substitute* "configure"
2554 (("/bin/true") (which "true")))))
2555 (add-before 'configure 'patch-integration-test
2557 (substitute* "src/linux/integration-test"
2558 (("/usr/bin/python3") (which "python3"))))))))
2560 `(("gobject-introspection" ,gobject-introspection)
2561 ("pkg-config" ,pkg-config)
2562 ("intltool" ,intltool)
2566 ("libxslt" ,libxslt) ;for 'xsltproc'
2567 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2568 ("docbook-xsl" ,docbook-xsl)))
2570 `(("dbus-glib" ,dbus-glib)
2571 ("libgudev" ,libgudev)
2572 ("libusb" ,libusb)))
2573 (home-page "http://upower.freedesktop.org/")
2574 (synopsis "System daemon for managing power devices")
2576 "UPower is an abstraction for enumerating power devices,
2577 listening to device events and querying history and statistics. Any
2578 application or service on the system can access the org.freedesktop.UPower
2579 service via the system message bus.")
2580 (license license:gpl2+)))
2582 (define-public libgweather
2584 (name "libgweather")
2588 (uri (string-append "mirror://gnome/sources/" name "/"
2589 (version-major+minor version) "/"
2590 name "-" version ".tar.xz"))
2593 "02vcnlchcq3hxsm75x2szzkszg1yp1rg164p1b23vnzm9svcaszv"))))
2594 (build-system gnu-build-system)
2597 `(,(string-append "--with-zoneinfo-dir="
2598 (assoc-ref %build-inputs "tzdata")
2601 (modify-phases %standard-phases
2602 (add-before 'check 'pre-check
2603 (lambda* (#:key inputs #:allow-other-keys)
2604 (substitute* "data/check-timezones.sh"
2605 (("/usr/share/zoneinfo/zone.tab")
2606 (string-append (assoc-ref inputs "tzdata")
2607 "/share/zoneinfo/zone.tab")))
2609 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2610 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2611 (substitute* "data/Locations.xml"
2616 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2617 ("gobject-introspection" ,gobject-introspection)
2618 ("pkg-config" ,pkg-config)
2619 ("intltool" ,intltool)))
2621 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2624 ("gdk-pixbuf" ,gdk-pixbuf)
2625 ("libxml2" ,libxml2)
2626 ("libsoup" ,libsoup)))
2628 `(("tzdata" ,tzdata)
2629 ("geocode-glib" ,geocode-glib)))
2630 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2631 (synopsis "Location, time zone, and weather library for GNOME")
2633 "libgweather is a library to access weather information from online
2634 services for numerous locations.")
2635 (license license:gpl2+)))
2637 (define-public gnome-settings-daemon
2639 (name "gnome-settings-daemon")
2644 (uri (string-append "mirror://gnome/sources/" name "/"
2645 (version-major+minor version) "/"
2646 name "-" version ".tar.xz"))
2649 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2650 (build-system glib-or-gtk-build-system)
2652 `(;; Network manager not yet packaged.
2653 #:configure-flags '("--disable-network-manager")
2654 ;; Color management test can't reach the colord system service.
2657 `(("pkg-config" ,pkg-config)
2658 ("intltool" ,intltool)
2659 ("xsltproc" ,libxslt)
2660 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2661 ("docbook-xml" ,docbook-xml-4.2)
2662 ("docbook-xsl" ,docbook-xsl)))
2664 `(("colord" ,colord)
2665 ("libgudev" ,libgudev)
2668 ("pulseaudio" ,pulseaudio)
2669 ("libcanberra" ,libcanberra)
2671 ("libxtst" ,libxtst)
2673 ("libnotify" ,libnotify)
2674 ("geoclue" ,geoclue)
2675 ("geocode-glib" ,geocode-glib)
2676 ("libgweather" ,libgweather)
2677 ("gnome-desktop" ,gnome-desktop)
2680 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2681 ("libwacom" ,libwacom)
2682 ("librsvg" ,librsvg)
2683 ("xf86-input-wacom" ,xf86-input-wacom)))
2684 (home-page "http://www.gnome.org")
2685 (synopsis "GNOME settings daemon")
2687 "This package contains the daemon responsible for setting the various
2688 parameters of a GNOME session and the applications that run under it. It
2689 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2690 settings, themes, mouse settings, and startup of other daemons.")
2691 (license license:gpl2+)))
2693 (define-public totem-pl-parser
2695 (name "totem-pl-parser")
2699 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2700 "totem-pl-parser-" version ".tar.xz"))
2703 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2704 (build-system gnu-build-system)
2706 ;; FIXME: Tests require gvfs.
2709 `(("intltool" ,intltool)
2710 ("glib" ,glib "bin")
2711 ("gobject-introspection" ,gobject-introspection)
2712 ("pkg-config" ,pkg-config)))
2716 ("libxml2" ,libxml2)))
2718 `(("libarchive" ,libarchive)
2719 ("libgcrypt" ,libgcrypt)
2721 ("libsoup" ,libsoup)))
2722 (home-page "https://projects.gnome.org/totem")
2723 (synopsis "Library to parse and save media playlists for GNOME")
2724 (description "Totem-pl-parser is a GObjects-based library to parse and save
2725 playlists in a variety of formats.")
2726 (license license:lgpl2.0+)))
2728 (define-public aisleriot
2734 (uri (string-append "mirror://gnome/sources/" name "/"
2735 (version-major+minor version) "/"
2736 name "-" version ".tar.xz"))
2739 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
2740 (build-system glib-or-gtk-build-system)
2743 '("--with-platform=gtk-only"
2744 "--with-card-theme-formats=svg")))
2746 `(("desktop-file-utils" ,desktop-file-utils)
2747 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2748 ("intltool" ,intltool)
2749 ("itstool" ,itstool)
2750 ("pkg-config" ,pkg-config)
2751 ("xmllint" ,libxml2)))
2754 ("guile" ,guile-2.0)
2755 ("libcanberra" ,libcanberra)
2756 ("librsvg" ,librsvg)))
2757 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2758 (synopsis "Solitaire card games")
2760 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2761 which are easy to play with the aid of a mouse.")
2762 (license license:gpl3+)))
2764 (define-public devhelp
2770 (uri (string-append "mirror://gnome/sources/" name "/"
2771 (version-major+minor version) "/"
2772 name "-" version ".tar.xz"))
2775 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2776 (build-system glib-or-gtk-build-system)
2778 `(("intltool" ,intltool)
2779 ("pkg-config" ,pkg-config)))
2781 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2782 ("webkitgtk" ,webkitgtk)))
2783 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2784 (synopsis "API documentation browser for GNOME")
2786 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2787 natively with GTK-Doc (the API reference system developed for GTK+ and used
2788 throughout GNOME for API documentation).")
2789 (license license:gpl2+)))
2798 (uri (string-append "mirror://gnome/sources/" name "/"
2799 (version-major+minor version) "/"
2800 name "-" version ".tar.xz"))
2803 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2804 (build-system gnu-build-system)
2806 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2807 ("gobject-introspection" ,gobject-introspection)
2808 ;;("xorg-server" ,xorg-server) ; for the test suite
2809 ("pkg-config" ,pkg-config)))
2812 ("gdk-pixbuf" ,gdk-pixbuf)
2814 ("libxext" ,libxext)
2815 ("libxfixes" ,libxfixes)
2816 ("libxdamage" ,libxdamage)
2817 ("libxcomposite" ,libxcomposite)
2818 ("libxrandr" ,libxrandr)))
2823 ("gstreamer" ,gstreamer)
2824 ("gst-plugins-base" ,gst-plugins-base)))
2826 `(#:configure-flags (list "--enable-cogl-gst"
2827 ;; Arrange to pass an absolute file name to
2828 ;; dlopen for libGL.so.
2829 (string-append "--with-gl-libname="
2830 (assoc-ref %build-inputs "mesa")
2832 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2833 ;; _FontTransOpen: Unable to Parse address
2834 ;; ${prefix}/share/fonts/X11/misc/
2838 (modify-phases %standard-phases
2839 (add-before 'check 'start-xorg-server
2840 (lambda* (#:key inputs #:allow-other-keys)
2841 ;; The test suite requires a running X server.
2842 (system (format #f "~a/bin/Xvfb :1 &"
2843 (assoc-ref inputs "xorg-server")))
2844 (setenv "DISPLAY" ":1")
2846 (home-page "http://www.cogl3d.org")
2847 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2849 "Cogl is a small library for using 3D graphics hardware to draw pretty
2850 pictures. The API departs from the flat state machine style of OpenGL and is
2851 designed to make it easy to write orthogonal components that can render
2852 without stepping on each others toes.")
2853 (license (list license:expat ; most of the code
2854 license:bsd-3 ; cogl/cogl-point-in-poly.c
2855 license:sgifreeb2.0 ; cogl-path/tesselator/
2856 license:asl2.0)))) ; examples/android/
2858 (define-public clutter
2865 (uri (string-append "mirror://gnome/sources/" name "/"
2866 (version-major+minor version) "/"
2867 name "-" version ".tar.xz"))
2870 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2871 (build-system gnu-build-system)
2873 "doc")) ;9 MiB of gtk-doc HTML pages
2875 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2876 ("gobject-introspection" ,gobject-introspection)
2877 ("pkg-config" ,pkg-config)
2878 ("xsltproc" ,libxslt)))
2884 ("json-glib" ,json-glib)
2886 ("libxcomposite" ,libxcomposite)
2887 ("libxdamage" ,libxdamage)
2888 ("libxext" ,libxext)
2889 ("xinput" ,xinput)))
2891 `(("libxkbcommon" ,libxkbcommon)
2894 `(#:configure-flags (list "--enable-x11-backend=yes"
2896 ;; This produces share/doc/{clutter,cally}.
2897 (string-append "--with-html-dir="
2898 (assoc-ref %outputs "doc")
2900 ;; XXX FIXME: Get test suite working. It would probably fail in the
2901 ;; same way the cogl tests fail, since clutter is based on cogl.
2903 (home-page "http://www.clutter-project.org")
2904 (synopsis "Open GL based interactive canvas library")
2906 "Clutter is an Open GL based interactive canvas library, designed for
2907 creating fast, mainly 2D single window applications such as media box UIs,
2908 presentations, kiosk style applications and so on.")
2909 (license license:lgpl2.0+)))
2911 (define-public clutter-gtk
2913 (name "clutter-gtk")
2918 (uri (string-append "mirror://gnome/sources/" name "/"
2919 (version-major+minor version) "/"
2920 name "-" version ".tar.xz"))
2923 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2924 (build-system gnu-build-system)
2926 `(("pkg-config" ,pkg-config)
2927 ("gobject-introspection" ,gobject-introspection)))
2929 ;; clutter-gtk.pc refers to all these.
2930 `(("clutter" ,clutter)
2932 (home-page "http://www.clutter-project.org")
2933 (synopsis "Open GL based interactive canvas library GTK+ widget")
2935 "Clutter is an Open GL based interactive canvas library, designed for
2936 creating fast, mainly 2D single window applications such as media box UIs,
2937 presentations, kiosk style applications and so on.")
2938 (license license:lgpl2.0+)))
2940 (define-public clutter-gst
2942 (name "clutter-gst")
2947 (uri (string-append "mirror://gnome/sources/" name "/"
2948 (version-major+minor version) "/"
2949 name "-" version ".tar.xz"))
2952 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2953 (build-system gnu-build-system)
2955 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2956 ("pkg-config" ,pkg-config)
2957 ("gobject-introspection" ,gobject-introspection)))
2959 `(("clutter" ,clutter)
2960 ("gstreamer" ,gstreamer)
2961 ("gst-plugins-base" ,gst-plugins-base)))
2962 (home-page "http://www.clutter-project.org")
2963 (synopsis "Integration library for using GStreamer with Clutter")
2965 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2966 It provides a GStreamer sink to upload frames to GL and an actor that
2967 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2968 GL based interactive canvas library.")
2969 (license license:lgpl2.0+)))
2971 (define-public libchamplain
2973 (name "libchamplain")
2978 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2982 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2983 (build-system gnu-build-system)
2984 (arguments '(#:configure-flags '("--enable-vala")))
2986 `(("gobject-introspection" ,gobject-introspection)
2987 ("pkg-config" ,pkg-config)
2990 `(("libsoup" ,libsoup)
2992 ("clutter" ,clutter)
2993 ("clutter-gtk" ,clutter-gtk)
2994 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2998 (home-page "http://projects.gnome.org/libchamplain/")
2999 (synopsis "C library providing a ClutterActor to display maps")
3001 "libchamplain is a C library providing a ClutterActor to display maps.
3002 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3003 and Perl bindings are also available. It supports numerous free map sources
3004 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3005 (license license:lgpl2.1+)))
3014 (uri (string-append "mirror://gnome/sources/" name "/"
3015 (version-major+minor version) "/"
3016 name "-" version ".tar.xz"))
3019 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3020 (build-system gnu-build-system)
3022 `(("intltool" ,intltool)
3023 ("pkg-config" ,pkg-config)
3024 ("gobject-introspection" ,gobject-introspection)))
3027 ("gdk-pixbuf" ,gdk-pixbuf)
3028 ("sqlite" ,sqlite)))
3029 ;; XXX TODO: Figure out how to run the test suite.
3030 (arguments `(#:tests? #f))
3031 (home-page "https://wiki.gnome.org/Projects/Gom")
3032 (synopsis "Object mapper from GObjects to SQLite")
3034 "Gom provides an object mapper from GObjects to SQLite. It helps you
3035 write applications that need to store structured data as well as make complex
3036 queries upon that data.")
3037 (license license:lgpl2.1+)))
3039 (define-public libgames-support
3041 (name "libgames-support")
3045 (uri (string-append "mirror://gnome/sources/" name "/"
3046 (version-major+minor version) "/"
3047 name "-" version ".tar.xz"))
3050 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3051 (build-system gnu-build-system)
3054 (modify-phases %standard-phases
3055 (add-before 'check 'pre-check
3057 ;; tests require a writable HOME.
3058 (setenv "HOME" (getcwd))
3061 `(("intltool" ,intltool)
3062 ("pkg-config" ,pkg-config)
3065 ;; Required by libgames-support-1.0.pc
3067 ("libgee" ,libgee)))
3068 (home-page "https://www.gnome.org/")
3069 (synopsis "Useful functionality shared among GNOME games")
3071 "libgames-support is a small library intended for internal use by
3072 GNOME Games, but it may be used by others.")
3073 (license license:lgpl3+)))
3075 (define-public gnome-klotski
3077 (name "gnome-klotski")
3081 (uri (string-append "mirror://gnome/sources/" name "/"
3082 (version-major+minor version) "/"
3083 name "-" version ".tar.xz"))
3086 "14w40a1gjlg4l1vhcy0qcf3scmwm2v3vhxnxj269pfqlv8s7alaw"))))
3087 (build-system glib-or-gtk-build-system)
3089 `(("desktop-file-utils" ,desktop-file-utils)
3090 ("intltool" ,intltool)
3091 ("itstool" ,itstool)
3092 ("pkg-config" ,pkg-config)
3093 ("xmllint" ,libxml2)))
3096 ("libgames-support" ,libgames-support)
3097 ("librsvg" ,librsvg)))
3098 (home-page "https://wiki.gnome.org/Apps/Klotski")
3099 (synopsis "Sliding block puzzles")
3101 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3102 the patterned block to the area bordered by green markers. To do so, you will
3103 need to slide other blocks out of the way. Complete each puzzle in as few moves
3105 (license license:gpl2+)))
3107 (define-public grilo
3114 (uri (string-append "mirror://gnome/sources/" name "/"
3115 (version-major+minor version) "/"
3116 name "-" version ".tar.xz"))
3119 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3120 (build-system gnu-build-system)
3122 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3123 ("intltool" ,intltool)
3124 ("pkg-config" ,pkg-config)
3125 ("gobject-introspection" ,gobject-introspection)))
3129 ("libxml2" ,libxml2)
3130 ;; XXX TODO: Add oauth
3131 ("libsoup" ,libsoup)
3132 ("totem-pl-parser" ,totem-pl-parser)))
3135 (modify-phases %standard-phases
3136 (add-after 'unpack 'fix-introspection-install-dir
3137 (lambda* (#:key outputs #:allow-other-keys)
3138 (let ((out (assoc-ref outputs "out")))
3139 (substitute* '("src/Makefile.in"
3140 "libs/pls/Makefile.in"
3141 "libs/net/Makefile.in")
3142 (("@INTROSPECTION_GIRDIR@")
3143 (string-append out "/share/gir-1.0/"))
3144 (("@INTROSPECTION_TYPELIBDIR@")
3145 (string-append out "/lib/girepository-1.0/")))))))))
3146 (native-search-paths
3147 (list (search-path-specification
3148 (variable "GRL_PLUGIN_PATH")
3149 (files (list (string-append "lib/grilo-"
3150 (version-major+minor version)))))))
3151 (home-page "http://live.gnome.org/Grilo")
3152 (synopsis "Framework for discovering and browsing media")
3154 "Grilo is a framework focused on making media discovery and browsing easy
3155 for application developers.")
3156 (license license:lgpl2.1+)))
3158 (define-public grilo-plugins
3160 (name "grilo-plugins")
3165 (uri (string-append "mirror://gnome/sources/" name "/"
3166 (version-major+minor version) "/"
3167 name "-" version ".tar.xz"))
3170 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3171 (build-system gnu-build-system)
3173 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3174 ("intltool" ,intltool)
3175 ("itstool" ,itstool)
3176 ("pkg-config" ,pkg-config)))
3179 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3181 ("libxml2" ,libxml2)
3184 ;; XXX TODO: Add oauth
3185 ;; XXX TODO: Add goa
3186 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3187 ;; XXX TODO: Add lua (needs help finding it)
3188 ("json-glib" ,json-glib)
3191 ("libsoup" ,libsoup)
3192 ("libarchive" ,libarchive)
3193 ("totem-pl-parser" ,totem-pl-parser)))
3195 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3198 ,(version-major+minor version)))
3199 ;; XXX FIXME: Try to get the test suite working. It appears to require
3200 ;; a working system dbus. Inside the build container, all tests fail
3201 ;; with: "assertion failed: (source)". Outside of the build container,
3202 ;; most tests succeed.
3204 (home-page "http://live.gnome.org/Grilo")
3205 (synopsis "Plugins for the Grilo media discovery library")
3207 "Grilo is a framework focused on making media discovery and browsing easy
3208 for application developers.")
3209 (license license:lgpl2.1+)))
3211 (define-public totem
3218 (uri (string-append "mirror://gnome/sources/" name "/"
3219 (version-major+minor version) "/"
3220 name "-" version ".tar.xz"))
3223 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3224 (patches (search-patches "totem-debug-format-fix.patch"))))
3225 (build-system glib-or-gtk-build-system)
3227 `(("pkg-config" ,pkg-config)
3228 ("desktop-file-utils" ,desktop-file-utils)
3229 ("gobject-introspection" ,gobject-introspection)
3230 ("intltool" ,intltool)
3231 ("itstool" ,itstool)
3232 ("xmllint" ,libxml2)))
3234 `(("dconf" ,dconf)))
3237 ("gdk-pixbuf" ,gdk-pixbuf)
3240 ("dbus-glib" ,dbus-glib)
3241 ("clutter" ,clutter)
3242 ("clutter-gtk" ,clutter-gtk)
3243 ("clutter-gst" ,clutter-gst)
3245 ("libxxf86vm" ,libxxf86vm)
3246 ("libxtst" ,libxtst)
3247 ("libxrandr" ,libxrandr)
3248 ("libxml2" ,libxml2)
3249 ("libsoup" ,libsoup)
3250 ("libpeas" ,libpeas)
3251 ("librsvg" ,librsvg)
3253 ("gnome-desktop" ,gnome-desktop)
3254 ("gstreamer" ,gstreamer)
3255 ("gst-plugins-base" ,gst-plugins-base)
3256 ("gst-plugins-good" ,gst-plugins-good)
3257 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3258 ("adwaita-icon-theme" ,adwaita-icon-theme)
3259 ;; XXX We use python-2 because libxml2 because itstool (which needs
3260 ;; libxml) currently uses python-2.
3261 ("python" ,python-2)
3262 ("python-pygobject" ,python2-pygobject)
3263 ;; XXX TODO pylint needed for python support
3264 ("totem-pl-parser" ,totem-pl-parser)
3266 ("grilo-plugins" ,grilo-plugins)
3271 (modify-phases %standard-phases
3273 'install 'wrap-totem
3274 (lambda* (#:key inputs outputs #:allow-other-keys)
3275 (let ((out (assoc-ref outputs "out"))
3276 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3277 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3278 (wrap-program (string-append out "/bin/totem")
3279 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3280 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3282 (home-page "https://wiki.gnome.org/Apps/Videos")
3283 (synopsis "Simple media player for GNOME based on GStreamer")
3284 (description "Totem is a simple yet featureful media player for GNOME
3285 which can read a large number of file formats.")
3286 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3287 ;; to be used and distributed together with GStreamer and Totem. See
3288 ;; file://COPYING in the source distribution for details.
3289 (license license:gpl2+)))
3291 (define-public rhythmbox
3297 (uri (string-append "mirror://gnome/sources/" name "/"
3298 (version-major+minor version) "/"
3299 name "-" version ".tar.xz"))
3302 "1347747m90aiz47wny1f8rdk5195qf2ph0554c6y91711sm951gg"))))
3303 (build-system glib-or-gtk-build-system)
3306 (list "--enable-lirc"
3313 (modify-phases %standard-phases
3315 'install 'wrap-rhythmbox
3316 (lambda* (#:key inputs outputs #:allow-other-keys)
3317 (let ((out (assoc-ref outputs "out"))
3318 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3319 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3320 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3321 (python-path (getenv "PYTHONPATH")))
3322 (wrap-program (string-append out "/bin/rhythmbox")
3323 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3324 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3325 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3326 `("PYTHONPATH" ":" prefix (,python-path))))
3329 `(("dconf" ,dconf)))
3331 `(("itstool" ,itstool)
3332 ("intltool" ,intltool)
3333 ("glib" ,glib "bin")
3334 ("gobject-introspection" ,gobject-introspection)
3335 ("desktop-file-utils" ,desktop-file-utils)
3336 ("pkg-config" ,pkg-config)
3337 ("xmllint" ,libxml2)))
3339 `(("json-glib" ,json-glib)
3341 ("gnome-desktop" ,gnome-desktop)
3343 ("python-pygobject" ,python2-pygobject)
3347 ("adwaita-icon-theme" ,adwaita-icon-theme)
3349 ("grilo-plugins" ,grilo-plugins)
3350 ("gstreamer" ,gstreamer)
3351 ("gst-plugins-base" ,gst-plugins-base)
3352 ("gst-plugins-good" ,gst-plugins-good)
3353 ("totem-pl-parser" ,totem-pl-parser)
3354 ("libgudev" ,libgudev)
3355 ;;("libmtp" ,libmtp) FIXME: Not detected
3356 ("libsecret" ,libsecret)
3357 ("libsoup" ,libsoup)
3358 ("libnotify" ,libnotify)
3359 ("libpeas" ,libpeas)
3361 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3362 ;;("clutter" ,clutter)
3363 ;;("clutter-gtk" ,clutter-gtk)
3364 ;;("clutter-gst" ,clutter-gst)
3365 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3372 ("brasero" ,brasero)))
3373 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3374 (synopsis "Music player for GNOME")
3375 (description "Rhythmbox is a music playing application for GNOME. It
3376 supports playlists, song ratings, and any codecs installed through gstreamer.")
3377 (license license:gpl2+)))
3385 (uri (string-append "mirror://gnome/sources/" name "/"
3386 (version-major+minor version) "/"
3387 name "-" version ".tar.xz"))
3390 "1qsv3brhi8l8fr22nd3d0fwq5xhwspqw0bammhkkq3ga0z6791wn"))))
3391 (build-system glib-or-gtk-build-system)
3394 (modify-phases %standard-phases
3397 (lambda* (#:key outputs #:allow-other-keys)
3398 (let ((out (assoc-ref outputs "out"))
3399 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3400 (wrap-program (string-append out "/bin/eog")
3401 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3404 `(("dconf" ,dconf)))
3406 `(("intltool" ,intltool)
3407 ("itstool" ,itstool)
3408 ("glib" ,glib "bin")
3409 ("gobject-introspection" ,gobject-introspection)
3410 ("pkg-config" ,pkg-config)
3411 ("xmllint" ,libxml2)))
3413 `(("gnome-desktop" ,gnome-desktop)
3414 ("shared-mime-info" ,shared-mime-info)
3415 ("adwaita-icon-theme" ,adwaita-icon-theme)
3418 ("libexif" ,libexif)
3419 ("libpeas" ,libpeas)
3420 ("libjpeg" ,libjpeg)
3421 ("librsvg" ,librsvg)
3422 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3424 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3425 (synopsis "GNOME image viewer")
3426 (description "Eye of GNOME is the GNOME image viewer. It
3427 supports image conversion, rotation, and slideshows.")
3428 (license license:gpl2+)))
3430 (define-public libgudev
3436 (uri (string-append "mirror://gnome/sources/" name "/"
3437 version "/" name "-" version ".tar.xz"))
3440 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3441 (build-system gnu-build-system)
3443 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3444 ("gobject-introspection" ,gobject-introspection)
3445 ("pkg-config" ,pkg-config)))
3447 `(("glib" ,glib))) ; required by gudev-1.0.pc
3450 (home-page "https://wiki.gnome.org/Projects/libgudev")
3451 (synopsis "GObject bindings for libudev")
3453 "This library provides GObject bindings for libudev. It was originally
3454 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3455 (license license:lgpl2.1+)))
3463 (uri (string-append "mirror://gnome/sources/" name "/"
3464 (version-major+minor version) "/"
3465 name "-" version ".tar.xz"))
3468 "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325"))))
3469 (build-system gnu-build-system)
3471 '(#:tests? #f)) ; XXX: requiring `pidof'
3473 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3474 ("intltool" ,intltool)
3475 ("pkg-config" ,pkg-config)
3476 ("xsltproc" ,libxslt)))
3479 ("docbook-xml" ,docbook-xml-4.2)
3480 ("docbook-xsl" ,docbook-xsl)
3485 ("libarchive" ,libarchive)
3486 ("libbluray" ,libbluray)
3487 ("libcdio-paranoia" ,libcdio-paranoia)
3488 ("libgcrypt" ,libgcrypt)
3489 ("libgphoto2" ,libgphoto2)
3490 ("libgudev" ,libgudev)
3492 ("libsecret" ,libsecret)
3493 ("libsmbclient" ,samba)
3494 ("libsoup" ,libsoup)
3495 ("libxml2" ,libxml2)
3496 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3497 ("udisks" ,udisks)))
3498 (home-page "https://wiki.gnome.org/gvfs/")
3499 (synopsis "Userspace virtual file system for GIO")
3501 "GVFS is a userspace virtual file system designed to work with the I/O
3502 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3503 to all applications using the GIO API. It also supports exposing the GVFS
3504 mounts to non-GIO applications using FUSE.
3506 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3508 (license license:lgpl2.0+)))
3516 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3518 (string-join (string-split version #\.)
3523 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3524 (build-system gnu-build-system)
3526 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3527 ("gobject-introspection" ,gobject-introspection)
3528 ("pkg-config" ,pkg-config)
3530 ("autoconf" ,autoconf)
3531 ("automake" ,automake)
3532 ("libtool" ,libtool)
3533 ("gtk-doc" ,gtk-doc)))
3535 ;; Both of these are required by gusb.pc.
3537 ("libusb" ,libusb)))
3539 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3541 (modify-phases %standard-phases
3542 (add-after 'unpack 'autogen
3544 (and (zero? (system* "gtkdocize"))
3545 (zero? (system* "autoreconf" "-vif"))))))))
3546 (home-page "https://github.com/hughsie/libgusb")
3547 (synopsis "GLib binding for libusb1")
3549 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3550 asynchronous control, bulk and interrupt transfers with proper cancellation
3551 and integration into a mainloop. This makes it easy to integrate low level
3552 USB transfers with your high-level application or system daemon.")
3553 (license license:lgpl2.1+)))
3555 (define-public simple-scan
3557 (name "simple-scan")
3558 (version "3.22.0.1")
3561 (uri (string-append "https://launchpad.net/simple-scan/"
3562 (version-major+minor version) "/"
3563 version "/+download/simple-scan-"
3567 "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"))))
3568 (build-system glib-or-gtk-build-system)
3573 ("gdk-pixbuf" ,gdk-pixbuf)
3575 ("libsane" ,sane-backends)))
3577 `(("gettext" ,gettext-minimal)
3578 ("itstool" ,itstool)
3580 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3581 ("pkg-config" ,pkg-config)
3583 ("xmllint" ,libxml2)))
3585 '(#:configure-flags '("--disable-packagekit")
3587 (modify-phases %standard-phases
3588 (add-after 'unpack 'clean
3590 ;; Remove a left-over reference to PackageKit.
3592 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3594 ;; There are some generated C files erroneously
3595 ;; included in the source distribution, and this
3596 ;; one breaks the build by referring to a
3597 ;; non-existent header (packagekit.h)
3598 (delete-file "src/ui.c"))))))
3599 (home-page "https://launchpad.net/simple-scan")
3600 (synopsis "Document and image scanner")
3601 (description "Simple Scan is an easy-to-use application, designed to let
3602 users connect their scanner and quickly have the image/document in an
3603 appropriate format. Simple Scan is basically a frontend for SANE - which is
3604 the same backend as XSANE uses. This means that all existing scanners will
3605 work and the interface is well tested.")
3606 (license license:gpl3+)))
3608 (define-public epiphany
3614 (uri (string-append "mirror://gnome/sources/" name "/"
3615 (version-major+minor version) "/"
3616 name "-" version ".tar.xz"))
3619 "09rscbmyjxzd8wlibn1fbmbwmlwnahzfl1kkcka6dhm121yd2id6"))))
3620 (build-system glib-or-gtk-build-system)
3622 ;; FIXME: tests run under Xvfb, but fail with:
3623 ;; /src/bookmarks/ephy-bookmarks/create:
3624 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3629 `(("dconf" ,dconf)))
3631 `(("intltool" ,intltool)
3632 ("itstool" ,itstool)
3633 ("pkg-config" ,pkg-config)
3634 ("xmllint" ,libxml2)))
3638 ("glib-networking" ,glib-networking)
3639 ("gnome-desktop" ,gnome-desktop)
3640 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3641 ("iso-codes" ,iso-codes)
3642 ("libnotify" ,libnotify)
3643 ("libsecret" ,libsecret)
3644 ("libxslt" ,libxslt)
3646 ("webkitgtk" ,webkitgtk)))
3647 (home-page "https://wiki.gnome.org/Apps/Web")
3648 (synopsis "GNOME web browser")
3650 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3651 principles are simplicity and standards compliance.")
3652 (license license:gpl2+)))
3654 (define-public d-feet
3660 (uri (string-append "mirror://gnome/sources/" name "/"
3661 (version-major+minor version) "/"
3662 name "-" version ".tar.xz"))
3665 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3666 (build-system glib-or-gtk-build-system)
3668 '(#:out-of-source? #f ; tests need to run in the source directory.
3670 (modify-phases %standard-phases
3674 ;; The test suite requires a running X server.
3675 (system "Xvfb :1 &")
3676 (setenv "DISPLAY" ":1")
3677 ;; Don't fail on missing '/etc/machine-id'.
3678 (setenv "DBUS_FATAL_WARNINGS" "0")
3679 ;; tests.py and window.py don't meet E402:
3680 ;; E402 module level import not at top of file
3681 (substitute* "src/tests/Makefile"
3682 (("--ignore=E123") "--ignore=E123,E402"))
3685 'install 'wrap-program
3686 (lambda* (#:key outputs #:allow-other-keys)
3687 (let ((prog (string-append (assoc-ref outputs "out")
3690 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3691 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3694 `(("intltool" ,intltool)
3695 ("itstool" ,itstool)
3696 ("pkg-config" ,pkg-config)
3697 ("python-pep8" ,python-pep8)
3698 ("xmllint" ,libxml2)
3699 ("xorg-server" ,xorg-server)))
3701 `(("gobject-introspection" ,gobject-introspection)
3703 ("python" ,python-wrapper)
3704 ("python-pygobject" ,python-pygobject)))
3705 (home-page "https://wiki.gnome.org/Apps/DFeet")
3706 (synopsis "D-Bus debugger")
3708 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3709 of running programs and invoke methods on those interfaces.")
3710 (license license:gpl2+)))
3712 (define-public yelp-xsl
3718 (uri (string-append "mirror://gnome/sources/" name "/"
3719 (version-major+minor version) "/"
3720 name "-" version ".tar.xz"))
3723 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3724 (build-system gnu-build-system)
3726 `(("intltool" ,intltool)
3727 ("itstool" ,itstool)
3728 ("xmllint" ,libxml2)))
3729 (home-page "https://wiki.gnome.org/Apps/Yelp")
3730 (synopsis "XSL stylesheets for Yelp")
3732 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3733 to format Docbook and Mallard documents.")
3734 (license license:gpl2+)))
3742 (uri (string-append "mirror://gnome/sources/" name "/"
3743 (version-major+minor version) "/"
3744 name "-" version ".tar.xz"))
3747 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3748 (build-system glib-or-gtk-build-system)
3750 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3751 ("intltool" ,intltool)
3752 ("itstool" ,itstool)
3753 ("pkg-config" ,pkg-config)))
3755 `(("dconf" ,dconf)))
3757 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3758 ("libxslt" ,libxslt)
3760 ("webkitgtk" ,webkitgtk)
3761 ("yelp-xsl" ,yelp-xsl)))
3762 (home-page "https://wiki.gnome.org/Apps/Yelp")
3763 (synopsis "GNOME help browser")
3765 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3766 man, info, and HTML documents. It can locate documents according to the
3767 freedesktop.org help system specification.")
3768 (license license:gpl2+)))
3770 (define-public yelp-tools
3776 (uri (string-append "mirror://gnome/sources/" name "/"
3777 (version-major+minor version) "/"
3778 name "-" version ".tar.xz"))
3781 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3782 (build-system gnu-build-system)
3784 `(("pkg-config" ,pkg-config)))
3786 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3787 `(("itstool" ,itstool)
3788 ("xmllint" ,libxml2)
3789 ("xsltproc" ,libxslt)))
3791 `(("yelp-xsl" ,yelp-xsl)))
3792 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3793 (synopsis "Yelp documentation tools")
3795 "Yelp-tools is a collection of scripts and build utilities to help create,
3796 manage, and publish documentation for Yelp and the web. Most of the heavy
3797 lifting is done by packages like yelp-xsl and itstool. This package just
3798 wraps things up in a developer-friendly way.")
3799 (license license:gpl2+)))
3801 (define-public libgee
3807 (uri (string-append "mirror://gnome/sources/" name "/"
3808 (version-major+minor version) "/"
3809 name "-" version ".tar.xz"))
3812 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3813 (build-system gnu-build-system)
3816 (modify-phases %standard-phases
3817 (add-after 'unpack 'fix-introspection-install-dir
3818 (lambda* (#:key outputs #:allow-other-keys)
3819 (let ((out (assoc-ref outputs "out")))
3820 (substitute* "gee/Makefile.in"
3821 (("@INTROSPECTION_GIRDIR@")
3822 (string-append out "/share/gir-1.0/"))
3823 (("@INTROSPECTION_TYPELIBDIR@")
3824 (string-append out "/lib/girepository-1.0/")))))))))
3826 `(("glib" ,glib "bin")
3827 ("pkg-config" ,pkg-config)))
3830 ("gobject-introspection" ,gobject-introspection)))
3831 (home-page "https://wiki.gnome.org/Projects/Libgee")
3832 (synopsis "GObject collection library")
3834 "Libgee is a utility library providing GObject-based interfaces and
3835 classes for commonly used data structures.")
3836 (license license:lgpl2.1+)))
3838 (define-public gexiv2
3844 (uri (string-append "mirror://gnome/sources/" name "/"
3845 (version-major+minor version) "/"
3846 name "-" version ".tar.xz"))
3849 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3850 (build-system gnu-build-system)
3852 `(("glib" ,glib "bin")
3853 ("pkg-config" ,pkg-config)))
3855 ;; Listed in "Requires" section of gexiv2.pc
3856 `(("exiv2" ,exiv2)))
3859 ("gobject-introspection" ,gobject-introspection)))
3860 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3861 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3863 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3864 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3865 metadata in photo and video files of various formats.")
3866 (license license:gpl2+)))
3868 (define-public shotwell
3874 (uri (string-append "mirror://gnome/sources/" name "/"
3875 (version-major+minor version) "/"
3876 name "-" version ".tar.xz"))
3879 "0fgs1rgvkmy79bmpxrsvm5w8rvqml4l1vnwma0xqx5zzm02p8a07"))))
3880 (build-system glib-or-gtk-build-system)
3882 `(("dconf" ,dconf)))
3884 `(("pkg-config" ,pkg-config)
3885 ("itstool" ,itstool)
3886 ("gettext" ,gettext-minimal)
3887 ("itstool" ,itstool)
3890 `(("glib:bin" ,glib "bin")
3891 ("gstreamer" ,gstreamer)
3892 ("gst-plugins-base" ,gst-plugins-base)
3896 ("json-glib" ,json-glib)
3897 ("webkitgtk" ,webkitgtk)
3899 ("libsoup" ,libsoup)
3900 ("libxml2" ,libxml2)
3901 ("libgudev" ,libgudev)
3902 ("libgphoto2" ,libgphoto2)))
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"))))
4402 (build-system gnu-build-system)
4404 "doc")) ; 8 MiB of gtk-doc HTML
4407 (let ((out (assoc-ref %outputs "out"))
4408 (doc (assoc-ref %outputs "doc"))
4409 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4411 (list "--with-crypto=gnutls"
4412 "--disable-config-plugin-ibft"
4414 "--localstatedir=/var"
4415 (string-append "--with-udev-dir="
4417 (string-append "--with-dbus-sys-dir="
4418 out "/etc/dbus-1/system.d")
4419 (string-append "--with-html-dir="
4420 doc "/share/gtk-doc/html")
4421 (string-append "--with-dhclient=" dhclient)))
4423 (modify-phases %standard-phases
4424 (add-before 'configure 'pre-configure
4426 ;; These tests try to test aspects of network-manager's
4427 ;; functionality within restricted containers, but they don't
4428 ;; cope with being already in the Guix build jail as that jail
4429 ;; lacks some features that they would like to proxy over (like
4431 (substitute* '("src/platform/Makefile.in"
4432 "src/devices/Makefile.in")
4433 (("SUBDIRS = tests") ""))
4434 (substitute* '("src/tests/Makefile.in")
4435 (("\ttest-route-manager-linux") "\t")
4436 (("\ttest-route-manager-fake") "\t"))
4438 (add-before 'check 'pre-check
4440 ;; For the missing /etc/machine-id.
4441 (setenv "DBUS_FATAL_WARNINGS" "0")
4445 (zero? (system* "make"
4453 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4454 ("gobject-introspection" ,gobject-introspection)
4455 ("intltool" ,intltool)
4456 ("pkg-config" ,pkg-config)
4458 ("python" ,python-wrapper)
4459 ("python-dbus" ,python-dbus)
4460 ("python-pygobject" ,python-pygobject)))
4462 `(("dbus-glib" ,dbus-glib)
4463 ("dnsmasq" ,dnsmasq)
4465 ("iptables" ,iptables)
4466 ("isc-dhcp" ,isc-dhcp)
4467 ("libgcrypt" ,libgcrypt)
4468 ("libgudev" ,libgudev)
4471 ("libsoup" ,libsoup)
4472 ("modem-manager" ,modem-manager)
4475 ("readline" ,readline)
4476 ("util-linux" ,util-linux)))
4477 (synopsis "Network connection manager")
4478 (home-page "http://www.gnome.org/projects/NetworkManager/")
4480 "NetworkManager is a system network service that manages your network
4481 devices and connections, attempting to keep active network connectivity when
4482 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4483 devices, and provides VPN integration with a variety of different VPN
4485 (license license:gpl2+)
4486 (properties '((upstream-name . "NetworkManager")))))
4488 (define-public mobile-broadband-provider-info
4490 (name "mobile-broadband-provider-info")
4491 (version "20151214")
4495 "mirror://gnome/sources/"
4496 "mobile-broadband-provider-info/" version "/"
4497 "mobile-broadband-provider-info-" version ".tar.xz"))
4500 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4501 (build-system gnu-build-system)
4503 `(#:tests? #f)) ; No tests
4504 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4505 (synopsis "Database of broadband connection configuration")
4506 (description "Database of broadband connection configuration.")
4507 (license license:public-domain)))
4509 (define-public network-manager-applet
4511 (name "network-manager-applet")
4515 (uri (string-append "mirror://gnome/sources/" name "/"
4516 (version-major+minor version) "/"
4517 name "-" version ".tar.xz"))
4520 "16a43sl9aijmvxbb08hbjqyjnlshj8dckycbgi9nm333fr47n6s3"))))
4521 (build-system glib-or-gtk-build-system)
4522 ;; TODO: WWAN support supposedly requires an update of glibmm which in turn
4523 ;; requires an update of the its dependencies (glib and others).
4524 (arguments '(#:configure-flags '("--disable-migration"
4527 `(("intltool" ,intltool)
4528 ("gobject-introspection" ,gobject-introspection)
4529 ("pkg-config" ,pkg-config)))
4531 ;; libnm-gtk.pc refers to all these.
4532 `(("dbus-glib" ,dbus-glib)
4534 ("network-manager" ,network-manager)))
4536 `(("iso-codes" ,iso-codes)
4537 ("libgudev" ,libgudev)
4538 ("libnotify" ,libnotify)
4539 ("libsecret" ,libsecret)
4540 ("jansson" ,jansson))) ;for team support
4541 (synopsis "Applet for managing network connections")
4542 (home-page "http://www.gnome.org/projects/NetworkManager/")
4544 "This package contains a systray applet for NetworkManager. It displays
4545 the available networks and allows users to easily switch between them.")
4546 (license license:gpl2+)))
4548 (define-public libxml++
4554 (uri (string-append "mirror://gnome/sources/" name "/"
4555 (version-major+minor version) "/"
4556 name "-" version ".tar.xz"))
4559 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4560 (build-system gnu-build-system)
4561 ;; libxml++-3.0.pc refers to all these.
4563 `(("libxml2" ,libxml2)
4564 ("glibmm" ,glibmm)))
4567 ("pkg-config" ,pkg-config)))
4568 (home-page "http://libxmlplusplus.sourceforge.net/")
4569 (synopsis "C++ wrapper for XML parser library libxml2")
4571 "This package provides a C++ wrapper for the XML parser library
4573 (license license:lgpl2.1+)))
4575 (define-public libxml++-2
4582 (uri (string-append "mirror://gnome/sources/" name "/"
4583 (version-major+minor version) "/"
4584 name "-" version ".tar.xz"))
4587 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4595 (uri (string-append "mirror://gnome/sources/" name "/"
4596 (version-major+minor version) "/"
4597 name "-" version ".tar.xz"))
4600 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4601 (build-system gnu-build-system)
4604 '("--without-plymouth")
4606 (modify-phases %standard-phases
4608 'configure 'pre-configure
4610 ;; We don't have <systemd/sd-daemon.h>.
4611 (substitute* '("common/gdm-log.c"
4612 "daemon/gdm-server.c"
4613 "daemon/gdm-session-worker.c"
4614 "daemon/gdm-session-worker-job.c")
4615 (("#include <systemd/sd-daemon\\.h>") ""))
4616 ;; Use elogind for sd-login.
4617 (substitute* '("common/gdm-common.c"
4618 "daemon/gdm-manager.c"
4619 "libgdm/gdm-user-switching.c")
4620 (("#include <systemd/sd-login\\.h>")
4621 "#include <elogind/sd-login.h>"))
4622 ;; Avoid checking SYSTEMD using pkg-config.
4623 (setenv "SYSTEMD_CFLAGS" " ")
4624 (setenv "SYSTEMD_LIBS" "-lelogind")
4628 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4629 ("gobject-introspection" ,gobject-introspection)
4630 ("intltool" ,intltool)
4631 ("itstool" ,itstool)
4632 ("pkg-config" ,pkg-config)
4633 ("xmllint" ,libxml2)))
4635 `(("accountsservice" ,accountsservice)
4636 ("check" ,check) ; for testing
4637 ("elogind" ,elogind)
4639 ("iso-codes" ,iso-codes)
4640 ("libcanberra" ,libcanberra)
4641 ("linux-pam" ,linux-pam)))
4642 (synopsis "Display manager for GNOME")
4643 (home-page "http://wiki.gnome.org/Projects/GDM/")
4645 "GNOME Display Manager is a system service that is responsible for
4646 providing graphical log-ins and managing local and remote displays.")
4647 (license license:gpl2+)))
4649 (define-public libgtop
4655 (uri (string-append "mirror://gnome/sources/" name "/"
4656 (version-major+minor version) "/"
4657 name "-" version ".tar.xz"))
4660 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4661 (build-system gnu-build-system)
4663 `(("gobject-introspection" ,gobject-introspection)
4664 ("intltool" ,intltool)
4666 ("pkg-config" ,pkg-config)))
4668 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4669 (synopsis "Portable system access library")
4670 (home-page "https://www.gnome.org/")
4672 "LibGTop is a library to get system specific data such as CPU and memory
4673 usage and information about running processes.")
4674 (license license:gpl2+)))
4676 (define-public gnome-bluetooth
4678 (name "gnome-bluetooth")
4682 (uri (string-append "mirror://gnome/sources/" name "/"
4683 (version-major+minor version) "/"
4684 name "-" version ".tar.xz"))
4687 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4688 (build-system glib-or-gtk-build-system)
4690 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4691 ("gobject-introspection" ,gobject-introspection)
4692 ("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("xmllint" ,libxml2)))
4696 ;; gnome-bluetooth-1.0.pc refers to all these.
4700 `(("libcanberra" ,libcanberra)
4701 ("libnotify" ,libnotify)))
4702 (synopsis "GNOME Bluetooth subsystem")
4703 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4705 "This package contains tools for managing and manipulating Bluetooth
4706 devices using the GNOME desktop.")
4707 (license license:lgpl2.1+)))
4709 (define-public gnome-control-center
4711 (name "gnome-control-center")
4715 (uri (string-append "mirror://gnome/sources/" name "/"
4716 (version-major+minor version) "/"
4717 name "-" version ".tar.xz"))
4720 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4721 (build-system glib-or-gtk-build-system)
4724 (modify-phases %standard-phases
4725 (add-before 'configure 'patch-paths
4726 (lambda* (#:key inputs #:allow-other-keys)
4727 (let ((libc (assoc-ref inputs "libc"))
4728 (tzdata (assoc-ref inputs "tzdata")))
4729 (substitute* "panels/datetime/tz.h"
4730 (("/usr/share/zoneinfo/zone.tab")
4731 (string-append tzdata "/share/zoneinfo/zone.tab")))
4732 (substitute* "panels/datetime/test-endianess.c"
4733 (("/usr/share/locale")
4734 (string-append libc "/share/locale")))
4737 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4738 ("intltool" ,intltool)
4739 ("pkg-config" ,pkg-config)
4740 ("xsltproc" ,libxslt)))
4742 `(("accountsservice" ,accountsservice)
4743 ("clutter-gtk" ,clutter-gtk)
4744 ("colord-gtk" ,colord-gtk)
4747 ("docbook-xsl" ,docbook-xsl)
4748 ("gnome-bluetooth" ,gnome-bluetooth)
4749 ("gnome-desktop" ,gnome-desktop)
4750 ("gnome-online-accounts" ,gnome-online-accounts)
4751 ("gnome-settings-daemon" ,gnome-settings-daemon)
4754 ("libcanberra" ,libcanberra)
4755 ("libgudev" ,libgudev)
4756 ("libgtop" ,libgtop)
4757 ("libpwquality" ,libpwquality)
4758 ("libsoup" ,libsoup)
4759 ("libxml2" ,libxml2)
4760 ("libwacom" ,libwacom)
4762 ("mit-krb5" ,mit-krb5)
4763 ("modem-manager" ,modem-manager)
4764 ("network-manager-applet" ,network-manager-applet)
4766 ("pulseaudio" ,pulseaudio)
4767 ("smbclient" ,samba)
4769 ("upower" ,upower)))
4770 (synopsis "Utilities to configure the GNOME desktop")
4771 (home-page "https://www.gnome.org/")
4773 "This package contains configuration applets for the GNOME desktop,
4774 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4775 properties, sound setup, desktop theme and background, user interface
4776 properties, screen resolution, and other GNOME parameters.")
4777 (license license:gpl2+)))
4779 (define-public gnome-shell
4781 (name "gnome-shell")
4785 (uri (string-append "mirror://gnome/sources/" name "/"
4786 (version-major+minor version) "/"
4787 name "-" version ".tar.xz"))
4790 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
4791 (build-system glib-or-gtk-build-system)
4794 (modify-phases %standard-phases
4796 (lambda* (#:key outputs #:allow-other-keys)
4797 (let* ((out (assoc-ref outputs "out"))
4798 (keysdir (string-append
4799 out "/share/gnome-control-center/keybindings")))
4800 (zero? (system* "make"
4801 (string-append "keysdir=" keysdir)
4804 'install 'wrap-programs
4805 (lambda* (#:key outputs #:allow-other-keys)
4806 (let ((out (assoc-ref outputs "out"))
4807 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4808 (python-path (getenv "PYTHONPATH")))
4809 (wrap-program (string-append out "/bin/gnome-shell")
4810 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4813 (wrap-program (string-append out "/bin/" prog)
4814 `("PYTHONPATH" ":" prefix (,python-path))
4815 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4816 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4819 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4820 ("gobject-introspection" ,gobject-introspection)
4821 ("intltool" ,intltool)
4822 ("pkg-config" ,pkg-config)
4824 ("xsltproc" ,libxslt)))
4826 `(("accountsservice" ,accountsservice)
4827 ("caribou" ,caribou)
4828 ("docbook-xsl" ,docbook-xsl)
4829 ("evolution-data-server" ,evolution-data-server)
4833 ("gnome-bluetooth" ,gnome-bluetooth)
4834 ("gnome-control-center" ,gnome-control-center)
4835 ("gnome-desktop" ,gnome-desktop)
4836 ("gnome-settings-daemon" ,gnome-settings-daemon)
4837 ("gst-plugins-base" ,gst-plugins-base)
4839 ("libcanberra" ,libcanberra)
4840 ("libcroco" ,libcroco)
4841 ("libgweather" ,libgweather)
4842 ("libsoup" ,libsoup)
4843 ("mesa-headers" ,mesa-headers)
4845 ("network-manager-applet" ,network-manager-applet)
4847 ("pulseaudio" ,pulseaudio)
4848 ("python-pygobject" ,python-pygobject)
4849 ("startup-notification" ,startup-notification)
4850 ("telepathy-logger" ,telepathy-logger)
4852 ;; XXX: required by libgjs.la.
4853 ("readline" ,readline)))
4854 (synopsis "Desktop shell for GNOME")
4855 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4857 "GNOME Shell provides core user interface functions for the GNOME desktop,
4858 like switching to windows and launching applications.")
4859 (license license:gpl2+)))
4861 (define-public gtk-vnc
4868 (uri (string-append "mirror://gnome/sources/" name "/"
4869 (version-major+minor version) "/"
4870 name "-" version ".tar.xz"))
4873 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
4874 (build-system gnu-build-system)
4876 '(#:configure-flags '("--with-gtk=3.0")))
4878 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4880 `(("cyrus-sasl" ,cyrus-sasl)
4882 ("libgcrypt" ,libgcrypt)
4883 ("pulseaudio" ,pulseaudio)))
4885 `(("glib:bin" ,glib "bin")
4886 ("gobject-introspection" ,gobject-introspection)
4887 ("intltool" ,intltool)
4888 ("pkg-config" ,pkg-config)
4890 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4891 (synopsis "VNC viewer widget for GTK+")
4893 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4894 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4895 GTK-VNC implements client side RFB protocol and authentication extensions such
4896 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4897 (license license:lgpl2.1+)))
4899 (define-public nautilus
4905 (uri (string-append "mirror://gnome/sources/" name "/"
4906 (version-major+minor version) "/"
4907 name "-" version ".tar.xz"))
4910 "1bnalv0ljdjzqzvh3rfyg7r4z8vdbq1gdard5q68riqdi2dnfvld"))))
4911 (build-system glib-or-gtk-build-system)
4914 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4915 ;; XXX: FAIL: check-nautilus
4916 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4919 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4920 ("gobject-introspection" ,gobject-introspection)
4921 ("intltool" ,intltool)
4922 ("pkg-config" ,pkg-config)))
4927 ("gnome-desktop" ,gnome-desktop)
4928 ;; XXX: gtk+ is required by libnautilus-extension.pc
4930 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4932 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4934 ("libexif" ,libexif)
4935 ("libxml2" ,libxml2)))
4936 (synopsis "File manager for GNOME")
4937 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4939 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4940 design and behaviour, giving the user a simple way to navigate and manage its
4942 (license license:gpl2+)))
4944 (define-public baobab
4951 "mirror://gnome/sources/" name "/"
4952 (version-major+minor version) "/"
4953 name "-" version ".tar.xz"))
4956 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4957 (build-system glib-or-gtk-build-system)
4959 `(("intltool" ,intltool)
4960 ("pkg-config" ,pkg-config)
4961 ("itstool" ,itstool)
4962 ("xmllint" ,libxml2)
4963 ("glib" ,glib "bin")
4967 (synopsis "Disk usage analyzer for GNOME")
4969 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4970 usage in the GNOME desktop environment. It can easily scan device volumes or
4971 a specific user-requested directory branch (local or remote). Once the scan
4972 is complete it provides a graphical representation of each selected folder.")
4973 (home-page "https://wiki.gnome.org/Apps/Baobab")
4974 (license license:gpl2+)))
4976 (define-public gnome-backgrounds
4978 (name "gnome-backgrounds")
4983 (uri (string-append "mirror://gnome/sources/" name "/"
4984 (version-major+minor version) "/"
4985 name "-" version ".tar.xz"))
4988 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4989 (build-system glib-or-gtk-build-system)
4991 `(("intltool" ,intltool)))
4992 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4993 (synopsis "Background images for the GNOME desktop")
4995 "GNOME backgrounds package contains a collection of graphics files which
4996 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4997 the package creates the proper framework and directory structure so that you
4998 can add your own files to the collection.")
4999 (license (list license:gpl2+
5002 license:cc-by-sa3.0))))
5004 (define-public gnome-screenshot
5006 (name "gnome-screenshot")
5011 (uri (string-append "mirror://gnome/sources/" name "/"
5012 (version-major+minor version) "/"
5013 name "-" version ".tar.xz"))
5016 "0hz1ywgb5vbfqr0p0cr20hmz5b11msyi3psanszdnv0lhxl9pa06"))))
5017 (build-system glib-or-gtk-build-system)
5019 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5020 ("intltool" ,intltool)
5021 ("pkg-config" ,pkg-config)))
5024 ("libcanberra" ,libcanberra)
5026 ("libxext" ,libxext)))
5027 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5028 (synopsis "Take pictures of your screen")
5030 "GNOME Screenshot is a utility used for taking screenshots of the entire
5031 screen, a window or a user defined area of the screen, with optional
5032 beautifying border effects.")
5033 (license license:gpl2+)))
5035 (define-public dconf-editor
5037 (name "dconf-editor")
5042 (uri (string-append "mirror://gnome/sources/" name "/"
5043 (version-major+minor version) "/"
5044 name "-" version ".tar.xz"))
5047 "0yf553bd9l030shhs0jkl5gvkzkfxbxxm56xv0l0nmbplaci8wm8"))))
5048 (build-system glib-or-gtk-build-system)
5051 (modify-phases %standard-phases
5052 (add-before 'install 'skip-gtk-update-icon-cache
5054 ;; Don't create 'icon-theme.cache'.
5055 (substitute* "editor/Makefile"
5056 (("gtk-update-icon-cache") "true"))
5059 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5060 ("intltool" ,intltool)
5061 ("pkg-config" ,pkg-config)))
5065 ("libxml2" ,libxml2)))
5066 (home-page "https://git.gnome.org/browse/dconf-editor")
5067 (synopsis "Graphical editor for GNOME's dconf configuration system")
5069 "Dconf-editor is a graphical tool for browsing and editing the dconf
5070 configuration system for GNOME. It allows users to configure desktop
5071 software that do not provide their own configuration interface.")
5072 (license license:lgpl2.1+)))
5074 (define-public gnome
5077 (version (package-version gnome-shell))
5079 (build-system trivial-build-system)
5080 (arguments '(#:builder (mkdir %output)))
5082 ;; TODO: Add more packages according to:
5083 ;; <https://packages.debian.org/jessie/gnome-core>.
5084 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5086 ("font-cantarell" ,font-cantarell)
5087 ("at-spi2-core" ,at-spi2-core)
5090 ("desktop-file-utils" ,desktop-file-utils)
5092 ("epiphany" ,epiphany)
5094 ("file-roller" ,file-roller)
5096 ("glib-networking" ,glib-networking)
5097 ("gnome-backgrounds" ,gnome-backgrounds)
5098 ("gnome-control-center" ,gnome-control-center)
5099 ("gnome-keyring" ,gnome-keyring)
5100 ("gnome-session" ,gnome-session)
5101 ("gnome-settings-daemon" ,gnome-settings-daemon)
5102 ("gnome-shell" ,gnome-shell)
5103 ("gnome-terminal" ,gnome-terminal)
5104 ("gnome-themes-standard" ,gnome-themes-standard)
5106 ("hicolor-icon-theme" ,hicolor-icon-theme)
5107 ("nautilus" ,nautilus)
5108 ("pinentry-gnome3" ,pinentry-gnome3)
5109 ("pulseaudio" ,pulseaudio)
5110 ("shared-mime-info" ,shared-mime-info)
5113 ("zenity" ,zenity)))
5114 (synopsis "The GNU desktop environment")
5115 (home-page "https://www.gnome.org/")
5117 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5118 applications for browsing the web, editing text and images, creating
5119 documents and diagrams, playing media, scanning, and much more.")
5120 (license license:gpl2+)))
5122 (define-public byzanz
5123 ;; The last stable release of Byzanz was in 2011, but there have been many
5124 ;; useful commits made to the Byzanz repository since then that it would be
5125 ;; silly to use such an old release.
5126 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5129 (version (string-append "0.2-1." (string-take commit 7)))
5133 (url "git://git.gnome.org/byzanz")
5137 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5138 (build-system glib-or-gtk-build-system)
5141 (modify-phases %standard-phases
5142 (add-after 'unpack 'bootstrap
5144 ;; The build system cleverly detects that we're not building from
5145 ;; a release tarball and turns on -Werror for GCC.
5146 ;; Unsurprisingly, there is a warning during compilation that
5147 ;; causes the build to fail unnecessarily, so we remove the flag.
5148 (substitute* '("configure.ac")
5150 ;; The autogen.sh script in gnome-common will run ./configure
5151 ;; by default, which is problematic because source shebangs
5152 ;; have not yet been patched.
5153 (setenv "NOCONFIGURE" "t")
5154 (zero? (system* "sh" "autogen.sh")))))))
5156 `(("autoconf" ,autoconf)
5157 ("automake" ,automake)
5158 ("gnome-common" ,gnome-common)
5159 ("intltool" ,intltool)
5160 ("libtool" ,libtool)
5161 ("pkg-config" ,pkg-config)
5165 ("gstreamer" ,gstreamer)
5166 ("gst-plugins-base" ,gst-plugins-base)
5168 (synopsis "Desktop recording program")
5169 (description "Byzanz is a simple desktop recording program with a
5170 command-line interface. It can record part or all of an X display for a
5171 specified duration and save it as a GIF encoded animated image file.")
5172 (home-page "https://git.gnome.org/browse/byzanz")
5173 (license license:gpl2+))))
5175 (define-public libzapojit
5181 (uri (string-append "mirror://gnome/sources/" name "/"
5182 (version-major+minor version) "/"
5183 name "-" version ".tar.xz"))
5186 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5187 (build-system gnu-build-system)
5189 `(("gobject-introspection" ,gobject-introspection)
5190 ("intltool" ,intltool)
5191 ("pkg-config" ,pkg-config)))
5193 `(("gnome-online-accounts" ,gnome-online-accounts)
5194 ("json-glib" ,json-glib)
5196 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5197 (synopsis "Library for accessing SkyDrive and Hotmail")
5199 "Libzapojit is a GLib-based library for accessing online service APIs of
5200 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5201 (license license:lgpl2.1+)))
5203 (define-public gnome-calendar
5205 (name "gnome-calendar")
5209 (uri (string-append "mirror://gnome/sources/" name "/"
5210 (version-major+minor version) "/"
5211 name "-" version ".tar.xz"))
5214 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5215 (build-system glib-or-gtk-build-system)
5217 `(("intltool" ,intltool)
5218 ("pkg-config" ,pkg-config)))
5221 ("desktop-file-utils" ,desktop-file-utils)
5222 ("evolution-data-server" ,evolution-data-server)
5223 ("gnome-online-accounts" ,gnome-online-accounts)))
5224 (home-page "https://wiki.gnome.org/Apps/Calendar")
5225 (synopsis "GNOME's calendar application")
5227 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5228 desktop. It supports multiple calendars, monthly view and yearly view.")
5229 (license license:gpl3+)))
5231 (define-public gnome-dictionary
5233 (name "gnome-dictionary")
5237 (uri (string-append "mirror://gnome/sources/" name "/"
5238 (version-major+minor version) "/"
5239 name "-" version ".tar.xz"))
5242 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5243 (build-system glib-or-gtk-build-system)
5245 `(("glib:bin" ,glib "bin")
5246 ("gobject-introspection" ,gobject-introspection)
5247 ("intltool" ,intltool)
5248 ("itstool" ,itstool)
5249 ("pkg-config" ,pkg-config)
5250 ("xmllint" ,libxml2)))
5252 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5254 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5255 (synopsis "Look up words in dictionary sources")
5257 "GNOME Dictionary can look for the definition or translation of a word in
5258 existing databases over the internet.")
5259 (license license:gpl3+)))
5261 (define-public gnome-tweak-tool
5263 (name "gnome-tweak-tool")
5267 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5268 (version-major+minor version) "/"
5269 "gnome-tweak-tool-" version ".tar.xz"))
5271 (search-patch "gnome-tweak-tool-search-paths.patch")))
5274 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5275 (build-system gnu-build-system)
5277 `(#:configure-flags '("--localstatedir=/tmp"
5278 "--sysconfdir=/tmp")
5279 #:imported-modules ((guix build python-build-system)
5280 ,@%gnu-build-system-modules)
5281 #:phases (modify-phases %standard-phases
5282 (add-after 'install 'wrap
5283 (@@ (guix build python-build-system) wrap)))))
5285 `(("intltool" ,intltool)
5286 ("pkg-config" ,pkg-config)))
5288 `(("python" ,python-2)
5289 ("python2-pygobject" ,python2-pygobject)))
5291 `(("libnotify" ,libnotify)
5292 ("gobject-introspection" ,gobject-introspection)
5293 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5295 (synopsis "Customize advanced GNOME 3 options")
5296 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5298 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5299 GNOME 3. This includes things like the fonts used in user interface elements,
5300 alternative user interface themes, changes in window management behavior,
5301 GNOME Shell appearance and extension, etc.")
5302 (license license:gpl3+)))
5304 (define-public gnome-shell-extensions
5306 (name "gnome-shell-extensions")
5310 (uri (string-append "mirror://gnome/sources/" name "/"
5311 (version-major+minor version) "/"
5312 name "-" version ".tar.xz"))
5315 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5316 (build-system gnu-build-system)
5318 '(#:configure-flags '("--enable-extensions=all")))
5320 `(("intltool" ,intltool)
5321 ("pkg-config" ,pkg-config)))
5324 ("glib" ,glib "bin")))
5325 (synopsis "Extensions for GNOME Shell")
5326 (description "GNOME Shell extensions modify and extend GNOME Shell
5327 functionality and behavior.")
5328 (home-page "https://extensions.gnome.org/")
5329 (license license:gpl3+)))
5331 (define-public arc-theme
5334 (version "20160605")
5337 (uri (string-append "https://github.com/horst3180/arc-theme"
5338 "/archive/" version ".tar.gz"))
5339 (file-name (string-append name "-" version ".tar.gz"))
5342 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5343 (build-system gnu-build-system)
5346 (modify-phases %standard-phases
5347 (add-after 'unpack 'bootstrap
5349 (zero? (system* "autoreconf" "-vif")))))))
5351 `(("autoconf" ,autoconf)
5352 ("automake" ,automake)
5353 ("pkg-config" ,pkg-config)))
5356 (synopsis "A flat GTK+ theme with transparent elements")
5357 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5358 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5359 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5360 (home-page "https://github.com/horst3180/arc-theme")
5361 ;; No "or later" language found.
5362 (license license:gpl3)))
5364 (define-public moka-icon-theme
5366 (name "moka-icon-theme")
5370 (uri (string-append "https://github.com/moka-project"
5371 "/moka-icon-theme/archive/v"
5373 (file-name (string-append name "-" version ".tar.gz"))
5376 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5377 (build-system gnu-build-system)
5380 (modify-phases %standard-phases
5381 (add-after 'unpack 'patch-makefile.am
5383 (substitute* '("Makefile.am")
5384 (("\\$\\(DESTDIR\\)/usr/share")
5387 (add-after 'patch-makefile.am 'bootstrap
5389 (zero? (system* "autoreconf" "-vif")))))))
5391 `(("autoconf" ,autoconf)
5392 ("automake" ,automake)))
5393 (synopsis "Moka icon theme")
5394 (description "Moka is a stylized desktop icon set, designed to be clear,
5395 simple and consistent.")
5396 (home-page "http://snwh.org/moka")
5397 (license license:gpl3+)))
5399 (define-public arc-icon-theme
5401 (name "arc-icon-theme")
5402 (version "20160605")
5405 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5406 "/archive/" version ".tar.gz"))
5407 (file-name (string-append name "-" version ".tar.gz"))
5410 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5411 (build-system gnu-build-system)
5414 (modify-phases %standard-phases
5415 (add-after 'unpack 'bootstrap
5417 (zero? (system* "autoreconf" "-vif")))))))
5419 `(("autoconf" ,autoconf)
5420 ("automake" ,automake)))
5421 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5423 `(("moka-icon-theme" ,moka-icon-theme)))
5424 (synopsis "Arc icon theme")
5425 (description "The Arc icon theme provides a set of icons matching the
5426 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5427 the Moka icon theme.")
5428 (home-page "https://github.com/horst3180/arc-icon-theme")
5429 (license license:gpl3+)))
5431 (define-public folks
5438 "mirror://gnome/sources/" name "/"
5439 (version-major+minor version) "/"
5440 name "-" version ".tar.xz"))
5443 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5444 (build-system glib-or-gtk-build-system)
5447 ("dbus-glib" ,dbus-glib)
5448 ("evolution-data-server" ,evolution-data-server)
5451 ("telepathy-glib" ,telepathy-glib)))
5453 `(("gobject-introspection" ,gobject-introspection)
5454 ("intltool" ,intltool)
5455 ("pkg-config" ,pkg-config)
5457 (synopsis "Library to aggregate data about people")
5458 (description "Libfolks is a library that aggregates information about people
5459 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5460 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5461 etc.) to create metacontacts. It's written in Vala, which generates C code when
5463 (home-page "https://wiki.gnome.org/Projects/Folks")
5464 (license license:lgpl2.1+)))
5466 (define-public gfbgraph
5473 "mirror://gnome/sources/" name "/"
5474 (version-major+minor version) "/"
5475 name "-" version ".tar.xz"))
5478 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5479 (build-system glib-or-gtk-build-system)
5481 `(#:tests? #f ; Tests appear to require the network.
5482 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5483 #:configure-flags '("--disable-gtk-doc"
5485 "--enable-introspection")))
5487 `(("pkg-config" ,pkg-config)
5488 ("gobject-introspection" ,gobject-introspection)))
5490 `(("json-glib" ,json-glib)
5491 ("gnome-online-accounts" ,gnome-online-accounts)
5493 (synopsis "GLib/GObject wrapper for the Facebook API")
5494 (description "This library allows you to use the Facebook API from
5495 GLib/GObject code.")
5496 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5497 (license license:lgpl2.1+)))
5499 (define-public libgnomekbd
5501 (name "libgnomekbd")
5505 (uri (string-append "mirror://gnome/sources/" name "/"
5506 (version-major+minor version) "/"
5507 name "-" version ".tar.xz"))
5510 "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
5511 (build-system gnu-build-system)
5513 `(("pkg-config" ,pkg-config)
5514 ("glib" ,glib "bin")
5515 ("intltool" ,intltool)))
5517 ;; Referred to in .h files and .pc.
5520 ("libxklavier" ,libxklavier)))
5521 (home-page "https://www.gnome.org")
5522 (synopsis "GNOME keyboard configuration library")
5524 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5525 environment, which can notably display keyboard layouts.")
5526 (license license:lgpl2.0+)))
5528 ;;; This package is no longer maintained:
5529 ;;; https://wiki.gnome.org/Attic/LibUnique
5530 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5531 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5532 (define-public libunique
5538 (uri (string-append "mirror://gnome/sources/" name "/"
5539 (version-major+minor version) "/"
5540 name "-" version ".tar.xz"))
5543 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5544 (build-system glib-or-gtk-build-system)
5546 `(#:configure-flags '("--disable-static"
5547 "--disable-dbus" ; use gdbus
5548 "--enable-introspection")))
5550 `(("pkg-config" ,pkg-config)
5551 ("gobject-introspection" ,gobject-introspection)
5552 ("glib:bin" ,glib "bin")
5553 ("gtk-doc" ,gtk-doc)))
5555 ;; Referred to in .h files and .pc.
5557 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5558 (synopsis "Library for writing single instance applications")
5560 "Libunique is a library for writing single instance applications. If you
5561 launch a single instance application twice, the second instance will either just
5562 quit or will send a message to the running instance. Libunique makes it easy to
5563 write this kind of application, by providing a base class, taking care of all
5564 the IPC machinery needed to send messages to a running instance, and also
5565 handling the startup notification side.")
5566 (license license:lgpl2.1+)))
5568 (define-public gnome-calculator
5570 (name "gnome-calculator")
5575 (uri (string-append "mirror://gnome/sources/" name "/"
5576 (version-major+minor version) "/"
5577 name "-" version ".tar.xz"))
5580 "1yx86kyd54y3k3b6rmdazvmpxzl0zn791zr1q87zjc5228mc3w9a"))))
5581 (build-system glib-or-gtk-build-system)
5583 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5584 ("intltool" ,intltool)
5585 ("itstool" ,itstool)
5586 ("pkg-config" ,pkg-config)))
5588 `(("gtksourceview" ,gtksourceview)
5589 ("libsoup" ,libsoup)
5591 (home-page "https://wiki.gnome.org/Apps/Calculator")
5592 (synopsis "Desktop calculator")
5594 "Calculator is an application that solves mathematical equations and
5595 is suitable as a default application in a Desktop environment.")
5596 (license license:gpl3)))
5605 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5606 name "-" version ".tar.bz2"))
5609 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5610 (build-system gnu-build-system)
5612 `(("intltool" ,intltool)
5613 ("pkg-config" ,pkg-config)))
5616 ("gtksourceview" ,gtksourceview)
5618 (home-page "https://wiki.gnome.org/Apps/Xpad")
5619 (synopsis "Virtual sticky note")
5621 "Xpad is a sticky note that strives to be simple, fault tolerant,
5622 and customizable. Xpad consists of independent pad windows, each is
5623 basically a text box in which notes can be written.")
5624 (license license:gpl3+)))
5626 (define-public gucharmap
5633 (uri (string-append "mirror://gnome/sources/" name "/"
5634 (version-major+minor version) "/"
5635 name "-" version ".tar.xz"))
5638 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
5639 (build-system gnu-build-system)
5641 `(("desktop-file-utils" ,desktop-file-utils)
5642 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
5643 ("gobject-introspection" ,gobject-introspection)
5644 ("intltool" ,intltool)
5645 ("itstool" ,itstool)
5646 ("pkg-config" ,pkg-config)))
5649 ("xmllint" ,libxml2)))
5650 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
5651 (synopsis "Unicode character picker and font browser")
5653 "This program allows you to browse through all the available Unicode
5654 characters and categories for the installed fonts, and to examine their
5655 detailed properties. It is an easy way to find the character you might
5656 only know by its Unicode name or code point.")
5657 (license license:gpl3+)))
5659 (define-public bluefish
5666 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
5667 name "-" version ".tar.gz"))
5670 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
5671 (build-system gnu-build-system)
5673 `(("desktop-file-utils" ,desktop-file-utils)
5674 ("intltool" ,intltool)
5675 ("pkg-config" ,pkg-config)))
5677 `(("enchant" ,enchant)
5679 ("python" ,python-2)
5680 ("xmllint" ,libxml2)
5681 ("gucharmap" ,gucharmap)))
5682 (home-page "http://bluefish.openoffice.nl")
5683 (synopsis "Web development studio")
5685 "Bluefish is an editor targeted towards programmers and web developers,
5686 with many options to write web sites, scripts and other code.
5687 Bluefish supports many programming and markup languages.")
5688 (license license:gpl3+)))