1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
15 ;;; This file is part of GNU Guix.
17 ;;; GNU Guix is free software; you can redistribute it and/or modify it
18 ;;; under the terms of the GNU General Public License as published by
19 ;;; the Free Software Foundation; either version 3 of the License, or (at
20 ;;; your option) any later version.
22 ;;; GNU Guix is distributed in the hope that it will be useful, but
23 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
24 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 ;;; GNU General Public License for more details.
27 ;;; You should have received a copy of the GNU General Public License
28 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30 (define-module (gnu packages gnome)
31 #:use-module ((guix licenses) #:prefix license:)
32 #:use-module (guix packages)
33 #:use-module (guix download)
34 #:use-module (guix utils)
35 #:use-module (guix build-system gnu)
36 #:use-module (guix build-system glib-or-gtk)
37 #:use-module (gnu packages)
38 #:use-module (gnu packages autotools)
39 #:use-module (gnu packages avahi)
40 #:use-module (gnu packages base)
41 #:use-module (gnu packages bison)
42 #:use-module (gnu packages calendar)
43 #:use-module (gnu packages cups)
44 #:use-module (gnu packages curl)
45 #:use-module (gnu packages databases)
46 #:use-module (gnu packages djvu)
47 #:use-module (gnu packages flex)
48 #:use-module (gnu packages docbook)
49 #:use-module (gnu packages enchant)
50 #:use-module (gnu packages gettext)
51 #:use-module (gnu packages glib)
52 #:use-module (gnu packages gnupg)
53 #:use-module (gnu packages gnuzilla)
54 #:use-module (gnu packages gstreamer)
55 #:use-module (gnu packages gtk)
56 #:use-module (gnu packages gperf)
57 #:use-module (gnu packages guile)
58 #:use-module (gnu packages pdf)
59 #:use-module (gnu packages polkit)
60 #:use-module (gnu packages popt)
61 #:use-module (gnu packages ghostscript)
62 #:use-module (gnu packages iso-codes)
63 #:use-module (gnu packages libcanberra)
64 #:use-module (gnu packages linux)
65 #:use-module (gnu packages libusb)
66 #:use-module (gnu packages lirc)
67 #:use-module (gnu packages lua)
68 #:use-module (gnu packages m4)
69 #:use-module (gnu packages image)
70 #:use-module (gnu packages perl)
71 #:use-module (gnu packages photo)
72 #:use-module (gnu packages pkg-config)
73 #:use-module (gnu packages pulseaudio)
74 #:use-module (gnu packages python)
75 #:use-module (gnu packages scanner)
76 #:use-module (gnu packages ssh)
77 #:use-module (gnu packages xml)
78 #:use-module (gnu packages geeqie)
79 #:use-module (gnu packages gl)
80 #:use-module (gnu packages qt) ; for libxkbcommon
81 #:use-module (gnu packages compression)
82 #:use-module (gnu packages texlive)
83 #:use-module (gnu packages tls)
84 #:use-module (gnu packages web)
85 #:use-module (gnu packages webkit)
86 #:use-module (gnu packages xorg)
87 #:use-module (gnu packages xdisorg)
88 #:use-module (gnu packages freedesktop)
89 #:use-module (gnu packages mail)
90 #:use-module (gnu packages backup)
91 #:use-module (gnu packages nettle)
92 #:use-module (gnu packages ncurses)
93 #:use-module (gnu packages video)
94 #:use-module (gnu packages cdrom)
95 #:use-module (gnu packages samba)
96 #:use-module (gnu packages readline)
97 #:use-module (srfi srfi-1))
99 (define-public brasero
105 (uri (string-append "mirror://gnome/sources/" name "/"
106 (version-major+minor version) "/"
107 name "-" version ".tar.xz"))
110 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
111 (build-system glib-or-gtk-build-system)
113 `(#:configure-flags (list
114 (string-append "--with-girdir="
115 (assoc-ref %outputs "out")
117 (string-append "--with-typelibdir="
118 (assoc-ref %outputs "out")
119 "/lib/girepository-1.0"))))
121 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
123 `(("intltool" ,intltool)
124 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
125 ("gobject-introspection" ,gobject-introspection)
126 ("pkg-config" ,pkg-config)))
129 ("gnome-doc-utils" ,gnome-doc-utils)
130 ("gstreamer" ,gstreamer)
131 ("gst-plugins-base" ,gst-plugins-base)
134 ("libcanberra" ,libcanberra)
136 ("libnotify" ,libnotify)
140 ("totem-pl-parser" ,totem-pl-parser)))
141 (home-page "https://projects.gnome.org/brasero/")
142 (synopsis "CD/DVD burning tool for Gnome")
143 (description "Brasero is an application to burn CD/DVD for the Gnome
144 Desktop. It is designed to be as simple as possible and has some unique
145 features to enable users to create their discs easily and quickly.")
146 (license license:gpl2+)))
148 (define-public gnome-common
150 (name "gnome-common")
155 (uri (string-append "mirror://gnome/sources/" name "/"
156 (version-major+minor version) "/"
157 name "-" version ".tar.xz"))
160 "0b1676g4q44ah73c5gwl1kg88pc93pnq1pa9kwl43d0vg0pj802c"))))
161 (build-system gnu-build-system)
162 (home-page "https://www.gnome.org/")
163 (synopsis "Bootstrap GNOME modules built from Git")
164 (description "gnome-common contains various files needed to bootstrap
165 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
166 can be used to configure a source directory checked out from Git and some
167 commonly used macros.")
168 (license license:gpl2+)))
170 (define-public gnome-desktop
172 (name "gnome-desktop")
177 (uri (string-append "mirror://gnome/sources/" name "/"
178 (version-major+minor version) "/"
179 name "-" version ".tar.xz"))
182 "0avpmyhzz5b3pyfpkp8iq5ym5r5w7zs3a396hqkdpdsiym0vrazc"))))
183 (build-system gnu-build-system)
185 `(("gobject-introspection" ,gobject-introspection)
187 ("intltool" ,intltool)
188 ("pkg-config" ,pkg-config)
189 ("xmllint" ,libxml2)))
191 ;; Required by gnome-desktop-3.0.pc.
192 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
195 `(("gdk-pixbuf" ,gdk-pixbuf)
197 ("iso-codes" ,iso-codes)
200 ("libxkbfile" ,libxkbfile)
201 ("libxrandr" ,libxrandr)
202 ("xkeyboard-config" ,xkeyboard-config)))
203 (home-page "https://www.gnome.org/")
205 "Libgnome-desktop, gnome-about, and desktop-wide documents")
207 "The libgnome-desktop library provides API shared by several applications
208 on the desktop, but that cannot live in the platform for various reasons.
209 There is no API or ABI guarantee, although we are doing our best to provide
210 stability. Documentation for the API is available with gtk-doc.
212 The gnome-about program helps find which version of GNOME is installed.")
213 ; Some bits under the LGPL.
214 (license license:gpl2+)))
216 (define-public gnome-doc-utils
218 (name "gnome-doc-utils")
223 (uri (string-append "mirror://gnome/sources/" name "/"
224 (version-major+minor version) "/"
225 name "-" version ".tar.xz"))
228 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
229 (build-system gnu-build-system)
231 `(("intltool" ,intltool)
232 ("docbook-xml" ,docbook-xml-4.4)
233 ("python2-libxml2" ,python2-libxml2)
236 ("pkg-config" ,pkg-config)
237 ("python-2" ,python-2)))
238 (home-page "https://wiki.gnome.org/GnomeDocUtils")
240 "Documentation utilities for the Gnome project")
242 "Gnome-doc-utils is a collection of documentation utilities for the
243 Gnome project. It includes xml2po tool which makes it easier to translate
244 and keep up to date translations of documentation.")
245 (license license:gpl2+))) ; xslt under lgpl
253 (uri (string-append "mirror://gnome/sources/" name "/"
254 (version-major+minor version) "/"
255 name "-" version ".tar.xz"))
258 "006f6xbd3jppkf9avg83mpqdld5d0z6mr0sm81lql52mmyjnvlfl"))))
259 (build-system gnu-build-system)
261 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
263 #:phases (modify-phases %standard-phases
266 (lambda* (#:key inputs #:allow-other-keys)
267 (substitute* "build/tap-driver"
268 (("/usr/bin/env python") (which "python"))))))))
271 ("gnupg" ,gnupg) ;called as a child process during tests
272 ("libgcrypt" ,libgcrypt)))
274 `(("python" ,python-2) ;for tests
275 ("pkg-config" ,pkg-config)
277 ("gobject-introspection" ,gobject-introspection)
278 ("intltool" ,intltool)
279 ("xsltproc" ,libxslt)))
280 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
282 `(("p11-kit" ,p11-kit)
285 (home-page "http://www.gnome.org")
286 (synopsis "Libraries for displaying certificates and accessing key stores")
288 "The GCR package contains libraries used for displaying certificates and
289 accessing key stores. It also provides the viewer for crypto files on the
291 (license license:lgpl2.1+)))
293 (define-public libgnome-keyring
295 (name "libgnome-keyring")
299 (uri (string-append "mirror://gnome/sources/" name "/"
300 (version-major+minor version) "/"
301 name "-" version ".tar.xz"))
304 "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd"))))
305 (build-system gnu-build-system)
307 `(("libgcrypt" ,libgcrypt)
310 `(("pkg-config" ,pkg-config)
312 ("intltool" ,intltool)))
314 ;; Referred to in .h files and .pc.
316 (home-page "http://www.gnome.org")
317 (synopsis "Accessing passwords from the GNOME keyring")
319 "Client library to access passwords from the GNOME keyring.")
321 ;; Though a couple of files are LGPLv2.1+.
322 (license license:lgpl2.0+)))
324 (define-public gnome-keyring
326 (name "gnome-keyring")
330 (uri (string-append "mirror://gnome/sources/" name "/"
331 (version-major+minor version) "/"
332 name "-" version ".tar.xz"))
335 "1xg1xha3x3hzlmvdq2zm90hc61pj7pnf9yxxvgq4ynl5af6bp8qm"))))
336 (build-system gnu-build-system)
338 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
342 (string-append "--with-pkcs11-config="
343 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
344 (string-append "--with-pkcs11-modules="
345 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
347 (modify-phases %standard-phases
350 (lambda* (#:key inputs #:allow-other-keys)
351 (substitute* "build/tap-driver"
352 (("/usr/bin/env python") (which "python")))))
354 'configure 'fix-docbook
355 (lambda* (#:key inputs #:allow-other-keys)
356 (substitute* "docs/Makefile.am"
357 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
358 (string-append (assoc-ref inputs "docbook-xsl")
359 "/xml/xsl/docbook-xsl-"
360 ,(package-version docbook-xsl)
361 "/manpages/docbook.xsl")))
362 (setenv "XML_CATALOG_FILES"
363 (string-append (assoc-ref inputs "docbook-xml")
364 "/xml/dtd/docbook/catalog.xml")))))))
366 `(("libgcrypt" ,libgcrypt)
370 `(("pkg-config" ,pkg-config)
372 ("python" ,python-2) ;for tests
373 ("intltool" ,intltool)
374 ("autoconf" ,autoconf)
375 ("automake" ,automake)
376 ("libxslt" ,libxslt) ;for documentation
377 ("docbook-xml" ,docbook-xml-4.2)
378 ("docbook-xsl" ,docbook-xsl)))
379 (home-page "http://www.gnome.org")
380 (synopsis "Daemon to store passwords and encryption keys")
382 "gnome-keyring is a program that keeps passwords and other secrets for
383 users. It is run as a daemon in the session, similar to ssh-agent, and other
384 applications locate it via an environment variable or D-Bus.
386 The program can manage several keyrings, each with its own master password,
387 and there is also a session keyring which is never stored to disk, but
388 forgotten when the session ends.")
389 (license license:lgpl2.1+)))
391 (define-public evince
397 (uri (string-append "mirror://gnome/sources/" name "/"
398 (version-major+minor version) "/"
399 name "-" version ".tar.xz"))
402 "0cccmbvl1b6d2976642iyfr8g3r69zf3mzl2ln6vjvvdbrv26l3v"))))
403 (build-system glib-or-gtk-build-system)
405 `(#:configure-flags '("--disable-nautilus")
407 ;; FIXME: Tests fail with:
408 ;; ImportError: No module named gi.repository
409 ;; Where should that module come from?
412 `(("libspectre" ,libspectre)
413 ("djvulibre" ,djvulibre)
414 ("ghostscript" ,ghostscript)
418 ;; Add libgxps for XPS support.
419 ;; Build libkpathsea as a shared library for DVI support.
420 ;; ("libkpathsea" ,texlive-bin)
421 ("gnome-desktop" ,gnome-desktop)
422 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
423 ("libgnome-keyring" ,libgnome-keyring)
424 ("adwaita-icon-theme" ,adwaita-icon-theme)
425 ("gdk-pixbuf" ,gdk-pixbuf)
433 ("shared-mime-info" ,shared-mime-info)
435 ("libcanberra" ,libcanberra)
436 ("libsecret" ,libsecret)
438 ("dogtail" ,python2-dogtail)))
440 `(("itstool" ,itstool)
441 ("intltool" ,intltool)
443 ("pkg-config" ,pkg-config)
444 ("xmllint" ,libxml2)))
446 "http://www.gnome.org/projects/evince/")
447 (synopsis "GNOME's document viewer")
449 "Evince is a document viewer for multiple document formats. It
450 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
451 of Evince is to replace the multiple document viewers that exist
452 on the GNOME Desktop with a single simple application.")
453 (license license:gpl2+)))
455 (define-public gsettings-desktop-schemas
457 (name "gsettings-desktop-schemas")
462 (uri (string-append "mirror://gnome/sources/" name "/"
463 (version-major+minor version) "/"
464 name "-" version ".tar.xz"))
467 "1szc857f46spdhrbnq9ci3kwfqg5vwpikbf0hprq6vd94rr369xs"))))
468 (build-system gnu-build-system)
472 `(("intltool" ,intltool)
473 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
474 ("gobject-introspection" ,gobject-introspection)
475 ("pkg-config" ,pkg-config)))
476 (home-page "https://launchpad.net/gsettings-desktop-schemas")
478 "GNOME settings for various desktop components")
480 "Gsettings-desktop-schemas contains a collection of GSettings schemas
481 for settings shared by various components of the GNOME desktop.")
482 (license license:lgpl2.1+)))
484 (define-public icon-naming-utils
486 (name "icon-naming-utils")
491 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
495 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
496 (build-system gnu-build-system)
499 ("perl-xml-simple" ,perl-xml-simple)))
503 'install 'set-load-paths
504 ;; Tell 'icon-name-mapping' where XML::Simple is.
505 (lambda* (#:key outputs #:allow-other-keys)
506 (let* ((out (assoc-ref outputs "out"))
507 (prog (string-append out "/libexec/icon-name-mapping")))
510 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
512 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
514 "Utility to implement the Freedesktop Icon Naming Specification")
516 "To help with the transition to the Freedesktop Icon Naming
517 Specification, the icon naming utility maps the icon names used by the
518 GNOME and KDE desktops to the icon names proposed in the specification.")
519 (license license:lgpl2.1+)))
521 (define-public desktop-file-utils
523 (name "desktop-file-utils")
527 (uri (string-append "http://www.freedesktop.org/software/" name
528 "/releases/" name "-" version ".tar.xz"))
531 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
532 (build-system gnu-build-system)
534 `(("pkg-config" ,pkg-config)))
537 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
538 (synopsis "Utilities for working with desktop entries")
540 "This package contains a few command line utilities for working with
543 desktop-file-validate: validates a desktop file and prints warnings/errors
544 about desktop entry specification violations.
546 desktop-file-install: installs a desktop file to the applications directory,
547 optionally munging it a bit in transit.
549 update-desktop-database: updates the database containing a cache of MIME types
550 handled by desktop files.")
551 (license license:gpl2+)))
553 (define-public gnome-icon-theme
555 (name "gnome-icon-theme")
560 (uri (string-append "mirror://gnome/sources/" name "/"
561 (version-major+minor version) "/"
562 name "-" version ".tar.xz"))
565 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
566 (build-system gnu-build-system)
568 `(("gtk+" ,gtk+) ; for gtk-update-icon-cache
569 ("icon-naming-utils" ,icon-naming-utils)
570 ("intltool" ,intltool)
571 ("pkg-config" ,pkg-config)))
572 (home-page "http://art.gnome.org/")
576 "Icons for the GNOME desktop.")
577 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
579 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
580 (define-public adwaita-icon-theme
581 (package (inherit gnome-icon-theme)
582 (name "adwaita-icon-theme")
586 (uri (string-append "mirror://gnome/sources/" name "/"
587 (version-major+minor version) "/"
588 name "-" version ".tar.xz"))
591 "1hmlw7kvhr7c2asc5y77adpymi9ka17gaf76zz835nwwffnn4rlw"))))))
593 (define-public shared-mime-info
595 (name "shared-mime-info")
599 (uri (string-append "http://freedesktop.org/~hadess/"
600 "shared-mime-info-" version ".tar.xz"))
603 "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5"))))
604 (build-system gnu-build-system)
606 ;; The build system appears not to be parallel-safe.
607 '(#:parallel-build? #f))
610 ("libxml2" ,libxml2)))
612 `(("intltool" ,intltool)
613 ("pkg-config" ,pkg-config)))
614 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
615 (synopsis "Database of common MIME types")
617 "The shared-mime-info package contains the core database of common types
618 and the update-mime-database command used to extend it. It requires glib2 to
619 be installed for building the update command. Additionally, it uses intltool
620 for translations, though this is only a dependency for the maintainers. This
621 database is translated at Transifex.")
622 (license license:gpl2+)))
624 (define-public hicolor-icon-theme
626 (name "hicolor-icon-theme")
631 (uri (string-append "http://icon-theme.freedesktop.org/releases/"
632 "hicolor-icon-theme-" version ".tar.gz"))
635 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
636 (build-system gnu-build-system)
638 `(#:tests? #f)) ; no check target
639 (home-page "http://icon-theme.freedesktop.org/releases/")
641 "Freedesktop icon theme")
643 "Freedesktop icon theme.")
644 (license license:gpl2)))
646 (define-public libnotify
653 (uri (string-append "mirror://gnome/sources/" name "/"
654 (version-major+minor version) "/"
655 name "-" version ".tar.xz"))
658 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
659 (build-system gnu-build-system)
661 `(("gdk-pixbuf" ,gdk-pixbuf)
666 `(("pkg-config" ,pkg-config)
667 ("glib" ,glib "bin")))
668 (home-page "https://developer-next.gnome.org/libnotify/")
670 "GNOME desktop notification library")
672 "Libnotify is a library that sends desktop notifications to a
673 notification daemon, as defined in the Desktop Notifications spec. These
674 notifications can be used to inform the user about an event or display
675 some form of information without getting in the user's way.")
676 (license license:lgpl2.1+)))
678 (define-public libpeas
685 (uri (string-append "mirror://gnome/sources/" name "/"
686 (version-major+minor version) "/"
687 name "-" version ".tar.xz"))
690 "0kj5n5hz93xq7qdb2r7n86nibzwqjr88jxaih1fdbxv5rn7014xh"))))
691 (build-system gnu-build-system)
694 ("gdk-pixbuf" ,gdk-pixbuf)
699 `(("pkg-config" ,pkg-config)
700 ("glib:bin" ,glib "bin")
701 ("gobject-introspection" ,gobject-introspection)
702 ("intltool" ,intltool)))
703 (home-page "https://wiki.gnome.org/Libpeas")
704 (synopsis "GObject plugin system")
706 "Libpeas is a gobject-based plugins engine, and is targetted at giving
707 every application the chance to assume its own extensibility. It also has a
708 set of features including, but not limited to: multiple extension points; on
709 demand (lazy) programming language support for C, Python and JS; simplicity of
711 (license license:lgpl2.0+)))
713 (define-public gtkglext
719 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
720 version "/gtkglext-" version ".tar.gz"))
722 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
724 (search-patch "gtkglext-disable-disable-deprecated.patch")))))
725 (build-system gnu-build-system)
726 (inputs `(("gtk+" ,gtk+-2)
731 (native-inputs `(("pkg-config" ,pkg-config)
732 ("glib" ,glib "bin")))
733 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
734 (home-page "https://projects.gnome.org/gtkglext")
735 (synopsis "OpenGL extension to GTK+")
736 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
737 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
738 API add-ons to make GTK+ widgets OpenGL-capable.")
739 (license license:lgpl2.1+)))
741 (define-public glade3
747 (uri (string-append "mirror://gnome/sources/" name "/"
748 (version-major+minor version) "/"
749 name "3-" version ".tar.xz"))
751 (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7"))))
752 (build-system gnu-build-system)
755 ("libxml2" ,libxml2)))
757 `(("intltool" ,intltool)
759 ("pkg-config" ,pkg-config)))
760 (home-page "https://glade.gnome.org")
761 (synopsis "GTK+ rapid application development tool")
762 (description "Glade is a rapid application development (RAD) tool to
763 enable quick & easy development of user interfaces for the GTK+ toolkit and
764 the GNOME desktop environment.")
765 (license license:lgpl2.0+)))
767 (define-public libcroco
773 (uri (string-append "mirror://gnome/sources/" name "/"
774 (version-major+minor version) "/"
775 name "-" version ".tar.xz"))
778 "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa"))))
779 (build-system gnu-build-system)
781 `(("pkg-config" ,pkg-config)))
786 (home-page "https://github.com/GNOME/libcroco")
787 (synopsis "CSS2 parsing and manipulation library")
789 "Libcroco is a standalone CSS2 parsing and manipulation library.
790 The parser provides a low level event driven SAC-like API and a CSS object
791 model like API. Libcroco provides a CSS2 selection engine and an experimental
792 XML/CSS rendering engine.")
795 (license license:lgpl2.1)))
797 (define-public libgsf
803 (uri (string-append "mirror://gnome/sources/" name "/"
804 (version-major+minor version) "/"
805 name "-" version ".tar.xz"))
808 "0a5m1i5gp4m2z0cn2x1rrdm8wgrr04bzv65l8pgp6jipw13s9zph"))))
809 (build-system gnu-build-system)
811 `(("intltool" ,intltool)
812 ("pkg-config" ,pkg-config)))
818 `(("gdk-pixbuf" ,gdk-pixbuf)
820 ("libxml2" ,libxml2)))
821 (home-page "http://www.gnome.org/projects/libgsf")
822 (synopsis "GNOME's Structured File Library")
824 "Libgsf aims to provide an efficient extensible I/O abstraction for
825 dealing with different structured file formats.")
828 (license license:lgpl2.1)))
830 (define-public librsvg
836 (uri (string-append "mirror://gnome/sources/" name "/"
837 (version-major+minor version) "/"
838 name "-" version ".tar.xz"))
841 "00ifd9wjjjsw0ybk5j6qs4yyh66jj34hjmggy6dhrgfy8ksw06k1"))
843 (list (search-patch "librsvg-tests.patch")))))
844 (build-system gnu-build-system)
848 'configure 'augment-gir-search-path
849 (lambda* (#:key inputs #:allow-other-keys)
850 (substitute* "gdk-pixbuf-loader/Makefile.in"
851 ;; By default the gdk-pixbuf loader is installed under
852 ;; gdk-pixbuf's prefix. Work around that.
853 (("gdk_pixbuf_moduledir = .*$")
854 (string-append "gdk_pixbuf_moduledir = "
855 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
857 ;; Likewise, create a separate 'loaders.cache' file.
858 (("gdk_pixbuf_cache_file = .*$")
859 "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n")))
861 'install 'generate-full-cache
862 (lambda* (#:key inputs outputs #:allow-other-keys)
863 (let ((loaders-directory
864 (string-append (assoc-ref outputs "out")
865 "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
869 "gdk-pixbuf-query-loaders "
870 loaders-directory "/libpixbufloader-svg.so "
871 (string-join (find-files (assoc-ref inputs "gdk-pixbuf")
872 "libpixbufloader-.*\\.so") " ")
873 "> " loaders-directory ".cache")))))
876 `(("pkg-config" ,pkg-config)
877 ("glib" ,glib "bin") ; glib-mkenums, etc.
878 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
881 ("libcroco" ,libcroco)
884 ("libxml2" ,libxml2)))
886 ;; librsvg-2.0.pc refers to all of that.
888 ("gdk-pixbuf" ,gdk-pixbuf)
890 (home-page "https://wiki.gnome.org/LibRsvg")
891 (synopsis "Render SVG files using Cairo")
893 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
895 (license license:lgpl2.0+)))
897 (define-public libidl
903 (uri (let ((upstream-name "libIDL"))
904 (string-append "mirror://gnome/sources/" upstream-name "/"
905 (version-major+minor version) "/"
906 upstream-name "-" version ".tar.bz2")))
909 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
910 (build-system gnu-build-system)
911 (inputs `(("glib" ,glib)))
913 `(("pkg-config" ,pkg-config)
916 (home-page "http://freecode.com/projects/libidl")
917 (synopsis "Create trees of CORBA Interface Definition Language files")
918 (description "Libidl is a library for creating trees of CORBA Interface
919 Definition Language (idl) files, which is a specification for defining
920 portable interfaces. libidl was initially written for orbit (the orb from the
921 GNOME project, and the primary means of libidl distribution). However, the
922 functionality was designed to be as reusable and portable as possible.")
923 (license license:lgpl2.0+)))
926 (define-public orbit2
932 (uri (let ((upstream-name "ORBit2"))
933 (string-append "mirror://gnome/sources/" upstream-name "/"
934 (version-major+minor version) "/"
935 upstream-name "-" version ".tar.bz2")))
938 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
939 (build-system gnu-build-system)
942 ;; The programmer kindly gives us a hook to turn off deprecation
944 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
945 ;; ... which they then completly ignore !!
948 'configure 'ignore-deprecations
950 (substitute* "linc2/src/Makefile.in"
951 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
953 (inputs `(("glib" ,glib)
956 `(("pkg-config" ,pkg-config)))
957 (home-page "https://projects.gnome.org/orbit2/")
958 (synopsis "CORBA 2.4-compliant Object Request Broker")
959 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
960 featuring mature C, C++ and Python bindings.")
961 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
962 ;; a version. SOME of the code files have licence notices for GPLv2+.
963 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
964 (license license:gpl2+)))
967 (define-public libbonobo
973 (uri (string-append "mirror://gnome/sources/" name "/"
974 (version-major+minor version)
975 "/" name "-" version ".tar.bz2"))
977 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
978 (patches (list (search-patch "libbonobo-activation-test-race.patch")))))
979 (build-system gnu-build-system)
981 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
983 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
984 ;; ... which they then completly ignore !!
987 'configure 'ignore-deprecations
989 (substitute* "activation-server/Makefile.in"
990 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
992 (inputs `(("popt" ,popt)
993 ("libxml2" ,libxml2)))
994 ;; The following are Required by the .pc file
999 `(("intltool" ,intltool)
1000 ("pkg-config" ,pkg-config)
1001 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1004 (home-page "https://developer.gnome.org/libbonobo/")
1005 (synopsis "Framework for creating reusable components for use in GNOME applications")
1006 (description "Bonobo is a framework for creating reusable components for
1007 use in GNOME applications, built on top of CORBA.")
1008 ;; Licence not explicitly stated. Source files contain no licence notices.
1009 ;; Tarball contains text of both GPLv2 and LGPLv2
1010 ;; GPLv2 covers both conditions
1011 (license license:gpl2+)))
1014 (define-public gconf
1021 (let ((upstream-name "GConf"))
1022 (string-append "mirror://gnome/sources/" upstream-name "/"
1023 (version-major+minor version) "/"
1024 upstream-name "-" version ".tar.xz")))
1026 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1027 (build-system gnu-build-system)
1028 (inputs `(("dbus-glib" ,dbus-glib)
1029 ("libxml2" ,libxml2)))
1030 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1031 ("orbit2" ,orbit2)))
1033 `(("intltool" ,intltool)
1034 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1035 ("pkg-config" ,pkg-config)))
1036 (home-page "https://projects.gnome.org/gconf/")
1037 (synopsis "Store application preferences")
1038 (description "Gconf is a system for storing application preferences. It
1039 is intended for user preferences; not arbitrary data storage.")
1040 (license license:lgpl2.0+)))
1043 (define-public gnome-mime-data
1045 (name "gnome-mime-data")
1049 (uri (string-append "mirror://gnome/sources/" name "/"
1050 (version-major+minor version) "/"
1051 name "-" version ".tar.bz2"))
1054 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1055 (build-system gnu-build-system)
1058 ("intltool" ,intltool)))
1059 (home-page "http://www.gnome.org")
1060 (synopsis "Base MIME and Application database for GNOME")
1061 (description "GNOME Mime Data is a module which contains the base MIME
1062 and Application database for GNOME. The data stored by this module is
1063 designed to be accessed through the MIME functions in GnomeVFS.")
1064 (license license:gpl2+)))
1067 (define-public gnome-vfs
1073 (uri (string-append "mirror://gnome/sources/" name "/"
1074 (version-major+minor version) "/"
1075 name "-" version ".tar.bz2"))
1078 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1079 (build-system gnu-build-system)
1083 'configure 'ignore-deprecations
1085 (substitute* '("libgnomevfs/Makefile.in"
1086 "daemon/Makefile.in")
1087 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1090 'configure 'patch-test-async-cancel-to-never-fail
1092 (substitute* "test/test-async-cancel.c"
1093 (("EXIT_FAILURE") "77")))
1094 %standard-phases))))
1095 (inputs `(("libxml2" ,libxml2)
1096 ("dbus-glib" ,dbus-glib)
1098 ("gnome-mime-data" ,gnome-mime-data)
1101 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1102 ("intltool" ,intltool)
1103 ("pkg-config" ,pkg-config)))
1104 (home-page "https://developer.gnome.org/gnome-vfs/")
1105 (synopsis "Access files and folders in GNOME applications")
1107 "GnomeVFS is the core library used to access files and folders in GNOME
1108 applications. It provides a file system abstraction which allows applications
1109 to access local and remote files with a single consistent API.")
1110 (license license:lgpl2.0+)))
1114 (define-public libgnome
1120 (uri (string-append "mirror://gnome/sources/" name "/"
1121 (version-major+minor version) "/"
1122 name "-" version ".tar.bz2"))
1125 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1126 (build-system gnu-build-system)
1130 'configure 'enable-deprecated
1132 (substitute* "libgnome/Makefile.in"
1133 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1135 (inputs `(("libxml2" ,libxml2)))
1137 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1138 ("intltool" ,intltool)
1139 ("pkg-config" ,pkg-config)))
1140 ;; The following are listed as Required in the .pc file
1141 ;; (except for libcanberra -- which seems to be oversight on the part
1142 ;; of the upstream developers -- anything that links against libgnome,
1143 ;; must also link against libcanberra
1145 `(("libcanberra" ,libcanberra)
1146 ("libbonobo" ,libbonobo)
1148 ("gnome-vfs" ,gnome-vfs)
1149 ("popt" ,popt))) ;gnome-program.h includes popt.h
1150 (home-page "https://developer.gnome.org/libgnome/")
1151 (synopsis "Useful routines for building applications")
1152 (description "The libgnome library provides a number of useful routines
1153 for building modern applications, including session management, activation of
1154 files and URIs, and displaying help.")
1155 (license license:lgpl2.0+)))
1158 (define-public libart-lgpl
1160 (name "libart-lgpl")
1164 (uri (let ((upstream-name "libart_lgpl"))
1165 (string-append "mirror://gnome/sources/" upstream-name "/"
1166 (version-major+minor version) "/"
1167 upstream-name "-" version ".tar.bz2")))
1170 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1171 (build-system gnu-build-system)
1173 `(("pkg-config" ,pkg-config)))
1174 (home-page "https://people.gnome.org/~mathieu/libart")
1175 (synopsis "2D drawing library")
1176 (description "Libart is a 2D drawing library intended as a
1177 high-quality vector-based 2D library with antialiasing and alpha composition.")
1178 (license license:lgpl2.0+)))
1182 (define-public libgnomecanvas
1184 (name "libgnomecanvas")
1188 (uri (string-append "mirror://gnome/sources/" name "/"
1189 (version-major+minor version) "/"
1190 name "-" version ".tar.gz"))
1193 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1194 (build-system gnu-build-system)
1195 ;; Mentioned as Required in the .pc file
1196 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1199 `(("intltool" ,intltool)
1200 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1201 ("pkg-config" ,pkg-config)))
1202 (home-page "https://developer.gnome.org/libgnomecanvas/")
1203 (synopsis "Flexible widget for creating interactive structured graphics")
1204 (description "The GnomeCanvas widget provides a flexible widget for
1205 creating interactive structured graphics.")
1206 (license license:lgpl2.0+)))
1208 (define-public libgnomecanvasmm
1210 (name "libgnomecanvasmm")
1214 (uri (string-append "mirror://gnome/sources/" name "/"
1215 (version-major+minor version) "/"
1216 name "-" version ".tar.bz2"))
1219 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1220 (build-system gnu-build-system)
1222 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1223 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1225 `(("gtkmm-2" ,gtkmm-2)
1226 ("pkg-config" ,pkg-config)))
1227 (home-page "http://gtkmm.org")
1228 (synopsis "C++ bindings to the GNOME Canvas library")
1229 (description "C++ bindings to the GNOME Canvas library.")
1230 (license license:lgpl2.0+)))
1232 (define-public libgnomeui
1238 (uri (string-append "mirror://gnome/sources/" name "/"
1239 (version-major+minor version) "/"
1240 name "-" version ".tar.bz2"))
1243 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1244 (build-system gnu-build-system)
1245 ;; Mentioned as Required in the .pc file
1246 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1247 ("libgnome" ,libgnome)
1248 ("libgnomecanvas" ,libgnomecanvas)
1249 ("libgnome-keyring" ,libgnome-keyring)))
1250 (inputs `(("libjpeg" ,libjpeg)
1252 ("libbonobo" ,libbonobo)
1253 ("libxml2" ,libxml2)
1254 ("libglade" ,libglade)))
1256 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1257 ("intltool" ,intltool)
1258 ("pkg-config" ,pkg-config)))
1259 (home-page "https://developer.gnome.org/libgnomeui/")
1260 (synopsis "Additional widgets for applications")
1261 (description "The libgnomeui library provides additional widgets for
1262 applications. Many of the widgets from libgnomeui have already been
1264 (license license:lgpl2.0+)))
1266 (define-public libglade
1272 (uri (string-append "mirror://gnome/sources/" name "/"
1273 (version-major+minor version) "/"
1274 name "-" version ".tar.bz2"))
1277 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1278 (build-system gnu-build-system)
1280 `(("python" ,python))) ;; needed for the optional libglade-convert program
1282 `(("gtk+-2" ,gtk+-2)
1283 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1285 `(("pkg-config" ,pkg-config)))
1286 (home-page "https://developer.gnome.org/libglade")
1287 (synopsis "Load glade interfaces and access the glade built widgets")
1288 (description "Libglade is a library that provides interfaces for loading
1289 graphical interfaces described in glade files and for accessing the
1290 widgets built in the loading process.")
1291 (license license:gpl2+))) ; This is correct. GPL not LGPL
1293 (define-public libgnomeprint
1294 ;; This library has been deprecated since 2006; see
1295 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1297 (name "libgnomeprint")
1301 (uri (string-append "mirror://gnome/sources/" name "/"
1302 (version-major+minor version) "/"
1303 name "-" version ".tar.bz2"))
1306 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))
1307 (modules '((guix build utils)))
1309 ;; Adapt to newer freetype. As the package is deprecated, there
1310 ;; is no use in creating a patch and reporting it.
1311 '(substitute* '("libgnomeprint/gnome-font-face.c"
1312 "libgnomeprint/gnome-rfont.c")
1313 (("freetype/") "freetype2/")))))
1314 (build-system gnu-build-system)
1317 ("libart-lgpl" ,libart-lgpl)
1319 ("libxml2" ,libxml2)))
1321 `(("intltool" ,intltool)
1322 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1323 ("pkg-config" ,pkg-config)))
1324 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1325 (synopsis "Printing framework for GNOME")
1327 "GNOME-print was a printing framework for GNOME. It has been deprecated
1328 since ca. 2006, when GTK+ itself incorporated printing support.")
1329 (license license:lgpl2.0+)))
1332 (define-public libgnomeprintui
1333 ;; Deprecated; see libgnomeprint.
1335 (name "libgnomeprintui")
1339 (uri (string-append "mirror://gnome/sources/" name "/"
1340 (version-major+minor version) "/"
1341 name "-" version ".tar.bz2"))
1344 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1345 (build-system gnu-build-system)
1346 ;; Mentioned as Required in the .pc file
1347 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1348 (inputs `(("gtk+" ,gtk+-2)
1350 ("gnome-icon-theme" ,gnome-icon-theme)
1351 ("libgnomecanvas" ,libgnomecanvas)
1352 ("libxml2" ,libxml2)))
1354 `(("intltool" ,intltool)
1355 ("pkg-config" ,pkg-config)))
1356 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1357 (synopsis "Printing framework for GNOME")
1358 (description (package-description libgnomeprint))
1359 (license license:lgpl2.0+)))
1361 (define-public libbonoboui
1363 (name "libbonoboui")
1367 (uri (string-append "mirror://gnome/sources/" name "/"
1368 (version-major+minor version) "/"
1369 name "-" version ".tar.bz2"))
1372 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1373 (build-system gnu-build-system)
1377 'check 'start-xserver
1378 (lambda* (#:key inputs #:allow-other-keys)
1379 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1382 (setenv "HOME" (getcwd))
1383 (setenv "DISPLAY" disp)
1384 ;; There must be a running X server and make check doesn't start one.
1385 ;; Therefore we must do it.
1386 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1388 ;; Mentioned as Required by the .pc file
1389 (propagated-inputs `(("libxml2" ,libxml2)))
1392 ("pangox-compat" ,pangox-compat)
1393 ("libgnome" ,libgnome)
1394 ("libgnomecanvas" ,libgnomecanvas)
1395 ("libglade" ,libglade)))
1397 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1398 ("intltool" ,intltool)
1399 ("xorg-server" ,xorg-server) ; For running the tests
1400 ("pkg-config" ,pkg-config)))
1401 (home-page "https://developer.gnome.org/libbonoboui/")
1402 (synopsis "Some user interface controls using Bonobo")
1403 (description "The Bonobo UI library provides a number of user interface
1404 controls using the Bonobo component framework.")
1405 (license license:lgpl2.0+)))
1407 (define-public libwnck
1413 (uri (string-append "mirror://gnome/sources/" name "/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1417 (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m"))))
1418 (build-system gnu-build-system)
1420 `(("pkg-config" ,pkg-config)
1421 ("intltool" ,intltool)))
1424 ("libxres" ,libxres)
1425 ("startup-notification" ,startup-notification)))
1426 (home-page "https://developer.gnome.org/libwnck/")
1427 (synopsis "Window Navigator Construction Kit")
1429 "Libwnck is the Window Navigator Construction Kit, a library for use in
1430 writing pagers, tasklists, and more generally applications that are dealing
1431 with window management. It tries hard to respect the Extended Window Manager
1432 Hints specification (EWMH).")
1433 (license license:lgpl2.0+)))
1435 ;; stable version for gtk2, required by xfwm4.
1436 (define-public libwnck-1
1437 (package (inherit libwnck)
1442 (uri (string-append "mirror://gnome/sources/" name "/"
1443 (version-major+minor version) "/"
1444 name "-" version ".tar.xz"))
1447 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1450 ("libxres" ,libxres)
1451 ("startup-notification" ,startup-notification)))))
1453 (define-public goffice
1459 (uri (string-append "mirror://gnome/sources/" name "/"
1460 (version-major+minor version) "/"
1461 name "-" version ".tar.xz"))
1463 (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60"))))
1464 (build-system gnu-build-system)
1468 ("librsvg" ,librsvg)
1469 ("libxslt" ,libxslt)
1470 ("libxml2" ,libxml2)))
1472 `(("intltool" ,intltool)
1473 ("glib" ,glib "bin")
1474 ("pkg-config" ,pkg-config)))
1475 (home-page "https://developer.gnome.org/goffice/")
1476 (synopsis "Document-centric objects and utilities")
1477 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1479 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1481 (list license:gpl2 license:gpl3))))
1483 (define-public goffice-0.8
1484 (package (inherit goffice)
1488 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1489 (version-major+minor version) "/"
1490 (package-name goffice) "-" version ".tar.xz"))
1492 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1496 'unpack 'fix-pcre-check
1498 ;; Only glib.h can be included directly. See
1499 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1500 (substitute* "configure"
1501 (("glib/gregex\\.h") "glib.h")) #t)
1504 ;; libgoffice-0.8.pc mentions libgsf-1
1505 `(("libgsf" ,libgsf)))
1508 ,@(alist-delete "gtk" (package-inputs goffice))))))
1510 (define-public gnumeric
1516 (uri (string-append "mirror://gnome/sources/" name "/"
1517 (version-major+minor version) "/"
1518 name "-" version ".tar.xz"))
1521 "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c"))))
1522 (build-system gnu-build-system)
1524 `(;; The gnumeric developers don't worry much about failing tests.
1525 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1529 'configure 'pre-conf
1530 (lambda* (#:key outputs #:allow-other-keys)
1531 ;; Make install tries to write into the directory of goffice
1532 ;; I am informed that this only affects the possibility to embed a
1533 ;; spreadsheet inside an Abiword document. So presumably when we
1534 ;; package Abiword we'll have to refer it to this directory.
1535 (substitute* "configure"
1536 (("^GOFFICE_PLUGINS_DIR=.*")
1537 (string-append "GOFFICE_PLUGINS_DIR="
1538 (assoc-ref outputs "out") "/goffice/plugins"))))
1543 ("goffice" ,goffice)
1545 ("libxml2" ,libxml2)
1548 `(("intltool" ,intltool)
1549 ("glib:bin" ,glib "bin")
1550 ("pkg-config" ,pkg-config)))
1551 (home-page "http://www.gnumeric.org")
1552 (synopsis "Spreadsheet application")
1554 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1555 interoperable with other spreadsheet applications. It has a vast array of
1556 features beyond typical spreadsheet functionality, such as support for linear
1557 and non-linear solvers, statistical analysis, and telecommunication
1560 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1561 (list license:gpl2 license:gpl3))))
1563 (define-public gnome-themes-standard
1565 (name "gnome-themes-standard")
1570 (uri (string-append "mirror://gnome/sources/" name "/"
1571 (version-major+minor version) "/" name "-"
1575 "1jxss8kxszhf66vic9n1sagczm5amm0mgxpzyxyjna15q82fnip6"))))
1576 (build-system gnu-build-system)
1580 ("librsvg" ,librsvg)
1581 ("libxml2" ,libxml2)
1584 `(("intltool" ,intltool)
1585 ("glib:bin" ,glib "bin")
1586 ("pkg-config" ,pkg-config)))
1590 'build 'use-full-cache
1591 ;; Use librsvg's loaders.cache instead of the one provided by
1592 ;; gdk-pixbuf because the latter does not include support for SVG
1594 (lambda* (#:key inputs #:allow-other-keys)
1595 (setenv "GDK_PIXBUF_MODULE_FILE"
1596 (car (find-files (assoc-ref inputs "librsvg")
1597 "loaders\\.cache"))))
1599 (home-page "https://launchpad.net/gnome-themes-standard")
1600 (synopsis "Default GNOME 3 themes")
1602 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1603 (license license:lgpl2.1+)))
1605 (define-public seahorse
1612 (uri (string-append "mirror://gnome/sources/" name "/"
1613 (version-major+minor version) "/" name "-"
1617 "0cg1grgpwbfkiny5148n17rzpc8kswyr5yff0kpm8l3lp01my2kp"))))
1618 (build-system glib-or-gtk-build-system)
1624 ("openssh" ,openssh)
1625 ("libsecret" ,libsecret)))
1627 `(("intltool" ,intltool)
1628 ("glib:bin" ,glib "bin")
1629 ("itstool" ,itstool)
1630 ("pkg-config" ,pkg-config)
1631 ("xmllint" ,libxml2)))
1632 (home-page "https://launchpad.net/gnome-themes-standard")
1633 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1635 "Seahorse is a GNOME application for managing encryption keys and
1636 passwords in the GNOME keyring.")
1637 (license license:gpl2+)))
1645 (uri (string-append "mirror://gnome/sources/" name "/"
1646 (version-major+minor version) "/"
1647 name "-" version ".tar.xz"))
1650 "1pyyhfw3zzbhxfscbn8xz70dg6vx0kh8gshzikpxczhg01xk7w31"))))
1651 (build-system gnu-build-system)
1654 (modify-phases %standard-phases
1655 (add-before 'check 'pre-check
1658 ;; For missing '/etc/machine-id'.
1659 (setenv "DBUS_FATAL_WARNINGS" "0")
1662 `(("pkg-config" ,pkg-config)
1665 ("xsltproc" ,libxslt)
1666 ("dbus" ,dbus) ; for dbus tests
1667 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1669 `(("glib" ,glib))) ; required by libvala-0.26.pc
1670 (home-page "http://live.gnome.org/Vala/")
1671 (synopsis "Compiler for the GObject type system")
1673 "Vala is a programming language that aims to bring modern programming
1674 language features to GNOME developers without imposing any additional runtime
1675 requirements and without using a different ABI compared to applications and
1676 libraries written in C.")
1677 (license license:lgpl2.1+)))
1685 (uri (string-append "mirror://gnome/sources/" name "/"
1686 (version-major+minor version) "/"
1687 name "-" version ".tar.xz"))
1690 "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal"))))
1691 (build-system gnu-build-system)
1693 `(("pkg-config" ,pkg-config)
1694 ("intltool" ,intltool)
1696 ("gobject-introspection" ,gobject-introspection)
1697 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1698 ("xmllint" ,libxml2)))
1700 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1701 ("gnutls" ,gnutls))) ;ditto
1702 (home-page "http://www.gnome.org/")
1703 (synopsis "Virtual Terminal Emulator")
1705 "VTE is a library (libvte) implementing a terminal emulator widget for
1706 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1707 gnome-terminal, but can also be used to embed a console/terminal in games,
1708 editors, IDEs, etc.")
1709 (license license:lgpl2.1+)))
1711 ;; stable version for gtk2, required by xfce4-terminal.
1712 (define-public vte/gtk+-2
1713 (package (inherit vte)
1718 (uri (string-append "mirror://gnome/sources/" name "/"
1719 (version-major+minor version) "/"
1720 name "-" version ".tar.xz"))
1723 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1725 '(#:configure-flags '("--disable-python")))
1727 `(("pkg-config" ,pkg-config)
1728 ("intltool" ,intltool)
1729 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1731 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1732 ("ncurses" ,ncurses))))) ; required by libvte.la
1734 (define-public dconf
1741 "mirror://gnome/sources/" name "/"
1742 (version-major+minor version) "/"
1743 name "-" version ".tar.xz"))
1745 (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa"))))
1746 (build-system glib-or-gtk-build-system)
1751 ("libxml2" ,libxml2)))
1753 `(("libxslt" ,libxslt)
1754 ("docbook-xml" ,docbook-xml-4.2)
1755 ("docbook-xsl" ,docbook-xsl)
1756 ("intltool" ,intltool)
1757 ("pkg-config" ,pkg-config)))
1759 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1760 ; or /etc/machine-id.
1762 ;; Set the correct RUNPATH in binaries.
1763 (list (string-append "LDFLAGS=-Wl,-rpath="
1764 (assoc-ref %outputs "out") "/lib")
1765 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1768 'configure 'fix-docbook
1769 (lambda* (#:key inputs #:allow-other-keys)
1770 (substitute* "docs/Makefile.in"
1771 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1772 (string-append (assoc-ref inputs "docbook-xsl")
1773 "/xml/xsl/docbook-xsl-"
1774 ,(package-version docbook-xsl)
1775 "/manpages/docbook.xsl")))
1776 (setenv "XML_CATALOG_FILES"
1777 (string-append (assoc-ref inputs "docbook-xml")
1778 "/xml/dtd/docbook/catalog.xml")))
1780 (home-page "https://developer.gnome.org/dconf")
1781 (synopsis "Low-level GNOME configuration system")
1782 (description "Dconf is a low-level configuration system. Its main purpose
1783 is to provide a backend to GSettings on platforms that don't already have
1784 configuration storage systems.")
1785 (license license:lgpl2.1)))
1787 (define-public json-glib
1793 (uri (string-append "mirror://gnome/sources/" name "/"
1794 (version-major+minor version) "/"
1795 name "-" version ".tar.xz"))
1798 "1k85vvb2prmk8aa8hmr2rp9rnbhffjgnmr18b13g24xxnqy5kww0"))
1799 (modules '((guix build utils)))
1801 ;; Don't duplicate test names.
1802 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1803 '(substitute* "json-glib/tests/builder.c"
1804 (("\"/builder/complex\", test_builder_empty")
1805 "\"/builder/empty\", test_builder_empty")))))
1806 (build-system gnu-build-system)
1808 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1809 ("gobject-introspection" ,gobject-introspection)
1810 ("pkg-config" ,pkg-config)))
1812 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1813 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1814 (synopsis "Compiler for the GObject type system")
1816 "JSON-GLib is a C library based on GLib providing serialization and
1817 deserialization support for the JavaScript Object Notation (JSON) format
1818 described by RFC 4627. It provides parser and generator GObject classes and
1819 various wrappers for the complex data types employed by JSON, such as arrays
1821 (license license:lgpl2.1+)))
1823 (define-public libxklavier
1825 (name "libxklavier")
1829 (uri (string-append "mirror://gnome/sources/" name "/"
1830 version "/" name "-" version ".tar.xz"))
1833 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1834 (build-system gnu-build-system)
1837 (list (string-append "--with-xkb-base="
1838 (assoc-ref %build-inputs "xkeyboard-config")
1839 "/share/X11/xkb"))))
1841 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1842 ("gobject-introspection" ,gobject-introspection)
1843 ("pkg-config" ,pkg-config)))
1845 ;; Required by libxklavier.pc.
1847 ("libxml2" ,libxml2)))
1849 `(("iso-codes" ,iso-codes)
1851 ("libxkbfile" ,libxkbfile)
1852 ("xkbcomp" ,xkbcomp)
1853 ("xkeyboard-config" ,xkeyboard-config)))
1854 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1855 (synopsis "High-level API for X Keyboard Extension")
1857 "LibXklavier is a library providing high-level API for X Keyboard
1858 Extension known as XKB. This library is intended to support XFree86 and other
1859 commercial X servers. It is useful for creating XKB-related software (layout
1861 (license license:lgpl2.0+)))
1863 (define-public python2-rsvg
1864 ;; XXX: This is actually a subset of gnome-python-desktop.
1866 (name "python2-rsvg")
1872 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1873 version ".tar.bz2"))
1876 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1877 (build-system gnu-build-system)
1879 `(("pkg-config" ,pkg-config)))
1881 `(("python" ,python-2)
1882 ("python2-pygtk" ,python2-pygtk)
1883 ("librsvg" ,librsvg)))
1884 (home-page "http://www.gnome.org")
1885 (synopsis "Python bindings to librsvg")
1887 "This packages provides Python bindings to librsvg, the SVG rendering
1890 ;; This is the license of the rsvg bindings. The license of each module
1891 ;; of gnome-python-desktop is given in 'COPYING'.
1892 (license license:lgpl2.1+)))
1894 (define-public glib-networking
1896 (name "glib-networking")
1900 (uri (string-append "mirror://gnome/sources/glib-networking/"
1901 (version-major+minor version) "/"
1902 name "-" version ".tar.xz"))
1905 "1cchmi08jpjypgmm9i7xzh5qfg2q5k61kry9ns8mhw3z44a440ym"))
1907 (list (search-patch "glib-networking-ssl-cert-file.patch")))))
1908 (build-system gnu-build-system)
1911 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
1913 (modify-phases %standard-phases
1914 (add-before 'configure 'patch-giomoduledir
1915 ;; Install GIO modules into $out/lib/gio/modules.
1917 (substitute* "configure"
1918 (("GIO_MODULE_DIR=.*")
1919 (string-append "GIO_MODULE_DIR=" %output
1920 "/lib/gio/modules\n")))))
1921 (add-before 'check 'use-empty-ssl-cert-file
1923 ;; The ca-certificates.crt is not available in the build
1925 (setenv "SSL_CERT_FILE" "/dev/null")
1928 `(("pkg-config" ,pkg-config)
1929 ("intltool" ,intltool)))
1933 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1934 ("p11-kit" ,p11-kit)))
1935 (home-page "http://www.gnome.org")
1936 (synopsis "Network-related GIO modules")
1938 "This package contains various network related extensions for the GIO
1940 (license license:lgpl2.0+)))
1948 (uri (string-append "mirror://gnome/sources/rest/"
1949 (version-major+minor version) "/"
1950 name "-" version ".tar.xz"))
1953 "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467"))))
1954 (build-system gnu-build-system)
1956 '(#:tests? #f ; tests require internet connection
1958 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
1960 `(("glib-mkenums" ,glib "bin")
1961 ("gobject-introspection" ,gobject-introspection)
1962 ("pkg-config" ,pkg-config)))
1964 ;; rest-0.7.pc refers to all these.
1966 ("libsoup" ,libsoup)
1967 ("libxml2" ,libxml2)))
1968 (home-page "http://www.gtk.org/")
1969 (synopsis "RESTful web api query library")
1971 "This library was designed to make it easier to access web services that
1972 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
1973 libxml to ease remote use of the RESTful API.")
1974 (license license:lgpl2.1+)))
1976 (define-public libsoup
1982 (uri (string-append "mirror://gnome/sources/libsoup/"
1983 (version-major+minor version) "/"
1984 name "-" version ".tar.xz"))
1987 "0j6cnnpqqgnb9nj2r0j8j6898np4z503hrnpis7b4l5d8yhbq68f"))))
1988 (build-system gnu-build-system)
1989 (outputs '("out" "doc"))
1992 (list (string-append "--with-html-dir="
1993 (assoc-ref %outputs "doc")
1994 "/share/gtk-doc/html"))
1996 (modify-phases %standard-phases
1997 (add-before 'configure 'disable-unconnected-socket-test
1998 ;; This test fails due to missing /etc/nsswitch.conf
1999 ;; in the build environment.
2001 (substitute* "tests/socket-test.c"
2002 ((".*/sockets/unconnected.*") ""))
2004 (add-before 'check 'pre-check
2006 ;; The 'check-local' target runs 'env LANG=C sort -u',
2007 ;; unset 'LC_ALL' to make 'LANG' working.
2009 ;; The ca-certificates.crt is not available in the build
2011 (setenv "SSL_CERT_FILE" "/dev/null")
2017 ;; Install vala bindings into $out.
2018 (string-append "vapidir=" %output
2022 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2023 ("gobject-introspection" ,gobject-introspection)
2024 ("intltool" ,intltool)
2025 ("pkg-config" ,pkg-config)
2026 ("python" ,python-wrapper)
2028 ;; These are needed for the tests.
2029 ;; FIXME: Add PHP once available.
2033 ;; libsoup-2.4.pc refers to all these.
2035 ("libxml2" ,libxml2)))
2037 `(("glib-networking" ,glib-networking)
2038 ("sqlite" ,sqlite)))
2039 (home-page "https://live.gnome.org/LibSoup/")
2040 (synopsis "GLib-based HTTP Library")
2042 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2043 and the GLib main loop, to integrate well with GNOME applications.")
2044 (license license:lgpl2.0+)))
2046 (define-public libsecret
2053 "mirror://gnome/sources/libsecret/" version "/"
2054 name "-" version ".tar.xz"))
2057 "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc"))))
2058 (build-system gnu-build-system)
2059 (outputs '("out" "doc"))
2061 `(#:tests? #f ; FIXME: Testing hangs.
2063 (list (string-append "--with-html-dir="
2064 (assoc-ref %outputs "doc")
2065 "/share/gtk-doc/html"))))
2067 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2068 ("gobject-introspection" ,gobject-introspection)
2069 ("intltool" ,intltool)
2070 ("pkg-config" ,pkg-config)
2072 ("xsltproc" ,libxslt)))
2073 ;; These are needed for the tests.
2074 ;; FIXME: Add gjs once available.
2076 ;("python2" ,python-2)
2077 ;("python2-dbus" ,python2-dbus)
2078 ;("python2-pygobject" ,python2-pygobject)
2079 ;("python2-pygobject-2" ,python2-pygobject-2)))
2081 `(("glib" ,glib))) ; required by libsecret-1.pc
2083 `(("docbook-xsl" ,docbook-xsl)
2084 ("libgcrypt" ,libgcrypt)
2085 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2086 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2087 (synopsis "GObject bindings for \"Secret Service\" API")
2089 "Libsecret is a GObject based library for storing and retrieving passwords
2090 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2091 (license license:lgpl2.1+)))
2093 (define-public gnome-mines
2095 (name "gnome-mines")
2100 (uri (string-append "mirror://gnome/sources/" name "/"
2101 (version-major+minor version) "/"
2102 name "-" version ".tar.xz"))
2105 "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx"))))
2106 (build-system glib-or-gtk-build-system)
2109 (modify-phases %standard-phases
2110 (add-before 'configure 'patch-/bin/true
2112 (substitute* "configure"
2113 (("/bin/true") (which "true")))))
2114 (add-after 'install 'wrap-pixbuf
2115 ;; Use librsvg's loaders.cache to support SVG files.
2116 (lambda* (#:key inputs outputs #:allow-other-keys)
2117 (let* ((out (assoc-ref outputs "out"))
2118 (prog (string-append out "/bin/gnome-mines"))
2119 (rsvg (assoc-ref inputs "librsvg"))
2120 (pixbuf (find-files rsvg "^loaders\\.cache$")))
2122 `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf))))))))
2124 `(("pkg-config" ,pkg-config)
2125 ("desktop-file-utils" ,desktop-file-utils)
2126 ("intltool" ,intltool)
2127 ("itstool" ,itstool)
2128 ("xmllint" ,libxml2)))
2131 ("librsvg" ,librsvg)))
2132 (home-page "https://wiki.gnome.org/Apps/Mines")
2133 (synopsis "Minesweeper game")
2135 "Mines (previously gnomine) is a puzzle game where you locate mines
2136 floating in an ocean using only your brain and a little bit of luck.")
2137 (license license:gpl2+)))
2139 (define-public gnome-terminal
2141 (name "gnome-terminal")
2146 (uri (string-append "mirror://gnome/sources/" name "/"
2147 (version-major+minor version) "/"
2148 name "-" version ".tar.xz"))
2151 "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd"))))
2152 (build-system glib-or-gtk-build-system)
2155 (list "--disable-migration" "--disable-search-provider"
2156 "--without-nautilus-extension")
2158 (modify-phases %standard-phases
2159 (add-before 'configure 'patch-/bin/true
2161 (substitute* "configure"
2162 (("/bin/true") (which "true"))))))))
2164 `(("pkg-config" ,pkg-config)
2165 ("desktop-file-utils" ,desktop-file-utils)
2166 ("intltool" ,intltool)
2167 ("itstool" ,itstool)
2168 ("xmllint" ,libxml2)))
2170 `(("dconf" ,dconf)))
2175 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2176 ("util-linux" ,util-linux)
2178 (home-page "https://wiki.gnome.org/Apps/Terminal")
2179 (synopsis "Terminal emulator")
2181 "GNOME Terminal is a terminal emulator application for accessing a
2182 UNIX shell environment which can be used to run programs available on
2185 It supports several profiles, multiple tabs and implements several
2186 keyboard shortcuts.")
2187 (license license:gpl3+)))
2189 (define-public colord
2196 (uri (string-append "http://www.freedesktop.org/software/colord/releases/"
2197 name "-" version ".tar.xz"))
2200 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2201 (build-system glib-or-gtk-build-system)
2203 '(;; The tests want to run valgrind. Punt for now.
2205 #:configure-flags (list "--localstatedir=/var"
2206 ;; GUSB not packaged yet.
2208 ;; No dep on systemd.
2209 "--disable-systemd-login"
2210 ;; Wants to install to global completion dir;
2212 "--disable-bash-completion"
2213 ;; colord-gtk not packaged yet.
2214 "--disable-session-example"
2215 "--with-daemon-user=colord"
2217 (string-append "--with-udevrulesdir="
2218 (assoc-ref %outputs "out")
2219 "/lib/udev/rules.d"))
2221 (modify-phases %standard-phases
2222 (add-before 'configure 'patch-/bin/true
2224 (substitute* "configure"
2225 (("/bin/true") (which "true")))
2226 (substitute* "src/Makefile.in"
2227 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2228 "if test -w $(DESTDIR)$(localstatedir);")))))))
2230 `(("pkg-config" ,pkg-config)
2231 ("gobject-introspection" ,gobject-introspection)
2232 ("libtool" ,libtool)
2233 ("intltool" ,intltool)))
2235 ;; colord.pc refers to all these.
2240 `(("dbus-glib" ,dbus-glib)
2241 ("libgudev" ,libgudev)
2245 ("sane-backends" ,sane-backends)))
2246 (home-page "http://www.freedesktop.org/software/colord/")
2247 (synopsis "Color management service")
2248 (description "Colord is a system service that makes it easy to manage,
2249 install and generate color profiles to accurately color manage input and
2251 (license license:gpl2+)))
2253 (define-public geoclue
2260 (uri (string-append "http://www.freedesktop.org/software/" name
2261 "/releases/" (version-major+minor version) "/"
2262 name "-" version ".tar.xz"))
2265 "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454"))
2266 (patches (list (search-patch "geoclue-config.patch")))))
2267 (build-system glib-or-gtk-build-system)
2269 '(;; The tests want to run the system bus.
2271 #:configure-flags (list ;; Disable bits requiring ModemManager.
2272 "--disable-3g-source"
2273 "--disable-cdma-source"
2274 "--disable-modem-gps-source"
2275 "--with-dbus-service-user=geoclue")
2277 (modify-phases %standard-phases
2278 (add-before 'configure 'patch-/bin/true
2280 (substitute* "configure"
2281 (("/bin/true") (which "true"))))))))
2283 `(("pkg-config" ,pkg-config)
2284 ("intltool" ,intltool)))
2287 ("json-glib" ,json-glib)
2288 ("libsoup" ,libsoup)))
2289 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2290 (synopsis "Geolocation service")
2291 (description "Geoclue is a D-Bus service that provides location
2292 information. The primary goal of the Geoclue project is to make creating
2293 location-aware applications as simple as possible, while the secondary goal is
2294 to ensure that no application can access location information without explicit
2295 permission from user.")
2296 (license license:gpl2+)))
2298 (define-public geocode-glib
2300 (name "geocode-glib")
2304 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2305 (version-major+minor version) "/"
2306 name "-" version ".tar.xz"))
2309 "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj"))))
2310 (build-system gnu-build-system)
2312 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2313 ;; work for the builder. Punt.
2316 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2317 ("gobject-introspection" ,gobject-introspection)
2318 ("pkg-config" ,pkg-config)
2319 ("json-glib" ,json-glib)))
2321 ;; geocode-glib-1.0.pc refers to GIO.
2324 `(("libsoup" ,libsoup)))
2325 (home-page "https://github.com/GNOME/geocode-glib/")
2326 (synopsis "Geocoding and reverse-geocoding library")
2328 "geocode-glib is a convenience library for geocoding (finding longitude,
2329 and latitude from an address) and reverse geocoding (finding an address from
2330 coordinates) using the Nominatim service. geocode-glib caches requests for
2331 faster results and to avoid unnecessary server load.")
2332 (license license:lgpl2.0+)))
2334 (define-public upower
2340 (uri (string-append "http://upower.freedesktop.org/releases/"
2341 name "-" version ".tar.xz"))
2344 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2345 (patches (list (search-patch "upower-builddir.patch")))))
2346 (build-system glib-or-gtk-build-system)
2348 '( ;; The tests want to contact the system bus, which can't be done in the
2349 ;; build environment. The integration test can run, but the last of
2350 ;; the up-self-tests doesn't. Disable tests for now.
2352 #:configure-flags (list "--localstatedir=/var"
2353 (string-append "--with-udevrulesdir="
2354 (assoc-ref %outputs "out")
2355 "/lib/udev/rules.d"))
2357 (modify-phases %standard-phases
2358 (add-before 'configure 'patch-/bin/true
2360 (substitute* "configure"
2361 (("/bin/true") (which "true")))))
2362 (add-before 'configure 'patch-integration-test
2364 (substitute* "src/linux/integration-test"
2365 (("/usr/bin/python3") (which "python3"))))))))
2367 `(("gobject-introspection" ,gobject-introspection)
2368 ("pkg-config" ,pkg-config)
2369 ("intltool" ,intltool)
2370 ("python" ,python)))
2372 `(("dbus-glib" ,dbus-glib)
2373 ("libgudev" ,libgudev)
2374 ("libusb" ,libusb)))
2375 (home-page "http://upower.freedesktop.org/")
2376 (synopsis "System daemon for managing power devices")
2378 "UPower is an abstraction for enumerating power devices,
2379 listening to device events and querying history and statistics. Any
2380 application or service on the system can access the org.freedesktop.UPower
2381 service via the system message bus.")
2382 (license license:gpl2+)))
2384 (define-public libgweather
2386 (name "libgweather")
2390 (uri (string-append "mirror://gnome/sources/" name "/"
2391 (version-major+minor version) "/"
2392 name "-" version ".tar.xz"))
2395 "1l3sra84k5dnavbdbjyf1ar84xmjszpnnldih6mf45kniwpjkcll"))))
2396 (build-system gnu-build-system)
2399 `(,(string-append "--with-zoneinfo-dir="
2400 (assoc-ref %build-inputs "tzdata")
2403 (modify-phases %standard-phases
2406 (lambda* (#:key inputs #:allow-other-keys)
2407 (substitute* "data/check-timezones.sh"
2408 (("/usr/share/zoneinfo/zone.tab")
2409 (string-append (assoc-ref inputs "tzdata")
2410 "/share/zoneinfo/zone.tab")))
2413 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2414 ("gobject-introspection" ,gobject-introspection)
2415 ("pkg-config" ,pkg-config)
2416 ("intltool" ,intltool)))
2418 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2421 ("gdk-pixbuf" ,gdk-pixbuf)
2422 ("libxml2" ,libxml2)
2423 ("libsoup" ,libsoup)))
2425 `(("tzdata" ,tzdata)
2426 ("geocode-glib" ,geocode-glib)))
2427 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2428 (synopsis "Location, time zone, and weather library for GNOME")
2430 "libgweather is a library to access weather information from online
2431 services for numerous locations.")
2432 (license license:gpl2+)))
2434 (define-public gnome-settings-daemon
2436 (name "gnome-settings-daemon")
2441 (uri (string-append "mirror://gnome/sources/" name "/"
2442 (version-major+minor version) "/"
2443 name "-" version ".tar.xz"))
2446 "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3"))))
2447 (build-system glib-or-gtk-build-system)
2449 `(;; Network manager not yet packaged.
2450 #:configure-flags '("--disable-network-manager")
2451 ;; Color management test can't reach the colord system service.
2454 `(("pkg-config" ,pkg-config)
2455 ("intltool" ,intltool)
2456 ("xsltproc" ,libxslt)
2457 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2458 ("docbook-xml" ,docbook-xml-4.2)
2459 ("docbook-xsl" ,docbook-xsl)))
2461 `(("colord" ,colord)
2462 ("libgudev" ,libgudev)
2465 ("pulseaudio" ,pulseaudio)
2466 ("libcanberra" ,libcanberra)
2468 ("libxtst" ,libxtst)
2470 ("libnotify" ,libnotify)
2471 ("geoclue" ,geoclue)
2472 ("geocode-glib" ,geocode-glib)
2473 ("libgweather" ,libgweather)
2474 ("gnome-desktop" ,gnome-desktop)
2477 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2478 ("libwacom" ,libwacom)
2479 ("librsvg" ,librsvg)
2480 ("xf86-input-wacom" ,xf86-input-wacom)))
2481 (home-page "http://www.gnome.org")
2482 (synopsis "GNOME settings daemon")
2484 "This package contains the daemon responsible for setting the various
2485 parameters of a GNOME session and the applications that run under it. It
2486 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2487 settings, themes, mouse settings, and startup of other daemons.")
2488 (license license:gpl2+)))
2490 (define-public totem-pl-parser
2492 (name "totem-pl-parser")
2496 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2497 "totem-pl-parser-" version ".tar.xz"))
2500 "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7"))))
2501 (build-system gnu-build-system)
2503 ;; FIXME: Tests require gvfs.
2506 `(("intltool" ,intltool)
2507 ("glib" ,glib "bin")
2508 ("gobject-introspection" ,gobject-introspection)
2509 ("pkg-config" ,pkg-config)))
2513 ("libxml2" ,libxml2)))
2515 `(("libarchive" ,libarchive)
2516 ("libgcrypt" ,libgcrypt)
2518 ("libsoup" ,libsoup)))
2519 (home-page "https://projects.gnome.org/totem")
2520 (synopsis "Library to parse and save media playlists for GNOME")
2521 (description "Totem-pl-parser is a GObjects-based library to parse and save
2522 playlists in a variety of formats.")
2523 (license license:lgpl2.0+)))
2525 (define-public aisleriot
2531 (uri (string-append "mirror://gnome/sources/" name "/"
2532 (version-major+minor version) "/"
2533 name "-" version ".tar.xz"))
2536 "19k483x9dkq8vjbq8f333pk9qil64clpsfg20q8xk9bgmk38aj8h"))))
2537 (build-system glib-or-gtk-build-system)
2540 '("--with-platform=gtk-only"
2541 "--with-card-theme-formats=svg")))
2543 `(("desktop-file-utils" ,desktop-file-utils)
2544 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2545 ("intltool" ,intltool)
2546 ("itstool" ,itstool)
2547 ("pkg-config" ,pkg-config)
2548 ("xmllint" ,libxml2)))
2551 ("guile" ,guile-2.0)
2552 ("libcanberra" ,libcanberra)
2553 ("librsvg" ,librsvg)))
2554 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2555 (synopsis "Solitaire card games")
2557 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2558 which are easy to play with the aid of a mouse.")
2559 (license license:gpl3+)))
2561 (define-public devhelp
2567 (uri (string-append "mirror://gnome/sources/" name "/"
2568 (version-major+minor version) "/"
2569 name "-" version ".tar.xz"))
2572 "0i8kyh86hzwxs8dm047ivghl2b92vigdxa3x4pk4ha0whpk38g37"))))
2573 (build-system glib-or-gtk-build-system)
2575 `(("intltool" ,intltool)
2576 ("pkg-config" ,pkg-config)))
2578 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2579 ("webkitgtk" ,webkitgtk)))
2580 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2581 (synopsis "API documentation browser for GNOME")
2583 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2584 natively with GTK-Doc (the API reference system developed for GTK+ and used
2585 throughout GNOME for API documentation).")
2586 (license license:gpl2+)))
2595 (uri (string-append "mirror://gnome/sources/" name "/"
2596 (version-major+minor version) "/"
2597 name "-" version ".tar.xz"))
2600 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2601 (build-system gnu-build-system)
2603 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2604 ("gobject-introspection" ,gobject-introspection)
2605 ;;("xorg-server" ,xorg-server) ; for the test suite
2606 ("pkg-config" ,pkg-config)))
2609 ("gdk-pixbuf" ,gdk-pixbuf)
2611 ("libxext" ,libxext)
2612 ("libxfixes" ,libxfixes)
2613 ("libxdamage" ,libxdamage)
2614 ("libxcomposite" ,libxcomposite)
2615 ("libxrandr" ,libxrandr)))
2620 ("gstreamer" ,gstreamer)
2621 ("gst-plugins-base" ,gst-plugins-base)))
2623 `(#:configure-flags (list "--enable-cogl-gst"
2624 ;; Arrange to pass an absolute file name to
2625 ;; dlopen for libGL.so.
2626 (string-append "--with-gl-libname="
2627 (assoc-ref %build-inputs "mesa")
2629 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2630 ;; _FontTransOpen: Unable to Parse address
2631 ;; ${prefix}/share/fonts/X11/misc/
2635 (modify-phases %standard-phases
2636 (add-before 'check 'start-xorg-server
2637 (lambda* (#:key inputs #:allow-other-keys)
2638 ;; The test suite requires a running X server.
2639 (system (format #f "~a/bin/Xvfb :1 &"
2640 (assoc-ref inputs "xorg-server")))
2641 (setenv "DISPLAY" ":1")
2643 (home-page "http://www.cogl3d.org")
2644 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2646 "Cogl is a small library for using 3D graphics hardware to draw pretty
2647 pictures. The API departs from the flat state machine style of OpenGL and is
2648 designed to make it easy to write orthogonal components that can render
2649 without stepping on each others toes.")
2650 (license (list license:expat ; most of the code
2651 license:bsd-3 ; cogl/cogl-point-in-poly.c
2652 license:sgifreeb2.0 ; cogl-path/tesselator/
2653 license:asl2.0)))) ; examples/android/
2655 (define-public clutter
2662 (uri (string-append "mirror://gnome/sources/" name "/"
2663 (version-major+minor version) "/"
2664 name "-" version ".tar.xz"))
2667 "0qyd0cw17wi8gl6y9z2j2lh2gwghxskfmsdvw4ayrgxwnj6cjccn"))))
2668 (build-system gnu-build-system)
2670 "doc")) ;9 MiB of gtk-doc HTML pages
2672 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2673 ("gobject-introspection" ,gobject-introspection)
2674 ("pkg-config" ,pkg-config)
2675 ("xsltproc" ,libxslt)))
2681 ("json-glib" ,json-glib)
2683 ("libxcomposite" ,libxcomposite)
2684 ("libxdamage" ,libxdamage)
2685 ("libxext" ,libxext)
2686 ("xinput" ,xinput)))
2688 `(("libxkbcommon" ,libxkbcommon)
2691 `(#:configure-flags (list "--enable-x11-backend=yes"
2693 ;; This produces share/doc/{clutter,cally}.
2694 (string-append "--with-html-dir="
2695 (assoc-ref %outputs "doc")
2697 ;; XXX FIXME: Get test suite working. It would probably fail in the
2698 ;; same way the cogl tests fail, since clutter is based on cogl.
2700 (home-page "http://www.clutter-project.org")
2701 (synopsis "Open GL based interactive canvas library")
2703 "Clutter is an Open GL based interactive canvas library, designed for
2704 creating fast, mainly 2D single window applications such as media box UIs,
2705 presentations, kiosk style applications and so on.")
2706 (license license:lgpl2.0+)))
2708 (define-public clutter-gtk
2710 (name "clutter-gtk")
2715 (uri (string-append "mirror://gnome/sources/" name "/"
2716 (version-major+minor version) "/"
2717 name "-" version ".tar.xz"))
2720 "0k93hbf5d1970hs7vjddr3nnngygc7mxqbj474r3cdm0fjsm0dc8"))))
2721 (build-system gnu-build-system)
2723 `(("pkg-config" ,pkg-config)
2724 ("gobject-introspection" ,gobject-introspection)))
2726 `(("clutter" ,clutter)
2728 (home-page "http://www.clutter-project.org")
2729 (synopsis "Open GL based interactive canvas library GTK+ widget")
2731 "Clutter is an Open GL based interactive canvas library, designed for
2732 creating fast, mainly 2D single window applications such as media box UIs,
2733 presentations, kiosk style applications and so on.")
2734 (license license:lgpl2.0+)))
2736 (define-public clutter-gst
2738 (name "clutter-gst")
2743 (uri (string-append "mirror://gnome/sources/" name "/"
2744 (version-major+minor version) "/"
2745 name "-" version ".tar.xz"))
2748 "0xnzfdzawl1kdx715gp31nwjp7a1kib094s7xvg7bhbwwlx4kmfn"))))
2749 (build-system gnu-build-system)
2751 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2752 ("pkg-config" ,pkg-config)
2753 ("gobject-introspection" ,gobject-introspection)))
2755 `(("clutter" ,clutter)
2756 ("gstreamer" ,gstreamer)
2757 ("gst-plugins-base" ,gst-plugins-base)))
2758 (home-page "http://www.clutter-project.org")
2759 (synopsis "Integration library for using GStreamer with Clutter")
2761 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2762 It provides a GStreamer sink to upload frames to GL and an actor that
2763 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2764 GL based interactive canvas library.")
2765 (license license:lgpl2.0+)))
2767 (define-public libchamplain
2769 (name "libchamplain")
2774 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2778 "019b8scnx7d3wdylmpk9ihzh06w25b63x9cn8nhj6kjx82rcwlxz"))))
2779 (build-system gnu-build-system)
2780 (native-inputs `(("pkg-config" ,pkg-config)))
2782 `(("libsoup" ,libsoup)
2784 ("clutter" ,clutter)
2785 ("clutter-gtk" ,clutter-gtk)
2786 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2790 (home-page "http://projects.gnome.org/libchamplain/")
2791 (synopsis "C library providing a ClutterActor to display maps")
2793 "libchamplain is a C library providing a ClutterActor to display maps.
2794 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2795 and Perl bindings are also available. It supports numerous free map sources
2796 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2797 (license license:lgpl2.1+)))
2806 (uri (string-append "mirror://gnome/sources/" name "/"
2807 (version-major+minor version) "/"
2808 name "-" version ".tar.xz"))
2811 "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr"))))
2812 (build-system gnu-build-system)
2814 `(("intltool" ,intltool)
2815 ("pkg-config" ,pkg-config)
2816 ("gobject-introspection" ,gobject-introspection)))
2819 ("gdk-pixbuf" ,gdk-pixbuf)
2820 ("sqlite" ,sqlite)))
2821 ;; XXX TODO: Figure out how to run the test suite.
2822 (arguments `(#:tests? #f))
2823 (home-page "https://wiki.gnome.org/Projects/Gom")
2824 (synopsis "Object mapper from GObjects to SQLite")
2826 "Gom provides an object mapper from GObjects to SQLite. It helps you
2827 write applications that need to store structured data as well as make complex
2828 queries upon that data.")
2829 (license license:lgpl2.1+)))
2831 (define-public gnome-klotski
2833 (name "gnome-klotski")
2837 (uri (string-append "mirror://gnome/sources/" name "/"
2838 (version-major+minor version) "/"
2839 name "-" version ".tar.xz"))
2842 "0a64935c7pp51jhaf29q9zlx3lamj7zrhyff7clvv0w8v1w6gpax"))))
2843 (build-system glib-or-gtk-build-system)
2845 `(("desktop-file-utils" ,desktop-file-utils)
2846 ("intltool" ,intltool)
2847 ("itstool" ,itstool)
2848 ("pkg-config" ,pkg-config)
2849 ("xmllint" ,libxml2)))
2852 ("librsvg" ,librsvg)))
2853 (home-page "https://wiki.gnome.org/Apps/Klotski")
2854 (synopsis "Sliding block puzzles")
2856 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2857 the patterned block to the area bordered by green markers. To do so, you will
2858 need to slide other blocks out of the way. Complete each puzzle in as few moves
2860 (license license:gpl2+)))
2862 (define-public grilo
2869 (uri (string-append "mirror://gnome/sources/" name "/"
2870 (version-major+minor version) "/"
2871 name "-" version ".tar.xz"))
2874 "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m"))))
2875 (build-system gnu-build-system)
2877 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2878 ("intltool" ,intltool)
2879 ("pkg-config" ,pkg-config)
2880 ("gobject-introspection" ,gobject-introspection)))
2884 ("libxml2" ,libxml2)
2885 ;; XXX TODO: Add oauth
2886 ("libsoup" ,libsoup)
2887 ("totem-pl-parser" ,totem-pl-parser)))
2890 (modify-phases %standard-phases
2891 (add-after 'unpack 'fix-introspection-install-dir
2892 (lambda* (#:key outputs #:allow-other-keys)
2893 (let ((out (assoc-ref outputs "out")))
2894 (substitute* '("src/Makefile.in"
2895 "libs/pls/Makefile.in"
2896 "libs/net/Makefile.in")
2897 (("@INTROSPECTION_GIRDIR@")
2898 (string-append out "/share/gir-1.0/"))
2899 (("@INTROSPECTION_TYPELIBDIR@")
2900 (string-append out "/lib/girepository-1.0/")))))))))
2901 (native-search-paths
2902 (list (search-path-specification
2903 (variable "GRL_PLUGIN_PATH")
2904 (files (list (string-append "lib/grilo-"
2905 (version-major+minor version)))))))
2906 (home-page "http://live.gnome.org/Grilo")
2907 (synopsis "Framework for discovering and browsing media")
2909 "Grilo is a framework focused on making media discovery and browsing easy
2910 for application developers.")
2911 (license license:lgpl2.1+)))
2913 (define-public grilo-plugins
2915 (name "grilo-plugins")
2920 (uri (string-append "mirror://gnome/sources/" name "/"
2921 (version-major+minor version) "/"
2922 name "-" version ".tar.xz"))
2925 "1aykhc679pwn2qxsg19g8nh9hffpsqkgxcbqq7lcfn2hcwb83wfh"))))
2926 (build-system gnu-build-system)
2928 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2929 ("intltool" ,intltool)
2930 ("itstool" ,itstool)
2931 ("pkg-config" ,pkg-config)))
2935 ("libxml2" ,libxml2)
2938 ;; XXX TODO: Add oauth
2939 ;; XXX TODO: Add goa
2940 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
2941 ;; XXX TODO: Add lua (needs help finding it)
2942 ("json-glib" ,json-glib)
2945 ("libsoup" ,libsoup)
2946 ("libarchive" ,libarchive)
2947 ("totem-pl-parser" ,totem-pl-parser)))
2949 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
2952 ,(version-major+minor version)))
2953 ;; XXX FIXME: Try to get the test suite working. It appears to require
2954 ;; a working system dbus. Inside the build container, all tests fail
2955 ;; with: "assertion failed: (source)". Outside of the build container,
2956 ;; most tests succeed.
2958 (home-page "http://live.gnome.org/Grilo")
2959 (synopsis "Plugins for the Grilo media discovery library")
2961 "Grilo is a framework focused on making media discovery and browsing easy
2962 for application developers.")
2963 (license license:lgpl2.1+)))
2965 (define-public totem
2972 (uri (string-append "mirror://gnome/sources/" name "/"
2973 (version-major+minor version) "/"
2974 name "-" version ".tar.xz"))
2977 "1nkm2i271ivq40hryrl6px39gbbvhmlx4vmvwvw4h3z8xh3013f9"))))
2978 (build-system glib-or-gtk-build-system)
2980 `(("pkg-config" ,pkg-config)
2981 ("desktop-file-utils" ,desktop-file-utils)
2982 ("gobject-introspection" ,gobject-introspection)
2983 ("intltool" ,intltool)
2984 ("itstool" ,itstool)
2985 ("xmllint" ,libxml2)))
2987 `(("dconf" ,dconf)))
2990 ("gdk-pixbuf" ,gdk-pixbuf)
2993 ("dbus-glib" ,dbus-glib)
2994 ("clutter" ,clutter)
2995 ("clutter-gtk" ,clutter-gtk)
2996 ("clutter-gst" ,clutter-gst)
2998 ("libxxf86vm" ,libxxf86vm)
2999 ("libxtst" ,libxtst)
3000 ("libxrandr" ,libxrandr)
3001 ("libxml2" ,libxml2)
3002 ("libsoup" ,libsoup)
3003 ("libpeas" ,libpeas)
3004 ("librsvg" ,librsvg)
3006 ("gnome-desktop" ,gnome-desktop)
3007 ("gstreamer" ,gstreamer)
3008 ("gst-plugins-base" ,gst-plugins-base)
3009 ("gst-plugins-good" ,gst-plugins-good)
3010 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3011 ("adwaita-icon-theme" ,adwaita-icon-theme)
3012 ;; XXX We use python-2 because libxml2 because itstool (which needs
3013 ;; libxml) currently uses python-2.
3014 ("python" ,python-2)
3015 ("python-pygobject" ,python2-pygobject)
3016 ;; XXX TODO pylint needed for python support
3017 ("totem-pl-parser" ,totem-pl-parser)
3019 ("grilo-plugins" ,grilo-plugins)
3024 (modify-phases %standard-phases
3026 'install 'wrap-totem
3027 (lambda* (#:key inputs outputs #:allow-other-keys)
3028 (let ((out (assoc-ref outputs "out"))
3029 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3030 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3031 (wrap-program (string-append out "/bin/totem")
3032 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3033 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3035 (home-page "https://wiki.gnome.org/Apps/Videos")
3036 (synopsis "Simple media player for GNOME based on GStreamer")
3037 (description "Totem is a simple yet featureful media player for GNOME
3038 which can read a large number of file formats.")
3039 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3040 ;; to be used and distributed together with GStreamer and Totem. See
3041 ;; file://COPYING in the source distribution for details.
3042 (license license:gpl2+)))
3044 (define-public rhythmbox
3050 (uri (string-append "mirror://gnome/sources/" name "/"
3051 (version-major+minor version) "/"
3052 name "-" version ".tar.xz"))
3055 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3056 (build-system glib-or-gtk-build-system)
3059 (list "--enable-lirc"
3066 (modify-phases %standard-phases
3068 'install 'wrap-rhythmbox
3069 (lambda* (#:key inputs outputs #:allow-other-keys)
3070 (let ((out (assoc-ref outputs "out"))
3071 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3072 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3073 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3074 (wrap-program (string-append out "/bin/rhythmbox")
3075 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3076 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3077 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3080 `(("dconf" ,dconf)))
3082 `(("itstool" ,itstool)
3083 ("intltool" ,intltool)
3084 ("glib" ,glib "bin")
3085 ("gobject-introspection" ,gobject-introspection)
3086 ("desktop-file-utils" ,desktop-file-utils)
3087 ("pkg-config" ,pkg-config)
3088 ("xmllint" ,libxml2)))
3090 `(("json-glib" ,json-glib)
3092 ("gnome-desktop" ,gnome-desktop)
3094 ("python-pygobject" ,python2-pygobject)
3098 ("adwaita-icon-theme" ,adwaita-icon-theme)
3100 ("grilo-plugins" ,grilo-plugins)
3101 ("gstreamer" ,gstreamer)
3102 ("gst-plugins-base" ,gst-plugins-base)
3103 ("gst-plugins-good" ,gst-plugins-good)
3104 ("totem-pl-parser" ,totem-pl-parser)
3105 ("libgudev" ,libgudev)
3106 ;;("libmtp" ,libmtp) FIXME: Not detected
3107 ("libsecret" ,libsecret)
3108 ("libsoup" ,libsoup)
3109 ("libnotify" ,libnotify)
3110 ("libpeas" ,libpeas)
3112 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3113 ;;("clutter" ,clutter)
3114 ;;("clutter-gtk" ,clutter-gtk)
3115 ;;("clutter-gst" ,clutter-gst)
3116 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3124 ("brasero" ,brasero)))
3125 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3126 (synopsis "Music player for GNOME")
3127 (description "Rhythmbox is a music playing application for GNOME. It
3128 supports playlists, song ratings, and any codecs installed through gstreamer.")
3129 (license license:gpl2+)))
3137 (uri (string-append "mirror://gnome/sources/" name "/"
3138 (version-major+minor version) "/"
3139 name "-" version ".tar.xz"))
3142 "0frw1b5jix9pffznav5s7ajjx91a8rv5lf4sjvjv3fw65mbnhbw0"))))
3143 (build-system glib-or-gtk-build-system)
3146 (modify-phases %standard-phases
3149 (lambda* (#:key outputs #:allow-other-keys)
3150 (let ((out (assoc-ref outputs "out"))
3151 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3152 (wrap-program (string-append out "/bin/eog")
3153 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3156 `(("dconf" ,dconf)))
3158 `(("intltool" ,intltool)
3159 ("itstool", itstool)
3160 ("glib" ,glib "bin")
3161 ("gobject-introspection" ,gobject-introspection)
3162 ("pkg-config" ,pkg-config)
3163 ("xmllint" ,libxml2)))
3165 `(("gnome-desktop" ,gnome-desktop)
3166 ("shared-mime-info" ,shared-mime-info)
3167 ("adwaita-icon-theme" ,adwaita-icon-theme)
3170 ("libexif" ,libexif)
3171 ("libpeas" ,libpeas)
3172 ("libjpeg" ,libjpeg)
3173 ("librsvg" ,librsvg)
3174 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3176 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3177 (synopsis "GNOME image viewer")
3178 (description "Eye of GNOME is the GNOME image viewer. It
3179 supports image conversion, rotation, and slideshows.")
3180 (license license:gpl2+)))
3182 (define-public libgudev
3188 (uri (string-append "mirror://gnome/sources/" name "/"
3189 version "/" name "-" version ".tar.xz"))
3192 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3193 (build-system gnu-build-system)
3195 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3196 ("gobject-introspection" ,gobject-introspection)
3197 ("pkg-config" ,pkg-config)))
3199 `(("glib" ,glib))) ; required by gudev-1.0.pc
3202 (home-page "https://wiki.gnome.org/Projects/libgudev")
3203 (synopsis "GObject bindings for libudev")
3205 "This library provides GObject bindings for libudev. It was originally
3206 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3207 (license license:lgpl2.1+)))
3215 (uri (string-append "mirror://gnome/sources/" name "/"
3216 (version-major+minor version) "/"
3217 name "-" version ".tar.xz"))
3220 "1ygiknnd24qgzds8wif3jns981mqr65lgjlxs5pw65cl3376g0yk"))))
3221 (build-system gnu-build-system)
3223 '(#:tests? #f)) ; XXX: requiring `pidof'
3225 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3226 ("intltool" ,intltool)
3227 ("pkg-config" ,pkg-config)
3228 ("xsltproc" ,libxslt)))
3231 ("docbook-xml" ,docbook-xml-4.2)
3232 ("docbook-xsl" ,docbook-xsl)
3236 ("libarchive" ,libarchive)
3237 ("libbluray" ,libbluray)
3238 ("libcdio-paranoia" ,libcdio-paranoia)
3239 ("libgcrypt" ,libgcrypt)
3240 ("libgphoto2" ,libgphoto2)
3241 ("libgudev" ,libgudev)
3243 ("libsecret" ,libsecret)
3244 ("libsmbclient" ,samba)
3245 ("libsoup" ,libsoup)
3246 ("libxml2" ,libxml2)
3247 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3248 ("udisks" ,udisks)))
3249 (home-page "https://wiki.gnome.org/gvfs/")
3250 (synopsis "Userspace virtual filesystem for GIO")
3252 "GVFS is a userspace virtual filesystem designed to work with the I/O
3253 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3254 to all applications using the GIO API. It also supports exposing the GVFS
3255 mounts to non-GIO applications using FUSE.
3257 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3259 (license license:lgpl2.0+)))
3267 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3269 (string-join (string-split version #\.)
3274 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3275 (build-system gnu-build-system)
3277 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3278 ("gobject-introspection" ,gobject-introspection)
3279 ("pkg-config" ,pkg-config)
3281 ("autoconf" ,autoconf)
3282 ("automake" ,automake)
3283 ("libtool" ,libtool)
3284 ("gtk-doc" ,gtk-doc)))
3286 ;; Both of these are required by gusb.pc.
3288 ("libusb" ,libusb)))
3290 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3292 (modify-phases %standard-phases
3293 (add-after 'unpack 'autogen
3295 (and (zero? (system* "gtkdocize"))
3296 (zero? (system* "autoreconf" "-vif"))))))))
3297 (home-page "https://github/hughsie/libgusb")
3298 (synopsis "GLib binding for libusb1")
3300 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3301 asynchronous control, bulk and interrupt transfers with proper cancellation
3302 and integration into a mainloop. This makes it easy to integrate low level
3303 USB transfers with your high-level application or system daemon.")
3304 (license license:lgpl2.1+)))
3306 (define-public simple-scan
3308 (name "simple-scan")
3312 (uri (string-append "https://launchpad.net/simple-scan/"
3313 (version-major+minor version) "/"
3314 version "/+download/simple-scan-"
3318 "1pslbv45g01g039zj2b01k08f763kkhzqw8wwz7yh27m7bjllnx6"))))
3319 (build-system glib-or-gtk-build-system)
3324 ("gdk-pixbuf" ,gdk-pixbuf)
3326 ("libgudev" ,libgudev)
3327 ("libsane" ,sane-backends)))
3329 `(("intltool" ,intltool)
3330 ("itstool" ,itstool)
3332 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3333 ("pkg-config" ,pkg-config)
3335 ("xmllint" ,libxml2)))
3336 (home-page "https://launchpad.net/simple-scan")
3337 (synopsis "Document and image scanner")
3338 (description "Simple Scan is an easy-to-use application, designed to let
3339 users connect their scanner and quickly have the image/document in an
3340 appropriate format. Simple Scan is basically a frontend for SANE - which is
3341 the same backend as XSANE uses. This means that all existing scanners will
3342 work and the interface is well tested.")
3343 (license license:gpl3+)))
3345 (define-public epiphany
3351 (uri (string-append "mirror://gnome/sources/" name "/"
3352 (version-major+minor version) "/"
3353 name "-" version ".tar.xz"))
3356 "1cch4c7gh6lq1i4g0gs39qa2csl4i8a3pcdfapcj5v3r0xvz29ym"))))
3357 (build-system glib-or-gtk-build-system)
3359 ;; FIXME: tests run under Xvfb, but fail with:
3360 ;; /src/bookmarks/ephy-bookmarks/create:
3361 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3366 `(("dconf" ,dconf)))
3368 `(("intltool" ,intltool)
3369 ("itstool" ,itstool)
3370 ("pkg-config" ,pkg-config)
3371 ("xmllint" ,libxml2)))
3375 ("glib-networking" ,glib-networking)
3376 ("gnome-desktop" ,gnome-desktop)
3377 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3378 ("iso-codes" ,iso-codes)
3379 ("libnotify" ,libnotify)
3380 ("libsecret" ,libsecret)
3381 ("libwnck" ,libwnck)
3382 ("libxslt" ,libxslt)
3385 ("webkitgtk" ,webkitgtk)))
3386 (home-page "https://wiki.gnome.org/Apps/Web")
3387 (synopsis "GNOME web browser")
3389 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3390 principles are simplicity and standards compliance.")
3391 (license license:gpl2+)))
3393 (define-public d-feet
3399 (uri (string-append "mirror://gnome/sources/" name "/"
3400 (version-major+minor version) "/"
3401 name "-" version ".tar.xz"))
3404 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3405 (build-system glib-or-gtk-build-system)
3407 '(#:out-of-source? #f ; tests need to run in the source directory.
3409 (modify-phases %standard-phases
3413 ;; The test suite requires a running X server.
3414 (system "Xvfb :1 &")
3415 (setenv "DISPLAY" ":1")
3416 ;; Don't fail on missing '/etc/machine-id'.
3417 (setenv "DBUS_FATAL_WARNINGS" "0")
3418 ;; tests.py and window.py don't meet E402:
3419 ;; E402 module level import not at top of file
3420 (substitute* "src/tests/Makefile"
3421 (("--ignore=E123") "--ignore=E123,E402"))
3424 'install 'wrap-program
3425 (lambda* (#:key outputs #:allow-other-keys)
3426 (let ((prog (string-append (assoc-ref outputs "out")
3429 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3430 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3433 `(("intltool" ,intltool)
3434 ("itstool" ,itstool)
3435 ("pkg-config" ,pkg-config)
3436 ("python-pep8" ,python-pep8)
3437 ("xmllint" ,libxml2)
3438 ("xorg-server" ,xorg-server)))
3440 `(("gobject-introspection" ,gobject-introspection)
3442 ("python" ,python-wrapper)
3443 ("python-pygobject" ,python-pygobject)))
3444 (home-page "https://wiki.gnome.org/Apps/DFeet")
3445 (synopsis "D-Bus debugger")
3447 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3448 of running programs and invoke methods on those interfaces.")
3449 (license license:gpl2+)))
3451 (define-public yelp-xsl
3457 (uri (string-append "mirror://gnome/sources/" name "/"
3458 (version-major+minor version) "/"
3459 name "-" version ".tar.xz"))
3462 "0jhpni4mmfvj3xf57rjm61nc8d0x66hz9gd1ywws5lh39g6fx59j"))))
3463 (build-system gnu-build-system)
3465 `(("intltool" ,intltool)
3466 ("itstool" ,itstool)
3467 ("xmllint" ,libxml2)))
3468 (home-page "https://wiki.gnome.org/Apps/Yelp")
3469 (synopsis "XSL stylesheets for Yelp")
3471 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3472 to format Docbook and Mallard documents.")
3473 (license license:gpl2+)))
3481 (uri (string-append "mirror://gnome/sources/" name "/"
3482 (version-major+minor version) "/"
3483 name "-" version ".tar.xz"))
3486 "1jk7aad1srykhgc3x0hd3q3dnlshmy1ak00alwjzaasxvy6hp0b0"))))
3487 (build-system glib-or-gtk-build-system)
3489 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3490 ("intltool" ,intltool)
3491 ("itstool" ,itstool)
3492 ("pkg-config" ,pkg-config)))
3494 `(("dconf" ,dconf)))
3496 `(("libxslt" ,libxslt)
3498 ("webkitgtk" ,webkitgtk-2.4)
3499 ("yelp-xsl" ,yelp-xsl)
3500 ;; XXX: need by libwebkitgtk-3.0.la.
3501 ("icu4c" ,(@ (gnu packages icu4c) icu4c))))
3502 (home-page "https://wiki.gnome.org/Apps/Yelp")
3503 (synopsis "GNOME help browser")
3505 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3506 man, info, and HTML documents. It can locate documents according to the
3507 freedesktop.org help system specification.")
3508 (license license:gpl2+)))
3510 (define-public yelp-tools
3516 (uri (string-append "mirror://gnome/sources/" name "/"
3517 (version-major+minor version) "/"
3518 name "-" version ".tar.xz"))
3521 "177qzvj5w019isdp41qxqcys2kc4sq2x6dqhqn6l9ipib8a6rxml"))))
3522 (build-system gnu-build-system)
3524 `(("pkg-config" ,pkg-config)))
3526 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3527 `(("itstool" ,itstool)
3528 ("xmllint" ,libxml2)
3529 ("xsltproc" ,libxslt)))
3531 `(("yelp-xsl" ,yelp-xsl)))
3532 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3533 (synopsis "Yelp documentation tools")
3535 "Yelp-tools is a collection of scripts and build utilities to help create,
3536 manage, and publish documentation for Yelp and the web. Most of the heavy
3537 lifting is done by packages like yelp-xsl and itstool. This package just
3538 wraps things up in a developer-friendly way.")
3539 (license license:gpl2+)))
3541 (define-public libgee
3547 (uri (string-append "mirror://gnome/sources/" name "/"
3548 (version-major+minor version) "/"
3549 name "-" version ".tar.xz"))
3552 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3553 (build-system gnu-build-system)
3556 (modify-phases %standard-phases
3557 (add-after 'unpack 'fix-introspection-install-dir
3558 (lambda* (#:key outputs #:allow-other-keys)
3559 (let ((out (assoc-ref outputs "out")))
3560 (substitute* "gee/Makefile.in"
3561 (("@INTROSPECTION_GIRDIR@")
3562 (string-append out "/share/gir-1.0/"))
3563 (("@INTROSPECTION_TYPELIBDIR@")
3564 (string-append out "/lib/girepository-1.0/")))))))))
3566 `(("glib" ,glib "bin")
3567 ("pkg-config" ,pkg-config)))
3570 ("gobject-introspection" ,gobject-introspection)))
3571 (home-page "https://wiki.gnome.org/Projects/Libgee")
3572 (synopsis "GObject collection library")
3574 "Libgee is a utility library providing GObject-based interfaces and
3575 classes for commonly used data structures.")
3576 (license license:lgpl2.1+)))
3578 (define-public gexiv2
3584 (uri (string-append "mirror://gnome/sources/" name "/"
3585 (version-major+minor version) "/"
3586 name "-" version ".tar.xz"))
3589 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3590 (build-system gnu-build-system)
3592 `(("glib" ,glib "bin")
3593 ("pkg-config" ,pkg-config)))
3595 ;; Listed in "Requires" section of gexiv2.pc
3596 `(("exiv2" ,exiv2)))
3599 ("gobject-introspection" ,gobject-introspection)))
3600 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3601 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3603 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3604 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3605 metadata in photo and video files of various formats.")
3606 (license license:gpl2+)))
3608 (define-public shotwell
3614 (uri (string-append "mirror://gnome/sources/" name "/"
3615 (version-major+minor version) "/"
3616 name "-" version ".tar.xz"))
3619 "0cgqaaikrb10plhf6zxbgqy32zqpiwyi9dpx3g8yr261q72r5c81"))))
3620 (build-system glib-or-gtk-build-system)
3622 `(#:tests? #f ;no "check" target
3623 #:make-flags '("CC=gcc")
3624 #:configure-flags '("--disable-gsettings-convert-install")
3625 #:out-of-source? #f))
3627 `(("pkg-config" ,pkg-config)
3628 ("gettext" ,gnu-gettext)
3630 ("desktop-file-utils" ,desktop-file-utils)
3633 ("gnome-doc-utils" ,gnome-doc-utils)
3634 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3635 ;; runtime. It should be propagated.
3636 ("python2-libxml2" ,python2-libxml2)
3637 ("python2" ,python-2)))
3639 `(("gstreamer" ,gstreamer)
3640 ("gst-plugins-base" ,gst-plugins-base)
3641 ("gst-plugins-good" ,gst-plugins-good)
3645 ("json-glib" ,json-glib)
3647 ("webkitgtk" ,webkitgtk-2.4)
3649 ("libsoup" ,libsoup)
3650 ("libxml2" ,libxml2)
3652 ("libgudev" ,libgudev)
3653 ("libgphoto2" ,libgphoto2)))
3654 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3655 (synopsis "Photo manager for GNOME 3")
3657 "Shotwell is a digital photo manager designed for the GNOME desktop
3658 environment. It allows you to import photos from disk or camera, organize
3659 them by keywords and events, view them in full-window or fullscreen mode, and
3660 share them with others via social networking and more.")
3661 (license license:lgpl2.1+)))
3663 (define-public file-roller
3665 (name "file-roller")
3669 (uri (string-append "mirror://gnome/sources/" name "/"
3670 (version-major+minor version) "/"
3671 name "-" version ".tar.xz"))
3674 "04sg4yzz4c3hzgxhbgx2dc36lq5hjrnrmal2q0amfvhl0jcvp2fq"))))
3675 (build-system glib-or-gtk-build-system)
3677 `(("intltool" ,intltool)
3678 ("pkg-config" ,pkg-config)))
3679 ;; TODO: Add libnautilus.
3682 ("gdk-pixbuf" ,gdk-pixbuf)
3683 ("json-glib" ,json-glib)
3684 ("libarchive" ,libarchive)
3685 ("libnotify" ,libnotify)
3687 ("itstool" ,itstool)
3688 ("libxml2" ,libxml2)))
3689 (synopsis "Graphical archive manager for GNOME")
3690 (description "File Roller is an archive manager for the GNOME desktop
3691 environment that allows users to view, unpack, and create compressed archives
3692 such as gzip tarballs.")
3693 (home-page "http://fileroller.sourceforge.net/")
3694 (license license:gpl2+)))
3696 (define-public gnome-session
3698 (name "gnome-session")
3699 (version "3.18.1.2")
3702 (uri (string-append "mirror://gnome/sources/" name "/"
3703 (version-major+minor version) "/"
3704 name "-" version ".tar.xz"))
3707 "0icajbzqf5llvp5s8nafwkhwz6a6jmwn4hhs81bk0bpzawyq4zdk"))))
3708 (build-system gnu-build-system)
3710 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3711 ("pkg-config" ,pkg-config)
3712 ("intltool" ,intltool)
3713 ("xsltproc" ,libxslt)))
3715 `(("gnome-desktop" ,gnome-desktop)
3717 ("json-glib" ,json-glib)
3719 ("libxcomposite" ,libxcomposite)
3720 ("libxtst" ,libxtst)
3723 ("xtrans" ,xtrans)))
3724 (synopsis "Session manager for GNOME")
3726 "This package contains the GNOME session manager, as well as a
3727 configuration program to choose applications starting on login.")
3728 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3729 (license license:gpl2+)))
3737 (uri (string-append "mirror://gnome/sources/" name "/"
3738 (version-major+minor version) "/"
3739 name "-" version ".tar.xz"))
3742 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3743 (modules '((guix build utils)))
3744 (snippet '(substitute* "test/run-with-dbus"
3745 (("/bin/rm") "rm")))))
3746 (build-system gnu-build-system)
3749 (modify-phases %standard-phases
3753 ;; For the missing /etc/machine-id.
3754 (setenv "DBUS_FATAL_WARNINGS" "0")
3757 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3758 ("pkg-config" ,pkg-config)
3759 ("xmllint" ,libxml2)
3761 ("dbus-launch" ,dbus)
3762 ("uuidgen" ,util-linux)
3763 ("xvfb" ,xorg-server)))
3765 ;; These are all in the Requires.private field of gjs-1.0.pc.
3766 `(("gobject-introspection" ,gobject-introspection)
3767 ("mozjs" ,mozjs-24)))
3770 ("readline" ,readline)))
3771 (synopsis "Javascript bindings for GNOME")
3772 (home-page "http://live.gnome.org/Gjs")
3774 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
3775 javascript engine and the GObject introspection framework.")
3776 (license license:gpl2+)))
3778 (define-public gedit
3784 (uri (string-append "mirror://gnome/sources/" name "/"
3785 (version-major+minor version) "/"
3786 name "-" version ".tar.xz"))
3789 "1kb3hglcppap7fdy7i7w2wk746kfz77jzs2lq6vrna8a3fqaxmas"))))
3790 (build-system glib-or-gtk-build-system)
3793 (modify-phases %standard-phases
3795 'install 'wrap-gedit
3796 (lambda* (#:key inputs outputs #:allow-other-keys)
3797 (let ((out (assoc-ref outputs "out"))
3798 (gtksourceview (assoc-ref inputs "gtksourceview"))
3799 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3800 (wrap-program (string-append out "/bin/gedit")
3801 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3802 ;; For language-specs.
3803 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
3807 `(("dconf" ,dconf)))
3809 `(("intltool" ,intltool)
3810 ("itstool", itstool)
3811 ("gobject-introspection" ,gobject-introspection)
3812 ("pkg-config" ,pkg-config)))
3816 ("gtksourceview" ,gtksourceview)
3817 ("libpeas" ,libpeas)
3818 ("libxml2" ,libxml2)
3819 ("enchant" ,enchant)
3820 ("iso-codes" ,iso-codes)
3821 ("python-pygobject" ,python-pygobject)
3823 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3826 ("adwaita-icon-theme" ,adwaita-icon-theme)
3827 ("libsoup" ,libsoup)
3828 ("gnome-desktop" ,gnome-desktop)))
3829 (home-page "https://wiki.gnome.org/Apps/Gedit")
3830 (synopsis "GNOME text editor")
3831 (description "While aiming at simplicity and ease of use, gedit is a
3832 powerful general purpose text editor.")
3833 (license license:gpl2+)))
3835 (define-public zenity
3838 (version "3.18.1.1")
3841 (uri (string-append "mirror://gnome/sources/" name "/"
3842 (version-major+minor version) "/"
3843 name "-" version ".tar.xz"))
3846 "02m88dfm1rziqk2ywakwib06wl1rxangbzih6cp8wllbyl1plcg6"))))
3847 (build-system gnu-build-system)
3849 `(("gettext" ,gnu-gettext)
3850 ("itstool" ,itstool)
3851 ("pkg-config" ,pkg-config)))
3853 `(("libnotify" ,libnotify)
3854 ("webkitgtk" ,webkitgtk)))
3855 (synopsis "Display graphical dialog boxes from shell scripts")
3856 (home-page "http://www.gnome.org")
3858 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
3859 to display dialog boxes from the commandline and shell scripts.")
3860 (license license:lgpl2.0+)))
3862 (define-public mutter
3868 (uri (string-append "mirror://gnome/sources/" name "/"
3869 (version-major+minor version) "/"
3870 name "-" version ".tar.xz"))
3873 "1ab959z5fgi4rq0ifxdqvpdbv99a2b1lfgvj327s9crdvk4ygpjg"))))
3874 (build-system gnu-build-system)
3877 ;; XXX: build fails with [-Werror]:
3878 ;; backends/meta-cursor-renderer.c:112:5: error:
3879 ;; implicit declaration of function ?roundf?
3880 '("--enable-compile-warnings=minimum")))
3882 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3883 ("gobject-introspection" ,gobject-introspection)
3884 ("intltool" ,intltool)
3885 ("pkg-config" ,pkg-config)))
3887 ;; libmutter.pc refers to all these.
3888 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3890 ("clutter" ,clutter)))
3892 `(("gnome-desktop" ,gnome-desktop)
3893 ("libcanberra-gtk" ,libcanberra)
3896 ("libxkbcommon" ,libxkbcommon)
3897 ("libxkbfile" ,libxkbfile)
3898 ("mesa-headers" ,mesa-headers)
3899 ("startup-notification" ,startup-notification)
3900 ("upower-glib" ,upower)
3901 ("xkeyboard-config" ,xkeyboard-config)
3902 ("zenity" ,zenity)))
3903 (synopsis "Window and compositing manager")
3904 (home-page "http://www.gnome.org")
3906 "Mutter is a window and compositing manager that displays and manages your
3907 desktop via OpenGL. Mutter combines a sophisticated display engine using the
3908 Clutter toolkit with solid window-management logic inherited from the Metacity
3910 (license license:gpl2+)))
3912 (define-public gnome-online-accounts
3914 (name "gnome-online-accounts")
3918 (uri (string-append "mirror://gnome/sources/" name "/"
3919 (version-major+minor version) "/"
3920 name "-" version ".tar.xz"))
3923 "1hn2fvkr1f4qh4gix03avnvk7pklvv5272ns8ws56v4kcq4nppkc"))))
3924 (build-system glib-or-gtk-build-system)
3926 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3927 ("gobject-introspection" ,gobject-introspection)
3928 ("intltool" ,intltool)
3929 ("pkg-config" ,pkg-config)
3930 ("xsltproc" ,libxslt)))
3932 `(("glib" ,glib) ; required by goa-1.0.pc
3933 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
3935 `(("docbook-xsl" ,docbook-xsl)
3936 ("json-glib" ,json-glib)
3937 ("libsecret" ,libsecret)
3939 ("telepathy-glib" ,telepathy-glib)
3940 ("webkitgtk" ,webkitgtk)))
3941 (synopsis "Single sign-on framework for GNOME")
3942 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
3944 "GNOME Online Accounts provides interfaces so that applications and
3945 libraries in GNOME can access the user's online accounts. It has providers for
3946 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
3947 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
3948 (license license:lgpl2.0+)))
3950 (define-public evolution-data-server
3952 (name "evolution-data-server")
3956 (uri (string-append "mirror://gnome/sources/" name "/"
3957 (version-major+minor version) "/"
3958 name "-" version ".tar.xz"))
3961 "16yfd2a00xqxikyf6pi2awfd0qfq4hwdhfar88axrb4mycfgqhjr"))))
3962 (build-system gnu-build-system)
3964 '(;; XXX: fails with:
3965 ;; /Fixture/Calendar0: cleaning up pid xxxx
3969 (let ((nss (assoc-ref %build-inputs "nss"))
3970 (nspr (assoc-ref %build-inputs "nspr")))
3971 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
3972 "--disable-google" ; disable Google Contacts support
3973 (string-append "--with-nspr-includes=" nspr "/include/nspr")
3974 (string-append "--with-nss-includes=" nss "/include/nss")
3975 (string-append "--with-nss-libs=" nss "/lib/nss")))
3977 (modify-phases %standard-phases
3978 (add-before 'check 'pre-check
3980 (substitute* "tests/test-server-utils/e-test-server-utils.c"
3981 (("/bin/rm") (which "rm")))
3984 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3985 ("gobject-introspection" ,gobject-introspection)
3987 ("intltool" ,intltool)
3988 ("pkg-config" ,pkg-config)
3989 ("python" ,python)))
3991 ;; These are all in the Requires field of .pc files.
3993 ("libical" ,libical)
3994 ("libsecret" ,libsecret)
3995 ("libsoup" ,libsoup)
3997 ("sqlite" ,sqlite)))
4001 ("gnome-online-accounts" ,gnome-online-accounts)
4002 ("libgweather" ,libgweather)))
4003 (synopsis "Store address books and calendars")
4004 (home-page "https://wiki.gnome.org/Apps/Evolution")
4006 "This package provides a unified backend for programs that work with
4007 contacts, tasks, and calendar information. It was originally developed for
4008 Evolution (hence the name), but is now used by other packages as well.")
4009 (license license:lgpl2.0)))
4011 (define-public caribou
4017 (uri (string-append "mirror://gnome/sources/" name "/"
4018 (version-major+minor version) "/"
4019 name "-" version ".tar.xz"))
4022 "0i2s2xy9ami3wslam15cajhggpcsj4c70qm7qddcz52z9k0x02rg"))))
4023 (build-system glib-or-gtk-build-system)
4026 (modify-phases %standard-phases
4029 (lambda* (#:key outputs #:allow-other-keys)
4030 (let ((out (assoc-ref outputs "out")))
4031 ;; Use absolute shared library path in Caribou-1.0.typelib.
4032 (substitute* "libcaribou/Makefile"
4033 (("--shared-library=libcaribou.so")
4034 (string-append "--shared-library="
4035 out "/lib/libcaribou.so")))
4037 (add-after 'install 'wrap-programs
4038 (lambda* (#:key outputs #:allow-other-keys)
4039 (let* ((out (assoc-ref outputs "out"))
4040 (python-path (getenv "PYTHONPATH"))
4041 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4045 `("PYTHONPATH" ":" prefix (,python-path))
4046 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4047 (list (string-append out "/bin/caribou-preferences")
4048 (string-append out "/libexec/antler-keyboard"))))
4051 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4052 ("gobject-introspection" ,gobject-introspection)
4053 ("intltool" ,intltool)
4054 ("pkg-config" ,pkg-config)
4055 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4057 ("xsltproc" ,libxslt)))
4059 ;; caribou-1.0.pc refers to all these.
4060 `(("libgee" ,libgee)
4061 ("libxklavier" ,libxklavier)
4062 ("libxtst" ,libxtst)
4065 `(("clutter" ,clutter)
4068 ("python-pygobject" ,python2-pygobject)))
4069 (synopsis "Text entry and UI navigation application")
4070 (home-page "https://wiki.gnome.org/Projects/Caribou")
4072 "Caribou is an input assistive technology intended for switch and pointer
4074 (license license:lgpl2.1)))