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 Rene Saavedra <rennes@openmailbox.org>
18 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
19 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
20 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
21 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
22 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
23 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
25 ;;; This file is part of GNU Guix.
27 ;;; GNU Guix is free software; you can redistribute it and/or modify it
28 ;;; under the terms of the GNU General Public License as published by
29 ;;; the Free Software Foundation; either version 3 of the License, or (at
30 ;;; your option) any later version.
32 ;;; GNU Guix is distributed in the hope that it will be useful, but
33 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
34 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 ;;; GNU General Public License for more details.
37 ;;; You should have received a copy of the GNU General Public License
38 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
40 (define-module (gnu packages gnome)
41 #:use-module ((guix licenses) #:prefix license:)
42 #:use-module (guix packages)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix utils)
46 #:use-module (guix build-system gnu)
47 #:use-module (guix build-system glib-or-gtk)
48 #:use-module (guix build-system trivial)
49 #:use-module (gnu packages)
50 #:use-module (gnu packages admin)
51 #:use-module (gnu packages autotools)
52 #:use-module (gnu packages avahi)
53 #:use-module (gnu packages base)
54 #:use-module (gnu packages bison)
55 #:use-module (gnu packages calendar)
56 #:use-module (gnu packages check)
57 #:use-module (gnu packages cups)
58 #:use-module (gnu packages curl)
59 #:use-module (gnu packages cyrus-sasl)
60 #:use-module (gnu packages databases)
61 #:use-module (gnu packages djvu)
62 #:use-module (gnu packages dns)
63 #:use-module (gnu packages flex)
64 #:use-module (gnu packages docbook)
65 #:use-module (gnu packages enchant)
66 #:use-module (gnu packages fontutils)
67 #:use-module (gnu packages game-development)
68 #:use-module (gnu packages gettext)
69 #:use-module (gnu packages glib)
70 #:use-module (gnu packages gnupg)
71 #:use-module (gnu packages gnuzilla)
72 #:use-module (gnu packages gstreamer)
73 #:use-module (gnu packages gtk)
74 #:use-module (gnu packages gperf)
75 #:use-module (gnu packages guile)
76 #:use-module (gnu packages openldap)
77 #:use-module (gnu packages pdf)
78 #:use-module (gnu packages polkit)
79 #:use-module (gnu packages popt)
80 #:use-module (gnu packages ghostscript)
81 #:use-module (gnu packages ibus)
82 #:use-module (gnu packages iso-codes)
83 #:use-module (gnu packages libcanberra)
84 #:use-module (gnu packages linux)
85 #:use-module (gnu packages libusb)
86 #:use-module (gnu packages lirc)
87 #:use-module (gnu packages lua)
88 #:use-module (gnu packages m4)
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 backup)
113 #:use-module (gnu packages nettle)
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages video)
116 #:use-module (gnu packages cdrom)
117 #:use-module (gnu packages samba)
118 #:use-module (gnu packages readline)
119 #:use-module (gnu packages fonts)
120 #:use-module (srfi srfi-1))
122 (define-public brasero
128 (uri (string-append "mirror://gnome/sources/" name "/"
129 (version-major+minor version) "/"
130 name "-" version ".tar.xz"))
133 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
134 (build-system glib-or-gtk-build-system)
136 `(#:configure-flags (list
137 (string-append "--with-girdir="
138 (assoc-ref %outputs "out")
140 (string-append "--with-typelibdir="
141 (assoc-ref %outputs "out")
142 "/lib/girepository-1.0"))))
144 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
146 `(("intltool" ,intltool)
147 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
148 ("gobject-introspection" ,gobject-introspection)
149 ("pkg-config" ,pkg-config)))
152 ("gnome-doc-utils" ,gnome-doc-utils)
153 ("gstreamer" ,gstreamer)
154 ("gst-plugins-base" ,gst-plugins-base)
157 ("libcanberra" ,libcanberra)
159 ("libnotify" ,libnotify)
163 ("totem-pl-parser" ,totem-pl-parser)))
164 (home-page "https://projects.gnome.org/brasero/")
165 (synopsis "CD/DVD burning tool for Gnome")
166 (description "Brasero is an application to burn CD/DVD for the Gnome
167 Desktop. It is designed to be as simple as possible and has some unique
168 features to enable users to create their discs easily and quickly.")
169 (license license:gpl2+)))
172 ;; This version from GNOME's repository includes fixes for compiling with
173 ;; recent versions of the build tools. The latest activity on the
174 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
176 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
179 (version (string-append "0.97.2-" (string-take commit 7)))
183 (url "https://git.gnome.org/browse/dia")
185 (file-name (string-append name "-" version "-checkout"))
188 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
189 (build-system gnu-build-system)
191 `(("glib" ,glib "bin")
193 ("gdk-pixbuf" ,gdk-pixbuf)
196 ("freetype" ,freetype)
197 ("libart-lgpl" ,libart-lgpl)))
199 `(("intltool" ,intltool)
200 ("pkg-config" ,pkg-config)
201 ("automake" ,automake)
202 ("autoconf" ,autoconf)
205 ("python-wrapper" ,python-wrapper)))
208 (modify-phases %standard-phases
209 (add-before 'configure 'run-autogen
211 (system* "sh" "autogen.sh"))))))
212 (home-page "https://wiki.gnome.org/Apps/Dia")
213 (synopsis "Diagram creation for GNOME")
214 (description "Dia can be used to draw different types of diagrams, and
215 includes support for UML static structure diagrams (class diagrams), entity
216 relationship modeling, and network diagrams. The program supports various file
217 formats like PNG, SVG, PDF and EPS.")
218 (license license:gpl2+))))
220 (define-public gnome-common
222 (name "gnome-common")
227 (uri (string-append "mirror://gnome/sources/" name "/"
228 (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
232 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
233 (build-system gnu-build-system)
234 (home-page "https://www.gnome.org/")
235 (synopsis "Bootstrap GNOME modules built from Git")
236 (description "gnome-common contains various files needed to bootstrap
237 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
238 can be used to configure a source directory checked out from Git and some
239 commonly used macros.")
240 (license license:gpl2+)))
242 (define-public gnome-desktop
244 (name "gnome-desktop")
249 (uri (string-append "mirror://gnome/sources/" name "/"
250 (version-major+minor version) "/"
251 name "-" version ".tar.xz"))
254 "1cp2c6q1ybirfq6rqyfj5lr5vyqdizy730bfg5jqnflcmakjsb29"))))
255 (build-system gnu-build-system)
257 `(("gobject-introspection" ,gobject-introspection)
259 ("intltool" ,intltool)
260 ("pkg-config" ,pkg-config)
261 ("xmllint" ,libxml2)))
263 ;; Required by gnome-desktop-3.0.pc.
264 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
267 `(("gdk-pixbuf" ,gdk-pixbuf)
269 ("iso-codes" ,iso-codes)
272 ("libxkbfile" ,libxkbfile)
273 ("libxrandr" ,libxrandr)
274 ("xkeyboard-config" ,xkeyboard-config)))
275 (home-page "https://www.gnome.org/")
277 "Libgnome-desktop, gnome-about, and desktop-wide documents")
279 "The libgnome-desktop library provides API shared by several applications
280 on the desktop, but that cannot live in the platform for various reasons.
281 There is no API or ABI guarantee, although we are doing our best to provide
282 stability. Documentation for the API is available with gtk-doc.
284 The gnome-about program helps find which version of GNOME is installed.")
285 ; Some bits under the LGPL.
286 (license license:gpl2+)))
288 (define-public gnome-doc-utils
290 (name "gnome-doc-utils")
295 (uri (string-append "mirror://gnome/sources/" name "/"
296 (version-major+minor version) "/"
297 name "-" version ".tar.xz"))
300 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
301 (build-system gnu-build-system)
303 `(("intltool" ,intltool)
304 ("docbook-xml" ,docbook-xml-4.4)
305 ("python2-libxml2" ,python2-libxml2)
308 ("pkg-config" ,pkg-config)
309 ("python-2" ,python-2)))
310 (home-page "https://wiki.gnome.org/GnomeDocUtils")
312 "Documentation utilities for the Gnome project")
314 "Gnome-doc-utils is a collection of documentation utilities for the
315 Gnome project. It includes xml2po tool which makes it easier to translate
316 and keep up to date translations of documentation.")
317 (license license:gpl2+))) ; xslt under lgpl
325 (uri (string-append "mirror://gnome/sources/" name "/"
326 (version-major+minor version) "/"
327 name "-" version ".tar.xz"))
330 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
331 (build-system gnu-build-system)
333 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
335 #:phases (modify-phases %standard-phases
338 (lambda* (#:key inputs #:allow-other-keys)
339 (substitute* "build/tap-driver"
340 (("/usr/bin/env python") (which "python"))))))))
343 ("gnupg" ,gnupg) ;called as a child process during tests
344 ("libgcrypt" ,libgcrypt)))
346 `(("python" ,python-2) ;for tests
347 ("pkg-config" ,pkg-config)
349 ("gobject-introspection" ,gobject-introspection)
350 ("intltool" ,intltool)
351 ("xsltproc" ,libxslt)))
352 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
354 `(("p11-kit" ,p11-kit)
357 (home-page "http://www.gnome.org")
358 (synopsis "Libraries for displaying certificates and accessing key stores")
360 "The GCR package contains libraries used for displaying certificates and
361 accessing key stores. It also provides the viewer for crypto files on the
363 (license license:lgpl2.1+)))
365 (define-public libgnome-keyring
367 (name "libgnome-keyring")
371 (uri (string-append "mirror://gnome/sources/" name "/"
372 (version-major+minor version) "/"
373 name "-" version ".tar.xz"))
376 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
377 (build-system gnu-build-system)
379 `(("libgcrypt" ,libgcrypt)
382 `(("pkg-config" ,pkg-config)
384 ("intltool" ,intltool)))
386 ;; Referred to in .h files and .pc.
388 (home-page "http://www.gnome.org")
389 (synopsis "Accessing passwords from the GNOME keyring")
391 "Client library to access passwords from the GNOME keyring.")
393 ;; Though a couple of files are LGPLv2.1+.
394 (license license:lgpl2.0+)))
396 (define-public gnome-keyring
398 (name "gnome-keyring")
402 (uri (string-append "mirror://gnome/sources/" name "/"
403 (version-major+minor version) "/"
404 name "-" version ".tar.xz"))
407 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
408 (build-system gnu-build-system)
410 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
414 (string-append "--with-pkcs11-config="
415 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
416 (string-append "--with-pkcs11-modules="
417 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
419 (modify-phases %standard-phases
422 (lambda* (#:key inputs #:allow-other-keys)
423 (substitute* "build/tap-driver"
424 (("/usr/bin/env python") (which "python")))))
426 'configure 'fix-docbook
427 (lambda* (#:key inputs #:allow-other-keys)
428 (substitute* "docs/Makefile.am"
429 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
430 (string-append (assoc-ref inputs "docbook-xsl")
431 "/xml/xsl/docbook-xsl-"
432 ,(package-version docbook-xsl)
433 "/manpages/docbook.xsl")))
434 (setenv "XML_CATALOG_FILES"
435 (string-append (assoc-ref inputs "docbook-xml")
436 "/xml/dtd/docbook/catalog.xml")))))))
438 `(("libgcrypt" ,libgcrypt)
439 ("linux-pam" ,linux-pam)
443 `(("pkg-config" ,pkg-config)
445 ("python" ,python-2) ;for tests
446 ("intltool" ,intltool)
447 ("autoconf" ,autoconf)
448 ("automake" ,automake)
449 ("libxslt" ,libxslt) ;for documentation
450 ("docbook-xml" ,docbook-xml-4.2)
451 ("docbook-xsl" ,docbook-xsl)))
452 (home-page "http://www.gnome.org")
453 (synopsis "Daemon to store passwords and encryption keys")
455 "gnome-keyring is a program that keeps passwords and other secrets for
456 users. It is run as a daemon in the session, similar to ssh-agent, and other
457 applications locate it via an environment variable or D-Bus.
459 The program can manage several keyrings, each with its own master password,
460 and there is also a session keyring which is never stored to disk, but
461 forgotten when the session ends.")
462 (license license:lgpl2.1+)))
464 (define-public evince
470 (uri (string-append "mirror://gnome/sources/" name "/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
475 "0m80s98k4i463dclpyk01fqb91cawbb6vvcz5vq2974k6qqc4ypw"))))
476 (build-system glib-or-gtk-build-system)
478 `(#:configure-flags '("--disable-nautilus")
480 ;; FIXME: Tests fail with:
481 ;; ImportError: No module named gi.repository
482 ;; Where should that module come from?
485 (modify-phases %standard-phases
486 (add-before 'install 'skip-gtk-update-icon-cache
487 ;; Don't create 'icon-theme.cache'.
489 (substitute* "data/Makefile"
490 (("gtk-update-icon-cache") "true"))
493 `(("libspectre" ,libspectre)
494 ("djvulibre" ,djvulibre)
495 ("ghostscript" ,ghostscript)
499 ;; Add libgxps for XPS support.
500 ;; Build libkpathsea as a shared library for DVI support.
501 ;; ("libkpathsea" ,texlive-bin)
502 ("gnome-desktop" ,gnome-desktop)
503 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
504 ("libgnome-keyring" ,libgnome-keyring)
505 ("adwaita-icon-theme" ,adwaita-icon-theme)
506 ("gdk-pixbuf" ,gdk-pixbuf)
514 ("shared-mime-info" ,shared-mime-info)
516 ("libcanberra" ,libcanberra)
517 ("libsecret" ,libsecret)
519 ("dogtail" ,python2-dogtail)))
521 `(("itstool" ,itstool)
522 ("intltool" ,intltool)
524 ("pkg-config" ,pkg-config)
525 ("xmllint" ,libxml2)))
527 "http://www.gnome.org/projects/evince/")
528 (synopsis "GNOME's document viewer")
530 "Evince is a document viewer for multiple document formats. It
531 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
532 of Evince is to replace the multiple document viewers that exist
533 on the GNOME Desktop with a single simple application.")
534 (license license:gpl2+)))
536 (define-public gsettings-desktop-schemas
538 (name "gsettings-desktop-schemas")
543 (uri (string-append "mirror://gnome/sources/" name "/"
544 (version-major+minor version) "/"
545 name "-" version ".tar.xz"))
548 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
549 (build-system gnu-build-system)
553 `(("intltool" ,intltool)
554 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
555 ("gobject-introspection" ,gobject-introspection)
556 ("pkg-config" ,pkg-config)))
557 (home-page "https://launchpad.net/gsettings-desktop-schemas")
559 "GNOME settings for various desktop components")
561 "Gsettings-desktop-schemas contains a collection of GSettings schemas
562 for settings shared by various components of the GNOME desktop.")
563 (license license:lgpl2.1+)))
565 (define-public icon-naming-utils
567 (name "icon-naming-utils")
572 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
576 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
577 (build-system gnu-build-system)
580 ("perl-xml-simple" ,perl-xml-simple)))
584 'install 'set-load-paths
585 ;; Tell 'icon-name-mapping' where XML::Simple is.
586 (lambda* (#:key outputs #:allow-other-keys)
587 (let* ((out (assoc-ref outputs "out"))
588 (prog (string-append out "/libexec/icon-name-mapping")))
591 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
593 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
595 "Utility to implement the Freedesktop Icon Naming Specification")
597 "To help with the transition to the Freedesktop Icon Naming
598 Specification, the icon naming utility maps the icon names used by the
599 GNOME and KDE desktops to the icon names proposed in the specification.")
600 (license license:lgpl2.1+)))
602 (define-public desktop-file-utils
604 (name "desktop-file-utils")
608 (uri (string-append "https://www.freedesktop.org/software/" name
609 "/releases/" name "-" version ".tar.xz"))
612 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
613 (build-system gnu-build-system)
615 `(("pkg-config" ,pkg-config)))
618 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
619 (synopsis "Utilities for working with desktop entries")
621 "This package contains a few command line utilities for working with
624 desktop-file-validate: validates a desktop file and prints warnings/errors
625 about desktop entry specification violations.
627 desktop-file-install: installs a desktop file to the applications directory,
628 optionally munging it a bit in transit.
630 update-desktop-database: updates the database containing a cache of MIME types
631 handled by desktop files.")
632 (license license:gpl2+)))
634 (define-public gnome-icon-theme
636 (name "gnome-icon-theme")
641 (uri (string-append "mirror://gnome/sources/" name "/"
642 (version-major+minor version) "/"
643 name "-" version ".tar.xz"))
646 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
647 (build-system gnu-build-system)
650 ;; Don't create 'icon-theme.cache'.
651 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
652 (true (string-append coreutils "/bin/true")))
653 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
655 `(("icon-naming-utils" ,icon-naming-utils)
656 ("intltool" ,intltool)
657 ("pkg-config" ,pkg-config)))
658 (home-page "http://art.gnome.org/")
662 "Icons for the GNOME desktop.")
663 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
665 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
666 (define-public adwaita-icon-theme
667 (package (inherit gnome-icon-theme)
668 (name "adwaita-icon-theme")
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
677 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))
679 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
681 (define-public shared-mime-info
683 (name "shared-mime-info")
687 (uri (string-append "https://freedesktop.org/~hadess/"
688 "shared-mime-info-" version ".tar.xz"))
691 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
692 (build-system gnu-build-system)
694 ;; The build system appears not to be parallel-safe.
695 '(#:parallel-build? #f))
698 ("libxml2" ,libxml2)))
700 `(("intltool" ,intltool)
701 ("pkg-config" ,pkg-config)))
702 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
703 (synopsis "Database of common MIME types")
705 "The shared-mime-info package contains the core database of common types
706 and the update-mime-database command used to extend it. It requires glib2 to
707 be installed for building the update command. Additionally, it uses intltool
708 for translations, though this is only a dependency for the maintainers. This
709 database is translated at Transifex.")
710 (license license:gpl2+)))
712 (define-public hicolor-icon-theme
714 (name "hicolor-icon-theme")
719 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
720 "hicolor-icon-theme-" version ".tar.gz"))
723 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
724 (build-system gnu-build-system)
726 `(#:tests? #f)) ; no check target
727 (home-page "http://icon-theme.freedesktop.org/releases/")
729 "Freedesktop icon theme")
731 "Freedesktop icon theme.")
732 (license license:gpl2)))
734 (define-public libnotify
741 (uri (string-append "mirror://gnome/sources/" name "/"
742 (version-major+minor version) "/"
743 name "-" version ".tar.xz"))
746 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
747 (build-system gnu-build-system)
749 `(("gdk-pixbuf" ,gdk-pixbuf)
754 `(("pkg-config" ,pkg-config)
756 ("gobject-introspection" ,gobject-introspection)))
757 (home-page "https://developer-next.gnome.org/libnotify/")
759 "GNOME desktop notification library")
761 "Libnotify is a library that sends desktop notifications to a
762 notification daemon, as defined in the Desktop Notifications spec. These
763 notifications can be used to inform the user about an event or display
764 some form of information without getting in the user's way.")
765 (license license:lgpl2.1+)))
767 (define-public libpeas
774 (uri (string-append "mirror://gnome/sources/" name "/"
775 (version-major+minor version) "/"
776 name "-" version ".tar.xz"))
779 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
780 (build-system gnu-build-system)
784 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
786 ("python-pygobject" ,python-pygobject)))
788 `(("pkg-config" ,pkg-config)
789 ("glib:bin" ,glib "bin")
790 ("gobject-introspection" ,gobject-introspection)
791 ("intltool" ,intltool)))
792 (home-page "https://wiki.gnome.org/Libpeas")
793 (synopsis "GObject plugin system")
795 "Libpeas is a gobject-based plugins engine, and is targetted at giving
796 every application the chance to assume its own extensibility. It also has a
797 set of features including, but not limited to: multiple extension points; on
798 demand (lazy) programming language support for C, Python and JS; simplicity of
800 (license license:lgpl2.0+)))
802 (define-public gtkglext
808 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
809 version "/gtkglext-" version ".tar.gz"))
811 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
812 (patches (search-patches
813 "gtkglext-disable-disable-deprecated.patch"))))
814 (build-system gnu-build-system)
815 (inputs `(("gtk+" ,gtk+-2)
820 (native-inputs `(("pkg-config" ,pkg-config)
821 ("glib" ,glib "bin")))
822 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
823 (home-page "https://projects.gnome.org/gtkglext")
824 (synopsis "OpenGL extension to GTK+")
825 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
826 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
827 API add-ons to make GTK+ widgets OpenGL-capable.")
828 (license license:lgpl2.1+)))
830 (define-public glade3
836 (uri (string-append "mirror://gnome/sources/" name "/"
837 (version-major+minor version) "/"
838 name "-" version ".tar.xz"))
841 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
842 (build-system glib-or-gtk-build-system)
844 `(#:tests? #f ; needs X, GL, and software rendering
846 (modify-phases %standard-phases
847 (add-before 'configure 'fix-docbook
848 (lambda* (#:key inputs #:allow-other-keys)
849 (substitute* "man/Makefile.in"
850 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
851 (string-append (assoc-ref inputs "docbook-xsl")
852 "/xml/xsl/docbook-xsl-"
853 ,(package-version docbook-xsl)
854 "/manpages/docbook.xsl")))
858 ("libxml2" ,libxml2)))
860 `(("intltool" ,intltool)
862 ("libxslt" ,libxslt) ;for xsltproc
863 ("docbook-xml" ,docbook-xml-4.2)
864 ("docbook-xsl" ,docbook-xsl)
866 ("pkg-config" ,pkg-config)))
867 (home-page "https://glade.gnome.org")
868 (synopsis "GTK+ rapid application development tool")
869 (description "Glade is a rapid application development (RAD) tool to
870 enable quick & easy development of user interfaces for the GTK+ toolkit and
871 the GNOME desktop environment.")
872 (license license:lgpl2.0+)))
874 (define-public libcroco
880 (uri (string-append "mirror://gnome/sources/" name "/"
881 (version-major+minor version) "/"
882 name "-" version ".tar.xz"))
885 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
886 (build-system gnu-build-system)
888 `(("pkg-config" ,pkg-config)))
893 (home-page "https://github.com/GNOME/libcroco")
894 (synopsis "CSS2 parsing and manipulation library")
896 "Libcroco is a standalone CSS2 parsing and manipulation library.
897 The parser provides a low level event driven SAC-like API and a CSS object
898 model like API. Libcroco provides a CSS2 selection engine and an experimental
899 XML/CSS rendering engine.")
902 (license license:lgpl2.1)))
904 (define-public libgsf
910 (uri (string-append "mirror://gnome/sources/" name "/"
911 (version-major+minor version) "/"
912 name "-" version ".tar.xz"))
915 "1q2i5p9s5zw0y0502risykrzkfma7p24n3mmh244scjy9f4kh1im"))))
916 (build-system gnu-build-system)
918 `(("intltool" ,intltool)
919 ("pkg-config" ,pkg-config)))
925 `(("gdk-pixbuf" ,gdk-pixbuf)
927 ("libxml2" ,libxml2)))
928 (home-page "http://www.gnome.org/projects/libgsf")
929 (synopsis "GNOME's Structured File Library")
931 "Libgsf aims to provide an efficient extensible I/O abstraction for
932 dealing with different structured file formats.")
935 (license license:lgpl2.1)))
937 (define-public librsvg
943 (uri (string-append "mirror://gnome/sources/" name "/"
944 (version-major+minor version) "/"
945 name "-" version ".tar.xz"))
948 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
949 (build-system gnu-build-system)
953 'configure 'pre-configure
954 (lambda* (#:key inputs #:allow-other-keys)
955 (substitute* "gdk-pixbuf-loader/Makefile.in"
956 ;; By default the gdk-pixbuf loader is installed under
957 ;; gdk-pixbuf's prefix. Work around that.
958 (("gdk_pixbuf_moduledir = .*$")
959 (string-append "gdk_pixbuf_moduledir = "
960 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
962 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
963 (("gdk_pixbuf_cache_file = .*$")
964 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
967 `(("pkg-config" ,pkg-config)
968 ("glib" ,glib "bin") ; glib-mkenums, etc.
969 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
972 ("libcroco" ,libcroco)
975 ("libxml2" ,libxml2)))
977 ;; librsvg-2.0.pc refers to all of that.
979 ("gdk-pixbuf" ,gdk-pixbuf)
981 (home-page "https://wiki.gnome.org/LibRsvg")
982 (synopsis "Render SVG files using Cairo")
984 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
986 (license license:lgpl2.0+)))
988 (define-public libidl
994 (uri (let ((upstream-name "libIDL"))
995 (string-append "mirror://gnome/sources/" upstream-name "/"
996 (version-major+minor version) "/"
997 upstream-name "-" version ".tar.bz2")))
1000 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1001 (build-system gnu-build-system)
1002 (inputs `(("glib" ,glib)))
1004 `(("pkg-config" ,pkg-config)
1007 (home-page "http://freecode.com/projects/libidl")
1008 (synopsis "Create trees of CORBA Interface Definition Language files")
1009 (description "Libidl is a library for creating trees of CORBA Interface
1010 Definition Language (idl) files, which is a specification for defining
1011 portable interfaces. libidl was initially written for orbit (the orb from the
1012 GNOME project, and the primary means of libidl distribution). However, the
1013 functionality was designed to be as reusable and portable as possible.")
1014 (license license:lgpl2.0+)))
1017 (define-public orbit2
1023 (uri (let ((upstream-name "ORBit2"))
1024 (string-append "mirror://gnome/sources/" upstream-name "/"
1025 (version-major+minor version) "/"
1026 upstream-name "-" version ".tar.bz2")))
1029 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1030 (build-system gnu-build-system)
1033 ;; The programmer kindly gives us a hook to turn off deprecation
1035 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1036 ;; ... which they then completly ignore !!
1039 'configure 'ignore-deprecations
1041 (substitute* "linc2/src/Makefile.in"
1042 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1044 (inputs `(("glib" ,glib)
1045 ("libidl" ,libidl)))
1047 `(("pkg-config" ,pkg-config)))
1048 (home-page "https://projects.gnome.org/orbit2/")
1049 (synopsis "CORBA 2.4-compliant Object Request Broker")
1050 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1051 featuring mature C, C++ and Python bindings.")
1052 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1053 ;; a version. SOME of the code files have licence notices for GPLv2+.
1054 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1055 (license license:gpl2+)))
1058 (define-public libbonobo
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version)
1066 "/" name "-" version ".tar.bz2"))
1068 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1069 (patches (search-patches
1070 "libbonobo-activation-test-race.patch"))))
1071 (build-system gnu-build-system)
1073 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1075 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1076 ;; ... which they then completly ignore !!
1079 'configure 'ignore-deprecations
1081 (substitute* "activation-server/Makefile.in"
1082 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1084 (inputs `(("popt" ,popt)
1085 ("libxml2" ,libxml2)))
1086 ;; The following are Required by the .pc file
1089 ("orbit2" ,orbit2)))
1091 `(("intltool" ,intltool)
1092 ("pkg-config" ,pkg-config)
1093 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1096 (home-page "https://developer.gnome.org/libbonobo/")
1097 (synopsis "Framework for creating reusable components for use in GNOME applications")
1098 (description "Bonobo is a framework for creating reusable components for
1099 use in GNOME applications, built on top of CORBA.")
1100 ;; Licence not explicitly stated. Source files contain no licence notices.
1101 ;; Tarball contains text of both GPLv2 and LGPLv2
1102 ;; GPLv2 covers both conditions
1103 (license license:gpl2+)))
1106 (define-public gconf
1113 (let ((upstream-name "GConf"))
1114 (string-append "mirror://gnome/sources/" upstream-name "/"
1115 (version-major+minor version) "/"
1116 upstream-name "-" version ".tar.xz")))
1118 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1119 (build-system gnu-build-system)
1120 (inputs `(("dbus-glib" ,dbus-glib)
1121 ("libxml2" ,libxml2)))
1122 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1123 ("orbit2" ,orbit2)))
1125 `(("intltool" ,intltool)
1126 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1127 ("pkg-config" ,pkg-config)))
1128 (home-page "https://projects.gnome.org/gconf/")
1129 (synopsis "Store application preferences")
1130 (description "Gconf is a system for storing application preferences. It
1131 is intended for user preferences; not arbitrary data storage.")
1132 (license license:lgpl2.0+)))
1135 (define-public gnome-mime-data
1137 (name "gnome-mime-data")
1141 (uri (string-append "mirror://gnome/sources/" name "/"
1142 (version-major+minor version) "/"
1143 name "-" version ".tar.bz2"))
1146 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1147 (build-system gnu-build-system)
1150 ("intltool" ,intltool)))
1151 (home-page "http://www.gnome.org")
1152 (synopsis "Base MIME and Application database for GNOME")
1153 (description "GNOME Mime Data is a module which contains the base MIME
1154 and Application database for GNOME. The data stored by this module is
1155 designed to be accessed through the MIME functions in GnomeVFS.")
1156 (license license:gpl2+)))
1159 (define-public gnome-vfs
1165 (uri (string-append "mirror://gnome/sources/" name "/"
1166 (version-major+minor version) "/"
1167 name "-" version ".tar.bz2"))
1170 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1171 (build-system gnu-build-system)
1175 'configure 'ignore-deprecations
1177 (substitute* '("libgnomevfs/Makefile.in"
1178 "daemon/Makefile.in")
1179 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1182 'configure 'patch-test-async-cancel-to-never-fail
1184 (substitute* "test/test-async-cancel.c"
1185 (("EXIT_FAILURE") "77")))
1186 %standard-phases))))
1187 (inputs `(("libxml2" ,libxml2)
1188 ("dbus-glib" ,dbus-glib)
1190 ("gnome-mime-data" ,gnome-mime-data)
1193 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1194 ("intltool" ,intltool)
1195 ("pkg-config" ,pkg-config)))
1196 (home-page "https://developer.gnome.org/gnome-vfs/")
1197 (synopsis "Access files and folders in GNOME applications")
1199 "GnomeVFS is the core library used to access files and folders in GNOME
1200 applications. It provides a file system abstraction which allows applications
1201 to access local and remote files with a single consistent API.")
1202 (license license:lgpl2.0+)))
1206 (define-public libgnome
1212 (uri (string-append "mirror://gnome/sources/" name "/"
1213 (version-major+minor version) "/"
1214 name "-" version ".tar.bz2"))
1217 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1218 (build-system gnu-build-system)
1222 'configure 'enable-deprecated
1224 (substitute* "libgnome/Makefile.in"
1225 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1227 (inputs `(("libxml2" ,libxml2)))
1229 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1230 ("intltool" ,intltool)
1231 ("pkg-config" ,pkg-config)))
1232 ;; The following are listed as Required in the .pc file
1233 ;; (except for libcanberra -- which seems to be oversight on the part
1234 ;; of the upstream developers -- anything that links against libgnome,
1235 ;; must also link against libcanberra
1237 `(("libcanberra" ,libcanberra)
1238 ("libbonobo" ,libbonobo)
1240 ("gnome-vfs" ,gnome-vfs)
1241 ("popt" ,popt))) ;gnome-program.h includes popt.h
1242 (home-page "https://developer.gnome.org/libgnome/")
1243 (synopsis "Useful routines for building applications")
1244 (description "The libgnome library provides a number of useful routines
1245 for building modern applications, including session management, activation of
1246 files and URIs, and displaying help.")
1247 (license license:lgpl2.0+)))
1250 (define-public libart-lgpl
1252 (name "libart-lgpl")
1256 (uri (let ((upstream-name "libart_lgpl"))
1257 (string-append "mirror://gnome/sources/" upstream-name "/"
1258 (version-major+minor version) "/"
1259 upstream-name "-" version ".tar.bz2")))
1262 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1263 (build-system gnu-build-system)
1265 `(("pkg-config" ,pkg-config)))
1266 (home-page "https://people.gnome.org/~mathieu/libart")
1267 (synopsis "2D drawing library")
1268 (description "Libart is a 2D drawing library intended as a
1269 high-quality vector-based 2D library with antialiasing and alpha composition.")
1270 (license license:lgpl2.0+)))
1274 (define-public libgnomecanvas
1276 (name "libgnomecanvas")
1280 (uri (string-append "mirror://gnome/sources/" name "/"
1281 (version-major+minor version) "/"
1282 name "-" version ".tar.gz"))
1285 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1286 (build-system gnu-build-system)
1287 ;; Mentioned as Required in the .pc file
1288 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1291 `(("intltool" ,intltool)
1292 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1293 ("pkg-config" ,pkg-config)))
1294 (home-page "https://developer.gnome.org/libgnomecanvas/")
1295 (synopsis "Flexible widget for creating interactive structured graphics")
1296 (description "The GnomeCanvas widget provides a flexible widget for
1297 creating interactive structured graphics.")
1298 (license license:lgpl2.0+)))
1300 (define-public libgnomecanvasmm
1302 (name "libgnomecanvasmm")
1306 (uri (string-append "mirror://gnome/sources/" name "/"
1307 (version-major+minor version) "/"
1308 name "-" version ".tar.bz2"))
1311 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1312 (build-system gnu-build-system)
1314 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1315 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1317 `(("gtkmm-2" ,gtkmm-2)
1318 ("pkg-config" ,pkg-config)))
1319 (home-page "http://gtkmm.org")
1320 (synopsis "C++ bindings to the GNOME Canvas library")
1321 (description "C++ bindings to the GNOME Canvas library.")
1322 (license license:lgpl2.0+)))
1324 (define-public libgnomeui
1330 (uri (string-append "mirror://gnome/sources/" name "/"
1331 (version-major+minor version) "/"
1332 name "-" version ".tar.bz2"))
1335 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1336 (build-system gnu-build-system)
1337 ;; Mentioned as Required in the .pc file
1338 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1339 ("libgnome" ,libgnome)
1340 ("libgnomecanvas" ,libgnomecanvas)
1341 ("libgnome-keyring" ,libgnome-keyring)))
1342 (inputs `(("libjpeg" ,libjpeg)
1344 ("libbonobo" ,libbonobo)
1345 ("libxml2" ,libxml2)
1346 ("libglade" ,libglade)))
1348 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1349 ("intltool" ,intltool)
1350 ("pkg-config" ,pkg-config)))
1351 (home-page "https://developer.gnome.org/libgnomeui/")
1352 (synopsis "Additional widgets for applications")
1353 (description "The libgnomeui library provides additional widgets for
1354 applications. Many of the widgets from libgnomeui have already been
1356 (license license:lgpl2.0+)))
1358 (define-public libglade
1364 (uri (string-append "mirror://gnome/sources/" name "/"
1365 (version-major+minor version) "/"
1366 name "-" version ".tar.bz2"))
1369 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1370 (build-system gnu-build-system)
1372 `(("python" ,python))) ;; needed for the optional libglade-convert program
1374 `(("gtk+-2" ,gtk+-2)
1375 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1377 `(("pkg-config" ,pkg-config)))
1378 (home-page "https://developer.gnome.org/libglade")
1379 (synopsis "Load glade interfaces and access the glade built widgets")
1380 (description "Libglade is a library that provides interfaces for loading
1381 graphical interfaces described in glade files and for accessing the
1382 widgets built in the loading process.")
1383 (license license:gpl2+))) ; This is correct. GPL not LGPL
1385 (define-public libgnomeprint
1386 ;; This library has been deprecated since 2006; see
1387 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1389 (name "libgnomeprint")
1393 (uri (string-append "mirror://gnome/sources/" name "/"
1394 (version-major+minor version) "/"
1395 name "-" version ".tar.bz2"))
1398 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1399 (build-system gnu-build-system)
1402 ("libart-lgpl" ,libart-lgpl)
1404 ("libxml2" ,libxml2)))
1406 `(("intltool" ,intltool)
1407 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1408 ("pkg-config" ,pkg-config)))
1409 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1410 (synopsis "Printing framework for GNOME")
1412 "GNOME-print was a printing framework for GNOME. It has been deprecated
1413 since ca. 2006, when GTK+ itself incorporated printing support.")
1414 (license license:lgpl2.0+)))
1417 (define-public libgnomeprintui
1418 ;; Deprecated; see libgnomeprint.
1420 (name "libgnomeprintui")
1424 (uri (string-append "mirror://gnome/sources/" name "/"
1425 (version-major+minor version) "/"
1426 name "-" version ".tar.bz2"))
1429 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1430 (build-system gnu-build-system)
1431 ;; Mentioned as Required in the .pc file
1432 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1433 (inputs `(("gtk+" ,gtk+-2)
1435 ("gnome-icon-theme" ,gnome-icon-theme)
1436 ("libgnomecanvas" ,libgnomecanvas)
1437 ("libxml2" ,libxml2)))
1439 `(("intltool" ,intltool)
1440 ("pkg-config" ,pkg-config)))
1441 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1442 (synopsis "Printing framework for GNOME")
1443 (description (package-description libgnomeprint))
1444 (license license:lgpl2.0+)))
1446 (define-public libbonoboui
1448 (name "libbonoboui")
1452 (uri (string-append "mirror://gnome/sources/" name "/"
1453 (version-major+minor version) "/"
1454 name "-" version ".tar.bz2"))
1457 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1458 (build-system gnu-build-system)
1462 'check 'start-xserver
1463 (lambda* (#:key inputs #:allow-other-keys)
1464 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1467 (setenv "HOME" (getcwd))
1468 (setenv "DISPLAY" disp)
1469 ;; There must be a running X server and make check doesn't start one.
1470 ;; Therefore we must do it.
1471 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1473 ;; Mentioned as Required by the .pc file
1474 (propagated-inputs `(("libxml2" ,libxml2)))
1477 ("pangox-compat" ,pangox-compat)
1478 ("libgnome" ,libgnome)
1479 ("libgnomecanvas" ,libgnomecanvas)
1480 ("libglade" ,libglade)))
1482 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1483 ("intltool" ,intltool)
1484 ("xorg-server" ,xorg-server) ; For running the tests
1485 ("pkg-config" ,pkg-config)))
1486 (home-page "https://developer.gnome.org/libbonoboui/")
1487 (synopsis "Some user interface controls using Bonobo")
1488 (description "The Bonobo UI library provides a number of user interface
1489 controls using the Bonobo component framework.")
1490 (license license:lgpl2.0+)))
1492 (define-public libwnck
1498 (uri (string-append "mirror://gnome/sources/" name "/"
1499 (version-major+minor version) "/"
1500 name "-" version ".tar.xz"))
1502 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1503 (build-system gnu-build-system)
1505 `(("pkg-config" ,pkg-config)
1506 ("intltool" ,intltool)))
1509 ("libxres" ,libxres)
1510 ("startup-notification" ,startup-notification)))
1511 (home-page "https://developer.gnome.org/libwnck/")
1512 (synopsis "Window Navigator Construction Kit")
1514 "Libwnck is the Window Navigator Construction Kit, a library for use in
1515 writing pagers, tasklists, and more generally applications that are dealing
1516 with window management. It tries hard to respect the Extended Window Manager
1517 Hints specification (EWMH).")
1518 (license license:lgpl2.0+)))
1520 ;; stable version for gtk2, required by xfwm4.
1521 (define-public libwnck-2
1522 (package (inherit libwnck)
1527 (uri (string-append "mirror://gnome/sources/" name "/"
1528 (version-major+minor version) "/"
1529 name "-" version ".tar.xz"))
1532 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1535 ("libxres" ,libxres)
1536 ("startup-notification" ,startup-notification)))))
1538 (define-public goffice
1544 (uri (string-append "mirror://gnome/sources/" name "/"
1545 (version-major+minor version) "/"
1546 name "-" version ".tar.xz"))
1548 (base32 "1hvs5558x98yzm43dc3f93v596x45lfmv1vkp4jjgfagynlpvcq2"))))
1549 (build-system gnu-build-system)
1551 "doc")) ;4.1 MiB of gtk-doc
1553 '(#:configure-flags (list (string-append "--with-html-dir="
1554 (assoc-ref %outputs "doc")
1555 "/share/gtk-doc/html"))))
1559 ("librsvg" ,librsvg)
1560 ("libxslt" ,libxslt)
1561 ("libxml2" ,libxml2)))
1563 `(("intltool" ,intltool)
1564 ("glib" ,glib "bin")
1565 ("pkg-config" ,pkg-config)))
1566 (home-page "https://developer.gnome.org/goffice/")
1567 (synopsis "Document-centric objects and utilities")
1568 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1570 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1572 (list license:gpl2 license:gpl3))))
1574 (define-public goffice-0.8
1575 (package (inherit goffice)
1579 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1580 (version-major+minor version) "/"
1581 (package-name goffice) "-" version ".tar.xz"))
1583 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1587 'unpack 'fix-pcre-check
1589 ;; Only glib.h can be included directly. See
1590 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1591 (substitute* "configure"
1592 (("glib/gregex\\.h") "glib.h")) #t)
1595 ,@(package-arguments goffice)))
1597 ;; libgoffice-0.8.pc mentions libgsf-1
1598 `(("libgsf" ,libgsf)))
1601 ,@(alist-delete "gtk" (package-inputs goffice))))))
1603 (define-public gnumeric
1609 (uri (string-append "mirror://gnome/sources/" name "/"
1610 (version-major+minor version) "/"
1611 name "-" version ".tar.xz"))
1614 "1s3dxvdwzmppsp2dfg90rccilf4hknhwjdy7lazr9sys58zchyx0"))))
1615 (build-system gnu-build-system)
1617 `(;; The gnumeric developers don't worry much about failing tests.
1618 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1621 (modify-phases %standard-phases
1623 'configure 'pre-conf
1624 (lambda* (#:key outputs #:allow-other-keys)
1625 ;; Make install tries to write into the directory of goffice
1626 ;; I am informed that this only affects the possibility to embed a
1627 ;; spreadsheet inside an Abiword document. So presumably when we
1628 ;; package Abiword we'll have to refer it to this directory.
1629 (substitute* "configure"
1630 (("^GOFFICE_PLUGINS_DIR=.*")
1631 (string-append "GOFFICE_PLUGINS_DIR="
1632 (assoc-ref outputs "out")
1633 "/goffice/plugins"))))))))
1637 ("goffice" ,goffice)
1639 ("librsvg" ,librsvg)
1640 ("libxml2" ,libxml2)
1641 ("libxslt" ,libxslt)
1642 ("python" ,python-2)
1643 ("python2-pygobject" ,python2-pygobject)
1647 ("intltool" ,intltool)
1648 ("glib:bin" ,glib "bin")
1649 ("pkg-config" ,pkg-config)))
1650 (home-page "http://www.gnumeric.org")
1651 (synopsis "Spreadsheet application")
1653 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1654 interoperable with other spreadsheet applications. It has a vast array of
1655 features beyond typical spreadsheet functionality, such as support for linear
1656 and non-linear solvers, statistical analysis, and telecommunication
1659 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1660 (list license:gpl2 license:gpl3))))
1662 (define-public gnome-themes-standard
1664 (name "gnome-themes-standard")
1669 (uri (string-append "mirror://gnome/sources/" name "/"
1670 (version-major+minor version) "/" name "-"
1674 "05br99z67f82i18nljpxnwssfnaqp7mph61w3hq0i44z5i5rq3cx"))))
1675 (build-system gnu-build-system)
1678 ;; Don't create 'icon-theme.cache'.
1679 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1680 (true (string-append coreutils "/bin/true")))
1681 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1685 ("librsvg" ,librsvg)
1686 ("libxml2" ,libxml2)
1689 `(("intltool" ,intltool)
1690 ("glib:bin" ,glib "bin")
1691 ("pkg-config" ,pkg-config)))
1692 (home-page "https://launchpad.net/gnome-themes-standard")
1693 (synopsis "Default GNOME 3 themes")
1695 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1696 (license license:lgpl2.1+)))
1698 (define-public seahorse
1705 (uri (string-append "mirror://gnome/sources/" name "/"
1706 (version-major+minor version) "/" name "-"
1710 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1711 (build-system glib-or-gtk-build-system)
1717 ("openldap" ,openldap)
1718 ("openssh" ,openssh)
1719 ("libsecret" ,libsecret)
1720 ("libsoup" ,libsoup)))
1722 `(("intltool" ,intltool)
1723 ("glib:bin" ,glib "bin")
1724 ("itstool" ,itstool)
1725 ("pkg-config" ,pkg-config)
1726 ("xmllint" ,libxml2)))
1727 (home-page "https://launchpad.net/gnome-themes-standard")
1728 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1730 "Seahorse is a GNOME application for managing encryption keys and
1731 passwords in the GNOME keyring.")
1732 (license license:gpl2+)))
1740 (uri (string-append "mirror://gnome/sources/" name "/"
1741 (version-major+minor version) "/"
1742 name "-" version ".tar.xz"))
1745 "1ab1l44abf9fj1wznzq5956431ia136rl5049cggnk5393jlf3fx"))))
1746 (build-system gnu-build-system)
1749 (modify-phases %standard-phases
1750 (add-before 'check 'pre-check
1753 ;; For missing '/etc/machine-id'.
1754 (setenv "DBUS_FATAL_WARNINGS" "0")
1756 ;; Build the Vala API generator
1757 #:configure-flags '("--enable-vapigen")))
1759 `(("pkg-config" ,pkg-config)
1762 ("xsltproc" ,libxslt)
1763 ("dbus" ,dbus) ; for dbus tests
1764 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1766 `(("glib" ,glib))) ; required by libvala-0.26.pc
1767 (home-page "http://live.gnome.org/Vala/")
1768 (synopsis "Compiler for the GObject type system")
1770 "Vala is a programming language that aims to bring modern programming
1771 language features to GNOME developers without imposing any additional runtime
1772 requirements and without using a different ABI compared to applications and
1773 libraries written in C.")
1774 (license license:lgpl2.1+)))
1782 (uri (string-append "mirror://gnome/sources/" name "/"
1783 (version-major+minor version) "/"
1784 name "-" version ".tar.xz"))
1787 "0j899ccrkzh7208w29c835m1yms0cas5cxkck8x6l4xv2i45ksm1"))))
1788 (build-system gnu-build-system)
1790 ;; XXX: fails to compile tests with the default flags.
1791 ;; vteconv.cc:774:40:
1792 ;; error: missing sentinel in function call [-Werror=format=]
1793 ;; g_test_init (&argc, &argv, NULL);
1795 ;; cc1plus: some warnings being treated as errors
1796 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1798 `(("pkg-config" ,pkg-config)
1799 ("intltool" ,intltool)
1801 ("gobject-introspection" ,gobject-introspection)
1802 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1803 ("xmllint" ,libxml2)))
1805 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1806 ("gnutls" ,gnutls))) ;ditto
1807 (home-page "http://www.gnome.org/")
1808 (synopsis "Virtual Terminal Emulator")
1810 "VTE is a library (libvte) implementing a terminal emulator widget for
1811 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1812 gnome-terminal, but can also be used to embed a console/terminal in games,
1813 editors, IDEs, etc.")
1814 (license license:lgpl2.1+)))
1816 (define-public vte-ng
1820 (version "0.44.1.b")
1822 `(("gtk-doc" ,gtk-doc)
1824 ("autoconf" ,autoconf)
1825 ("automake" ,automake)
1826 ("libtool" ,libtool)
1827 ,@(package-native-inputs vte)))
1830 (uri (string-append "https://github.com/thestinger/"
1831 name "/archive/" version ".tar.gz"))
1832 (file-name (string-append name "-" version ".tar.gz"))
1835 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1837 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1838 #:phases (modify-phases %standard-phases
1839 (add-after 'unpack 'bootstrap
1841 (setenv "NOCONFIGURE" "true")
1842 (zero? (system* "sh" "autogen.sh")))))))
1843 (synopsis "Enhanced VTE terminal widget")
1845 "VTE is a library (libvte) implementing a terminal emulator widget for
1846 GTK+, this fork provides additional functions exposed for keyboard text
1847 selection and URL hints.")))
1849 ;; provides vte 2.90, required for some terminal emulators
1850 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1851 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1852 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1853 ;; pantheon-terminal, roxterm are not currently packaged
1854 (define-public vte-0.36
1855 (package (inherit vte)
1860 (uri (string-append "mirror://gnome/sources/" name "/"
1861 (version-major+minor version) "/"
1862 name "-" version ".tar.xz"))
1865 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1868 ("ncurses" ,ncurses)))))
1870 ;; stable version for gtk2, required by xfce4-terminal.
1871 (define-public vte/gtk+-2
1872 (package (inherit vte)
1877 (uri (string-append "mirror://gnome/sources/" name "/"
1878 (version-major+minor version) "/"
1879 name "-" version ".tar.xz"))
1882 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1883 (patches (search-patches
1884 "vte-CVE-2012-2738-pt1.patch"
1885 "vte-CVE-2012-2738-pt2.patch"))))
1887 '(#:configure-flags '("--disable-python")))
1889 `(("pkg-config" ,pkg-config)
1890 ("intltool" ,intltool)
1891 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1893 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1894 ("ncurses" ,ncurses))))) ; required by libvte.la
1896 (define-public dconf
1903 "mirror://gnome/sources/" name "/"
1904 (version-major+minor version) "/"
1905 name "-" version ".tar.xz"))
1908 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1909 (build-system glib-or-gtk-build-system)
1914 ("libxml2" ,libxml2)))
1916 `(("libxslt" ,libxslt)
1917 ("docbook-xml" ,docbook-xml-4.2)
1918 ("docbook-xsl" ,docbook-xsl)
1919 ("intltool" ,intltool)
1920 ("pkg-config" ,pkg-config)))
1922 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1923 ; or /etc/machine-id.
1925 ;; Set the correct RUNPATH in binaries.
1926 (list (string-append "LDFLAGS=-Wl,-rpath="
1927 (assoc-ref %outputs "out") "/lib")
1928 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1931 'configure 'fix-docbook
1932 (lambda* (#:key inputs #:allow-other-keys)
1933 (substitute* "docs/Makefile.in"
1934 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1935 (string-append (assoc-ref inputs "docbook-xsl")
1936 "/xml/xsl/docbook-xsl-"
1937 ,(package-version docbook-xsl)
1938 "/manpages/docbook.xsl")))
1939 (setenv "XML_CATALOG_FILES"
1940 (string-append (assoc-ref inputs "docbook-xml")
1941 "/xml/dtd/docbook/catalog.xml")))
1943 (home-page "https://developer.gnome.org/dconf")
1944 (synopsis "Low-level GNOME configuration system")
1945 (description "Dconf is a low-level configuration system. Its main purpose
1946 is to provide a backend to GSettings on platforms that don't already have
1947 configuration storage systems.")
1948 (license license:lgpl2.1)))
1950 (define-public json-glib
1956 (uri (string-append "mirror://gnome/sources/" name "/"
1957 (version-major+minor version) "/"
1958 name "-" version ".tar.xz"))
1961 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
1962 (modules '((guix build utils)))
1964 ;; Don't duplicate test names.
1965 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1966 '(substitute* "json-glib/tests/builder.c"
1967 (("\"/builder/complex\", test_builder_empty")
1968 "\"/builder/empty\", test_builder_empty")))))
1969 (build-system gnu-build-system)
1971 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1972 ("gobject-introspection" ,gobject-introspection)
1973 ("pkg-config" ,pkg-config)))
1975 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1976 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1977 (synopsis "Compiler for the GObject type system")
1979 "JSON-GLib is a C library based on GLib providing serialization and
1980 deserialization support for the JavaScript Object Notation (JSON) format
1981 described by RFC 4627. It provides parser and generator GObject classes and
1982 various wrappers for the complex data types employed by JSON, such as arrays
1984 (license license:lgpl2.1+)))
1986 (define-public libxklavier
1988 (name "libxklavier")
1992 (uri (string-append "mirror://gnome/sources/" name "/"
1993 version "/" name "-" version ".tar.xz"))
1996 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1997 (build-system gnu-build-system)
2000 (list (string-append "--with-xkb-base="
2001 (assoc-ref %build-inputs "xkeyboard-config")
2002 "/share/X11/xkb"))))
2004 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2005 ("gobject-introspection" ,gobject-introspection)
2006 ("pkg-config" ,pkg-config)))
2008 ;; Required by libxklavier.pc.
2010 ("libxml2" ,libxml2)))
2012 `(("iso-codes" ,iso-codes)
2014 ("libxkbfile" ,libxkbfile)
2015 ("xkbcomp" ,xkbcomp)
2016 ("xkeyboard-config" ,xkeyboard-config)))
2017 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2018 (synopsis "High-level API for X Keyboard Extension")
2020 "LibXklavier is a library providing high-level API for X Keyboard
2021 Extension known as XKB. This library is intended to support XFree86 and other
2022 commercial X servers. It is useful for creating XKB-related software (layout
2024 (license license:lgpl2.0+)))
2026 (define-public python2-rsvg
2027 ;; XXX: This is actually a subset of gnome-python-desktop.
2029 (name "python2-rsvg")
2035 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2036 version ".tar.bz2"))
2039 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2040 (build-system gnu-build-system)
2042 `(("pkg-config" ,pkg-config)))
2044 `(("python" ,python-2)
2045 ("python2-pygtk" ,python2-pygtk)
2046 ("librsvg" ,librsvg)))
2047 (home-page "http://www.gnome.org")
2048 (synopsis "Python bindings to librsvg")
2050 "This packages provides Python bindings to librsvg, the SVG rendering
2053 ;; This is the license of the rsvg bindings. The license of each module
2054 ;; of gnome-python-desktop is given in 'COPYING'.
2055 (license license:lgpl2.1+)))
2057 (define-public glib-networking
2059 (name "glib-networking")
2063 (uri (string-append "mirror://gnome/sources/glib-networking/"
2064 (version-major+minor version) "/"
2065 name "-" version ".tar.xz"))
2068 "111spcar6wbp6m0rdxzjscc7vfqx5nawscrfbxlvbf5jsr4hqp4j"))
2070 (search-patches "glib-networking-ssl-cert-file.patch"))))
2071 (build-system gnu-build-system)
2074 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2076 (modify-phases %standard-phases
2077 (add-before 'configure 'patch-giomoduledir
2078 ;; Install GIO modules into $out/lib/gio/modules.
2080 (substitute* "configure"
2081 (("GIO_MODULE_DIR=.*")
2082 (string-append "GIO_MODULE_DIR=" %output
2083 "/lib/gio/modules\n")))))
2084 (add-before 'check 'use-empty-ssl-cert-file
2086 ;; The ca-certificates.crt is not available in the build
2088 (setenv "SSL_CERT_FILE" "/dev/null")
2091 `(("pkg-config" ,pkg-config)
2092 ("intltool" ,intltool)))
2096 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2097 ("p11-kit" ,p11-kit)))
2098 (home-page "http://www.gnome.org")
2099 (synopsis "Network-related GIO modules")
2101 "This package contains various network related extensions for the GIO
2103 (license license:lgpl2.0+)))
2111 (uri (string-append "mirror://gnome/sources/rest/"
2112 (version-major+minor version) "/"
2113 name "-" version ".tar.xz"))
2116 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2117 (build-system gnu-build-system)
2119 '(#:tests? #f ; tests require internet connection
2121 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2123 `(("glib-mkenums" ,glib "bin")
2124 ("gobject-introspection" ,gobject-introspection)
2125 ("pkg-config" ,pkg-config)))
2127 ;; rest-0.7.pc refers to all these.
2129 ("libsoup" ,libsoup)
2130 ("libxml2" ,libxml2)))
2131 (home-page "http://www.gtk.org/")
2132 (synopsis "RESTful web api query library")
2134 "This library was designed to make it easier to access web services that
2135 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2136 libxml to ease remote use of the RESTful API.")
2137 (license license:lgpl2.1+)))
2139 (define-public libsoup
2145 (uri (string-append "mirror://gnome/sources/libsoup/"
2146 (version-major+minor version) "/"
2147 name "-" version ".tar.xz"))
2150 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
2151 (build-system gnu-build-system)
2152 (outputs '("out" "doc"))
2155 (list (string-append "--with-html-dir="
2156 (assoc-ref %outputs "doc")
2157 "/share/gtk-doc/html"))
2159 (modify-phases %standard-phases
2160 (add-before 'configure 'disable-unconnected-socket-test
2161 ;; This test fails due to missing /etc/nsswitch.conf
2162 ;; in the build environment.
2164 (substitute* "tests/socket-test.c"
2165 ((".*/sockets/unconnected.*") ""))
2167 (add-before 'check 'pre-check
2169 ;; The 'check-local' target runs 'env LANG=C sort -u',
2170 ;; unset 'LC_ALL' to make 'LANG' working.
2172 ;; The ca-certificates.crt is not available in the build
2174 (setenv "SSL_CERT_FILE" "/dev/null")
2180 ;; Install vala bindings into $out.
2181 (string-append "vapidir=" %output
2185 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2186 ("gobject-introspection" ,gobject-introspection)
2187 ("intltool" ,intltool)
2188 ("pkg-config" ,pkg-config)
2189 ("python" ,python-wrapper)
2191 ;; These are needed for the tests.
2192 ;; FIXME: Add PHP once available.
2196 ;; libsoup-2.4.pc refers to all these.
2198 ("libxml2" ,libxml2)))
2200 `(("glib-networking" ,glib-networking)
2201 ("sqlite" ,sqlite)))
2202 (home-page "https://live.gnome.org/LibSoup/")
2203 (synopsis "GLib-based HTTP Library")
2205 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2206 and the GLib main loop, to integrate well with GNOME applications.")
2207 (license license:lgpl2.0+)))
2209 (define-public libsecret
2216 "mirror://gnome/sources/libsecret/"
2217 (version-major+minor version) "/"
2218 name "-" version ".tar.xz"))
2221 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2222 (build-system gnu-build-system)
2223 (outputs '("out" "doc"))
2225 `(#:tests? #f ; FIXME: Testing hangs.
2227 (list (string-append "--with-html-dir="
2228 (assoc-ref %outputs "doc")
2229 "/share/gtk-doc/html"))))
2231 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2232 ("gobject-introspection" ,gobject-introspection)
2233 ("intltool" ,intltool)
2234 ("pkg-config" ,pkg-config)
2236 ("xsltproc" ,libxslt)))
2237 ;; These are needed for the tests.
2238 ;; FIXME: Add gjs once available.
2240 ;("python2" ,python-2)
2241 ;("python2-dbus" ,python2-dbus)
2242 ;("python2-pygobject" ,python2-pygobject)
2243 ;("python2-pygobject-2" ,python2-pygobject-2)))
2245 `(("glib" ,glib))) ; required by libsecret-1.pc
2247 `(("docbook-xsl" ,docbook-xsl)
2248 ("libgcrypt" ,libgcrypt)
2249 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2250 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2251 (synopsis "GObject bindings for \"Secret Service\" API")
2253 "Libsecret is a GObject based library for storing and retrieving passwords
2254 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2255 (license license:lgpl2.1+)))
2257 (define-public gnome-mines
2259 (name "gnome-mines")
2264 (uri (string-append "mirror://gnome/sources/" name "/"
2265 (version-major+minor version) "/"
2266 name "-" version ".tar.xz"))
2269 "0frb1r0f55giz7yqxl9920vvzqlirdivz54ygc9d85r8v63fh5aq"))))
2270 (build-system glib-or-gtk-build-system)
2273 (modify-phases %standard-phases
2274 (add-before 'configure 'patch-/bin/true
2276 (substitute* "configure"
2277 (("/bin/true") (which "true"))))))))
2279 `(("pkg-config" ,pkg-config)
2280 ("desktop-file-utils" ,desktop-file-utils)
2281 ("intltool" ,intltool)
2282 ("itstool" ,itstool)
2283 ("xmllint" ,libxml2)))
2286 ("librsvg" ,librsvg)))
2287 (home-page "https://wiki.gnome.org/Apps/Mines")
2288 (synopsis "Minesweeper game")
2290 "Mines (previously gnomine) is a puzzle game where you locate mines
2291 floating in an ocean using only your brain and a little bit of luck.")
2292 (license license:gpl2+)))
2294 (define-public gnome-sudoku
2296 (name "gnome-sudoku")
2301 (uri (string-append "mirror://gnome/sources/" name "/"
2302 (version-major+minor version) "/"
2303 name "-" version ".tar.xz"))
2306 "166bbv5k50v7pjp3wbl2rmxcmv1adwr14hxg5rw2ws8kams8151k"))))
2307 (build-system glib-or-gtk-build-system)
2309 `(("pkg-config" ,pkg-config)
2310 ("desktop-file-utils" ,desktop-file-utils)
2311 ("intltool" ,intltool)
2312 ("itstool" ,itstool)
2313 ("xmllint" ,libxml2)))
2316 ("json-glib" ,json-glib)
2318 ("librsvg" ,librsvg)
2319 ("qqwing" ,qqwing)))
2320 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2321 (synopsis "Japanese logic game")
2323 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2324 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2325 possible while still providing features that make playing difficult Sudoku
2327 (license license:gpl2+)))
2329 (define-public gnome-terminal
2331 (name "gnome-terminal")
2336 (uri (string-append "mirror://gnome/sources/" name "/"
2337 (version-major+minor version) "/"
2338 name "-" version ".tar.xz"))
2341 "08ssch8h1y85wyhddkyr7ab4v8dnsn17z4ayyc5ff78gfdh30f7m"))))
2342 (build-system glib-or-gtk-build-system)
2345 (list "--disable-migration" "--disable-search-provider"
2346 "--without-nautilus-extension")
2348 (modify-phases %standard-phases
2349 (add-before 'configure 'patch-/bin/true
2351 (substitute* "configure"
2352 (("/bin/true") (which "true"))))))))
2354 `(("pkg-config" ,pkg-config)
2355 ("desktop-file-utils" ,desktop-file-utils)
2356 ("intltool" ,intltool)
2357 ("itstool" ,itstool)
2358 ("xmllint" ,libxml2)))
2360 `(("dconf" ,dconf)))
2365 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2366 ("util-linux" ,util-linux)
2368 (home-page "https://wiki.gnome.org/Apps/Terminal")
2369 (synopsis "Terminal emulator")
2371 "GNOME Terminal is a terminal emulator application for accessing a
2372 UNIX shell environment which can be used to run programs available on
2375 It supports several profiles, multiple tabs and implements several
2376 keyboard shortcuts.")
2377 (license license:gpl3+)))
2379 (define-public colord
2386 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2387 name "-" version ".tar.xz"))
2390 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2391 (build-system glib-or-gtk-build-system)
2393 '(;; The tests want to run valgrind. Punt for now.
2395 #:configure-flags (list "--localstatedir=/var"
2396 ;; GUSB not packaged yet.
2398 ;; No dep on systemd.
2399 "--disable-systemd-login"
2400 ;; Wants to install to global completion dir;
2402 "--disable-bash-completion"
2403 ;; colord-gtk not packaged yet.
2404 "--disable-session-example"
2405 "--with-daemon-user=colord"
2407 (string-append "--with-udevrulesdir="
2408 (assoc-ref %outputs "out")
2409 "/lib/udev/rules.d"))
2411 (modify-phases %standard-phases
2412 (add-before 'configure 'patch-/bin/true
2414 (substitute* "configure"
2415 (("/bin/true") (which "true")))
2416 (substitute* "src/Makefile.in"
2417 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2418 "if test -w $(DESTDIR)$(localstatedir);")))))))
2420 `(("pkg-config" ,pkg-config)
2421 ("gobject-introspection" ,gobject-introspection)
2422 ("libtool" ,libtool)
2423 ("intltool" ,intltool)))
2425 ;; colord.pc refers to all these.
2430 `(("dbus-glib" ,dbus-glib)
2431 ("libgudev" ,libgudev)
2435 ("sane-backends" ,sane-backends)))
2436 (home-page "http://www.freedesktop.org/software/colord/")
2437 (synopsis "Color management service")
2438 (description "Colord is a system service that makes it easy to manage,
2439 install and generate color profiles to accurately color manage input and
2441 (license license:gpl2+)))
2443 (define-public geoclue
2450 (uri (string-append "https://www.freedesktop.org/software/" name
2451 "/releases/" (version-major+minor version) "/"
2452 name "-" version ".tar.xz"))
2455 "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd"))
2456 (patches (search-patches "geoclue-config.patch"))))
2457 (build-system glib-or-gtk-build-system)
2459 '(;; The tests want to run the system bus.
2461 #:configure-flags (list ;; Disable bits requiring ModemManager.
2462 "--disable-3g-source"
2463 "--disable-cdma-source"
2464 "--disable-modem-gps-source"
2465 "--with-dbus-service-user=geoclue")
2467 (modify-phases %standard-phases
2468 (add-before 'configure 'patch-/bin/true
2470 (substitute* "configure"
2471 (("/bin/true") (which "true"))))))))
2473 `(("pkg-config" ,pkg-config)
2474 ("intltool" ,intltool)))
2478 ("json-glib" ,json-glib)
2479 ("libsoup" ,libsoup)))
2480 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2481 (synopsis "Geolocation service")
2482 (description "Geoclue is a D-Bus service that provides location
2483 information. The primary goal of the Geoclue project is to make creating
2484 location-aware applications as simple as possible, while the secondary goal is
2485 to ensure that no application can access location information without explicit
2486 permission from user.")
2487 (license license:gpl2+)))
2489 (define-public geocode-glib
2491 (name "geocode-glib")
2495 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2496 (version-major+minor version) "/"
2497 name "-" version ".tar.xz"))
2500 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2501 (build-system gnu-build-system)
2503 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2504 ;; work for the builder. Punt.
2507 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2508 ("gobject-introspection" ,gobject-introspection)
2509 ("pkg-config" ,pkg-config)
2510 ("json-glib" ,json-glib)))
2512 ;; geocode-glib-1.0.pc refers to GIO.
2515 `(("libsoup" ,libsoup)))
2516 (home-page "https://github.com/GNOME/geocode-glib/")
2517 (synopsis "Geocoding and reverse-geocoding library")
2519 "geocode-glib is a convenience library for geocoding (finding longitude,
2520 and latitude from an address) and reverse geocoding (finding an address from
2521 coordinates) using the Nominatim service. geocode-glib caches requests for
2522 faster results and to avoid unnecessary server load.")
2523 (license license:lgpl2.0+)))
2525 (define-public upower
2531 (uri (string-append "https://upower.freedesktop.org/releases/"
2532 name "-" version ".tar.xz"))
2535 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2536 (patches (search-patches "upower-builddir.patch"))))
2537 (build-system glib-or-gtk-build-system)
2539 '( ;; The tests want to contact the system bus, which can't be done in the
2540 ;; build environment. The integration test can run, but the last of
2541 ;; the up-self-tests doesn't. Disable tests for now.
2543 #:configure-flags (list "--localstatedir=/var"
2544 (string-append "--with-udevrulesdir="
2545 (assoc-ref %outputs "out")
2546 "/lib/udev/rules.d"))
2548 (modify-phases %standard-phases
2549 (add-before 'configure 'patch-/bin/true
2551 (substitute* "configure"
2552 (("/bin/true") (which "true")))))
2553 (add-before 'configure 'patch-integration-test
2555 (substitute* "src/linux/integration-test"
2556 (("/usr/bin/python3") (which "python3"))))))))
2558 `(("gobject-introspection" ,gobject-introspection)
2559 ("pkg-config" ,pkg-config)
2560 ("intltool" ,intltool)
2564 ("libxslt" ,libxslt) ;for 'xsltproc'
2565 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2566 ("docbook-xsl" ,docbook-xsl)))
2568 `(("dbus-glib" ,dbus-glib)
2569 ("libgudev" ,libgudev)
2570 ("libusb" ,libusb)))
2571 (home-page "http://upower.freedesktop.org/")
2572 (synopsis "System daemon for managing power devices")
2574 "UPower is an abstraction for enumerating power devices,
2575 listening to device events and querying history and statistics. Any
2576 application or service on the system can access the org.freedesktop.UPower
2577 service via the system message bus.")
2578 (license license:gpl2+)))
2580 (define-public libgweather
2582 (name "libgweather")
2586 (uri (string-append "mirror://gnome/sources/" name "/"
2587 (version-major+minor version) "/"
2588 name "-" version ".tar.xz"))
2591 "15ycgvdvika57rhnb46j6pj1907nj5y5nyy7sgj0yvpjbqsiskzp"))))
2592 (build-system gnu-build-system)
2595 `(,(string-append "--with-zoneinfo-dir="
2596 (assoc-ref %build-inputs "tzdata")
2599 (modify-phases %standard-phases
2602 (lambda* (#:key inputs #:allow-other-keys)
2603 (substitute* "data/check-timezones.sh"
2604 (("/usr/share/zoneinfo/zone.tab")
2605 (string-append (assoc-ref inputs "tzdata")
2606 "/share/zoneinfo/zone.tab")))
2609 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2610 ("gobject-introspection" ,gobject-introspection)
2611 ("pkg-config" ,pkg-config)
2612 ("intltool" ,intltool)))
2614 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2617 ("gdk-pixbuf" ,gdk-pixbuf)
2618 ("libxml2" ,libxml2)
2619 ("libsoup" ,libsoup)))
2621 `(("tzdata" ,tzdata)
2622 ("geocode-glib" ,geocode-glib)))
2623 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2624 (synopsis "Location, time zone, and weather library for GNOME")
2626 "libgweather is a library to access weather information from online
2627 services for numerous locations.")
2628 (license license:gpl2+)))
2630 (define-public gnome-settings-daemon
2632 (name "gnome-settings-daemon")
2637 (uri (string-append "mirror://gnome/sources/" name "/"
2638 (version-major+minor version) "/"
2639 name "-" version ".tar.xz"))
2642 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2643 (build-system glib-or-gtk-build-system)
2645 `(;; Network manager not yet packaged.
2646 #:configure-flags '("--disable-network-manager")
2647 ;; Color management test can't reach the colord system service.
2650 `(("pkg-config" ,pkg-config)
2651 ("intltool" ,intltool)
2652 ("xsltproc" ,libxslt)
2653 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2654 ("docbook-xml" ,docbook-xml-4.2)
2655 ("docbook-xsl" ,docbook-xsl)))
2657 `(("colord" ,colord)
2658 ("libgudev" ,libgudev)
2661 ("pulseaudio" ,pulseaudio)
2662 ("libcanberra" ,libcanberra)
2664 ("libxtst" ,libxtst)
2666 ("libnotify" ,libnotify)
2667 ("geoclue" ,geoclue)
2668 ("geocode-glib" ,geocode-glib)
2669 ("libgweather" ,libgweather)
2670 ("gnome-desktop" ,gnome-desktop)
2673 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2674 ("libwacom" ,libwacom)
2675 ("librsvg" ,librsvg)
2676 ("xf86-input-wacom" ,xf86-input-wacom)))
2677 (home-page "http://www.gnome.org")
2678 (synopsis "GNOME settings daemon")
2680 "This package contains the daemon responsible for setting the various
2681 parameters of a GNOME session and the applications that run under it. It
2682 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2683 settings, themes, mouse settings, and startup of other daemons.")
2684 (license license:gpl2+)))
2686 (define-public totem-pl-parser
2688 (name "totem-pl-parser")
2692 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2693 "totem-pl-parser-" version ".tar.xz"))
2696 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2697 (build-system gnu-build-system)
2699 ;; FIXME: Tests require gvfs.
2702 `(("intltool" ,intltool)
2703 ("glib" ,glib "bin")
2704 ("gobject-introspection" ,gobject-introspection)
2705 ("pkg-config" ,pkg-config)))
2709 ("libxml2" ,libxml2)))
2711 `(("libarchive" ,libarchive)
2712 ("libgcrypt" ,libgcrypt)
2714 ("libsoup" ,libsoup)))
2715 (home-page "https://projects.gnome.org/totem")
2716 (synopsis "Library to parse and save media playlists for GNOME")
2717 (description "Totem-pl-parser is a GObjects-based library to parse and save
2718 playlists in a variety of formats.")
2719 (license license:lgpl2.0+)))
2721 (define-public aisleriot
2727 (uri (string-append "mirror://gnome/sources/" name "/"
2728 (version-major+minor version) "/"
2729 name "-" version ".tar.xz"))
2732 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
2733 (build-system glib-or-gtk-build-system)
2736 '("--with-platform=gtk-only"
2737 "--with-card-theme-formats=svg")))
2739 `(("desktop-file-utils" ,desktop-file-utils)
2740 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2741 ("intltool" ,intltool)
2742 ("itstool" ,itstool)
2743 ("pkg-config" ,pkg-config)
2744 ("xmllint" ,libxml2)))
2747 ("guile" ,guile-2.0)
2748 ("libcanberra" ,libcanberra)
2749 ("librsvg" ,librsvg)))
2750 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2751 (synopsis "Solitaire card games")
2753 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2754 which are easy to play with the aid of a mouse.")
2755 (license license:gpl3+)))
2757 (define-public devhelp
2763 (uri (string-append "mirror://gnome/sources/" name "/"
2764 (version-major+minor version) "/"
2765 name "-" version ".tar.xz"))
2768 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2769 (build-system glib-or-gtk-build-system)
2771 `(("intltool" ,intltool)
2772 ("pkg-config" ,pkg-config)))
2774 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2775 ("webkitgtk" ,webkitgtk)))
2776 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2777 (synopsis "API documentation browser for GNOME")
2779 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2780 natively with GTK-Doc (the API reference system developed for GTK+ and used
2781 throughout GNOME for API documentation).")
2782 (license license:gpl2+)))
2791 (uri (string-append "mirror://gnome/sources/" name "/"
2792 (version-major+minor version) "/"
2793 name "-" version ".tar.xz"))
2796 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2797 (build-system gnu-build-system)
2799 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2800 ("gobject-introspection" ,gobject-introspection)
2801 ;;("xorg-server" ,xorg-server) ; for the test suite
2802 ("pkg-config" ,pkg-config)))
2805 ("gdk-pixbuf" ,gdk-pixbuf)
2807 ("libxext" ,libxext)
2808 ("libxfixes" ,libxfixes)
2809 ("libxdamage" ,libxdamage)
2810 ("libxcomposite" ,libxcomposite)
2811 ("libxrandr" ,libxrandr)))
2816 ("gstreamer" ,gstreamer)
2817 ("gst-plugins-base" ,gst-plugins-base)))
2819 `(#:configure-flags (list "--enable-cogl-gst"
2820 ;; Arrange to pass an absolute file name to
2821 ;; dlopen for libGL.so.
2822 (string-append "--with-gl-libname="
2823 (assoc-ref %build-inputs "mesa")
2825 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2826 ;; _FontTransOpen: Unable to Parse address
2827 ;; ${prefix}/share/fonts/X11/misc/
2831 (modify-phases %standard-phases
2832 (add-before 'check 'start-xorg-server
2833 (lambda* (#:key inputs #:allow-other-keys)
2834 ;; The test suite requires a running X server.
2835 (system (format #f "~a/bin/Xvfb :1 &"
2836 (assoc-ref inputs "xorg-server")))
2837 (setenv "DISPLAY" ":1")
2839 (home-page "http://www.cogl3d.org")
2840 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2842 "Cogl is a small library for using 3D graphics hardware to draw pretty
2843 pictures. The API departs from the flat state machine style of OpenGL and is
2844 designed to make it easy to write orthogonal components that can render
2845 without stepping on each others toes.")
2846 (license (list license:expat ; most of the code
2847 license:bsd-3 ; cogl/cogl-point-in-poly.c
2848 license:sgifreeb2.0 ; cogl-path/tesselator/
2849 license:asl2.0)))) ; examples/android/
2851 (define-public clutter
2858 (uri (string-append "mirror://gnome/sources/" name "/"
2859 (version-major+minor version) "/"
2860 name "-" version ".tar.xz"))
2863 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2864 (build-system gnu-build-system)
2866 "doc")) ;9 MiB of gtk-doc HTML pages
2868 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2869 ("gobject-introspection" ,gobject-introspection)
2870 ("pkg-config" ,pkg-config)
2871 ("xsltproc" ,libxslt)))
2877 ("json-glib" ,json-glib)
2879 ("libxcomposite" ,libxcomposite)
2880 ("libxdamage" ,libxdamage)
2881 ("libxext" ,libxext)
2882 ("xinput" ,xinput)))
2884 `(("libxkbcommon" ,libxkbcommon)
2887 `(#:configure-flags (list "--enable-x11-backend=yes"
2889 ;; This produces share/doc/{clutter,cally}.
2890 (string-append "--with-html-dir="
2891 (assoc-ref %outputs "doc")
2893 ;; XXX FIXME: Get test suite working. It would probably fail in the
2894 ;; same way the cogl tests fail, since clutter is based on cogl.
2896 (home-page "http://www.clutter-project.org")
2897 (synopsis "Open GL based interactive canvas library")
2899 "Clutter is an Open GL based interactive canvas library, designed for
2900 creating fast, mainly 2D single window applications such as media box UIs,
2901 presentations, kiosk style applications and so on.")
2902 (license license:lgpl2.0+)))
2904 (define-public clutter-gtk
2906 (name "clutter-gtk")
2911 (uri (string-append "mirror://gnome/sources/" name "/"
2912 (version-major+minor version) "/"
2913 name "-" version ".tar.xz"))
2916 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2917 (build-system gnu-build-system)
2919 `(("pkg-config" ,pkg-config)
2920 ("gobject-introspection" ,gobject-introspection)))
2922 ;; clutter-gtk.pc refers to all these.
2923 `(("clutter" ,clutter)
2925 (home-page "http://www.clutter-project.org")
2926 (synopsis "Open GL based interactive canvas library GTK+ widget")
2928 "Clutter is an Open GL based interactive canvas library, designed for
2929 creating fast, mainly 2D single window applications such as media box UIs,
2930 presentations, kiosk style applications and so on.")
2931 (license license:lgpl2.0+)))
2933 (define-public clutter-gst
2935 (name "clutter-gst")
2940 (uri (string-append "mirror://gnome/sources/" name "/"
2941 (version-major+minor version) "/"
2942 name "-" version ".tar.xz"))
2945 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2946 (build-system gnu-build-system)
2948 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2949 ("pkg-config" ,pkg-config)
2950 ("gobject-introspection" ,gobject-introspection)))
2952 `(("clutter" ,clutter)
2953 ("gstreamer" ,gstreamer)
2954 ("gst-plugins-base" ,gst-plugins-base)))
2955 (home-page "http://www.clutter-project.org")
2956 (synopsis "Integration library for using GStreamer with Clutter")
2958 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2959 It provides a GStreamer sink to upload frames to GL and an actor that
2960 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2961 GL based interactive canvas library.")
2962 (license license:lgpl2.0+)))
2964 (define-public libchamplain
2966 (name "libchamplain")
2971 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2975 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2976 (build-system gnu-build-system)
2977 (arguments '(#:configure-flags '("--enable-vala")))
2979 `(("gobject-introspection" ,gobject-introspection)
2980 ("pkg-config" ,pkg-config)
2983 `(("libsoup" ,libsoup)
2985 ("clutter" ,clutter)
2986 ("clutter-gtk" ,clutter-gtk)
2987 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2991 (home-page "http://projects.gnome.org/libchamplain/")
2992 (synopsis "C library providing a ClutterActor to display maps")
2994 "libchamplain is a C library providing a ClutterActor to display maps.
2995 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2996 and Perl bindings are also available. It supports numerous free map sources
2997 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2998 (license license:lgpl2.1+)))
3007 (uri (string-append "mirror://gnome/sources/" name "/"
3008 (version-major+minor version) "/"
3009 name "-" version ".tar.xz"))
3012 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3013 (build-system gnu-build-system)
3015 `(("intltool" ,intltool)
3016 ("pkg-config" ,pkg-config)
3017 ("gobject-introspection" ,gobject-introspection)))
3020 ("gdk-pixbuf" ,gdk-pixbuf)
3021 ("sqlite" ,sqlite)))
3022 ;; XXX TODO: Figure out how to run the test suite.
3023 (arguments `(#:tests? #f))
3024 (home-page "https://wiki.gnome.org/Projects/Gom")
3025 (synopsis "Object mapper from GObjects to SQLite")
3027 "Gom provides an object mapper from GObjects to SQLite. It helps you
3028 write applications that need to store structured data as well as make complex
3029 queries upon that data.")
3030 (license license:lgpl2.1+)))
3032 (define-public libgames-support
3034 (name "libgames-support")
3038 (uri (string-append "mirror://gnome/sources/" name "/"
3039 (version-major+minor version) "/"
3040 name "-" version ".tar.xz"))
3043 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3044 (build-system gnu-build-system)
3047 (modify-phases %standard-phases
3048 (add-before 'check 'pre-check
3050 ;; tests require a writable HOME.
3051 (setenv "HOME" (getcwd))
3054 `(("intltool" ,intltool)
3055 ("pkg-config" ,pkg-config)
3058 ;; Required by libgames-support-1.0.pc
3060 ("libgee" ,libgee)))
3061 (home-page "https://www.gnome.org/")
3062 (synopsis "Useful functionality shared among GNOME games")
3064 "libgames-support is a small library intended for internal use by
3065 GNOME Games, but it may be used by others.")
3066 (license license:lgpl3+)))
3068 (define-public gnome-klotski
3070 (name "gnome-klotski")
3074 (uri (string-append "mirror://gnome/sources/" name "/"
3075 (version-major+minor version) "/"
3076 name "-" version ".tar.xz"))
3079 "14w40a1gjlg4l1vhcy0qcf3scmwm2v3vhxnxj269pfqlv8s7alaw"))))
3080 (build-system glib-or-gtk-build-system)
3082 `(("desktop-file-utils" ,desktop-file-utils)
3083 ("intltool" ,intltool)
3084 ("itstool" ,itstool)
3085 ("pkg-config" ,pkg-config)
3086 ("xmllint" ,libxml2)))
3089 ("libgames-support" ,libgames-support)
3090 ("librsvg" ,librsvg)))
3091 (home-page "https://wiki.gnome.org/Apps/Klotski")
3092 (synopsis "Sliding block puzzles")
3094 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3095 the patterned block to the area bordered by green markers. To do so, you will
3096 need to slide other blocks out of the way. Complete each puzzle in as few moves
3098 (license license:gpl2+)))
3100 (define-public grilo
3107 (uri (string-append "mirror://gnome/sources/" name "/"
3108 (version-major+minor version) "/"
3109 name "-" version ".tar.xz"))
3112 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3113 (build-system gnu-build-system)
3115 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3116 ("intltool" ,intltool)
3117 ("pkg-config" ,pkg-config)
3118 ("gobject-introspection" ,gobject-introspection)))
3122 ("libxml2" ,libxml2)
3123 ;; XXX TODO: Add oauth
3124 ("libsoup" ,libsoup)
3125 ("totem-pl-parser" ,totem-pl-parser)))
3128 (modify-phases %standard-phases
3129 (add-after 'unpack 'fix-introspection-install-dir
3130 (lambda* (#:key outputs #:allow-other-keys)
3131 (let ((out (assoc-ref outputs "out")))
3132 (substitute* '("src/Makefile.in"
3133 "libs/pls/Makefile.in"
3134 "libs/net/Makefile.in")
3135 (("@INTROSPECTION_GIRDIR@")
3136 (string-append out "/share/gir-1.0/"))
3137 (("@INTROSPECTION_TYPELIBDIR@")
3138 (string-append out "/lib/girepository-1.0/")))))))))
3139 (native-search-paths
3140 (list (search-path-specification
3141 (variable "GRL_PLUGIN_PATH")
3142 (files (list (string-append "lib/grilo-"
3143 (version-major+minor version)))))))
3144 (home-page "http://live.gnome.org/Grilo")
3145 (synopsis "Framework for discovering and browsing media")
3147 "Grilo is a framework focused on making media discovery and browsing easy
3148 for application developers.")
3149 (license license:lgpl2.1+)))
3151 (define-public grilo-plugins
3153 (name "grilo-plugins")
3158 (uri (string-append "mirror://gnome/sources/" name "/"
3159 (version-major+minor version) "/"
3160 name "-" version ".tar.xz"))
3163 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3164 (build-system gnu-build-system)
3166 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3167 ("intltool" ,intltool)
3168 ("itstool" ,itstool)
3169 ("pkg-config" ,pkg-config)))
3172 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3174 ("libxml2" ,libxml2)
3177 ;; XXX TODO: Add oauth
3178 ;; XXX TODO: Add goa
3179 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3180 ;; XXX TODO: Add lua (needs help finding it)
3181 ("json-glib" ,json-glib)
3184 ("libsoup" ,libsoup)
3185 ("libarchive" ,libarchive)
3186 ("totem-pl-parser" ,totem-pl-parser)))
3188 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3191 ,(version-major+minor version)))
3192 ;; XXX FIXME: Try to get the test suite working. It appears to require
3193 ;; a working system dbus. Inside the build container, all tests fail
3194 ;; with: "assertion failed: (source)". Outside of the build container,
3195 ;; most tests succeed.
3197 (home-page "http://live.gnome.org/Grilo")
3198 (synopsis "Plugins for the Grilo media discovery library")
3200 "Grilo is a framework focused on making media discovery and browsing easy
3201 for application developers.")
3202 (license license:lgpl2.1+)))
3204 (define-public totem
3211 (uri (string-append "mirror://gnome/sources/" name "/"
3212 (version-major+minor version) "/"
3213 name "-" version ".tar.xz"))
3216 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3217 (patches (search-patches "totem-debug-format-fix.patch"))))
3218 (build-system glib-or-gtk-build-system)
3220 `(("pkg-config" ,pkg-config)
3221 ("desktop-file-utils" ,desktop-file-utils)
3222 ("gobject-introspection" ,gobject-introspection)
3223 ("intltool" ,intltool)
3224 ("itstool" ,itstool)
3225 ("xmllint" ,libxml2)))
3227 `(("dconf" ,dconf)))
3230 ("gdk-pixbuf" ,gdk-pixbuf)
3233 ("dbus-glib" ,dbus-glib)
3234 ("clutter" ,clutter)
3235 ("clutter-gtk" ,clutter-gtk)
3236 ("clutter-gst" ,clutter-gst)
3238 ("libxxf86vm" ,libxxf86vm)
3239 ("libxtst" ,libxtst)
3240 ("libxrandr" ,libxrandr)
3241 ("libxml2" ,libxml2)
3242 ("libsoup" ,libsoup)
3243 ("libpeas" ,libpeas)
3244 ("librsvg" ,librsvg)
3246 ("gnome-desktop" ,gnome-desktop)
3247 ("gstreamer" ,gstreamer)
3248 ("gst-plugins-base" ,gst-plugins-base)
3249 ("gst-plugins-good" ,gst-plugins-good)
3250 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3251 ("adwaita-icon-theme" ,adwaita-icon-theme)
3252 ;; XXX We use python-2 because libxml2 because itstool (which needs
3253 ;; libxml) currently uses python-2.
3254 ("python" ,python-2)
3255 ("python-pygobject" ,python2-pygobject)
3256 ;; XXX TODO pylint needed for python support
3257 ("totem-pl-parser" ,totem-pl-parser)
3259 ("grilo-plugins" ,grilo-plugins)
3264 (modify-phases %standard-phases
3266 'install 'wrap-totem
3267 (lambda* (#:key inputs outputs #:allow-other-keys)
3268 (let ((out (assoc-ref outputs "out"))
3269 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3270 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3271 (wrap-program (string-append out "/bin/totem")
3272 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3273 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3275 (home-page "https://wiki.gnome.org/Apps/Videos")
3276 (synopsis "Simple media player for GNOME based on GStreamer")
3277 (description "Totem is a simple yet featureful media player for GNOME
3278 which can read a large number of file formats.")
3279 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3280 ;; to be used and distributed together with GStreamer and Totem. See
3281 ;; file://COPYING in the source distribution for details.
3282 (license license:gpl2+)))
3284 (define-public rhythmbox
3290 (uri (string-append "mirror://gnome/sources/" name "/"
3291 (version-major+minor version) "/"
3292 name "-" version ".tar.xz"))
3295 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3296 (build-system glib-or-gtk-build-system)
3299 (list "--enable-lirc"
3306 (modify-phases %standard-phases
3308 'install 'wrap-rhythmbox
3309 (lambda* (#:key inputs outputs #:allow-other-keys)
3310 (let ((out (assoc-ref outputs "out"))
3311 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3312 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3313 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3314 (wrap-program (string-append out "/bin/rhythmbox")
3315 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3316 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3317 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3320 `(("dconf" ,dconf)))
3322 `(("itstool" ,itstool)
3323 ("intltool" ,intltool)
3324 ("glib" ,glib "bin")
3325 ("gobject-introspection" ,gobject-introspection)
3326 ("desktop-file-utils" ,desktop-file-utils)
3327 ("pkg-config" ,pkg-config)
3328 ("xmllint" ,libxml2)))
3330 `(("json-glib" ,json-glib)
3332 ("gnome-desktop" ,gnome-desktop)
3334 ("python-pygobject" ,python2-pygobject)
3338 ("adwaita-icon-theme" ,adwaita-icon-theme)
3340 ("grilo-plugins" ,grilo-plugins)
3341 ("gstreamer" ,gstreamer)
3342 ("gst-plugins-base" ,gst-plugins-base)
3343 ("gst-plugins-good" ,gst-plugins-good)
3344 ("totem-pl-parser" ,totem-pl-parser)
3345 ("libgudev" ,libgudev)
3346 ;;("libmtp" ,libmtp) FIXME: Not detected
3347 ("libsecret" ,libsecret)
3348 ("libsoup" ,libsoup)
3349 ("libnotify" ,libnotify)
3350 ("libpeas" ,libpeas)
3352 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3353 ;;("clutter" ,clutter)
3354 ;;("clutter-gtk" ,clutter-gtk)
3355 ;;("clutter-gst" ,clutter-gst)
3356 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3364 ("brasero" ,brasero)))
3365 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3366 (synopsis "Music player for GNOME")
3367 (description "Rhythmbox is a music playing application for GNOME. It
3368 supports playlists, song ratings, and any codecs installed through gstreamer.")
3369 (license license:gpl2+)))
3377 (uri (string-append "mirror://gnome/sources/" name "/"
3378 (version-major+minor version) "/"
3379 name "-" version ".tar.xz"))
3382 "1qsv3brhi8l8fr22nd3d0fwq5xhwspqw0bammhkkq3ga0z6791wn"))))
3383 (build-system glib-or-gtk-build-system)
3386 (modify-phases %standard-phases
3389 (lambda* (#:key outputs #:allow-other-keys)
3390 (let ((out (assoc-ref outputs "out"))
3391 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3392 (wrap-program (string-append out "/bin/eog")
3393 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3396 `(("dconf" ,dconf)))
3398 `(("intltool" ,intltool)
3399 ("itstool" ,itstool)
3400 ("glib" ,glib "bin")
3401 ("gobject-introspection" ,gobject-introspection)
3402 ("pkg-config" ,pkg-config)
3403 ("xmllint" ,libxml2)))
3405 `(("gnome-desktop" ,gnome-desktop)
3406 ("shared-mime-info" ,shared-mime-info)
3407 ("adwaita-icon-theme" ,adwaita-icon-theme)
3410 ("libexif" ,libexif)
3411 ("libpeas" ,libpeas)
3412 ("libjpeg" ,libjpeg)
3413 ("librsvg" ,librsvg)
3414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3416 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3417 (synopsis "GNOME image viewer")
3418 (description "Eye of GNOME is the GNOME image viewer. It
3419 supports image conversion, rotation, and slideshows.")
3420 (license license:gpl2+)))
3422 (define-public libgudev
3428 (uri (string-append "mirror://gnome/sources/" name "/"
3429 version "/" name "-" version ".tar.xz"))
3432 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3433 (build-system gnu-build-system)
3435 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3436 ("gobject-introspection" ,gobject-introspection)
3437 ("pkg-config" ,pkg-config)))
3439 `(("glib" ,glib))) ; required by gudev-1.0.pc
3442 (home-page "https://wiki.gnome.org/Projects/libgudev")
3443 (synopsis "GObject bindings for libudev")
3445 "This library provides GObject bindings for libudev. It was originally
3446 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3447 (license license:lgpl2.1+)))
3455 (uri (string-append "mirror://gnome/sources/" name "/"
3456 (version-major+minor version) "/"
3457 name "-" version ".tar.xz"))
3460 "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325"))))
3461 (build-system gnu-build-system)
3463 '(#:tests? #f)) ; XXX: requiring `pidof'
3465 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3466 ("intltool" ,intltool)
3467 ("pkg-config" ,pkg-config)
3468 ("xsltproc" ,libxslt)))
3471 ("docbook-xml" ,docbook-xml-4.2)
3472 ("docbook-xsl" ,docbook-xsl)
3477 ("libarchive" ,libarchive)
3478 ("libbluray" ,libbluray)
3479 ("libcdio-paranoia" ,libcdio-paranoia)
3480 ("libgcrypt" ,libgcrypt)
3481 ("libgphoto2" ,libgphoto2)
3482 ("libgudev" ,libgudev)
3484 ("libsecret" ,libsecret)
3485 ("libsmbclient" ,samba)
3486 ("libsoup" ,libsoup)
3487 ("libxml2" ,libxml2)
3488 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3489 ("udisks" ,udisks)))
3490 (home-page "https://wiki.gnome.org/gvfs/")
3491 (synopsis "Userspace virtual filesystem for GIO")
3493 "GVFS is a userspace virtual filesystem designed to work with the I/O
3494 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3495 to all applications using the GIO API. It also supports exposing the GVFS
3496 mounts to non-GIO applications using FUSE.
3498 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3500 (license license:lgpl2.0+)))
3508 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3510 (string-join (string-split version #\.)
3515 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3516 (build-system gnu-build-system)
3518 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3519 ("gobject-introspection" ,gobject-introspection)
3520 ("pkg-config" ,pkg-config)
3522 ("autoconf" ,autoconf)
3523 ("automake" ,automake)
3524 ("libtool" ,libtool)
3525 ("gtk-doc" ,gtk-doc)))
3527 ;; Both of these are required by gusb.pc.
3529 ("libusb" ,libusb)))
3531 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3533 (modify-phases %standard-phases
3534 (add-after 'unpack 'autogen
3536 (and (zero? (system* "gtkdocize"))
3537 (zero? (system* "autoreconf" "-vif"))))))))
3538 (home-page "https://github.com/hughsie/libgusb")
3539 (synopsis "GLib binding for libusb1")
3541 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3542 asynchronous control, bulk and interrupt transfers with proper cancellation
3543 and integration into a mainloop. This makes it easy to integrate low level
3544 USB transfers with your high-level application or system daemon.")
3545 (license license:lgpl2.1+)))
3547 (define-public simple-scan
3549 (name "simple-scan")
3553 (uri (string-append "https://launchpad.net/simple-scan/"
3554 (version-major+minor version) "/"
3555 version "/+download/simple-scan-"
3559 "0dmsvq3vviky6851rqiik898r84c7744i7md672ckic3mdv21ap3"))))
3560 (build-system glib-or-gtk-build-system)
3565 ("gdk-pixbuf" ,gdk-pixbuf)
3567 ("libsane" ,sane-backends)))
3569 `(("gettext" ,gnu-gettext)
3570 ("itstool" ,itstool)
3572 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3573 ("pkg-config" ,pkg-config)
3575 ("xmllint" ,libxml2)))
3577 '(#:configure-flags '("--disable-packagekit")
3579 (modify-phases %standard-phases
3580 (add-after 'unpack 'clean
3582 ;; Remove a left-over reference to PackageKit.
3584 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3586 ;; There are some generated C files erroneously
3587 ;; included in the source distribution, and this
3588 ;; one breaks the build by referring to a
3589 ;; non-existent header (packagekit.h)
3590 (delete-file "src/ui.c"))))))
3591 (home-page "https://launchpad.net/simple-scan")
3592 (synopsis "Document and image scanner")
3593 (description "Simple Scan is an easy-to-use application, designed to let
3594 users connect their scanner and quickly have the image/document in an
3595 appropriate format. Simple Scan is basically a frontend for SANE - which is
3596 the same backend as XSANE uses. This means that all existing scanners will
3597 work and the interface is well tested.")
3598 (license license:gpl3+)))
3600 (define-public epiphany
3606 (uri (string-append "mirror://gnome/sources/" name "/"
3607 (version-major+minor version) "/"
3608 name "-" version ".tar.xz"))
3611 "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi"))))
3612 (build-system glib-or-gtk-build-system)
3614 ;; FIXME: tests run under Xvfb, but fail with:
3615 ;; /src/bookmarks/ephy-bookmarks/create:
3616 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3621 `(("dconf" ,dconf)))
3623 `(("intltool" ,intltool)
3624 ("itstool" ,itstool)
3625 ("pkg-config" ,pkg-config)
3626 ("xmllint" ,libxml2)))
3630 ("glib-networking" ,glib-networking)
3631 ("gnome-desktop" ,gnome-desktop)
3632 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3633 ("iso-codes" ,iso-codes)
3634 ("libnotify" ,libnotify)
3635 ("libsecret" ,libsecret)
3636 ("libwnck" ,libwnck)
3637 ("libxslt" ,libxslt)
3640 ("webkitgtk" ,webkitgtk)))
3641 (home-page "https://wiki.gnome.org/Apps/Web")
3642 (synopsis "GNOME web browser")
3644 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3645 principles are simplicity and standards compliance.")
3646 (license license:gpl2+)))
3648 (define-public d-feet
3654 (uri (string-append "mirror://gnome/sources/" name "/"
3655 (version-major+minor version) "/"
3656 name "-" version ".tar.xz"))
3659 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3660 (build-system glib-or-gtk-build-system)
3662 '(#:out-of-source? #f ; tests need to run in the source directory.
3664 (modify-phases %standard-phases
3668 ;; The test suite requires a running X server.
3669 (system "Xvfb :1 &")
3670 (setenv "DISPLAY" ":1")
3671 ;; Don't fail on missing '/etc/machine-id'.
3672 (setenv "DBUS_FATAL_WARNINGS" "0")
3673 ;; tests.py and window.py don't meet E402:
3674 ;; E402 module level import not at top of file
3675 (substitute* "src/tests/Makefile"
3676 (("--ignore=E123") "--ignore=E123,E402"))
3679 'install 'wrap-program
3680 (lambda* (#:key outputs #:allow-other-keys)
3681 (let ((prog (string-append (assoc-ref outputs "out")
3684 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3685 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3688 `(("intltool" ,intltool)
3689 ("itstool" ,itstool)
3690 ("pkg-config" ,pkg-config)
3691 ("python-pep8" ,python-pep8)
3692 ("xmllint" ,libxml2)
3693 ("xorg-server" ,xorg-server)))
3695 `(("gobject-introspection" ,gobject-introspection)
3697 ("python" ,python-wrapper)
3698 ("python-pygobject" ,python-pygobject)))
3699 (home-page "https://wiki.gnome.org/Apps/DFeet")
3700 (synopsis "D-Bus debugger")
3702 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3703 of running programs and invoke methods on those interfaces.")
3704 (license license:gpl2+)))
3706 (define-public yelp-xsl
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.xz"))
3717 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3718 (build-system gnu-build-system)
3720 `(("intltool" ,intltool)
3721 ("itstool" ,itstool)
3722 ("xmllint" ,libxml2)))
3723 (home-page "https://wiki.gnome.org/Apps/Yelp")
3724 (synopsis "XSL stylesheets for Yelp")
3726 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3727 to format Docbook and Mallard documents.")
3728 (license license:gpl2+)))
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3741 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3742 (build-system glib-or-gtk-build-system)
3744 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3745 ("intltool" ,intltool)
3746 ("itstool" ,itstool)
3747 ("pkg-config" ,pkg-config)))
3749 `(("dconf" ,dconf)))
3751 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3752 ("libxslt" ,libxslt)
3754 ("webkitgtk" ,webkitgtk)
3755 ("yelp-xsl" ,yelp-xsl)))
3756 (home-page "https://wiki.gnome.org/Apps/Yelp")
3757 (synopsis "GNOME help browser")
3759 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3760 man, info, and HTML documents. It can locate documents according to the
3761 freedesktop.org help system specification.")
3762 (license license:gpl2+)))
3764 (define-public yelp-tools
3770 (uri (string-append "mirror://gnome/sources/" name "/"
3771 (version-major+minor version) "/"
3772 name "-" version ".tar.xz"))
3775 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3776 (build-system gnu-build-system)
3778 `(("pkg-config" ,pkg-config)))
3780 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3781 `(("itstool" ,itstool)
3782 ("xmllint" ,libxml2)
3783 ("xsltproc" ,libxslt)))
3785 `(("yelp-xsl" ,yelp-xsl)))
3786 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3787 (synopsis "Yelp documentation tools")
3789 "Yelp-tools is a collection of scripts and build utilities to help create,
3790 manage, and publish documentation for Yelp and the web. Most of the heavy
3791 lifting is done by packages like yelp-xsl and itstool. This package just
3792 wraps things up in a developer-friendly way.")
3793 (license license:gpl2+)))
3795 (define-public libgee
3801 (uri (string-append "mirror://gnome/sources/" name "/"
3802 (version-major+minor version) "/"
3803 name "-" version ".tar.xz"))
3806 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3807 (build-system gnu-build-system)
3810 (modify-phases %standard-phases
3811 (add-after 'unpack 'fix-introspection-install-dir
3812 (lambda* (#:key outputs #:allow-other-keys)
3813 (let ((out (assoc-ref outputs "out")))
3814 (substitute* "gee/Makefile.in"
3815 (("@INTROSPECTION_GIRDIR@")
3816 (string-append out "/share/gir-1.0/"))
3817 (("@INTROSPECTION_TYPELIBDIR@")
3818 (string-append out "/lib/girepository-1.0/")))))))))
3820 `(("glib" ,glib "bin")
3821 ("pkg-config" ,pkg-config)))
3824 ("gobject-introspection" ,gobject-introspection)))
3825 (home-page "https://wiki.gnome.org/Projects/Libgee")
3826 (synopsis "GObject collection library")
3828 "Libgee is a utility library providing GObject-based interfaces and
3829 classes for commonly used data structures.")
3830 (license license:lgpl2.1+)))
3832 (define-public gexiv2
3838 (uri (string-append "mirror://gnome/sources/" name "/"
3839 (version-major+minor version) "/"
3840 name "-" version ".tar.xz"))
3843 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
3844 (build-system gnu-build-system)
3846 `(("glib" ,glib "bin")
3847 ("pkg-config" ,pkg-config)))
3849 ;; Listed in "Requires" section of gexiv2.pc
3850 `(("exiv2" ,exiv2)))
3853 ("gobject-introspection" ,gobject-introspection)))
3854 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3855 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3857 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3858 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3859 metadata in photo and video files of various formats.")
3860 (license license:gpl2+)))
3862 (define-public shotwell
3868 (uri (string-append "mirror://gnome/sources/" name "/"
3869 (version-major+minor version) "/"
3870 name "-" version ".tar.xz"))
3873 "12imip32mav0zqg1fh4xm6zk4qsgg2435xsyb6ljz47i37zk6kg2"))))
3874 (build-system glib-or-gtk-build-system)
3876 `(#:tests? #f ;no "check" target
3877 #:make-flags '("CC=gcc")
3878 #:configure-flags '("--disable-gsettings-convert-install")
3879 #:out-of-source? #f))
3881 `(("pkg-config" ,pkg-config)
3882 ("gettext" ,gnu-gettext)
3884 ("desktop-file-utils" ,desktop-file-utils)
3887 ("gnome-doc-utils" ,gnome-doc-utils)
3888 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3889 ;; runtime. It should be propagated.
3890 ("python2-libxml2" ,python2-libxml2)
3891 ("python2" ,python-2)))
3893 `(("gstreamer" ,gstreamer)
3894 ("gst-plugins-base" ,gst-plugins-base)
3895 ("gst-plugins-good" ,gst-plugins-good)
3899 ("json-glib" ,json-glib)
3901 ("webkitgtk" ,webkitgtk)
3903 ("libsoup" ,libsoup)
3904 ("libxml2" ,libxml2)
3906 ("libgudev" ,libgudev)
3907 ("libgphoto2" ,libgphoto2)))
3908 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3909 (synopsis "Photo manager for GNOME 3")
3911 "Shotwell is a digital photo manager designed for the GNOME desktop
3912 environment. It allows you to import photos from disk or camera, organize
3913 them by keywords and events, view them in full-window or fullscreen mode, and
3914 share them with others via social networking and more.")
3915 (license license:lgpl2.1+)))
3917 (define-public file-roller
3919 (name "file-roller")
3923 (uri (string-append "mirror://gnome/sources/" name "/"
3924 (version-major+minor version) "/"
3925 name "-" version ".tar.xz"))
3928 "1sa46vjx78d670m6bikpibgz39a5zb6ri8yjmj632lmxqvj2sp3b"))))
3929 (build-system glib-or-gtk-build-system)
3932 (modify-phases %standard-phases
3933 (add-before 'install 'skip-gtk-update-icon-cache
3935 ;; Don't create 'icon-theme.cache'
3936 (substitute* (find-files "data" "^Makefile$")
3937 (("gtk-update-icon-cache") (which "true")))
3940 `(("intltool" ,intltool)
3941 ("pkg-config" ,pkg-config)))
3942 ;; TODO: Add libnautilus.
3945 ("gdk-pixbuf" ,gdk-pixbuf)
3946 ("json-glib" ,json-glib)
3947 ("libarchive" ,libarchive)
3948 ("libnotify" ,libnotify)
3950 ("itstool" ,itstool)
3951 ("libxml2" ,libxml2)))
3952 (synopsis "Graphical archive manager for GNOME")
3953 (description "File Roller is an archive manager for the GNOME desktop
3954 environment that allows users to view, unpack, and create compressed archives
3955 such as gzip tarballs.")
3956 (home-page "http://fileroller.sourceforge.net/")
3957 (license license:gpl2+)))
3959 (define-public gnome-session
3961 (name "gnome-session")
3965 (uri (string-append "mirror://gnome/sources/" name "/"
3966 (version-major+minor version) "/"
3967 name "-" version ".tar.xz"))
3970 "1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"))))
3973 (modify-phases %standard-phases
3974 (add-before 'configure 'pre-configure
3975 (lambda* (#:key outputs #:allow-other-keys)
3976 ;; Use elogind instead of systemd.
3977 (substitute* "configure"
3978 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3980 (("systemd") "elogind"))
3981 (substitute* "gnome-session/gsm-systemd.c"
3982 (("#include <systemd/sd-login.h>")
3983 "#include <elogind/sd-login.h>"))
3984 ;; Remove uses of the systemd journal.
3985 (substitute* "gnome-session/main.c"
3986 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3987 (substitute* "gnome-session/gsm-manager.c"
3988 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3989 (substitute* "gnome-session/gsm-autostart-app.c"
3990 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3992 (add-after 'install 'wrap-gnome-session
3993 (lambda* (#:key inputs outputs #:allow-other-keys)
3994 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3995 (let ((glib (assoc-ref inputs "glib:bin"))
3996 (out (assoc-ref outputs "out")))
3997 (wrap-program (string-append out "/bin/gnome-session")
3998 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4000 (add-after 'install 'disable-hardware-acceleration-check
4001 (lambda* (#:key outputs #:allow-other-keys)
4002 ;; Do not abort if hardware acceleration is missing. This allows
4003 ;; GNOME to run in QEMU and on low-end devices.
4004 (let ((out (assoc-ref outputs "out")))
4005 (substitute* (string-append out
4006 "/share/xsessions/gnome.desktop")
4008 "gnome-session --disable-acceleration-check"))
4012 '("--enable-elogind")))
4013 (build-system glib-or-gtk-build-system)
4015 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4016 ("pkg-config" ,pkg-config)
4017 ("intltool" ,intltool)
4018 ("xsltproc" ,libxslt)))
4020 `(("elogind" ,elogind)
4021 ("gnome-desktop" ,gnome-desktop)
4022 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4024 ("json-glib" ,json-glib)
4026 ("libxcomposite" ,libxcomposite)
4027 ("libxtst" ,libxtst)
4030 ("xtrans" ,xtrans)))
4031 (synopsis "Session manager for GNOME")
4033 "This package contains the GNOME session manager, as well as a
4034 configuration program to choose applications starting on login.")
4035 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4036 (license license:gpl2+)))
4044 (uri (string-append "mirror://gnome/sources/" name "/"
4045 (version-major+minor version) "/"
4046 name "-" version ".tar.xz"))
4049 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4050 (modules '((guix build utils)))
4051 (snippet '(substitute* "test/run-with-dbus"
4052 (("/bin/rm") "rm")))))
4053 (build-system gnu-build-system)
4056 (modify-phases %standard-phases
4060 ;; For the missing /etc/machine-id.
4061 (setenv "DBUS_FATAL_WARNINGS" "0")
4064 ;; Failed to convert UTF-8 string to JS string: ...
4065 ;; TODO: actually fix it.
4066 (substitute* "installed-tests/js/testEverythingBasic.js"
4067 ((".*test_utf8_inout.*") ""))
4070 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4071 ("pkg-config" ,pkg-config)
4072 ("xmllint" ,libxml2)
4074 ("dbus-launch" ,dbus)
4075 ("uuidgen" ,util-linux)
4076 ("xvfb" ,xorg-server)))
4078 ;; These are all in the Requires.private field of gjs-1.0.pc.
4079 `(("gobject-introspection" ,gobject-introspection)
4080 ("mozjs" ,mozjs-24)))
4083 ("readline" ,readline)))
4084 (synopsis "Javascript bindings for GNOME")
4085 (home-page "http://live.gnome.org/Gjs")
4087 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4088 javascript engine and the GObject introspection framework.")
4089 (license license:gpl2+)))
4091 (define-public gedit
4097 (uri (string-append "mirror://gnome/sources/" name "/"
4098 (version-major+minor version) "/"
4099 name "-" version ".tar.xz"))
4102 "1y330hanqfld3kssf77wfphah2qpfg17pa109spsbm50f5m2g89j"))))
4103 (build-system glib-or-gtk-build-system)
4105 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4107 (modify-phases %standard-phases
4109 'install 'wrap-gedit
4110 (lambda* (#:key inputs outputs #:allow-other-keys)
4111 (let ((out (assoc-ref outputs "out"))
4112 (gtksourceview (assoc-ref inputs "gtksourceview"))
4113 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4114 (python-path (getenv "PYTHONPATH")))
4115 (wrap-program (string-append out "/bin/gedit")
4117 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4118 `("PYTHONPATH" ":" prefix (,python-path))
4119 ;; For language-specs.
4120 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4124 `(("dconf" ,dconf)))
4126 `(("intltool" ,intltool)
4127 ("itstool" ,itstool)
4128 ("gobject-introspection" ,gobject-introspection)
4129 ("pkg-config" ,pkg-config)))
4133 ("gtksourceview" ,gtksourceview)
4134 ("libpeas" ,libpeas)
4135 ("libxml2" ,libxml2)
4136 ("iso-codes" ,iso-codes)
4137 ("python-pygobject" ,python-pygobject)
4139 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4142 ("adwaita-icon-theme" ,adwaita-icon-theme)
4143 ("libsoup" ,libsoup)
4144 ("gnome-desktop" ,gnome-desktop)))
4145 (home-page "https://wiki.gnome.org/Apps/Gedit")
4146 (synopsis "GNOME text editor")
4147 (description "While aiming at simplicity and ease of use, gedit is a
4148 powerful general purpose text editor.")
4149 (license license:gpl2+)))
4151 (define-public zenity
4157 (uri (string-append "mirror://gnome/sources/" name "/"
4158 (version-major+minor version) "/"
4159 name "-" version ".tar.xz"))
4162 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4163 (build-system gnu-build-system)
4165 `(("gettext" ,gnu-gettext)
4166 ("itstool" ,itstool)
4167 ("pkg-config" ,pkg-config)))
4169 `(("libnotify" ,libnotify)
4170 ("webkitgtk" ,webkitgtk)))
4171 (synopsis "Display graphical dialog boxes from shell scripts")
4172 (home-page "http://www.gnome.org")
4174 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4175 to display dialog boxes from the commandline and shell scripts.")
4176 (license license:lgpl2.0+)))
4178 (define-public mutter
4184 (uri (string-append "mirror://gnome/sources/" name "/"
4185 (version-major+minor version) "/"
4186 name "-" version ".tar.xz"))
4189 "05pr78vgq52bkkqpbfnp9mxw14ij2wk91l2yfa69dpjbvxqm4b0l"))))
4190 (build-system gnu-build-system)
4193 ;; XXX: build fails with [-Werror]:
4194 ;; backends/meta-cursor-renderer.c:112:5: error:
4195 ;; implicit declaration of function ?roundf?
4196 '("--enable-compile-warnings=minimum")))
4198 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4199 ("gobject-introspection" ,gobject-introspection)
4200 ("intltool" ,intltool)
4201 ("pkg-config" ,pkg-config)))
4203 ;; libmutter.pc refers to all these.
4204 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4206 ("clutter" ,clutter)))
4208 `(("gnome-desktop" ,gnome-desktop)
4209 ("libcanberra-gtk" ,libcanberra)
4212 ("libxkbcommon" ,libxkbcommon)
4213 ("libxkbfile" ,libxkbfile)
4214 ("mesa-headers" ,mesa-headers)
4215 ("startup-notification" ,startup-notification)
4216 ("upower-glib" ,upower)
4217 ("xkeyboard-config" ,xkeyboard-config)
4218 ("zenity" ,zenity)))
4219 (synopsis "Window and compositing manager")
4220 (home-page "http://www.gnome.org")
4222 "Mutter is a window and compositing manager that displays and manages your
4223 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4224 Clutter toolkit with solid window-management logic inherited from the Metacity
4226 (license license:gpl2+)))
4228 (define-public gnome-online-accounts
4230 (name "gnome-online-accounts")
4234 (uri (string-append "mirror://gnome/sources/" name "/"
4235 (version-major+minor version) "/"
4236 name "-" version ".tar.xz"))
4239 "0ip0q539bik3wqwl867rjc63w2d5rjyvbqzwczkard70yd6c0kq9"))))
4240 (build-system glib-or-gtk-build-system)
4242 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4243 ("gobject-introspection" ,gobject-introspection)
4244 ("intltool" ,intltool)
4245 ("pkg-config" ,pkg-config)
4246 ("xsltproc" ,libxslt)))
4248 `(("glib" ,glib) ; required by goa-1.0.pc
4249 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4251 `(("docbook-xsl" ,docbook-xsl)
4252 ("json-glib" ,json-glib)
4253 ("libsecret" ,libsecret)
4255 ("telepathy-glib" ,telepathy-glib)
4256 ("webkitgtk" ,webkitgtk)))
4257 (synopsis "Single sign-on framework for GNOME")
4258 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4260 "GNOME Online Accounts provides interfaces so that applications and
4261 libraries in GNOME can access the user's online accounts. It has providers for
4262 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4263 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4264 (license license:lgpl2.0+)))
4266 (define-public evolution-data-server
4268 (name "evolution-data-server")
4272 (uri (string-append "mirror://gnome/sources/" name "/"
4273 (version-major+minor version) "/"
4274 name "-" version ".tar.xz"))
4277 "0zmybf63y0d5zn48q3xjgkh2p2c3ka9xvzd6labp96bd6b6qc58d"))))
4278 (build-system gnu-build-system)
4280 '(;; XXX: fails with:
4281 ;; /Fixture/Calendar0: cleaning up pid xxxx
4285 (let ((nss (assoc-ref %build-inputs "nss"))
4286 (nspr (assoc-ref %build-inputs "nspr")))
4287 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4288 "--disable-google" ; disable Google Contacts support
4289 "--disable-google-auth" ; disable Google authentication
4290 "--enable-vala-bindings"
4291 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4292 (string-append "--with-nss-includes=" nss "/include/nss")
4293 (string-append "--with-nss-libs=" nss "/lib/nss")))
4295 (modify-phases %standard-phases
4296 (add-before 'check 'pre-check
4298 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4299 (("/bin/rm") (which "rm")))
4302 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4303 ("gobject-introspection" ,gobject-introspection)
4305 ("intltool" ,intltool)
4306 ("pkg-config" ,pkg-config)
4308 ("python" ,python)))
4310 ;; These are all in the Requires field of .pc files.
4312 ("libical" ,libical)
4313 ("libsecret" ,libsecret)
4314 ("libsoup" ,libsoup)
4316 ("sqlite" ,sqlite)))
4320 ("gnome-online-accounts" ,gnome-online-accounts)
4321 ("libgweather" ,libgweather)))
4322 (synopsis "Store address books and calendars")
4323 (home-page "https://wiki.gnome.org/Apps/Evolution")
4325 "This package provides a unified backend for programs that work with
4326 contacts, tasks, and calendar information. It was originally developed for
4327 Evolution (hence the name), but is now used by other packages as well.")
4328 (license license:lgpl2.0)))
4330 (define-public caribou
4336 (uri (string-append "mirror://gnome/sources/" name "/"
4337 (version-major+minor version) "/"
4338 name "-" version ".tar.xz"))
4341 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4342 (build-system glib-or-gtk-build-system)
4345 (modify-phases %standard-phases
4348 (lambda* (#:key outputs #:allow-other-keys)
4349 (let ((out (assoc-ref outputs "out")))
4350 ;; Use absolute shared library path in Caribou-1.0.typelib.
4351 (substitute* "libcaribou/Makefile"
4352 (("--shared-library=libcaribou.so")
4353 (string-append "--shared-library="
4354 out "/lib/libcaribou.so")))
4356 (add-after 'install 'wrap-programs
4357 (lambda* (#:key outputs #:allow-other-keys)
4358 (let* ((out (assoc-ref outputs "out"))
4359 (python-path (getenv "PYTHONPATH"))
4360 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4364 `("PYTHONPATH" ":" prefix (,python-path))
4365 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4366 (list (string-append out "/bin/caribou-preferences")
4367 (string-append out "/libexec/antler-keyboard"))))
4370 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4371 ("gobject-introspection" ,gobject-introspection)
4372 ("intltool" ,intltool)
4373 ("pkg-config" ,pkg-config)
4374 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4376 ("xsltproc" ,libxslt)))
4378 ;; caribou-1.0.pc refers to all these.
4379 `(("libgee" ,libgee)
4380 ("libxklavier" ,libxklavier)
4381 ("libxtst" ,libxtst)
4384 `(("clutter" ,clutter)
4387 ("python-pygobject" ,python2-pygobject)))
4388 (synopsis "Text entry and UI navigation application")
4389 (home-page "https://wiki.gnome.org/Projects/Caribou")
4391 "Caribou is an input assistive technology intended for switch and pointer
4393 (license license:lgpl2.1)))
4395 (define-public network-manager
4397 (name "network-manager")
4401 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4402 (version-major+minor version) "/"
4403 "NetworkManager-" version ".tar.xz"))
4406 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
4407 (build-system gnu-build-system)
4409 "doc")) ; 8 MiB of gtk-doc HTML
4412 (let ((out (assoc-ref %outputs "out"))
4413 (doc (assoc-ref %outputs "doc"))
4414 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4416 (list "--with-crypto=gnutls"
4417 "--disable-config-plugin-ibft"
4419 "--localstatedir=/var"
4420 (string-append "--with-udev-dir="
4422 (string-append "--with-dbus-sys-dir="
4423 out "/etc/dbus-1/system.d")
4424 (string-append "--with-html-dir="
4425 doc "/share/gtk-doc/html")
4426 (string-append "--with-dhclient=" dhclient)))
4428 (modify-phases %standard-phases
4429 (add-before 'configure 'pre-configure
4431 ;; These tests try to test aspects of network-manager's
4432 ;; functionality within restricted containers, but they don't
4433 ;; cope with being already in the Guix build jail as that jail
4434 ;; lacks some features that they would like to proxy over (like
4436 (substitute* '("src/platform/Makefile.in"
4437 "src/devices/Makefile.in")
4438 (("SUBDIRS = tests") ""))
4439 (substitute* '("src/tests/Makefile.in")
4440 (("\ttest-route-manager-linux") "\t")
4441 (("\ttest-route-manager-fake") "\t"))
4443 (add-before 'check 'pre-check
4445 ;; For the missing /etc/machine-id.
4446 (setenv "DBUS_FATAL_WARNINGS" "0")
4450 (zero? (system* "make"
4458 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4459 ("gobject-introspection" ,gobject-introspection)
4460 ("intltool" ,intltool)
4461 ("pkg-config" ,pkg-config)
4463 ("python" ,python-wrapper)
4464 ("python-dbus" ,python-dbus)
4465 ("python-pygobject" ,python-pygobject)))
4467 `(("dbus-glib" ,dbus-glib)
4468 ("dnsmasq" ,dnsmasq)
4470 ("iptables" ,iptables)
4471 ("isc-dhcp" ,isc-dhcp)
4472 ("libgcrypt" ,libgcrypt)
4473 ("libgudev" ,libgudev)
4476 ("libsoup" ,libsoup)
4477 ("modem-manager" ,modem-manager)
4480 ("readline" ,readline)
4481 ("util-linux" ,util-linux)))
4482 (synopsis "Network connection manager")
4483 (home-page "http://www.gnome.org/projects/NetworkManager/")
4485 "NetworkManager is a system network service that manages your network
4486 devices and connections, attempting to keep active network connectivity when
4487 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4488 devices, and provides VPN integration with a variety of different VPN
4490 (license license:gpl2+)))
4492 (define-public network-manager-applet
4494 (name "network-manager-applet")
4498 (uri (string-append "mirror://gnome/sources/" name "/"
4499 (version-major+minor version) "/"
4500 name "-" version ".tar.xz"))
4503 "0ym31m55hj65mmbq2yihy49z5x5z1qpx7jalk64kwx1rr5b2kxyz"))))
4504 (build-system glib-or-gtk-build-system)
4505 (arguments '(#:configure-flags '("--disable-migration")))
4507 `(("intltool" ,intltool)
4508 ("gobject-introspection" ,gobject-introspection)
4509 ("pkg-config" ,pkg-config)))
4511 ;; libnm-gtk.pc refers to all these.
4512 `(("dbus-glib" ,dbus-glib)
4514 ("network-manager" ,network-manager)))
4516 `(("iso-codes" ,iso-codes)
4517 ("libgudev" ,libgudev)
4518 ("libnotify" ,libnotify)
4519 ("libsecret" ,libsecret)))
4520 (synopsis "Applet for managing network connections")
4521 (home-page "http://www.gnome.org/projects/NetworkManager/")
4523 "This package contains a systray applet for NetworkManager. It displays
4524 the available networks and allows users to easily switch between them.")
4525 (license license:gpl2+)))
4527 (define-public libxml++
4533 (uri (string-append "mirror://gnome/sources/" name "/"
4534 (version-major+minor version) "/"
4535 name "-" version ".tar.xz"))
4538 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4539 (build-system gnu-build-system)
4540 ;; libxml++-3.0.pc refers to all these.
4542 `(("libxml2" ,libxml2)
4543 ("glibmm" ,glibmm)))
4546 ("pkg-config" ,pkg-config)))
4547 (home-page "http://libxmlplusplus.sourceforge.net/")
4548 (synopsis "C++ wrapper for XML parser library libxml2")
4550 "This package provides a C++ wrapper for the XML parser library
4552 (license license:lgpl2.1+)))
4560 (uri (string-append "mirror://gnome/sources/" name "/"
4561 (version-major+minor version) "/"
4562 name "-" version ".tar.xz"))
4565 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4566 (build-system gnu-build-system)
4569 '("--without-plymouth")
4571 (modify-phases %standard-phases
4573 'configure 'pre-configure
4575 ;; We don't have <systemd/sd-daemon.h>.
4576 (substitute* '("common/gdm-log.c"
4577 "daemon/gdm-server.c"
4578 "daemon/gdm-session-worker.c"
4579 "daemon/gdm-session-worker-job.c")
4580 (("#include <systemd/sd-daemon\\.h>") ""))
4581 ;; Use elogind for sd-login.
4582 (substitute* '("common/gdm-common.c"
4583 "daemon/gdm-manager.c"
4584 "libgdm/gdm-user-switching.c")
4585 (("#include <systemd/sd-login\\.h>")
4586 "#include <elogind/sd-login.h>"))
4587 ;; Avoid checking SYSTEMD using pkg-config.
4588 (setenv "SYSTEMD_CFLAGS" " ")
4589 (setenv "SYSTEMD_LIBS" "-lelogind")
4593 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4594 ("gobject-introspection" ,gobject-introspection)
4595 ("intltool" ,intltool)
4596 ("itstool" ,itstool)
4597 ("pkg-config" ,pkg-config)
4598 ("xmllint" ,libxml2)))
4600 `(("accountsservice" ,accountsservice)
4601 ("check" ,check) ; for testing
4602 ("elogind" ,elogind)
4604 ("iso-codes" ,iso-codes)
4605 ("libcanberra" ,libcanberra)
4606 ("linux-pam" ,linux-pam)))
4607 (synopsis "Display manager for GNOME")
4608 (home-page "http://wiki.gnome.org/Projects/GDM/")
4610 "GNOME Display Manager is a system service that is responsible for
4611 providing graphical log-ins and managing local and remote displays.")
4612 (license license:gpl2+)))
4614 (define-public libgtop
4620 (uri (string-append "mirror://gnome/sources/" name "/"
4621 (version-major+minor version) "/"
4622 name "-" version ".tar.xz"))
4625 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
4626 (build-system gnu-build-system)
4628 `(("gobject-introspection" ,gobject-introspection)
4629 ("intltool" ,intltool)
4631 ("pkg-config" ,pkg-config)))
4633 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4634 (synopsis "Portable system access library")
4635 (home-page "https://www.gnome.org/")
4637 "LibGTop is a library to get system specific data such as CPU and memory
4638 usage and information about running processes.")
4639 (license license:gpl2+)))
4641 (define-public gnome-bluetooth
4643 (name "gnome-bluetooth")
4647 (uri (string-append "mirror://gnome/sources/" name "/"
4648 (version-major+minor version) "/"
4649 name "-" version ".tar.xz"))
4652 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
4653 (build-system glib-or-gtk-build-system)
4655 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("intltool" ,intltool)
4658 ("pkg-config" ,pkg-config)
4659 ("xmllint" ,libxml2)))
4661 ;; gnome-bluetooth-1.0.pc refers to all these.
4665 `(("libcanberra" ,libcanberra)
4666 ("libnotify" ,libnotify)))
4667 (synopsis "GNOME Bluetooth subsystem")
4668 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4670 "This package contains tools for managing and manipulating Bluetooth
4671 devices using the GNOME desktop.")
4672 (license license:lgpl2.1+)))
4674 (define-public gnome-control-center
4676 (name "gnome-control-center")
4680 (uri (string-append "mirror://gnome/sources/" name "/"
4681 (version-major+minor version) "/"
4682 name "-" version ".tar.xz"))
4685 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4686 (build-system glib-or-gtk-build-system)
4689 (modify-phases %standard-phases
4690 (add-before 'configure 'patch-paths
4691 (lambda* (#:key inputs #:allow-other-keys)
4692 (let ((libc (assoc-ref inputs "libc"))
4693 (tzdata (assoc-ref inputs "tzdata")))
4694 (substitute* "panels/datetime/tz.h"
4695 (("/usr/share/zoneinfo/zone.tab")
4696 (string-append tzdata "/share/zoneinfo/zone.tab")))
4697 (substitute* "panels/datetime/test-endianess.c"
4698 (("/usr/share/locale")
4699 (string-append libc "/share/locale")))
4702 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4703 ("intltool" ,intltool)
4704 ("pkg-config" ,pkg-config)
4705 ("xsltproc" ,libxslt)))
4707 `(("accountsservice" ,accountsservice)
4708 ("clutter-gtk" ,clutter-gtk)
4709 ("colord-gtk" ,colord-gtk)
4712 ("docbook-xsl" ,docbook-xsl)
4713 ("gnome-bluetooth" ,gnome-bluetooth)
4714 ("gnome-desktop" ,gnome-desktop)
4715 ("gnome-online-accounts" ,gnome-online-accounts)
4716 ("gnome-settings-daemon" ,gnome-settings-daemon)
4719 ("libcanberra" ,libcanberra)
4720 ("libgudev" ,libgudev)
4721 ("libgtop" ,libgtop)
4722 ("libpwquality" ,libpwquality)
4723 ("libsoup" ,libsoup)
4724 ("libxml2" ,libxml2)
4725 ("libwacom" ,libwacom)
4727 ("mit-krb5" ,mit-krb5)
4728 ("modem-manager" ,modem-manager)
4729 ("network-manager-applet" ,network-manager-applet)
4731 ("pulseaudio" ,pulseaudio)
4732 ("smbclient" ,samba)
4734 ("upower" ,upower)))
4735 (synopsis "Utilities to configure the GNOME desktop")
4736 (home-page "https://www.gnome.org/")
4738 "This package contains configuration applets for the GNOME desktop,
4739 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4740 properties, sound setup, desktop theme and background, user interface
4741 properties, screen resolution, and other GNOME parameters.")
4742 (license license:gpl2+)))
4744 (define-public gnome-shell
4746 (name "gnome-shell")
4750 (uri (string-append "mirror://gnome/sources/" name "/"
4751 (version-major+minor version) "/"
4752 name "-" version ".tar.xz"))
4755 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
4756 (build-system glib-or-gtk-build-system)
4759 (modify-phases %standard-phases
4761 (lambda* (#:key outputs #:allow-other-keys)
4762 (let* ((out (assoc-ref outputs "out"))
4763 (keysdir (string-append
4764 out "/share/gnome-control-center/keybindings")))
4765 (zero? (system* "make"
4766 (string-append "keysdir=" keysdir)
4769 'install 'wrap-programs
4770 (lambda* (#:key outputs #:allow-other-keys)
4771 (let ((out (assoc-ref outputs "out"))
4772 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4773 (python-path (getenv "PYTHONPATH")))
4774 (wrap-program (string-append out "/bin/gnome-shell")
4775 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4778 (wrap-program (string-append out "/bin/" prog)
4779 `("PYTHONPATH" ":" prefix (,python-path))
4780 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4781 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4784 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4785 ("gobject-introspection" ,gobject-introspection)
4786 ("intltool" ,intltool)
4787 ("pkg-config" ,pkg-config)
4789 ("xsltproc" ,libxslt)))
4791 `(("accountsservice" ,accountsservice)
4792 ("caribou" ,caribou)
4793 ("docbook-xsl" ,docbook-xsl)
4794 ("evolution-data-server" ,evolution-data-server)
4798 ("gnome-bluetooth" ,gnome-bluetooth)
4799 ("gnome-control-center" ,gnome-control-center)
4800 ("gnome-desktop" ,gnome-desktop)
4801 ("gnome-settings-daemon" ,gnome-settings-daemon)
4802 ("gst-plugins-base" ,gst-plugins-base)
4804 ("libcanberra" ,libcanberra)
4805 ("libcroco" ,libcroco)
4806 ("libgweather" ,libgweather)
4807 ("libsoup" ,libsoup)
4808 ("mesa-headers" ,mesa-headers)
4810 ("network-manager-applet" ,network-manager-applet)
4812 ("pulseaudio" ,pulseaudio)
4813 ("python-pygobject" ,python-pygobject)
4814 ("startup-notification" ,startup-notification)
4815 ("telepathy-logger" ,telepathy-logger)
4817 ;; XXX: required by libgjs.la.
4818 ("readline" ,readline)))
4819 (synopsis "Desktop shell for GNOME")
4820 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4822 "GNOME Shell provides core user interface functions for the GNOME desktop,
4823 like switching to windows and launching applications.")
4824 (license license:gpl2+)))
4826 (define-public gtk-vnc
4833 (uri (string-append "mirror://gnome/sources/" name "/"
4834 (version-major+minor version) "/"
4835 name "-" version ".tar.xz"))
4838 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
4839 (build-system gnu-build-system)
4841 '(#:configure-flags '("--with-gtk=3.0")))
4843 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4845 `(("cyrus-sasl" ,cyrus-sasl)
4847 ("libgcrypt" ,libgcrypt)
4848 ("pulseaudio" ,pulseaudio)))
4850 `(("glib:bin" ,glib "bin")
4851 ("gobject-introspection" ,gobject-introspection)
4852 ("intltool" ,intltool)
4853 ("pkg-config" ,pkg-config)
4855 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4856 (synopsis "VNC viewer widget for GTK+")
4858 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4859 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4860 GTK-VNC implements client side RFB protocol and authentication extensions such
4861 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4862 (license license:lgpl2.1+)))
4864 (define-public nautilus
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4875 "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj"))))
4876 (build-system glib-or-gtk-build-system)
4879 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4880 ;; XXX: FAIL: check-nautilus
4881 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4884 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4885 ("gobject-introspection" ,gobject-introspection)
4886 ("intltool" ,intltool)
4887 ("pkg-config" ,pkg-config)))
4892 ("gnome-desktop" ,gnome-desktop)
4893 ;; XXX: gtk+ is required by libnautilus-extension.pc
4895 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4897 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4899 ("libexif" ,libexif)
4900 ("libxml2" ,libxml2)))
4901 (synopsis "File manager for GNOME")
4902 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4904 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4905 design and behaviour, giving the user a simple way to navigate and manage its
4907 (license license:gpl2+)))
4909 (define-public baobab
4916 "mirror://gnome/sources/" name "/"
4917 (version-major+minor version) "/"
4918 name "-" version ".tar.xz"))
4921 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4922 (build-system glib-or-gtk-build-system)
4924 `(("intltool" ,intltool)
4925 ("pkg-config" ,pkg-config)
4926 ("itstool" ,itstool)
4927 ("xmllint" ,libxml2)
4928 ("glib" ,glib "bin")
4932 (synopsis "Disk usage analyzer for GNOME")
4934 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4935 usage in the GNOME desktop environment. It can easily scan device volumes or
4936 a specific user-requested directory branch (local or remote). Once the scan
4937 is complete it provides a graphical representation of each selected folder.")
4938 (home-page "https://wiki.gnome.org/Apps/Baobab")
4939 (license license:gpl2+)))
4941 (define-public gnome-backgrounds
4943 (name "gnome-backgrounds")
4948 (uri (string-append "mirror://gnome/sources/" name "/"
4949 (version-major+minor version) "/"
4950 name "-" version ".tar.xz"))
4953 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4954 (build-system glib-or-gtk-build-system)
4956 `(("intltool" ,intltool)))
4957 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4958 (synopsis "Background images for the GNOME desktop")
4960 "GNOME backgrounds package contains a collection of graphics files which
4961 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4962 the package creates the proper framework and directory structure so that you
4963 can add your own files to the collection.")
4964 (license (list license:gpl2+
4967 license:cc-by-sa3.0))))
4969 (define-public gnome-screenshot
4971 (name "gnome-screenshot")
4976 (uri (string-append "mirror://gnome/sources/" name "/"
4977 (version-major+minor version) "/"
4978 name "-" version ".tar.xz"))
4981 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4982 (build-system glib-or-gtk-build-system)
4984 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4985 ("intltool" ,intltool)
4986 ("pkg-config" ,pkg-config)))
4989 ("libcanberra" ,libcanberra)
4991 ("libxext" ,libxext)))
4992 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4993 (synopsis "Take pictures of your screen")
4995 "GNOME Screenshot is a utility used for taking screenshots of the entire
4996 screen, a window or a user defined area of the screen, with optional
4997 beautifying border effects.")
4998 (license license:gpl2+)))
5000 (define-public dconf-editor
5002 (name "dconf-editor")
5007 (uri (string-append "mirror://gnome/sources/" name "/"
5008 (version-major+minor version) "/"
5009 name "-" version ".tar.xz"))
5012 "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p"))))
5013 (build-system glib-or-gtk-build-system)
5015 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5016 ("intltool" ,intltool)
5017 ("pkg-config" ,pkg-config)))
5021 ("libxml2" ,libxml2)))
5022 (home-page "https://git.gnome.org/browse/dconf-editor")
5023 (synopsis "Graphical editor for GNOME's dconf configuration system")
5025 "Dconf-editor is a graphical tool for browsing and editing the dconf
5026 configuration system for GNOME. It allows users to configure desktop
5027 software that do not provide their own configuration interface.")
5028 (license license:lgpl2.1+)))
5030 (define-public gnome
5033 (version (package-version gnome-shell))
5035 (build-system trivial-build-system)
5036 (arguments '(#:builder (mkdir %output)))
5038 ;; TODO: Add more packages according to:
5039 ;; <https://packages.debian.org/jessie/gnome-core>.
5040 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5042 ("font-cantarell" ,font-cantarell)
5043 ("at-spi2-core" ,at-spi2-core)
5046 ("desktop-file-utils" ,desktop-file-utils)
5048 ("epiphany" ,epiphany)
5050 ("file-roller" ,file-roller)
5052 ("glib-networking" ,glib-networking)
5053 ("gnome-backgrounds" ,gnome-backgrounds)
5054 ("gnome-control-center" ,gnome-control-center)
5055 ("gnome-keyring" ,gnome-keyring)
5056 ("gnome-session" ,gnome-session)
5057 ("gnome-settings-daemon" ,gnome-settings-daemon)
5058 ("gnome-shell" ,gnome-shell)
5059 ("gnome-terminal" ,gnome-terminal)
5060 ("gnome-themes-standard" ,gnome-themes-standard)
5062 ("hicolor-icon-theme" ,hicolor-icon-theme)
5063 ("nautilus" ,nautilus)
5064 ("pulseaudio" ,pulseaudio)
5065 ("shared-mime-info" ,shared-mime-info)
5068 ("zenity" ,zenity)))
5069 (synopsis "The GNU desktop environment")
5070 (home-page "https://www.gnome.org/")
5072 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5073 applications for browsing the web, editing text and images, creating
5074 documents and diagrams, playing media, scanning, and much more.")
5075 (license license:gpl2+)))
5077 (define-public byzanz
5078 ;; The last stable release of Byzanz was in 2011, but there have been many
5079 ;; useful commits made to the Byzanz repository since then that it would be
5080 ;; silly to use such an old release.
5081 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5084 (version (string-append "0.2-1." (string-take commit 7)))
5088 (url "git://git.gnome.org/byzanz")
5092 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5093 (build-system glib-or-gtk-build-system)
5096 (modify-phases %standard-phases
5097 (add-after 'unpack 'bootstrap
5099 ;; The build system cleverly detects that we're not building from
5100 ;; a release tarball and turns on -Werror for GCC.
5101 ;; Unsurprisingly, there is a warning during compilation that
5102 ;; causes the build to fail unnecessarily, so we remove the flag.
5103 (substitute* '("configure.ac")
5105 ;; The autogen.sh script in gnome-common will run ./configure
5106 ;; by default, which is problematic because source shebangs
5107 ;; have not yet been patched.
5108 (setenv "NOCONFIGURE" "t")
5109 (zero? (system* "sh" "autogen.sh")))))))
5111 `(("autoconf" ,autoconf)
5112 ("automake" ,automake)
5113 ("gnome-common" ,gnome-common)
5114 ("intltool" ,intltool)
5115 ("libtool" ,libtool)
5116 ("pkg-config" ,pkg-config)
5120 ("gstreamer" ,gstreamer)
5121 ("gst-plugins-base" ,gst-plugins-base)
5123 (synopsis "Desktop recording program")
5124 (description "Byzanz is a simple desktop recording program with a
5125 command-line interface. It can record part or all of an X display for a
5126 specified duration and save it as a GIF encoded animated image file.")
5127 (home-page "https://git.gnome.org/browse/byzanz")
5128 (license license:gpl2+))))
5130 (define-public libzapojit
5136 (uri (string-append "mirror://gnome/sources/" name "/"
5137 (version-major+minor version) "/"
5138 name "-" version ".tar.xz"))
5141 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5142 (build-system gnu-build-system)
5144 `(("gobject-introspection" ,gobject-introspection)
5145 ("intltool" ,intltool)
5146 ("pkg-config" ,pkg-config)))
5148 `(("gnome-online-accounts" ,gnome-online-accounts)
5149 ("json-glib" ,json-glib)
5151 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5152 (synopsis "Library for accessing SkyDrive and Hotmail")
5154 "Libzapojit is a GLib-based library for accessing online service APIs of
5155 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5156 (license license:lgpl2.1+)))
5158 (define-public gnome-calendar
5160 (name "gnome-calendar")
5164 (uri (string-append "mirror://gnome/sources/" name "/"
5165 (version-major+minor version) "/"
5166 name "-" version ".tar.xz"))
5169 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5170 (build-system glib-or-gtk-build-system)
5172 `(("intltool" ,intltool)
5173 ("pkg-config" ,pkg-config)))
5176 ("desktop-file-utils" ,desktop-file-utils)
5177 ("evolution-data-server" ,evolution-data-server)
5178 ("gnome-online-accounts" ,gnome-online-accounts)))
5179 (home-page "https://wiki.gnome.org/Apps/Calendar")
5180 (synopsis "GNOME's calendar application")
5182 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5183 desktop. It supports multiple calendars, monthly view and yearly view.")
5184 (license license:gpl3+)))
5186 (define-public gnome-tweak-tool
5188 (name "gnome-tweak-tool")
5192 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5193 (version-major+minor version) "/"
5194 "gnome-tweak-tool-" version ".tar.xz"))
5196 (search-patch "gnome-tweak-tool-search-paths.patch")))
5199 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5200 (build-system gnu-build-system)
5202 `(#:configure-flags '("--localstatedir=/tmp"
5203 "--sysconfdir=/tmp")
5204 #:imported-modules ((guix build python-build-system)
5205 ,@%gnu-build-system-modules)
5206 #:phases (modify-phases %standard-phases
5207 (add-after 'install 'wrap
5208 (@@ (guix build python-build-system) wrap)))))
5210 `(("intltool" ,intltool)
5211 ("pkg-config" ,pkg-config)))
5213 `(("python" ,python-2)
5214 ("python2-pygobject" ,python2-pygobject)))
5216 `(("libnotify" ,libnotify)
5217 ("gobject-introspection" ,gobject-introspection)
5218 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5220 (synopsis "Customize advanced GNOME 3 options")
5221 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5223 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5224 GNOME 3. This includes things like the fonts used in user interface elements,
5225 alternative user interface themes, changes in window management behavior,
5226 GNOME Shell appearance and extension, etc.")
5227 (license license:gpl3+)))
5229 (define-public gnome-shell-extensions
5231 (name "gnome-shell-extensions")
5235 (uri (string-append "mirror://gnome/sources/" name "/"
5236 (version-major+minor version) "/"
5237 name "-" version ".tar.xz"))
5240 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5241 (build-system gnu-build-system)
5243 '(#:configure-flags '("--enable-extensions=all")))
5245 `(("intltool" ,intltool)
5246 ("pkg-config" ,pkg-config)))
5249 ("glib" ,glib "bin")))
5250 (synopsis "Extensions for GNOME Shell")
5251 (description "GNOME Shell extensions modify and extend GNOME Shell
5252 functionality and behavior.")
5253 (home-page "https://extensions.gnome.org/")
5254 (license license:gpl3+)))
5256 (define-public arc-theme
5259 (version "20160605")
5262 (uri (string-append "https://github.com/horst3180/arc-theme"
5263 "/archive/" version ".tar.gz"))
5264 (file-name (string-append name "-" version ".tar.gz"))
5267 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5268 (build-system gnu-build-system)
5271 (modify-phases %standard-phases
5272 (add-after 'unpack 'bootstrap
5274 (zero? (system* "autoreconf" "-vif")))))))
5276 `(("autoconf" ,autoconf)
5277 ("automake" ,automake)
5278 ("pkg-config" ,pkg-config)))
5281 (synopsis "A flat GTK+ theme with transparent elements")
5282 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5283 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5284 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5285 (home-page "https://github.com/horst3180/arc-theme")
5286 ;; No "or later" language found.
5287 (license license:gpl3)))
5289 (define-public moka-icon-theme
5291 (name "moka-icon-theme")
5295 (uri (string-append "https://github.com/moka-project"
5296 "/moka-icon-theme/archive/v"
5298 (file-name (string-append name "-" version ".tar.gz"))
5301 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5302 (build-system gnu-build-system)
5305 (modify-phases %standard-phases
5306 (add-after 'unpack 'patch-makefile.am
5308 (substitute* '("Makefile.am")
5309 (("\\$\\(DESTDIR\\)/usr/share")
5312 (add-after 'patch-makefile.am 'bootstrap
5314 (zero? (system* "autoreconf" "-vif")))))))
5316 `(("autoconf" ,autoconf)
5317 ("automake" ,automake)))
5318 (synopsis "Moka icon theme")
5319 (description "Moka is a stylized desktop icon set, designed to be clear,
5320 simple and consistent.")
5321 (home-page "http://snwh.org/moka")
5322 (license license:gpl3+)))
5324 (define-public arc-icon-theme
5326 (name "arc-icon-theme")
5327 (version "20160605")
5330 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5331 "/archive/" version ".tar.gz"))
5332 (file-name (string-append name "-" version ".tar.gz"))
5335 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5336 (build-system gnu-build-system)
5339 (modify-phases %standard-phases
5340 (add-after 'unpack 'bootstrap
5342 (zero? (system* "autoreconf" "-vif")))))))
5344 `(("autoconf" ,autoconf)
5345 ("automake" ,automake)))
5346 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5348 `(("moka-icon-theme" ,moka-icon-theme)))
5349 (synopsis "Arc icon theme")
5350 (description "The Arc icon theme provides a set of icons matching the
5351 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5352 the Moka icon theme.")
5353 (home-page "https://github.com/horst3180/arc-icon-theme")
5354 (license license:gpl3+)))
5356 (define-public folks
5363 "mirror://gnome/sources/" name "/"
5364 (version-major+minor version) "/"
5365 name "-" version ".tar.xz"))
5368 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5369 (build-system glib-or-gtk-build-system)
5372 ("dbus-glib" ,dbus-glib)
5373 ("evolution-data-server" ,evolution-data-server)
5376 ("telepathy-glib" ,telepathy-glib)))
5378 `(("gobject-introspection" ,gobject-introspection)
5379 ("intltool" ,intltool)
5380 ("pkg-config" ,pkg-config)
5382 (synopsis "Library to aggregate data about people")
5383 (description "Libfolks is a library that aggregates information about people
5384 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5385 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5386 etc.) to create metacontacts. It's written in Vala, which generates C code when
5388 (home-page "https://wiki.gnome.org/Projects/Folks")
5389 (license license:lgpl2.1+)))
5391 (define-public gfbgraph
5398 "mirror://gnome/sources/" name "/"
5399 (version-major+minor version) "/"
5400 name "-" version ".tar.xz"))
5403 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5404 (build-system glib-or-gtk-build-system)
5406 `(#:tests? #f ; Tests appear to require the network.
5407 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5408 #:configure-flags '("--disable-gtk-doc"
5410 "--enable-introspection")))
5412 `(("pkg-config" ,pkg-config)
5413 ("gobject-introspection" ,gobject-introspection)))
5415 `(("json-glib" ,json-glib)
5416 ("gnome-online-accounts" ,gnome-online-accounts)
5418 (synopsis "GLib/GObject wrapper for the Facebook API")
5419 (description "This library allows you to use the Facebook API from
5420 GLib/GObject code.")
5421 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5422 (license license:lgpl2.1+)))
5424 (define-public libgnomekbd
5426 (name "libgnomekbd")
5430 (uri (string-append "mirror://gnome/sources/" name "/"
5431 (version-major+minor version) "/"
5432 name "-" version ".tar.xz"))
5435 "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
5436 (build-system gnu-build-system)
5438 `(("pkg-config" ,pkg-config)
5439 ("glib" ,glib "bin")
5440 ("intltool" ,intltool)))
5442 ;; Referred to in .h files and .pc.
5445 ("libxklavier" ,libxklavier)))
5446 (home-page "https://www.gnome.org")
5447 (synopsis "GNOME keyboard configuration library")
5449 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5450 environment, which can notably display keyboard layouts.")
5451 (license license:lgpl2.0+)))