gnu: gvfs: Update to 1.28.0.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
18 ;;; Copyright © 2016 Kei Yamashita <kei@openmailbox.org>
19 ;;;
20 ;;; This file is part of GNU Guix.
21 ;;;
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
26 ;;;
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
31 ;;;
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34
35 (define-module (gnu packages gnome)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (guix packages)
38 #:use-module (guix download)
39 #:use-module (guix git-download)
40 #:use-module (guix utils)
41 #:use-module (guix build-system gnu)
42 #:use-module (guix build-system glib-or-gtk)
43 #:use-module (guix build-system trivial)
44 #:use-module (gnu packages)
45 #:use-module (gnu packages admin)
46 #:use-module (gnu packages autotools)
47 #:use-module (gnu packages avahi)
48 #:use-module (gnu packages base)
49 #:use-module (gnu packages bison)
50 #:use-module (gnu packages calendar)
51 #:use-module (gnu packages check)
52 #:use-module (gnu packages cups)
53 #:use-module (gnu packages curl)
54 #:use-module (gnu packages cyrus-sasl)
55 #:use-module (gnu packages databases)
56 #:use-module (gnu packages djvu)
57 #:use-module (gnu packages dns)
58 #:use-module (gnu packages flex)
59 #:use-module (gnu packages docbook)
60 #:use-module (gnu packages enchant)
61 #:use-module (gnu packages game-development)
62 #:use-module (gnu packages gettext)
63 #:use-module (gnu packages glib)
64 #:use-module (gnu packages gnupg)
65 #:use-module (gnu packages gnuzilla)
66 #:use-module (gnu packages gstreamer)
67 #:use-module (gnu packages gtk)
68 #:use-module (gnu packages gperf)
69 #:use-module (gnu packages guile)
70 #:use-module (gnu packages openldap)
71 #:use-module (gnu packages pdf)
72 #:use-module (gnu packages polkit)
73 #:use-module (gnu packages popt)
74 #:use-module (gnu packages ghostscript)
75 #:use-module (gnu packages ibus)
76 #:use-module (gnu packages iso-codes)
77 #:use-module (gnu packages libcanberra)
78 #:use-module (gnu packages linux)
79 #:use-module (gnu packages libusb)
80 #:use-module (gnu packages lirc)
81 #:use-module (gnu packages lua)
82 #:use-module (gnu packages m4)
83 #:use-module (gnu packages image)
84 #:use-module (gnu packages networking)
85 #:use-module (gnu packages password-utils)
86 #:use-module (gnu packages perl)
87 #:use-module (gnu packages photo)
88 #:use-module (gnu packages pkg-config)
89 #:use-module (gnu packages pulseaudio)
90 #:use-module (gnu packages python)
91 #:use-module (gnu packages scanner)
92 #:use-module (gnu packages ssh)
93 #:use-module (gnu packages xml)
94 #:use-module (gnu packages geeqie)
95 #:use-module (gnu packages gl)
96 #:use-module (gnu packages qt) ; for libxkbcommon
97 #:use-module (gnu packages compression)
98 #:use-module (gnu packages texlive)
99 #:use-module (gnu packages tls)
100 #:use-module (gnu packages web)
101 #:use-module (gnu packages webkit)
102 #:use-module (gnu packages xorg)
103 #:use-module (gnu packages xdisorg)
104 #:use-module (gnu packages freedesktop)
105 #:use-module (gnu packages mail)
106 #:use-module (gnu packages mit-krb5)
107 #:use-module (gnu packages backup)
108 #:use-module (gnu packages nettle)
109 #:use-module (gnu packages ncurses)
110 #:use-module (gnu packages video)
111 #:use-module (gnu packages cdrom)
112 #:use-module (gnu packages samba)
113 #:use-module (gnu packages readline)
114 #:use-module (gnu packages fonts)
115 #:use-module (srfi srfi-1))
116
117 (define-public brasero
118 (package
119 (name "brasero")
120 (version "3.12.1")
121 (source (origin
122 (method url-fetch)
123 (uri (string-append "mirror://gnome/sources/" name "/"
124 (version-major+minor version) "/"
125 name "-" version ".tar.xz"))
126 (sha256
127 (base32
128 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
129 (build-system glib-or-gtk-build-system)
130 (arguments
131 `(#:configure-flags (list
132 (string-append "--with-girdir="
133 (assoc-ref %outputs "out")
134 "/share/gir-1.0")
135 (string-append "--with-typelibdir="
136 (assoc-ref %outputs "out")
137 "/lib/girepository-1.0"))))
138 (propagated-inputs
139 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
140 (native-inputs
141 `(("intltool" ,intltool)
142 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
143 ("gobject-introspection" ,gobject-introspection)
144 ("pkg-config" ,pkg-config)))
145 (inputs
146 `(("glib" ,glib)
147 ("gnome-doc-utils" ,gnome-doc-utils)
148 ("gstreamer" ,gstreamer)
149 ("gst-plugins-base" ,gst-plugins-base)
150 ("gtk+" ,gtk+)
151 ("itstool" ,itstool)
152 ("libcanberra" ,libcanberra)
153 ("libice" ,libice)
154 ("libnotify" ,libnotify)
155 ("libsm" ,libsm)
156 ("libxml2" ,libxml2)
157 ("nettle" ,nettle)
158 ("totem-pl-parser" ,totem-pl-parser)))
159 (home-page "https://projects.gnome.org/brasero/")
160 (synopsis "CD/DVD burning tool for Gnome")
161 (description "Brasero is an application to burn CD/DVD for the Gnome
162 Desktop. It is designed to be as simple as possible and has some unique
163 features to enable users to create their discs easily and quickly.")
164 (license license:gpl2+)))
165
166 (define-public gnome-common
167 (package
168 (name "gnome-common")
169 (version "3.18.0")
170 (source
171 (origin
172 (method url-fetch)
173 (uri (string-append "mirror://gnome/sources/" name "/"
174 (version-major+minor version) "/"
175 name "-" version ".tar.xz"))
176 (sha256
177 (base32
178 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
179 (build-system gnu-build-system)
180 (home-page "https://www.gnome.org/")
181 (synopsis "Bootstrap GNOME modules built from Git")
182 (description "gnome-common contains various files needed to bootstrap
183 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
184 can be used to configure a source directory checked out from Git and some
185 commonly used macros.")
186 (license license:gpl2+)))
187
188 (define-public gnome-desktop
189 (package
190 (name "gnome-desktop")
191 (version "3.20.0")
192 (source
193 (origin
194 (method url-fetch)
195 (uri (string-append "mirror://gnome/sources/" name "/"
196 (version-major+minor version) "/"
197 name "-" version ".tar.xz"))
198 (sha256
199 (base32
200 "13dhvax8fy9qkna4dphb7b5fxn3dsk818p3q8b92a7nrrwcgiiqq"))))
201 (build-system gnu-build-system)
202 (native-inputs
203 `(("gobject-introspection" ,gobject-introspection)
204 ("itstool" ,itstool)
205 ("intltool" ,intltool)
206 ("pkg-config" ,pkg-config)
207 ("xmllint" ,libxml2)))
208 (propagated-inputs
209 ;; Required by gnome-desktop-3.0.pc.
210 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
211 ("gtk+" ,gtk+)))
212 (inputs
213 `(("gdk-pixbuf" ,gdk-pixbuf)
214 ("glib" ,glib)
215 ("iso-codes" ,iso-codes)
216 ("libx11" ,libx11)
217 ("libxext" ,libxext)
218 ("libxkbfile" ,libxkbfile)
219 ("libxrandr" ,libxrandr)
220 ("xkeyboard-config" ,xkeyboard-config)))
221 (home-page "https://www.gnome.org/")
222 (synopsis
223 "Libgnome-desktop, gnome-about, and desktop-wide documents")
224 (description
225 "The libgnome-desktop library provides API shared by several applications
226 on the desktop, but that cannot live in the platform for various reasons.
227 There is no API or ABI guarantee, although we are doing our best to provide
228 stability. Documentation for the API is available with gtk-doc.
229
230 The gnome-about program helps find which version of GNOME is installed.")
231 ; Some bits under the LGPL.
232 (license license:gpl2+)))
233
234 (define-public gnome-doc-utils
235 (package
236 (name "gnome-doc-utils")
237 (version "0.20.10")
238 (source
239 (origin
240 (method url-fetch)
241 (uri (string-append "mirror://gnome/sources/" name "/"
242 (version-major+minor version) "/"
243 name "-" version ".tar.xz"))
244 (sha256
245 (base32
246 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
247 (build-system gnu-build-system)
248 (native-inputs
249 `(("intltool" ,intltool)
250 ("docbook-xml" ,docbook-xml-4.4)
251 ("python2-libxml2" ,python2-libxml2)
252 ("libxml2" ,libxml2)
253 ("libxslt" ,libxslt)
254 ("pkg-config" ,pkg-config)
255 ("python-2" ,python-2)))
256 (home-page "https://wiki.gnome.org/GnomeDocUtils")
257 (synopsis
258 "Documentation utilities for the Gnome project")
259 (description
260 "Gnome-doc-utils is a collection of documentation utilities for the
261 Gnome project. It includes xml2po tool which makes it easier to translate
262 and keep up to date translations of documentation.")
263 (license license:gpl2+))) ; xslt under lgpl
264
265 (define-public gcr
266 (package
267 (name "gcr")
268 (version "3.20.0")
269 (source (origin
270 (method url-fetch)
271 (uri (string-append "mirror://gnome/sources/" name "/"
272 (version-major+minor version) "/"
273 name "-" version ".tar.xz"))
274 (sha256
275 (base32
276 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
277 (build-system gnu-build-system)
278 (arguments
279 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
280 ;not exist
281 #:phases (modify-phases %standard-phases
282 (add-before
283 'check 'pre-check
284 (lambda* (#:key inputs #:allow-other-keys)
285 (substitute* "build/tap-driver"
286 (("/usr/bin/env python") (which "python"))))))))
287 (inputs
288 `(("dbus" ,dbus)
289 ("gnupg" ,gnupg) ;called as a child process during tests
290 ("libgcrypt" ,libgcrypt)))
291 (native-inputs
292 `(("python" ,python-2) ;for tests
293 ("pkg-config" ,pkg-config)
294 ("glib" ,glib "bin")
295 ("gobject-introspection" ,gobject-introspection)
296 ("intltool" ,intltool)
297 ("xsltproc" ,libxslt)))
298 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
299 (propagated-inputs
300 `(("p11-kit" ,p11-kit)
301 ("glib" ,glib)
302 ("gtk+" ,gtk+)))
303 (home-page "http://www.gnome.org")
304 (synopsis "Libraries for displaying certificates and accessing key stores")
305 (description
306 "The GCR package contains libraries used for displaying certificates and
307 accessing key stores. It also provides the viewer for crypto files on the
308 GNOME Desktop.")
309 (license license:lgpl2.1+)))
310
311 (define-public libgnome-keyring
312 (package
313 (name "libgnome-keyring")
314 (version "3.12.0")
315 (source (origin
316 (method url-fetch)
317 (uri (string-append "mirror://gnome/sources/" name "/"
318 (version-major+minor version) "/"
319 name "-" version ".tar.xz"))
320 (sha256
321 (base32
322 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
323 (build-system gnu-build-system)
324 (inputs
325 `(("libgcrypt" ,libgcrypt)
326 ("dbus" ,dbus)))
327 (native-inputs
328 `(("pkg-config" ,pkg-config)
329 ("glib" ,glib "bin")
330 ("intltool" ,intltool)))
331 (propagated-inputs
332 ;; Referred to in .h files and .pc.
333 `(("glib" ,glib)))
334 (home-page "http://www.gnome.org")
335 (synopsis "Accessing passwords from the GNOME keyring")
336 (description
337 "Client library to access passwords from the GNOME keyring.")
338
339 ;; Though a couple of files are LGPLv2.1+.
340 (license license:lgpl2.0+)))
341
342 (define-public gnome-keyring
343 (package
344 (name "gnome-keyring")
345 (version "3.20.0")
346 (source (origin
347 (method url-fetch)
348 (uri (string-append "mirror://gnome/sources/" name "/"
349 (version-major+minor version) "/"
350 name "-" version ".tar.xz"))
351 (sha256
352 (base32
353 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
354 (build-system gnu-build-system)
355 (arguments
356 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
357 ;not exist
358 #:configure-flags
359 (list
360 (string-append "--with-pkcs11-config="
361 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
362 (string-append "--with-pkcs11-modules="
363 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
364 #:phases
365 (modify-phases %standard-phases
366 (add-before
367 'check 'pre-check
368 (lambda* (#:key inputs #:allow-other-keys)
369 (substitute* "build/tap-driver"
370 (("/usr/bin/env python") (which "python")))))
371 (add-before
372 'configure 'fix-docbook
373 (lambda* (#:key inputs #:allow-other-keys)
374 (substitute* "docs/Makefile.am"
375 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
376 (string-append (assoc-ref inputs "docbook-xsl")
377 "/xml/xsl/docbook-xsl-"
378 ,(package-version docbook-xsl)
379 "/manpages/docbook.xsl")))
380 (setenv "XML_CATALOG_FILES"
381 (string-append (assoc-ref inputs "docbook-xml")
382 "/xml/dtd/docbook/catalog.xml")))))))
383 (inputs
384 `(("libgcrypt" ,libgcrypt)
385 ("linux-pam" ,linux-pam)
386 ("dbus" ,dbus)
387 ("gcr" ,gcr)))
388 (native-inputs
389 `(("pkg-config" ,pkg-config)
390 ("glib" ,glib "bin")
391 ("python" ,python-2) ;for tests
392 ("intltool" ,intltool)
393 ("autoconf" ,autoconf)
394 ("automake" ,automake)
395 ("libxslt" ,libxslt) ;for documentation
396 ("docbook-xml" ,docbook-xml-4.2)
397 ("docbook-xsl" ,docbook-xsl)))
398 (home-page "http://www.gnome.org")
399 (synopsis "Daemon to store passwords and encryption keys")
400 (description
401 "gnome-keyring is a program that keeps passwords and other secrets for
402 users. It is run as a daemon in the session, similar to ssh-agent, and other
403 applications locate it via an environment variable or D-Bus.
404
405 The program can manage several keyrings, each with its own master password,
406 and there is also a session keyring which is never stored to disk, but
407 forgotten when the session ends.")
408 (license license:lgpl2.1+)))
409
410 (define-public evince
411 (package
412 (name "evince")
413 (version "3.20.0")
414 (source (origin
415 (method url-fetch)
416 (uri (string-append "mirror://gnome/sources/" name "/"
417 (version-major+minor version) "/"
418 name "-" version ".tar.xz"))
419 (sha256
420 (base32
421 "1052lm4i5qq27sgk6ck5xc1cxh0qx4zzhifjhmzjlv38afj5i0yg"))))
422 (build-system glib-or-gtk-build-system)
423 (arguments
424 `(#:configure-flags '("--disable-nautilus")
425
426 ;; FIXME: Tests fail with:
427 ;; ImportError: No module named gi.repository
428 ;; Where should that module come from?
429 #:tests? #f))
430 (inputs
431 `(("libspectre" ,libspectre)
432 ("djvulibre" ,djvulibre)
433 ("ghostscript" ,ghostscript)
434 ("poppler" ,poppler)
435 ("libtiff" ,libtiff)
436 ;; TODO:
437 ;; Add libgxps for XPS support.
438 ;; Build libkpathsea as a shared library for DVI support.
439 ;; ("libkpathsea" ,texlive-bin)
440 ("gnome-desktop" ,gnome-desktop)
441 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
442 ("libgnome-keyring" ,libgnome-keyring)
443 ("adwaita-icon-theme" ,adwaita-icon-theme)
444 ("gdk-pixbuf" ,gdk-pixbuf)
445 ("atk" ,atk)
446 ("pango" ,pango)
447 ("gtk+" ,gtk+)
448 ("glib" ,glib)
449 ("libxml2" ,libxml2)
450 ("libsm" ,libsm)
451 ("libice" ,libice)
452 ("shared-mime-info" ,shared-mime-info)
453 ("dconf" ,dconf)
454 ("libcanberra" ,libcanberra)
455 ("libsecret" ,libsecret)
456 ;; For tests.
457 ("dogtail" ,python2-dogtail)))
458 (native-inputs
459 `(("itstool" ,itstool)
460 ("intltool" ,intltool)
461 ("glib" ,glib "bin")
462 ("pkg-config" ,pkg-config)
463 ("xmllint" ,libxml2)))
464 (home-page
465 "http://www.gnome.org/projects/evince/")
466 (synopsis "GNOME's document viewer")
467 (description
468 "Evince is a document viewer for multiple document formats. It
469 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
470 of Evince is to replace the multiple document viewers that exist
471 on the GNOME Desktop with a single simple application.")
472 (license license:gpl2+)))
473
474 (define-public gsettings-desktop-schemas
475 (package
476 (name "gsettings-desktop-schemas")
477 (version "3.20.0")
478 (source
479 (origin
480 (method url-fetch)
481 (uri (string-append "mirror://gnome/sources/" name "/"
482 (version-major+minor version) "/"
483 name "-" version ".tar.xz"))
484 (sha256
485 (base32
486 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
487 (build-system gnu-build-system)
488 (inputs
489 `(("glib" ,glib)))
490 (native-inputs
491 `(("intltool" ,intltool)
492 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
493 ("gobject-introspection" ,gobject-introspection)
494 ("pkg-config" ,pkg-config)))
495 (home-page "https://launchpad.net/gsettings-desktop-schemas")
496 (synopsis
497 "GNOME settings for various desktop components")
498 (description
499 "Gsettings-desktop-schemas contains a collection of GSettings schemas
500 for settings shared by various components of the GNOME desktop.")
501 (license license:lgpl2.1+)))
502
503 (define-public icon-naming-utils
504 (package
505 (name "icon-naming-utils")
506 (version "0.8.90")
507 (source
508 (origin
509 (method url-fetch)
510 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
511 version ".tar.bz2"))
512 (sha256
513 (base32
514 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
515 (build-system gnu-build-system)
516 (inputs
517 `(("perl" ,perl)
518 ("perl-xml-simple" ,perl-xml-simple)))
519 (arguments
520 '(#:phases
521 (alist-cons-after
522 'install 'set-load-paths
523 ;; Tell 'icon-name-mapping' where XML::Simple is.
524 (lambda* (#:key outputs #:allow-other-keys)
525 (let* ((out (assoc-ref outputs "out"))
526 (prog (string-append out "/libexec/icon-name-mapping")))
527 (wrap-program
528 prog
529 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
530 %standard-phases)))
531 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
532 (synopsis
533 "Utility to implement the Freedesktop Icon Naming Specification")
534 (description
535 "To help with the transition to the Freedesktop Icon Naming
536 Specification, the icon naming utility maps the icon names used by the
537 GNOME and KDE desktops to the icon names proposed in the specification.")
538 (license license:lgpl2.1+)))
539
540 (define-public desktop-file-utils
541 (package
542 (name "desktop-file-utils")
543 (version "0.22")
544 (source (origin
545 (method url-fetch)
546 (uri (string-append "https://www.freedesktop.org/software/" name
547 "/releases/" name "-" version ".tar.xz"))
548 (sha256
549 (base32
550 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
551 (build-system gnu-build-system)
552 (native-inputs
553 `(("pkg-config" ,pkg-config)))
554 (inputs
555 `(("glib" ,glib)))
556 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
557 (synopsis "Utilities for working with desktop entries")
558 (description
559 "This package contains a few command line utilities for working with
560 desktop entries:
561
562 desktop-file-validate: validates a desktop file and prints warnings/errors
563 about desktop entry specification violations.
564
565 desktop-file-install: installs a desktop file to the applications directory,
566 optionally munging it a bit in transit.
567
568 update-desktop-database: updates the database containing a cache of MIME types
569 handled by desktop files.")
570 (license license:gpl2+)))
571
572 (define-public gnome-icon-theme
573 (package
574 (name "gnome-icon-theme")
575 (version "3.12.0")
576 (source
577 (origin
578 (method url-fetch)
579 (uri (string-append "mirror://gnome/sources/" name "/"
580 (version-major+minor version) "/"
581 name "-" version ".tar.xz"))
582 (sha256
583 (base32
584 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
585 (build-system gnu-build-system)
586 (native-inputs
587 `(("gtk+" ,gtk+) ; for gtk-update-icon-cache
588 ("icon-naming-utils" ,icon-naming-utils)
589 ("intltool" ,intltool)
590 ("pkg-config" ,pkg-config)))
591 (home-page "http://art.gnome.org/")
592 (synopsis
593 "GNOME icon theme")
594 (description
595 "Icons for the GNOME desktop.")
596 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
597
598 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
599 (define-public adwaita-icon-theme
600 (package (inherit gnome-icon-theme)
601 (name "adwaita-icon-theme")
602 (version "3.20")
603 (source (origin
604 (method url-fetch)
605 (uri (string-append "mirror://gnome/sources/" name "/"
606 (version-major+minor version) "/"
607 name "-" version ".tar.xz"))
608 (sha256
609 (base32
610 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))))
611
612 (define-public shared-mime-info
613 (package
614 (name "shared-mime-info")
615 (version "1.6")
616 (source (origin
617 (method url-fetch)
618 (uri (string-append "https://freedesktop.org/~hadess/"
619 "shared-mime-info-" version ".tar.xz"))
620 (sha256
621 (base32
622 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
623 (build-system gnu-build-system)
624 (arguments
625 ;; The build system appears not to be parallel-safe.
626 '(#:parallel-build? #f))
627 (inputs
628 `(("glib" ,glib)
629 ("libxml2" ,libxml2)))
630 (native-inputs
631 `(("intltool" ,intltool)
632 ("pkg-config" ,pkg-config)))
633 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
634 (synopsis "Database of common MIME types")
635 (description
636 "The shared-mime-info package contains the core database of common types
637 and the update-mime-database command used to extend it. It requires glib2 to
638 be installed for building the update command. Additionally, it uses intltool
639 for translations, though this is only a dependency for the maintainers. This
640 database is translated at Transifex.")
641 (license license:gpl2+)))
642
643 (define-public hicolor-icon-theme
644 (package
645 (name "hicolor-icon-theme")
646 (version "0.12")
647 (source
648 (origin
649 (method url-fetch)
650 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
651 "hicolor-icon-theme-" version ".tar.gz"))
652 (sha256
653 (base32
654 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
655 (build-system gnu-build-system)
656 (arguments
657 `(#:tests? #f)) ; no check target
658 (home-page "http://icon-theme.freedesktop.org/releases/")
659 (synopsis
660 "Freedesktop icon theme")
661 (description
662 "Freedesktop icon theme.")
663 (license license:gpl2)))
664
665 (define-public libnotify
666 (package
667 (name "libnotify")
668 (version "0.7.6")
669 (source
670 (origin
671 (method url-fetch)
672 (uri (string-append "mirror://gnome/sources/" name "/"
673 (version-major+minor version) "/"
674 name "-" version ".tar.xz"))
675 (sha256
676 (base32
677 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
678 (build-system gnu-build-system)
679 (inputs
680 `(("gdk-pixbuf" ,gdk-pixbuf)
681 ("glib" ,glib)
682 ("gtk+" ,gtk+)
683 ("libpng" ,libpng)))
684 (native-inputs
685 `(("pkg-config" ,pkg-config)
686 ("glib" ,glib "bin")))
687 (home-page "https://developer-next.gnome.org/libnotify/")
688 (synopsis
689 "GNOME desktop notification library")
690 (description
691 "Libnotify is a library that sends desktop notifications to a
692 notification daemon, as defined in the Desktop Notifications spec. These
693 notifications can be used to inform the user about an event or display
694 some form of information without getting in the user's way.")
695 (license license:lgpl2.1+)))
696
697 (define-public libpeas
698 (package
699 (name "libpeas")
700 (version "1.18.0")
701 (source
702 (origin
703 (method url-fetch)
704 (uri (string-append "mirror://gnome/sources/" name "/"
705 (version-major+minor version) "/"
706 name "-" version ".tar.xz"))
707 (sha256
708 (base32
709 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
710 (build-system gnu-build-system)
711 (inputs
712 `(("atk" ,atk)
713 ("gdk-pixbuf" ,gdk-pixbuf)
714 ("glib" ,glib)
715 ("gtk+" ,gtk+)
716 ("pango" ,pango)))
717 (native-inputs
718 `(("pkg-config" ,pkg-config)
719 ("glib:bin" ,glib "bin")
720 ("gobject-introspection" ,gobject-introspection)
721 ("intltool" ,intltool)))
722 (home-page "https://wiki.gnome.org/Libpeas")
723 (synopsis "GObject plugin system")
724 (description
725 "Libpeas is a gobject-based plugins engine, and is targetted at giving
726 every application the chance to assume its own extensibility. It also has a
727 set of features including, but not limited to: multiple extension points; on
728 demand (lazy) programming language support for C, Python and JS; simplicity of
729 the API.")
730 (license license:lgpl2.0+)))
731
732 (define-public gtkglext
733 (package
734 (name "gtkglext")
735 (version "1.2.0")
736 (source (origin
737 (method url-fetch)
738 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
739 version "/gtkglext-" version ".tar.gz"))
740 (sha256
741 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
742 (patches (search-patches
743 "gtkglext-disable-disable-deprecated.patch"))))
744 (build-system gnu-build-system)
745 (inputs `(("gtk+" ,gtk+-2)
746 ("mesa" ,mesa)
747 ("glu" ,glu)
748 ("libx11" ,libx11)
749 ("libxt" ,libxt)))
750 (native-inputs `(("pkg-config" ,pkg-config)
751 ("glib" ,glib "bin")))
752 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
753 (home-page "https://projects.gnome.org/gtkglext")
754 (synopsis "OpenGL extension to GTK+")
755 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
756 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
757 API add-ons to make GTK+ widgets OpenGL-capable.")
758 (license license:lgpl2.1+)))
759
760 (define-public glade3
761 (package
762 (name "glade")
763 (version "3.20.0")
764 (source (origin
765 (method url-fetch)
766 (uri (string-append "mirror://gnome/sources/" name "/"
767 (version-major+minor version) "/"
768 name "-" version ".tar.xz"))
769 (sha256
770 (base32
771 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
772 (build-system glib-or-gtk-build-system)
773 (arguments
774 `(#:tests? #f ; needs X, GL, and software rendering
775 #:phases
776 (modify-phases %standard-phases
777 (add-before 'configure 'fix-docbook
778 (lambda* (#:key inputs #:allow-other-keys)
779 (substitute* "man/Makefile.in"
780 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
781 (string-append (assoc-ref inputs "docbook-xsl")
782 "/xml/xsl/docbook-xsl-"
783 ,(package-version docbook-xsl)
784 "/manpages/docbook.xsl")))
785 #t)))))
786 (inputs
787 `(("gtk+" ,gtk+)
788 ("libxml2" ,libxml2)))
789 (native-inputs
790 `(("intltool" ,intltool)
791 ("itstool" ,itstool)
792 ("libxslt" ,libxslt) ;for xsltproc
793 ("docbook-xml" ,docbook-xml-4.2)
794 ("docbook-xsl" ,docbook-xsl)
795 ("python" ,python-2)
796 ("pkg-config" ,pkg-config)))
797 (home-page "https://glade.gnome.org")
798 (synopsis "GTK+ rapid application development tool")
799 (description "Glade is a rapid application development (RAD) tool to
800 enable quick & easy development of user interfaces for the GTK+ toolkit and
801 the GNOME desktop environment.")
802 (license license:lgpl2.0+)))
803
804 (define-public libcroco
805 (package
806 (name "libcroco")
807 (version "0.6.11")
808 (source (origin
809 (method url-fetch)
810 (uri (string-append "mirror://gnome/sources/" name "/"
811 (version-major+minor version) "/"
812 name "-" version ".tar.xz"))
813 (sha256
814 (base32
815 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
816 (build-system gnu-build-system)
817 (native-inputs
818 `(("pkg-config" ,pkg-config)))
819 (inputs
820 `(("glib" ,glib)
821 ("libxml2" ,libxml2)
822 ("zlib" ,zlib)))
823 (home-page "https://github.com/GNOME/libcroco")
824 (synopsis "CSS2 parsing and manipulation library")
825 (description
826 "Libcroco is a standalone CSS2 parsing and manipulation library.
827 The parser provides a low level event driven SAC-like API and a CSS object
828 model like API. Libcroco provides a CSS2 selection engine and an experimental
829 XML/CSS rendering engine.")
830
831 ;; LGPLv2.1-only.
832 (license license:lgpl2.1)))
833
834 (define-public libgsf
835 (package
836 (name "libgsf")
837 (version "1.14.36")
838 (source (origin
839 (method url-fetch)
840 (uri (string-append "mirror://gnome/sources/" name "/"
841 (version-major+minor version) "/"
842 name "-" version ".tar.xz"))
843 (sha256
844 (base32
845 "0h19ssxzz0cmznwga2xy55kjibm24mwxqarnpd0w7xy0hrzm1dvi"))))
846 (build-system gnu-build-system)
847 (native-inputs
848 `(("intltool" ,intltool)
849 ("pkg-config" ,pkg-config)))
850 (inputs
851 `(("python" ,python)
852 ("zlib" ,zlib)
853 ("bzip2" ,bzip2)))
854 (propagated-inputs
855 `(("gdk-pixbuf" ,gdk-pixbuf)
856 ("glib" ,glib)
857 ("libxml2" ,libxml2)))
858 (home-page "http://www.gnome.org/projects/libgsf")
859 (synopsis "GNOME's Structured File Library")
860 (description
861 "Libgsf aims to provide an efficient extensible I/O abstraction for
862 dealing with different structured file formats.")
863
864 ;; LGPLv2.1-only.
865 (license license:lgpl2.1)))
866
867 (define-public librsvg
868 (package
869 (name "librsvg")
870 (version "2.40.15")
871 (source (origin
872 (method url-fetch)
873 (uri (string-append "mirror://gnome/sources/" name "/"
874 (version-major+minor version) "/"
875 name "-" version ".tar.xz"))
876 (sha256
877 (base32
878 "1x05vd2llpmskq3prkp7kbpmshmpp9whj4kfl99ybipf4fhw9jnr"))))
879 (build-system gnu-build-system)
880 (arguments
881 `(#:phases
882 (alist-cons-before
883 'configure 'augment-gir-search-path
884 (lambda* (#:key inputs #:allow-other-keys)
885 (substitute* "gdk-pixbuf-loader/Makefile.in"
886 ;; By default the gdk-pixbuf loader is installed under
887 ;; gdk-pixbuf's prefix. Work around that.
888 (("gdk_pixbuf_moduledir = .*$")
889 (string-append "gdk_pixbuf_moduledir = "
890 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
891 "loaders\n"))
892 ;; Likewise, create a separate 'loaders.cache' file.
893 (("gdk_pixbuf_cache_file = .*$")
894 "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n")))
895 (alist-cons-after
896 'install 'generate-full-cache
897 (lambda* (#:key inputs outputs #:allow-other-keys)
898 (let ((loaders-directory
899 (string-append (assoc-ref outputs "out")
900 "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
901 (zero?
902 (system
903 (string-append
904 "gdk-pixbuf-query-loaders "
905 loaders-directory "/libpixbufloader-svg.so "
906 (string-join (find-files (assoc-ref inputs "gdk-pixbuf")
907 "libpixbufloader-.*\\.so") " ")
908 "> " loaders-directory ".cache")))))
909 %standard-phases))))
910 (native-inputs
911 `(("pkg-config" ,pkg-config)
912 ("glib" ,glib "bin") ; glib-mkenums, etc.
913 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
914 (inputs
915 `(("pango" ,pango)
916 ("libcroco" ,libcroco)
917 ("bzip2" ,bzip2)
918 ("libgsf" ,libgsf)
919 ("libxml2" ,libxml2)))
920 (propagated-inputs
921 ;; librsvg-2.0.pc refers to all of that.
922 `(("cairo" ,cairo)
923 ("gdk-pixbuf" ,gdk-pixbuf)
924 ("glib" ,glib)))
925 (home-page "https://wiki.gnome.org/LibRsvg")
926 (synopsis "Render SVG files using Cairo")
927 (description
928 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
929 library.")
930 (license license:lgpl2.0+)))
931
932 (define-public libidl
933 (package
934 (name "libidl")
935 (version "0.8.14")
936 (source (origin
937 (method url-fetch)
938 (uri (let ((upstream-name "libIDL"))
939 (string-append "mirror://gnome/sources/" upstream-name "/"
940 (version-major+minor version) "/"
941 upstream-name "-" version ".tar.bz2")))
942 (sha256
943 (base32
944 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
945 (build-system gnu-build-system)
946 (inputs `(("glib" ,glib)))
947 (native-inputs
948 `(("pkg-config" ,pkg-config)
949 ("flex" ,flex)
950 ("bison" ,bison)))
951 (home-page "http://freecode.com/projects/libidl")
952 (synopsis "Create trees of CORBA Interface Definition Language files")
953 (description "Libidl is a library for creating trees of CORBA Interface
954 Definition Language (idl) files, which is a specification for defining
955 portable interfaces. libidl was initially written for orbit (the orb from the
956 GNOME project, and the primary means of libidl distribution). However, the
957 functionality was designed to be as reusable and portable as possible.")
958 (license license:lgpl2.0+)))
959
960
961 (define-public orbit2
962 (package
963 (name "orbit2")
964 (version "2.14.19")
965 (source (origin
966 (method url-fetch)
967 (uri (let ((upstream-name "ORBit2"))
968 (string-append "mirror://gnome/sources/" upstream-name "/"
969 (version-major+minor version) "/"
970 upstream-name "-" version ".tar.bz2")))
971 (sha256
972 (base32
973 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
974 (build-system gnu-build-system)
975 (arguments
976 `(#:configure-flags
977 ;; The programmer kindly gives us a hook to turn off deprecation
978 ;; warnings ...
979 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
980 ;; ... which they then completly ignore !!
981 #:phases
982 (alist-cons-before
983 'configure 'ignore-deprecations
984 (lambda _
985 (substitute* "linc2/src/Makefile.in"
986 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
987 %standard-phases)))
988 (inputs `(("glib" ,glib)
989 ("libidl" ,libidl)))
990 (native-inputs
991 `(("pkg-config" ,pkg-config)))
992 (home-page "https://projects.gnome.org/orbit2/")
993 (synopsis "CORBA 2.4-compliant Object Request Broker")
994 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
995 featuring mature C, C++ and Python bindings.")
996 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
997 ;; a version. SOME of the code files have licence notices for GPLv2+.
998 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
999 (license license:gpl2+)))
1000
1001
1002 (define-public libbonobo
1003 (package
1004 (name "libbonobo")
1005 (version "2.32.1")
1006 (source (origin
1007 (method url-fetch)
1008 (uri (string-append "mirror://gnome/sources/" name "/"
1009 (version-major+minor version)
1010 "/" name "-" version ".tar.bz2"))
1011 (sha256
1012 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1013 (patches (search-patches
1014 "libbonobo-activation-test-race.patch"))))
1015 (build-system gnu-build-system)
1016 (arguments
1017 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1018 `(#:configure-flags
1019 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1020 ;; ... which they then completly ignore !!
1021 #:phases
1022 (alist-cons-before
1023 'configure 'ignore-deprecations
1024 (lambda _
1025 (substitute* "activation-server/Makefile.in"
1026 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1027 %standard-phases)))
1028 (inputs `(("popt" ,popt)
1029 ("libxml2" ,libxml2)))
1030 ;; The following are Required by the .pc file
1031 (propagated-inputs
1032 `(("glib" ,glib)
1033 ("orbit2" ,orbit2)))
1034 (native-inputs
1035 `(("intltool" ,intltool)
1036 ("pkg-config" ,pkg-config)
1037 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1038 ("flex" ,flex)
1039 ("bison" ,bison)))
1040 (home-page "https://developer.gnome.org/libbonobo/")
1041 (synopsis "Framework for creating reusable components for use in GNOME applications")
1042 (description "Bonobo is a framework for creating reusable components for
1043 use in GNOME applications, built on top of CORBA.")
1044 ;; Licence not explicitly stated. Source files contain no licence notices.
1045 ;; Tarball contains text of both GPLv2 and LGPLv2
1046 ;; GPLv2 covers both conditions
1047 (license license:gpl2+)))
1048
1049
1050 (define-public gconf
1051 (package
1052 (name "gconf")
1053 (version "3.2.6")
1054 (source (origin
1055 (method url-fetch)
1056 (uri
1057 (let ((upstream-name "GConf"))
1058 (string-append "mirror://gnome/sources/" upstream-name "/"
1059 (version-major+minor version) "/"
1060 upstream-name "-" version ".tar.xz")))
1061 (sha256
1062 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1063 (build-system gnu-build-system)
1064 (inputs `(("dbus-glib" ,dbus-glib)
1065 ("libxml2" ,libxml2)))
1066 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1067 ("orbit2" ,orbit2)))
1068 (native-inputs
1069 `(("intltool" ,intltool)
1070 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1071 ("pkg-config" ,pkg-config)))
1072 (home-page "https://projects.gnome.org/gconf/")
1073 (synopsis "Store application preferences")
1074 (description "Gconf is a system for storing application preferences. It
1075 is intended for user preferences; not arbitrary data storage.")
1076 (license license:lgpl2.0+)))
1077
1078
1079 (define-public gnome-mime-data
1080 (package
1081 (name "gnome-mime-data")
1082 (version "2.18.0")
1083 (source (origin
1084 (method url-fetch)
1085 (uri (string-append "mirror://gnome/sources/" name "/"
1086 (version-major+minor version) "/"
1087 name "-" version ".tar.bz2"))
1088 (sha256
1089 (base32
1090 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1091 (build-system gnu-build-system)
1092 (native-inputs
1093 `(("perl" ,perl)
1094 ("intltool" ,intltool)))
1095 (home-page "http://www.gnome.org")
1096 (synopsis "Base MIME and Application database for GNOME")
1097 (description "GNOME Mime Data is a module which contains the base MIME
1098 and Application database for GNOME. The data stored by this module is
1099 designed to be accessed through the MIME functions in GnomeVFS.")
1100 (license license:gpl2+)))
1101
1102
1103 (define-public gnome-vfs
1104 (package
1105 (name "gnome-vfs")
1106 (version "2.24.4")
1107 (source (origin
1108 (method url-fetch)
1109 (uri (string-append "mirror://gnome/sources/" name "/"
1110 (version-major+minor version) "/"
1111 name "-" version ".tar.bz2"))
1112 (sha256
1113 (base32
1114 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1115 (build-system gnu-build-system)
1116 (arguments
1117 `(#:phases
1118 (alist-cons-before
1119 'configure 'ignore-deprecations
1120 (lambda _
1121 (substitute* '("libgnomevfs/Makefile.in"
1122 "daemon/Makefile.in")
1123 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1124 #t)
1125 (alist-cons-before
1126 'configure 'patch-test-async-cancel-to-never-fail
1127 (lambda _
1128 (substitute* "test/test-async-cancel.c"
1129 (("EXIT_FAILURE") "77")))
1130 %standard-phases))))
1131 (inputs `(("libxml2" ,libxml2)
1132 ("dbus-glib" ,dbus-glib)
1133 ("gconf" ,gconf)
1134 ("gnome-mime-data" ,gnome-mime-data)
1135 ("zlib" ,zlib)))
1136 (native-inputs
1137 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1138 ("intltool" ,intltool)
1139 ("pkg-config" ,pkg-config)))
1140 (home-page "https://developer.gnome.org/gnome-vfs/")
1141 (synopsis "Access files and folders in GNOME applications")
1142 (description
1143 "GnomeVFS is the core library used to access files and folders in GNOME
1144 applications. It provides a file system abstraction which allows applications
1145 to access local and remote files with a single consistent API.")
1146 (license license:lgpl2.0+)))
1147
1148
1149
1150 (define-public libgnome
1151 (package
1152 (name "libgnome")
1153 (version "2.32.1")
1154 (source (origin
1155 (method url-fetch)
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.bz2"))
1159 (sha256
1160 (base32
1161 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1162 (build-system gnu-build-system)
1163 (arguments
1164 `(#:phases
1165 (alist-cons-before
1166 'configure 'enable-deprecated
1167 (lambda _
1168 (substitute* "libgnome/Makefile.in"
1169 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1170 %standard-phases)))
1171 (inputs `(("libxml2" ,libxml2)))
1172 (native-inputs
1173 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1174 ("intltool" ,intltool)
1175 ("pkg-config" ,pkg-config)))
1176 ;; The following are listed as Required in the .pc file
1177 ;; (except for libcanberra -- which seems to be oversight on the part
1178 ;; of the upstream developers -- anything that links against libgnome,
1179 ;; must also link against libcanberra
1180 (propagated-inputs
1181 `(("libcanberra" ,libcanberra)
1182 ("libbonobo" ,libbonobo)
1183 ("gconf" ,gconf)
1184 ("gnome-vfs" ,gnome-vfs)
1185 ("popt" ,popt))) ;gnome-program.h includes popt.h
1186 (home-page "https://developer.gnome.org/libgnome/")
1187 (synopsis "Useful routines for building applications")
1188 (description "The libgnome library provides a number of useful routines
1189 for building modern applications, including session management, activation of
1190 files and URIs, and displaying help.")
1191 (license license:lgpl2.0+)))
1192
1193
1194 (define-public libart-lgpl
1195 (package
1196 (name "libart-lgpl")
1197 (version "2.3.21")
1198 (source (origin
1199 (method url-fetch)
1200 (uri (let ((upstream-name "libart_lgpl"))
1201 (string-append "mirror://gnome/sources/" upstream-name "/"
1202 (version-major+minor version) "/"
1203 upstream-name "-" version ".tar.bz2")))
1204 (sha256
1205 (base32
1206 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1207 (build-system gnu-build-system)
1208 (native-inputs
1209 `(("pkg-config" ,pkg-config)))
1210 (home-page "https://people.gnome.org/~mathieu/libart")
1211 (synopsis "2D drawing library")
1212 (description "Libart is a 2D drawing library intended as a
1213 high-quality vector-based 2D library with antialiasing and alpha composition.")
1214 (license license:lgpl2.0+)))
1215
1216
1217
1218 (define-public libgnomecanvas
1219 (package
1220 (name "libgnomecanvas")
1221 (version "2.30.3")
1222 (source (origin
1223 (method url-fetch)
1224 (uri (string-append "mirror://gnome/sources/" name "/"
1225 (version-major+minor version) "/"
1226 name "-" version ".tar.gz"))
1227 (sha256
1228 (base32
1229 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1230 (build-system gnu-build-system)
1231 ;; Mentioned as Required in the .pc file
1232 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1233 ("gtk+" ,gtk+-2)))
1234 (native-inputs
1235 `(("intltool" ,intltool)
1236 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1237 ("pkg-config" ,pkg-config)))
1238 (home-page "https://developer.gnome.org/libgnomecanvas/")
1239 (synopsis "Flexible widget for creating interactive structured graphics")
1240 (description "The GnomeCanvas widget provides a flexible widget for
1241 creating interactive structured graphics.")
1242 (license license:lgpl2.0+)))
1243
1244 (define-public libgnomecanvasmm
1245 (package
1246 (name "libgnomecanvasmm")
1247 (version "2.26.0")
1248 (source (origin
1249 (method url-fetch)
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.bz2"))
1253 (sha256
1254 (base32
1255 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1256 (build-system gnu-build-system)
1257 (arguments
1258 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1259 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1260 (native-inputs
1261 `(("gtkmm-2" ,gtkmm-2)
1262 ("pkg-config" ,pkg-config)))
1263 (home-page "http://gtkmm.org")
1264 (synopsis "C++ bindings to the GNOME Canvas library")
1265 (description "C++ bindings to the GNOME Canvas library.")
1266 (license license:lgpl2.0+)))
1267
1268 (define-public libgnomeui
1269 (package
1270 (name "libgnomeui")
1271 (version "2.24.5")
1272 (source (origin
1273 (method url-fetch)
1274 (uri (string-append "mirror://gnome/sources/" name "/"
1275 (version-major+minor version) "/"
1276 name "-" version ".tar.bz2"))
1277 (sha256
1278 (base32
1279 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1280 (build-system gnu-build-system)
1281 ;; Mentioned as Required in the .pc file
1282 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1283 ("libgnome" ,libgnome)
1284 ("libgnomecanvas" ,libgnomecanvas)
1285 ("libgnome-keyring" ,libgnome-keyring)))
1286 (inputs `(("libjpeg" ,libjpeg)
1287 ("popt" ,popt)
1288 ("libbonobo" ,libbonobo)
1289 ("libxml2" ,libxml2)
1290 ("libglade" ,libglade)))
1291 (native-inputs
1292 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1293 ("intltool" ,intltool)
1294 ("pkg-config" ,pkg-config)))
1295 (home-page "https://developer.gnome.org/libgnomeui/")
1296 (synopsis "Additional widgets for applications")
1297 (description "The libgnomeui library provides additional widgets for
1298 applications. Many of the widgets from libgnomeui have already been
1299 ported to GTK+.")
1300 (license license:lgpl2.0+)))
1301
1302 (define-public libglade
1303 (package
1304 (name "libglade")
1305 (version "2.6.4")
1306 (source (origin
1307 (method url-fetch)
1308 (uri (string-append "mirror://gnome/sources/" name "/"
1309 (version-major+minor version) "/"
1310 name "-" version ".tar.bz2"))
1311 (sha256
1312 (base32
1313 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1314 (build-system gnu-build-system)
1315 (inputs
1316 `(("python" ,python))) ;; needed for the optional libglade-convert program
1317 (propagated-inputs
1318 `(("gtk+-2" ,gtk+-2)
1319 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1320 (native-inputs
1321 `(("pkg-config" ,pkg-config)))
1322 (home-page "https://developer.gnome.org/libglade")
1323 (synopsis "Load glade interfaces and access the glade built widgets")
1324 (description "Libglade is a library that provides interfaces for loading
1325 graphical interfaces described in glade files and for accessing the
1326 widgets built in the loading process.")
1327 (license license:gpl2+))) ; This is correct. GPL not LGPL
1328
1329 (define-public libgnomeprint
1330 ;; This library has been deprecated since 2006; see
1331 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1332 (package
1333 (name "libgnomeprint")
1334 (version "2.8.2")
1335 (source (origin
1336 (method url-fetch)
1337 (uri (string-append "mirror://gnome/sources/" name "/"
1338 (version-major+minor version) "/"
1339 name "-" version ".tar.bz2"))
1340 (sha256
1341 (base32
1342 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1343 (build-system gnu-build-system)
1344 (inputs
1345 `(("popt" ,popt)
1346 ("libart-lgpl" ,libart-lgpl)
1347 ("gtk+" ,gtk+-2)
1348 ("libxml2" ,libxml2)))
1349 (native-inputs
1350 `(("intltool" ,intltool)
1351 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1352 ("pkg-config" ,pkg-config)))
1353 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1354 (synopsis "Printing framework for GNOME")
1355 (description
1356 "GNOME-print was a printing framework for GNOME. It has been deprecated
1357 since ca. 2006, when GTK+ itself incorporated printing support.")
1358 (license license:lgpl2.0+)))
1359
1360
1361 (define-public libgnomeprintui
1362 ;; Deprecated; see libgnomeprint.
1363 (package
1364 (name "libgnomeprintui")
1365 (version "2.8.2")
1366 (source (origin
1367 (method url-fetch)
1368 (uri (string-append "mirror://gnome/sources/" name "/"
1369 (version-major+minor version) "/"
1370 name "-" version ".tar.bz2"))
1371 (sha256
1372 (base32
1373 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1374 (build-system gnu-build-system)
1375 ;; Mentioned as Required in the .pc file
1376 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1377 (inputs `(("gtk+" ,gtk+-2)
1378 ("glib" ,glib)
1379 ("gnome-icon-theme" ,gnome-icon-theme)
1380 ("libgnomecanvas" ,libgnomecanvas)
1381 ("libxml2" ,libxml2)))
1382 (native-inputs
1383 `(("intltool" ,intltool)
1384 ("pkg-config" ,pkg-config)))
1385 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1386 (synopsis "Printing framework for GNOME")
1387 (description (package-description libgnomeprint))
1388 (license license:lgpl2.0+)))
1389
1390 (define-public libbonoboui
1391 (package
1392 (name "libbonoboui")
1393 (version "2.24.5")
1394 (source (origin
1395 (method url-fetch)
1396 (uri (string-append "mirror://gnome/sources/" name "/"
1397 (version-major+minor version) "/"
1398 name "-" version ".tar.bz2"))
1399 (sha256
1400 (base32
1401 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1402 (build-system gnu-build-system)
1403 (arguments
1404 `(#:phases
1405 (alist-cons-before
1406 'check 'start-xserver
1407 (lambda* (#:key inputs #:allow-other-keys)
1408 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1409 (disp ":1"))
1410
1411 (setenv "HOME" (getcwd))
1412 (setenv "DISPLAY" disp)
1413 ;; There must be a running X server and make check doesn't start one.
1414 ;; Therefore we must do it.
1415 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1416 %standard-phases)))
1417 ;; Mentioned as Required by the .pc file
1418 (propagated-inputs `(("libxml2" ,libxml2)))
1419 (inputs
1420 `(("popt" ,popt)
1421 ("pangox-compat" ,pangox-compat)
1422 ("libgnome" ,libgnome)
1423 ("libgnomecanvas" ,libgnomecanvas)
1424 ("libglade" ,libglade)))
1425 (native-inputs
1426 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1427 ("intltool" ,intltool)
1428 ("xorg-server" ,xorg-server) ; For running the tests
1429 ("pkg-config" ,pkg-config)))
1430 (home-page "https://developer.gnome.org/libbonoboui/")
1431 (synopsis "Some user interface controls using Bonobo")
1432 (description "The Bonobo UI library provides a number of user interface
1433 controls using the Bonobo component framework.")
1434 (license license:lgpl2.0+)))
1435
1436 (define-public libwnck
1437 (package
1438 (name "libwnck")
1439 (version "3.14.1")
1440 (source (origin
1441 (method url-fetch)
1442 (uri (string-append "mirror://gnome/sources/" name "/"
1443 (version-major+minor version) "/"
1444 name "-" version ".tar.xz"))
1445 (sha256
1446 (base32 "1ymya8gkjygvg0i901wr3q6ihfqxx5yf4g4pb6fag2iw8af3qr5v"))))
1447 (build-system gnu-build-system)
1448 (native-inputs
1449 `(("pkg-config" ,pkg-config)
1450 ("intltool" ,intltool)))
1451 (propagated-inputs
1452 `(("gtk+" ,gtk+)
1453 ("libxres" ,libxres)
1454 ("startup-notification" ,startup-notification)))
1455 (home-page "https://developer.gnome.org/libwnck/")
1456 (synopsis "Window Navigator Construction Kit")
1457 (description
1458 "Libwnck is the Window Navigator Construction Kit, a library for use in
1459 writing pagers, tasklists, and more generally applications that are dealing
1460 with window management. It tries hard to respect the Extended Window Manager
1461 Hints specification (EWMH).")
1462 (license license:lgpl2.0+)))
1463
1464 ;; stable version for gtk2, required by xfwm4.
1465 (define-public libwnck-2
1466 (package (inherit libwnck)
1467 (name "libwnck")
1468 (version "2.30.7")
1469 (source (origin
1470 (method url-fetch)
1471 (uri (string-append "mirror://gnome/sources/" name "/"
1472 (version-major+minor version) "/"
1473 name "-" version ".tar.xz"))
1474 (sha256
1475 (base32
1476 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1477 (propagated-inputs
1478 `(("gtk+" ,gtk+-2)
1479 ("libxres" ,libxres)
1480 ("startup-notification" ,startup-notification)))))
1481
1482 (define-public goffice
1483 (package
1484 (name "goffice")
1485 (version "0.10.28")
1486 (source (origin
1487 (method url-fetch)
1488 (uri (string-append "mirror://gnome/sources/" name "/"
1489 (version-major+minor version) "/"
1490 name "-" version ".tar.xz"))
1491 (sha256
1492 (base32 "12rsgxrixkfpk420gv026i74pnlgqjzsvm6vffrmih54w46hd3q6"))))
1493 (build-system gnu-build-system)
1494 (outputs '("out"
1495 "doc")) ;4.1 MiB of gtk-doc
1496 (arguments
1497 '(#:configure-flags (list (string-append "--with-html-dir="
1498 (assoc-ref %outputs "doc")
1499 "/share/gtk-doc/html"))))
1500 (inputs
1501 `(("gtk+" ,gtk+)
1502 ("libgsf" ,libgsf)
1503 ("librsvg" ,librsvg)
1504 ("libxslt" ,libxslt)
1505 ("libxml2" ,libxml2)))
1506 (native-inputs
1507 `(("intltool" ,intltool)
1508 ("glib" ,glib "bin")
1509 ("pkg-config" ,pkg-config)))
1510 (home-page "https://developer.gnome.org/goffice/")
1511 (synopsis "Document-centric objects and utilities")
1512 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1513 (license
1514 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1515 ;; Note: NOT LGPL
1516 (list license:gpl2 license:gpl3))))
1517
1518 (define-public goffice-0.8
1519 (package (inherit goffice)
1520 (version "0.8.17")
1521 (source (origin
1522 (method url-fetch)
1523 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1524 (version-major+minor version) "/"
1525 (package-name goffice) "-" version ".tar.xz"))
1526 (sha256
1527 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1528 (arguments
1529 `(#:phases
1530 (alist-cons-after
1531 'unpack 'fix-pcre-check
1532 (lambda _
1533 ;; Only glib.h can be included directly. See
1534 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1535 (substitute* "configure"
1536 (("glib/gregex\\.h") "glib.h")) #t)
1537 %standard-phases)
1538
1539 ,@(package-arguments goffice)))
1540 (propagated-inputs
1541 ;; libgoffice-0.8.pc mentions libgsf-1
1542 `(("libgsf" ,libgsf)))
1543 (inputs
1544 `(("gtk" ,gtk+-2)
1545 ,@(alist-delete "gtk" (package-inputs goffice))))))
1546
1547 (define-public gnumeric
1548 (package
1549 (name "gnumeric")
1550 (version "1.12.28")
1551 (source (origin
1552 (method url-fetch)
1553 (uri (string-append "mirror://gnome/sources/" name "/"
1554 (version-major+minor version) "/"
1555 name "-" version ".tar.xz"))
1556 (sha256
1557 (base32
1558 "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02"))))
1559 (build-system gnu-build-system)
1560 (arguments
1561 `(;; The gnumeric developers don't worry much about failing tests.
1562 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1563 #:tests? #f
1564 #:phases
1565 (modify-phases %standard-phases
1566 (add-before
1567 'configure 'pre-conf
1568 (lambda* (#:key outputs #:allow-other-keys)
1569 ;; Make install tries to write into the directory of goffice
1570 ;; I am informed that this only affects the possibility to embed a
1571 ;; spreadsheet inside an Abiword document. So presumably when we
1572 ;; package Abiword we'll have to refer it to this directory.
1573 (substitute* "configure"
1574 (("^GOFFICE_PLUGINS_DIR=.*")
1575 (string-append "GOFFICE_PLUGINS_DIR="
1576 (assoc-ref outputs "out")
1577 "/goffice/plugins"))))))))
1578 (inputs
1579 `(("glib" ,glib)
1580 ("gtk+" ,gtk+)
1581 ("goffice" ,goffice)
1582 ("libgsf" ,libgsf)
1583 ("librsvg" ,librsvg)
1584 ("libxml2" ,libxml2)
1585 ("libxslt" ,libxslt)
1586 ("python" ,python-2)
1587 ("python2-pygobject" ,python2-pygobject)
1588 ("zlib" ,zlib)))
1589 (native-inputs
1590 `(("bison" ,bison)
1591 ("intltool" ,intltool)
1592 ("glib:bin" ,glib "bin")
1593 ("pkg-config" ,pkg-config)))
1594 (home-page "http://www.gnumeric.org")
1595 (synopsis "Spreadsheet application")
1596 (description
1597 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1598 interoperable with other spreadsheet applications. It has a vast array of
1599 features beyond typical spreadsheet functionality, such as support for linear
1600 and non-linear solvers, statistical analysis, and telecommunication
1601 engineering.")
1602 (license
1603 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1604 (list license:gpl2 license:gpl3))))
1605
1606 (define-public gnome-themes-standard
1607 (package
1608 (name "gnome-themes-standard")
1609 (version "3.20")
1610 (source
1611 (origin
1612 (method url-fetch)
1613 (uri (string-append "mirror://gnome/sources/" name "/"
1614 (version-major+minor version) "/" name "-"
1615 version ".tar.xz"))
1616 (sha256
1617 (base32
1618 "1p1vvmzfky1ax3yv9ld10xgqwydhmglxpgq3skrfc4539nrq9phw"))))
1619 (build-system gnu-build-system)
1620 (inputs
1621 `(("gtk+" ,gtk+)
1622 ("gtk+-2" ,gtk+-2)
1623 ("librsvg" ,librsvg)
1624 ("libxml2" ,libxml2)
1625 ("glib" ,glib)))
1626 (native-inputs
1627 `(("intltool" ,intltool)
1628 ("glib:bin" ,glib "bin")
1629 ("pkg-config" ,pkg-config)))
1630 (arguments
1631 `(#:phases
1632 (alist-cons-before
1633 'build 'use-full-cache
1634 ;; Use librsvg's loaders.cache instead of the one provided by
1635 ;; gdk-pixbuf because the latter does not include support for SVG
1636 ;; files.
1637 (lambda* (#:key inputs #:allow-other-keys)
1638 (setenv "GDK_PIXBUF_MODULE_FILE"
1639 (car (find-files (assoc-ref inputs "librsvg")
1640 "loaders\\.cache"))))
1641 %standard-phases)))
1642 (home-page "https://launchpad.net/gnome-themes-standard")
1643 (synopsis "Default GNOME 3 themes")
1644 (description
1645 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1646 (license license:lgpl2.1+)))
1647
1648 (define-public seahorse
1649 (package
1650 (name "seahorse")
1651 (version "3.20.0")
1652 (source
1653 (origin
1654 (method url-fetch)
1655 (uri (string-append "mirror://gnome/sources/" name "/"
1656 (version-major+minor version) "/" name "-"
1657 version ".tar.xz"))
1658 (sha256
1659 (base32
1660 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1661 (build-system glib-or-gtk-build-system)
1662 (inputs
1663 `(("gtk+" ,gtk+)
1664 ("gcr" ,gcr)
1665 ("gnupg" ,gnupg)
1666 ("gpgme" ,gpgme)
1667 ("openldap" ,openldap)
1668 ("openssh" ,openssh)
1669 ("libsecret" ,libsecret)
1670 ("libsoup" ,libsoup)))
1671 (native-inputs
1672 `(("intltool" ,intltool)
1673 ("glib:bin" ,glib "bin")
1674 ("itstool" ,itstool)
1675 ("pkg-config" ,pkg-config)
1676 ("xmllint" ,libxml2)))
1677 (home-page "https://launchpad.net/gnome-themes-standard")
1678 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1679 (description
1680 "Seahorse is a GNOME application for managing encryption keys and
1681 passwords in the GNOME keyring.")
1682 (license license:gpl2+)))
1683
1684 (define-public vala
1685 (package
1686 (name "vala")
1687 (version "0.32.0")
1688 (source (origin
1689 (method url-fetch)
1690 (uri (string-append "mirror://gnome/sources/" name "/"
1691 (version-major+minor version) "/"
1692 name "-" version ".tar.xz"))
1693 (sha256
1694 (base32
1695 "0vpvq403vdd25irvgk7zibz3nw4x4i17m0dgnns8j1q4vr7am8h7"))))
1696 (build-system gnu-build-system)
1697 (arguments
1698 '(#:phases
1699 (modify-phases %standard-phases
1700 (add-before 'check 'pre-check
1701 (lambda _
1702 (setenv "CC" "gcc")
1703 ;; For missing '/etc/machine-id'.
1704 (setenv "DBUS_FATAL_WARNINGS" "0")
1705 #t)))))
1706 (native-inputs
1707 `(("pkg-config" ,pkg-config)
1708 ("flex" ,flex)
1709 ("bison" ,bison)
1710 ("xsltproc" ,libxslt)
1711 ("dbus" ,dbus) ; for dbus tests
1712 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1713 (propagated-inputs
1714 `(("glib" ,glib))) ; required by libvala-0.26.pc
1715 (home-page "http://live.gnome.org/Vala/")
1716 (synopsis "Compiler for the GObject type system")
1717 (description
1718 "Vala is a programming language that aims to bring modern programming
1719 language features to GNOME developers without imposing any additional runtime
1720 requirements and without using a different ABI compared to applications and
1721 libraries written in C.")
1722 (license license:lgpl2.1+)))
1723
1724 (define-public vte
1725 (package
1726 (name "vte")
1727 (version "0.44.0")
1728 (source (origin
1729 (method url-fetch)
1730 (uri (string-append "mirror://gnome/sources/" name "/"
1731 (version-major+minor version) "/"
1732 name "-" version ".tar.xz"))
1733 (sha256
1734 (base32
1735 "1ahjxysiv38q91gfq2wddcbvndlggfr8ynls25m42pw83akv38wk"))))
1736 (build-system gnu-build-system)
1737 (arguments
1738 ;; XXX: fails to compile tests with the default flags.
1739 ;; vteconv.cc:774:40:
1740 ;; error: missing sentinel in function call [-Werror=format=]
1741 ;; g_test_init (&argc, &argv, NULL);
1742 ;;
1743 ;; cc1plus: some warnings being treated as errors
1744 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
1745 (native-inputs
1746 `(("pkg-config" ,pkg-config)
1747 ("intltool" ,intltool)
1748 ("vala" ,vala)
1749 ("gobject-introspection" ,gobject-introspection)
1750 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1751 ("xmllint" ,libxml2)))
1752 (propagated-inputs
1753 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1754 ("gnutls" ,gnutls))) ;ditto
1755 (home-page "http://www.gnome.org/")
1756 (synopsis "Virtual Terminal Emulator")
1757 (description
1758 "VTE is a library (libvte) implementing a terminal emulator widget for
1759 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1760 gnome-terminal, but can also be used to embed a console/terminal in games,
1761 editors, IDEs, etc.")
1762 (license license:lgpl2.1+)))
1763
1764 ;; provides vte 2.90, required for some terminal emulators
1765 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1766 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1767 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1768 ;; pantheon-terminal, roxterm are not currently packaged
1769 (define-public vte-0.36
1770 (package (inherit vte)
1771 (name "vte")
1772 (version "0.36.5")
1773 (source (origin
1774 (method url-fetch)
1775 (uri (string-append "mirror://gnome/sources/" name "/"
1776 (version-major+minor version) "/"
1777 name "-" version ".tar.xz"))
1778 (sha256
1779 (base32
1780 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1781 (propagated-inputs
1782 `(("gtk" ,gtk+)
1783 ("ncurses" ,ncurses)))))
1784
1785 ;; stable version for gtk2, required by xfce4-terminal.
1786 (define-public vte/gtk+-2
1787 (package (inherit vte)
1788 (name "vte")
1789 (version "0.28.2")
1790 (source (origin
1791 (method url-fetch)
1792 (uri (string-append "mirror://gnome/sources/" name "/"
1793 (version-major+minor version) "/"
1794 name "-" version ".tar.xz"))
1795 (sha256
1796 (base32
1797 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1798 (arguments
1799 '(#:configure-flags '("--disable-python")))
1800 (native-inputs
1801 `(("pkg-config" ,pkg-config)
1802 ("intltool" ,intltool)
1803 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1804 (propagated-inputs
1805 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1806 ("ncurses" ,ncurses))))) ; required by libvte.la
1807
1808 (define-public dconf
1809 (package
1810 (name "dconf")
1811 (version "0.26.0")
1812 (source (origin
1813 (method url-fetch)
1814 (uri (string-append
1815 "mirror://gnome/sources/" name "/"
1816 (version-major+minor version) "/"
1817 name "-" version ".tar.xz"))
1818 (sha256
1819 (base32
1820 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1821 (build-system glib-or-gtk-build-system)
1822 (inputs
1823 `(("gtk+" ,gtk+)
1824 ("glib" ,glib)
1825 ("dbus" ,dbus)
1826 ("libxml2" ,libxml2)))
1827 (native-inputs
1828 `(("libxslt" ,libxslt)
1829 ("docbook-xml" ,docbook-xml-4.2)
1830 ("docbook-xsl" ,docbook-xsl)
1831 ("intltool" ,intltool)
1832 ("pkg-config" ,pkg-config)))
1833 (arguments
1834 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1835 ; or /etc/machine-id.
1836 #:configure-flags
1837 ;; Set the correct RUNPATH in binaries.
1838 (list (string-append "LDFLAGS=-Wl,-rpath="
1839 (assoc-ref %outputs "out") "/lib")
1840 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1841 #:phases
1842 (alist-cons-before
1843 'configure 'fix-docbook
1844 (lambda* (#:key inputs #:allow-other-keys)
1845 (substitute* "docs/Makefile.in"
1846 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1847 (string-append (assoc-ref inputs "docbook-xsl")
1848 "/xml/xsl/docbook-xsl-"
1849 ,(package-version docbook-xsl)
1850 "/manpages/docbook.xsl")))
1851 (setenv "XML_CATALOG_FILES"
1852 (string-append (assoc-ref inputs "docbook-xml")
1853 "/xml/dtd/docbook/catalog.xml")))
1854 %standard-phases)))
1855 (home-page "https://developer.gnome.org/dconf")
1856 (synopsis "Low-level GNOME configuration system")
1857 (description "Dconf is a low-level configuration system. Its main purpose
1858 is to provide a backend to GSettings on platforms that don't already have
1859 configuration storage systems.")
1860 (license license:lgpl2.1)))
1861
1862 (define-public json-glib
1863 (package
1864 (name "json-glib")
1865 (version "1.2.0")
1866 (source (origin
1867 (method url-fetch)
1868 (uri (string-append "mirror://gnome/sources/" name "/"
1869 (version-major+minor version) "/"
1870 name "-" version ".tar.xz"))
1871 (sha256
1872 (base32
1873 "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr"))
1874 (modules '((guix build utils)))
1875 (snippet
1876 ;; Don't duplicate test names.
1877 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1878 '(substitute* "json-glib/tests/builder.c"
1879 (("\"/builder/complex\", test_builder_empty")
1880 "\"/builder/empty\", test_builder_empty")))))
1881 (build-system gnu-build-system)
1882 (native-inputs
1883 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1884 ("gobject-introspection" ,gobject-introspection)
1885 ("pkg-config" ,pkg-config)))
1886 (propagated-inputs
1887 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1888 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1889 (synopsis "Compiler for the GObject type system")
1890 (description
1891 "JSON-GLib is a C library based on GLib providing serialization and
1892 deserialization support for the JavaScript Object Notation (JSON) format
1893 described by RFC 4627. It provides parser and generator GObject classes and
1894 various wrappers for the complex data types employed by JSON, such as arrays
1895 and objects.")
1896 (license license:lgpl2.1+)))
1897
1898 (define-public libxklavier
1899 (package
1900 (name "libxklavier")
1901 (version "5.3")
1902 (source (origin
1903 (method url-fetch)
1904 (uri (string-append "mirror://gnome/sources/" name "/"
1905 version "/" name "-" version ".tar.xz"))
1906 (sha256
1907 (base32
1908 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1909 (build-system gnu-build-system)
1910 (arguments
1911 '(#:configure-flags
1912 (list (string-append "--with-xkb-base="
1913 (assoc-ref %build-inputs "xkeyboard-config")
1914 "/share/X11/xkb"))))
1915 (native-inputs
1916 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1917 ("gobject-introspection" ,gobject-introspection)
1918 ("pkg-config" ,pkg-config)))
1919 (propagated-inputs
1920 ;; Required by libxklavier.pc.
1921 `(("glib" ,glib)
1922 ("libxml2" ,libxml2)))
1923 (inputs
1924 `(("iso-codes" ,iso-codes)
1925 ("libxi" ,libxi)
1926 ("libxkbfile" ,libxkbfile)
1927 ("xkbcomp" ,xkbcomp)
1928 ("xkeyboard-config" ,xkeyboard-config)))
1929 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1930 (synopsis "High-level API for X Keyboard Extension")
1931 (description
1932 "LibXklavier is a library providing high-level API for X Keyboard
1933 Extension known as XKB. This library is intended to support XFree86 and other
1934 commercial X servers. It is useful for creating XKB-related software (layout
1935 indicators etc).")
1936 (license license:lgpl2.0+)))
1937
1938 (define-public python2-rsvg
1939 ;; XXX: This is actually a subset of gnome-python-desktop.
1940 (package
1941 (name "python2-rsvg")
1942 (version "2.32.0")
1943 (source
1944 (origin
1945 (method url-fetch)
1946 (uri (string-append
1947 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1948 version ".tar.bz2"))
1949 (sha256
1950 (base32
1951 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1952 (build-system gnu-build-system)
1953 (native-inputs
1954 `(("pkg-config" ,pkg-config)))
1955 (inputs
1956 `(("python" ,python-2)
1957 ("python2-pygtk" ,python2-pygtk)
1958 ("librsvg" ,librsvg)))
1959 (home-page "http://www.gnome.org")
1960 (synopsis "Python bindings to librsvg")
1961 (description
1962 "This packages provides Python bindings to librsvg, the SVG rendering
1963 library.")
1964
1965 ;; This is the license of the rsvg bindings. The license of each module
1966 ;; of gnome-python-desktop is given in 'COPYING'.
1967 (license license:lgpl2.1+)))
1968
1969 (define-public glib-networking
1970 (package
1971 (name "glib-networking")
1972 (version "2.48.0")
1973 (source (origin
1974 (method url-fetch)
1975 (uri (string-append "mirror://gnome/sources/glib-networking/"
1976 (version-major+minor version) "/"
1977 name "-" version ".tar.xz"))
1978 (sha256
1979 (base32
1980 "094hwgnaqm0c7ggyqc9rk2603k5r9vqs3f1d9vwpmfapww9367vs"))
1981 (patches
1982 (search-patches "glib-networking-ssl-cert-file.patch"))))
1983 (build-system gnu-build-system)
1984 (arguments
1985 `(#:configure-flags
1986 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
1987 #:phases
1988 (modify-phases %standard-phases
1989 (add-before 'configure 'patch-giomoduledir
1990 ;; Install GIO modules into $out/lib/gio/modules.
1991 (lambda _
1992 (substitute* "configure"
1993 (("GIO_MODULE_DIR=.*")
1994 (string-append "GIO_MODULE_DIR=" %output
1995 "/lib/gio/modules\n")))))
1996 (add-before 'check 'use-empty-ssl-cert-file
1997 (lambda _
1998 ;; The ca-certificates.crt is not available in the build
1999 ;; environment.
2000 (setenv "SSL_CERT_FILE" "/dev/null")
2001 #t)))))
2002 (native-inputs
2003 `(("pkg-config" ,pkg-config)
2004 ("intltool" ,intltool)))
2005 (inputs
2006 `(("glib" ,glib)
2007 ("gnutls" ,gnutls)
2008 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2009 ("p11-kit" ,p11-kit)))
2010 (home-page "http://www.gnome.org")
2011 (synopsis "Network-related GIO modules")
2012 (description
2013 "This package contains various network related extensions for the GIO
2014 library.")
2015 (license license:lgpl2.0+)))
2016
2017 (define-public rest
2018 (package
2019 (name "rest")
2020 (version "0.7.93")
2021 (source (origin
2022 (method url-fetch)
2023 (uri (string-append "mirror://gnome/sources/rest/"
2024 (version-major+minor version) "/"
2025 name "-" version ".tar.xz"))
2026 (sha256
2027 (base32
2028 "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467"))))
2029 (build-system gnu-build-system)
2030 (arguments
2031 '(#:tests? #f ; tests require internet connection
2032 #:configure-flags
2033 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2034 (native-inputs
2035 `(("glib-mkenums" ,glib "bin")
2036 ("gobject-introspection" ,gobject-introspection)
2037 ("pkg-config" ,pkg-config)))
2038 (propagated-inputs
2039 ;; rest-0.7.pc refers to all these.
2040 `(("glib" ,glib)
2041 ("libsoup" ,libsoup)
2042 ("libxml2" ,libxml2)))
2043 (home-page "http://www.gtk.org/")
2044 (synopsis "RESTful web api query library")
2045 (description
2046 "This library was designed to make it easier to access web services that
2047 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2048 libxml to ease remote use of the RESTful API.")
2049 (license license:lgpl2.1+)))
2050
2051 (define-public libsoup
2052 (package
2053 (name "libsoup")
2054 (version "2.54.0.1")
2055 (source (origin
2056 (method url-fetch)
2057 (uri (string-append "mirror://gnome/sources/libsoup/"
2058 (version-major+minor version) "/"
2059 name "-" version ".tar.xz"))
2060 (sha256
2061 (base32
2062 "1q1qds87qya5cbx4jfcmf1v8fvb86p0wsjnhj246w0xxcq0r5r5d"))))
2063 (build-system gnu-build-system)
2064 (outputs '("out" "doc"))
2065 (arguments
2066 `(#:configure-flags
2067 (list (string-append "--with-html-dir="
2068 (assoc-ref %outputs "doc")
2069 "/share/gtk-doc/html"))
2070 #:phases
2071 (modify-phases %standard-phases
2072 (add-before 'configure 'disable-unconnected-socket-test
2073 ;; This test fails due to missing /etc/nsswitch.conf
2074 ;; in the build environment.
2075 (lambda _
2076 (substitute* "tests/socket-test.c"
2077 ((".*/sockets/unconnected.*") ""))
2078 #t))
2079 (add-before 'check 'pre-check
2080 (lambda _
2081 ;; The 'check-local' target runs 'env LANG=C sort -u',
2082 ;; unset 'LC_ALL' to make 'LANG' working.
2083 (unsetenv "LC_ALL")
2084 ;; The ca-certificates.crt is not available in the build
2085 ;; environment.
2086 (setenv "SSL_CERT_FILE" "/dev/null")
2087 #t))
2088 (replace 'install
2089 (lambda _
2090 (zero?
2091 (system* "make"
2092 ;; Install vala bindings into $out.
2093 (string-append "vapidir=" %output
2094 "/share/vala/vapi")
2095 "install")))))))
2096 (native-inputs
2097 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2098 ("gobject-introspection" ,gobject-introspection)
2099 ("intltool" ,intltool)
2100 ("pkg-config" ,pkg-config)
2101 ("python" ,python-wrapper)
2102 ("vala" ,vala)
2103 ;; These are needed for the tests.
2104 ;; FIXME: Add PHP once available.
2105 ("curl" ,curl)
2106 ("httpd" ,httpd)))
2107 (propagated-inputs
2108 ;; libsoup-2.4.pc refers to all these.
2109 `(("glib" ,glib)
2110 ("libxml2" ,libxml2)))
2111 (inputs
2112 `(("glib-networking" ,glib-networking)
2113 ("sqlite" ,sqlite)))
2114 (home-page "https://live.gnome.org/LibSoup/")
2115 (synopsis "GLib-based HTTP Library")
2116 (description
2117 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2118 and the GLib main loop, to integrate well with GNOME applications.")
2119 (license license:lgpl2.0+)))
2120
2121 (define-public libsecret
2122 (package
2123 (name "libsecret")
2124 (version "0.18.5")
2125 (source (origin
2126 (method url-fetch)
2127 (uri (string-append
2128 "mirror://gnome/sources/libsecret/"
2129 (version-major+minor version) "/"
2130 name "-" version ".tar.xz"))
2131 (sha256
2132 (base32
2133 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2134 (build-system gnu-build-system)
2135 (outputs '("out" "doc"))
2136 (arguments
2137 `(#:tests? #f ; FIXME: Testing hangs.
2138 #:configure-flags
2139 (list (string-append "--with-html-dir="
2140 (assoc-ref %outputs "doc")
2141 "/share/gtk-doc/html"))))
2142 (native-inputs
2143 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2144 ("gobject-introspection" ,gobject-introspection)
2145 ("intltool" ,intltool)
2146 ("pkg-config" ,pkg-config)
2147 ("vala" ,vala)
2148 ("xsltproc" ,libxslt)))
2149 ;; These are needed for the tests.
2150 ;; FIXME: Add gjs once available.
2151 ;("dbus" ,dbus)
2152 ;("python2" ,python-2)
2153 ;("python2-dbus" ,python2-dbus)
2154 ;("python2-pygobject" ,python2-pygobject)
2155 ;("python2-pygobject-2" ,python2-pygobject-2)))
2156 (propagated-inputs
2157 `(("glib" ,glib))) ; required by libsecret-1.pc
2158 (inputs
2159 `(("docbook-xsl" ,docbook-xsl)
2160 ("libgcrypt" ,libgcrypt)
2161 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2162 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2163 (synopsis "GObject bindings for \"Secret Service\" API")
2164 (description
2165 "Libsecret is a GObject based library for storing and retrieving passwords
2166 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2167 (license license:lgpl2.1+)))
2168
2169 (define-public gnome-mines
2170 (package
2171 (name "gnome-mines")
2172 (version "3.20.0")
2173 (source
2174 (origin
2175 (method url-fetch)
2176 (uri (string-append "mirror://gnome/sources/" name "/"
2177 (version-major+minor version) "/"
2178 name "-" version ".tar.xz"))
2179 (sha256
2180 (base32
2181 "19khp4ckqbdgk6828gprxy52fsg8klf957dnwsin75nskk8whxbp"))))
2182 (build-system glib-or-gtk-build-system)
2183 (arguments
2184 '(#:phases
2185 (modify-phases %standard-phases
2186 (add-before 'configure 'patch-/bin/true
2187 (lambda _
2188 (substitute* "configure"
2189 (("/bin/true") (which "true"))))))))
2190 (native-inputs
2191 `(("pkg-config" ,pkg-config)
2192 ("desktop-file-utils" ,desktop-file-utils)
2193 ("intltool" ,intltool)
2194 ("itstool" ,itstool)
2195 ("xmllint" ,libxml2)))
2196 (inputs
2197 `(("gtk+" ,gtk+)
2198 ("librsvg" ,librsvg)))
2199 (home-page "https://wiki.gnome.org/Apps/Mines")
2200 (synopsis "Minesweeper game")
2201 (description
2202 "Mines (previously gnomine) is a puzzle game where you locate mines
2203 floating in an ocean using only your brain and a little bit of luck.")
2204 (license license:gpl2+)))
2205
2206 (define-public gnome-sudoku
2207 (package
2208 (name "gnome-sudoku")
2209 (version "3.18.2")
2210 (source
2211 (origin
2212 (method url-fetch)
2213 (uri (string-append "mirror://gnome/sources/" name "/"
2214 (version-major+minor version) "/"
2215 name "-" version ".tar.xz"))
2216 (sha256
2217 (base32
2218 "1b60z22fjrjzsz0kfhv0kfhvigzn54wvh9s31zrlp7sx2h2dxvsf"))))
2219 (build-system glib-or-gtk-build-system)
2220 (native-inputs
2221 `(("pkg-config" ,pkg-config)
2222 ("desktop-file-utils" ,desktop-file-utils)
2223 ("intltool" ,intltool)
2224 ("itstool" ,itstool)
2225 ("xmllint" ,libxml2)))
2226 (inputs
2227 `(("gtk+" ,gtk+)
2228 ("json-glib" ,json-glib)
2229 ("libgee" ,libgee)
2230 ("librsvg" ,librsvg)
2231 ("qqwing" ,qqwing)))
2232 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2233 (synopsis "Japanese logic game")
2234 (description
2235 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2236 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2237 possible while still providing features that make playing difficult Sudoku
2238 more fun.")
2239 (license license:gpl2+)))
2240
2241 (define-public gnome-terminal
2242 (package
2243 (name "gnome-terminal")
2244 (version "3.20.0")
2245 (source
2246 (origin
2247 (method url-fetch)
2248 (uri (string-append "mirror://gnome/sources/" name "/"
2249 (version-major+minor version) "/"
2250 name "-" version ".tar.xz"))
2251 (sha256
2252 (base32
2253 "0l21xcc2g56wkq83wq5wnrah2gwckqxnfgpqavhkrsd47jyzdrrg"))))
2254 (build-system glib-or-gtk-build-system)
2255 (arguments
2256 '(#:configure-flags
2257 (list "--disable-migration" "--disable-search-provider"
2258 "--without-nautilus-extension")
2259 #:phases
2260 (modify-phases %standard-phases
2261 (add-before 'configure 'patch-/bin/true
2262 (lambda _
2263 (substitute* "configure"
2264 (("/bin/true") (which "true"))))))))
2265 (native-inputs
2266 `(("pkg-config" ,pkg-config)
2267 ("desktop-file-utils" ,desktop-file-utils)
2268 ("intltool" ,intltool)
2269 ("itstool" ,itstool)
2270 ("xmllint" ,libxml2)))
2271 (propagated-inputs
2272 `(("dconf" ,dconf)))
2273 (inputs
2274 `(("gtk+" ,gtk+)
2275 ("vte" ,vte)
2276 ("gnutls" ,gnutls)
2277 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2278 ("util-linux" ,util-linux)
2279 ("vala" ,vala)))
2280 (home-page "https://wiki.gnome.org/Apps/Terminal")
2281 (synopsis "Terminal emulator")
2282 (description
2283 "GNOME Terminal is a terminal emulator application for accessing a
2284 UNIX shell environment which can be used to run programs available on
2285 your system.
2286
2287 It supports several profiles, multiple tabs and implements several
2288 keyboard shortcuts.")
2289 (license license:gpl3+)))
2290
2291 (define-public colord
2292 (package
2293 (name "colord")
2294 (version "1.1.8")
2295 (source
2296 (origin
2297 (method url-fetch)
2298 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2299 name "-" version ".tar.xz"))
2300 (sha256
2301 (base32
2302 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2303 (build-system glib-or-gtk-build-system)
2304 (arguments
2305 '(;; The tests want to run valgrind. Punt for now.
2306 #:tests? #f
2307 #:configure-flags (list "--localstatedir=/var"
2308 ;; GUSB not packaged yet.
2309 "--disable-gusb"
2310 ;; No dep on systemd.
2311 "--disable-systemd-login"
2312 ;; Wants to install to global completion dir;
2313 ;; punt.
2314 "--disable-bash-completion"
2315 ;; colord-gtk not packaged yet.
2316 "--disable-session-example"
2317 "--with-daemon-user=colord"
2318 "--enable-sane"
2319 (string-append "--with-udevrulesdir="
2320 (assoc-ref %outputs "out")
2321 "/lib/udev/rules.d"))
2322 #:phases
2323 (modify-phases %standard-phases
2324 (add-before 'configure 'patch-/bin/true
2325 (lambda _
2326 (substitute* "configure"
2327 (("/bin/true") (which "true")))
2328 (substitute* "src/Makefile.in"
2329 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2330 "if test -w $(DESTDIR)$(localstatedir);")))))))
2331 (native-inputs
2332 `(("pkg-config" ,pkg-config)
2333 ("gobject-introspection" ,gobject-introspection)
2334 ("libtool" ,libtool)
2335 ("intltool" ,intltool)))
2336 (propagated-inputs
2337 ;; colord.pc refers to all these.
2338 `(("glib" ,glib)
2339 ("udev" ,eudev)
2340 ("lcms" ,lcms)))
2341 (inputs
2342 `(("dbus-glib" ,dbus-glib)
2343 ("libgudev" ,libgudev)
2344 ("libusb" ,libusb)
2345 ("sqlite" ,sqlite)
2346 ("polkit" ,polkit)
2347 ("sane-backends" ,sane-backends)))
2348 (home-page "http://www.freedesktop.org/software/colord/")
2349 (synopsis "Color management service")
2350 (description "Colord is a system service that makes it easy to manage,
2351 install and generate color profiles to accurately color manage input and
2352 output devices.")
2353 (license license:gpl2+)))
2354
2355 (define-public geoclue
2356 (package
2357 (name "geoclue")
2358 (version "2.2.0")
2359 (source
2360 (origin
2361 (method url-fetch)
2362 (uri (string-append "https://www.freedesktop.org/software/" name
2363 "/releases/" (version-major+minor version) "/"
2364 name "-" version ".tar.xz"))
2365 (sha256
2366 (base32
2367 "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454"))
2368 (patches (search-patches "geoclue-config.patch"))))
2369 (build-system glib-or-gtk-build-system)
2370 (arguments
2371 '(;; The tests want to run the system bus.
2372 #:tests? #f
2373 #:configure-flags (list ;; Disable bits requiring ModemManager.
2374 "--disable-3g-source"
2375 "--disable-cdma-source"
2376 "--disable-modem-gps-source"
2377 "--with-dbus-service-user=geoclue")
2378 #:phases
2379 (modify-phases %standard-phases
2380 (add-before 'configure 'patch-/bin/true
2381 (lambda _
2382 (substitute* "configure"
2383 (("/bin/true") (which "true"))))))))
2384 (native-inputs
2385 `(("pkg-config" ,pkg-config)
2386 ("intltool" ,intltool)))
2387 (inputs
2388 `(("glib" ,glib)
2389 ("json-glib" ,json-glib)
2390 ("libsoup" ,libsoup)))
2391 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2392 (synopsis "Geolocation service")
2393 (description "Geoclue is a D-Bus service that provides location
2394 information. The primary goal of the Geoclue project is to make creating
2395 location-aware applications as simple as possible, while the secondary goal is
2396 to ensure that no application can access location information without explicit
2397 permission from user.")
2398 (license license:gpl2+)))
2399
2400 (define-public geocode-glib
2401 (package
2402 (name "geocode-glib")
2403 (version "3.20.0")
2404 (source (origin
2405 (method url-fetch)
2406 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2407 (version-major+minor version) "/"
2408 name "-" version ".tar.xz"))
2409 (sha256
2410 (base32
2411 "1fmn3gmifq8jbgnpv8jj33n4glpb5djjrfk0l9fak0cliqin88jz"))))
2412 (build-system gnu-build-system)
2413 (arguments
2414 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2415 ;; work for the builder. Punt.
2416 #:tests? #f))
2417 (native-inputs
2418 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2419 ("gobject-introspection" ,gobject-introspection)
2420 ("pkg-config" ,pkg-config)
2421 ("json-glib" ,json-glib)))
2422 (propagated-inputs
2423 ;; geocode-glib-1.0.pc refers to GIO.
2424 `(("glib" ,glib)))
2425 (inputs
2426 `(("libsoup" ,libsoup)))
2427 (home-page "https://github.com/GNOME/geocode-glib/")
2428 (synopsis "Geocoding and reverse-geocoding library")
2429 (description
2430 "geocode-glib is a convenience library for geocoding (finding longitude,
2431 and latitude from an address) and reverse geocoding (finding an address from
2432 coordinates) using the Nominatim service. geocode-glib caches requests for
2433 faster results and to avoid unnecessary server load.")
2434 (license license:lgpl2.0+)))
2435
2436 (define-public upower
2437 (package
2438 (name "upower")
2439 (version "0.99.3")
2440 (source (origin
2441 (method url-fetch)
2442 (uri (string-append "https://upower.freedesktop.org/releases/"
2443 name "-" version ".tar.xz"))
2444 (sha256
2445 (base32
2446 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2447 (patches (search-patches "upower-builddir.patch"))))
2448 (build-system glib-or-gtk-build-system)
2449 (arguments
2450 '( ;; The tests want to contact the system bus, which can't be done in the
2451 ;; build environment. The integration test can run, but the last of
2452 ;; the up-self-tests doesn't. Disable tests for now.
2453 #:tests? #f
2454 #:configure-flags (list "--localstatedir=/var"
2455 (string-append "--with-udevrulesdir="
2456 (assoc-ref %outputs "out")
2457 "/lib/udev/rules.d"))
2458 #:phases
2459 (modify-phases %standard-phases
2460 (add-before 'configure 'patch-/bin/true
2461 (lambda _
2462 (substitute* "configure"
2463 (("/bin/true") (which "true")))))
2464 (add-before 'configure 'patch-integration-test
2465 (lambda _
2466 (substitute* "src/linux/integration-test"
2467 (("/usr/bin/python3") (which "python3"))))))))
2468 (native-inputs
2469 `(("gobject-introspection" ,gobject-introspection)
2470 ("pkg-config" ,pkg-config)
2471 ("intltool" ,intltool)
2472 ("python" ,python)
2473
2474 ;; For man pages.
2475 ("libxslt" ,libxslt) ;for 'xsltproc'
2476 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2477 ("docbook-xsl" ,docbook-xsl)))
2478 (inputs
2479 `(("dbus-glib" ,dbus-glib)
2480 ("libgudev" ,libgudev)
2481 ("libusb" ,libusb)))
2482 (home-page "http://upower.freedesktop.org/")
2483 (synopsis "System daemon for managing power devices")
2484 (description
2485 "UPower is an abstraction for enumerating power devices,
2486 listening to device events and querying history and statistics. Any
2487 application or service on the system can access the org.freedesktop.UPower
2488 service via the system message bus.")
2489 (license license:gpl2+)))
2490
2491 (define-public libgweather
2492 (package
2493 (name "libgweather")
2494 (version "3.20.0")
2495 (source (origin
2496 (method url-fetch)
2497 (uri (string-append "mirror://gnome/sources/" name "/"
2498 (version-major+minor version) "/"
2499 name "-" version ".tar.xz"))
2500 (sha256
2501 (base32
2502 "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj"))))
2503 (build-system gnu-build-system)
2504 (arguments
2505 `(#:configure-flags
2506 `(,(string-append "--with-zoneinfo-dir="
2507 (assoc-ref %build-inputs "tzdata")
2508 "/share/zoneinfo"))
2509 #:phases
2510 (modify-phases %standard-phases
2511 (add-before
2512 'check 'pre-check
2513 (lambda* (#:key inputs #:allow-other-keys)
2514 (substitute* "data/check-timezones.sh"
2515 (("/usr/share/zoneinfo/zone.tab")
2516 (string-append (assoc-ref inputs "tzdata")
2517 "/share/zoneinfo/zone.tab")))
2518 #t)))))
2519 (native-inputs
2520 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2521 ("gobject-introspection" ,gobject-introspection)
2522 ("pkg-config" ,pkg-config)
2523 ("intltool" ,intltool)))
2524 (propagated-inputs
2525 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2526 ;; libsoup.
2527 `(("gtk+" ,gtk+)
2528 ("gdk-pixbuf" ,gdk-pixbuf)
2529 ("libxml2" ,libxml2)
2530 ("libsoup" ,libsoup)))
2531 (inputs
2532 `(("tzdata" ,tzdata)
2533 ("geocode-glib" ,geocode-glib)))
2534 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2535 (synopsis "Location, time zone, and weather library for GNOME")
2536 (description
2537 "libgweather is a library to access weather information from online
2538 services for numerous locations.")
2539 (license license:gpl2+)))
2540
2541 (define-public gnome-settings-daemon
2542 (package
2543 (name "gnome-settings-daemon")
2544 (version "3.20.0")
2545 (source
2546 (origin
2547 (method url-fetch)
2548 (uri (string-append "mirror://gnome/sources/" name "/"
2549 (version-major+minor version) "/"
2550 name "-" version ".tar.xz"))
2551 (sha256
2552 (base32
2553 "0v1c2vnpqw5pvx62jxvjfa2g5k29yx04vz35awqi943gasrl0bmv"))))
2554 (build-system glib-or-gtk-build-system)
2555 (arguments
2556 `(;; Network manager not yet packaged.
2557 #:configure-flags '("--disable-network-manager")
2558 ;; Color management test can't reach the colord system service.
2559 #:tests? #f))
2560 (native-inputs
2561 `(("pkg-config" ,pkg-config)
2562 ("intltool" ,intltool)
2563 ("xsltproc" ,libxslt)
2564 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2565 ("docbook-xml" ,docbook-xml-4.2)
2566 ("docbook-xsl" ,docbook-xsl)))
2567 (inputs
2568 `(("colord" ,colord)
2569 ("libgudev" ,libgudev)
2570 ("upower" ,upower)
2571 ("polkit" ,polkit)
2572 ("pulseaudio" ,pulseaudio)
2573 ("libcanberra" ,libcanberra)
2574 ("libx11" ,libx11)
2575 ("libxtst" ,libxtst)
2576 ("lcms" ,lcms)
2577 ("libnotify" ,libnotify)
2578 ("geoclue" ,geoclue)
2579 ("geocode-glib" ,geocode-glib)
2580 ("libgweather" ,libgweather)
2581 ("gnome-desktop" ,gnome-desktop)
2582 ("nss" ,nss)
2583 ("cups" ,cups)
2584 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2585 ("libwacom" ,libwacom)
2586 ("librsvg" ,librsvg)
2587 ("xf86-input-wacom" ,xf86-input-wacom)))
2588 (home-page "http://www.gnome.org")
2589 (synopsis "GNOME settings daemon")
2590 (description
2591 "This package contains the daemon responsible for setting the various
2592 parameters of a GNOME session and the applications that run under it. It
2593 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2594 settings, themes, mouse settings, and startup of other daemons.")
2595 (license license:gpl2+)))
2596
2597 (define-public totem-pl-parser
2598 (package
2599 (name "totem-pl-parser")
2600 (version "3.10.6")
2601 (source (origin
2602 (method url-fetch)
2603 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2604 "totem-pl-parser-" version ".tar.xz"))
2605 (sha256
2606 (base32
2607 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2608 (build-system gnu-build-system)
2609 (arguments
2610 ;; FIXME: Tests require gvfs.
2611 `(#:tests? #f))
2612 (native-inputs
2613 `(("intltool" ,intltool)
2614 ("glib" ,glib "bin")
2615 ("gobject-introspection" ,gobject-introspection)
2616 ("pkg-config" ,pkg-config)))
2617 (propagated-inputs
2618 `(("glib" ,glib)
2619 ("gmime" ,gmime)
2620 ("libxml2" ,libxml2)))
2621 (inputs
2622 `(("libarchive" ,libarchive)
2623 ("libgcrypt" ,libgcrypt)
2624 ("nettle" ,nettle)
2625 ("libsoup" ,libsoup)))
2626 (home-page "https://projects.gnome.org/totem")
2627 (synopsis "Library to parse and save media playlists for GNOME")
2628 (description "Totem-pl-parser is a GObjects-based library to parse and save
2629 playlists in a variety of formats.")
2630 (license license:lgpl2.0+)))
2631
2632 (define-public aisleriot
2633 (package
2634 (name "aisleriot")
2635 (version "3.20.1")
2636 (source (origin
2637 (method url-fetch)
2638 (uri (string-append "mirror://gnome/sources/" name "/"
2639 (version-major+minor version) "/"
2640 name "-" version ".tar.xz"))
2641 (sha256
2642 (base32
2643 "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy"))))
2644 (build-system glib-or-gtk-build-system)
2645 (arguments
2646 '(#:configure-flags
2647 '("--with-platform=gtk-only"
2648 "--with-card-theme-formats=svg")))
2649 (native-inputs
2650 `(("desktop-file-utils" ,desktop-file-utils)
2651 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2652 ("intltool" ,intltool)
2653 ("itstool" ,itstool)
2654 ("pkg-config" ,pkg-config)
2655 ("xmllint" ,libxml2)))
2656 (inputs
2657 `(("gtk+" ,gtk+)
2658 ("guile" ,guile-2.0)
2659 ("libcanberra" ,libcanberra)
2660 ("librsvg" ,librsvg)))
2661 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2662 (synopsis "Solitaire card games")
2663 (description
2664 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2665 which are easy to play with the aid of a mouse.")
2666 (license license:gpl3+)))
2667
2668 (define-public devhelp
2669 (package
2670 (name "devhelp")
2671 (version "3.20.0")
2672 (source (origin
2673 (method url-fetch)
2674 (uri (string-append "mirror://gnome/sources/" name "/"
2675 (version-major+minor version) "/"
2676 name "-" version ".tar.xz"))
2677 (sha256
2678 (base32
2679 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2680 (build-system glib-or-gtk-build-system)
2681 (native-inputs
2682 `(("intltool" ,intltool)
2683 ("pkg-config" ,pkg-config)))
2684 (inputs
2685 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2686 ("webkitgtk" ,webkitgtk)))
2687 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2688 (synopsis "API documentation browser for GNOME")
2689 (description
2690 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2691 natively with GTK-Doc (the API reference system developed for GTK+ and used
2692 throughout GNOME for API documentation).")
2693 (license license:gpl2+)))
2694
2695 (define-public cogl
2696 (package
2697 (name "cogl")
2698 (version "1.22.0")
2699 (source
2700 (origin
2701 (method url-fetch)
2702 (uri (string-append "mirror://gnome/sources/" name "/"
2703 (version-major+minor version) "/"
2704 name "-" version ".tar.xz"))
2705 (sha256
2706 (base32
2707 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2708 (build-system gnu-build-system)
2709 (native-inputs
2710 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2711 ("gobject-introspection" ,gobject-introspection)
2712 ;;("xorg-server" ,xorg-server) ; for the test suite
2713 ("pkg-config" ,pkg-config)))
2714 (propagated-inputs
2715 `(("glib" ,glib)
2716 ("gdk-pixbuf" ,gdk-pixbuf)
2717 ("libx11" ,libx11)
2718 ("libxext" ,libxext)
2719 ("libxfixes" ,libxfixes)
2720 ("libxdamage" ,libxdamage)
2721 ("libxcomposite" ,libxcomposite)
2722 ("libxrandr" ,libxrandr)))
2723 (inputs
2724 `(("mesa" ,mesa)
2725 ("cairo" ,cairo)
2726 ("pango" ,pango)
2727 ("gstreamer" ,gstreamer)
2728 ("gst-plugins-base" ,gst-plugins-base)))
2729 (arguments
2730 `(#:configure-flags (list "--enable-cogl-gst"
2731 ;; Arrange to pass an absolute file name to
2732 ;; dlopen for libGL.so.
2733 (string-append "--with-gl-libname="
2734 (assoc-ref %build-inputs "mesa")
2735 "/lib/libGL.so"))
2736 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2737 ;; _FontTransOpen: Unable to Parse address
2738 ;; ${prefix}/share/fonts/X11/misc/
2739 #:tests? #f
2740 #; #:phases
2741 #;
2742 (modify-phases %standard-phases
2743 (add-before 'check 'start-xorg-server
2744 (lambda* (#:key inputs #:allow-other-keys)
2745 ;; The test suite requires a running X server.
2746 (system (format #f "~a/bin/Xvfb :1 &"
2747 (assoc-ref inputs "xorg-server")))
2748 (setenv "DISPLAY" ":1")
2749 #t)))))
2750 (home-page "http://www.cogl3d.org")
2751 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2752 (description
2753 "Cogl is a small library for using 3D graphics hardware to draw pretty
2754 pictures. The API departs from the flat state machine style of OpenGL and is
2755 designed to make it easy to write orthogonal components that can render
2756 without stepping on each others toes.")
2757 (license (list license:expat ; most of the code
2758 license:bsd-3 ; cogl/cogl-point-in-poly.c
2759 license:sgifreeb2.0 ; cogl-path/tesselator/
2760 license:asl2.0)))) ; examples/android/
2761
2762 (define-public clutter
2763 (package
2764 (name "clutter")
2765 (version "1.26.0")
2766 (source
2767 (origin
2768 (method url-fetch)
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2772 (sha256
2773 (base32
2774 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2775 (build-system gnu-build-system)
2776 (outputs '("out"
2777 "doc")) ;9 MiB of gtk-doc HTML pages
2778 (native-inputs
2779 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2780 ("gobject-introspection" ,gobject-introspection)
2781 ("pkg-config" ,pkg-config)
2782 ("xsltproc" ,libxslt)))
2783 (propagated-inputs
2784 `(("cogl" ,cogl)
2785 ("cairo" ,cairo)
2786 ("atk" ,atk)
2787 ("gtk+" ,gtk+)
2788 ("json-glib" ,json-glib)
2789 ("glib" ,glib)
2790 ("libxcomposite" ,libxcomposite)
2791 ("libxdamage" ,libxdamage)
2792 ("libxext" ,libxext)
2793 ("xinput" ,xinput)))
2794 (inputs
2795 `(("libxkbcommon" ,libxkbcommon)
2796 ("udev" ,eudev)))
2797 (arguments
2798 `(#:configure-flags (list "--enable-x11-backend=yes"
2799
2800 ;; This produces share/doc/{clutter,cally}.
2801 (string-append "--with-html-dir="
2802 (assoc-ref %outputs "doc")
2803 "/share/doc"))
2804 ;; XXX FIXME: Get test suite working. It would probably fail in the
2805 ;; same way the cogl tests fail, since clutter is based on cogl.
2806 #:tests? #f))
2807 (home-page "http://www.clutter-project.org")
2808 (synopsis "Open GL based interactive canvas library")
2809 (description
2810 "Clutter is an Open GL based interactive canvas library, designed for
2811 creating fast, mainly 2D single window applications such as media box UIs,
2812 presentations, kiosk style applications and so on.")
2813 (license license:lgpl2.0+)))
2814
2815 (define-public clutter-gtk
2816 (package
2817 (name "clutter-gtk")
2818 (version "1.8.0")
2819 (source
2820 (origin
2821 (method url-fetch)
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.xz"))
2825 (sha256
2826 (base32
2827 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2828 (build-system gnu-build-system)
2829 (native-inputs
2830 `(("pkg-config" ,pkg-config)
2831 ("gobject-introspection" ,gobject-introspection)))
2832 (propagated-inputs
2833 ;; clutter-gtk.pc refers to all these.
2834 `(("clutter" ,clutter)
2835 ("gtk+" ,gtk+)))
2836 (home-page "http://www.clutter-project.org")
2837 (synopsis "Open GL based interactive canvas library GTK+ widget")
2838 (description
2839 "Clutter is an Open GL based interactive canvas library, designed for
2840 creating fast, mainly 2D single window applications such as media box UIs,
2841 presentations, kiosk style applications and so on.")
2842 (license license:lgpl2.0+)))
2843
2844 (define-public clutter-gst
2845 (package
2846 (name "clutter-gst")
2847 (version "3.0.18")
2848 (source
2849 (origin
2850 (method url-fetch)
2851 (uri (string-append "mirror://gnome/sources/" name "/"
2852 (version-major+minor version) "/"
2853 name "-" version ".tar.xz"))
2854 (sha256
2855 (base32
2856 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2857 (build-system gnu-build-system)
2858 (native-inputs
2859 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2860 ("pkg-config" ,pkg-config)
2861 ("gobject-introspection" ,gobject-introspection)))
2862 (inputs
2863 `(("clutter" ,clutter)
2864 ("gstreamer" ,gstreamer)
2865 ("gst-plugins-base" ,gst-plugins-base)))
2866 (home-page "http://www.clutter-project.org")
2867 (synopsis "Integration library for using GStreamer with Clutter")
2868 (description
2869 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2870 It provides a GStreamer sink to upload frames to GL and an actor that
2871 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2872 GL based interactive canvas library.")
2873 (license license:lgpl2.0+)))
2874
2875 (define-public libchamplain
2876 (package
2877 (name "libchamplain")
2878 (version "0.12.13")
2879 (source (origin
2880 (method url-fetch)
2881 (uri (string-append
2882 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2883 version ".tar.xz"))
2884 (sha256
2885 (base32
2886 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2887 (build-system gnu-build-system)
2888 (native-inputs `(("pkg-config" ,pkg-config)))
2889 (propagated-inputs
2890 `(("libsoup" ,libsoup)
2891 ("sqlite" ,sqlite)
2892 ("clutter" ,clutter)
2893 ("clutter-gtk" ,clutter-gtk)
2894 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2895 ("cairo" ,cairo)
2896 ("gtk+3" ,gtk+)
2897 ("glib" ,glib)))
2898 (home-page "http://projects.gnome.org/libchamplain/")
2899 (synopsis "C library providing a ClutterActor to display maps")
2900 (description
2901 "libchamplain is a C library providing a ClutterActor to display maps.
2902 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2903 and Perl bindings are also available. It supports numerous free map sources
2904 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2905 (license license:lgpl2.1+)))
2906
2907 (define-public gom
2908 (package
2909 (name "gom")
2910 (version "0.3.1")
2911 (source
2912 (origin
2913 (method url-fetch)
2914 (uri (string-append "mirror://gnome/sources/" name "/"
2915 (version-major+minor version) "/"
2916 name "-" version ".tar.xz"))
2917 (sha256
2918 (base32
2919 "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr"))))
2920 (build-system gnu-build-system)
2921 (native-inputs
2922 `(("intltool" ,intltool)
2923 ("pkg-config" ,pkg-config)
2924 ("gobject-introspection" ,gobject-introspection)))
2925 (inputs
2926 `(("glib" ,glib)
2927 ("gdk-pixbuf" ,gdk-pixbuf)
2928 ("sqlite" ,sqlite)))
2929 ;; XXX TODO: Figure out how to run the test suite.
2930 (arguments `(#:tests? #f))
2931 (home-page "https://wiki.gnome.org/Projects/Gom")
2932 (synopsis "Object mapper from GObjects to SQLite")
2933 (description
2934 "Gom provides an object mapper from GObjects to SQLite. It helps you
2935 write applications that need to store structured data as well as make complex
2936 queries upon that data.")
2937 (license license:lgpl2.1+)))
2938
2939 (define-public gnome-klotski
2940 (package
2941 (name "gnome-klotski")
2942 (version "3.20.0")
2943 (source (origin
2944 (method url-fetch)
2945 (uri (string-append "mirror://gnome/sources/" name "/"
2946 (version-major+minor version) "/"
2947 name "-" version ".tar.xz"))
2948 (sha256
2949 (base32
2950 "00hs3ci8swmq12rmgidy7rf3ql9isbklhn114v8rzdfs46y5dzkp"))))
2951 (build-system glib-or-gtk-build-system)
2952 (native-inputs
2953 `(("desktop-file-utils" ,desktop-file-utils)
2954 ("intltool" ,intltool)
2955 ("itstool" ,itstool)
2956 ("pkg-config" ,pkg-config)
2957 ("xmllint" ,libxml2)))
2958 (inputs
2959 `(("gtk+" ,gtk+)
2960 ("librsvg" ,librsvg)))
2961 (home-page "https://wiki.gnome.org/Apps/Klotski")
2962 (synopsis "Sliding block puzzles")
2963 (description
2964 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2965 the patterned block to the area bordered by green markers. To do so, you will
2966 need to slide other blocks out of the way. Complete each puzzle in as few moves
2967 as possible!")
2968 (license license:gpl2+)))
2969
2970 (define-public grilo
2971 (package
2972 (name "grilo")
2973 (version "0.2.15")
2974 (source
2975 (origin
2976 (method url-fetch)
2977 (uri (string-append "mirror://gnome/sources/" name "/"
2978 (version-major+minor version) "/"
2979 name "-" version ".tar.xz"))
2980 (sha256
2981 (base32
2982 "05b8sqfmywg45b9frya6xmw5l3c8vf5a1nhy51nyfs0a4n1japbg"))))
2983 (build-system gnu-build-system)
2984 (native-inputs
2985 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2986 ("intltool" ,intltool)
2987 ("pkg-config" ,pkg-config)
2988 ("gobject-introspection" ,gobject-introspection)))
2989 (inputs
2990 `(("glib" ,glib)
2991 ("gtk+" ,gtk+)
2992 ("libxml2" ,libxml2)
2993 ;; XXX TODO: Add oauth
2994 ("libsoup" ,libsoup)
2995 ("totem-pl-parser" ,totem-pl-parser)))
2996 (arguments
2997 `(#:phases
2998 (modify-phases %standard-phases
2999 (add-after 'unpack 'fix-introspection-install-dir
3000 (lambda* (#:key outputs #:allow-other-keys)
3001 (let ((out (assoc-ref outputs "out")))
3002 (substitute* '("src/Makefile.in"
3003 "libs/pls/Makefile.in"
3004 "libs/net/Makefile.in")
3005 (("@INTROSPECTION_GIRDIR@")
3006 (string-append out "/share/gir-1.0/"))
3007 (("@INTROSPECTION_TYPELIBDIR@")
3008 (string-append out "/lib/girepository-1.0/")))))))))
3009 (native-search-paths
3010 (list (search-path-specification
3011 (variable "GRL_PLUGIN_PATH")
3012 (files (list (string-append "lib/grilo-"
3013 (version-major+minor version)))))))
3014 (home-page "http://live.gnome.org/Grilo")
3015 (synopsis "Framework for discovering and browsing media")
3016 (description
3017 "Grilo is a framework focused on making media discovery and browsing easy
3018 for application developers.")
3019 (license license:lgpl2.1+)))
3020
3021 (define-public grilo-plugins
3022 (package
3023 (name "grilo-plugins")
3024 (version "0.2.17")
3025 (source
3026 (origin
3027 (method url-fetch)
3028 (uri (string-append "mirror://gnome/sources/" name "/"
3029 (version-major+minor version) "/"
3030 name "-" version ".tar.xz"))
3031 (sha256
3032 (base32
3033 "109pf4sz320jiqs1nzszpj2flkwrgwfsm64kza24mxnxih4njxik"))))
3034 (build-system gnu-build-system)
3035 (native-inputs
3036 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3037 ("intltool" ,intltool)
3038 ("itstool" ,itstool)
3039 ("pkg-config" ,pkg-config)))
3040 (inputs
3041 `(("grilo" ,grilo)
3042 ("glib" ,glib)
3043 ("libxml2" ,libxml2)
3044 ("sqlite" ,sqlite)
3045 ("gom" ,gom)
3046 ;; XXX TODO: Add oauth
3047 ;; XXX TODO: Add goa
3048 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3049 ;; XXX TODO: Add lua (needs help finding it)
3050 ("json-glib" ,json-glib)
3051 ("avahi" ,avahi)
3052 ("gmime" ,gmime)
3053 ("libsoup" ,libsoup)
3054 ("libarchive" ,libarchive)
3055 ("totem-pl-parser" ,totem-pl-parser)))
3056 (arguments
3057 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3058 %output
3059 "/lib/grilo-"
3060 ,(version-major+minor version)))
3061 ;; XXX FIXME: Try to get the test suite working. It appears to require
3062 ;; a working system dbus. Inside the build container, all tests fail
3063 ;; with: "assertion failed: (source)". Outside of the build container,
3064 ;; most tests succeed.
3065 #:tests? #f))
3066 (home-page "http://live.gnome.org/Grilo")
3067 (synopsis "Plugins for the Grilo media discovery library")
3068 (description
3069 "Grilo is a framework focused on making media discovery and browsing easy
3070 for application developers.")
3071 (license license:lgpl2.1+)))
3072
3073 (define-public totem
3074 (package
3075 (name "totem")
3076 (version "3.20.0")
3077 (source
3078 (origin
3079 (method url-fetch)
3080 (uri (string-append "mirror://gnome/sources/" name "/"
3081 (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3083 (sha256
3084 (base32
3085 "1pq3fg4778qrylkg6lc4jcb3gvm46n5y7mfn26iihi23aj844yq7"))))
3086 (build-system glib-or-gtk-build-system)
3087 (native-inputs
3088 `(("pkg-config" ,pkg-config)
3089 ("desktop-file-utils" ,desktop-file-utils)
3090 ("gobject-introspection" ,gobject-introspection)
3091 ("intltool" ,intltool)
3092 ("itstool" ,itstool)
3093 ("xmllint" ,libxml2)))
3094 (propagated-inputs
3095 `(("dconf" ,dconf)))
3096 (inputs
3097 `(("gtk+" ,gtk+)
3098 ("gdk-pixbuf" ,gdk-pixbuf)
3099 ("atk" ,atk)
3100 ("cairo" ,cairo)
3101 ("dbus-glib" ,dbus-glib)
3102 ("clutter" ,clutter)
3103 ("clutter-gtk" ,clutter-gtk)
3104 ("clutter-gst" ,clutter-gst)
3105 ("xproto" ,xproto)
3106 ("libxxf86vm" ,libxxf86vm)
3107 ("libxtst" ,libxtst)
3108 ("libxrandr" ,libxrandr)
3109 ("libxml2" ,libxml2)
3110 ("libsoup" ,libsoup)
3111 ("libpeas" ,libpeas)
3112 ("librsvg" ,librsvg)
3113 ("lirc" ,lirc)
3114 ("gnome-desktop" ,gnome-desktop)
3115 ("gstreamer" ,gstreamer)
3116 ("gst-plugins-base" ,gst-plugins-base)
3117 ("gst-plugins-good" ,gst-plugins-good)
3118 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3119 ("adwaita-icon-theme" ,adwaita-icon-theme)
3120 ;; XXX We use python-2 because libxml2 because itstool (which needs
3121 ;; libxml) currently uses python-2.
3122 ("python" ,python-2)
3123 ("python-pygobject" ,python2-pygobject)
3124 ;; XXX TODO pylint needed for python support
3125 ("totem-pl-parser" ,totem-pl-parser)
3126 ("grilo" ,grilo)
3127 ("grilo-plugins" ,grilo-plugins)
3128 ("nettle" ,nettle)
3129 ("vala" ,vala)))
3130 (arguments
3131 `(#:phases
3132 (modify-phases %standard-phases
3133 (add-after
3134 'install 'wrap-totem
3135 (lambda* (#:key inputs outputs #:allow-other-keys)
3136 (let ((out (assoc-ref outputs "out"))
3137 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3138 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3139 (wrap-program (string-append out "/bin/totem")
3140 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3141 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3142 #t)))))
3143 (home-page "https://wiki.gnome.org/Apps/Videos")
3144 (synopsis "Simple media player for GNOME based on GStreamer")
3145 (description "Totem is a simple yet featureful media player for GNOME
3146 which can read a large number of file formats.")
3147 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3148 ;; to be used and distributed together with GStreamer and Totem. See
3149 ;; file://COPYING in the source distribution for details.
3150 (license license:gpl2+)))
3151
3152 (define-public rhythmbox
3153 (package
3154 (name "rhythmbox")
3155 (version "3.2.1")
3156 (source (origin
3157 (method url-fetch)
3158 (uri (string-append "mirror://gnome/sources/" name "/"
3159 (version-major+minor version) "/"
3160 name "-" version ".tar.xz"))
3161 (sha256
3162 (base32
3163 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3164 (build-system glib-or-gtk-build-system)
3165 (arguments
3166 `(#:configure-flags
3167 (list "--enable-lirc"
3168 "--enable-python"
3169 "--enable-vala"
3170 "--with-brasero"
3171 "--with-gudev"
3172 "--with-libsecret")
3173 #:phases
3174 (modify-phases %standard-phases
3175 (add-after
3176 'install 'wrap-rhythmbox
3177 (lambda* (#:key inputs outputs #:allow-other-keys)
3178 (let ((out (assoc-ref outputs "out"))
3179 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3180 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3181 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3182 (wrap-program (string-append out "/bin/rhythmbox")
3183 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3184 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3185 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3186 #t)))))
3187 (propagated-inputs
3188 `(("dconf" ,dconf)))
3189 (native-inputs
3190 `(("itstool" ,itstool)
3191 ("intltool" ,intltool)
3192 ("glib" ,glib "bin")
3193 ("gobject-introspection" ,gobject-introspection)
3194 ("desktop-file-utils" ,desktop-file-utils)
3195 ("pkg-config" ,pkg-config)
3196 ("xmllint" ,libxml2)))
3197 (inputs
3198 `(("json-glib" ,json-glib)
3199 ("tdb" ,tdb)
3200 ("gnome-desktop" ,gnome-desktop)
3201 ("python" ,python)
3202 ("python-pygobject" ,python2-pygobject)
3203 ("vala" ,vala)
3204 ("gmime" ,gmime)
3205 ("nettle" ,nettle)
3206 ("adwaita-icon-theme" ,adwaita-icon-theme)
3207 ("grilo" ,grilo)
3208 ("grilo-plugins" ,grilo-plugins)
3209 ("gstreamer" ,gstreamer)
3210 ("gst-plugins-base" ,gst-plugins-base)
3211 ("gst-plugins-good" ,gst-plugins-good)
3212 ("totem-pl-parser" ,totem-pl-parser)
3213 ("libgudev" ,libgudev)
3214 ;;("libmtp" ,libmtp) FIXME: Not detected
3215 ("libsecret" ,libsecret)
3216 ("libsoup" ,libsoup)
3217 ("libnotify" ,libnotify)
3218 ("libpeas" ,libpeas)
3219 ("lirc" ,lirc)
3220 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3221 ;;("clutter" ,clutter)
3222 ;;("clutter-gtk" ,clutter-gtk)
3223 ;;("clutter-gst" ,clutter-gst)
3224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3225 ("atk" ,atk)
3226 ("pango" ,pango)
3227 ("gtk+" ,gtk+)
3228 ;; TODO:
3229 ;; * libgpod
3230 ;; * mx
3231 ;; * webkit
3232 ("brasero" ,brasero)))
3233 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3234 (synopsis "Music player for GNOME")
3235 (description "Rhythmbox is a music playing application for GNOME. It
3236 supports playlists, song ratings, and any codecs installed through gstreamer.")
3237 (license license:gpl2+)))
3238
3239 (define-public eog
3240 (package
3241 (name "eog")
3242 (version "3.20.0")
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append "mirror://gnome/sources/" name "/"
3246 (version-major+minor version) "/"
3247 name "-" version ".tar.xz"))
3248 (sha256
3249 (base32
3250 "0avy7sss6rf659rxipvp3gbqw083liq627lxjpfp1ij34hbmqwfv"))))
3251 (build-system glib-or-gtk-build-system)
3252 (arguments
3253 `(#:phases
3254 (modify-phases %standard-phases
3255 (add-after
3256 'install 'wrap-eog
3257 (lambda* (#:key outputs #:allow-other-keys)
3258 (let ((out (assoc-ref outputs "out"))
3259 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3260 (wrap-program (string-append out "/bin/eog")
3261 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3262 #t)))))
3263 (propagated-inputs
3264 `(("dconf" ,dconf)))
3265 (native-inputs
3266 `(("intltool" ,intltool)
3267 ("itstool" ,itstool)
3268 ("glib" ,glib "bin")
3269 ("gobject-introspection" ,gobject-introspection)
3270 ("pkg-config" ,pkg-config)
3271 ("xmllint" ,libxml2)))
3272 (inputs
3273 `(("gnome-desktop" ,gnome-desktop)
3274 ("shared-mime-info" ,shared-mime-info)
3275 ("adwaita-icon-theme" ,adwaita-icon-theme)
3276 ("exempi" ,exempi)
3277 ("lcms" ,lcms)
3278 ("libexif" ,libexif)
3279 ("libpeas" ,libpeas)
3280 ("libjpeg" ,libjpeg)
3281 ("librsvg" ,librsvg)
3282 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3283 ("gtk+" ,gtk+)))
3284 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3285 (synopsis "GNOME image viewer")
3286 (description "Eye of GNOME is the GNOME image viewer. It
3287 supports image conversion, rotation, and slideshows.")
3288 (license license:gpl2+)))
3289
3290 (define-public libgudev
3291 (package
3292 (name "libgudev")
3293 (version "230")
3294 (source (origin
3295 (method url-fetch)
3296 (uri (string-append "mirror://gnome/sources/" name "/"
3297 version "/" name "-" version ".tar.xz"))
3298 (sha256
3299 (base32
3300 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3301 (build-system gnu-build-system)
3302 (native-inputs
3303 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3304 ("gobject-introspection" ,gobject-introspection)
3305 ("pkg-config" ,pkg-config)))
3306 (propagated-inputs
3307 `(("glib" ,glib))) ; required by gudev-1.0.pc
3308 (inputs
3309 `(("udev" ,eudev)))
3310 (home-page "https://wiki.gnome.org/Projects/libgudev")
3311 (synopsis "GObject bindings for libudev")
3312 (description
3313 "This library provides GObject bindings for libudev. It was originally
3314 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3315 (license license:lgpl2.1+)))
3316
3317 (define-public gvfs
3318 (package
3319 (name "gvfs")
3320 (version "1.28.0")
3321 (source (origin
3322 (method url-fetch)
3323 (uri (string-append "mirror://gnome/sources/" name "/"
3324 (version-major+minor version) "/"
3325 name "-" version ".tar.xz"))
3326 (sha256
3327 (base32
3328 "017pynx7rfrhgvg904kwxdw9dc26zb0v7ymkspm059qcvw5gqwng"))))
3329 (build-system gnu-build-system)
3330 (arguments
3331 '(#:tests? #f)) ; XXX: requiring `pidof'
3332 (native-inputs
3333 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3334 ("intltool" ,intltool)
3335 ("pkg-config" ,pkg-config)
3336 ("xsltproc" ,libxslt)))
3337 (inputs
3338 `(("avahi" ,avahi)
3339 ("docbook-xml" ,docbook-xml-4.2)
3340 ("docbook-xsl" ,docbook-xsl)
3341 ("dbus" ,dbus)
3342 ("fuse" ,fuse)
3343 ("gcr" ,gcr)
3344 ("glib" ,glib)
3345 ("libarchive" ,libarchive)
3346 ("libbluray" ,libbluray)
3347 ("libcdio-paranoia" ,libcdio-paranoia)
3348 ("libgcrypt" ,libgcrypt)
3349 ("libgphoto2" ,libgphoto2)
3350 ("libgudev" ,libgudev)
3351 ("libmtp" ,libmtp)
3352 ("libsecret" ,libsecret)
3353 ("libsmbclient" ,samba)
3354 ("libsoup" ,libsoup)
3355 ("libxml2" ,libxml2)
3356 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3357 ("udisks" ,udisks)))
3358 (home-page "https://wiki.gnome.org/gvfs/")
3359 (synopsis "Userspace virtual filesystem for GIO")
3360 (description
3361 "GVFS is a userspace virtual filesystem designed to work with the I/O
3362 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3363 to all applications using the GIO API. It also supports exposing the GVFS
3364 mounts to non-GIO applications using FUSE.
3365
3366 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3367 DAV, and others.")
3368 (license license:lgpl2.0+)))
3369
3370 (define-public gusb
3371 (package
3372 (name "gusb")
3373 (version "0.2.6")
3374 (source (origin
3375 (method url-fetch)
3376 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3377 "gusb_"
3378 (string-join (string-split version #\.)
3379 "_")
3380 ".tar.gz"))
3381 (sha256
3382 (base32
3383 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3384 (build-system gnu-build-system)
3385 (native-inputs
3386 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3387 ("gobject-introspection" ,gobject-introspection)
3388 ("pkg-config" ,pkg-config)
3389 ("vala" ,vala)
3390 ("autoconf" ,autoconf)
3391 ("automake" ,automake)
3392 ("libtool" ,libtool)
3393 ("gtk-doc" ,gtk-doc)))
3394 (propagated-inputs
3395 ;; Both of these are required by gusb.pc.
3396 `(("glib" ,glib)
3397 ("libusb" ,libusb)))
3398 (arguments
3399 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3400 #:phases
3401 (modify-phases %standard-phases
3402 (add-after 'unpack 'autogen
3403 (lambda _
3404 (and (zero? (system* "gtkdocize"))
3405 (zero? (system* "autoreconf" "-vif"))))))))
3406 (home-page "https://github.com/hughsie/libgusb")
3407 (synopsis "GLib binding for libusb1")
3408 (description
3409 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3410 asynchronous control, bulk and interrupt transfers with proper cancellation
3411 and integration into a mainloop. This makes it easy to integrate low level
3412 USB transfers with your high-level application or system daemon.")
3413 (license license:lgpl2.1+)))
3414
3415 (define-public simple-scan
3416 (package
3417 (name "simple-scan")
3418 (version "3.19.91")
3419 (source (origin
3420 (method url-fetch)
3421 (uri (string-append "https://launchpad.net/simple-scan/"
3422 (version-major+minor version) "/"
3423 version "/+download/simple-scan-"
3424 version ".tar.xz"))
3425 (sha256
3426 (base32
3427 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
3428 (build-system glib-or-gtk-build-system)
3429 (inputs
3430 `(("gtk" ,gtk+)
3431 ("zlib" ,zlib)
3432 ("cairo" ,cairo)
3433 ("gdk-pixbuf" ,gdk-pixbuf)
3434 ("gusb" ,gusb)
3435 ("libgudev" ,libgudev)
3436 ("libsane" ,sane-backends)))
3437 (native-inputs
3438 `(("intltool" ,intltool)
3439 ("itstool" ,itstool)
3440 ("colord" ,colord)
3441 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3442 ("pkg-config" ,pkg-config)
3443 ("vala" ,vala)
3444 ("xmllint" ,libxml2)))
3445 (arguments
3446 '(#:configure-flags '("--disable-packagekit")
3447 #:phases
3448 (modify-phases %standard-phases
3449 (add-after 'unpack 'clean
3450 (lambda _
3451 ;; Remove a left-over reference to PackageKit.
3452
3453 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3454
3455 ;; There are some generated C files erroneously
3456 ;; included in the source distribution, and this
3457 ;; one breaks the build by referring to a
3458 ;; non-existent header (packagekit.h)
3459 (delete-file "src/ui.c"))))))
3460 (home-page "https://launchpad.net/simple-scan")
3461 (synopsis "Document and image scanner")
3462 (description "Simple Scan is an easy-to-use application, designed to let
3463 users connect their scanner and quickly have the image/document in an
3464 appropriate format. Simple Scan is basically a frontend for SANE - which is
3465 the same backend as XSANE uses. This means that all existing scanners will
3466 work and the interface is well tested.")
3467 (license license:gpl3+)))
3468
3469 (define-public epiphany
3470 (package
3471 (name "epiphany")
3472 (version "3.18.2")
3473 (source (origin
3474 (method url-fetch)
3475 (uri (string-append "mirror://gnome/sources/" name "/"
3476 (version-major+minor version) "/"
3477 name "-" version ".tar.xz"))
3478 (sha256
3479 (base32
3480 "1hm6bpdcc6nf3zamzkvjhpvxnpaxzbnxnacfgl5v8swn643ifdl4"))))
3481 (build-system glib-or-gtk-build-system)
3482 (arguments
3483 ;; FIXME: tests run under Xvfb, but fail with:
3484 ;; /src/bookmarks/ephy-bookmarks/create:
3485 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3486 ;; subsystem
3487 ;; FAIL
3488 '(#:tests? #f))
3489 (propagated-inputs
3490 `(("dconf" ,dconf)))
3491 (native-inputs
3492 `(("intltool" ,intltool)
3493 ("itstool" ,itstool)
3494 ("pkg-config" ,pkg-config)
3495 ("xmllint" ,libxml2)))
3496 (inputs
3497 `(("avahi" ,avahi)
3498 ("gcr" ,gcr)
3499 ("glib-networking" ,glib-networking)
3500 ("gnome-desktop" ,gnome-desktop)
3501 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3502 ("iso-codes" ,iso-codes)
3503 ("libnotify" ,libnotify)
3504 ("libsecret" ,libsecret)
3505 ("libwnck" ,libwnck)
3506 ("libxslt" ,libxslt)
3507 ("nss" ,nss)
3508 ("sqlite" ,sqlite)
3509 ("webkitgtk" ,webkitgtk)))
3510 (home-page "https://wiki.gnome.org/Apps/Web")
3511 (synopsis "GNOME web browser")
3512 (description
3513 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3514 principles are simplicity and standards compliance.")
3515 (license license:gpl2+)))
3516
3517 (define-public d-feet
3518 (package
3519 (name "d-feet")
3520 (version "0.3.10")
3521 (source (origin
3522 (method url-fetch)
3523 (uri (string-append "mirror://gnome/sources/" name "/"
3524 (version-major+minor version) "/"
3525 name "-" version ".tar.xz"))
3526 (sha256
3527 (base32
3528 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3529 (build-system glib-or-gtk-build-system)
3530 (arguments
3531 '(#:out-of-source? #f ; tests need to run in the source directory.
3532 #:phases
3533 (modify-phases %standard-phases
3534 (add-before
3535 'check 'pre-check
3536 (lambda _
3537 ;; The test suite requires a running X server.
3538 (system "Xvfb :1 &")
3539 (setenv "DISPLAY" ":1")
3540 ;; Don't fail on missing '/etc/machine-id'.
3541 (setenv "DBUS_FATAL_WARNINGS" "0")
3542 ;; tests.py and window.py don't meet E402:
3543 ;; E402 module level import not at top of file
3544 (substitute* "src/tests/Makefile"
3545 (("--ignore=E123") "--ignore=E123,E402"))
3546 #t))
3547 (add-after
3548 'install 'wrap-program
3549 (lambda* (#:key outputs #:allow-other-keys)
3550 (let ((prog (string-append (assoc-ref outputs "out")
3551 "/bin/d-feet")))
3552 (wrap-program prog
3553 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3554 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3555 #t))))))
3556 (native-inputs
3557 `(("intltool" ,intltool)
3558 ("itstool" ,itstool)
3559 ("pkg-config" ,pkg-config)
3560 ("python-pep8" ,python-pep8)
3561 ("xmllint" ,libxml2)
3562 ("xorg-server" ,xorg-server)))
3563 (inputs
3564 `(("gobject-introspection" ,gobject-introspection)
3565 ("gtk+" ,gtk+)
3566 ("python" ,python-wrapper)
3567 ("python-pygobject" ,python-pygobject)))
3568 (home-page "https://wiki.gnome.org/Apps/DFeet")
3569 (synopsis "D-Bus debugger")
3570 (description
3571 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3572 of running programs and invoke methods on those interfaces.")
3573 (license license:gpl2+)))
3574
3575 (define-public yelp-xsl
3576 (package
3577 (name "yelp-xsl")
3578 (version "3.18.1")
3579 (source (origin
3580 (method url-fetch)
3581 (uri (string-append "mirror://gnome/sources/" name "/"
3582 (version-major+minor version) "/"
3583 name "-" version ".tar.xz"))
3584 (sha256
3585 (base32
3586 "0qmsq7qkc06gmnkvbs84qj3jjzlihriy3z45nfbpgg51b6z0z1q0"))))
3587 (build-system gnu-build-system)
3588 (native-inputs
3589 `(("intltool" ,intltool)
3590 ("itstool" ,itstool)
3591 ("xmllint" ,libxml2)))
3592 (home-page "https://wiki.gnome.org/Apps/Yelp")
3593 (synopsis "XSL stylesheets for Yelp")
3594 (description
3595 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3596 to format Docbook and Mallard documents.")
3597 (license license:gpl2+)))
3598
3599 (define-public yelp
3600 (package
3601 (name "yelp")
3602 (version "3.18.1")
3603 (source (origin
3604 (method url-fetch)
3605 (uri (string-append "mirror://gnome/sources/" name "/"
3606 (version-major+minor version) "/"
3607 name "-" version ".tar.xz"))
3608 (sha256
3609 (base32
3610 "10384lr712xdr8zbi07vqh0cf4nd7ybg1vs05r5cy3kwf6s4wfms"))))
3611 (build-system glib-or-gtk-build-system)
3612 (native-inputs
3613 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3614 ("intltool" ,intltool)
3615 ("itstool" ,itstool)
3616 ("pkg-config" ,pkg-config)))
3617 (propagated-inputs
3618 `(("dconf" ,dconf)))
3619 (inputs
3620 `(("libxslt" ,libxslt)
3621 ("sqlite" ,sqlite)
3622 ("webkitgtk" ,webkitgtk)
3623 ("yelp-xsl" ,yelp-xsl)))
3624 (home-page "https://wiki.gnome.org/Apps/Yelp")
3625 (synopsis "GNOME help browser")
3626 (description
3627 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3628 man, info, and HTML documents. It can locate documents according to the
3629 freedesktop.org help system specification.")
3630 (license license:gpl2+)))
3631
3632 (define-public yelp-tools
3633 (package
3634 (name "yelp-tools")
3635 (version "3.18.0")
3636 (source (origin
3637 (method url-fetch)
3638 (uri (string-append "mirror://gnome/sources/" name "/"
3639 (version-major+minor version) "/"
3640 name "-" version ".tar.xz"))
3641 (sha256
3642 (base32
3643 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3644 (build-system gnu-build-system)
3645 (native-inputs
3646 `(("pkg-config" ,pkg-config)))
3647 (propagated-inputs
3648 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3649 `(("itstool" ,itstool)
3650 ("xmllint" ,libxml2)
3651 ("xsltproc" ,libxslt)))
3652 (inputs
3653 `(("yelp-xsl" ,yelp-xsl)))
3654 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3655 (synopsis "Yelp documentation tools")
3656 (description
3657 "Yelp-tools is a collection of scripts and build utilities to help create,
3658 manage, and publish documentation for Yelp and the web. Most of the heavy
3659 lifting is done by packages like yelp-xsl and itstool. This package just
3660 wraps things up in a developer-friendly way.")
3661 (license license:gpl2+)))
3662
3663 (define-public libgee
3664 (package
3665 (name "libgee")
3666 (version "0.18.0")
3667 (source (origin
3668 (method url-fetch)
3669 (uri (string-append "mirror://gnome/sources/" name "/"
3670 (version-major+minor version) "/"
3671 name "-" version ".tar.xz"))
3672 (sha256
3673 (base32
3674 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3675 (build-system gnu-build-system)
3676 (arguments
3677 `(#:phases
3678 (modify-phases %standard-phases
3679 (add-after 'unpack 'fix-introspection-install-dir
3680 (lambda* (#:key outputs #:allow-other-keys)
3681 (let ((out (assoc-ref outputs "out")))
3682 (substitute* "gee/Makefile.in"
3683 (("@INTROSPECTION_GIRDIR@")
3684 (string-append out "/share/gir-1.0/"))
3685 (("@INTROSPECTION_TYPELIBDIR@")
3686 (string-append out "/lib/girepository-1.0/")))))))))
3687 (native-inputs
3688 `(("glib" ,glib "bin")
3689 ("pkg-config" ,pkg-config)))
3690 (inputs
3691 `(("glib" ,glib)
3692 ("gobject-introspection" ,gobject-introspection)))
3693 (home-page "https://wiki.gnome.org/Projects/Libgee")
3694 (synopsis "GObject collection library")
3695 (description
3696 "Libgee is a utility library providing GObject-based interfaces and
3697 classes for commonly used data structures.")
3698 (license license:lgpl2.1+)))
3699
3700 (define-public gexiv2
3701 (package
3702 (name "gexiv2")
3703 (version "0.10.3")
3704 (source (origin
3705 (method url-fetch)
3706 (uri (string-append "mirror://gnome/sources/" name "/"
3707 (version-major+minor version) "/"
3708 name "-" version ".tar.xz"))
3709 (sha256
3710 (base32
3711 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3712 (build-system gnu-build-system)
3713 (native-inputs
3714 `(("glib" ,glib "bin")
3715 ("pkg-config" ,pkg-config)))
3716 (propagated-inputs
3717 ;; Listed in "Requires" section of gexiv2.pc
3718 `(("exiv2" ,exiv2)))
3719 (inputs
3720 `(("glib" ,glib)
3721 ("gobject-introspection" ,gobject-introspection)))
3722 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3723 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3724 (description
3725 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3726 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3727 metadata in photo and video files of various formats.")
3728 (license license:gpl2+)))
3729
3730 (define-public shotwell
3731 (package
3732 (name "shotwell")
3733 (version "0.22.0")
3734 (source (origin
3735 (method url-fetch)
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3739 (sha256
3740 (base32
3741 "0cgqaaikrb10plhf6zxbgqy32zqpiwyi9dpx3g8yr261q72r5c81"))))
3742 (build-system glib-or-gtk-build-system)
3743 (arguments
3744 `(#:tests? #f ;no "check" target
3745 #:make-flags '("CC=gcc")
3746 #:configure-flags '("--disable-gsettings-convert-install")
3747 #:out-of-source? #f))
3748 (native-inputs
3749 `(("pkg-config" ,pkg-config)
3750 ("gettext" ,gnu-gettext)
3751 ("m4" ,m4)
3752 ("desktop-file-utils" ,desktop-file-utils)
3753 ("vala" ,vala)
3754 ("which" ,which)
3755 ("gnome-doc-utils" ,gnome-doc-utils)
3756 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3757 ;; runtime. It should be propagated.
3758 ("python2-libxml2" ,python2-libxml2)
3759 ("python2" ,python-2)))
3760 (inputs
3761 `(("gstreamer" ,gstreamer)
3762 ("gst-plugins-base" ,gst-plugins-base)
3763 ("gst-plugins-good" ,gst-plugins-good)
3764 ("libgee" ,libgee)
3765 ("gexiv2" ,gexiv2)
3766 ("libraw" ,libraw)
3767 ("json-glib" ,json-glib)
3768 ("rest" ,rest)
3769 ("webkitgtk" ,webkitgtk-2.4)
3770 ("sqlite" ,sqlite)
3771 ("libsoup" ,libsoup)
3772 ("libxml2" ,libxml2)
3773 ("gtk+" ,gtk+)
3774 ("libgudev" ,libgudev)
3775 ("libgphoto2" ,libgphoto2)))
3776 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3777 (synopsis "Photo manager for GNOME 3")
3778 (description
3779 "Shotwell is a digital photo manager designed for the GNOME desktop
3780 environment. It allows you to import photos from disk or camera, organize
3781 them by keywords and events, view them in full-window or fullscreen mode, and
3782 share them with others via social networking and more.")
3783 (license license:lgpl2.1+)))
3784
3785 (define-public file-roller
3786 (package
3787 (name "file-roller")
3788 (version "3.16.4")
3789 (source (origin
3790 (method url-fetch)
3791 (uri (string-append "mirror://gnome/sources/" name "/"
3792 (version-major+minor version) "/"
3793 name "-" version ".tar.xz"))
3794 (sha256
3795 (base32
3796 "11a1g8f2700n2mz998wf40dz1rxjgap60mfns9iv0zlw5h5rhmal"))))
3797 (build-system glib-or-gtk-build-system)
3798 (native-inputs
3799 `(("intltool" ,intltool)
3800 ("pkg-config" ,pkg-config)))
3801 ;; TODO: Add libnautilus.
3802 (inputs
3803 `(("gtk+" ,gtk+)
3804 ("gdk-pixbuf" ,gdk-pixbuf)
3805 ("json-glib" ,json-glib)
3806 ("libarchive" ,libarchive)
3807 ("libnotify" ,libnotify)
3808 ("nettle" ,nettle)
3809 ("itstool" ,itstool)
3810 ("libxml2" ,libxml2)))
3811 (synopsis "Graphical archive manager for GNOME")
3812 (description "File Roller is an archive manager for the GNOME desktop
3813 environment that allows users to view, unpack, and create compressed archives
3814 such as gzip tarballs.")
3815 (home-page "http://fileroller.sourceforge.net/")
3816 (license license:gpl2+)))
3817
3818 (define-public gnome-session
3819 (package
3820 (name "gnome-session")
3821 (version "3.18.1.2")
3822 (source (origin
3823 (method url-fetch)
3824 (uri (string-append "mirror://gnome/sources/" name "/"
3825 (version-major+minor version) "/"
3826 name "-" version ".tar.xz"))
3827 (sha256
3828 (base32
3829 "0icajbzqf5llvp5s8nafwkhwz6a6jmwn4hhs81bk0bpzawyq4zdk"))))
3830 (arguments
3831 '(#:phases
3832 (modify-phases %standard-phases
3833 (add-before 'configure 'pre-configure
3834 (lambda* (#:key outputs #:allow-other-keys)
3835 ;; Use elogind instead of systemd.
3836 (substitute* "configure"
3837 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3838 "libelogind")
3839 (("systemd") "elogind"))
3840 (substitute* "gnome-session/gsm-systemd.c"
3841 (("#include <systemd/sd-login.h>")
3842 "#include <elogind/sd-login.h>"))
3843 ;; Remove uses of the systemd journal.
3844 (substitute* "gnome-session/main.c"
3845 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3846 (substitute* "gnome-session/gsm-manager.c"
3847 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3848 #t))
3849 (add-after 'install 'wrap-gnome-session
3850 (lambda* (#:key inputs outputs #:allow-other-keys)
3851 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3852 (let ((glib (assoc-ref inputs "glib:bin"))
3853 (out (assoc-ref outputs "out")))
3854 (wrap-program (string-append out "/bin/gnome-session")
3855 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3856 #t)))
3857 (add-after 'install 'disable-hardware-acceleration-check
3858 (lambda* (#:key outputs #:allow-other-keys)
3859 ;; Do not abort if hardware acceleration is missing. This allows
3860 ;; GNOME to run in QEMU and on low-end devices.
3861 (let ((out (assoc-ref outputs "out")))
3862 (substitute* (string-append out
3863 "/share/xsessions/gnome.desktop")
3864 (("gnome-session")
3865 "gnome-session --disable-acceleration-check"))
3866 #t))))
3867
3868 #:configure-flags
3869 '("--enable-elogind")))
3870 (build-system glib-or-gtk-build-system)
3871 (native-inputs
3872 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3873 ("pkg-config" ,pkg-config)
3874 ("intltool" ,intltool)
3875 ("xsltproc" ,libxslt)))
3876 (inputs
3877 `(("elogind" ,elogind)
3878 ("gnome-desktop" ,gnome-desktop)
3879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3880 ("gtk+" ,gtk+)
3881 ("json-glib" ,json-glib)
3882 ("libsm" ,libsm)
3883 ("libxcomposite" ,libxcomposite)
3884 ("libxtst" ,libxtst)
3885 ("mesa" ,mesa)
3886 ("upower" ,upower)
3887 ("xtrans" ,xtrans)))
3888 (synopsis "Session manager for GNOME")
3889 (description
3890 "This package contains the GNOME session manager, as well as a
3891 configuration program to choose applications starting on login.")
3892 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3893 (license license:gpl2+)))
3894
3895 (define-public gjs
3896 (package
3897 (name "gjs")
3898 (version "1.44.0")
3899 (source (origin
3900 (method url-fetch)
3901 (uri (string-append "mirror://gnome/sources/" name "/"
3902 (version-major+minor version) "/"
3903 name "-" version ".tar.xz"))
3904 (sha256
3905 (base32
3906 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3907 (modules '((guix build utils)))
3908 (snippet '(substitute* "test/run-with-dbus"
3909 (("/bin/rm") "rm")))))
3910 (build-system gnu-build-system)
3911 (arguments
3912 '(#:phases
3913 (modify-phases %standard-phases
3914 (add-before
3915 'check 'pre-check
3916 (lambda _
3917 ;; For the missing /etc/machine-id.
3918 (setenv "DBUS_FATAL_WARNINGS" "0")
3919 #t)))))
3920 (native-inputs
3921 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3922 ("pkg-config" ,pkg-config)
3923 ("xmllint" ,libxml2)
3924 ;; For testing
3925 ("dbus-launch" ,dbus)
3926 ("uuidgen" ,util-linux)
3927 ("xvfb" ,xorg-server)))
3928 (propagated-inputs
3929 ;; These are all in the Requires.private field of gjs-1.0.pc.
3930 `(("gobject-introspection" ,gobject-introspection)
3931 ("mozjs" ,mozjs-24)))
3932 (inputs
3933 `(("gtk+" ,gtk+)
3934 ("readline" ,readline)))
3935 (synopsis "Javascript bindings for GNOME")
3936 (home-page "http://live.gnome.org/Gjs")
3937 (description
3938 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
3939 javascript engine and the GObject introspection framework.")
3940 (license license:gpl2+)))
3941
3942 (define-public gedit
3943 (package
3944 (name "gedit")
3945 (version "3.18.3")
3946 (source (origin
3947 (method url-fetch)
3948 (uri (string-append "mirror://gnome/sources/" name "/"
3949 (version-major+minor version) "/"
3950 name "-" version ".tar.xz"))
3951 (sha256
3952 (base32
3953 "1rrjdkvwwjyj05jc9icifjm9v8sgs0wqgy555m57a3rvg46sqqk7"))))
3954 (build-system glib-or-gtk-build-system)
3955 (arguments
3956 `(#:phases
3957 (modify-phases %standard-phases
3958 (add-after
3959 'install 'wrap-gedit
3960 (lambda* (#:key inputs outputs #:allow-other-keys)
3961 (let ((out (assoc-ref outputs "out"))
3962 (gtksourceview (assoc-ref inputs "gtksourceview"))
3963 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3964 (wrap-program (string-append out "/bin/gedit")
3965 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3966 ;; For language-specs.
3967 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
3968 "/share")))))
3969 #t)))))
3970 (propagated-inputs
3971 `(("dconf" ,dconf)))
3972 (native-inputs
3973 `(("intltool" ,intltool)
3974 ("itstool" ,itstool)
3975 ("gobject-introspection" ,gobject-introspection)
3976 ("pkg-config" ,pkg-config)))
3977 (inputs
3978 `(("glib" ,glib)
3979 ("gtk+" ,gtk+)
3980 ("gtksourceview" ,gtksourceview)
3981 ("libpeas" ,libpeas)
3982 ("libxml2" ,libxml2)
3983 ("enchant" ,enchant)
3984 ("iso-codes" ,iso-codes)
3985 ("python-pygobject" ,python-pygobject)
3986 ("python" ,python)
3987 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3988 ("libx11" ,libx11)
3989 ("vala" ,vala)
3990 ("adwaita-icon-theme" ,adwaita-icon-theme)
3991 ("libsoup" ,libsoup)
3992 ("gnome-desktop" ,gnome-desktop)))
3993 (home-page "https://wiki.gnome.org/Apps/Gedit")
3994 (synopsis "GNOME text editor")
3995 (description "While aiming at simplicity and ease of use, gedit is a
3996 powerful general purpose text editor.")
3997 (license license:gpl2+)))
3998
3999 (define-public zenity
4000 (package
4001 (name "zenity")
4002 (version "3.18.1.1")
4003 (source (origin
4004 (method url-fetch)
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.xz"))
4008 (sha256
4009 (base32
4010 "02m88dfm1rziqk2ywakwib06wl1rxangbzih6cp8wllbyl1plcg6"))))
4011 (build-system gnu-build-system)
4012 (native-inputs
4013 `(("gettext" ,gnu-gettext)
4014 ("itstool" ,itstool)
4015 ("pkg-config" ,pkg-config)))
4016 (inputs
4017 `(("libnotify" ,libnotify)
4018 ("webkitgtk" ,webkitgtk)))
4019 (synopsis "Display graphical dialog boxes from shell scripts")
4020 (home-page "http://www.gnome.org")
4021 (description
4022 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4023 to display dialog boxes from the commandline and shell scripts.")
4024 (license license:lgpl2.0+)))
4025
4026 (define-public mutter
4027 (package
4028 (name "mutter")
4029 (version "3.18.1")
4030 (source (origin
4031 (method url-fetch)
4032 (uri (string-append "mirror://gnome/sources/" name "/"
4033 (version-major+minor version) "/"
4034 name "-" version ".tar.xz"))
4035 (sha256
4036 (base32
4037 "1ab959z5fgi4rq0ifxdqvpdbv99a2b1lfgvj327s9crdvk4ygpjg"))))
4038 (build-system gnu-build-system)
4039 (arguments
4040 '(#:configure-flags
4041 ;; XXX: build fails with [-Werror]:
4042 ;; backends/meta-cursor-renderer.c:112:5: error:
4043 ;; implicit declaration of function ?roundf?
4044 '("--enable-compile-warnings=minimum")))
4045 (native-inputs
4046 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4047 ("gobject-introspection" ,gobject-introspection)
4048 ("intltool" ,intltool)
4049 ("pkg-config" ,pkg-config)))
4050 (propagated-inputs
4051 ;; libmutter.pc refers to all these.
4052 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4053 ("gtk+" ,gtk+)
4054 ("clutter" ,clutter)))
4055 (inputs
4056 `(("gnome-desktop" ,gnome-desktop)
4057 ("libcanberra-gtk" ,libcanberra)
4058 ("libice" ,libice)
4059 ("libsm" ,libsm)
4060 ("libxkbcommon" ,libxkbcommon)
4061 ("libxkbfile" ,libxkbfile)
4062 ("mesa-headers" ,mesa-headers)
4063 ("startup-notification" ,startup-notification)
4064 ("upower-glib" ,upower)
4065 ("xkeyboard-config" ,xkeyboard-config)
4066 ("zenity" ,zenity)))
4067 (synopsis "Window and compositing manager")
4068 (home-page "http://www.gnome.org")
4069 (description
4070 "Mutter is a window and compositing manager that displays and manages your
4071 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4072 Clutter toolkit with solid window-management logic inherited from the Metacity
4073 window manager.")
4074 (license license:gpl2+)))
4075
4076 (define-public gnome-online-accounts
4077 (package
4078 (name "gnome-online-accounts")
4079 (version "3.18.1")
4080 (source (origin
4081 (method url-fetch)
4082 (uri (string-append "mirror://gnome/sources/" name "/"
4083 (version-major+minor version) "/"
4084 name "-" version ".tar.xz"))
4085 (sha256
4086 (base32
4087 "1hn2fvkr1f4qh4gix03avnvk7pklvv5272ns8ws56v4kcq4nppkc"))))
4088 (build-system glib-or-gtk-build-system)
4089 (native-inputs
4090 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4091 ("gobject-introspection" ,gobject-introspection)
4092 ("intltool" ,intltool)
4093 ("pkg-config" ,pkg-config)
4094 ("xsltproc" ,libxslt)))
4095 (propagated-inputs
4096 `(("glib" ,glib) ; required by goa-1.0.pc
4097 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4098 (inputs
4099 `(("docbook-xsl" ,docbook-xsl)
4100 ("json-glib" ,json-glib)
4101 ("libsecret" ,libsecret)
4102 ("rest" ,rest)
4103 ("telepathy-glib" ,telepathy-glib)
4104 ("webkitgtk" ,webkitgtk)))
4105 (synopsis "Single sign-on framework for GNOME")
4106 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4107 (description
4108 "GNOME Online Accounts provides interfaces so that applications and
4109 libraries in GNOME can access the user's online accounts. It has providers for
4110 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4111 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4112 (license license:lgpl2.0+)))
4113
4114 (define-public evolution-data-server
4115 (package
4116 (name "evolution-data-server")
4117 (version "3.18.2")
4118 (source (origin
4119 (method url-fetch)
4120 (uri (string-append "mirror://gnome/sources/" name "/"
4121 (version-major+minor version) "/"
4122 name "-" version ".tar.xz"))
4123 (sha256
4124 (base32
4125 "16yfd2a00xqxikyf6pi2awfd0qfq4hwdhfar88axrb4mycfgqhjr"))))
4126 (build-system gnu-build-system)
4127 (arguments
4128 '(;; XXX: fails with:
4129 ;; /Fixture/Calendar0: cleaning up pid xxxx
4130 ;; t status: 139)
4131 #:tests? #f
4132 #:configure-flags
4133 (let ((nss (assoc-ref %build-inputs "nss"))
4134 (nspr (assoc-ref %build-inputs "nspr")))
4135 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4136 "--disable-google" ; disable Google Contacts support
4137 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4138 (string-append "--with-nss-includes=" nss "/include/nss")
4139 (string-append "--with-nss-libs=" nss "/lib/nss")))
4140 #:phases
4141 (modify-phases %standard-phases
4142 (add-before 'check 'pre-check
4143 (lambda _
4144 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4145 (("/bin/rm") (which "rm")))
4146 #t)))))
4147 (native-inputs
4148 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4149 ("gobject-introspection" ,gobject-introspection)
4150 ("gperf" ,gperf)
4151 ("intltool" ,intltool)
4152 ("pkg-config" ,pkg-config)
4153 ("python" ,python)))
4154 (propagated-inputs
4155 ;; These are all in the Requires field of .pc files.
4156 `(("gtk+" ,gtk+)
4157 ("libical" ,libical)
4158 ("libsecret" ,libsecret)
4159 ("libsoup" ,libsoup)
4160 ("nss" ,nss)
4161 ("sqlite" ,sqlite)))
4162 (inputs
4163 `(("bdb" ,bdb)
4164 ("gcr" ,gcr)
4165 ("gnome-online-accounts" ,gnome-online-accounts)
4166 ("libgweather" ,libgweather)))
4167 (synopsis "Store address books and calendars")
4168 (home-page "https://wiki.gnome.org/Apps/Evolution")
4169 (description
4170 "This package provides a unified backend for programs that work with
4171 contacts, tasks, and calendar information. It was originally developed for
4172 Evolution (hence the name), but is now used by other packages as well.")
4173 (license license:lgpl2.0)))
4174
4175 (define-public caribou
4176 (package
4177 (name "caribou")
4178 (version "0.4.19")
4179 (source (origin
4180 (method url-fetch)
4181 (uri (string-append "mirror://gnome/sources/" name "/"
4182 (version-major+minor version) "/"
4183 name "-" version ".tar.xz"))
4184 (sha256
4185 (base32
4186 "0i2s2xy9ami3wslam15cajhggpcsj4c70qm7qddcz52z9k0x02rg"))))
4187 (build-system glib-or-gtk-build-system)
4188 (arguments
4189 '(#:phases
4190 (modify-phases %standard-phases
4191 (add-before
4192 'build 'pre-build
4193 (lambda* (#:key outputs #:allow-other-keys)
4194 (let ((out (assoc-ref outputs "out")))
4195 ;; Use absolute shared library path in Caribou-1.0.typelib.
4196 (substitute* "libcaribou/Makefile"
4197 (("--shared-library=libcaribou.so")
4198 (string-append "--shared-library="
4199 out "/lib/libcaribou.so")))
4200 #t)))
4201 (add-after 'install 'wrap-programs
4202 (lambda* (#:key outputs #:allow-other-keys)
4203 (let* ((out (assoc-ref outputs "out"))
4204 (python-path (getenv "PYTHONPATH"))
4205 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4206 (for-each
4207 (lambda (prog)
4208 (wrap-program prog
4209 `("PYTHONPATH" ":" prefix (,python-path))
4210 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4211 (list (string-append out "/bin/caribou-preferences")
4212 (string-append out "/libexec/antler-keyboard"))))
4213 #t)))))
4214 (native-inputs
4215 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4216 ("gobject-introspection" ,gobject-introspection)
4217 ("intltool" ,intltool)
4218 ("pkg-config" ,pkg-config)
4219 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4220 ("vala" ,vala)
4221 ("xsltproc" ,libxslt)))
4222 (propagated-inputs
4223 ;; caribou-1.0.pc refers to all these.
4224 `(("libgee" ,libgee)
4225 ("libxklavier" ,libxklavier)
4226 ("libxtst" ,libxtst)
4227 ("gtk+" ,gtk+)))
4228 (inputs
4229 `(("clutter" ,clutter)
4230 ("dconf" ,dconf)
4231 ("gtk+-2" ,gtk+-2)
4232 ("python-pygobject" ,python2-pygobject)))
4233 (synopsis "Text entry and UI navigation application")
4234 (home-page "https://wiki.gnome.org/Projects/Caribou")
4235 (description
4236 "Caribou is an input assistive technology intended for switch and pointer
4237 users.")
4238 (license license:lgpl2.1)))
4239
4240 (define-public network-manager
4241 (package
4242 (name "network-manager")
4243 (version "1.0.12")
4244 (source (origin
4245 (method url-fetch)
4246 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4247 (version-major+minor version) "/"
4248 "NetworkManager-" version ".tar.xz"))
4249 (sha256
4250 (base32
4251 "17jan0g5jzp8mrpklyacwdgnnw016m1c5pc4az5im6qhc260yirs"))))
4252 (build-system gnu-build-system)
4253 (outputs '("out"
4254 "doc")) ; 8 MiB of gtk-doc HTML
4255 (arguments
4256 '(#:configure-flags
4257 (let ((out (assoc-ref %outputs "out"))
4258 (doc (assoc-ref %outputs "doc"))
4259 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4260 "/sbin/dhclient")))
4261 (list "--with-crypto=gnutls"
4262 "--disable-config-plugin-ibft"
4263 "--sysconfdir=/etc"
4264 "--localstatedir=/var"
4265 (string-append "--with-udev-dir="
4266 out "/lib/udev")
4267 (string-append "--with-dbus-sys-dir="
4268 out "/etc/dbus-1/system.d")
4269 (string-append "--with-html-dir="
4270 doc "/share/gtk-doc/html")
4271 (string-append "--with-dhclient=" dhclient)))
4272 #:phases
4273 (modify-phases %standard-phases
4274 (add-before 'configure 'pre-configure
4275 (lambda _
4276 ;; These tests try to test aspects of network-manager's
4277 ;; functionality within restricted containers, but they don't
4278 ;; cope with being already in the Guix build jail as that jail
4279 ;; lacks some features that they would like to proxy over (like
4280 ;; a /sys mount).
4281 (substitute* '("src/platform/Makefile.in")
4282 (("SUBDIRS = tests") ""))
4283 (substitute* '("src/tests/Makefile.in")
4284 (("\ttest-route-manager-linux") "\t")
4285 (("\ttest-route-manager-fake") "\t"))
4286 #t))
4287 (add-before 'check 'pre-check
4288 (lambda _
4289 ;; For the missing /etc/machine-id.
4290 (setenv "DBUS_FATAL_WARNINGS" "0")
4291 #t))
4292 (replace 'install
4293 (lambda _
4294 (zero? (system* "make"
4295 "sysconfdir=/tmp"
4296 "localstatedir=/tmp"
4297 "install")))))))
4298 (native-inputs
4299 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4300 ("gobject-introspection" ,gobject-introspection)
4301 ("intltool" ,intltool)
4302 ("pkg-config" ,pkg-config)
4303 ;; For testing.
4304 ("python" ,python-wrapper)
4305 ("python-dbus" ,python-dbus)
4306 ("python-pygobject" ,python-pygobject)))
4307 (inputs
4308 `(("dbus-glib" ,dbus-glib)
4309 ("dnsmasq" ,dnsmasq)
4310 ("gnutls" ,gnutls)
4311 ("iptables" ,iptables)
4312 ("isc-dhcp" ,isc-dhcp)
4313 ("libgcrypt" ,libgcrypt)
4314 ("libgudev" ,libgudev)
4315 ("libndp" ,libndp)
4316 ("libnl" ,libnl)
4317 ("libsoup" ,libsoup)
4318 ("polkit" ,polkit)
4319 ("ppp" ,ppp)
4320 ("readline" ,readline)
4321 ("util-linux" ,util-linux)))
4322 (synopsis "Network connection manager")
4323 (home-page "http://www.gnome.org/projects/NetworkManager/")
4324 (description
4325 "NetworkManager is a system network service that manages your network
4326 devices and connections, attempting to keep active network connectivity when
4327 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4328 devices, and provides VPN integration with a variety of different VPN
4329 services.")
4330 (license license:gpl2+)))
4331
4332 (define-public network-manager-applet
4333 (package
4334 (name "network-manager-applet")
4335 (version "1.0.10")
4336 (source (origin
4337 (method url-fetch)
4338 (uri (string-append "mirror://gnome/sources/" name "/"
4339 (version-major+minor version) "/"
4340 name "-" version ".tar.xz"))
4341 (sha256
4342 (base32
4343 "1szh5jyijxm6z55irkp5s44pwah0nikss40mx7pvpk38m8zaqidh"))))
4344 (build-system glib-or-gtk-build-system)
4345 (arguments '(#:configure-flags '("--disable-migration")))
4346 (native-inputs
4347 `(("intltool" ,intltool)
4348 ("gobject-introspection" ,gobject-introspection)
4349 ("pkg-config" ,pkg-config)))
4350 (propagated-inputs
4351 ;; libnm-gtk.pc refers to all these.
4352 `(("dbus-glib" ,dbus-glib)
4353 ("gtk+" ,gtk+)
4354 ("network-manager" ,network-manager)))
4355 (inputs
4356 `(("iso-codes" ,iso-codes)
4357 ("libgudev" ,libgudev)
4358 ("libnotify" ,libnotify)
4359 ("libsecret" ,libsecret)))
4360 (synopsis "Applet for managing network connections")
4361 (home-page "http://www.gnome.org/projects/NetworkManager/")
4362 (description
4363 "This package contains a systray applet for NetworkManager. It displays
4364 the available networks and allows users to easily switch between them.")
4365 (license license:gpl2+)))
4366
4367 (define-public libxml++
4368 (package
4369 (name "libxml++")
4370 (version "3.0.0")
4371 (source (origin
4372 (method url-fetch)
4373 (uri (string-append "mirror://gnome/sources/" name "/"
4374 (version-major+minor version) "/"
4375 name "-" version ".tar.xz"))
4376 (sha256
4377 (base32
4378 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4379 (build-system gnu-build-system)
4380 ;; libxml++-3.0.pc refers to all these.
4381 (propagated-inputs
4382 `(("libxml2" ,libxml2)
4383 ("glibmm" ,glibmm)))
4384 (native-inputs
4385 `(("perl" ,perl)
4386 ("pkg-config" ,pkg-config)))
4387 (home-page "http://libxmlplusplus.sourceforge.net/")
4388 (synopsis "C++ wrapper for XML parser library libxml2")
4389 (description
4390 "This package provides a C++ wrapper for the XML parser library
4391 libxml2.")
4392 (license license:lgpl2.1+)))
4393
4394 (define-public gdm
4395 (package
4396 (name "gdm")
4397 (version "3.18.2")
4398 (source (origin
4399 (method url-fetch)
4400 (uri (string-append "mirror://gnome/sources/" name "/"
4401 (version-major+minor version) "/"
4402 name "-" version ".tar.xz"))
4403 (sha256
4404 (base32
4405 "08pqhslwd487nh9w0jp4d0s4s2imm4ds0jjsbl6lzmqifqj3b4jl"))))
4406 (build-system gnu-build-system)
4407 (arguments
4408 '(#:configure-flags
4409 '("--without-plymouth")
4410 #:phases
4411 (modify-phases %standard-phases
4412 (add-before
4413 'configure 'pre-configure
4414 (lambda _
4415 ;; We don't have <systemd/sd-daemon.h>.
4416 (substitute* '("common/gdm-log.c"
4417 "daemon/gdm-server.c"
4418 "daemon/gdm-session-worker.c"
4419 "daemon/gdm-session-worker-job.c")
4420 (("#include <systemd/sd-daemon\\.h>") ""))
4421 ;; Use elogind for sd-login.
4422 (substitute* '("common/gdm-common.c"
4423 "daemon/gdm-manager.c"
4424 "libgdm/gdm-user-switching.c")
4425 (("#include <systemd/sd-login\\.h>")
4426 "#include <elogind/sd-login.h>"))
4427 ;; Avoid checking SYSTEMD using pkg-config.
4428 (setenv "SYSTEMD_CFLAGS" " ")
4429 (setenv "SYSTEMD_LIBS" "-lelogind")
4430 #t)))))
4431 (native-inputs
4432 `(("dconf" ,dconf)
4433 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4434 ("gobject-introspection" ,gobject-introspection)
4435 ("intltool" ,intltool)
4436 ("itstool" ,itstool)
4437 ("pkg-config" ,pkg-config)
4438 ("xmllint" ,libxml2)))
4439 (inputs
4440 `(("accountsservice" ,accountsservice)
4441 ("check" ,check) ; for testing
4442 ("elogind" ,elogind)
4443 ("gtk+" ,gtk+)
4444 ("iso-codes" ,iso-codes)
4445 ("libcanberra" ,libcanberra)
4446 ("linux-pam" ,linux-pam)))
4447 (synopsis "Display manager for GNOME")
4448 (home-page "http://wiki.gnome.org/Projects/GDM/")
4449 (description
4450 "GNOME Display Manager is a system service that is responsible for
4451 providing graphical log-ins and managing local and remote displays.")
4452 (license license:gpl2+)))
4453
4454 (define-public libgtop
4455 (package
4456 (name "libgtop")
4457 (version "2.32.0")
4458 (source (origin
4459 (method url-fetch)
4460 (uri (string-append "mirror://gnome/sources/" name "/"
4461 (version-major+minor version) "/"
4462 name "-" version ".tar.xz"))
4463 (sha256
4464 (base32
4465 "13hpml2vfm23816qggr5fvxj75ndb1dq4rgmi7ik6azj69ij8hw4"))))
4466 (build-system gnu-build-system)
4467 (native-inputs
4468 `(("gobject-introspection" ,gobject-introspection)
4469 ("intltool" ,intltool)
4470 ("perl" ,perl)
4471 ("pkg-config" ,pkg-config)))
4472 (propagated-inputs
4473 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4474 (synopsis "Portable system access library")
4475 (home-page "https://www.gnome.org/")
4476 (description
4477 "LibGTop is a library to get system specific data such as CPU and memory
4478 usage and information about running processes.")
4479 (license license:gpl2+)))
4480
4481 (define-public gnome-bluetooth
4482 (package
4483 (name "gnome-bluetooth")
4484 (version "3.18.1")
4485 (source (origin
4486 (method url-fetch)
4487 (uri (string-append "mirror://gnome/sources/" name "/"
4488 (version-major+minor version) "/"
4489 name "-" version ".tar.xz"))
4490 (sha256
4491 (base32
4492 "0jaa9nbygdvcqp9k4p4iy2g8x3684s4x9k5nbcmmm11jdn4mn7f5"))))
4493 (build-system glib-or-gtk-build-system)
4494 (native-inputs
4495 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4496 ("gobject-introspection" ,gobject-introspection)
4497 ("intltool" ,intltool)
4498 ("pkg-config" ,pkg-config)
4499 ("xmllint" ,libxml2)))
4500 (propagated-inputs
4501 ;; gnome-bluetooth-1.0.pc refers to all these.
4502 `(("gtk+" ,gtk+)
4503 ("udev" ,eudev)))
4504 (inputs
4505 `(("libcanberra" ,libcanberra)
4506 ("libnotify" ,libnotify)))
4507 (synopsis "GNOME Bluetooth subsystem")
4508 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4509 (description
4510 "This package contains tools for managing and manipulating Bluetooth
4511 devices using the GNOME desktop.")
4512 (license license:lgpl2.1+)))
4513
4514 (define-public gnome-control-center
4515 (package
4516 (name "gnome-control-center")
4517 (version "3.18.2")
4518 (source (origin
4519 (method url-fetch)
4520 (uri (string-append "mirror://gnome/sources/" name "/"
4521 (version-major+minor version) "/"
4522 name "-" version ".tar.xz"))
4523 (sha256
4524 (base32
4525 "1bgqg1sl3cp2azrwrjgwx3jzk9n3w76xpcyvk257qavx4ibn3zin"))))
4526 (build-system glib-or-gtk-build-system)
4527 (arguments
4528 '(#:phases
4529 (modify-phases %standard-phases
4530 (add-before 'configure 'patch-paths
4531 (lambda* (#:key inputs #:allow-other-keys)
4532 (let ((libc (assoc-ref inputs "libc"))
4533 (tzdata (assoc-ref inputs "tzdata")))
4534 (substitute* "panels/datetime/tz.h"
4535 (("/usr/share/zoneinfo/zone.tab")
4536 (string-append tzdata "/share/zoneinfo/zone.tab")))
4537 (substitute* "panels/datetime/test-endianess.c"
4538 (("/usr/share/locale")
4539 (string-append libc "/share/locale")))
4540 #t))))))
4541 (native-inputs
4542 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4543 ("intltool" ,intltool)
4544 ("pkg-config" ,pkg-config)
4545 ("xsltproc" ,libxslt)))
4546 (inputs
4547 `(("accountsservice" ,accountsservice)
4548 ("clutter-gtk" ,clutter-gtk)
4549 ("colord-gtk" ,colord-gtk)
4550 ("cups" ,cups)
4551 ("dconf" ,dconf)
4552 ("docbook-xsl" ,docbook-xsl)
4553 ("gnome-bluetooth" ,gnome-bluetooth)
4554 ("gnome-desktop" ,gnome-desktop)
4555 ("gnome-online-accounts" ,gnome-online-accounts)
4556 ("gnome-settings-daemon" ,gnome-settings-daemon)
4557 ("grilo" ,grilo)
4558 ("ibus" ,ibus)
4559 ("libcanberra" ,libcanberra)
4560 ("libgudev" ,libgudev)
4561 ("libgtop" ,libgtop)
4562 ("libpwquality" ,libpwquality)
4563 ("libsoup" ,libsoup)
4564 ("libxml2" ,libxml2)
4565 ("libwacom" ,libwacom)
4566 ("mesa" ,mesa)
4567 ("mit-krb5" ,mit-krb5)
4568 ("modem-manager" ,modem-manager)
4569 ("network-manager-applet" ,network-manager-applet)
4570 ("polkit" ,polkit)
4571 ("pulseaudio" ,pulseaudio)
4572 ("smbclient" ,samba)
4573 ("tzdata" ,tzdata)
4574 ("upower" ,upower)))
4575 (synopsis "Utilities to configure the GNOME desktop")
4576 (home-page "https://www.gnome.org/")
4577 (description
4578 "This package contains configuration applets for the GNOME desktop,
4579 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4580 properties, sound setup, desktop theme and background, user interface
4581 properties, screen resolution, and other GNOME parameters.")
4582 (license license:gpl2+)))
4583
4584 (define-public gnome-shell
4585 (package
4586 (name "gnome-shell")
4587 (version "3.18.3")
4588 (source (origin
4589 (method url-fetch)
4590 (uri (string-append "mirror://gnome/sources/" name "/"
4591 (version-major+minor version) "/"
4592 name "-" version ".tar.xz"))
4593 (sha256
4594 (base32
4595 "16sicxdp08yfaj4hiyzvbspb5jk3fpmi291272zhx5vgc3wbl5w5"))))
4596 (build-system glib-or-gtk-build-system)
4597 (arguments
4598 '(#:phases
4599 (modify-phases %standard-phases
4600 (replace 'install
4601 (lambda* (#:key outputs #:allow-other-keys)
4602 (let* ((out (assoc-ref outputs "out"))
4603 (keysdir (string-append
4604 out "/share/gnome-control-center/keybindings")))
4605 (zero? (system* "make"
4606 (string-append "keysdir=" keysdir)
4607 "install")))))
4608 (add-after
4609 'install 'wrap-programs
4610 (lambda* (#:key outputs #:allow-other-keys)
4611 (let ((out (assoc-ref outputs "out"))
4612 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4613 (python-path (getenv "PYTHONPATH")))
4614 (wrap-program (string-append out "/bin/gnome-shell")
4615 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4616 (for-each
4617 (lambda (prog)
4618 (wrap-program (string-append out "/bin/" prog)
4619 `("PYTHONPATH" ":" prefix (,python-path))
4620 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4621 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4622 #t))))))
4623 (native-inputs
4624 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4625 ("gobject-introspection" ,gobject-introspection)
4626 ("intltool" ,intltool)
4627 ("pkg-config" ,pkg-config)
4628 ("python" ,python)
4629 ("xsltproc" ,libxslt)))
4630 (inputs
4631 `(("accountsservice" ,accountsservice)
4632 ("caribou" ,caribou)
4633 ("docbook-xsl" ,docbook-xsl)
4634 ("evolution-data-server" ,evolution-data-server)
4635 ("gcr" ,gcr)
4636 ("gdm" ,gdm)
4637 ("gjs" ,gjs)
4638 ("gnome-bluetooth" ,gnome-bluetooth)
4639 ("gnome-control-center" ,gnome-control-center)
4640 ("gnome-desktop" ,gnome-desktop)
4641 ("gnome-settings-daemon" ,gnome-settings-daemon)
4642 ("gst-plugins-base" ,gst-plugins-base)
4643 ("ibus" ,ibus)
4644 ("libcanberra" ,libcanberra)
4645 ("libcroco" ,libcroco)
4646 ("libgweather" ,libgweather)
4647 ("libsoup" ,libsoup)
4648 ("mesa-headers" ,mesa-headers)
4649 ("mutter" ,mutter)
4650 ("network-manager-applet" ,network-manager-applet)
4651 ("polkit" ,polkit)
4652 ("pulseaudio" ,pulseaudio)
4653 ("python-pygobject" ,python-pygobject)
4654 ("startup-notification" ,startup-notification)
4655 ("telepathy-logger" ,telepathy-logger)
4656 ("upower" ,upower)
4657 ;; XXX: required by libgjs.la.
4658 ("readline" ,readline)))
4659 (synopsis "Desktop shell for GNOME")
4660 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4661 (description
4662 "GNOME Shell provides core user interface functions for the GNOME desktop,
4663 like switching to windows and launching applications.")
4664 (license license:gpl2+)))
4665
4666 (define-public gtk-vnc
4667 (package
4668 (name "gtk-vnc")
4669 (version "0.5.4")
4670 (source
4671 (origin
4672 (method url-fetch)
4673 (uri (string-append "mirror://gnome/sources/" name "/"
4674 (version-major+minor version) "/"
4675 name "-" version ".tar.xz"))
4676 (sha256
4677 (base32
4678 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4679 (build-system gnu-build-system)
4680 (arguments
4681 '(#:configure-flags '("--with-gtk=3.0")))
4682 (propagated-inputs
4683 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4684 (inputs
4685 `(("cyrus-sasl" ,cyrus-sasl)
4686 ("gnutls" ,gnutls)
4687 ("libgcrypt" ,libgcrypt)
4688 ("pulseaudio" ,pulseaudio)))
4689 (native-inputs
4690 `(("glib:bin" ,glib "bin")
4691 ("gobject-introspection" ,gobject-introspection)
4692 ("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("vala" ,vala)))
4695 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4696 (synopsis "VNC viewer widget for GTK+")
4697 (description
4698 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4699 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4700 GTK-VNC implements client side RFB protocol and authentication extensions such
4701 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4702 (license license:lgpl2.1+)))
4703
4704 (define-public nautilus
4705 (package
4706 (name "nautilus")
4707 (version "3.18.2") ; XXX: later version require gtk+-3.0 >= 3.18.5
4708 (source (origin
4709 (method url-fetch)
4710 (uri (string-append "mirror://gnome/sources/" name "/"
4711 (version-major+minor version) "/"
4712 name "-" version ".tar.xz"))
4713 (sha256
4714 (base32
4715 "0jj23n8vmmyc4gp5xhiz7slsxwksydp26blxi5m154yaw9lgdp38"))))
4716 (build-system glib-or-gtk-build-system)
4717 (arguments
4718 '(#:configure-flags '("--disable-tracker") ; XXX: not packaged
4719 ;; XXX: FAIL: check-nautilus
4720 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4721 #:tests? #f))
4722 (native-inputs
4723 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4724 ("gobject-introspection" ,gobject-introspection)
4725 ("intltool" ,intltool)
4726 ("pkg-config" ,pkg-config)))
4727 (inputs
4728 ;; TODO: add gvfs support.
4729 `(("dconf" ,dconf)
4730 ("exempi" ,exempi)
4731 ("gnome-desktop" ,gnome-desktop)
4732 ;; XXX: gtk+ is required by libnautilus-extension.pc
4733 ;;
4734 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4735 ;; package. See:
4736 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4737 ("gtk+" ,gtk+)
4738 ("libexif" ,libexif)
4739 ("libxml2" ,libxml2)))
4740 (synopsis "File manager for GNOME")
4741 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4742 (description
4743 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4744 design and behaviour, giving the user a simple way to navigate and manage its
4745 files.")
4746 (license license:gpl2+)))
4747
4748 (define-public baobab
4749 (package
4750 (name "baobab")
4751 (version "3.18.1")
4752 (source (origin
4753 (method url-fetch)
4754 (uri (string-append
4755 "mirror://gnome/sources/" name "/"
4756 (version-major+minor version) "/"
4757 name "-" version ".tar.xz"))
4758 (sha256
4759 (base32
4760 "1da4bdkw5bnxansl1xr4lb03d6f4h0a0qaba8i3p3rwhcd191b62"))))
4761 (build-system glib-or-gtk-build-system)
4762 (native-inputs
4763 `(("intltool" ,intltool)
4764 ("pkg-config" ,pkg-config)
4765 ("itstool" ,itstool)
4766 ("xmllint" ,libxml2)
4767 ("glib" ,glib "bin")
4768 ("vala" ,vala)))
4769 (inputs
4770 `(("gtk+" ,gtk+)))
4771 (synopsis "Disk usage analyzer for GNOME")
4772 (description
4773 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4774 usage in the GNOME desktop environment. It can easily scan device volumes or
4775 a specific user-requested directory branch (local or remote). Once the scan
4776 is complete it provides a graphical representation of each selected folder.")
4777 (home-page "https://wiki.gnome.org/Apps/Baobab")
4778 (license license:gpl2+)))
4779
4780 (define-public gnome-backgrounds
4781 (package
4782 (name "gnome-backgrounds")
4783 (version "3.18.0")
4784 (source
4785 (origin
4786 (method url-fetch)
4787 (uri (string-append "mirror://gnome/sources/" name "/"
4788 (version-major+minor version) "/"
4789 name "-" version ".tar.xz"))
4790 (sha256
4791 (base32
4792 "1fd7y8dh3iy88ayb8irgsihvssli6bzjzb5a6vfhi8qjbw70ymma"))))
4793 (build-system glib-or-gtk-build-system)
4794 (native-inputs
4795 `(("intltool" ,intltool)))
4796 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4797 (synopsis "Background images for the GNOME desktop")
4798 (description
4799 "GNOME backgrounds package contains a collection of graphics files which
4800 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4801 the package creates the proper framework and directory structure so that you
4802 can add your own files to the collection.")
4803 (license (list license:gpl2+
4804 license:cc-by2.0
4805 license:cc-by-sa2.0
4806 license:cc-by-sa3.0))))
4807
4808 (define-public gnome-screenshot
4809 (package
4810 (name "gnome-screenshot")
4811 (version "3.18.0")
4812 (source
4813 (origin
4814 (method url-fetch)
4815 (uri (string-append "mirror://gnome/sources/" name "/"
4816 (version-major+minor version) "/"
4817 name "-" version ".tar.xz"))
4818 (sha256
4819 (base32
4820 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4821 (build-system glib-or-gtk-build-system)
4822 (native-inputs
4823 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4824 ("intltool" ,intltool)
4825 ("pkg-config" ,pkg-config)))
4826 (inputs
4827 `(("gtk+" ,gtk+)
4828 ("libcanberra" ,libcanberra)
4829 ("libx11" ,libx11)
4830 ("libxext" ,libxext)))
4831 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4832 (synopsis "Take pictures of your screen")
4833 (description
4834 "GNOME Screenshot is a utility used for taking screenshots of the entire
4835 screen, a window or a user defined area of the screen, with optional
4836 beautifying border effects.")
4837 (license license:gpl2+)))
4838
4839 (define-public dconf-editor
4840 (package
4841 (name "dconf-editor")
4842 (version "3.18.2")
4843 (source
4844 (origin
4845 (method url-fetch)
4846 (uri (string-append "mirror://gnome/sources/" name "/"
4847 (version-major+minor version) "/"
4848 name "-" version ".tar.xz"))
4849 (sha256
4850 (base32
4851 "0xdwi7g1xdmgrc9m8ii62fp2zj114gsfpmgazlnhrcmmfi97z5d7"))))
4852 (build-system glib-or-gtk-build-system)
4853 (native-inputs
4854 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4855 ("intltool" ,intltool)
4856 ("pkg-config" ,pkg-config)))
4857 (inputs
4858 `(("dconf" ,dconf)
4859 ("gtk+" ,gtk+)
4860 ("libxml2" ,libxml2)))
4861 (home-page "https://git.gnome.org/browse/dconf-editor")
4862 (synopsis "Graphical editor for GNOME's dconf configuration system")
4863 (description
4864 "Dconf-editor is a graphical tool for browsing and editing the dconf
4865 configuration system for GNOME. It allows users to configure desktop
4866 software that do not provide their own configuration interface.")
4867 (license license:lgpl2.1+)))
4868
4869 (define-public gnome
4870 (package
4871 (name "gnome")
4872 (version (package-version gnome-shell))
4873 (source #f)
4874 (build-system trivial-build-system)
4875 (arguments '(#:builder (mkdir %output)))
4876 (propagated-inputs
4877 ;; TODO: Add more packages according to:
4878 ;; <https://packages.debian.org/jessie/gnome-core>.
4879 `(("adwaita-icon-theme" ,adwaita-icon-theme)
4880 ("font-cantarell" ,font-cantarell)
4881 ("at-spi2-core" ,at-spi2-core)
4882 ("dbus" ,dbus)
4883 ("dconf" ,dconf)
4884 ("eog" ,eog)
4885 ("epiphany" ,epiphany)
4886 ("evince" ,evince)
4887 ("gedit" ,gedit)
4888 ("glib-networking" ,glib-networking)
4889 ("gnome-control-center" ,gnome-control-center)
4890 ("gnome-keyring" ,gnome-keyring)
4891 ("gnome-session" ,gnome-session)
4892 ("gnome-settings-daemon" ,gnome-settings-daemon)
4893 ("gnome-shell" ,gnome-shell)
4894 ("gnome-terminal" ,gnome-terminal)
4895 ("gnome-themes-standard" ,gnome-themes-standard)
4896 ("hicolor-icon-theme" ,hicolor-icon-theme)
4897 ("nautilus" ,nautilus)
4898 ("pulseaudio" ,pulseaudio)
4899 ("shared-mime-info" ,shared-mime-info)
4900 ("totem" ,totem)
4901 ("yelp" ,yelp)
4902 ("zenity" ,zenity)))
4903 (synopsis "The GNU desktop environment")
4904 (home-page "https://www.gnome.org/")
4905 (description
4906 "GNOME is the graphical desktop for GNU. It includes a wide variety of
4907 applications for browsing the web, editing text and images, creating
4908 documents and diagrams, playing media, scanning, and much more.")
4909 (license license:gpl2+)))
4910
4911 (define-public byzanz
4912 ;; The last stable release of Byzanz was in 2011, but there have been many
4913 ;; useful commits made to the Byzanz repository since then that it would be
4914 ;; silly to use such an old release.
4915 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
4916 (package
4917 (name "byzanz")
4918 (version (string-append "0.2-1." (string-take commit 7)))
4919 (source (origin
4920 (method git-fetch)
4921 (uri (git-reference
4922 (url "git://git.gnome.org/byzanz")
4923 (commit commit)))
4924 (sha256
4925 (base32
4926 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
4927 (build-system glib-or-gtk-build-system)
4928 (arguments
4929 '(#:phases
4930 (modify-phases %standard-phases
4931 (add-after 'unpack 'bootstrap
4932 (lambda _
4933 ;; The build system cleverly detects that we're not building from
4934 ;; a release tarball and turns on -Werror for GCC.
4935 ;; Unsurprisingly, there is a warning during compilation that
4936 ;; causes the build to fail unnecessarily, so we remove the flag.
4937 (substitute* '("configure.ac")
4938 (("-Werror") ""))
4939 ;; The autogen.sh script in gnome-common will run ./configure
4940 ;; by default, which is problematic because source shebangs
4941 ;; have not yet been patched.
4942 (setenv "NOCONFIGURE" "t")
4943 (zero? (system* "sh" "autogen.sh")))))))
4944 (native-inputs
4945 `(("autoconf" ,autoconf)
4946 ("automake" ,automake)
4947 ("gnome-common" ,gnome-common)
4948 ("intltool" ,intltool)
4949 ("libtool" ,libtool)
4950 ("pkg-config" ,pkg-config)
4951 ("which" ,which)))
4952 (inputs
4953 `(("glib" ,glib)
4954 ("gstreamer" ,gstreamer)
4955 ("gst-plugins-base" ,gst-plugins-base)
4956 ("gtk+" ,gtk+)))
4957 (synopsis "Desktop recording program")
4958 (description "Byzanz is a simple desktop recording program with a
4959 command-line interface. It can record part or all of an X display for a
4960 specified duration and save it as a GIF encoded animated image file.")
4961 (home-page "https://git.gnome.org/browse/byzanz")
4962 (license license:gpl2+))))
4963
4964 (define-public libzapojit
4965 (package
4966 (name "libzapojit")
4967 (version "0.0.3")
4968 (source (origin
4969 (method url-fetch)
4970 (uri (string-append "mirror://gnome/sources/" name "/"
4971 (version-major+minor version) "/"
4972 name "-" version ".tar.xz"))
4973 (sha256
4974 (base32
4975 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
4976 (build-system gnu-build-system)
4977 (native-inputs
4978 `(("gobject-introspection" ,gobject-introspection)
4979 ("intltool" ,intltool)
4980 ("pkg-config" ,pkg-config)))
4981 (inputs
4982 `(("gnome-online-accounts" ,gnome-online-accounts)
4983 ("json-glib" ,json-glib)
4984 ("rest" ,rest)))
4985 (home-page "https://wiki.gnome.org/Projects/Zapojit")
4986 (synopsis "Library for accessing SkyDrive and Hotmail")
4987 (description
4988 "Libzapojit is a GLib-based library for accessing online service APIs of
4989 Microsoft SkyDrive and Hotmail, using their REST protocols.")
4990 (license license:lgpl2.1+)))