gnu: gcr: Enable working tests.
[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, 2017 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017 Rene Saavedra <rennes@openmailbox.org>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;;
30 ;;; This file is part of GNU Guix.
31 ;;;
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
36 ;;;
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
41 ;;;
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
44
45 (define-module (gnu packages gnome)
46 #:use-module ((guix licenses) #:prefix license:)
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix git-download)
50 #:use-module (guix utils)
51 #:use-module (guix build-system cmake)
52 #:use-module (guix build-system gnu)
53 #:use-module (guix build-system glib-or-gtk)
54 #:use-module (guix build-system trivial)
55 #:use-module (gnu packages)
56 #:use-module (gnu packages admin)
57 #:use-module (gnu packages aspell)
58 #:use-module (gnu packages autotools)
59 #:use-module (gnu packages avahi)
60 #:use-module (gnu packages base)
61 #:use-module (gnu packages bison)
62 #:use-module (gnu packages calendar)
63 #:use-module (gnu packages check)
64 #:use-module (gnu packages cups)
65 #:use-module (gnu packages curl)
66 #:use-module (gnu packages cyrus-sasl)
67 #:use-module (gnu packages databases)
68 #:use-module (gnu packages djvu)
69 #:use-module (gnu packages dns)
70 #:use-module (gnu packages documentation)
71 #:use-module (gnu packages flex)
72 #:use-module (gnu packages docbook)
73 #:use-module (gnu packages enchant)
74 #:use-module (gnu packages fontutils)
75 #:use-module (gnu packages game-development)
76 #:use-module (gnu packages gettext)
77 #:use-module (gnu packages glib)
78 #:use-module (gnu packages gnupg)
79 #:use-module (gnu packages gnuzilla)
80 #:use-module (gnu packages gstreamer)
81 #:use-module (gnu packages gtk)
82 #:use-module (gnu packages gperf)
83 #:use-module (gnu packages guile)
84 #:use-module (gnu packages openldap)
85 #:use-module (gnu packages pdf)
86 #:use-module (gnu packages polkit)
87 #:use-module (gnu packages popt)
88 #:use-module (gnu packages ghostscript)
89 #:use-module (gnu packages ibus)
90 #:use-module (gnu packages iso-codes)
91 #:use-module (gnu packages libcanberra)
92 #:use-module (gnu packages libunistring)
93 #:use-module (gnu packages linux)
94 #:use-module (gnu packages libusb)
95 #:use-module (gnu packages lirc)
96 #:use-module (gnu packages lua)
97 #:use-module (gnu packages image)
98 #:use-module (gnu packages imagemagick)
99 #:use-module (gnu packages networking)
100 #:use-module (gnu packages password-utils)
101 #:use-module (gnu packages pcre)
102 #:use-module (gnu packages perl)
103 #:use-module (gnu packages photo)
104 #:use-module (gnu packages pkg-config)
105 #:use-module (gnu packages pulseaudio)
106 #:use-module (gnu packages python)
107 #:use-module (gnu packages rdesktop)
108 #:use-module (gnu packages scanner)
109 #:use-module (gnu packages selinux)
110 #:use-module (gnu packages ssh)
111 #:use-module (gnu packages xml)
112 #:use-module (gnu packages gl)
113 #:use-module (gnu packages compression)
114 #:use-module (gnu packages spice)
115 #:use-module (gnu packages tex)
116 #:use-module (gnu packages tls)
117 #:use-module (gnu packages web)
118 #:use-module (gnu packages webkit)
119 #:use-module (gnu packages xiph)
120 #:use-module (gnu packages xorg)
121 #:use-module (gnu packages xdisorg)
122 #:use-module (gnu packages freedesktop)
123 #:use-module (gnu packages mail)
124 #:use-module (gnu packages kerberos)
125 #:use-module (gnu packages multiprecision)
126 #:use-module (gnu packages backup)
127 #:use-module (gnu packages nettle)
128 #:use-module (gnu packages ncurses)
129 #:use-module (gnu packages video)
130 #:use-module (gnu packages cdrom)
131 #:use-module (gnu packages samba)
132 #:use-module (gnu packages readline)
133 #:use-module (gnu packages fonts)
134 #:use-module (gnu packages qemu)
135 #:use-module (gnu packages speech)
136 #:use-module (srfi srfi-1))
137
138 (define-public brasero
139 (package
140 (name "brasero")
141 (version "3.12.1")
142 (source (origin
143 (method url-fetch)
144 (uri (string-append "mirror://gnome/sources/" name "/"
145 (version-major+minor version) "/"
146 name "-" version ".tar.xz"))
147 (sha256
148 (base32
149 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
150 (build-system glib-or-gtk-build-system)
151 (arguments
152 `(#:configure-flags (list
153 (string-append "--with-girdir="
154 (assoc-ref %outputs "out")
155 "/share/gir-1.0")
156 (string-append "--with-typelibdir="
157 (assoc-ref %outputs "out")
158 "/lib/girepository-1.0"))
159 #:phases
160 (modify-phases %standard-phases
161 (add-before 'configure 'embed-growisofs
162 (lambda* (#:key inputs #:allow-other-keys)
163 (substitute* "plugins/growisofs/burn-growisofs.c"
164 (("\"growisofs") (string-append "\"" (which "growisofs"))))
165 #t )))))
166 (propagated-inputs
167 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
168 (native-inputs
169 `(("intltool" ,intltool)
170 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
171 ("gobject-introspection" ,gobject-introspection)
172 ("pkg-config" ,pkg-config)))
173 (inputs
174 `(("dvd+rw-tools" ,dvd+rw-tools)
175 ("glib" ,glib)
176 ("gnome-doc-utils" ,gnome-doc-utils)
177 ("gstreamer" ,gstreamer)
178 ("gst-plugins-base" ,gst-plugins-base)
179 ("gtk+" ,gtk+)
180 ("itstool" ,itstool)
181 ("libcanberra" ,libcanberra)
182 ("libice" ,libice)
183 ("libnotify" ,libnotify)
184 ("libsm" ,libsm)
185 ("libxml2" ,libxml2)
186 ("nettle" ,nettle)
187 ("totem-pl-parser" ,totem-pl-parser)))
188 (home-page "https://projects.gnome.org/brasero/")
189 (synopsis "CD/DVD burning tool for Gnome")
190 (description "Brasero is an application to burn CD/DVD for the Gnome
191 Desktop. It is designed to be as simple as possible and has some unique
192 features to enable users to create their discs easily and quickly.")
193 (license license:gpl2+)))
194
195 (define-public dia
196 ;; This version from GNOME's repository includes fixes for compiling with
197 ;; recent versions of the build tools. The latest activity on the
198 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
199 ;; fixes in 2016.
200 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
201 (package
202 (name "dia")
203 (version (string-append "0.97.2-" (string-take commit 7)))
204 (source (origin
205 (method git-fetch)
206 (uri (git-reference
207 (url "https://git.gnome.org/browse/dia")
208 (commit commit)))
209 (file-name (string-append name "-" version "-checkout"))
210 (sha256
211 (base32
212 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
213 (build-system gnu-build-system)
214 (inputs
215 `(("glib" ,glib "bin")
216 ("pango" ,pango)
217 ("gdk-pixbuf" ,gdk-pixbuf)
218 ("gtk+" ,gtk+-2)
219 ("libxml2" ,libxml2)
220 ("freetype" ,freetype)
221 ("libart-lgpl" ,libart-lgpl)))
222 (native-inputs
223 `(("intltool" ,intltool)
224 ("pkg-config" ,pkg-config)
225 ("automake" ,automake)
226 ("autoconf" ,autoconf)
227 ("libtool" ,libtool)
228 ("perl" ,perl)
229 ("python-wrapper" ,python-wrapper)))
230 (arguments
231 `(#:phases
232 (modify-phases %standard-phases
233 (add-before 'configure 'run-autogen
234 (lambda _
235 (system* "sh" "autogen.sh"))))))
236 (home-page "https://wiki.gnome.org/Apps/Dia")
237 (synopsis "Diagram creation for GNOME")
238 (description "Dia can be used to draw different types of diagrams, and
239 includes support for UML static structure diagrams (class diagrams), entity
240 relationship modeling, and network diagrams. The program supports various file
241 formats like PNG, SVG, PDF and EPS.")
242 (license license:gpl2+))))
243
244 (define-public libgdata
245 (package
246 (name "libgdata")
247 (version "0.16.1")
248 (source (origin
249 (method url-fetch)
250 (uri (string-append "mirror://gnome/sources/" name "/"
251 (version-major+minor version) "/"
252 name "-" version ".tar.xz"))
253 (sha256
254 (base32
255 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
256 (patches
257 (search-patches "libgdata-fix-tests.patch"
258 "libgdata-glib-duplicate-tests.patch"))))
259 (build-system gnu-build-system)
260 (arguments
261 '(#:phases
262 (modify-phases %standard-phases
263 (add-before 'check 'use-empty-ssl-cert-file
264 (lambda _
265 ;; The ca-certificates.crt is not available in the build
266 ;; environment.
267 (setenv "SSL_CERT_FILE" "/dev/null")
268 #t)))))
269 (native-inputs
270 `(("glib:bin" ,glib "bin")
271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
272 ("intltool" ,intltool)
273 ("pkg-config" ,pkg-config)
274 ("uhttpmock" ,uhttpmock)))
275 (inputs
276 `(("cyrus-sasl" ,cyrus-sasl)
277 ("glib" ,glib)
278 ("glib-networking" ,glib-networking)
279 ("json-glib" ,json-glib)
280 ("libsoup" ,libsoup)))
281 (propagated-inputs
282 `(("gcr" ,gcr)
283 ("gnome-online-accounts" ,gnome-online-accounts)
284 ("liboauth" ,liboauth)
285 ("libxml2" ,libxml2)))
286 (home-page "https://wiki.gnome.org/Projects/libgdata")
287 (synopsis "Library for accessing online service APIs")
288 (description
289 "libgdata is a GLib-based library for accessing online service APIs using
290 the GData protocol — most notably, Google's services. It provides APIs to
291 access the common Google services, and has full asynchronous support.")
292 (license license:lgpl2.1+)))
293
294 (define-public libgxps
295 (package
296 (name "libgxps")
297 (version "0.2.5")
298 (source (origin
299 (method url-fetch)
300 (uri (string-append "mirror://gnome/sources/" name "/"
301 (version-major+minor version) "/"
302 name "-" version ".tar.xz"))
303 (sha256
304 (base32
305 "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
306 (build-system gnu-build-system)
307 (native-inputs
308 `(("gobject-introspection" ,gobject-introspection)
309 ("pkg-config" ,pkg-config)))
310 (inputs
311 `(("cairo" ,cairo)
312 ("glib" ,glib)
313 ("libarchive" ,libarchive)
314 ("libjpeg" ,libjpeg)
315 ("lcms" ,lcms)
316 ("libtiff" ,libtiff)
317 ("nettle" ,nettle)))
318 (home-page "https://wiki.gnome.org/Projects/libgxps")
319 (synopsis "GObject-based library for handling and rendering XPS documents")
320 (description
321 "libgxps is a GObject-based library for handling and rendering XPS
322 documents. This package also contains binaries that can convert XPS documents
323 to other formats.")
324 (license license:lgpl2.1+)))
325
326 (define-public gnome-common
327 (package
328 (name "gnome-common")
329 (version "3.18.0")
330 (source
331 (origin
332 (method url-fetch)
333 (uri (string-append "mirror://gnome/sources/" name "/"
334 (version-major+minor version) "/"
335 name "-" version ".tar.xz"))
336 (sha256
337 (base32
338 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
339 (build-system gnu-build-system)
340 (home-page "https://www.gnome.org/")
341 (synopsis "Bootstrap GNOME modules built from Git")
342 (description "gnome-common contains various files needed to bootstrap
343 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
344 can be used to configure a source directory checked out from Git and some
345 commonly used macros.")
346 (license license:gpl2+)))
347
348 (define-public gnome-desktop
349 (package
350 (name "gnome-desktop")
351 (version "3.24.2")
352 (source
353 (origin
354 (method url-fetch)
355 (uri (string-append "mirror://gnome/sources/" name "/"
356 (version-major+minor version) "/"
357 name "-" version ".tar.xz"))
358 (sha256
359 (base32
360 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
361 (build-system gnu-build-system)
362 (native-inputs
363 `(("gobject-introspection" ,gobject-introspection)
364 ("itstool" ,itstool)
365 ("intltool" ,intltool)
366 ("pkg-config" ,pkg-config)
367 ("xmllint" ,libxml2)))
368 (propagated-inputs
369 ;; Required by gnome-desktop-3.0.pc.
370 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
371 ("gtk+" ,gtk+)))
372 (inputs
373 `(("gdk-pixbuf" ,gdk-pixbuf)
374 ("glib" ,glib)
375 ("iso-codes" ,iso-codes)
376 ("libx11" ,libx11)
377 ("libxext" ,libxext)
378 ("libxkbfile" ,libxkbfile)
379 ("libxrandr" ,libxrandr)
380 ("xkeyboard-config" ,xkeyboard-config)))
381 (home-page "https://www.gnome.org/")
382 (synopsis
383 "Libgnome-desktop, gnome-about, and desktop-wide documents")
384 (description
385 "The libgnome-desktop library provides API shared by several applications
386 on the desktop, but that cannot live in the platform for various reasons.
387 There is no API or ABI guarantee, although we are doing our best to provide
388 stability. Documentation for the API is available with gtk-doc.
389
390 The gnome-about program helps find which version of GNOME is installed.")
391 ; Some bits under the LGPL.
392 (license license:gpl2+)))
393
394 (define-public gnome-doc-utils
395 (package
396 (name "gnome-doc-utils")
397 (version "0.20.10")
398 (source
399 (origin
400 (method url-fetch)
401 (uri (string-append "mirror://gnome/sources/" name "/"
402 (version-major+minor version) "/"
403 name "-" version ".tar.xz"))
404 (sha256
405 (base32
406 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
407 (build-system gnu-build-system)
408 (native-inputs
409 `(("intltool" ,intltool)
410 ("docbook-xml" ,docbook-xml-4.4)
411 ("python2-libxml2" ,python2-libxml2)
412 ("libxml2" ,libxml2)
413 ("libxslt" ,libxslt)
414 ("pkg-config" ,pkg-config)
415 ("python-2" ,python-2)))
416 (home-page "https://wiki.gnome.org/GnomeDocUtils")
417 (synopsis
418 "Documentation utilities for the Gnome project")
419 (description
420 "Gnome-doc-utils is a collection of documentation utilities for the
421 Gnome project. It includes xml2po tool which makes it easier to translate
422 and keep up to date translations of documentation.")
423 (license license:gpl2+))) ; xslt under lgpl
424
425 (define-public gnome-disk-utility
426 (package
427 (name "gnome-disk-utility")
428 (version "3.24.1")
429 (source (origin
430 (method url-fetch)
431 (uri (string-append "mirror://gnome/sources/" name "/"
432 (version-major+minor version) "/"
433 name "-" version ".tar.xz"))
434 (sha256
435 (base32
436 "18akarcbhm8djlmz49jzavc7qx8dg71gvxc9xd23p0bwjj4h93w7"))))
437 (build-system gnu-build-system)
438 (native-inputs
439 `(("glib:bin" ,glib "bin")
440 ("intltool" ,intltool)
441 ("pkg-config" ,pkg-config)
442 ("docbook-xml" ,docbook-xml)
443 ("docbook-xsl" ,docbook-xsl)
444 ("libxml2" ,libxml2)
445 ("libxslt" ,libxslt)))
446 (inputs
447 `(("glib" ,glib)
448 ("appstream-glib" ,appstream-glib)
449 ("gnome-settings-daemon" ,gnome-settings-daemon)
450 ("gtk+" ,gtk+)
451 ("libcanberra" ,libcanberra)
452 ("libdvdread" ,libdvdread)
453 ("libnotify" ,libnotify)
454 ("libpwquality" ,libpwquality)
455 ("libsecret" ,libsecret)
456 ("udisks" ,udisks)))
457 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
458 (synopsis "Disk management utility for GNOME")
459 (description "Disk management utility for GNOME.")
460 (license license:gpl2+)))
461
462 (define-public gcr
463 (package
464 (name "gcr")
465 (version "3.20.0")
466 (source (origin
467 (method url-fetch)
468 (uri (string-append "mirror://gnome/sources/" name "/"
469 (version-major+minor version) "/"
470 name "-" version ".tar.xz"))
471 (sha256
472 (base32
473 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
474 (patches
475 (search-patches "gcr-disable-failing-tests.patch"
476 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
477 (build-system gnu-build-system)
478 (arguments
479 '(#:phases (modify-phases %standard-phases
480 (add-before
481 'check 'pre-check
482 (lambda* (#:key inputs #:allow-other-keys)
483 (substitute* "build/tap-driver"
484 (("/usr/bin/env python") (which "python"))))))))
485 (inputs
486 `(("dbus" ,dbus)
487 ("gnupg" ,gnupg) ;called as a child process during tests
488 ("libgcrypt" ,libgcrypt)))
489 (native-inputs
490 `(("python" ,python-2) ;for tests
491 ("pkg-config" ,pkg-config)
492 ("glib" ,glib "bin")
493 ("gobject-introspection" ,gobject-introspection)
494 ("intltool" ,intltool)
495 ("xsltproc" ,libxslt)))
496 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
497 (propagated-inputs
498 `(("p11-kit" ,p11-kit)
499 ("glib" ,glib)
500 ("gtk+" ,gtk+)))
501 (home-page "http://www.gnome.org")
502 (synopsis "Libraries for displaying certificates and accessing key stores")
503 (description
504 "The GCR package contains libraries used for displaying certificates and
505 accessing key stores. It also provides the viewer for crypto files on the
506 GNOME Desktop.")
507 (license license:lgpl2.1+)))
508
509 (define-public libgnome-keyring
510 (package
511 (name "libgnome-keyring")
512 (version "3.12.0")
513 (source (origin
514 (method url-fetch)
515 (uri (string-append "mirror://gnome/sources/" name "/"
516 (version-major+minor version) "/"
517 name "-" version ".tar.xz"))
518 (sha256
519 (base32
520 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
521 (build-system gnu-build-system)
522 (inputs
523 `(("libgcrypt" ,libgcrypt)
524 ("dbus" ,dbus)))
525 (native-inputs
526 `(("pkg-config" ,pkg-config)
527 ("glib" ,glib "bin")
528 ("intltool" ,intltool)))
529 (propagated-inputs
530 ;; Referred to in .h files and .pc.
531 `(("glib" ,glib)))
532 (home-page "http://www.gnome.org")
533 (synopsis "Accessing passwords from the GNOME keyring")
534 (description
535 "Client library to access passwords from the GNOME keyring.")
536
537 ;; Though a couple of files are LGPLv2.1+.
538 (license license:lgpl2.0+)))
539
540 (define-public gnome-keyring
541 (package
542 (name "gnome-keyring")
543 (version "3.20.0")
544 (source (origin
545 (method url-fetch)
546 (uri (string-append "mirror://gnome/sources/" name "/"
547 (version-major+minor version) "/"
548 name "-" version ".tar.xz"))
549 (sha256
550 (base32
551 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
552 (build-system gnu-build-system)
553 (arguments
554 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
555 ;not exist
556 #:configure-flags
557 (list
558 (string-append "--with-pkcs11-config="
559 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
560 (string-append "--with-pkcs11-modules="
561 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
562 #:phases
563 (modify-phases %standard-phases
564 (add-before
565 'check 'pre-check
566 (lambda* (#:key inputs #:allow-other-keys)
567 (substitute* "build/tap-driver"
568 (("/usr/bin/env python") (which "python")))))
569 (add-before
570 'configure 'fix-docbook
571 (lambda* (#:key inputs #:allow-other-keys)
572 (substitute* "docs/Makefile.am"
573 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
574 (string-append (assoc-ref inputs "docbook-xsl")
575 "/xml/xsl/docbook-xsl-"
576 ,(package-version docbook-xsl)
577 "/manpages/docbook.xsl")))
578 (setenv "XML_CATALOG_FILES"
579 (string-append (assoc-ref inputs "docbook-xml")
580 "/xml/dtd/docbook/catalog.xml")))))))
581 (inputs
582 `(("libgcrypt" ,libgcrypt)
583 ("linux-pam" ,linux-pam)
584 ("dbus" ,dbus)
585 ("gcr" ,gcr)))
586 (native-inputs
587 `(("pkg-config" ,pkg-config)
588 ("glib" ,glib "bin")
589 ("python" ,python-2) ;for tests
590 ("intltool" ,intltool)
591 ("autoconf" ,autoconf)
592 ("automake" ,automake)
593 ("libxslt" ,libxslt) ;for documentation
594 ("docbook-xml" ,docbook-xml-4.2)
595 ("docbook-xsl" ,docbook-xsl)))
596 (home-page "http://www.gnome.org")
597 (synopsis "Daemon to store passwords and encryption keys")
598 (description
599 "gnome-keyring is a program that keeps passwords and other secrets for
600 users. It is run as a daemon in the session, similar to ssh-agent, and other
601 applications locate it via an environment variable or D-Bus.
602
603 The program can manage several keyrings, each with its own master password,
604 and there is also a session keyring which is never stored to disk, but
605 forgotten when the session ends.")
606 (license license:lgpl2.1+)))
607
608 (define-public evince
609 (package
610 (name "evince")
611 (version "3.24.0")
612 (source (origin
613 (method url-fetch)
614 (uri (string-append "mirror://gnome/sources/" name "/"
615 (version-major+minor version) "/"
616 name "-" version ".tar.xz"))
617 (sha256
618 (base32
619 "13yw0i68dgqp9alyliy3zifszh7rikkpi1xbz5binvxxgfpraf04"))))
620 (build-system glib-or-gtk-build-system)
621 (arguments
622 `(#:configure-flags '("--disable-nautilus")
623 #:phases
624 (modify-phases %standard-phases
625 (add-before 'install 'skip-gtk-update-icon-cache
626 ;; Don't create 'icon-theme.cache'.
627 (lambda _
628 (substitute* "data/Makefile"
629 (("gtk-update-icon-cache") "true"))
630 #t)))))
631 (inputs
632 `(("libarchive" ,libarchive)
633 ("libgxps" ,libgxps)
634 ("libspectre" ,libspectre)
635 ("djvulibre" ,djvulibre)
636 ("ghostscript" ,ghostscript)
637 ("poppler" ,poppler)
638 ("libtiff" ,libtiff)
639 ;; TODO:
640 ;; Build libkpathsea as a shared library for DVI support.
641 ;; ("libkpathsea" ,texlive-bin)
642 ("gnome-desktop" ,gnome-desktop)
643 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
644 ("libgnome-keyring" ,libgnome-keyring)
645 ("adwaita-icon-theme" ,adwaita-icon-theme)
646 ("gdk-pixbuf" ,gdk-pixbuf)
647 ("atk" ,atk)
648 ("pango" ,pango)
649 ("gtk+" ,gtk+)
650 ("glib" ,glib)
651 ("libxml2" ,libxml2)
652 ("libsm" ,libsm)
653 ("libice" ,libice)
654 ("shared-mime-info" ,shared-mime-info)
655 ("dconf" ,dconf)
656 ("libcanberra" ,libcanberra)
657 ("libsecret" ,libsecret)
658 ;; For tests.
659 ("dogtail" ,python2-dogtail)))
660 (native-inputs
661 `(("itstool" ,itstool)
662 ("intltool" ,intltool)
663 ("glib" ,glib "bin")
664 ("pkg-config" ,pkg-config)
665 ("xmllint" ,libxml2)))
666 (home-page
667 "http://www.gnome.org/projects/evince/")
668 (synopsis "GNOME's document viewer")
669 (description
670 "Evince is a document viewer for multiple document formats. It
671 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
672 of Evince is to replace the multiple document viewers that exist
673 on the GNOME Desktop with a single simple application.")
674 (license license:gpl2+)))
675
676 (define-public gsettings-desktop-schemas
677 (package
678 (name "gsettings-desktop-schemas")
679 (version "3.24.0")
680 (source
681 (origin
682 (method url-fetch)
683 (uri (string-append "mirror://gnome/sources/" name "/"
684 (version-major+minor version) "/"
685 name "-" version ".tar.xz"))
686 (sha256
687 (base32
688 "145vpcljy4660cnk8zk91qf7ywa7hqfl5hhw025gy8hxcqzklmzn"))))
689 (build-system gnu-build-system)
690 (inputs
691 `(("glib" ,glib)))
692 (native-inputs
693 `(("intltool" ,intltool)
694 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
695 ("gobject-introspection" ,gobject-introspection)
696 ("pkg-config" ,pkg-config)))
697 (home-page "https://launchpad.net/gsettings-desktop-schemas")
698 (synopsis
699 "GNOME settings for various desktop components")
700 (description
701 "Gsettings-desktop-schemas contains a collection of GSettings schemas
702 for settings shared by various components of the GNOME desktop.")
703 (license license:lgpl2.1+)))
704
705 (define-public icon-naming-utils
706 (package
707 (name "icon-naming-utils")
708 (version "0.8.90")
709 (source
710 (origin
711 (method url-fetch)
712 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
713 version ".tar.bz2"))
714 (sha256
715 (base32
716 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
717 (build-system gnu-build-system)
718 (inputs
719 `(("perl" ,perl)
720 ("perl-xml-simple" ,perl-xml-simple)))
721 (arguments
722 '(#:phases
723 (alist-cons-after
724 'install 'set-load-paths
725 ;; Tell 'icon-name-mapping' where XML::Simple is.
726 (lambda* (#:key outputs #:allow-other-keys)
727 (let* ((out (assoc-ref outputs "out"))
728 (prog (string-append out "/libexec/icon-name-mapping")))
729 (wrap-program
730 prog
731 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
732 %standard-phases)))
733 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
734 (synopsis
735 "Utility to implement the Freedesktop Icon Naming Specification")
736 (description
737 "To help with the transition to the Freedesktop Icon Naming
738 Specification, the icon naming utility maps the icon names used by the
739 GNOME and KDE desktops to the icon names proposed in the specification.")
740 (license license:lgpl2.1+)))
741
742 (define-public gnome-icon-theme
743 (package
744 (name "gnome-icon-theme")
745 (version "3.12.0")
746 (source
747 (origin
748 (method url-fetch)
749 (uri (string-append "mirror://gnome/sources/" name "/"
750 (version-major+minor version) "/"
751 name "-" version ".tar.xz"))
752 (sha256
753 (base32
754 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
755 (build-system gnu-build-system)
756 (arguments
757 '(#:configure-flags
758 ;; Don't create 'icon-theme.cache'.
759 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
760 (true (string-append coreutils "/bin/true")))
761 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
762 (native-inputs
763 `(("icon-naming-utils" ,icon-naming-utils)
764 ("intltool" ,intltool)
765 ("pkg-config" ,pkg-config)))
766 (home-page "http://art.gnome.org/")
767 (synopsis
768 "GNOME icon theme")
769 (description
770 "Icons for the GNOME desktop.")
771 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
772
773 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
774 (define-public adwaita-icon-theme
775 (package (inherit gnome-icon-theme)
776 (name "adwaita-icon-theme")
777 (version "3.24.0")
778 (source (origin
779 (method url-fetch)
780 (uri (string-append "mirror://gnome/sources/" name "/"
781 (version-major+minor version) "/"
782 name "-" version ".tar.xz"))
783 (sha256
784 (base32
785 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
786 (native-inputs
787 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
788
789 (define-public tango-icon-theme
790 (package
791 (name "tango-icon-theme")
792 (version "0.8.90")
793 (source (origin
794 (method url-fetch)
795 (uri (string-append "http://tango.freedesktop.org/releases/"
796 "tango-icon-theme-" version ".tar.bz2"))
797 (sha256
798 (base32
799 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
800 (build-system gnu-build-system)
801 (native-inputs
802 `(("icon-naming-utils" ,icon-naming-utils)
803 ("intltool" ,intltool)
804 ("imagemagick" ,imagemagick)
805 ("pkg-config" ,pkg-config)))
806 (home-page "http://tango-project.org/")
807 (synopsis "Tango icon theme")
808 (description "This is an icon theme that follows the Tango visual
809 guidelines.")
810 (license license:public-domain)))
811
812 (define-public shared-mime-info
813 (package
814 (name "shared-mime-info")
815 (version "1.8")
816 (source (origin
817 (method url-fetch)
818 (uri (string-append "https://freedesktop.org/~hadess/"
819 "shared-mime-info-" version ".tar.xz"))
820 (sha256
821 (base32
822 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
823 (build-system gnu-build-system)
824 (arguments
825 ;; The build system appears not to be parallel-safe.
826 '(#:parallel-build? #f))
827 (inputs
828 `(("glib" ,glib)
829 ("libxml2" ,libxml2)))
830 (native-inputs
831 `(("intltool" ,intltool)
832 ("pkg-config" ,pkg-config)))
833 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
834 (synopsis "Database of common MIME types")
835 (description
836 "The shared-mime-info package contains the core database of common types
837 and the update-mime-database command used to extend it. It requires glib2 to
838 be installed for building the update command. Additionally, it uses intltool
839 for translations, though this is only a dependency for the maintainers. This
840 database is translated at Transifex.")
841 (license license:gpl2+)))
842
843 (define-public hicolor-icon-theme
844 (package
845 (name "hicolor-icon-theme")
846 (version "0.15")
847 (source
848 (origin
849 (method url-fetch)
850 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
851 "hicolor-icon-theme-" version ".tar.xz"))
852 (sha256
853 (base32
854 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
855 (build-system gnu-build-system)
856 (arguments
857 `(#:tests? #f)) ; no check target
858 (home-page "http://icon-theme.freedesktop.org/releases/")
859 (synopsis
860 "Freedesktop icon theme")
861 (description
862 "Freedesktop icon theme.")
863 (license license:gpl2)))
864
865 (define-public libnotify
866 (package
867 (name "libnotify")
868 (version "0.7.7")
869 (source
870 (origin
871 (method url-fetch)
872 (uri (string-append "mirror://gnome/sources/" name "/"
873 (version-major+minor version) "/"
874 name "-" version ".tar.xz"))
875 (sha256
876 (base32
877 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
878 (build-system gnu-build-system)
879 (inputs
880 `(("gdk-pixbuf" ,gdk-pixbuf)
881 ("glib" ,glib)
882 ("gtk+" ,gtk+)
883 ("libpng" ,libpng)))
884 (native-inputs
885 `(("pkg-config" ,pkg-config)
886 ("glib" ,glib "bin")
887 ("gobject-introspection" ,gobject-introspection)))
888 (home-page "https://developer-next.gnome.org/libnotify/")
889 (synopsis
890 "GNOME desktop notification library")
891 (description
892 "Libnotify is a library that sends desktop notifications to a
893 notification daemon, as defined in the Desktop Notifications spec. These
894 notifications can be used to inform the user about an event or display
895 some form of information without getting in the user's way.")
896 (license license:lgpl2.1+)))
897
898 (define-public libpeas
899 (package
900 (name "libpeas")
901 (version "1.20.0")
902 (source
903 (origin
904 (method url-fetch)
905 (uri (string-append "mirror://gnome/sources/" name "/"
906 (version-major+minor version) "/"
907 name "-" version ".tar.xz"))
908 (sha256
909 (base32
910 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
911 (build-system gnu-build-system)
912 (inputs
913 `(("gtk+" ,gtk+)
914 ("glade" ,glade3)
915 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
916 ("python" ,python)
917 ("python-pygobject" ,python-pygobject)))
918 (native-inputs
919 `(("pkg-config" ,pkg-config)
920 ("glib:bin" ,glib "bin")
921 ("gobject-introspection" ,gobject-introspection)
922 ("intltool" ,intltool)))
923 (propagated-inputs
924 ;; The .pc file "Requires" gobject-introspection.
925 `(("gobject-introspection" ,gobject-introspection)))
926 (home-page "https://wiki.gnome.org/Libpeas")
927 (synopsis "GObject plugin system")
928 (description
929 "Libpeas is a gobject-based plugin engine, targeted at giving every
930 application the chance to assume its own extensibility. It also has a set of
931 features including, but not limited to: multiple extension points; on-demand
932 (lazy) programming language support for C, Python and JS; simplicity of the
933 API.")
934 (license license:lgpl2.0+)))
935
936 (define-public gtkglext
937 (package
938 (name "gtkglext")
939 (version "1.2.0")
940 (source (origin
941 (method url-fetch)
942 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
943 version "/gtkglext-" version ".tar.gz"))
944 (sha256
945 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
946 (patches (search-patches
947 "gtkglext-disable-disable-deprecated.patch"))))
948 (build-system gnu-build-system)
949 (inputs `(("gtk+" ,gtk+-2)
950 ("mesa" ,mesa)
951 ("glu" ,glu)
952 ("libx11" ,libx11)
953 ("libxt" ,libxt)))
954 (native-inputs `(("pkg-config" ,pkg-config)
955 ("glib" ,glib "bin")))
956 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
957 (home-page "https://projects.gnome.org/gtkglext")
958 (synopsis "OpenGL extension to GTK+")
959 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
960 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
961 API add-ons to make GTK+ widgets OpenGL-capable.")
962 (license license:lgpl2.1+)))
963
964 (define-public glade3
965 (package
966 (name "glade")
967 (version "3.20.0")
968 (source (origin
969 (method url-fetch)
970 (uri (string-append "mirror://gnome/sources/" name "/"
971 (version-major+minor version) "/"
972 name "-" version ".tar.xz"))
973 (sha256
974 (base32
975 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
976 (build-system glib-or-gtk-build-system)
977 (arguments
978 `(#:tests? #f ; needs X, GL, and software rendering
979 #:phases
980 (modify-phases %standard-phases
981 (add-before 'configure 'fix-docbook
982 (lambda* (#:key inputs #:allow-other-keys)
983 (substitute* "man/Makefile.in"
984 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
985 (string-append (assoc-ref inputs "docbook-xsl")
986 "/xml/xsl/docbook-xsl-"
987 ,(package-version docbook-xsl)
988 "/manpages/docbook.xsl")))
989 #t)))))
990 (inputs
991 `(("gtk+" ,gtk+)
992 ("libxml2" ,libxml2)))
993 (native-inputs
994 `(("intltool" ,intltool)
995 ("itstool" ,itstool)
996 ("libxslt" ,libxslt) ;for xsltproc
997 ("docbook-xml" ,docbook-xml-4.2)
998 ("docbook-xsl" ,docbook-xsl)
999 ("python" ,python-2)
1000 ("pkg-config" ,pkg-config)))
1001 (home-page "https://glade.gnome.org")
1002 (synopsis "GTK+ rapid application development tool")
1003 (description "Glade is a rapid application development (RAD) tool to
1004 enable quick & easy development of user interfaces for the GTK+ toolkit and
1005 the GNOME desktop environment.")
1006 (license license:lgpl2.0+)))
1007
1008 (define-public libcroco
1009 (package
1010 (name "libcroco")
1011 (version "0.6.12")
1012 (source (origin
1013 (method url-fetch)
1014 (uri (string-append "mirror://gnome/sources/" name "/"
1015 (version-major+minor version) "/"
1016 name "-" version ".tar.xz"))
1017 (patches
1018 (search-patches "libcroco-CVE-2017-7960.patch"
1019 "libcroco-CVE-2017-7961.patch"))
1020 (sha256
1021 (base32
1022 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1023 (build-system gnu-build-system)
1024 (native-inputs
1025 `(("pkg-config" ,pkg-config)))
1026 (inputs
1027 `(("glib" ,glib)
1028 ("libxml2" ,libxml2)
1029 ("zlib" ,zlib)))
1030 (home-page "https://github.com/GNOME/libcroco")
1031 (synopsis "CSS2 parsing and manipulation library")
1032 (description
1033 "Libcroco is a standalone CSS2 parsing and manipulation library.
1034 The parser provides a low level event driven SAC-like API and a CSS object
1035 model like API. Libcroco provides a CSS2 selection engine and an experimental
1036 XML/CSS rendering engine.")
1037
1038 ;; LGPLv2.1-only.
1039 (license license:lgpl2.1)))
1040
1041 (define-public libgsf
1042 (package
1043 (name "libgsf")
1044 (version "1.14.41")
1045 (source (origin
1046 (method url-fetch)
1047 (uri (string-append "mirror://gnome/sources/" name "/"
1048 (version-major+minor version) "/"
1049 name "-" version ".tar.xz"))
1050 (sha256
1051 (base32
1052 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
1053 (build-system gnu-build-system)
1054 (native-inputs
1055 `(("intltool" ,intltool)
1056 ("pkg-config" ,pkg-config)))
1057 (inputs
1058 `(("python" ,python)
1059 ("zlib" ,zlib)
1060 ("bzip2" ,bzip2)))
1061 (propagated-inputs
1062 `(("gdk-pixbuf" ,gdk-pixbuf)
1063 ("glib" ,glib)
1064 ("libxml2" ,libxml2)))
1065 (home-page "http://www.gnome.org/projects/libgsf")
1066 (synopsis "GNOME's Structured File Library")
1067 (description
1068 "Libgsf aims to provide an efficient extensible I/O abstraction for
1069 dealing with different structured file formats.")
1070
1071 ;; LGPLv2.1-only.
1072 (license license:lgpl2.1)))
1073
1074 (define-public librsvg
1075 (package
1076 (name "librsvg")
1077 (version "2.40.16")
1078 (source (origin
1079 (method url-fetch)
1080 (uri (string-append "mirror://gnome/sources/" name "/"
1081 (version-major+minor version) "/"
1082 name "-" version ".tar.xz"))
1083 (sha256
1084 (base32
1085 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
1086 (build-system gnu-build-system)
1087 (arguments
1088 `(#:phases
1089 (alist-cons-before
1090 'configure 'pre-configure
1091 (lambda* (#:key inputs #:allow-other-keys)
1092 (substitute* "gdk-pixbuf-loader/Makefile.in"
1093 ;; By default the gdk-pixbuf loader is installed under
1094 ;; gdk-pixbuf's prefix. Work around that.
1095 (("gdk_pixbuf_moduledir = .*$")
1096 (string-append "gdk_pixbuf_moduledir = "
1097 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1098 "loaders\n"))
1099 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1100 (("gdk_pixbuf_cache_file = .*$")
1101 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1102 %standard-phases)))
1103 (native-inputs
1104 `(("pkg-config" ,pkg-config)
1105 ("glib" ,glib "bin") ; glib-mkenums, etc.
1106 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1107 (inputs
1108 `(("pango" ,pango)
1109 ("libcroco" ,libcroco)
1110 ("bzip2" ,bzip2)
1111 ("libgsf" ,libgsf)
1112 ("libxml2" ,libxml2)))
1113 (propagated-inputs
1114 ;; librsvg-2.0.pc refers to all of that.
1115 `(("cairo" ,cairo)
1116 ("gdk-pixbuf" ,gdk-pixbuf)
1117 ("glib" ,glib)))
1118 (home-page "https://wiki.gnome.org/LibRsvg")
1119 (synopsis "Render SVG files using Cairo")
1120 (description
1121 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1122 library.")
1123 (license license:lgpl2.0+)))
1124
1125 (define-public libidl
1126 (package
1127 (name "libidl")
1128 (version "0.8.14")
1129 (source (origin
1130 (method url-fetch)
1131 (uri (let ((upstream-name "libIDL"))
1132 (string-append "mirror://gnome/sources/" upstream-name "/"
1133 (version-major+minor version) "/"
1134 upstream-name "-" version ".tar.bz2")))
1135 (sha256
1136 (base32
1137 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1138 (build-system gnu-build-system)
1139 (inputs `(("glib" ,glib)))
1140 (native-inputs
1141 `(("pkg-config" ,pkg-config)
1142 ("flex" ,flex)
1143 ("bison" ,bison)))
1144 (home-page "http://freecode.com/projects/libidl")
1145 (synopsis "Create trees of CORBA Interface Definition Language files")
1146 (description "Libidl is a library for creating trees of CORBA Interface
1147 Definition Language (idl) files, which is a specification for defining
1148 portable interfaces. libidl was initially written for orbit (the orb from the
1149 GNOME project, and the primary means of libidl distribution). However, the
1150 functionality was designed to be as reusable and portable as possible.")
1151 (license license:lgpl2.0+)))
1152
1153
1154 (define-public orbit2
1155 (package
1156 (name "orbit2")
1157 (version "2.14.19")
1158 (source (origin
1159 (method url-fetch)
1160 (uri (let ((upstream-name "ORBit2"))
1161 (string-append "mirror://gnome/sources/" upstream-name "/"
1162 (version-major+minor version) "/"
1163 upstream-name "-" version ".tar.bz2")))
1164 (sha256
1165 (base32
1166 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1167 (build-system gnu-build-system)
1168 (arguments
1169 `(#:configure-flags
1170 ;; The programmer kindly gives us a hook to turn off deprecation
1171 ;; warnings ...
1172 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1173 ;; ... which they then completly ignore !!
1174 #:phases
1175 (alist-cons-before
1176 'configure 'ignore-deprecations
1177 (lambda _
1178 (substitute* "linc2/src/Makefile.in"
1179 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1180 %standard-phases)))
1181 (inputs `(("glib" ,glib)
1182 ("libidl" ,libidl)))
1183 (native-inputs
1184 `(("pkg-config" ,pkg-config)))
1185 (home-page "https://projects.gnome.org/orbit2/")
1186 (synopsis "CORBA 2.4-compliant Object Request Broker")
1187 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1188 featuring mature C, C++ and Python bindings.")
1189 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1190 ;; a version. SOME of the code files have licence notices for GPLv2+.
1191 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1192 (license license:gpl2+)))
1193
1194
1195 (define-public libbonobo
1196 (package
1197 (name "libbonobo")
1198 (version "2.32.1")
1199 (source (origin
1200 (method url-fetch)
1201 (uri (string-append "mirror://gnome/sources/" name "/"
1202 (version-major+minor version)
1203 "/" name "-" version ".tar.bz2"))
1204 (sha256
1205 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1206 (patches (search-patches
1207 "libbonobo-activation-test-race.patch"))))
1208 (build-system gnu-build-system)
1209 (arguments
1210 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1211 `(#:configure-flags
1212 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1213 ;; ... which they then completly ignore !!
1214 #:phases
1215 (alist-cons-before
1216 'configure 'ignore-deprecations
1217 (lambda _
1218 (substitute* "activation-server/Makefile.in"
1219 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1220 %standard-phases)))
1221 (inputs `(("popt" ,popt)
1222 ("libxml2" ,libxml2)))
1223 ;; The following are Required by the .pc file
1224 (propagated-inputs
1225 `(("glib" ,glib)
1226 ("orbit2" ,orbit2)))
1227 (native-inputs
1228 `(("intltool" ,intltool)
1229 ("pkg-config" ,pkg-config)
1230 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1231 ("flex" ,flex)
1232 ("bison" ,bison)))
1233 (home-page "https://developer.gnome.org/libbonobo/")
1234 (synopsis "Framework for creating reusable components for use in GNOME applications")
1235 (description "Bonobo is a framework for creating reusable components for
1236 use in GNOME applications, built on top of CORBA.")
1237 ;; Licence not explicitly stated. Source files contain no licence notices.
1238 ;; Tarball contains text of both GPLv2 and LGPLv2
1239 ;; GPLv2 covers both conditions
1240 (license license:gpl2+)))
1241
1242
1243 (define-public gconf
1244 (package
1245 (name "gconf")
1246 (version "3.2.6")
1247 (source (origin
1248 (method url-fetch)
1249 (uri
1250 (let ((upstream-name "GConf"))
1251 (string-append "mirror://gnome/sources/" upstream-name "/"
1252 (version-major+minor version) "/"
1253 upstream-name "-" version ".tar.xz")))
1254 (sha256
1255 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1256 (build-system gnu-build-system)
1257 (inputs `(("dbus-glib" ,dbus-glib)
1258 ("libxml2" ,libxml2)))
1259 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1260 ("orbit2" ,orbit2)))
1261 (native-inputs
1262 `(("intltool" ,intltool)
1263 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1264 ("pkg-config" ,pkg-config)))
1265 (home-page "https://projects.gnome.org/gconf/")
1266 (synopsis "Store application preferences")
1267 (description "Gconf is a system for storing application preferences. It
1268 is intended for user preferences; not arbitrary data storage.")
1269 (license license:lgpl2.0+)
1270 (properties '((upstream-name . "GConf")))))
1271
1272
1273 (define-public gnome-mime-data
1274 (package
1275 (name "gnome-mime-data")
1276 (version "2.18.0")
1277 (source (origin
1278 (method url-fetch)
1279 (uri (string-append "mirror://gnome/sources/" name "/"
1280 (version-major+minor version) "/"
1281 name "-" version ".tar.bz2"))
1282 (sha256
1283 (base32
1284 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1285 (build-system gnu-build-system)
1286 (native-inputs
1287 `(("perl" ,perl)
1288 ("intltool" ,intltool)))
1289 (home-page "http://www.gnome.org")
1290 (synopsis "Base MIME and Application database for GNOME")
1291 (description "GNOME Mime Data is a module which contains the base MIME
1292 and Application database for GNOME. The data stored by this module is
1293 designed to be accessed through the MIME functions in GnomeVFS.")
1294 (license license:gpl2+)))
1295
1296
1297 (define-public gnome-vfs
1298 (package
1299 (name "gnome-vfs")
1300 (version "2.24.4")
1301 (source (origin
1302 (method url-fetch)
1303 (uri (string-append "mirror://gnome/sources/" name "/"
1304 (version-major+minor version) "/"
1305 name "-" version ".tar.bz2"))
1306 (sha256
1307 (base32
1308 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1309 (build-system gnu-build-system)
1310 (arguments
1311 `(#:phases
1312 (alist-cons-before
1313 'configure 'ignore-deprecations
1314 (lambda _
1315 (substitute* '("libgnomevfs/Makefile.in"
1316 "daemon/Makefile.in")
1317 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1318 #t)
1319 (alist-cons-before
1320 'configure 'patch-test-async-cancel-to-never-fail
1321 (lambda _
1322 (substitute* "test/test-async-cancel.c"
1323 (("EXIT_FAILURE") "77")))
1324 %standard-phases))))
1325 (inputs `(("libxml2" ,libxml2)
1326 ("dbus-glib" ,dbus-glib)
1327 ("gconf" ,gconf)
1328 ("gnome-mime-data" ,gnome-mime-data)
1329 ("zlib" ,zlib)))
1330 (native-inputs
1331 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1332 ("intltool" ,intltool)
1333 ("pkg-config" ,pkg-config)))
1334 (home-page "https://developer.gnome.org/gnome-vfs/")
1335 (synopsis "Access files and folders in GNOME applications")
1336 (description
1337 "GnomeVFS is the core library used to access files and folders in GNOME
1338 applications. It provides a file system abstraction which allows applications
1339 to access local and remote files with a single consistent API.")
1340 (license license:lgpl2.0+)))
1341
1342
1343
1344 (define-public libgnome
1345 (package
1346 (name "libgnome")
1347 (version "2.32.1")
1348 (source (origin
1349 (method url-fetch)
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.bz2"))
1353 (sha256
1354 (base32
1355 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1356 (build-system gnu-build-system)
1357 (arguments
1358 `(#:phases
1359 (alist-cons-before
1360 'configure 'enable-deprecated
1361 (lambda _
1362 (substitute* "libgnome/Makefile.in"
1363 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1364 %standard-phases)))
1365 (inputs `(("libxml2" ,libxml2)))
1366 (native-inputs
1367 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1368 ("intltool" ,intltool)
1369 ("pkg-config" ,pkg-config)))
1370 ;; The following are listed as Required in the .pc file
1371 ;; (except for libcanberra -- which seems to be oversight on the part
1372 ;; of the upstream developers -- anything that links against libgnome,
1373 ;; must also link against libcanberra
1374 (propagated-inputs
1375 `(("libcanberra" ,libcanberra)
1376 ("libbonobo" ,libbonobo)
1377 ("gconf" ,gconf)
1378 ("gnome-vfs" ,gnome-vfs)
1379 ("popt" ,popt))) ;gnome-program.h includes popt.h
1380 (home-page "https://developer.gnome.org/libgnome/")
1381 (synopsis "Useful routines for building applications")
1382 (description "The libgnome library provides a number of useful routines
1383 for building modern applications, including session management, activation of
1384 files and URIs, and displaying help.")
1385 (license license:lgpl2.0+)))
1386
1387
1388 (define-public libart-lgpl
1389 (package
1390 (name "libart-lgpl")
1391 (version "2.3.21")
1392 (source (origin
1393 (method url-fetch)
1394 (uri (let ((upstream-name "libart_lgpl"))
1395 (string-append "mirror://gnome/sources/" upstream-name "/"
1396 (version-major+minor version) "/"
1397 upstream-name "-" version ".tar.bz2")))
1398 (sha256
1399 (base32
1400 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1401 (build-system gnu-build-system)
1402 (native-inputs
1403 `(("pkg-config" ,pkg-config)))
1404 (home-page "https://people.gnome.org/~mathieu/libart")
1405 (synopsis "2D drawing library")
1406 (description "Libart is a 2D drawing library intended as a
1407 high-quality vector-based 2D library with antialiasing and alpha composition.")
1408 (license license:lgpl2.0+)))
1409
1410
1411
1412 (define-public libgnomecanvas
1413 (package
1414 (name "libgnomecanvas")
1415 (version "2.30.3")
1416 (source (origin
1417 (method url-fetch)
1418 (uri (string-append "mirror://gnome/sources/" name "/"
1419 (version-major+minor version) "/"
1420 name "-" version ".tar.gz"))
1421 (sha256
1422 (base32
1423 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1424 (build-system gnu-build-system)
1425 ;; Mentioned as Required in the .pc file
1426 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1427 ("gtk+" ,gtk+-2)))
1428 (native-inputs
1429 `(("intltool" ,intltool)
1430 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1431 ("pkg-config" ,pkg-config)))
1432 (home-page "https://developer.gnome.org/libgnomecanvas/")
1433 (synopsis "Flexible widget for creating interactive structured graphics")
1434 (description "The GnomeCanvas widget provides a flexible widget for
1435 creating interactive structured graphics.")
1436 (license license:lgpl2.0+)))
1437
1438 (define-public libgnomecanvasmm
1439 (package
1440 (name "libgnomecanvasmm")
1441 (version "2.26.0")
1442 (source (origin
1443 (method url-fetch)
1444 (uri (string-append "mirror://gnome/sources/" name "/"
1445 (version-major+minor version) "/"
1446 name "-" version ".tar.bz2"))
1447 (sha256
1448 (base32
1449 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1450 (build-system gnu-build-system)
1451 (arguments
1452 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1453 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1454 (native-inputs
1455 `(("gtkmm-2" ,gtkmm-2)
1456 ("pkg-config" ,pkg-config)))
1457 (home-page "http://gtkmm.org")
1458 (synopsis "C++ bindings to the GNOME Canvas library")
1459 (description "C++ bindings to the GNOME Canvas library.")
1460 (license license:lgpl2.0+)))
1461
1462 (define-public libgnomeui
1463 (package
1464 (name "libgnomeui")
1465 (version "2.24.5")
1466 (source (origin
1467 (method url-fetch)
1468 (uri (string-append "mirror://gnome/sources/" name "/"
1469 (version-major+minor version) "/"
1470 name "-" version ".tar.bz2"))
1471 (sha256
1472 (base32
1473 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1474 (build-system gnu-build-system)
1475 ;; Mentioned as Required in the .pc file
1476 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1477 ("libgnome" ,libgnome)
1478 ("libgnomecanvas" ,libgnomecanvas)
1479 ("libgnome-keyring" ,libgnome-keyring)))
1480 (inputs `(("libjpeg" ,libjpeg)
1481 ("popt" ,popt)
1482 ("libbonobo" ,libbonobo)
1483 ("libxml2" ,libxml2)
1484 ("libglade" ,libglade)))
1485 (native-inputs
1486 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1487 ("intltool" ,intltool)
1488 ("pkg-config" ,pkg-config)))
1489 (home-page "https://developer.gnome.org/libgnomeui/")
1490 (synopsis "Additional widgets for applications")
1491 (description "The libgnomeui library provides additional widgets for
1492 applications. Many of the widgets from libgnomeui have already been
1493 ported to GTK+.")
1494 (license license:lgpl2.0+)))
1495
1496 (define-public libglade
1497 (package
1498 (name "libglade")
1499 (version "2.6.4")
1500 (source (origin
1501 (method url-fetch)
1502 (uri (string-append "mirror://gnome/sources/" name "/"
1503 (version-major+minor version) "/"
1504 name "-" version ".tar.bz2"))
1505 (sha256
1506 (base32
1507 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1508 (build-system gnu-build-system)
1509 (inputs
1510 `(("python" ,python))) ;; needed for the optional libglade-convert program
1511 (propagated-inputs
1512 `(("gtk+-2" ,gtk+-2)
1513 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1514 (native-inputs
1515 `(("pkg-config" ,pkg-config)))
1516 (home-page "https://developer.gnome.org/libglade")
1517 (synopsis "Load glade interfaces and access the glade built widgets")
1518 (description "Libglade is a library that provides interfaces for loading
1519 graphical interfaces described in glade files and for accessing the
1520 widgets built in the loading process.")
1521 (license license:gpl2+))) ; This is correct. GPL not LGPL
1522
1523 (define-public libgnomeprint
1524 ;; This library has been deprecated since 2006; see
1525 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1526 (package
1527 (name "libgnomeprint")
1528 (version "2.8.2")
1529 (source (origin
1530 (method url-fetch)
1531 (uri (string-append "mirror://gnome/sources/" name "/"
1532 (version-major+minor version) "/"
1533 name "-" version ".tar.bz2"))
1534 (sha256
1535 (base32
1536 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1537 (build-system gnu-build-system)
1538 (inputs
1539 `(("popt" ,popt)
1540 ("libart-lgpl" ,libart-lgpl)
1541 ("gtk+" ,gtk+-2)
1542 ("libxml2" ,libxml2)))
1543 (native-inputs
1544 `(("intltool" ,intltool)
1545 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1546 ("pkg-config" ,pkg-config)))
1547 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1548 (synopsis "Printing framework for GNOME")
1549 (description
1550 "GNOME-print was a printing framework for GNOME. It has been deprecated
1551 since ca. 2006, when GTK+ itself incorporated printing support.")
1552 (license license:lgpl2.0+)))
1553
1554
1555 (define-public libgnomeprintui
1556 ;; Deprecated; see libgnomeprint.
1557 (package
1558 (name "libgnomeprintui")
1559 (version "2.8.2")
1560 (source (origin
1561 (method url-fetch)
1562 (uri (string-append "mirror://gnome/sources/" name "/"
1563 (version-major+minor version) "/"
1564 name "-" version ".tar.bz2"))
1565 (sha256
1566 (base32
1567 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1568 (build-system gnu-build-system)
1569 ;; Mentioned as Required in the .pc file
1570 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1571 (inputs `(("gtk+" ,gtk+-2)
1572 ("glib" ,glib)
1573 ("gnome-icon-theme" ,gnome-icon-theme)
1574 ("libgnomecanvas" ,libgnomecanvas)
1575 ("libxml2" ,libxml2)))
1576 (native-inputs
1577 `(("intltool" ,intltool)
1578 ("pkg-config" ,pkg-config)))
1579 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1580 (synopsis "Printing framework for GNOME")
1581 (description (package-description libgnomeprint))
1582 (license license:lgpl2.0+)))
1583
1584 (define-public libbonoboui
1585 (package
1586 (name "libbonoboui")
1587 (version "2.24.5")
1588 (source (origin
1589 (method url-fetch)
1590 (uri (string-append "mirror://gnome/sources/" name "/"
1591 (version-major+minor version) "/"
1592 name "-" version ".tar.bz2"))
1593 (sha256
1594 (base32
1595 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1596 (build-system gnu-build-system)
1597 (arguments
1598 `(#:phases
1599 (alist-cons-before
1600 'check 'start-xserver
1601 (lambda* (#:key inputs #:allow-other-keys)
1602 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1603 (disp ":1"))
1604
1605 (setenv "HOME" (getcwd))
1606 (setenv "DISPLAY" disp)
1607 ;; There must be a running X server and make check doesn't start one.
1608 ;; Therefore we must do it.
1609 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1610 %standard-phases)))
1611 ;; Mentioned as Required by the .pc file
1612 (propagated-inputs `(("libxml2" ,libxml2)))
1613 (inputs
1614 `(("popt" ,popt)
1615 ("pangox-compat" ,pangox-compat)
1616 ("libgnome" ,libgnome)
1617 ("libgnomecanvas" ,libgnomecanvas)
1618 ("libglade" ,libglade)))
1619 (native-inputs
1620 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1621 ("intltool" ,intltool)
1622 ("xorg-server" ,xorg-server) ; For running the tests
1623 ("pkg-config" ,pkg-config)))
1624 (home-page "https://developer.gnome.org/libbonoboui/")
1625 (synopsis "Some user interface controls using Bonobo")
1626 (description "The Bonobo UI library provides a number of user interface
1627 controls using the Bonobo component framework.")
1628 (license license:lgpl2.0+)))
1629
1630 (define-public libwnck
1631 (package
1632 (name "libwnck")
1633 (version "3.20.1")
1634 (source (origin
1635 (method url-fetch)
1636 (uri (string-append "mirror://gnome/sources/" name "/"
1637 (version-major+minor version) "/"
1638 name "-" version ".tar.xz"))
1639 (sha256
1640 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
1641 (build-system gnu-build-system)
1642 (native-inputs
1643 `(("pkg-config" ,pkg-config)
1644 ("intltool" ,intltool)))
1645 (propagated-inputs
1646 `(("gtk+" ,gtk+)
1647 ("libxres" ,libxres)
1648 ("startup-notification" ,startup-notification)))
1649 (home-page "https://developer.gnome.org/libwnck/")
1650 (synopsis "Window Navigator Construction Kit")
1651 (description
1652 "Libwnck is the Window Navigator Construction Kit, a library for use in
1653 writing pagers, tasklists, and more generally applications that are dealing
1654 with window management. It tries hard to respect the Extended Window Manager
1655 Hints specification (EWMH).")
1656 (license license:lgpl2.0+)))
1657
1658 ;; stable version for gtk2, required by xfwm4.
1659 (define-public libwnck-2
1660 (package (inherit libwnck)
1661 (name "libwnck")
1662 (version "2.30.7")
1663 (source (origin
1664 (method url-fetch)
1665 (uri (string-append "mirror://gnome/sources/" name "/"
1666 (version-major+minor version) "/"
1667 name "-" version ".tar.xz"))
1668 (sha256
1669 (base32
1670 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1671 (propagated-inputs
1672 `(("gtk+" ,gtk+-2)
1673 ("libxres" ,libxres)
1674 ("startup-notification" ,startup-notification)))))
1675
1676 (define-public goffice
1677 (package
1678 (name "goffice")
1679 (version "0.10.34")
1680 (source (origin
1681 (method url-fetch)
1682 (uri (string-append "mirror://gnome/sources/" name "/"
1683 (version-major+minor version) "/"
1684 name "-" version ".tar.xz"))
1685 (sha256
1686 (base32 "00yn5ly1x50ynrwgl783pwnjy4k2ckp8n54mfnqv6qsq5fi7ajjm"))))
1687 (build-system gnu-build-system)
1688 (outputs '("out"
1689 "doc")) ;4.1 MiB of gtk-doc
1690 (arguments
1691 '(#:configure-flags (list (string-append "--with-html-dir="
1692 (assoc-ref %outputs "doc")
1693 "/share/gtk-doc/html"))))
1694 (inputs
1695 `(("gtk+" ,gtk+)
1696 ("libgsf" ,libgsf)
1697 ("librsvg" ,librsvg)
1698 ("libxslt" ,libxslt)
1699 ("libxml2" ,libxml2)))
1700 (native-inputs
1701 `(("intltool" ,intltool)
1702 ("glib" ,glib "bin")
1703 ("pkg-config" ,pkg-config)))
1704 (home-page "https://developer.gnome.org/goffice/")
1705 (synopsis "Document-centric objects and utilities")
1706 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1707 (license
1708 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1709 ;; Note: NOT LGPL
1710 (list license:gpl2 license:gpl3))))
1711
1712 (define-public goffice-0.8
1713 (package (inherit goffice)
1714 (version "0.8.17")
1715 (source (origin
1716 (method url-fetch)
1717 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1718 (version-major+minor version) "/"
1719 (package-name goffice) "-" version ".tar.xz"))
1720 (sha256
1721 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1722 (arguments
1723 `(#:phases
1724 (alist-cons-after
1725 'unpack 'fix-pcre-check
1726 (lambda _
1727 ;; Only glib.h can be included directly. See
1728 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1729 (substitute* "configure"
1730 (("glib/gregex\\.h") "glib.h")) #t)
1731 %standard-phases)
1732
1733 ,@(package-arguments goffice)))
1734 (propagated-inputs
1735 ;; libgoffice-0.8.pc mentions libgsf-1
1736 `(("libgsf" ,libgsf)))
1737 (inputs
1738 `(("gtk" ,gtk+-2)
1739 ,@(alist-delete "gtk" (package-inputs goffice))))))
1740
1741 (define-public gnumeric
1742 (package
1743 (name "gnumeric")
1744 (version "1.12.34")
1745 (source (origin
1746 (method url-fetch)
1747 (uri (string-append "mirror://gnome/sources/" name "/"
1748 (version-major+minor version) "/"
1749 name "-" version ".tar.xz"))
1750 (sha256
1751 (base32
1752 "09f7h4lvwzyl0amd3axapwbsrnrvvpwxyhs540jlrv425n0j0j8b"))))
1753 (build-system glib-or-gtk-build-system)
1754 (arguments
1755 `(;; The gnumeric developers don't worry much about failing tests.
1756 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1757 #:tests? #f
1758 #:phases
1759 (modify-phases %standard-phases
1760 (add-before
1761 'configure 'pre-conf
1762 (lambda* (#:key outputs #:allow-other-keys)
1763 ;; Make install tries to write into the directory of goffice
1764 ;; I am informed that this only affects the possibility to embed a
1765 ;; spreadsheet inside an Abiword document. So presumably when we
1766 ;; package Abiword we'll have to refer it to this directory.
1767 (substitute* "configure"
1768 (("^GOFFICE_PLUGINS_DIR=.*")
1769 (string-append "GOFFICE_PLUGINS_DIR="
1770 (assoc-ref outputs "out")
1771 "/goffice/plugins"))))))))
1772 (inputs
1773 `(("glib" ,glib)
1774 ("gtk+" ,gtk+)
1775 ("goffice" ,goffice)
1776 ("libgsf" ,libgsf)
1777 ("librsvg" ,librsvg)
1778 ("libxml2" ,libxml2)
1779 ("libxslt" ,libxslt)
1780 ("python" ,python-2)
1781 ("python2-pygobject" ,python2-pygobject)
1782 ("zlib" ,zlib)))
1783 (native-inputs
1784 `(("bison" ,bison)
1785 ("docbook-xml" ,docbook-xml)
1786 ("intltool" ,intltool)
1787 ("itstool" ,itstool)
1788 ("glib:bin" ,glib "bin")
1789 ("pkg-config" ,pkg-config)))
1790 (home-page "http://www.gnumeric.org")
1791 (synopsis "Spreadsheet application")
1792 (description
1793 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1794 interoperable with other spreadsheet applications. It has a vast array of
1795 features beyond typical spreadsheet functionality, such as support for linear
1796 and non-linear solvers, statistical analysis, and telecommunication
1797 engineering.")
1798 (license
1799 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1800 (list license:gpl2 license:gpl3))))
1801
1802 (define-public gnome-themes-standard
1803 (package
1804 (name "gnome-themes-standard")
1805 (version "3.22.3")
1806 (source
1807 (origin
1808 (method url-fetch)
1809 (uri (string-append "mirror://gnome/sources/" name "/"
1810 (version-major+minor version) "/" name "-"
1811 version ".tar.xz"))
1812 (sha256
1813 (base32
1814 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1815 (build-system gnu-build-system)
1816 (arguments
1817 '(#:configure-flags
1818 ;; Don't create 'icon-theme.cache'.
1819 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1820 (true (string-append coreutils "/bin/true")))
1821 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1822 (inputs
1823 `(("gtk+" ,gtk+)
1824 ("gtk+-2" ,gtk+-2)
1825 ("librsvg" ,librsvg)
1826 ("libxml2" ,libxml2)
1827 ("glib" ,glib)))
1828 (native-inputs
1829 `(("intltool" ,intltool)
1830 ("glib:bin" ,glib "bin")
1831 ("pkg-config" ,pkg-config)))
1832 (home-page "https://launchpad.net/gnome-themes-standard")
1833 (synopsis "Default GNOME 3 themes")
1834 (description
1835 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1836 (license license:lgpl2.1+)))
1837
1838 (define-public seahorse
1839 (package
1840 (name "seahorse")
1841 (version "3.20.0")
1842 (source
1843 (origin
1844 (method url-fetch)
1845 (uri (string-append "mirror://gnome/sources/" name "/"
1846 (version-major+minor version) "/" name "-"
1847 version ".tar.xz"))
1848 (sha256
1849 (base32
1850 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
1851 (build-system glib-or-gtk-build-system)
1852 (inputs
1853 `(("gtk+" ,gtk+)
1854 ("gcr" ,gcr)
1855 ("gnupg" ,gnupg)
1856 ("gpgme" ,gpgme)
1857 ("openldap" ,openldap)
1858 ("openssh" ,openssh)
1859 ("libsecret" ,libsecret)
1860 ("libsoup" ,libsoup)))
1861 (native-inputs
1862 `(("intltool" ,intltool)
1863 ("glib:bin" ,glib "bin")
1864 ("itstool" ,itstool)
1865 ("pkg-config" ,pkg-config)
1866 ("xmllint" ,libxml2)))
1867 (home-page "https://launchpad.net/gnome-themes-standard")
1868 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1869 (description
1870 "Seahorse is a GNOME application for managing encryption keys and
1871 passwords in the GNOME keyring.")
1872 (license license:gpl2+)))
1873
1874 (define-public vala
1875 (package
1876 (name "vala")
1877 (version "0.36.3")
1878 (source (origin
1879 (method url-fetch)
1880 (uri (string-append "mirror://gnome/sources/" name "/"
1881 (version-major+minor version) "/"
1882 name "-" version ".tar.xz"))
1883 (sha256
1884 (base32
1885 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
1886 (build-system gnu-build-system)
1887 (arguments
1888 '(#:phases
1889 (modify-phases %standard-phases
1890 (add-before 'check 'pre-check
1891 (lambda _
1892 (setenv "CC" "gcc")
1893 ;; For missing '/etc/machine-id'.
1894 (setenv "DBUS_FATAL_WARNINGS" "0")
1895 #t)))
1896 ;; Build the Vala API generator
1897 #:configure-flags '("--enable-vapigen")))
1898 (native-inputs
1899 `(("pkg-config" ,pkg-config)
1900 ("flex" ,flex)
1901 ("bison" ,bison)
1902 ("xsltproc" ,libxslt)
1903 ("dbus" ,dbus) ; for dbus tests
1904 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1905 (propagated-inputs
1906 `(("glib" ,glib))) ; required by libvala-0.26.pc
1907 (home-page "http://live.gnome.org/Vala/")
1908 (synopsis "Compiler for the GObject type system")
1909 (description
1910 "Vala is a programming language that aims to bring modern programming
1911 language features to GNOME developers without imposing any additional runtime
1912 requirements and without using a different ABI compared to applications and
1913 libraries written in C.")
1914 (license license:lgpl2.1+)))
1915
1916 (define-public vte
1917 (package
1918 (name "vte")
1919 (version "0.48.3")
1920 (source (origin
1921 (method url-fetch)
1922 (uri (string-append "mirror://gnome/sources/" name "/"
1923 (version-major+minor version) "/"
1924 name "-" version ".tar.xz"))
1925 (sha256
1926 (base32
1927 "1hsqc7238862mqnva5qqdfxnhpwq3ak6zx6kbjj95cs04wcgpad3"))))
1928 (build-system gnu-build-system)
1929 (native-inputs
1930 `(("pkg-config" ,pkg-config)
1931 ("intltool" ,intltool)
1932 ("vala" ,vala)
1933 ("gobject-introspection" ,gobject-introspection)
1934 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1935 ("gperf" ,gperf)
1936 ("xmllint" ,libxml2)))
1937 (propagated-inputs
1938 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1939 ("gnutls" ,gnutls) ;ditto
1940 ("pcre2" ,pcre2))) ;ditto
1941 (home-page "http://www.gnome.org/")
1942 (synopsis "Virtual Terminal Emulator")
1943 (description
1944 "VTE is a library (libvte) implementing a terminal emulator widget for
1945 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1946 gnome-terminal, but can also be used to embed a console/terminal in games,
1947 editors, IDEs, etc.")
1948 (license license:lgpl2.1+)))
1949
1950 (define-public vte-ng
1951 (package
1952 (inherit vte)
1953 (name "vte-ng")
1954 (version "0.48.3.a")
1955 (native-inputs
1956 `(("gtk-doc" ,gtk-doc)
1957 ("gperf" ,gperf)
1958 ("autoconf" ,autoconf)
1959 ("automake" ,automake)
1960 ("libtool" ,libtool)
1961 ,@(package-native-inputs vte)))
1962 (source (origin
1963 (method url-fetch)
1964 (uri (string-append "https://github.com/thestinger/"
1965 name "/archive/" version ".tar.gz"))
1966 (file-name (string-append name "-" version ".tar.gz"))
1967 (sha256
1968 (base32
1969 "1wdkf090zclqy11hxdjgy8f6fgzajl0xzzirajikhbaiill7f8zh"))))
1970 (arguments
1971 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1972 #:phases (modify-phases %standard-phases
1973 (add-after 'unpack 'bootstrap
1974 (lambda _
1975 (setenv "NOCONFIGURE" "true")
1976 (zero? (system* "sh" "autogen.sh")))))))
1977 (synopsis "Enhanced VTE terminal widget")
1978 (description
1979 "VTE is a library (libvte) implementing a terminal emulator widget for
1980 GTK+, this fork provides additional functions exposed for keyboard text
1981 selection and URL hints.")))
1982
1983 ;; provides vte 2.90, required for some terminal emulators
1984 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1985 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1986 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1987 ;; pantheon-terminal, roxterm are not currently packaged
1988 (define-public vte-0.36
1989 (package (inherit vte)
1990 (name "vte")
1991 (version "0.36.5")
1992 (source (origin
1993 (method url-fetch)
1994 (uri (string-append "mirror://gnome/sources/" name "/"
1995 (version-major+minor version) "/"
1996 name "-" version ".tar.xz"))
1997 (sha256
1998 (base32
1999 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2000 (propagated-inputs
2001 `(("gtk" ,gtk+)
2002 ("ncurses" ,ncurses)))))
2003
2004 ;; stable version for gtk2, required by xfce4-terminal.
2005 (define-public vte/gtk+-2
2006 (package (inherit vte)
2007 (name "vte")
2008 (version "0.28.2")
2009 (source (origin
2010 (method url-fetch)
2011 (uri (string-append "mirror://gnome/sources/" name "/"
2012 (version-major+minor version) "/"
2013 name "-" version ".tar.xz"))
2014 (sha256
2015 (base32
2016 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2017 (patches (search-patches
2018 "vte-CVE-2012-2738-pt1.patch"
2019 "vte-CVE-2012-2738-pt2.patch"))))
2020 (arguments
2021 '(#:configure-flags '("--disable-python")))
2022 (native-inputs
2023 `(("pkg-config" ,pkg-config)
2024 ("intltool" ,intltool)
2025 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2026 (propagated-inputs
2027 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2028 ("ncurses" ,ncurses))))) ; required by libvte.la
2029
2030 (define-public vinagre
2031 (package
2032 (name "vinagre")
2033 (version "3.22.0")
2034 (source (origin
2035 (method url-fetch)
2036 (uri (string-append "mirror://gnome/sources/" name "/"
2037 (version-major+minor version) "/"
2038 name "-" version ".tar.xz"))
2039 (sha256
2040 (base32
2041 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2042 (build-system glib-or-gtk-build-system)
2043 (native-inputs
2044 `(("pkg-config" ,pkg-config)
2045 ("intltool" ,intltool)
2046 ("itstool" ,itstool)
2047 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2048 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2049 (inputs
2050 `(("libxml2" ,libxml2)
2051 ("gtk-vnc" ,gtk-vnc)
2052 ("gnome-keyring" ,gnome-keyring)
2053 ("libsecret" ,libsecret)
2054 ("freerdp" ,freerdp)
2055 ("spice" ,spice)
2056 ("spice-gtk" ,spice-gtk)
2057 ("telepathy-glib" ,telepathy-glib)
2058 ("vte" ,vte)))
2059 (arguments
2060 `(#:configure-flags '("--enable-rdp")))
2061 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2062 (synopsis "Remote desktop viewer for GNOME")
2063 (description "Vinagre is a remote display client supporting the VNC, SPICE
2064 and RDP protocols.")
2065 (license license:gpl3+)))
2066
2067 (define-public dconf
2068 (package
2069 (name "dconf")
2070 (version "0.26.0")
2071 (source (origin
2072 (method url-fetch)
2073 (uri (string-append
2074 "mirror://gnome/sources/" name "/"
2075 (version-major+minor version) "/"
2076 name "-" version ".tar.xz"))
2077 (sha256
2078 (base32
2079 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
2080 (build-system glib-or-gtk-build-system)
2081 (inputs
2082 `(("gtk+" ,gtk+)
2083 ("glib" ,glib)
2084 ("dbus" ,dbus)
2085 ("libxml2" ,libxml2)))
2086 (native-inputs
2087 `(("libxslt" ,libxslt)
2088 ("docbook-xml" ,docbook-xml-4.2)
2089 ("docbook-xsl" ,docbook-xsl)
2090 ("intltool" ,intltool)
2091 ("pkg-config" ,pkg-config)))
2092 (arguments
2093 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2094 ; or /etc/machine-id.
2095 #:configure-flags
2096 ;; Set the correct RUNPATH in binaries.
2097 (list (string-append "LDFLAGS=-Wl,-rpath="
2098 (assoc-ref %outputs "out") "/lib")
2099 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
2100 #:phases
2101 (alist-cons-before
2102 'configure 'fix-docbook
2103 (lambda* (#:key inputs #:allow-other-keys)
2104 (substitute* "docs/Makefile.in"
2105 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2106 (string-append (assoc-ref inputs "docbook-xsl")
2107 "/xml/xsl/docbook-xsl-"
2108 ,(package-version docbook-xsl)
2109 "/manpages/docbook.xsl")))
2110 (setenv "XML_CATALOG_FILES"
2111 (string-append (assoc-ref inputs "docbook-xml")
2112 "/xml/dtd/docbook/catalog.xml")))
2113 %standard-phases)))
2114 (home-page "https://developer.gnome.org/dconf")
2115 (synopsis "Low-level GNOME configuration system")
2116 (description "Dconf is a low-level configuration system. Its main purpose
2117 is to provide a backend to GSettings on platforms that don't already have
2118 configuration storage systems.")
2119 (license license:lgpl2.1)))
2120
2121 (define-public json-glib
2122 (package
2123 (name "json-glib")
2124 (version "1.2.8")
2125 (source (origin
2126 (method url-fetch)
2127 (uri (string-append "mirror://gnome/sources/" name "/"
2128 (version-major+minor version) "/"
2129 name "-" version ".tar.xz"))
2130 (sha256
2131 (base32
2132 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
2133 (build-system gnu-build-system)
2134 (native-inputs
2135 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2136 ("gobject-introspection" ,gobject-introspection)
2137 ("pkg-config" ,pkg-config)))
2138 (propagated-inputs
2139 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2140 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2141 (synopsis "Compiler for the GObject type system")
2142 (description
2143 "JSON-GLib is a C library based on GLib providing serialization and
2144 deserialization support for the JavaScript Object Notation (JSON) format
2145 described by RFC 4627. It provides parser and generator GObject classes and
2146 various wrappers for the complex data types employed by JSON, such as arrays
2147 and objects.")
2148 (license license:lgpl2.1+)))
2149
2150 (define-public libxklavier
2151 (package
2152 (name "libxklavier")
2153 (version "5.3")
2154 (source (origin
2155 (method url-fetch)
2156 (uri (string-append "mirror://gnome/sources/" name "/"
2157 version "/" name "-" version ".tar.xz"))
2158 (sha256
2159 (base32
2160 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2161 (build-system gnu-build-system)
2162 (arguments
2163 '(#:configure-flags
2164 (list (string-append "--with-xkb-base="
2165 (assoc-ref %build-inputs "xkeyboard-config")
2166 "/share/X11/xkb"))))
2167 (native-inputs
2168 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2169 ("gobject-introspection" ,gobject-introspection)
2170 ("pkg-config" ,pkg-config)))
2171 (propagated-inputs
2172 ;; Required by libxklavier.pc.
2173 `(("glib" ,glib)
2174 ("libxml2" ,libxml2)))
2175 (inputs
2176 `(("iso-codes" ,iso-codes)
2177 ("libxi" ,libxi)
2178 ("libxkbfile" ,libxkbfile)
2179 ("xkbcomp" ,xkbcomp)
2180 ("xkeyboard-config" ,xkeyboard-config)))
2181 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2182 (synopsis "High-level API for X Keyboard Extension")
2183 (description
2184 "LibXklavier is a library providing high-level API for X Keyboard
2185 Extension known as XKB. This library is intended to support XFree86 and other
2186 commercial X servers. It is useful for creating XKB-related software (layout
2187 indicators etc).")
2188 (license license:lgpl2.0+)))
2189
2190 (define-public python2-rsvg
2191 ;; XXX: This is actually a subset of gnome-python-desktop.
2192 (package
2193 (name "python2-rsvg")
2194 (version "2.32.0")
2195 (source
2196 (origin
2197 (method url-fetch)
2198 (uri (string-append
2199 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2200 version ".tar.bz2"))
2201 (sha256
2202 (base32
2203 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2204 (build-system gnu-build-system)
2205 (native-inputs
2206 `(("pkg-config" ,pkg-config)))
2207 (inputs
2208 `(("python" ,python-2)
2209 ("python2-pygtk" ,python2-pygtk)
2210 ("librsvg" ,librsvg)))
2211 (home-page "http://www.gnome.org")
2212 (synopsis "Python bindings to librsvg")
2213 (description
2214 "This packages provides Python bindings to librsvg, the SVG rendering
2215 library.")
2216
2217 ;; This is the license of the rsvg bindings. The license of each module
2218 ;; of gnome-python-desktop is given in 'COPYING'.
2219 (license license:lgpl2.1+)))
2220
2221 (define-public glib-networking
2222 (package
2223 (name "glib-networking")
2224 (version "2.50.0")
2225 (source (origin
2226 (method url-fetch)
2227 (uri (string-append "mirror://gnome/sources/glib-networking/"
2228 (version-major+minor version) "/"
2229 name "-" version ".tar.xz"))
2230 (sha256
2231 (base32
2232 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
2233 (patches
2234 (search-patches "glib-networking-ssl-cert-file.patch"))))
2235 (build-system gnu-build-system)
2236 (arguments
2237 `(#:configure-flags
2238 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2239 #:phases
2240 (modify-phases %standard-phases
2241 (add-before 'configure 'patch-giomoduledir
2242 ;; Install GIO modules into $out/lib/gio/modules.
2243 (lambda _
2244 (substitute* "configure"
2245 (("GIO_MODULE_DIR=.*")
2246 (string-append "GIO_MODULE_DIR=" %output
2247 "/lib/gio/modules\n")))))
2248 (add-before 'check 'use-empty-ssl-cert-file
2249 (lambda _
2250 ;; The ca-certificates.crt is not available in the build
2251 ;; environment.
2252 (setenv "SSL_CERT_FILE" "/dev/null")
2253 #t)))))
2254 (native-inputs
2255 `(("pkg-config" ,pkg-config)
2256 ("intltool" ,intltool)))
2257 (inputs
2258 `(("glib" ,glib)
2259 ("gnutls" ,gnutls)
2260 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2261 ("p11-kit" ,p11-kit)))
2262 (home-page "http://www.gnome.org")
2263 (synopsis "Network-related GIO modules")
2264 (description
2265 "This package contains various network related extensions for the GIO
2266 library.")
2267 (license license:lgpl2.0+)))
2268
2269 (define-public rest
2270 (package
2271 (name "rest")
2272 (version "0.8.0")
2273 (source (origin
2274 (method url-fetch)
2275 (uri (string-append "mirror://gnome/sources/rest/"
2276 (version-major+minor version) "/"
2277 name "-" version ".tar.xz"))
2278 (sha256
2279 (base32
2280 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2281 (build-system gnu-build-system)
2282 (arguments
2283 '(#:tests? #f ; tests require internet connection
2284 #:configure-flags
2285 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2286 (native-inputs
2287 `(("glib-mkenums" ,glib "bin")
2288 ("gobject-introspection" ,gobject-introspection)
2289 ("pkg-config" ,pkg-config)))
2290 (propagated-inputs
2291 ;; rest-0.7.pc refers to all these.
2292 `(("glib" ,glib)
2293 ("libsoup" ,libsoup)
2294 ("libxml2" ,libxml2)))
2295 (home-page "http://www.gtk.org/")
2296 (synopsis "RESTful web api query library")
2297 (description
2298 "This library was designed to make it easier to access web services that
2299 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2300 libxml to ease remote use of the RESTful API.")
2301 (license license:lgpl2.1+)))
2302
2303 (define-public libsoup
2304 (package
2305 (name "libsoup")
2306 (version "2.58.1")
2307 (source (origin
2308 (method url-fetch)
2309 (uri (string-append "mirror://gnome/sources/libsoup/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2312 (sha256
2313 (base32
2314 "1fggmshk2mfsyfvml6paki65xj9rv1s5p7ds41xmnx6yazsnkik2"))))
2315 (build-system gnu-build-system)
2316 (outputs '("out" "doc"))
2317 (arguments
2318 `(#:configure-flags
2319 (list (string-append "--with-html-dir="
2320 (assoc-ref %outputs "doc")
2321 "/share/gtk-doc/html")
2322 (string-append "--with-apache-module-dir="
2323 (assoc-ref %build-inputs "httpd")
2324 "/modules"))
2325 #:phases
2326 (modify-phases %standard-phases
2327 (add-before 'configure 'disable-unconnected-socket-test
2328 ;; This test fails due to missing /etc/nsswitch.conf
2329 ;; in the build environment.
2330 (lambda _
2331 (substitute* "tests/socket-test.c"
2332 ((".*/sockets/unconnected.*") ""))
2333 #t))
2334 (add-before 'check 'pre-check
2335 (lambda _
2336 ;; The 'check-local' target runs 'env LANG=C sort -u',
2337 ;; unset 'LC_ALL' to make 'LANG' working.
2338 (unsetenv "LC_ALL")
2339 ;; The ca-certificates.crt is not available in the build
2340 ;; environment.
2341 (setenv "SSL_CERT_FILE" "/dev/null")
2342 ;; HTTPD in Guix uses mod_event and does not build prefork.
2343 (substitute* "tests/httpd.conf"
2344 (("^LoadModule mpm_prefork_module.*$") "\n"))
2345 #t))
2346 (replace 'install
2347 (lambda _
2348 (zero?
2349 (system* "make"
2350 ;; Install vala bindings into $out.
2351 (string-append "vapidir=" %output
2352 "/share/vala/vapi")
2353 "install")))))))
2354 (native-inputs
2355 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2356 ("gobject-introspection" ,gobject-introspection)
2357 ("intltool" ,intltool)
2358 ("pkg-config" ,pkg-config)
2359 ("python" ,python-wrapper)
2360 ("vala" ,vala)
2361 ;; These are needed for the tests.
2362 ;; FIXME: Add PHP once available.
2363 ("curl" ,curl)
2364 ("httpd" ,httpd)))
2365 (propagated-inputs
2366 ;; libsoup-2.4.pc refers to all these.
2367 `(("glib" ,glib)
2368 ("libxml2" ,libxml2)))
2369 (inputs
2370 `(("glib-networking" ,glib-networking)
2371 ("sqlite" ,sqlite)))
2372 (home-page "https://live.gnome.org/LibSoup/")
2373 (synopsis "GLib-based HTTP Library")
2374 (description
2375 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2376 and the GLib main loop, to integrate well with GNOME applications.")
2377 (license license:lgpl2.0+)))
2378
2379 (define-public libsecret
2380 (package
2381 (name "libsecret")
2382 (version "0.18.5")
2383 (source (origin
2384 (method url-fetch)
2385 (uri (string-append
2386 "mirror://gnome/sources/libsecret/"
2387 (version-major+minor version) "/"
2388 name "-" version ".tar.xz"))
2389 (sha256
2390 (base32
2391 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2392 (build-system gnu-build-system)
2393 (outputs '("out" "doc"))
2394 (arguments
2395 `(#:tests? #f ; FIXME: Testing hangs.
2396 #:configure-flags
2397 (list (string-append "--with-html-dir="
2398 (assoc-ref %outputs "doc")
2399 "/share/gtk-doc/html"))))
2400 (native-inputs
2401 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2402 ("gobject-introspection" ,gobject-introspection)
2403 ("intltool" ,intltool)
2404 ("pkg-config" ,pkg-config)
2405 ("vala" ,vala)
2406 ("xsltproc" ,libxslt)))
2407 ;; These are needed for the tests.
2408 ;; FIXME: Add gjs once available.
2409 ;("dbus" ,dbus)
2410 ;("python2" ,python-2)
2411 ;("python2-dbus" ,python2-dbus)
2412 ;("python2-pygobject" ,python2-pygobject)
2413 ;("python2-pygobject-2" ,python2-pygobject-2)))
2414 (propagated-inputs
2415 `(("glib" ,glib))) ; required by libsecret-1.pc
2416 (inputs
2417 `(("docbook-xsl" ,docbook-xsl)
2418 ("libgcrypt" ,libgcrypt)
2419 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2420 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2421 (synopsis "GObject bindings for \"Secret Service\" API")
2422 (description
2423 "Libsecret is a GObject based library for storing and retrieving passwords
2424 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2425 (license license:lgpl2.1+)))
2426
2427 (define-public five-or-more
2428 (package
2429 (name "five-or-more")
2430 (version "3.22.2")
2431 (source
2432 (origin
2433 (method url-fetch)
2434 (uri (string-append "mirror://gnome/sources/" name "/"
2435 (version-major+minor version) "/"
2436 name "-" version ".tar.xz"))
2437 (sha256
2438 (base32
2439 "1b26afyjr26wqy5j008gzsi3hpblbmabh0192lx6414lml1qxkxs"))))
2440 (build-system glib-or-gtk-build-system)
2441 (native-inputs
2442 `(("pkg-config" ,pkg-config)
2443 ("desktop-file-utils" ,desktop-file-utils)
2444 ("intltool" ,intltool)
2445 ("itstool" ,itstool)
2446 ("xmllint" ,libxml2)))
2447 (inputs
2448 `(("gtk+" ,gtk+)
2449 ("librsvg" ,librsvg)))
2450 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2451 (synopsis "Logic puzzle game")
2452 (description "Five or More is a game where you try to align
2453 five or more objects of the same color and shape causing them to disappear.
2454 On every turn more objects will appear, until the board is full.
2455 Try to last as long as possible.")
2456 (license license:gpl2+)))
2457
2458 (define-public gnome-mines
2459 (package
2460 (name "gnome-mines")
2461 (version "3.24.0")
2462 (source
2463 (origin
2464 (method url-fetch)
2465 (uri (string-append "mirror://gnome/sources/" name "/"
2466 (version-major+minor version) "/"
2467 name "-" version ".tar.xz"))
2468 (sha256
2469 (base32
2470 "1xh2as2xmh7gx45gpnl0fh9xjpvyyn3m84qgv41kyp2s4clsyqz6"))))
2471 (build-system glib-or-gtk-build-system)
2472 (arguments
2473 '(#:phases
2474 (modify-phases %standard-phases
2475 (add-before 'configure 'patch-/bin/true
2476 (lambda _
2477 (substitute* "configure"
2478 (("/bin/true") (which "true"))))))))
2479 (native-inputs
2480 `(("pkg-config" ,pkg-config)
2481 ("desktop-file-utils" ,desktop-file-utils)
2482 ("intltool" ,intltool)
2483 ("itstool" ,itstool)
2484 ("xmllint" ,libxml2)))
2485 (inputs
2486 `(("gtk+" ,gtk+)
2487 ("libgnome-games-support" ,libgnome-games-support)
2488 ("librsvg" ,librsvg)))
2489 (home-page "https://wiki.gnome.org/Apps/Mines")
2490 (synopsis "Minesweeper game")
2491 (description
2492 "Mines (previously gnomine) is a puzzle game where you locate mines
2493 floating in an ocean using only your brain and a little bit of luck.")
2494 (license license:gpl2+)))
2495
2496 (define-public gnome-sudoku
2497 (package
2498 (name "gnome-sudoku")
2499 (version "3.24.0")
2500 (source
2501 (origin
2502 (method url-fetch)
2503 (uri (string-append "mirror://gnome/sources/" name "/"
2504 (version-major+minor version) "/"
2505 name "-" version ".tar.xz"))
2506 (sha256
2507 (base32
2508 "1mw5ykk7wr0r9770jj5270f07rjws0pmpjs0b1fywj4li13r98h4"))))
2509 (build-system glib-or-gtk-build-system)
2510 (native-inputs
2511 `(("pkg-config" ,pkg-config)
2512 ("desktop-file-utils" ,desktop-file-utils)
2513 ("intltool" ,intltool)
2514 ("itstool" ,itstool)
2515 ("xmllint" ,libxml2)))
2516 (inputs
2517 `(("gtk+" ,gtk+)
2518 ("json-glib" ,json-glib)
2519 ("libgee" ,libgee)
2520 ("librsvg" ,librsvg)
2521 ("qqwing" ,qqwing)))
2522 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2523 (synopsis "Japanese logic game")
2524 (description
2525 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2526 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2527 possible while still providing features that make playing difficult Sudoku
2528 more fun.")
2529 (license license:gpl2+)))
2530
2531 (define-public gnome-terminal
2532 (package
2533 (name "gnome-terminal")
2534 (version "3.24.2")
2535 (source
2536 (origin
2537 (method url-fetch)
2538 (uri (string-append "mirror://gnome/sources/" name "/"
2539 (version-major+minor version) "/"
2540 name "-" version ".tar.xz"))
2541 (sha256
2542 (base32
2543 "03zcvxlzg7n4pz65vrg5xj3qpkqr4bz162mgmaz4bjh71b1xl7i8"))))
2544 (build-system glib-or-gtk-build-system)
2545 (arguments
2546 '(#:configure-flags
2547 (list "--disable-migration" "--disable-search-provider"
2548 "--without-nautilus-extension")
2549 #:phases
2550 (modify-phases %standard-phases
2551 (add-before 'configure 'patch-/bin/true
2552 (lambda _
2553 (substitute* "configure"
2554 (("/bin/true") (which "true"))))))))
2555 (native-inputs
2556 `(("pkg-config" ,pkg-config)
2557 ("desktop-file-utils" ,desktop-file-utils)
2558 ("intltool" ,intltool)
2559 ("itstool" ,itstool)
2560 ("xmllint" ,libxml2)))
2561 (propagated-inputs
2562 `(("dconf" ,dconf)))
2563 (inputs
2564 `(("gtk+" ,gtk+)
2565 ("vte" ,vte)
2566 ("gnutls" ,gnutls)
2567 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2568 ("util-linux" ,util-linux)
2569 ("vala" ,vala)))
2570 (home-page "https://wiki.gnome.org/Apps/Terminal")
2571 (synopsis "Terminal emulator")
2572 (description
2573 "GNOME Terminal is a terminal emulator application for accessing a
2574 UNIX shell environment which can be used to run programs available on
2575 your system.
2576
2577 It supports several profiles, multiple tabs and implements several
2578 keyboard shortcuts.")
2579 (license license:gpl3+)))
2580
2581 (define-public colord
2582 (package
2583 (name "colord")
2584 (version "1.1.8")
2585 (source
2586 (origin
2587 (method url-fetch)
2588 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2589 name "-" version ".tar.xz"))
2590 (sha256
2591 (base32
2592 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2593 (build-system glib-or-gtk-build-system)
2594 (arguments
2595 '(;; The tests want to run valgrind. Punt for now.
2596 #:tests? #f
2597 #:configure-flags (list "--localstatedir=/var"
2598 ;; GUSB not packaged yet.
2599 "--disable-gusb"
2600 ;; No dep on systemd.
2601 "--disable-systemd-login"
2602 ;; Wants to install to global completion dir;
2603 ;; punt.
2604 "--disable-bash-completion"
2605 ;; colord-gtk not packaged yet.
2606 "--disable-session-example"
2607 "--with-daemon-user=colord"
2608 "--enable-sane"
2609 (string-append "--with-udevrulesdir="
2610 (assoc-ref %outputs "out")
2611 "/lib/udev/rules.d"))
2612 #:phases
2613 (modify-phases %standard-phases
2614 (add-before 'configure 'patch-/bin/true
2615 (lambda _
2616 (substitute* "configure"
2617 (("/bin/true") (which "true")))
2618 (substitute* "src/Makefile.in"
2619 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2620 "if test -w $(DESTDIR)$(localstatedir);")))))))
2621 (native-inputs
2622 `(("pkg-config" ,pkg-config)
2623 ("gobject-introspection" ,gobject-introspection)
2624 ("libtool" ,libtool)
2625 ("intltool" ,intltool)))
2626 (propagated-inputs
2627 ;; colord.pc refers to all these.
2628 `(("glib" ,glib)
2629 ("udev" ,eudev)
2630 ("lcms" ,lcms)))
2631 (inputs
2632 `(("dbus-glib" ,dbus-glib)
2633 ("libgudev" ,libgudev)
2634 ("libusb" ,libusb)
2635 ("sqlite" ,sqlite)
2636 ("polkit" ,polkit)
2637 ("sane-backends" ,sane-backends)))
2638 (home-page "http://www.freedesktop.org/software/colord/")
2639 (synopsis "Color management service")
2640 (description "Colord is a system service that makes it easy to manage,
2641 install and generate color profiles to accurately color manage input and
2642 output devices.")
2643 (license license:gpl2+)))
2644
2645 (define-public geoclue
2646 (package
2647 (name "geoclue")
2648 (version "2.4.6")
2649 (source
2650 (origin
2651 (method url-fetch)
2652 (uri (string-append "https://www.freedesktop.org/software/" name
2653 "/releases/" (version-major+minor version) "/"
2654 name "-" version ".tar.xz"))
2655 (sha256
2656 (base32
2657 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
2658 (patches (search-patches "geoclue-config.patch"))))
2659 (build-system glib-or-gtk-build-system)
2660 (arguments
2661 '(;; The tests want to run the system bus.
2662 #:tests? #f
2663 #:configure-flags (list ;; Disable bits requiring ModemManager.
2664 "--disable-3g-source"
2665 "--disable-cdma-source"
2666 "--disable-modem-gps-source"
2667 "--with-dbus-service-user=geoclue")
2668 #:phases
2669 (modify-phases %standard-phases
2670 (add-before 'configure 'patch-/bin/true
2671 (lambda _
2672 (substitute* "configure"
2673 (("/bin/true") (which "true"))))))))
2674 (native-inputs
2675 `(("pkg-config" ,pkg-config)
2676 ("gobject-introspection" ,gobject-introspection)
2677 ("intltool" ,intltool)))
2678 (inputs
2679 `(("avahi" ,avahi)
2680 ("glib" ,glib)
2681 ("json-glib" ,json-glib)
2682 ("libsoup" ,libsoup)))
2683 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2684 (synopsis "Geolocation service")
2685 (description "Geoclue is a D-Bus service that provides location
2686 information. The primary goal of the Geoclue project is to make creating
2687 location-aware applications as simple as possible, while the secondary goal is
2688 to ensure that no application can access location information without explicit
2689 permission from user.")
2690 (license license:gpl2+)))
2691
2692 (define-public geocode-glib
2693 (package
2694 (name "geocode-glib")
2695 (version "3.20.1")
2696 (source (origin
2697 (method url-fetch)
2698 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2699 (version-major+minor version) "/"
2700 name "-" version ".tar.xz"))
2701 (sha256
2702 (base32
2703 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2704 (build-system gnu-build-system)
2705 (arguments
2706 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2707 ;; work for the builder. Punt.
2708 #:tests? #f))
2709 (native-inputs
2710 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2711 ("gobject-introspection" ,gobject-introspection)
2712 ("pkg-config" ,pkg-config)
2713 ("json-glib" ,json-glib)))
2714 (propagated-inputs
2715 ;; geocode-glib-1.0.pc refers to GIO.
2716 `(("glib" ,glib)))
2717 (inputs
2718 `(("libsoup" ,libsoup)))
2719 (home-page "https://github.com/GNOME/geocode-glib/")
2720 (synopsis "Geocoding and reverse-geocoding library")
2721 (description
2722 "geocode-glib is a convenience library for geocoding (finding longitude,
2723 and latitude from an address) and reverse geocoding (finding an address from
2724 coordinates) using the Nominatim service. geocode-glib caches requests for
2725 faster results and to avoid unnecessary server load.")
2726 (license license:lgpl2.0+)))
2727
2728 (define-public upower
2729 (package
2730 (name "upower")
2731 (version "0.99.4")
2732 (source (origin
2733 (method url-fetch)
2734 (uri (string-append "https://upower.freedesktop.org/releases/"
2735 name "-" version ".tar.xz"))
2736 (sha256
2737 (base32
2738 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
2739 (patches (search-patches "upower-builddir.patch"))))
2740 (build-system glib-or-gtk-build-system)
2741 (arguments
2742 '( ;; The tests want to contact the system bus, which can't be done in the
2743 ;; build environment. The integration test can run, but the last of
2744 ;; the up-self-tests doesn't. Disable tests for now.
2745 #:tests? #f
2746 #:configure-flags (list "--localstatedir=/var"
2747 (string-append "--with-udevrulesdir="
2748 (assoc-ref %outputs "out")
2749 "/lib/udev/rules.d"))
2750 #:phases
2751 (modify-phases %standard-phases
2752 (add-before 'configure 'patch-/bin/true
2753 (lambda _
2754 (substitute* "configure"
2755 (("/bin/true") (which "true")))))
2756 (add-before 'configure 'patch-integration-test
2757 (lambda _
2758 (substitute* "src/linux/integration-test"
2759 (("/usr/bin/python3") (which "python3"))))))))
2760 (native-inputs
2761 `(("gobject-introspection" ,gobject-introspection)
2762 ("pkg-config" ,pkg-config)
2763 ("intltool" ,intltool)
2764 ("python" ,python)
2765
2766 ;; For man pages.
2767 ("libxslt" ,libxslt) ;for 'xsltproc'
2768 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2769 ("docbook-xsl" ,docbook-xsl)))
2770 (inputs
2771 `(("dbus-glib" ,dbus-glib)
2772 ("libgudev" ,libgudev)
2773 ("libusb" ,libusb)))
2774 (home-page "http://upower.freedesktop.org/")
2775 (synopsis "System daemon for managing power devices")
2776 (description
2777 "UPower is an abstraction for enumerating power devices,
2778 listening to device events and querying history and statistics. Any
2779 application or service on the system can access the org.freedesktop.UPower
2780 service via the system message bus.")
2781 (license license:gpl2+)))
2782
2783 (define-public libgweather
2784 (package
2785 (name "libgweather")
2786 (version "3.24.1")
2787 (source (origin
2788 (method url-fetch)
2789 (uri (string-append "mirror://gnome/sources/" name "/"
2790 (version-major+minor version) "/"
2791 name "-" version ".tar.xz"))
2792 (sha256
2793 (base32
2794 "0g35xfcw9vh3sfff42blk9ksrlmkrjmj46h3ad0sqgdn6xh329qj"))))
2795 (build-system gnu-build-system)
2796 (arguments
2797 `(#:configure-flags
2798 `(,(string-append "--with-zoneinfo-dir="
2799 (assoc-ref %build-inputs "tzdata")
2800 "/share/zoneinfo"))
2801 #:phases
2802 (modify-phases %standard-phases
2803 (add-before 'check 'pre-check
2804 (lambda* (#:key inputs #:allow-other-keys)
2805 (substitute* "data/check-timezones.sh"
2806 (("/usr/share/zoneinfo/zone.tab")
2807 (string-append (assoc-ref inputs "tzdata")
2808 "/share/zoneinfo/zone.tab")))
2809
2810 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2811 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2812 (substitute* "data/Locations.xml"
2813 (("Asia/Rangoon")
2814 "Asia/Yangon"))
2815 #t)))))
2816 (native-inputs
2817 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2818 ("gobject-introspection" ,gobject-introspection)
2819 ("pkg-config" ,pkg-config)
2820 ("intltool" ,intltool)))
2821 (propagated-inputs
2822 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2823 ;; libsoup.
2824 `(("gtk+" ,gtk+)
2825 ("gdk-pixbuf" ,gdk-pixbuf)
2826 ("libxml2" ,libxml2)
2827 ("libsoup" ,libsoup)))
2828 (inputs
2829 `(("tzdata" ,tzdata)
2830 ("geocode-glib" ,geocode-glib)))
2831 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2832 (synopsis "Location, time zone, and weather library for GNOME")
2833 (description
2834 "libgweather is a library to access weather information from online
2835 services for numerous locations.")
2836 (license license:gpl2+)))
2837
2838 (define-public gnome-settings-daemon
2839 (package
2840 (name "gnome-settings-daemon")
2841 (version "3.24.2")
2842 (source
2843 (origin
2844 (method url-fetch)
2845 (uri (string-append "mirror://gnome/sources/" name "/"
2846 (version-major+minor version) "/"
2847 name "-" version ".tar.xz"))
2848 (sha256
2849 (base32
2850 "1jnw920zn4cadhgmcv2q5ylzqhwm1rmrhf3a14q8mvp38hkdgaaa"))))
2851 (build-system glib-or-gtk-build-system)
2852 (arguments
2853 `(;; Color management test can't reach the colord system service.
2854 #:tests? #f))
2855 (native-inputs
2856 `(("pkg-config" ,pkg-config)
2857 ("intltool" ,intltool)
2858 ("xsltproc" ,libxslt)
2859 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2860 ("docbook-xml" ,docbook-xml-4.2)
2861 ("docbook-xsl" ,docbook-xsl)))
2862 (inputs
2863 `(("colord" ,colord)
2864 ("libgudev" ,libgudev)
2865 ("upower" ,upower)
2866 ("polkit" ,polkit)
2867 ("pulseaudio" ,pulseaudio)
2868 ("libcanberra" ,libcanberra)
2869 ("libx11" ,libx11)
2870 ("libxtst" ,libxtst)
2871 ("lcms" ,lcms)
2872 ("libnotify" ,libnotify)
2873 ("geoclue" ,geoclue)
2874 ("geocode-glib" ,geocode-glib)
2875 ("libgweather" ,libgweather)
2876 ("gnome-desktop" ,gnome-desktop)
2877 ("nss" ,nss)
2878 ("cups" ,cups)
2879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2880 ("libwacom" ,libwacom)
2881 ("librsvg" ,librsvg)
2882 ("xf86-input-wacom" ,xf86-input-wacom)
2883 ("network-manager" ,network-manager)))
2884 (home-page "http://www.gnome.org")
2885 (synopsis "GNOME settings daemon")
2886 (description
2887 "This package contains the daemon responsible for setting the various
2888 parameters of a GNOME session and the applications that run under it. It
2889 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2890 settings, themes, mouse settings, and startup of other daemons.")
2891 (license license:gpl2+)))
2892
2893 (define-public totem-pl-parser
2894 (package
2895 (name "totem-pl-parser")
2896 (version "3.10.7")
2897 (source (origin
2898 (method url-fetch)
2899 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
2900 (version-major+minor version) "/"
2901 "totem-pl-parser-" version ".tar.xz"))
2902 (sha256
2903 (base32
2904 "17089sqyh6w6zr8ci865ihmvqshnslcsk9fbsl4s7yii66y8b0lw"))))
2905 (build-system gnu-build-system)
2906 (arguments
2907 ;; FIXME: Tests require gvfs.
2908 `(#:tests? #f))
2909 (native-inputs
2910 `(("intltool" ,intltool)
2911 ("glib" ,glib "bin")
2912 ("gobject-introspection" ,gobject-introspection)
2913 ("pkg-config" ,pkg-config)))
2914 (propagated-inputs
2915 `(("glib" ,glib)
2916 ("gmime" ,gmime)
2917 ("libxml2" ,libxml2)))
2918 (inputs
2919 `(("libarchive" ,libarchive)
2920 ("libgcrypt" ,libgcrypt)
2921 ("nettle" ,nettle)
2922 ("libsoup" ,libsoup)))
2923 (home-page "https://projects.gnome.org/totem")
2924 (synopsis "Library to parse and save media playlists for GNOME")
2925 (description "Totem-pl-parser is a GObjects-based library to parse and save
2926 playlists in a variety of formats.")
2927 (license license:lgpl2.0+)))
2928
2929 (define-public aisleriot
2930 (package
2931 (name "aisleriot")
2932 (version "3.22.2")
2933 (source (origin
2934 (method url-fetch)
2935 (uri (string-append "mirror://gnome/sources/" name "/"
2936 (version-major+minor version) "/"
2937 name "-" version ".tar.xz"))
2938 (sha256
2939 (base32
2940 "0a8cir7vgi67sncl0m7cypq11amardm7r68gr3q52a11l8ajycdx"))))
2941 (build-system glib-or-gtk-build-system)
2942 (arguments
2943 '(#:configure-flags
2944 '("--with-platform=gtk-only"
2945 "--with-card-theme-formats=svg")))
2946 (native-inputs
2947 `(("desktop-file-utils" ,desktop-file-utils)
2948 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2949 ("intltool" ,intltool)
2950 ("itstool" ,itstool)
2951 ("pkg-config" ,pkg-config)
2952 ("xmllint" ,libxml2)))
2953 (inputs
2954 `(("gtk+" ,gtk+)
2955 ("guile" ,guile-2.0)
2956 ("libcanberra" ,libcanberra)
2957 ("librsvg" ,librsvg)))
2958 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2959 (synopsis "Solitaire card games")
2960 (description
2961 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2962 which are easy to play with the aid of a mouse.")
2963 (license license:gpl3+)))
2964
2965 (define-public devhelp
2966 (package
2967 (name "devhelp")
2968 (version "3.24.0")
2969 (source (origin
2970 (method url-fetch)
2971 (uri (string-append "mirror://gnome/sources/" name "/"
2972 (version-major+minor version) "/"
2973 name "-" version ".tar.xz"))
2974 (sha256
2975 (base32
2976 "0c74rk46dy3kvy78m42jl3ip56c5536zmy8v1lbascjmh4fdwn28"))))
2977 (build-system glib-or-gtk-build-system)
2978 (native-inputs
2979 `(("intltool" ,intltool)
2980 ("pkg-config" ,pkg-config)))
2981 (inputs
2982 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2983 ("webkitgtk" ,webkitgtk)))
2984 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2985 (synopsis "API documentation browser for GNOME")
2986 (description
2987 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2988 natively with GTK-Doc (the API reference system developed for GTK+ and used
2989 throughout GNOME for API documentation).")
2990 (license license:gpl2+)))
2991
2992 (define-public cogl
2993 (package
2994 (name "cogl")
2995 (version "1.22.2")
2996 (source
2997 (origin
2998 (method url-fetch)
2999 (uri (string-append "mirror://gnome/sources/" name "/"
3000 (version-major+minor version) "/"
3001 name "-" version ".tar.xz"))
3002 (sha256
3003 (base32
3004 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3005 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3006 ;; cogl, corresponding changes may be appropriate in mutter as well.
3007 (build-system gnu-build-system)
3008 (native-inputs
3009 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3010 ("gobject-introspection" ,gobject-introspection)
3011 ;;("xorg-server" ,xorg-server) ; for the test suite
3012 ("pkg-config" ,pkg-config)))
3013 (propagated-inputs
3014 `(("glib" ,glib)
3015 ("gdk-pixbuf" ,gdk-pixbuf)
3016 ("libx11" ,libx11)
3017 ("libxext" ,libxext)
3018 ("libxfixes" ,libxfixes)
3019 ("libxdamage" ,libxdamage)
3020 ("libxcomposite" ,libxcomposite)
3021 ("libxrandr" ,libxrandr)))
3022 (inputs
3023 `(("mesa" ,mesa)
3024 ("cairo" ,cairo)
3025 ("pango" ,pango)
3026 ("gstreamer" ,gstreamer)
3027 ("gst-plugins-base" ,gst-plugins-base)
3028 ("wayland" ,wayland)))
3029 (arguments
3030 `(#:configure-flags (list "--enable-cogl-gst"
3031 "--enable-wayland-egl-platform"
3032 "--enable-wayland-egl-server"
3033
3034 ;; Arrange to pass an absolute file name to
3035 ;; dlopen for libGL.so.
3036 (string-append "--with-gl-libname="
3037 (assoc-ref %build-inputs "mesa")
3038 "/lib/libGL.so"))
3039 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3040 ;; _FontTransOpen: Unable to Parse address
3041 ;; ${prefix}/share/fonts/X11/misc/
3042 #:tests? #f
3043 #; #:phases
3044 #;
3045 (modify-phases %standard-phases
3046 (add-before 'check 'start-xorg-server
3047 (lambda* (#:key inputs #:allow-other-keys)
3048 ;; The test suite requires a running X server.
3049 (system (format #f "~a/bin/Xvfb :1 &"
3050 (assoc-ref inputs "xorg-server")))
3051 (setenv "DISPLAY" ":1")
3052 #t)))))
3053 (home-page "http://www.cogl3d.org")
3054 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3055 (description
3056 "Cogl is a small library for using 3D graphics hardware to draw pretty
3057 pictures. The API departs from the flat state machine style of OpenGL and is
3058 designed to make it easy to write orthogonal components that can render
3059 without stepping on each others toes.")
3060 (license (list license:expat ; most of the code
3061 license:bsd-3 ; cogl/cogl-point-in-poly.c
3062 license:sgifreeb2.0 ; cogl-path/tesselator/
3063 license:asl2.0)))) ; examples/android/
3064
3065 (define-public clutter
3066 (package
3067 (name "clutter")
3068 (version "1.26.2")
3069 (source
3070 (origin
3071 (method url-fetch)
3072 (uri (string-append "mirror://gnome/sources/" name "/"
3073 (version-major+minor version) "/"
3074 name "-" version ".tar.xz"))
3075 (sha256
3076 (base32
3077 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3078 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3079 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3080 (build-system gnu-build-system)
3081 (outputs '("out"
3082 "doc")) ;9 MiB of gtk-doc HTML pages
3083 (native-inputs
3084 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3085 ("gobject-introspection" ,gobject-introspection)
3086 ("pkg-config" ,pkg-config)
3087 ("xsltproc" ,libxslt)))
3088 (propagated-inputs
3089 `(("cogl" ,cogl)
3090 ("cairo" ,cairo)
3091 ("atk" ,atk)
3092 ("gtk+" ,gtk+)
3093 ("json-glib" ,json-glib)
3094 ("glib" ,glib)
3095 ("libxcomposite" ,libxcomposite)
3096 ("libxdamage" ,libxdamage)
3097 ("libxext" ,libxext)
3098 ("xinput" ,xinput)))
3099 (inputs
3100 `(("libxkbcommon" ,libxkbcommon)
3101 ("udev" ,eudev)))
3102 (arguments
3103 `(#:configure-flags (list "--enable-x11-backend=yes"
3104
3105 ;; This produces share/doc/{clutter,cally}.
3106 (string-append "--with-html-dir="
3107 (assoc-ref %outputs "doc")
3108 "/share/doc"))
3109 ;; XXX FIXME: Get test suite working. It would probably fail in the
3110 ;; same way the cogl tests fail, since clutter is based on cogl.
3111 #:tests? #f))
3112 (home-page "http://www.clutter-project.org")
3113 (synopsis "Open GL based interactive canvas library")
3114 (description
3115 "Clutter is an Open GL based interactive canvas library, designed for
3116 creating fast, mainly 2D single window applications such as media box UIs,
3117 presentations, kiosk style applications and so on.")
3118 (license license:lgpl2.0+)))
3119
3120 (define-public clutter-gtk
3121 (package
3122 (name "clutter-gtk")
3123 (version "1.8.2")
3124 (source
3125 (origin
3126 (method url-fetch)
3127 (uri (string-append "mirror://gnome/sources/" name "/"
3128 (version-major+minor version) "/"
3129 name "-" version ".tar.xz"))
3130 (sha256
3131 (base32
3132 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
3133 (build-system gnu-build-system)
3134 (native-inputs
3135 `(("pkg-config" ,pkg-config)
3136 ("gobject-introspection" ,gobject-introspection)))
3137 (propagated-inputs
3138 ;; clutter-gtk.pc refers to all these.
3139 `(("clutter" ,clutter)
3140 ("gtk+" ,gtk+)))
3141 (home-page "http://www.clutter-project.org")
3142 (synopsis "Open GL based interactive canvas library GTK+ widget")
3143 (description
3144 "Clutter is an Open GL based interactive canvas library, designed for
3145 creating fast, mainly 2D single window applications such as media box UIs,
3146 presentations, kiosk style applications and so on.")
3147 (license license:lgpl2.0+)))
3148
3149 (define-public clutter-gst
3150 (package
3151 (name "clutter-gst")
3152 (version "3.0.24")
3153 (source
3154 (origin
3155 (method url-fetch)
3156 (uri (string-append "mirror://gnome/sources/" name "/"
3157 (version-major+minor version) "/"
3158 name "-" version ".tar.xz"))
3159 (sha256
3160 (base32
3161 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
3162 (build-system gnu-build-system)
3163 (native-inputs
3164 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3165 ("pkg-config" ,pkg-config)
3166 ("gobject-introspection" ,gobject-introspection)))
3167 (inputs
3168 `(("clutter" ,clutter)
3169 ("gstreamer" ,gstreamer)
3170 ("gst-plugins-base" ,gst-plugins-base)))
3171 (home-page "http://www.clutter-project.org")
3172 (synopsis "Integration library for using GStreamer with Clutter")
3173 (description
3174 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3175 It provides a GStreamer sink to upload frames to GL and an actor that
3176 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3177 GL based interactive canvas library.")
3178 (license license:lgpl2.0+)))
3179
3180 (define-public libchamplain
3181 (package
3182 (name "libchamplain")
3183 (version "0.12.15")
3184 (source (origin
3185 (method url-fetch)
3186 (uri (string-append
3187 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3188 version ".tar.xz"))
3189 (sha256
3190 (base32
3191 "0x5qa1aw1y59lzkmf4j4szspn49341a87vcja4ydgxny1chilwjl"))))
3192 (build-system gnu-build-system)
3193 (arguments '(#:configure-flags '("--enable-vala")))
3194 (native-inputs
3195 `(("gobject-introspection" ,gobject-introspection)
3196 ("pkg-config" ,pkg-config)
3197 ("vala" ,vala)))
3198 (propagated-inputs
3199 `(("libsoup" ,libsoup)
3200 ("sqlite" ,sqlite)
3201 ("clutter" ,clutter)
3202 ("clutter-gtk" ,clutter-gtk)
3203 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3204 ("cairo" ,cairo)
3205 ("gtk+3" ,gtk+)
3206 ("glib" ,glib)))
3207 (home-page "http://projects.gnome.org/libchamplain/")
3208 (synopsis "C library providing a ClutterActor to display maps")
3209 (description
3210 "libchamplain is a C library providing a ClutterActor to display maps.
3211 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3212 and Perl bindings are also available. It supports numerous free map sources
3213 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3214 (license license:lgpl2.1+)))
3215
3216 (define-public gom
3217 (package
3218 (name "gom")
3219 (version "0.3.2")
3220 (source
3221 (origin
3222 (method url-fetch)
3223 (uri (string-append "mirror://gnome/sources/" name "/"
3224 (version-major+minor version) "/"
3225 name "-" version ".tar.xz"))
3226 (sha256
3227 (base32
3228 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3229 (build-system gnu-build-system)
3230 (native-inputs
3231 `(("intltool" ,intltool)
3232 ("pkg-config" ,pkg-config)
3233 ("gobject-introspection" ,gobject-introspection)))
3234 (inputs
3235 `(("glib" ,glib)
3236 ("gdk-pixbuf" ,gdk-pixbuf)
3237 ("sqlite" ,sqlite)))
3238 ;; XXX TODO: Figure out how to run the test suite.
3239 (arguments `(#:tests? #f))
3240 (home-page "https://wiki.gnome.org/Projects/Gom")
3241 (synopsis "Object mapper from GObjects to SQLite")
3242 (description
3243 "Gom provides an object mapper from GObjects to SQLite. It helps you
3244 write applications that need to store structured data as well as make complex
3245 queries upon that data.")
3246 (license license:lgpl2.1+)))
3247
3248 (define-public libgames-support
3249 (package
3250 (name "libgames-support")
3251 (version "1.0.2")
3252 (source (origin
3253 (method url-fetch)
3254 (uri (string-append "mirror://gnome/sources/" name "/"
3255 (version-major+minor version) "/"
3256 name "-" version ".tar.xz"))
3257 (sha256
3258 (base32
3259 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3260 (build-system gnu-build-system)
3261 (arguments
3262 '(#:phases
3263 (modify-phases %standard-phases
3264 (add-before 'check 'pre-check
3265 (lambda _
3266 ;; tests require a writable HOME.
3267 (setenv "HOME" (getcwd))
3268 #t)))))
3269 (native-inputs
3270 `(("intltool" ,intltool)
3271 ("pkg-config" ,pkg-config)
3272 ("vala" ,vala)))
3273 (propagated-inputs
3274 ;; Required by libgames-support-1.0.pc
3275 `(("gtk+" ,gtk+)
3276 ("libgee" ,libgee)))
3277 (home-page "https://www.gnome.org/")
3278 (synopsis "Useful functionality shared among GNOME games")
3279 (description
3280 "libgames-support is a small library intended for internal use by
3281 GNOME Games, but it may be used by others.")
3282 (license license:lgpl3+)))
3283
3284 (define-public libgnome-games-support
3285 (package
3286 (inherit libgames-support)
3287 (name "libgnome-games-support")
3288 (version "1.2.1")
3289 (source (origin
3290 (method url-fetch)
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3294 (sha256
3295 (base32
3296 "1rsyf5hbjim7zpk1yar3gv65g1nmw6zbbc0smrmxsfk0f9n3j9m6"))))))
3297
3298 (define-public gnome-klotski
3299 (package
3300 (name "gnome-klotski")
3301 (version "3.22.1")
3302 (source (origin
3303 (method url-fetch)
3304 (uri (string-append "mirror://gnome/sources/" name "/"
3305 (version-major+minor version) "/"
3306 name "-" version ".tar.xz"))
3307 (sha256
3308 (base32
3309 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
3310 (build-system glib-or-gtk-build-system)
3311 (native-inputs
3312 `(("desktop-file-utils" ,desktop-file-utils)
3313 ("intltool" ,intltool)
3314 ("itstool" ,itstool)
3315 ("pkg-config" ,pkg-config)
3316 ("xmllint" ,libxml2)))
3317 (inputs
3318 `(("gtk+" ,gtk+)
3319 ("libgnome-games-support" ,libgnome-games-support)
3320 ("librsvg" ,librsvg)))
3321 (home-page "https://wiki.gnome.org/Apps/Klotski")
3322 (synopsis "Sliding block puzzles")
3323 (description
3324 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3325 the patterned block to the area bordered by green markers. To do so, you will
3326 need to slide other blocks out of the way. Complete each puzzle in as few moves
3327 as possible!")
3328 (license license:gpl2+)))
3329
3330 (define-public grilo
3331 (package
3332 (name "grilo")
3333 (version "0.3.3")
3334 (source
3335 (origin
3336 (method url-fetch)
3337 (uri (string-append "mirror://gnome/sources/" name "/"
3338 (version-major+minor version) "/"
3339 name "-" version ".tar.xz"))
3340 (sha256
3341 (base32
3342 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3343 (build-system gnu-build-system)
3344 (native-inputs
3345 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3346 ("intltool" ,intltool)
3347 ("pkg-config" ,pkg-config)
3348 ("gobject-introspection" ,gobject-introspection)))
3349 (inputs
3350 `(("cyrus-sasl" ,cyrus-sasl)
3351 ("glib" ,glib)
3352 ("gtk+" ,gtk+)
3353 ("libxml2" ,libxml2)
3354 ("liboauth" ,liboauth)
3355 ("libsoup" ,libsoup)
3356 ("nettle" ,nettle)
3357 ("totem-pl-parser" ,totem-pl-parser)))
3358 (arguments
3359 `(#:phases
3360 (modify-phases %standard-phases
3361 (add-after 'unpack 'fix-introspection-install-dir
3362 (lambda* (#:key outputs #:allow-other-keys)
3363 (let ((out (assoc-ref outputs "out")))
3364 (substitute* '("src/Makefile.in"
3365 "libs/pls/Makefile.in"
3366 "libs/net/Makefile.in")
3367 (("@INTROSPECTION_GIRDIR@")
3368 (string-append out "/share/gir-1.0/"))
3369 (("@INTROSPECTION_TYPELIBDIR@")
3370 (string-append out "/lib/girepository-1.0/")))))))))
3371 (native-search-paths
3372 (list (search-path-specification
3373 (variable "GRL_PLUGIN_PATH")
3374 (files (list (string-append "lib/grilo-"
3375 (version-major+minor version)))))))
3376 (home-page "http://live.gnome.org/Grilo")
3377 (synopsis "Framework for discovering and browsing media")
3378 (description
3379 "Grilo is a framework focused on making media discovery and browsing easy
3380 for application developers.")
3381 (license license:lgpl2.1+)))
3382
3383 (define-public grilo-plugins
3384 (package
3385 (name "grilo-plugins")
3386 (version "0.3.3")
3387 (source
3388 (origin
3389 (method url-fetch)
3390 (uri (string-append "mirror://gnome/sources/" name "/"
3391 (version-major+minor version) "/"
3392 name "-" version ".tar.xz"))
3393 (sha256
3394 (base32
3395 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3396 (build-system gnu-build-system)
3397 (native-inputs
3398 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3399 ("intltool" ,intltool)
3400 ("itstool" ,itstool)
3401 ("pkg-config" ,pkg-config)))
3402 (inputs
3403 `(("grilo" ,grilo)
3404 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3405 ("glib" ,glib)
3406 ("libxml2" ,libxml2)
3407 ("sqlite" ,sqlite)
3408 ("gom" ,gom)
3409 ;; XXX TODO: Add oauth
3410 ;; XXX TODO: Add goa
3411 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3412 ;; XXX TODO: Add lua (needs help finding it)
3413 ("json-glib" ,json-glib)
3414 ("avahi" ,avahi)
3415 ("gmime" ,gmime)
3416 ("libsoup" ,libsoup)
3417 ("libarchive" ,libarchive)
3418 ("totem-pl-parser" ,totem-pl-parser)))
3419 (arguments
3420 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3421 %output
3422 "/lib/grilo-"
3423 ,(version-major+minor version)))
3424 ;; XXX FIXME: Try to get the test suite working. It appears to require
3425 ;; a working system dbus. Inside the build container, all tests fail
3426 ;; with: "assertion failed: (source)". Outside of the build container,
3427 ;; most tests succeed.
3428 #:tests? #f))
3429 (home-page "http://live.gnome.org/Grilo")
3430 (synopsis "Plugins for the Grilo media discovery library")
3431 (description
3432 "Grilo is a framework focused on making media discovery and browsing easy
3433 for application developers.")
3434 (license license:lgpl2.1+)))
3435
3436 (define-public totem
3437 (package
3438 (name "totem")
3439 (version "3.24.0")
3440 (source
3441 (origin
3442 (method url-fetch)
3443 (uri (string-append "mirror://gnome/sources/" name "/"
3444 (version-major+minor version) "/"
3445 name "-" version ".tar.xz"))
3446 (sha256
3447 (base32
3448 "00cdlll5b0wj5ckl1pc0a3g39a0hlq0gxkcsh1f6p20fjixqzmwv"))))
3449 (build-system glib-or-gtk-build-system)
3450 (native-inputs
3451 `(("pkg-config" ,pkg-config)
3452 ("desktop-file-utils" ,desktop-file-utils)
3453 ("gobject-introspection" ,gobject-introspection)
3454 ("intltool" ,intltool)
3455 ("itstool" ,itstool)
3456 ("xmllint" ,libxml2)))
3457 (propagated-inputs
3458 `(("dconf" ,dconf)))
3459 (inputs
3460 `(("gtk+" ,gtk+)
3461 ("gdk-pixbuf" ,gdk-pixbuf)
3462 ("atk" ,atk)
3463 ("cairo" ,cairo)
3464 ("dbus-glib" ,dbus-glib)
3465 ("clutter" ,clutter)
3466 ("clutter-gtk" ,clutter-gtk)
3467 ("clutter-gst" ,clutter-gst)
3468 ("xproto" ,xproto)
3469 ("libxxf86vm" ,libxxf86vm)
3470 ("libxtst" ,libxtst)
3471 ("libxrandr" ,libxrandr)
3472 ("libxml2" ,libxml2)
3473 ("libsoup" ,libsoup)
3474 ("libpeas" ,libpeas)
3475 ("librsvg" ,librsvg)
3476 ("lirc" ,lirc)
3477 ("gnome-desktop" ,gnome-desktop)
3478 ("gstreamer" ,gstreamer)
3479 ("gst-plugins-base" ,gst-plugins-base)
3480 ("gst-plugins-good" ,gst-plugins-good)
3481 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3482 ("adwaita-icon-theme" ,adwaita-icon-theme)
3483 ;; XXX We use python-2 because libxml2 because itstool (which needs
3484 ;; libxml) currently uses python-2.
3485 ("python" ,python-2)
3486 ("python-pygobject" ,python2-pygobject)
3487 ;; XXX TODO pylint needed for python support
3488 ("totem-pl-parser" ,totem-pl-parser)
3489 ("grilo" ,grilo)
3490 ("grilo-plugins" ,grilo-plugins)
3491 ("nettle" ,nettle)
3492 ("vala" ,vala)))
3493 (arguments
3494 `(#:phases
3495 (modify-phases %standard-phases
3496 (add-after
3497 'install 'wrap-totem
3498 (lambda* (#:key inputs outputs #:allow-other-keys)
3499 (let ((out (assoc-ref outputs "out"))
3500 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3501 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3502 (wrap-program (string-append out "/bin/totem")
3503 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3504 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3505 #t)))))
3506 (home-page "https://wiki.gnome.org/Apps/Videos")
3507 (synopsis "Simple media player for GNOME based on GStreamer")
3508 (description "Totem is a simple yet featureful media player for GNOME
3509 which can read a large number of file formats.")
3510 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3511 ;; to be used and distributed together with GStreamer and Totem. See
3512 ;; file://COPYING in the source distribution for details.
3513 (license license:gpl2+)))
3514
3515 (define-public rhythmbox
3516 (package
3517 (name "rhythmbox")
3518 (version "3.4.1")
3519 (source (origin
3520 (method url-fetch)
3521 (uri (string-append "mirror://gnome/sources/" name "/"
3522 (version-major+minor version) "/"
3523 name "-" version ".tar.xz"))
3524 (sha256
3525 (base32
3526 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
3527 (build-system glib-or-gtk-build-system)
3528 (arguments
3529 `(#:configure-flags
3530 (list "--enable-lirc"
3531 "--enable-python"
3532 "--enable-vala"
3533 "--with-brasero"
3534 "--with-gudev"
3535 "--with-libsecret")
3536 #:phases
3537 (modify-phases %standard-phases
3538 (add-after
3539 'install 'wrap-rhythmbox
3540 (lambda* (#:key inputs outputs #:allow-other-keys)
3541 (let ((out (assoc-ref outputs "out"))
3542 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3543 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3544 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3545 (python-path (getenv "PYTHONPATH")))
3546 (wrap-program (string-append out "/bin/rhythmbox")
3547 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3548 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3549 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3550 `("PYTHONPATH" ":" prefix (,python-path))))
3551 #t)))))
3552 (propagated-inputs
3553 `(("dconf" ,dconf)))
3554 (native-inputs
3555 `(("itstool" ,itstool)
3556 ("intltool" ,intltool)
3557 ("glib" ,glib "bin")
3558 ("gobject-introspection" ,gobject-introspection)
3559 ("desktop-file-utils" ,desktop-file-utils)
3560 ("pkg-config" ,pkg-config)
3561 ("xmllint" ,libxml2)))
3562 (inputs
3563 `(("json-glib" ,json-glib)
3564 ("tdb" ,tdb)
3565 ("gnome-desktop" ,gnome-desktop)
3566 ("python" ,python)
3567 ("python-pygobject" ,python2-pygobject)
3568 ("vala" ,vala)
3569 ("gmime" ,gmime)
3570 ("nettle" ,nettle)
3571 ("adwaita-icon-theme" ,adwaita-icon-theme)
3572 ("grilo" ,grilo)
3573 ("grilo-plugins" ,grilo-plugins)
3574 ("gstreamer" ,gstreamer)
3575 ("gst-plugins-base" ,gst-plugins-base)
3576 ("gst-plugins-good" ,gst-plugins-good)
3577 ("totem-pl-parser" ,totem-pl-parser)
3578 ("libgudev" ,libgudev)
3579 ;;("libmtp" ,libmtp) FIXME: Not detected
3580 ("libsecret" ,libsecret)
3581 ("libsoup" ,libsoup)
3582 ("libnotify" ,libnotify)
3583 ("libpeas" ,libpeas)
3584 ("lirc" ,lirc)
3585 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3586 ;;("clutter" ,clutter)
3587 ;;("clutter-gtk" ,clutter-gtk)
3588 ;;("clutter-gst" ,clutter-gst)
3589 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3590 ("atk" ,atk)
3591 ("pango" ,pango)
3592 ("gtk+" ,gtk+)
3593 ;; TODO:
3594 ;; * libgpod
3595 ;; * mx
3596 ("brasero" ,brasero)))
3597 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3598 (synopsis "Music player for GNOME")
3599 (description "Rhythmbox is a music playing application for GNOME. It
3600 supports playlists, song ratings, and any codecs installed through gstreamer.")
3601 (license license:gpl2+)))
3602
3603 (define-public eog
3604 (package
3605 (name "eog")
3606 (version "3.24.1")
3607 (source (origin
3608 (method url-fetch)
3609 (uri (string-append "mirror://gnome/sources/" name "/"
3610 (version-major+minor version) "/"
3611 name "-" version ".tar.xz"))
3612 (sha256
3613 (base32
3614 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
3615 (build-system glib-or-gtk-build-system)
3616 (arguments
3617 `(#:phases
3618 (modify-phases %standard-phases
3619 (add-after
3620 'install 'wrap-eog
3621 (lambda* (#:key outputs #:allow-other-keys)
3622 (let ((out (assoc-ref outputs "out"))
3623 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3624 (wrap-program (string-append out "/bin/eog")
3625 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3626 #t)))))
3627 (propagated-inputs
3628 `(("dconf" ,dconf)))
3629 (native-inputs
3630 `(("intltool" ,intltool)
3631 ("itstool" ,itstool)
3632 ("glib" ,glib "bin")
3633 ("gobject-introspection" ,gobject-introspection)
3634 ("pkg-config" ,pkg-config)
3635 ("xmllint" ,libxml2)))
3636 (inputs
3637 `(("gnome-desktop" ,gnome-desktop)
3638 ("shared-mime-info" ,shared-mime-info)
3639 ("adwaita-icon-theme" ,adwaita-icon-theme)
3640 ("exempi" ,exempi)
3641 ("lcms" ,lcms)
3642 ("libexif" ,libexif)
3643 ("libpeas" ,libpeas)
3644 ("libjpeg" ,libjpeg)
3645 ("librsvg" ,librsvg)
3646 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3647 ("gtk+" ,gtk+)))
3648 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3649 (synopsis "GNOME image viewer")
3650 (description "Eye of GNOME is the GNOME image viewer. It
3651 supports image conversion, rotation, and slideshows.")
3652 (license license:gpl2+)))
3653
3654 (define-public eog-plugins
3655 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3656 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3657 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3658 ;; 'XDG_DATA_DIRS' appropriately set.
3659 (package
3660 (name "eog-plugins")
3661 (version "3.25.1")
3662 (source (origin
3663 (method url-fetch)
3664 (uri (string-append "mirror://gnome/sources/" name "/"
3665 (version-major+minor version) "/"
3666 name "-" version ".tar.xz"))
3667 (sha256
3668 (base32
3669 "0an04z8v83qa6j950rbwdzf1s86y7zd8h1r4p2x36fwbkk1m617q"))))
3670 (build-system gnu-build-system)
3671 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3672 (synopsis "Extensions for the Eye of GNOME image viewer")
3673 (native-inputs
3674 `(("pkg-config" ,pkg-config)
3675 ("gettext" ,gnu-gettext)))
3676 (inputs
3677 `(("eog" ,eog)
3678 ("glib" ,glib)
3679 ("gtk+" ,gtk+)
3680 ("libpeas" ,libpeas)
3681 ("libexif" ,libexif)
3682 ("libchamplain" ,libchamplain)))
3683 (description
3684 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3685 notably:
3686
3687 @itemize
3688 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3689 @item @dfn{Map}, which displays a map of where the picture was taken on the
3690 side panel;
3691 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3692 @end itemize\n")
3693
3694 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3695 ;; long suspicious byte stream that goes to a
3696 ;; ".gresource.eog_postasa_plugin" ELF section.
3697 (license license:gpl2+)))
3698
3699 (define-public libgudev
3700 (package
3701 (name "libgudev")
3702 (version "230")
3703 (source (origin
3704 (method url-fetch)
3705 (uri (string-append "mirror://gnome/sources/" name "/"
3706 version "/" name "-" version ".tar.xz"))
3707 (sha256
3708 (base32
3709 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3710 (build-system gnu-build-system)
3711 (native-inputs
3712 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3713 ("gobject-introspection" ,gobject-introspection)
3714 ("pkg-config" ,pkg-config)))
3715 (propagated-inputs
3716 `(("glib" ,glib))) ; required by gudev-1.0.pc
3717 (inputs
3718 `(("udev" ,eudev)))
3719 (home-page "https://wiki.gnome.org/Projects/libgudev")
3720 (synopsis "GObject bindings for libudev")
3721 (description
3722 "This library provides GObject bindings for libudev. It was originally
3723 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3724 (license license:lgpl2.1+)))
3725
3726 (define-public gvfs
3727 (package
3728 (name "gvfs")
3729 (version "1.32.1")
3730 (source (origin
3731 (method url-fetch)
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3735 (sha256
3736 (base32
3737 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3738 (build-system gnu-build-system)
3739 (arguments
3740 '(#:tests? #f)) ; XXX: requiring `pidof'
3741 (native-inputs
3742 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3743 ("intltool" ,intltool)
3744 ("pkg-config" ,pkg-config)
3745 ("xsltproc" ,libxslt)))
3746 (inputs
3747 `(("avahi" ,avahi)
3748 ("docbook-xml" ,docbook-xml-4.2)
3749 ("docbook-xsl" ,docbook-xsl)
3750 ("dbus" ,dbus)
3751 ("fuse" ,fuse)
3752 ("gcr" ,gcr)
3753 ("glib" ,glib)
3754 ("libarchive" ,libarchive)
3755 ("libbluray" ,libbluray)
3756 ("libcap" ,libcap)
3757 ("libcdio-paranoia" ,libcdio-paranoia)
3758 ("libgcrypt" ,libgcrypt)
3759 ("libgphoto2" ,libgphoto2)
3760 ("libgudev" ,libgudev)
3761 ("libmtp" ,libmtp)
3762 ("libsecret" ,libsecret)
3763 ("libsmbclient" ,samba)
3764 ("libsoup" ,libsoup)
3765 ("libxml2" ,libxml2)
3766 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3767 ("polkit" ,polkit)
3768 ("udisks" ,udisks)))
3769 (home-page "https://wiki.gnome.org/gvfs/")
3770 (synopsis "Userspace virtual file system for GIO")
3771 (description
3772 "GVFS is a userspace virtual file system designed to work with the I/O
3773 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3774 to all applications using the GIO API. It also supports exposing the GVFS
3775 mounts to non-GIO applications using FUSE.
3776
3777 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3778 DAV, and others.")
3779 (license license:lgpl2.0+)))
3780
3781 (define-public gusb
3782 (package
3783 (name "gusb")
3784 (version "0.2.9")
3785 (source (origin
3786 (method url-fetch)
3787 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3788 "gusb_"
3789 (string-join (string-split version #\.)
3790 "_")
3791 ".tar.gz"))
3792 (sha256
3793 (base32
3794 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
3795 (build-system gnu-build-system)
3796 (native-inputs
3797 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3798 ("gobject-introspection" ,gobject-introspection)
3799 ("pkg-config" ,pkg-config)
3800 ("vala" ,vala)
3801 ("autoconf" ,autoconf)
3802 ("automake" ,automake)
3803 ("libtool" ,libtool)
3804 ("gtk-doc" ,gtk-doc)))
3805 (propagated-inputs
3806 ;; Both of these are required by gusb.pc.
3807 `(("glib" ,glib)
3808 ("libusb" ,libusb)))
3809 (arguments
3810 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3811 #:phases
3812 (modify-phases %standard-phases
3813 (add-after 'unpack 'autogen
3814 (lambda _
3815 (and (zero? (system* "gtkdocize"))
3816 (zero? (system* "autoreconf" "-vif"))))))))
3817 (home-page "https://github.com/hughsie/libgusb")
3818 (synopsis "GLib binding for libusb1")
3819 (description
3820 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3821 asynchronous control, bulk and interrupt transfers with proper cancellation
3822 and integration into a mainloop. This makes it easy to integrate low level
3823 USB transfers with your high-level application or system daemon.")
3824 (license license:lgpl2.1+)))
3825
3826 (define-public simple-scan
3827 (package
3828 (name "simple-scan")
3829 (version "3.24.1")
3830 (source (origin
3831 (method url-fetch)
3832 (uri (string-append "https://launchpad.net/simple-scan/"
3833 (version-major+minor version) "/"
3834 version "/+download/simple-scan-"
3835 version ".tar.xz"))
3836 (sha256
3837 (base32
3838 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
3839 (build-system glib-or-gtk-build-system)
3840 (inputs
3841 `(("gtk" ,gtk+)
3842 ("zlib" ,zlib)
3843 ("cairo" ,cairo)
3844 ("gdk-pixbuf" ,gdk-pixbuf)
3845 ("gusb" ,gusb)
3846 ("libsane" ,sane-backends)))
3847 (native-inputs
3848 `(("gettext" ,gettext-minimal)
3849 ("itstool" ,itstool)
3850 ("colord" ,colord)
3851 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3852 ("pkg-config" ,pkg-config)
3853 ("vala" ,vala)
3854 ("xmllint" ,libxml2)))
3855 (arguments
3856 '(#:configure-flags '("--disable-packagekit")
3857 #:phases
3858 (modify-phases %standard-phases
3859 (add-after 'unpack 'clean
3860 (lambda _
3861 ;; Remove a left-over reference to PackageKit.
3862
3863 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3864
3865 ;; There are some generated C files erroneously
3866 ;; included in the source distribution, and this
3867 ;; one breaks the build by referring to a
3868 ;; non-existent header (packagekit.h)
3869 (delete-file "src/ui.c"))))))
3870 (home-page "https://launchpad.net/simple-scan")
3871 (synopsis "Document and image scanner")
3872 (description "Simple Scan is an easy-to-use application, designed to let
3873 users connect their scanner and quickly have the image/document in an
3874 appropriate format. Simple Scan is basically a frontend for SANE - which is
3875 the same backend as XSANE uses. This means that all existing scanners will
3876 work and the interface is well tested.")
3877 (license license:gpl3+)))
3878
3879 (define-public epiphany
3880 (package
3881 (name "epiphany")
3882 (version "3.24.2")
3883 (source (origin
3884 (method url-fetch)
3885 (uri (string-append "mirror://gnome/sources/" name "/"
3886 (version-major+minor version) "/"
3887 name "-" version ".tar.xz"))
3888 (sha256
3889 (base32
3890 "13f5h7mbxdyjf93jp46hiaxsrngpr6frgf69d8iza7arc060vg2s"))))
3891 (build-system glib-or-gtk-build-system)
3892 (arguments
3893 ;; FIXME: tests run under Xvfb, but fail with:
3894 ;; /src/bookmarks/ephy-bookmarks/create:
3895 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3896 ;; subsystem
3897 ;; FAIL
3898 '(#:tests? #f
3899 #:configure-flags '("CFLAGS=-std=gnu99")))
3900 (propagated-inputs
3901 `(("dconf" ,dconf)))
3902 (native-inputs
3903 `(("intltool" ,intltool)
3904 ("itstool" ,itstool)
3905 ("pkg-config" ,pkg-config)
3906 ("xmllint" ,libxml2)))
3907 (inputs
3908 `(("avahi" ,avahi)
3909 ("gcr" ,gcr)
3910 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
3911 ("glib-networking" ,glib-networking)
3912 ("gnome-desktop" ,gnome-desktop)
3913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3914 ("json-glib" ,json-glib)
3915 ("iso-codes" ,iso-codes)
3916 ("libnotify" ,libnotify)
3917 ("libsecret" ,libsecret)
3918 ("libxslt" ,libxslt)
3919 ("sqlite" ,sqlite)
3920 ("webkitgtk" ,webkitgtk)))
3921 (home-page "https://wiki.gnome.org/Apps/Web")
3922 (synopsis "GNOME web browser")
3923 (description
3924 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3925 principles are simplicity and standards compliance.")
3926 (license license:gpl2+)))
3927
3928 (define-public d-feet
3929 (package
3930 (name "d-feet")
3931 (version "0.3.11")
3932 (source (origin
3933 (method url-fetch)
3934 (uri (string-append "mirror://gnome/sources/" name "/"
3935 (version-major+minor version) "/"
3936 name "-" version ".tar.xz"))
3937 (sha256
3938 (base32
3939 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
3940 (build-system glib-or-gtk-build-system)
3941 (arguments
3942 '(#:out-of-source? #f ; tests need to run in the source directory.
3943 #:phases
3944 (modify-phases %standard-phases
3945 (add-before
3946 'check 'pre-check
3947 (lambda _
3948 ;; The test suite requires a running X server.
3949 (system "Xvfb :1 &")
3950 (setenv "DISPLAY" ":1")
3951 ;; Don't fail on missing '/etc/machine-id'.
3952 (setenv "DBUS_FATAL_WARNINGS" "0")
3953 ;; tests.py and window.py don't meet E402:
3954 ;; E402 module level import not at top of file
3955 (substitute* "src/tests/Makefile"
3956 (("--ignore=E123") "--ignore=E123,E402"))
3957 #t))
3958 (add-after
3959 'install 'wrap-program
3960 (lambda* (#:key outputs #:allow-other-keys)
3961 (let ((prog (string-append (assoc-ref outputs "out")
3962 "/bin/d-feet")))
3963 (wrap-program prog
3964 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3965 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3966 #t))))))
3967 (native-inputs
3968 `(("intltool" ,intltool)
3969 ("itstool" ,itstool)
3970 ("pkg-config" ,pkg-config)
3971 ("python-pep8" ,python-pep8)
3972 ("xmllint" ,libxml2)
3973 ("xorg-server" ,xorg-server)))
3974 (inputs
3975 `(("gobject-introspection" ,gobject-introspection)
3976 ("gtk+" ,gtk+)
3977 ("python" ,python-wrapper)
3978 ("python-pygobject" ,python-pygobject)))
3979 (home-page "https://wiki.gnome.org/Apps/DFeet")
3980 (synopsis "D-Bus debugger")
3981 (description
3982 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3983 of running programs and invoke methods on those interfaces.")
3984 (license license:gpl2+)))
3985
3986 (define-public yelp-xsl
3987 (package
3988 (name "yelp-xsl")
3989 (version "3.20.1")
3990 (source (origin
3991 (method url-fetch)
3992 (uri (string-append "mirror://gnome/sources/" name "/"
3993 (version-major+minor version) "/"
3994 name "-" version ".tar.xz"))
3995 (sha256
3996 (base32
3997 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3998 (build-system gnu-build-system)
3999 (native-inputs
4000 `(("intltool" ,intltool)
4001 ("itstool" ,itstool)
4002 ("xmllint" ,libxml2)))
4003 (home-page "https://wiki.gnome.org/Apps/Yelp")
4004 (synopsis "XSL stylesheets for Yelp")
4005 (description
4006 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4007 to format Docbook and Mallard documents.")
4008 (license license:gpl2+)))
4009
4010 (define-public yelp
4011 (package
4012 (name "yelp")
4013 (version "3.22.0")
4014 (source (origin
4015 (method url-fetch)
4016 (uri (string-append "mirror://gnome/sources/" name "/"
4017 (version-major+minor version) "/"
4018 name "-" version ".tar.xz"))
4019 (sha256
4020 (base32
4021 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4022 (build-system glib-or-gtk-build-system)
4023 (native-inputs
4024 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4025 ("intltool" ,intltool)
4026 ("itstool" ,itstool)
4027 ("pkg-config" ,pkg-config)))
4028 (propagated-inputs
4029 `(("dconf" ,dconf)))
4030 (inputs
4031 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4032 ("libxslt" ,libxslt)
4033 ("sqlite" ,sqlite)
4034 ("webkitgtk" ,webkitgtk)
4035 ("yelp-xsl" ,yelp-xsl)))
4036 (home-page "https://wiki.gnome.org/Apps/Yelp")
4037 (synopsis "GNOME help browser")
4038 (description
4039 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4040 man, info, and HTML documents. It can locate documents according to the
4041 freedesktop.org help system specification.")
4042 (license license:gpl2+)))
4043
4044 (define-public yelp-tools
4045 (package
4046 (name "yelp-tools")
4047 (version "3.18.0")
4048 (source (origin
4049 (method url-fetch)
4050 (uri (string-append "mirror://gnome/sources/" name "/"
4051 (version-major+minor version) "/"
4052 name "-" version ".tar.xz"))
4053 (sha256
4054 (base32
4055 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4056 (build-system gnu-build-system)
4057 (native-inputs
4058 `(("pkg-config" ,pkg-config)))
4059 (propagated-inputs
4060 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4061 `(("itstool" ,itstool)
4062 ("xmllint" ,libxml2)
4063 ("xsltproc" ,libxslt)))
4064 (inputs
4065 `(("yelp-xsl" ,yelp-xsl)))
4066 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4067 (synopsis "Yelp documentation tools")
4068 (description
4069 "Yelp-tools is a collection of scripts and build utilities to help create,
4070 manage, and publish documentation for Yelp and the web. Most of the heavy
4071 lifting is done by packages like yelp-xsl and itstool. This package just
4072 wraps things up in a developer-friendly way.")
4073 (license license:gpl2+)))
4074
4075 (define-public libgee
4076 (package
4077 (name "libgee")
4078 (version "0.20.0")
4079 (source (origin
4080 (method url-fetch)
4081 (uri (string-append "mirror://gnome/sources/" name "/"
4082 (version-major+minor version) "/"
4083 name "-" version ".tar.xz"))
4084 (sha256
4085 (base32
4086 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
4087 (build-system gnu-build-system)
4088 (arguments
4089 `(#:phases
4090 (modify-phases %standard-phases
4091 (add-after 'unpack 'fix-introspection-install-dir
4092 (lambda* (#:key outputs #:allow-other-keys)
4093 (let ((out (assoc-ref outputs "out")))
4094 (substitute* "gee/Makefile.in"
4095 (("@INTROSPECTION_GIRDIR@")
4096 (string-append out "/share/gir-1.0/"))
4097 (("@INTROSPECTION_TYPELIBDIR@")
4098 (string-append out "/lib/girepository-1.0/")))))))))
4099 (native-inputs
4100 `(("glib" ,glib "bin")
4101 ("pkg-config" ,pkg-config)))
4102 (inputs
4103 `(("glib" ,glib)
4104 ("gobject-introspection" ,gobject-introspection)))
4105 (home-page "https://wiki.gnome.org/Projects/Libgee")
4106 (synopsis "GObject collection library")
4107 (description
4108 "Libgee is a utility library providing GObject-based interfaces and
4109 classes for commonly used data structures.")
4110 (license license:lgpl2.1+)))
4111
4112 (define-public gexiv2
4113 (package
4114 (name "gexiv2")
4115 (version "0.10.6")
4116 (source (origin
4117 (method url-fetch)
4118 (uri (string-append "mirror://gnome/sources/" name "/"
4119 (version-major+minor version) "/"
4120 name "-" version ".tar.xz"))
4121 (sha256
4122 (base32
4123 "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk"))))
4124 (build-system gnu-build-system)
4125 (native-inputs
4126 `(("glib" ,glib "bin")
4127 ("pkg-config" ,pkg-config)))
4128 (propagated-inputs
4129 ;; Listed in "Requires" section of gexiv2.pc
4130 `(("exiv2" ,exiv2)))
4131 (inputs
4132 `(("glib" ,glib)
4133 ("gobject-introspection" ,gobject-introspection)))
4134 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4135 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4136 (description
4137 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4138 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4139 metadata in photo and video files of various formats.")
4140 (license license:gpl2+)))
4141
4142 (define-public shotwell
4143 (package
4144 (name "shotwell")
4145 (version "0.26.1")
4146 (source (origin
4147 (method url-fetch)
4148 (uri (string-append "mirror://gnome/sources/" name "/"
4149 (version-major+minor version) "/"
4150 name "-" version ".tar.xz"))
4151 (sha256
4152 (base32
4153 "0xak1f69lp1yx3p8jgmr9c0z3jypi8zjpy3kiknn5n9g2f5cqq0a"))))
4154 (build-system glib-or-gtk-build-system)
4155 (propagated-inputs
4156 `(("dconf" ,dconf)))
4157 (native-inputs
4158 `(("pkg-config" ,pkg-config)
4159 ("itstool" ,itstool)
4160 ("gettext" ,gettext-minimal)
4161 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4162 ("itstool" ,itstool)
4163 ("vala" ,vala)))
4164 (inputs
4165 `(("glib:bin" ,glib "bin")
4166 ("gstreamer" ,gstreamer)
4167 ("gst-plugins-base" ,gst-plugins-base)
4168 ("libgdata" ,libgdata)
4169 ("libgee" ,libgee)
4170 ("gexiv2" ,gexiv2)
4171 ("libraw" ,libraw)
4172 ("json-glib" ,json-glib)
4173 ("webkitgtk" ,webkitgtk)
4174 ("sqlite" ,sqlite)
4175 ("libsoup" ,libsoup)
4176 ("libxml2" ,libxml2)
4177 ("libgudev" ,libgudev)
4178 ("libgphoto2" ,libgphoto2)
4179 ("gcr" ,gcr)))
4180 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4181 (synopsis "Photo manager for GNOME 3")
4182 (description
4183 "Shotwell is a digital photo manager designed for the GNOME desktop
4184 environment. It allows you to import photos from disk or camera, organize
4185 them by keywords and events, view them in full-window or fullscreen mode, and
4186 share them with others via social networking and more.")
4187 (license license:lgpl2.1+)))
4188
4189 (define-public file-roller
4190 (package
4191 (name "file-roller")
4192 (version "3.24.1")
4193 (source (origin
4194 (method url-fetch)
4195 (uri (string-append "mirror://gnome/sources/" name "/"
4196 (version-major+minor version) "/"
4197 name "-" version ".tar.xz"))
4198 (sha256
4199 (base32
4200 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
4201 (build-system glib-or-gtk-build-system)
4202 (arguments
4203 '(#:phases
4204 (modify-phases %standard-phases
4205 (add-before 'install 'skip-gtk-update-icon-cache
4206 (lambda _
4207 ;; Don't create 'icon-theme.cache'
4208 (substitute* (find-files "data" "^Makefile$")
4209 (("gtk-update-icon-cache") (which "true")))
4210 #t)))))
4211 (native-inputs
4212 `(("intltool" ,intltool)
4213 ("pkg-config" ,pkg-config)))
4214 ;; TODO: Add libnautilus.
4215 (inputs
4216 `(("gtk+" ,gtk+)
4217 ("gdk-pixbuf" ,gdk-pixbuf)
4218 ("json-glib" ,json-glib)
4219 ("libarchive" ,libarchive)
4220 ("libnotify" ,libnotify)
4221 ("nettle" ,nettle)
4222 ("itstool" ,itstool)
4223 ("libxml2" ,libxml2)))
4224 (synopsis "Graphical archive manager for GNOME")
4225 (description "File Roller is an archive manager for the GNOME desktop
4226 environment that allows users to view, unpack, and create compressed archives
4227 such as gzip tarballs.")
4228 (home-page "http://fileroller.sourceforge.net/")
4229 (license license:gpl2+)))
4230
4231 (define-public gnome-session
4232 (package
4233 (name "gnome-session")
4234 (version "3.24.1")
4235 (source (origin
4236 (method url-fetch)
4237 (uri (string-append "mirror://gnome/sources/" name "/"
4238 (version-major+minor version) "/"
4239 name "-" version ".tar.xz"))
4240 (sha256
4241 (base32
4242 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4243 (arguments
4244 '(#:phases
4245 (modify-phases %standard-phases
4246 (add-before 'configure 'pre-configure
4247 (lambda* (#:key outputs #:allow-other-keys)
4248 ;; Use elogind instead of systemd.
4249 (substitute* "configure"
4250 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4251 "libelogind")
4252 (("systemd") "elogind"))
4253 (substitute* "gnome-session/gsm-systemd.c"
4254 (("#include <systemd/sd-login.h>")
4255 "#include <elogind/sd-login.h>"))
4256 ;; Remove uses of the systemd journal.
4257 (substitute* "gnome-session/main.c"
4258 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4259 (substitute* "gnome-session/gsm-manager.c"
4260 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4261 (substitute* "gnome-session/gsm-autostart-app.c"
4262 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4263 #t))
4264 (add-after 'install 'wrap-gnome-session
4265 (lambda* (#:key inputs outputs #:allow-other-keys)
4266 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4267 (let ((glib (assoc-ref inputs "glib:bin"))
4268 (out (assoc-ref outputs "out")))
4269 (wrap-program (string-append out "/bin/gnome-session")
4270 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4271 #t)))
4272 (add-after 'install 'disable-hardware-acceleration-check
4273 (lambda* (#:key outputs #:allow-other-keys)
4274 ;; Do not abort if hardware acceleration is missing. This allows
4275 ;; GNOME to run in QEMU and on low-end devices.
4276 (let ((out (assoc-ref outputs "out")))
4277 (substitute* (string-append out
4278 "/share/xsessions/gnome.desktop")
4279 (("gnome-session")
4280 "gnome-session --disable-acceleration-check"))
4281 #t))))
4282
4283 #:configure-flags
4284 '("--enable-elogind")))
4285 (build-system glib-or-gtk-build-system)
4286 (native-inputs
4287 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4288 ("pkg-config" ,pkg-config)
4289 ("intltool" ,intltool)
4290 ("xsltproc" ,libxslt)))
4291 (inputs
4292 `(("elogind" ,elogind)
4293 ("gnome-desktop" ,gnome-desktop)
4294 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4295 ("gtk+" ,gtk+)
4296 ("json-glib" ,json-glib)
4297 ("libsm" ,libsm)
4298 ("libxcomposite" ,libxcomposite)
4299 ("libxtst" ,libxtst)
4300 ("mesa" ,mesa)
4301 ("upower" ,upower)
4302 ("xtrans" ,xtrans)))
4303 (synopsis "Session manager for GNOME")
4304 (description
4305 "This package contains the GNOME session manager, as well as a
4306 configuration program to choose applications starting on login.")
4307 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4308 (license license:gpl2+)))
4309
4310 (define-public gjs
4311 (package
4312 (name "gjs")
4313 (version "1.48.3")
4314 (source (origin
4315 (method url-fetch)
4316 (uri (string-append "mirror://gnome/sources/" name "/"
4317 (version-major+minor version) "/"
4318 name "-" version ".tar.xz"))
4319 (sha256
4320 (base32
4321 "0cqgv460wfhwkw6j1h46v6bg29bycg6dfl7c5rv0lfcqmmw7v6v6"))))
4322 (build-system gnu-build-system)
4323 (arguments
4324 '(#:phases
4325 (modify-phases %standard-phases
4326 (add-before
4327 'check 'pre-check
4328 (lambda _
4329 ;; The test suite requires a running X server.
4330 (system "Xvfb :1 &")
4331 (setenv "DISPLAY" ":1")
4332
4333 ;; For the missing /etc/machine-id.
4334 (setenv "DBUS_FATAL_WARNINGS" "0")
4335
4336 ;; Our mozjs-38 package does not compile the required Intl API
4337 ;; support for these failing tests.
4338 (substitute* "installed-tests/js/testLocale.js"
4339 ((".*toBeDefined.*") "")
4340 ((".*expect\\(datestr\\).*") ""))
4341 #t)))))
4342 (native-inputs
4343 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4344 ("pkg-config" ,pkg-config)
4345 ("xmllint" ,libxml2)
4346 ;; For testing
4347 ("dbus-launch" ,dbus)
4348 ("uuidgen" ,util-linux)
4349 ("xvfb" ,xorg-server)))
4350 (propagated-inputs
4351 ;; These are all in the Requires.private field of gjs-1.0.pc.
4352 `(("cairo" ,cairo)
4353 ("gobject-introspection" ,gobject-introspection)
4354 ("mozjs" ,mozjs-38)))
4355 (inputs
4356 `(("gtk+" ,gtk+)
4357 ("readline" ,readline)))
4358 (synopsis "Javascript bindings for GNOME")
4359 (home-page "http://live.gnome.org/Gjs")
4360 (description
4361 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4362 javascript engine and the GObject introspection framework.")
4363 (license license:gpl2+)))
4364
4365 (define-public gedit
4366 (package
4367 (name "gedit")
4368 (version "3.22.0")
4369 (source (origin
4370 (method url-fetch)
4371 (uri (string-append "mirror://gnome/sources/" name "/"
4372 (version-major+minor version) "/"
4373 name "-" version ".tar.xz"))
4374 (sha256
4375 (base32
4376 "0i9z5d31vibb3dd329gwvyga38zq5k1a2glcdq7m93ycbl5mlfq6"))))
4377 (build-system glib-or-gtk-build-system)
4378 (arguments
4379 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4380 #:phases
4381 (modify-phases %standard-phases
4382 (add-after
4383 'install 'wrap-gedit
4384 (lambda* (#:key inputs outputs #:allow-other-keys)
4385 (let ((out (assoc-ref outputs "out"))
4386 (gtksourceview (assoc-ref inputs "gtksourceview"))
4387 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4388 (python-path (getenv "PYTHONPATH")))
4389 (wrap-program (string-append out "/bin/gedit")
4390 ;; For plugins.
4391 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4392 `("PYTHONPATH" ":" prefix (,python-path))
4393 ;; For language-specs.
4394 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4395 "/share")))))
4396 #t)))))
4397 (propagated-inputs
4398 `(("dconf" ,dconf)))
4399 (native-inputs
4400 `(("intltool" ,intltool)
4401 ("itstool" ,itstool)
4402 ("gobject-introspection" ,gobject-introspection)
4403 ("pkg-config" ,pkg-config)))
4404 (inputs
4405 `(("glib" ,glib)
4406 ("gtk+" ,gtk+)
4407 ("gtksourceview" ,gtksourceview)
4408 ("libpeas" ,libpeas)
4409 ("libxml2" ,libxml2)
4410 ("iso-codes" ,iso-codes)
4411 ("python-pygobject" ,python-pygobject)
4412 ("python" ,python)
4413 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4414 ("libx11" ,libx11)
4415 ("vala" ,vala)
4416 ("adwaita-icon-theme" ,adwaita-icon-theme)
4417 ("libsoup" ,libsoup)
4418 ("gnome-desktop" ,gnome-desktop)))
4419 (home-page "https://wiki.gnome.org/Apps/Gedit")
4420 (synopsis "GNOME text editor")
4421 (description "While aiming at simplicity and ease of use, gedit is a
4422 powerful general purpose text editor.")
4423 (license license:gpl2+)))
4424
4425 (define-public zenity
4426 (package
4427 (name "zenity")
4428 (version "3.24.0")
4429 (source (origin
4430 (method url-fetch)
4431 (uri (string-append "mirror://gnome/sources/" name "/"
4432 (version-major+minor version) "/"
4433 name "-" version ".tar.xz"))
4434 (sha256
4435 (base32
4436 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4437 (build-system gnu-build-system)
4438 (native-inputs
4439 `(("gettext" ,gettext-minimal)
4440 ("itstool" ,itstool)
4441 ("pkg-config" ,pkg-config)))
4442 (inputs
4443 `(("libnotify" ,libnotify)
4444 ("webkitgtk" ,webkitgtk)))
4445 (synopsis "Display graphical dialog boxes from shell scripts")
4446 (home-page "http://www.gnome.org")
4447 (description
4448 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4449 to display dialog boxes from the commandline and shell scripts.")
4450 (license license:lgpl2.0+)))
4451
4452 (define-public mutter
4453 (package
4454 (name "mutter")
4455 (version "3.24.2")
4456 (source (origin
4457 (method url-fetch)
4458 (uri (string-append "mirror://gnome/sources/" name "/"
4459 (version-major+minor version) "/"
4460 name "-" version ".tar.xz"))
4461 (sha256
4462 (base32
4463 "043q3384vwrkjdfhbwn9pwdml6z0g0ad0cj2fjnjzg6402i67071"))))
4464 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4465 ;; versions of cogl and clutter. As a result, many of the inputs,
4466 ;; propagated-inputs, and configure flags used in cogl and clutter are
4467 ;; needed here as well.
4468 (build-system gnu-build-system)
4469 (arguments
4470 '(#:configure-flags
4471 ;; XXX: build fails with [-Werror]:
4472 ;; backends/meta-cursor-renderer.c:112:5: error:
4473 ;; implicit declaration of function ?roundf?
4474 (list "--enable-compile-warnings=minimum"
4475
4476 "--enable-native-backend"
4477
4478 ;; The following flags are needed for the bundled clutter
4479 "--enable-x11-backend=yes"
4480
4481 ;; the remaining flags are needed for the bundled cogl
4482 "--enable-cogl-gst"
4483 (string-append "--with-gl-libname="
4484 (assoc-ref %build-inputs "mesa")
4485 "/lib/libGL.so"))
4486 #:phases
4487 (modify-phases %standard-phases
4488 ;; Replace references to systemd libraries to elogind references.
4489 (add-before 'configure 'use-elogind
4490 (lambda _
4491 (substitute* (list "configure"
4492 "src/backends/native/meta-launcher.c"
4493 "src/core/main.c")
4494 (("systemd") "elogind"))
4495 #t)))))
4496 (native-inputs
4497 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4498 ("gobject-introspection" ,gobject-introspection)
4499 ("intltool" ,intltool)
4500 ("pkg-config" ,pkg-config)
4501 ;; For git build
4502 ("autoconf" ,autoconf)
4503 ("automake" ,automake)
4504 ("libtool" ,libtool)))
4505 (propagated-inputs
4506 `(;; libmutter.pc refers to these:
4507 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4508 ("gtk+" ,gtk+)
4509 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4510 ("atk" ,atk)
4511 ("cairo" ,cairo)
4512 ("gdk-pixbuf" ,gdk-pixbuf)
4513 ("glib" ,glib)
4514 ("glib" ,glib)
4515 ("gtk+" ,gtk+)
4516 ("json-glib" ,json-glib)
4517 ("libinput" ,libinput)
4518 ("libx11" ,libx11)
4519 ("libxcomposite" ,libxcomposite)
4520 ("libxdamage" ,libxdamage)
4521 ("libxext" ,libxext)
4522 ("libxfixes" ,libxfixes)
4523 ("libxkbcommon" ,libxkbcommon)
4524 ("libxrandr" ,libxrandr)
4525 ("mesa" ,mesa)
4526 ("pango" ,pango)
4527 ("udev" ,eudev)
4528 ("xinput" ,xinput)))
4529 (inputs
4530 `(("elogind" ,elogind)
4531 ("gnome-desktop" ,gnome-desktop)
4532 ("libcanberra-gtk" ,libcanberra)
4533 ("libgudev" ,libgudev)
4534 ("libice" ,libice)
4535 ("libsm" ,libsm)
4536 ("libxkbfile" ,libxkbfile)
4537 ("libxrandr" ,libxrandr)
4538 ("libxtst" ,libxtst)
4539 ("startup-notification" ,startup-notification)
4540 ("upower-glib" ,upower)
4541 ("xkeyboard-config" ,xkeyboard-config)
4542 ("zenity" ,zenity)))
4543 (synopsis "Window and compositing manager")
4544 (home-page "http://www.gnome.org")
4545 (description
4546 "Mutter is a window and compositing manager that displays and manages your
4547 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4548 Clutter toolkit with solid window-management logic inherited from the Metacity
4549 window manager.")
4550 (license license:gpl2+)))
4551
4552 (define-public gnome-online-accounts
4553 (package
4554 (name "gnome-online-accounts")
4555 (version "3.24.1")
4556 (source (origin
4557 (method url-fetch)
4558 (uri (string-append "mirror://gnome/sources/" name "/"
4559 (version-major+minor version) "/"
4560 name "-" version ".tar.xz"))
4561 (sha256
4562 (base32
4563 "0lgniqmkr6ffdw3kcqd34lvp969j2q2qzcy30zkzl5c09r7anc0a"))))
4564 (build-system glib-or-gtk-build-system)
4565 (native-inputs
4566 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4567 ("gobject-introspection" ,gobject-introspection)
4568 ("intltool" ,intltool)
4569 ("pkg-config" ,pkg-config)
4570 ("xsltproc" ,libxslt)))
4571 (propagated-inputs
4572 `(("glib" ,glib) ; required by goa-1.0.pc
4573 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4574 (inputs
4575 `(("docbook-xsl" ,docbook-xsl)
4576 ("json-glib" ,json-glib)
4577 ("libsecret" ,libsecret)
4578 ("rest" ,rest)
4579 ("telepathy-glib" ,telepathy-glib)
4580 ("webkitgtk" ,webkitgtk)))
4581 (synopsis "Single sign-on framework for GNOME")
4582 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4583 (description
4584 "GNOME Online Accounts provides interfaces so that applications and
4585 libraries in GNOME can access the user's online accounts. It has providers for
4586 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4587 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4588 (license license:lgpl2.0+)))
4589
4590 (define-public evolution-data-server
4591 (package
4592 (name "evolution-data-server")
4593 (version "3.24.3")
4594 (source (origin
4595 (method url-fetch)
4596 (uri (string-append "mirror://gnome/sources/" name "/"
4597 (version-major+minor version) "/"
4598 name "-" version ".tar.xz"))
4599 (sha256
4600 (base32
4601 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
4602 (build-system cmake-build-system)
4603 (arguments
4604 '(;; XXX FIXME: 11/85 tests are failing.
4605 #:tests? #f
4606 #:configure-flags
4607 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4608 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4609 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4610 "-DENABLE_VALA_BINDINGS=ON"
4611 "-DENABLE_INTROSPECTION=ON") ;required for Vala bindings
4612 #:phases
4613 (modify-phases %standard-phases
4614 (add-after 'unpack 'patch-paths
4615 (lambda _
4616 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4617 (("/bin/rm") (which "rm")))
4618 #t)))))
4619 (native-inputs
4620 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4621 ("gobject-introspection" ,gobject-introspection)
4622 ("gperf" ,gperf)
4623 ("intltool" ,intltool)
4624 ("pkg-config" ,pkg-config)
4625 ("vala" ,vala)
4626 ("python" ,python-wrapper)))
4627 (propagated-inputs
4628 ;; These are all in the Requires field of .pc files.
4629 `(("gtk+" ,gtk+)
4630 ("libical" ,libical)
4631 ("libsecret" ,libsecret)
4632 ("libsoup" ,libsoup)
4633 ("nss" ,nss)
4634 ("sqlite" ,sqlite)))
4635 (inputs
4636 `(("bdb" ,bdb)
4637 ("gcr" ,gcr)
4638 ("gnome-online-accounts" ,gnome-online-accounts)
4639 ("libgweather" ,libgweather)
4640 ("mit-krb5" ,mit-krb5)
4641 ("openldap" ,openldap)))
4642 (synopsis "Store address books and calendars")
4643 (home-page "https://wiki.gnome.org/Apps/Evolution")
4644 (description
4645 "This package provides a unified backend for programs that work with
4646 contacts, tasks, and calendar information. It was originally developed for
4647 Evolution (hence the name), but is now used by other packages as well.")
4648 (license license:lgpl2.0)))
4649
4650 (define-public caribou
4651 (package
4652 (name "caribou")
4653 (version "0.4.21")
4654 (source (origin
4655 (method url-fetch)
4656 (uri (string-append "mirror://gnome/sources/" name "/"
4657 (version-major+minor version) "/"
4658 name "-" version ".tar.xz"))
4659 (sha256
4660 (base32
4661 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
4662 (build-system glib-or-gtk-build-system)
4663 (arguments
4664 '(#:phases
4665 (modify-phases %standard-phases
4666 (add-before
4667 'build 'pre-build
4668 (lambda* (#:key outputs #:allow-other-keys)
4669 (let ((out (assoc-ref outputs "out")))
4670 ;; Use absolute shared library path in Caribou-1.0.typelib.
4671 (substitute* "libcaribou/Makefile"
4672 (("--shared-library=libcaribou.so")
4673 (string-append "--shared-library="
4674 out "/lib/libcaribou.so")))
4675 #t)))
4676 (add-after 'install 'wrap-programs
4677 (lambda* (#:key outputs #:allow-other-keys)
4678 (let* ((out (assoc-ref outputs "out"))
4679 (python-path (getenv "PYTHONPATH"))
4680 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4681 (for-each
4682 (lambda (prog)
4683 (wrap-program prog
4684 `("PYTHONPATH" ":" prefix (,python-path))
4685 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4686 (list (string-append out "/bin/caribou-preferences")
4687 (string-append out "/libexec/antler-keyboard"))))
4688 #t)))))
4689 (native-inputs
4690 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4691 ("gobject-introspection" ,gobject-introspection)
4692 ("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4695 ("vala" ,vala)
4696 ("xsltproc" ,libxslt)))
4697 (propagated-inputs
4698 ;; caribou-1.0.pc refers to all these.
4699 `(("libgee" ,libgee)
4700 ("libxklavier" ,libxklavier)
4701 ("libxtst" ,libxtst)
4702 ("gtk+" ,gtk+)))
4703 (inputs
4704 `(("clutter" ,clutter)
4705 ("dconf" ,dconf)
4706 ("gtk+-2" ,gtk+-2)
4707 ("python-pygobject" ,python2-pygobject)))
4708 (synopsis "Text entry and UI navigation application")
4709 (home-page "https://wiki.gnome.org/Projects/Caribou")
4710 (description
4711 "Caribou is an input assistive technology intended for switch and pointer
4712 users.")
4713 (license license:lgpl2.1)))
4714
4715 (define-public network-manager
4716 (package
4717 (name "network-manager")
4718 (version "1.8.0")
4719 (source (origin
4720 (method url-fetch)
4721 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4722 (version-major+minor version) "/"
4723 "NetworkManager-" version ".tar.xz"))
4724 (sha256
4725 (base32
4726 "17pn7kzilyl0qk525gp9xnbz4x0ssrdmgk1lvw95pyfd6rm5qnps"))
4727 (snippet
4728 '(begin
4729 (use-modules (guix build utils))
4730 (substitute* "configure"
4731 ;; Replace libsystemd-login with libelogind.
4732 (("libsystemd-login") "libelogind"))
4733 (substitute* "src/devices/wwan/nm-modem-manager.c"
4734 (("systemd") "elogind"))
4735 (substitute* "src/nm-session-monitor.c"
4736 (("systemd") "elogind"))
4737 (substitute* "./src/nm-logging.c"
4738 (("systemd") "elogind"))))))
4739 (build-system gnu-build-system)
4740 (outputs '("out"
4741 "doc")) ; 8 MiB of gtk-doc HTML
4742 (arguments
4743 '(#:configure-flags
4744 (let ((out (assoc-ref %outputs "out"))
4745 (doc (assoc-ref %outputs "doc"))
4746 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4747 "/sbin/dhclient")))
4748 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4749 "--with-consolekit=no"
4750 "--with-crypto=gnutls"
4751 "--disable-config-plugin-ibft"
4752 "--sysconfdir=/etc"
4753 "--localstatedir=/var"
4754 (string-append "--with-udev-dir="
4755 out "/lib/udev")
4756 (string-append "--with-dbus-sys-dir="
4757 out "/etc/dbus-1/system.d")
4758 (string-append "--with-html-dir="
4759 doc "/share/gtk-doc/html")
4760 (string-append "--with-dhclient=" dhclient)))
4761 #:phases
4762 (modify-phases %standard-phases
4763 (add-before 'configure 'pre-configure
4764 (lambda _
4765 ;; These tests try to test aspects of network-manager's
4766 ;; functionality within restricted containers, but they don't
4767 ;; cope with being already in the Guix build jail as that jail
4768 ;; lacks some features that they would like to proxy over (like
4769 ;; a /sys mount).
4770 (substitute* '("Makefile.in")
4771 (("src/platform/tests/test-address-linux") " ")
4772 (("src/platform/tests/test-cleanup-linux") " ")
4773 (("src/platform/tests/test-link-linux") " ")
4774 (("src/platform/tests/test-route-linux") " ")
4775 (("src/devices/tests/test-arping") " ")
4776 (("src/devices/tests/test-lldp") " ")
4777 (("src/tests/test-route-manager-linux") " "))
4778 #t))
4779 (add-before 'check 'pre-check
4780 (lambda _
4781 ;; For the missing /etc/machine-id.
4782 (setenv "DBUS_FATAL_WARNINGS" "0")
4783 #t))
4784 (replace 'install
4785 (lambda _
4786 (zero? (system* "make"
4787 "sysconfdir=/tmp"
4788 "rundir=/tmp"
4789 "statedir=/tmp"
4790 "nmstatedir=/tmp/nm"
4791 "install")))))))
4792 (propagated-inputs
4793 `(("glib" ,glib)))
4794 (native-inputs
4795 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4796 ("gobject-introspection" ,gobject-introspection)
4797 ("docbook-xsl" ,docbook-xsl)
4798 ("intltool" ,intltool)
4799 ("libxslt" ,libxslt)
4800 ("libxml2" ,libxml2)
4801 ("pkg-config" ,pkg-config)
4802 ;; For testing.
4803 ("python" ,python-wrapper)
4804 ("python-dbus" ,python-dbus)
4805 ("python-pygobject" ,python-pygobject)))
4806 (inputs
4807 `(("curl" ,curl)
4808 ("cyrus-sasl" ,cyrus-sasl)
4809 ("dbus-glib" ,dbus-glib)
4810 ("dnsmasq" ,dnsmasq)
4811 ("eudev" ,eudev)
4812 ("gnutls" ,gnutls)
4813 ("iptables" ,iptables)
4814 ("isc-dhcp" ,isc-dhcp)
4815 ("jansson" ,jansson)
4816 ("libgcrypt" ,libgcrypt)
4817 ("libgudev" ,libgudev)
4818 ("libndp" ,libndp)
4819 ("libnl" ,libnl)
4820 ("libsoup" ,libsoup)
4821 ("modem-manager" ,modem-manager)
4822 ("polkit" ,polkit)
4823 ("ppp" ,ppp)
4824 ("readline" ,readline)
4825 ("util-linux" ,util-linux)
4826 ("elogind" ,elogind)))
4827 (synopsis "Network connection manager")
4828 (home-page "http://www.gnome.org/projects/NetworkManager/")
4829 (description
4830 "NetworkManager is a system network service that manages your network
4831 devices and connections, attempting to keep active network connectivity when
4832 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4833 devices, and provides VPN integration with a variety of different VPN
4834 services.")
4835 (license license:gpl2+)
4836 (properties '((upstream-name . "NetworkManager")))))
4837
4838 (define-public mobile-broadband-provider-info
4839 (package
4840 (name "mobile-broadband-provider-info")
4841 (version "20151214")
4842 (source (origin
4843 (method url-fetch)
4844 (uri (string-append
4845 "mirror://gnome/sources/"
4846 "mobile-broadband-provider-info/" version "/"
4847 "mobile-broadband-provider-info-" version ".tar.xz"))
4848 (sha256
4849 (base32
4850 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4851 (build-system gnu-build-system)
4852 (arguments
4853 `(#:tests? #f)) ; No tests
4854 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4855 (synopsis "Database of broadband connection configuration")
4856 (description "Database of broadband connection configuration.")
4857 (license license:public-domain)))
4858
4859 (define-public network-manager-applet
4860 (package
4861 (name "network-manager-applet")
4862 (version "1.8.2")
4863 (source (origin
4864 (method url-fetch)
4865 (uri (string-append "mirror://gnome/sources/" name "/"
4866 (version-major+minor version) "/"
4867 name "-" version ".tar.xz"))
4868 (sha256
4869 (base32
4870 "09f9hjpn9nkhw57mk6pi7q1bq3lhf5hvmwas0fknscssak7yjmry"))))
4871 (build-system glib-or-gtk-build-system)
4872 (arguments '(#:configure-flags '("--disable-migration")))
4873 (native-inputs
4874 `(("intltool" ,intltool)
4875 ("gobject-introspection" ,gobject-introspection)
4876 ("pkg-config" ,pkg-config)))
4877 (propagated-inputs
4878 ;; libnm-gtk.pc refers to all these.
4879 `(("dbus-glib" ,dbus-glib)
4880 ("gtk+" ,gtk+)
4881 ("network-manager" ,network-manager)))
4882 (inputs
4883 `(("iso-codes" ,iso-codes)
4884 ("libgudev" ,libgudev)
4885 ("libnotify" ,libnotify)
4886 ("libsecret" ,libsecret)
4887 ("libselinux" ,libselinux)
4888 ("jansson" ,jansson) ; for team support
4889 ("modem-manager" ,modem-manager)))
4890 (synopsis "Applet for managing network connections")
4891 (home-page "http://www.gnome.org/projects/NetworkManager/")
4892 (description
4893 "This package contains a systray applet for NetworkManager. It displays
4894 the available networks and allows users to easily switch between them.")
4895 (license license:gpl2+)))
4896
4897 (define-public libxml++
4898 (package
4899 (name "libxml++")
4900 (version "3.0.1")
4901 (source (origin
4902 (method url-fetch)
4903 (uri (string-append "mirror://gnome/sources/" name "/"
4904 (version-major+minor version) "/"
4905 name "-" version ".tar.xz"))
4906 (sha256
4907 (base32
4908 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
4909 (build-system gnu-build-system)
4910 ;; libxml++-3.0.pc refers to all these.
4911 (propagated-inputs
4912 `(("libxml2" ,libxml2)
4913 ("glibmm" ,glibmm)))
4914 (native-inputs
4915 `(("perl" ,perl)
4916 ("pkg-config" ,pkg-config)))
4917 (home-page "http://libxmlplusplus.sourceforge.net/")
4918 (synopsis "C++ wrapper for XML parser library libxml2")
4919 (description
4920 "This package provides a C++ wrapper for the XML parser library
4921 libxml2.")
4922 (license license:lgpl2.1+)))
4923
4924 (define-public libxml++-2
4925 (package
4926 (inherit libxml++)
4927 (name "libxml++")
4928 (version "2.40.1")
4929 (source (origin
4930 (method url-fetch)
4931 (uri (string-append "mirror://gnome/sources/" name "/"
4932 (version-major+minor version) "/"
4933 name "-" version ".tar.xz"))
4934 (sha256
4935 (base32
4936 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4937
4938 (define-public gdm
4939 (package
4940 (name "gdm")
4941 (version "3.24.2")
4942 (source (origin
4943 (method url-fetch)
4944 (uri (string-append "mirror://gnome/sources/" name "/"
4945 (version-major+minor version) "/"
4946 name "-" version ".tar.xz"))
4947 (sha256
4948 (base32
4949 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
4950 (build-system gnu-build-system)
4951 (arguments
4952 '(#:configure-flags
4953 '("--without-plymouth")
4954 #:phases
4955 (modify-phases %standard-phases
4956 (add-before
4957 'configure 'pre-configure
4958 (lambda _
4959 ;; We don't have <systemd/sd-daemon.h>.
4960 (substitute* '("common/gdm-log.c"
4961 "daemon/gdm-server.c"
4962 "daemon/gdm-session-worker.c"
4963 "daemon/gdm-session-worker-job.c")
4964 (("#include <systemd/sd-daemon\\.h>") ""))
4965 ;; Use elogind for sd-login.
4966 (substitute* '("common/gdm-common.c"
4967 "daemon/gdm-manager.c"
4968 "libgdm/gdm-user-switching.c")
4969 (("#include <systemd/sd-login\\.h>")
4970 "#include <elogind/sd-login.h>"))
4971 ;; Avoid checking SYSTEMD using pkg-config.
4972 (setenv "SYSTEMD_CFLAGS" " ")
4973 (setenv "SYSTEMD_LIBS" "-lelogind")
4974 #t)))))
4975 (native-inputs
4976 `(("dconf" ,dconf)
4977 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4978 ("gobject-introspection" ,gobject-introspection)
4979 ("intltool" ,intltool)
4980 ("itstool" ,itstool)
4981 ("pkg-config" ,pkg-config)
4982 ("xmllint" ,libxml2)))
4983 (inputs
4984 `(("accountsservice" ,accountsservice)
4985 ("check" ,check) ; for testing
4986 ("elogind" ,elogind)
4987 ("gtk+" ,gtk+)
4988 ("iso-codes" ,iso-codes)
4989 ("libcanberra" ,libcanberra)
4990 ("linux-pam" ,linux-pam)))
4991 (synopsis "Display manager for GNOME")
4992 (home-page "http://wiki.gnome.org/Projects/GDM/")
4993 (description
4994 "GNOME Display Manager is a system service that is responsible for
4995 providing graphical log-ins and managing local and remote displays.")
4996 (license license:gpl2+)))
4997
4998 (define-public libgtop
4999 (package
5000 (name "libgtop")
5001 (version "2.36.0")
5002 (source (origin
5003 (method url-fetch)
5004 (uri (string-append "mirror://gnome/sources/" name "/"
5005 (version-major+minor version) "/"
5006 name "-" version ".tar.xz"))
5007 (sha256
5008 (base32
5009 "0ax17c7nplghxgsf8zl92nmhkbnggj62wwzl7nq00aqb2m6f7gqk"))))
5010 (build-system gnu-build-system)
5011 (native-inputs
5012 `(("gobject-introspection" ,gobject-introspection)
5013 ("intltool" ,intltool)
5014 ("perl" ,perl)
5015 ("pkg-config" ,pkg-config)))
5016 (propagated-inputs
5017 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5018 (synopsis "Portable system access library")
5019 (home-page "https://www.gnome.org/")
5020 (description
5021 "LibGTop is a library to get system specific data such as CPU and memory
5022 usage and information about running processes.")
5023 (license license:gpl2+)))
5024
5025 (define-public gnome-bluetooth
5026 (package
5027 (name "gnome-bluetooth")
5028 (version "3.20.1")
5029 (source (origin
5030 (method url-fetch)
5031 (uri (string-append "mirror://gnome/sources/" name "/"
5032 (version-major+minor version) "/"
5033 name "-" version ".tar.xz"))
5034 (sha256
5035 (base32
5036 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5037 (build-system glib-or-gtk-build-system)
5038 (native-inputs
5039 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5040 ("gobject-introspection" ,gobject-introspection)
5041 ("intltool" ,intltool)
5042 ("pkg-config" ,pkg-config)
5043 ("xmllint" ,libxml2)))
5044 (propagated-inputs
5045 ;; gnome-bluetooth-1.0.pc refers to all these.
5046 `(("gtk+" ,gtk+)
5047 ("udev" ,eudev)))
5048 (inputs
5049 `(("libcanberra" ,libcanberra)
5050 ("libnotify" ,libnotify)))
5051 (synopsis "GNOME Bluetooth subsystem")
5052 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5053 (description
5054 "This package contains tools for managing and manipulating Bluetooth
5055 devices using the GNOME desktop.")
5056 (license license:lgpl2.1+)))
5057
5058 (define-public gnome-control-center
5059 (package
5060 (name "gnome-control-center")
5061 (version "3.24.2")
5062 (source (origin
5063 (method url-fetch)
5064 (uri (string-append "mirror://gnome/sources/" name "/"
5065 (version-major+minor version) "/"
5066 name "-" version ".tar.xz"))
5067 (sha256
5068 (base32
5069 "0awga40jh6gvn335mn6kyl6yg79frap1znrsz3sw2m27yldlnaiq"))))
5070 (build-system glib-or-gtk-build-system)
5071 (arguments
5072 '(#:phases
5073 (modify-phases %standard-phases
5074 (add-before 'configure 'patch-paths
5075 (lambda* (#:key inputs #:allow-other-keys)
5076 (let ((libc (assoc-ref inputs "libc"))
5077 (tzdata (assoc-ref inputs "tzdata")))
5078 (substitute* "panels/datetime/tz.h"
5079 (("/usr/share/zoneinfo/zone.tab")
5080 (string-append tzdata "/share/zoneinfo/zone.tab")))
5081 (substitute* "panels/datetime/test-endianess.c"
5082 (("/usr/share/locale")
5083 (string-append libc "/share/locale")))
5084 #t))))))
5085 (native-inputs
5086 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5087 ("intltool" ,intltool)
5088 ("pkg-config" ,pkg-config)
5089 ("xsltproc" ,libxslt)))
5090 (inputs
5091 `(("accountsservice" ,accountsservice)
5092 ("clutter-gtk" ,clutter-gtk)
5093 ("colord-gtk" ,colord-gtk)
5094 ("cups" ,cups)
5095 ("dconf" ,dconf)
5096 ("docbook-xsl" ,docbook-xsl)
5097 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5098 ("gnome-bluetooth" ,gnome-bluetooth)
5099 ("gnome-desktop" ,gnome-desktop)
5100 ("gnome-online-accounts" ,gnome-online-accounts)
5101 ("gnome-settings-daemon" ,gnome-settings-daemon)
5102 ("grilo" ,grilo)
5103 ("ibus" ,ibus)
5104 ("libcanberra" ,libcanberra)
5105 ("libgudev" ,libgudev)
5106 ("libgtop" ,libgtop)
5107 ("libpwquality" ,libpwquality)
5108 ("libsoup" ,libsoup)
5109 ("libxml2" ,libxml2)
5110 ("libwacom" ,libwacom)
5111 ("mesa" ,mesa)
5112 ("mit-krb5" ,mit-krb5)
5113 ("modem-manager" ,modem-manager)
5114 ("network-manager-applet" ,network-manager-applet)
5115 ("polkit" ,polkit)
5116 ("pulseaudio" ,pulseaudio)
5117 ("smbclient" ,samba)
5118 ("tzdata" ,tzdata)
5119 ("upower" ,upower)))
5120 (synopsis "Utilities to configure the GNOME desktop")
5121 (home-page "https://www.gnome.org/")
5122 (description
5123 "This package contains configuration applets for the GNOME desktop,
5124 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5125 properties, sound setup, desktop theme and background, user interface
5126 properties, screen resolution, and other GNOME parameters.")
5127 (license license:gpl2+)))
5128
5129 (define-public gnome-shell
5130 (package
5131 (name "gnome-shell")
5132 (version "3.24.2")
5133 (source (origin
5134 (method url-fetch)
5135 (uri (string-append "mirror://gnome/sources/" name "/"
5136 (version-major+minor version) "/"
5137 name "-" version ".tar.xz"))
5138 (sha256
5139 (base32
5140 "1xp2ccmdrvzlczsrcplykwqwx2v4lbmkr0rxyylb06danlw9mivh"))))
5141 (build-system glib-or-gtk-build-system)
5142 (arguments
5143 '(#:phases
5144 (modify-phases %standard-phases
5145 (replace 'install
5146 (lambda* (#:key outputs #:allow-other-keys)
5147 (let* ((out (assoc-ref outputs "out"))
5148 (keysdir (string-append
5149 out "/share/gnome-control-center/keybindings")))
5150 (zero? (system* "make"
5151 (string-append "keysdir=" keysdir)
5152 "install")))))
5153 (add-after
5154 'install 'wrap-programs
5155 (lambda* (#:key outputs #:allow-other-keys)
5156 (let ((out (assoc-ref outputs "out"))
5157 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5158 (python-path (getenv "PYTHONPATH")))
5159 (wrap-program (string-append out "/bin/gnome-shell")
5160 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5161 (for-each
5162 (lambda (prog)
5163 (wrap-program (string-append out "/bin/" prog)
5164 `("PYTHONPATH" ":" prefix (,python-path))
5165 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5166 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5167 #t))))))
5168 (native-inputs
5169 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5170 ("gobject-introspection" ,gobject-introspection)
5171 ("intltool" ,intltool)
5172 ("pkg-config" ,pkg-config)
5173 ("python" ,python)
5174 ("xsltproc" ,libxslt)))
5175 (inputs
5176 `(("accountsservice" ,accountsservice)
5177 ("caribou" ,caribou)
5178 ("docbook-xsl" ,docbook-xsl)
5179 ("evolution-data-server" ,evolution-data-server)
5180 ("gcr" ,gcr)
5181 ("gdm" ,gdm)
5182 ("gjs" ,gjs)
5183 ("gnome-bluetooth" ,gnome-bluetooth)
5184 ("gnome-control-center" ,gnome-control-center)
5185 ("gnome-desktop" ,gnome-desktop)
5186 ("gnome-settings-daemon" ,gnome-settings-daemon)
5187 ("gst-plugins-base" ,gst-plugins-base)
5188 ("ibus" ,ibus)
5189 ("libcanberra" ,libcanberra)
5190 ("libcroco" ,libcroco)
5191 ("libgweather" ,libgweather)
5192 ("libsoup" ,libsoup)
5193 ("mesa-headers" ,mesa-headers)
5194 ("mutter" ,mutter)
5195 ("network-manager-applet" ,network-manager-applet)
5196 ("polkit" ,polkit)
5197 ("pulseaudio" ,pulseaudio)
5198 ("python-pygobject" ,python-pygobject)
5199 ("startup-notification" ,startup-notification)
5200 ("telepathy-logger" ,telepathy-logger)
5201 ("upower" ,upower)
5202 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5203 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5204 ("librsvg" ,librsvg)
5205 ("geoclue" ,geoclue)
5206 ;; XXX: required by libgjs.la.
5207 ("readline" ,readline)))
5208 (synopsis "Desktop shell for GNOME")
5209 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5210 (description
5211 "GNOME Shell provides core user interface functions for the GNOME desktop,
5212 like switching to windows and launching applications.")
5213 (license license:gpl2+)))
5214
5215 (define-public gtk-vnc
5216 (package
5217 (name "gtk-vnc")
5218 (version "0.7.0")
5219 (source
5220 (origin
5221 (method url-fetch)
5222 (uri (string-append "mirror://gnome/sources/" name "/"
5223 (version-major+minor version) "/"
5224 name "-" version ".tar.xz"))
5225 (sha256
5226 (base32
5227 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
5228 (build-system gnu-build-system)
5229 (arguments
5230 '(#:configure-flags '("--with-gtk=3.0")))
5231 (propagated-inputs
5232 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5233 (inputs
5234 `(("cyrus-sasl" ,cyrus-sasl)
5235 ("gnutls" ,gnutls)
5236 ("libgcrypt" ,libgcrypt)
5237 ("pulseaudio" ,pulseaudio)))
5238 (native-inputs
5239 `(("glib:bin" ,glib "bin")
5240 ("gobject-introspection" ,gobject-introspection)
5241 ("intltool" ,intltool)
5242 ("pkg-config" ,pkg-config)
5243 ("vala" ,vala)))
5244 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5245 (synopsis "VNC viewer widget for GTK+")
5246 (description
5247 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5248 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5249 GTK-VNC implements client side RFB protocol and authentication extensions such
5250 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5251 (license license:lgpl2.1+)))
5252
5253 (define-public gnome-autoar
5254 (package
5255 (name "gnome-autoar")
5256 (version "0.2.2")
5257 (source (origin
5258 (method url-fetch)
5259 (uri (string-append "mirror://gnome/sources/" name "/"
5260 (version-major+minor version) "/"
5261 name "-" version ".tar.xz"))
5262 (sha256
5263 (base32
5264 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
5265 (build-system glib-or-gtk-build-system)
5266 (native-inputs
5267 `(("gnome-common" ,gnome-common)
5268 ("gobject-introspection" ,gobject-introspection)
5269 ("pkg-config" ,pkg-config)))
5270 (propagated-inputs
5271 `(("libarchive" ,libarchive))) ; XXX document why
5272 (inputs
5273 `(("gtk+" ,gtk+)
5274 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5275 (synopsis "Archives integration support for GNOME")
5276 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5277 (description
5278 "GNOME Autoar is a library which makes creating and extracting archives
5279 easy, safe, and automatic.")
5280 (license license:lgpl2.1+)))
5281
5282 (define-public tracker
5283 (package
5284 (name "tracker")
5285 (version "1.12.0")
5286 (source (origin
5287 (method url-fetch)
5288 (uri (string-append "mirror://gnome/sources/" name "/"
5289 (version-major+minor version) "/"
5290 name "-" version ".tar.xz"))
5291 (sha256
5292 (base32
5293 "0vsrzzkcfvmylhpk1ww6xdx8z9sgjs0gn74gz82qngjyq3c3s6c3"))))
5294 (build-system glib-or-gtk-build-system)
5295 (native-inputs
5296 `(("gnome-common" ,gnome-common)
5297 ("gobject-introspection" ,gobject-introspection)
5298 ("intltool" ,intltool)
5299 ("pkg-config" ,pkg-config)
5300 ("vala" ,vala)))
5301 (inputs
5302 `(("gtk+" ,gtk+)
5303 ("dbus" ,dbus)
5304 ("gstreamer" ,gstreamer)
5305 ("gst-plugins-base" ,gst-plugins-base)
5306 ("sqlite" ,sqlite)
5307 ("nettle" ,nettle) ; XXX why is this needed?
5308 ("poppler" ,poppler)
5309 ("libgsf" ,libgsf)
5310 ("libexif" ,libexif)
5311 ("libpng" ,libpng)
5312 ("libtiff" ,libtiff)
5313 ("libvorbis" ,libvorbis)
5314 ("flac" ,flac)
5315 ("totem-pl-parser" ,totem-pl-parser)
5316 ("zlib" ,zlib)
5317 ("exempi" ,exempi)
5318 ("libxml2" ,libxml2)
5319 ("upower" ,upower)
5320 ("libunistring" ,libunistring)
5321 ("giflib" ,giflib)
5322 ("json-glib" ,json-glib)
5323 ("openjpeg" ,openjpeg-1)
5324 ("libosinfo" ,libosinfo)
5325 ("libcue" ,libcue)
5326 ("libseccomp" ,libseccomp)
5327 ("libsoup" ,libsoup)
5328 ("libuuid" ,util-linux)))
5329 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5330 (synopsis "Metadata database, indexer and search tool")
5331 (home-page "https://wiki.gnome.org/Projects/Tracker")
5332 (description
5333 "Tracker is an advanced framework for first class objects with associated
5334 metadata and tags. It provides a one stop solution for all metadata, tags,
5335 shared object databases, search tools and indexing.")
5336 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5337 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5338 (license (list license:gpl2+
5339 license:lgpl2.1+
5340 license:lgpl2.0+))))
5341
5342 (define-public nautilus
5343 (package
5344 (name "nautilus")
5345 (version "3.24.1")
5346 (source (origin
5347 (method url-fetch)
5348 (uri (string-append "mirror://gnome/sources/" name "/"
5349 (version-major+minor version) "/"
5350 name "-" version ".tar.xz"))
5351 (sha256
5352 (base32
5353 "1cn6bmzmahzlwcd4gllsvx6dva386xm3papgzpv1r34abw73sf27"))))
5354 (build-system glib-or-gtk-build-system)
5355 (arguments
5356 '(#:configure-flags
5357 '("--disable-selinux") ; XXX: not packaged
5358 ;; XXX: FAIL: check-nautilus
5359 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5360 #:tests? #f))
5361 (native-inputs
5362 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5363 ("gobject-introspection" ,gobject-introspection)
5364 ("intltool" ,intltool)
5365 ("pkg-config" ,pkg-config)))
5366 (inputs
5367 `(("dconf" ,dconf)
5368 ("gvfs" ,gvfs)
5369 ("exempi" ,exempi)
5370 ("gnome-desktop" ,gnome-desktop)
5371 ("gnome-autoar" ,gnome-autoar)
5372 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5373 ("tracker" ,tracker)
5374 ;; XXX: gtk+ is required by libnautilus-extension.pc
5375 ;;
5376 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5377 ;; package. See:
5378 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5379 ("gtk+" ,gtk+)
5380 ("libexif" ,libexif)
5381 ("libxml2" ,libxml2)))
5382 (synopsis "File manager for GNOME")
5383 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5384 (description
5385 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5386 design and behaviour, giving the user a simple way to navigate and manage its
5387 files.")
5388 (license license:gpl2+)))
5389
5390 (define-public baobab
5391 (package
5392 (name "baobab")
5393 (version "3.24.0")
5394 (source (origin
5395 (method url-fetch)
5396 (uri (string-append
5397 "mirror://gnome/sources/" name "/"
5398 (version-major+minor version) "/"
5399 name "-" version ".tar.xz"))
5400 (sha256
5401 (base32
5402 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
5403 (build-system glib-or-gtk-build-system)
5404 (native-inputs
5405 `(("intltool" ,intltool)
5406 ("pkg-config" ,pkg-config)
5407 ("itstool" ,itstool)
5408 ("xmllint" ,libxml2)
5409 ("glib" ,glib "bin")
5410 ("vala" ,vala)))
5411 (inputs
5412 `(("gtk+" ,gtk+)))
5413 (synopsis "Disk usage analyzer for GNOME")
5414 (description
5415 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5416 usage in the GNOME desktop environment. It can easily scan device volumes or
5417 a specific user-requested directory branch (local or remote). Once the scan
5418 is complete it provides a graphical representation of each selected folder.")
5419 (home-page "https://wiki.gnome.org/Apps/Baobab")
5420 (license license:gpl2+)))
5421
5422 (define-public gnome-backgrounds
5423 (package
5424 (name "gnome-backgrounds")
5425 (version "3.24.0")
5426 (source
5427 (origin
5428 (method url-fetch)
5429 (uri (string-append "mirror://gnome/sources/" name "/"
5430 (version-major+minor version) "/"
5431 name "-" version ".tar.xz"))
5432 (sha256
5433 (base32
5434 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
5435 (build-system glib-or-gtk-build-system)
5436 (native-inputs
5437 `(("intltool" ,intltool)))
5438 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5439 (synopsis "Background images for the GNOME desktop")
5440 (description
5441 "GNOME backgrounds package contains a collection of graphics files which
5442 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5443 the package creates the proper framework and directory structure so that you
5444 can add your own files to the collection.")
5445 (license (list license:gpl2+
5446 license:cc-by2.0
5447 license:cc-by-sa2.0
5448 license:cc-by-sa3.0))))
5449
5450 (define-public gnome-screenshot
5451 (package
5452 (name "gnome-screenshot")
5453 (version "3.22.0")
5454 (source
5455 (origin
5456 (method url-fetch)
5457 (uri (string-append "mirror://gnome/sources/" name "/"
5458 (version-major+minor version) "/"
5459 name "-" version ".tar.xz"))
5460 (sha256
5461 (base32
5462 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5463 (build-system glib-or-gtk-build-system)
5464 (native-inputs
5465 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5466 ("intltool" ,intltool)
5467 ("pkg-config" ,pkg-config)))
5468 (inputs
5469 `(("gtk+" ,gtk+)
5470 ("libcanberra" ,libcanberra)
5471 ("libx11" ,libx11)
5472 ("libxext" ,libxext)))
5473 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5474 (synopsis "Take pictures of your screen")
5475 (description
5476 "GNOME Screenshot is a utility used for taking screenshots of the entire
5477 screen, a window or a user defined area of the screen, with optional
5478 beautifying border effects.")
5479 (license license:gpl2+)))
5480
5481 (define-public dconf-editor
5482 (package
5483 (name "dconf-editor")
5484 (version "3.22.3")
5485 (source
5486 (origin
5487 (method url-fetch)
5488 (uri (string-append "mirror://gnome/sources/" name "/"
5489 (version-major+minor version) "/"
5490 name "-" version ".tar.xz"))
5491 (sha256
5492 (base32
5493 "1939yq3fl55c2dqkc6nzp6cbpxq9sli74gdj0rj7c50pwvbngwam"))))
5494 (build-system glib-or-gtk-build-system)
5495 (arguments
5496 '(#:phases
5497 (modify-phases %standard-phases
5498 (add-before 'install 'skip-gtk-update-icon-cache
5499 (lambda _
5500 ;; Don't create 'icon-theme.cache'.
5501 (substitute* "editor/Makefile"
5502 (("gtk-update-icon-cache") "true"))
5503 #t)))))
5504 (native-inputs
5505 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5506 ("intltool" ,intltool)
5507 ("pkg-config" ,pkg-config)))
5508 (inputs
5509 `(("dconf" ,dconf)
5510 ("gtk+" ,gtk+)
5511 ("libxml2" ,libxml2)))
5512 (home-page "https://git.gnome.org/browse/dconf-editor")
5513 (synopsis "Graphical editor for GNOME's dconf configuration system")
5514 (description
5515 "Dconf-editor is a graphical tool for browsing and editing the dconf
5516 configuration system for GNOME. It allows users to configure desktop
5517 software that do not provide their own configuration interface.")
5518 (license license:lgpl2.1+)))
5519
5520 (define-public gnome
5521 (package
5522 (name "gnome")
5523 (version (package-version gnome-shell))
5524 (source #f)
5525 (build-system trivial-build-system)
5526 (arguments '(#:builder (mkdir %output)))
5527 (propagated-inputs
5528 ;; TODO: Add more packages according to:
5529 ;; <https://packages.debian.org/jessie/gnome-core>.
5530 `(("adwaita-icon-theme" ,adwaita-icon-theme)
5531 ("baobab" ,baobab)
5532 ("font-cantarell" ,font-cantarell)
5533 ("at-spi2-core" ,at-spi2-core)
5534 ("dbus" ,dbus)
5535 ("dconf" ,dconf)
5536 ("desktop-file-utils" ,desktop-file-utils)
5537 ("eog" ,eog)
5538 ("epiphany" ,epiphany)
5539 ("evince" ,evince)
5540 ("file-roller" ,file-roller)
5541 ("gedit" ,gedit)
5542 ("glib-networking" ,glib-networking)
5543 ("gnome-backgrounds" ,gnome-backgrounds)
5544 ("gnome-control-center" ,gnome-control-center)
5545 ("gnome-keyring" ,gnome-keyring)
5546 ("gnome-session" ,gnome-session)
5547 ("gnome-settings-daemon" ,gnome-settings-daemon)
5548 ("gnome-shell" ,gnome-shell)
5549 ("gnome-terminal" ,gnome-terminal)
5550 ("gnome-themes-standard" ,gnome-themes-standard)
5551 ("gvfs" ,gvfs)
5552 ("hicolor-icon-theme" ,hicolor-icon-theme)
5553 ("nautilus" ,nautilus)
5554 ("pinentry-gnome3" ,pinentry-gnome3)
5555 ("pulseaudio" ,pulseaudio)
5556 ("shared-mime-info" ,shared-mime-info)
5557 ("totem" ,totem)
5558 ("yelp" ,yelp)
5559 ("zenity" ,zenity)))
5560 (synopsis "The GNU desktop environment")
5561 (home-page "https://www.gnome.org/")
5562 (description
5563 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5564 applications for browsing the web, editing text and images, creating
5565 documents and diagrams, playing media, scanning, and much more.")
5566 (license license:gpl2+)))
5567
5568 (define-public byzanz
5569 ;; The last stable release of Byzanz was in 2011, but there have been many
5570 ;; useful commits made to the Byzanz repository since then that it would be
5571 ;; silly to use such an old release.
5572 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5573 (package
5574 (name "byzanz")
5575 (version (string-append "0.2-1." (string-take commit 7)))
5576 (source (origin
5577 (method git-fetch)
5578 (uri (git-reference
5579 (url "git://git.gnome.org/byzanz")
5580 (commit commit)))
5581 (file-name (string-append name "-" version "-checkout"))
5582 (sha256
5583 (base32
5584 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5585 (build-system glib-or-gtk-build-system)
5586 (arguments
5587 '(#:phases
5588 (modify-phases %standard-phases
5589 (add-after 'unpack 'bootstrap
5590 (lambda _
5591 ;; The build system cleverly detects that we're not building from
5592 ;; a release tarball and turns on -Werror for GCC.
5593 ;; Unsurprisingly, there is a warning during compilation that
5594 ;; causes the build to fail unnecessarily, so we remove the flag.
5595 (substitute* '("configure.ac")
5596 (("-Werror") ""))
5597 ;; The autogen.sh script in gnome-common will run ./configure
5598 ;; by default, which is problematic because source shebangs
5599 ;; have not yet been patched.
5600 (setenv "NOCONFIGURE" "t")
5601 (zero? (system* "sh" "autogen.sh")))))))
5602 (native-inputs
5603 `(("autoconf" ,autoconf)
5604 ("automake" ,automake)
5605 ("gnome-common" ,gnome-common)
5606 ("intltool" ,intltool)
5607 ("libtool" ,libtool)
5608 ("pkg-config" ,pkg-config)
5609 ("which" ,which)))
5610 (inputs
5611 `(("glib" ,glib)
5612 ("gstreamer" ,gstreamer)
5613 ("gst-plugins-base" ,gst-plugins-base)
5614 ("gtk+" ,gtk+)))
5615 (synopsis "Desktop recording program")
5616 (description "Byzanz is a simple desktop recording program with a
5617 command-line interface. It can record part or all of an X display for a
5618 specified duration and save it as a GIF encoded animated image file.")
5619 (home-page "https://git.gnome.org/browse/byzanz")
5620 (license license:gpl2+))))
5621
5622 (define-public libzapojit
5623 (package
5624 (name "libzapojit")
5625 (version "0.0.3")
5626 (source (origin
5627 (method url-fetch)
5628 (uri (string-append "mirror://gnome/sources/" name "/"
5629 (version-major+minor version) "/"
5630 name "-" version ".tar.xz"))
5631 (sha256
5632 (base32
5633 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5634 (build-system gnu-build-system)
5635 (native-inputs
5636 `(("gobject-introspection" ,gobject-introspection)
5637 ("intltool" ,intltool)
5638 ("pkg-config" ,pkg-config)))
5639 (inputs
5640 `(("gnome-online-accounts" ,gnome-online-accounts)
5641 ("json-glib" ,json-glib)
5642 ("rest" ,rest)))
5643 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5644 (synopsis "Library for accessing SkyDrive and Hotmail")
5645 (description
5646 "Libzapojit is a GLib-based library for accessing online service APIs of
5647 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5648 (license license:lgpl2.1+)))
5649
5650 (define-public gnome-calendar
5651 (package
5652 (name "gnome-calendar")
5653 (version "3.24.3")
5654 (source (origin
5655 (method url-fetch)
5656 (uri (string-append "mirror://gnome/sources/" name "/"
5657 (version-major+minor version) "/"
5658 name "-" version ".tar.xz"))
5659 (sha256
5660 (base32
5661 "1v7k1wcl5yg9bd4l0rz0z03h32d35zgfp4qzz21widjcyis41jry"))))
5662 (build-system glib-or-gtk-build-system)
5663 (native-inputs
5664 `(("intltool" ,intltool)
5665 ("pkg-config" ,pkg-config)))
5666 (inputs
5667 `(("bdb" ,bdb)
5668 ("desktop-file-utils" ,desktop-file-utils)
5669 ("evolution-data-server" ,evolution-data-server)
5670 ("gnome-online-accounts" ,gnome-online-accounts)
5671 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
5672 (home-page "https://wiki.gnome.org/Apps/Calendar")
5673 (synopsis "GNOME's calendar application")
5674 (description
5675 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5676 desktop. It supports multiple calendars, monthly view and yearly view.")
5677 (license license:gpl3+)))
5678
5679 (define-public gnome-dictionary
5680 (package
5681 (name "gnome-dictionary")
5682 (version "3.24.0")
5683 (source (origin
5684 (method url-fetch)
5685 (uri (string-append "mirror://gnome/sources/" name "/"
5686 (version-major+minor version) "/"
5687 name "-" version ".tar.xz"))
5688 (sha256
5689 (base32
5690 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
5691 (build-system glib-or-gtk-build-system)
5692 (native-inputs
5693 `(("glib:bin" ,glib "bin")
5694 ("gobject-introspection" ,gobject-introspection)
5695 ("intltool" ,intltool)
5696 ("itstool" ,itstool)
5697 ("pkg-config" ,pkg-config)
5698 ("xmllint" ,libxml2)))
5699 (inputs
5700 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5701 ("gtk+" ,gtk+)))
5702 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5703 (synopsis "Look up words in dictionary sources")
5704 (description
5705 "GNOME Dictionary can look for the definition or translation of a word in
5706 existing databases over the internet.")
5707 (license license:gpl3+)))
5708
5709 (define-public gnome-tweak-tool
5710 (package
5711 (name "gnome-tweak-tool")
5712 (version "3.24.1")
5713 (source (origin
5714 (method url-fetch)
5715 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5716 (version-major+minor version) "/"
5717 "gnome-tweak-tool-" version ".tar.xz"))
5718 (patches (list
5719 (search-patch "gnome-tweak-tool-search-paths.patch")))
5720 (sha256
5721 (base32
5722 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
5723 (build-system glib-or-gtk-build-system)
5724 (arguments
5725 `(#:configure-flags '("--localstatedir=/tmp"
5726 "--sysconfdir=/tmp")
5727 #:imported-modules ((guix build python-build-system)
5728 ,@%glib-or-gtk-build-system-modules)
5729 #:phases (modify-phases %standard-phases
5730 (add-after 'install 'wrap-program
5731 (lambda* (#:key outputs #:allow-other-keys)
5732 (let ((out (assoc-ref outputs "out"))
5733 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5734 (wrap-program (string-append out "/bin/gnome-tweak-tool")
5735 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5736 #t))
5737 (add-after 'install 'wrap
5738 (@@ (guix build python-build-system) wrap)))))
5739 (native-inputs
5740 `(("intltool" ,intltool)
5741 ("pkg-config" ,pkg-config)))
5742 (inputs
5743 `(("python" ,python-2)
5744 ("python2-pygobject" ,python2-pygobject)
5745 ("gnome-desktop" ,gnome-desktop)
5746 ("libsoup" ,libsoup)
5747 ("libnotify" ,libnotify)
5748 ("gobject-introspection" ,gobject-introspection)
5749 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5750 ("gtk+" ,gtk+)))
5751 (synopsis "Customize advanced GNOME 3 options")
5752 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5753 (description
5754 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5755 GNOME 3. This includes things like the fonts used in user interface elements,
5756 alternative user interface themes, changes in window management behavior,
5757 GNOME Shell appearance and extension, etc.")
5758 (license license:gpl3+)))
5759
5760 (define-public gnome-shell-extensions
5761 (package
5762 (name "gnome-shell-extensions")
5763 (version "3.24.2")
5764 (source (origin
5765 (method url-fetch)
5766 (uri (string-append "mirror://gnome/sources/" name "/"
5767 (version-major+minor version) "/"
5768 name "-" version ".tar.xz"))
5769 (sha256
5770 (base32
5771 "10sg87wml5cmyk90pybnr6r942ba7173sl7yplhj2sfggp0wc74s"))))
5772 (build-system gnu-build-system)
5773 (arguments
5774 '(#:configure-flags '("--enable-extensions=all")))
5775 (native-inputs
5776 `(("intltool" ,intltool)
5777 ("pkg-config" ,pkg-config)))
5778 (propagated-inputs
5779 `(("glib" ,glib)
5780 ("glib" ,glib "bin")))
5781 (synopsis "Extensions for GNOME Shell")
5782 (description "GNOME Shell extensions modify and extend GNOME Shell
5783 functionality and behavior.")
5784 (home-page "https://extensions.gnome.org/")
5785 (license license:gpl3+)))
5786
5787 (define-public arc-theme
5788 (package
5789 (name "arc-theme")
5790 (version "20170302")
5791 (source (origin
5792 (method url-fetch)
5793 (uri (string-append "https://github.com/horst3180/arc-theme"
5794 "/archive/" version ".tar.gz"))
5795 (file-name (string-append name "-" version ".tar.gz"))
5796 (sha256
5797 (base32
5798 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
5799 (build-system gnu-build-system)
5800 (arguments
5801 '(#:phases
5802 (modify-phases %standard-phases
5803 (add-after 'unpack 'bootstrap
5804 (lambda _
5805 (zero? (system* "autoreconf" "-vif")))))))
5806 (native-inputs
5807 `(("autoconf" ,autoconf)
5808 ("automake" ,automake)
5809 ("pkg-config" ,pkg-config)))
5810 (inputs
5811 `(("gtk+" ,gtk+)))
5812 (synopsis "A flat GTK+ theme with transparent elements")
5813 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
5814 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5815 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5816 (home-page "https://github.com/horst3180/arc-theme")
5817 ;; No "or later" language found.
5818 (license license:gpl3)))
5819
5820 (define-public moka-icon-theme
5821 (package
5822 (name "moka-icon-theme")
5823 (version "5.3.5")
5824 (source (origin
5825 (method url-fetch)
5826 (uri (string-append "https://github.com/moka-project"
5827 "/moka-icon-theme/archive/v"
5828 version ".tar.gz"))
5829 (file-name (string-append name "-" version ".tar.gz"))
5830 (sha256
5831 (base32
5832 "062rab0ggmgb3y0d6b3k5d47wsadi28cdnyyr2vqbjhza01dglci"))))
5833 (build-system gnu-build-system)
5834 (arguments
5835 '(#:phases
5836 (modify-phases %standard-phases
5837 (add-after 'unpack 'patch-makefile.am
5838 (lambda _
5839 (substitute* '("Makefile.am")
5840 (("\\$\\(DESTDIR\\)/usr/share")
5841 "$(datadir)"))
5842 #t))
5843 (add-after 'patch-makefile.am 'bootstrap
5844 (lambda _
5845 (zero? (system* "autoreconf" "-vif")))))))
5846 (native-inputs
5847 `(("autoconf" ,autoconf)
5848 ("automake" ,automake)))
5849 (synopsis "Moka icon theme")
5850 (description "Moka is a stylized desktop icon set, designed to be clear,
5851 simple and consistent.")
5852 (home-page "http://snwh.org/moka")
5853 (license license:gpl3+)))
5854
5855 (define-public arc-icon-theme
5856 (package
5857 (name "arc-icon-theme")
5858 (version "20161122")
5859 (source (origin
5860 (method url-fetch)
5861 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5862 "/archive/" version ".tar.gz"))
5863 (file-name (string-append name "-" version ".tar.gz"))
5864 (sha256
5865 (base32
5866 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
5867 (build-system gnu-build-system)
5868 (arguments
5869 '(#:phases
5870 (modify-phases %standard-phases
5871 (add-after 'unpack 'bootstrap
5872 (lambda _
5873 (zero? (system* "autoreconf" "-vif")))))))
5874 (native-inputs
5875 `(("autoconf" ,autoconf)
5876 ("automake" ,automake)))
5877 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5878 (propagated-inputs
5879 `(("moka-icon-theme" ,moka-icon-theme)))
5880 (synopsis "Arc icon theme")
5881 (description "The Arc icon theme provides a set of icons matching the
5882 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5883 the Moka icon theme.")
5884 (home-page "https://github.com/horst3180/arc-icon-theme")
5885 (license license:gpl3+)))
5886
5887 (define-public folks
5888 (package
5889 (name "folks")
5890 (version "0.11.2")
5891 (source (origin
5892 (method url-fetch)
5893 (uri (string-append
5894 "mirror://gnome/sources/" name "/"
5895 (version-major+minor version) "/"
5896 name "-" version ".tar.xz"))
5897 (sha256
5898 (base32
5899 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5900 (build-system glib-or-gtk-build-system)
5901 (inputs
5902 `(("bdb" ,bdb)
5903 ("dbus-glib" ,dbus-glib)
5904 ("evolution-data-server" ,evolution-data-server)
5905 ("glib" ,glib)
5906 ("libgee" ,libgee)
5907 ("telepathy-glib" ,telepathy-glib)))
5908 (native-inputs
5909 `(("gobject-introspection" ,gobject-introspection)
5910 ("intltool" ,intltool)
5911 ("pkg-config" ,pkg-config)
5912 ("vala" ,vala)))
5913 (synopsis "Library to aggregate data about people")
5914 (description "Libfolks is a library that aggregates information about people
5915 from multiple sources (e.g., Telepathy connection managers for IM contacts,
5916 Evolution Data Server for local contacts, libsocialweb for web service contacts,
5917 etc.) to create metacontacts. It's written in Vala, which generates C code when
5918 compiled.")
5919 (home-page "https://wiki.gnome.org/Projects/Folks")
5920 (license license:lgpl2.1+)))
5921
5922 (define-public gfbgraph
5923 (package
5924 (name "gfbgraph")
5925 (version "0.2.3")
5926 (source (origin
5927 (method url-fetch)
5928 (uri (string-append
5929 "mirror://gnome/sources/" name "/"
5930 (version-major+minor version) "/"
5931 name "-" version ".tar.xz"))
5932 (sha256
5933 (base32
5934 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5935 (build-system glib-or-gtk-build-system)
5936 (arguments
5937 `(#:tests? #f ; Tests appear to require the network.
5938 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5939 #:configure-flags '("--disable-gtk-doc"
5940 "--disable-static"
5941 "--enable-introspection")))
5942 (native-inputs
5943 `(("pkg-config" ,pkg-config)
5944 ("gobject-introspection" ,gobject-introspection)))
5945 (inputs
5946 `(("json-glib" ,json-glib)
5947 ("gnome-online-accounts" ,gnome-online-accounts)
5948 ("rest" ,rest)))
5949 (synopsis "GLib/GObject wrapper for the Facebook API")
5950 (description "This library allows you to use the Facebook API from
5951 GLib/GObject code.")
5952 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5953 (license license:lgpl2.1+)))
5954
5955 (define-public libgnomekbd
5956 (package
5957 (name "libgnomekbd")
5958 (version "3.22.0.1")
5959 (source (origin
5960 (method url-fetch)
5961 (uri (string-append "mirror://gnome/sources/" name "/"
5962 (version-major+minor version) "/"
5963 name "-" version ".tar.xz"))
5964 (sha256
5965 (base32
5966 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
5967 (build-system gnu-build-system)
5968 (native-inputs
5969 `(("pkg-config" ,pkg-config)
5970 ("glib" ,glib "bin")
5971 ("intltool" ,intltool)))
5972 (propagated-inputs
5973 ;; Referred to in .h files and .pc.
5974 `(("glib" ,glib)
5975 ("gtk+" ,gtk+)
5976 ("libxklavier" ,libxklavier)))
5977 (home-page "https://www.gnome.org")
5978 (synopsis "GNOME keyboard configuration library")
5979 (description
5980 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5981 environment, which can notably display keyboard layouts.")
5982 (license license:lgpl2.0+)))
5983
5984 ;;; This package is no longer maintained:
5985 ;;; https://wiki.gnome.org/Attic/LibUnique
5986 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5987 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5988 (define-public libunique
5989 (package
5990 (name "libunique")
5991 (version "3.0.2")
5992 (source (origin
5993 (method url-fetch)
5994 (uri (string-append "mirror://gnome/sources/" name "/"
5995 (version-major+minor version) "/"
5996 name "-" version ".tar.xz"))
5997 (sha256
5998 (base32
5999 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6000 (build-system glib-or-gtk-build-system)
6001 (arguments
6002 `(#:configure-flags '("--disable-static"
6003 "--disable-dbus" ; use gdbus
6004 "--enable-introspection")))
6005 (native-inputs
6006 `(("pkg-config" ,pkg-config)
6007 ("gobject-introspection" ,gobject-introspection)
6008 ("glib:bin" ,glib "bin")
6009 ("gtk-doc" ,gtk-doc)))
6010 (propagated-inputs
6011 ;; Referred to in .h files and .pc.
6012 `(("gtk+" ,gtk+)))
6013 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6014 (synopsis "Library for writing single instance applications")
6015 (description
6016 "Libunique is a library for writing single instance applications. If you
6017 launch a single instance application twice, the second instance will either just
6018 quit or will send a message to the running instance. Libunique makes it easy to
6019 write this kind of application, by providing a base class, taking care of all
6020 the IPC machinery needed to send messages to a running instance, and also
6021 handling the startup notification side.")
6022 (license license:lgpl2.1+)))
6023
6024 (define-public gnome-calculator
6025 (package
6026 (name "gnome-calculator")
6027 (version "3.24.0")
6028 (source
6029 (origin
6030 (method url-fetch)
6031 (uri (string-append "mirror://gnome/sources/" name "/"
6032 (version-major+minor version) "/"
6033 name "-" version ".tar.xz"))
6034 (sha256
6035 (base32
6036 "041d40as8y0r5d0kk83dy842711zchydwwqh71kh1lpd373qlxa4"))))
6037 (build-system glib-or-gtk-build-system)
6038 (native-inputs
6039 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6040 ("intltool" ,intltool)
6041 ("itstool" ,itstool)
6042 ("pkg-config" ,pkg-config)))
6043 (inputs
6044 `(("gtksourceview" ,gtksourceview)
6045 ("libsoup" ,libsoup)
6046 ("mpc" ,mpc)
6047 ("mpfr" ,mpfr)))
6048 (home-page "https://wiki.gnome.org/Apps/Calculator")
6049 (synopsis "Desktop calculator")
6050 (description
6051 "Calculator is an application that solves mathematical equations and
6052 is suitable as a default application in a Desktop environment.")
6053 (license license:gpl3)))
6054
6055 (define-public xpad
6056 (package
6057 (name "xpad")
6058 (version "4.8.0")
6059 (source
6060 (origin
6061 (method url-fetch)
6062 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
6063 name "-" version ".tar.bz2"))
6064 (sha256
6065 (base32
6066 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
6067 (build-system gnu-build-system)
6068 (native-inputs
6069 `(("intltool" ,intltool)
6070 ("pkg-config" ,pkg-config)))
6071 (inputs
6072 `(("gtk+" ,gtk+)
6073 ("gtksourceview" ,gtksourceview)
6074 ("libsm" ,libsm)))
6075 (home-page "https://wiki.gnome.org/Apps/Xpad")
6076 (synopsis "Virtual sticky note")
6077 (description
6078 "Xpad is a sticky note that strives to be simple, fault tolerant,
6079 and customizable. Xpad consists of independent pad windows, each is
6080 basically a text box in which notes can be written.")
6081 (license license:gpl3+)))
6082
6083 (define-public gucharmap
6084 (package
6085 (name "gucharmap")
6086 (version "3.18.0")
6087 (source
6088 (origin
6089 (method url-fetch)
6090 (uri (string-append "mirror://gnome/sources/" name "/"
6091 (version-major+minor version) "/"
6092 name "-" version ".tar.xz"))
6093 (sha256
6094 (base32
6095 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6096 (build-system gnu-build-system)
6097 (native-inputs
6098 `(("desktop-file-utils" ,desktop-file-utils)
6099 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("intltool" ,intltool)
6102 ("itstool" ,itstool)
6103 ("pkg-config" ,pkg-config)))
6104 (inputs
6105 `(("gtk+" ,gtk+)
6106 ("xmllint" ,libxml2)))
6107 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6108 (synopsis "Unicode character picker and font browser")
6109 (description
6110 "This program allows you to browse through all the available Unicode
6111 characters and categories for the installed fonts, and to examine their
6112 detailed properties. It is an easy way to find the character you might
6113 only know by its Unicode name or code point.")
6114 (license license:gpl3+)))
6115
6116 (define-public bluefish
6117 (package
6118 (name "bluefish")
6119 (version "2.2.9")
6120 (source
6121 (origin
6122 (method url-fetch)
6123 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6124 name "-" version ".tar.gz"))
6125 (sha256
6126 (base32
6127 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
6128 (build-system gnu-build-system)
6129 (native-inputs
6130 `(("desktop-file-utils" ,desktop-file-utils)
6131 ("intltool" ,intltool)
6132 ("pkg-config" ,pkg-config)))
6133 (inputs
6134 `(("enchant" ,enchant)
6135 ("gtk+" ,gtk+)
6136 ("python" ,python-2)
6137 ("xmllint" ,libxml2)
6138 ("gucharmap" ,gucharmap)))
6139 (home-page "http://bluefish.openoffice.nl")
6140 (synopsis "Web development studio")
6141 (description
6142 "Bluefish is an editor targeted towards programmers and web developers,
6143 with many options to write web sites, scripts and other code.
6144 Bluefish supports many programming and markup languages.")
6145 (license license:gpl3+)))
6146
6147 (define-public gnome-system-monitor
6148 (package
6149 (name "gnome-system-monitor")
6150 (version "3.24.0")
6151 (source
6152 (origin
6153 (method url-fetch)
6154 (uri (string-append "mirror://gnome/sources/" name "/"
6155 (version-major+minor version) "/"
6156 name "-" version ".tar.xz"))
6157 (sha256
6158 (base32
6159 "1x3343hchkllj8wyifk844v8psi45kyjhphyd03fzahi4h34aay3"))))
6160 (build-system glib-or-gtk-build-system)
6161 (native-inputs
6162 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6163 ("intltool" ,intltool)
6164 ("itstool" ,itstool)
6165 ("libgtop" ,libgtop)
6166 ("pkg-config" ,pkg-config)))
6167 (inputs
6168 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6169 ("gtk+" ,gtk+)
6170 ("gtkmm" ,gtkmm)
6171 ("librsvg" ,librsvg)
6172 ("libxml2" ,libxml2)))
6173 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6174 (synopsis "Process viewer and system resource monitor for GNOME")
6175 (description
6176 "GNOME System Monitor is a GNOME process viewer and system monitor with
6177 an attractive, easy-to-use interface. It has features, such as a tree view
6178 for process dependencies, icons for processes, the ability to hide processes,
6179 graphical time histories of CPU/memory/swap usage and the ability to
6180 kill/reinice processes.")
6181 (license license:gpl2+)))
6182
6183 (define-public python-pyatspi
6184 (package
6185 (name "python-pyatspi")
6186 (version "2.24.0")
6187 (source (origin
6188 (method url-fetch)
6189 (uri (string-append
6190 "mirror://gnome/sources/pyatspi/"
6191 (version-major+minor version)
6192 "/pyatspi-" version ".tar.xz"))
6193 (sha256
6194 (base32
6195 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6196 (build-system gnu-build-system)
6197 (native-inputs
6198 `(("pkg-config" ,pkg-config)))
6199 (inputs
6200 `(("python" ,python)
6201 ("python-pygobject" ,python-pygobject)))
6202 (synopsis "Python client bindings for D-Bus AT-SPI")
6203 (home-page "https://wiki.linuxfoundation.org/accessibility\
6204 /atk/at-spi/at-spi_on_d-bus")
6205 (description
6206 "This package includes a python client library for the AT-SPI D-Bus
6207 accessibility infrastructure.")
6208 (license license:lgpl2.0)
6209 (properties '((upstream-name . "pyatspi")))))
6210
6211 (define-public orca
6212 (package
6213 (name "orca")
6214 (version "3.24.0")
6215 (source (origin
6216 (method url-fetch)
6217 (uri (string-append
6218 "mirror://gnome/sources/" name "/"
6219 (version-major+minor version) "/"
6220 name "-" version ".tar.xz"))
6221 (sha256
6222 (base32
6223 "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
6224 (build-system glib-or-gtk-build-system)
6225 (arguments
6226 '(#:phases
6227 (modify-phases %standard-phases
6228 (add-before 'configure 'qualify-xkbcomp
6229 (lambda* (#:key inputs #:allow-other-keys)
6230 (let ((xkbcomp (string-append
6231 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6232 (substitute* "src/orca/orca.py"
6233 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6234 #t))
6235 (add-after 'install 'wrap-orca
6236 (lambda* (#:key outputs #:allow-other-keys)
6237 (let* ((out (assoc-ref outputs "out"))
6238 (prog (string-append out "/bin/orca")))
6239 (wrap-program prog
6240 `("GI_TYPELIB_PATH" ":" prefix
6241 (,(getenv "GI_TYPELIB_PATH")))
6242 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6243 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6244 `("PYTHONPATH" ":" prefix
6245 (,(getenv "PYTHONPATH")))))
6246 #t)))))
6247 (native-inputs
6248 `(("intltool" ,intltool)
6249 ("itstool" ,itstool)
6250 ("pkg-config" ,pkg-config)
6251 ("xmllint" ,libxml2)))
6252 (inputs
6253 `(("at-spi2-atk" ,at-spi2-atk)
6254 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6255 ("gstreamer" ,gstreamer)
6256 ("gst-plugins-base" ,gst-plugins-base)
6257 ("gst-plugins-good" ,gst-plugins-good)
6258 ("gtk+" ,gtk+)
6259 ("python" ,python)
6260 ("python-pygobject" ,python-pygobject)
6261 ("python-pyatspi" ,python-pyatspi)
6262 ("python-speechd" ,speech-dispatcher)
6263 ("xkbcomp" ,xkbcomp)))
6264 (synopsis
6265 "Screen reader for individuals who are blind or visually impaired")
6266 (home-page "https://wiki.gnome.org/Projects/Orca")
6267 (description
6268 "Orca is a screen reader that provides access to the graphical desktop
6269 via speech and refreshable braille. Orca works with applications and toolkits
6270 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6271 (license license:lgpl2.1+)))
6272
6273 (define-public gspell
6274 (package
6275 (name "gspell")
6276 (version "1.4.1")
6277 (source (origin
6278 (method url-fetch)
6279 (uri (string-append "mirror://gnome/sources/" name "/"
6280 (version-major+minor version) "/"
6281 name "-" version ".tar.xz"))
6282 (sha256
6283 (base32
6284 "1ghh1xdzf04mfgb13zqpj88krpa44xv2vbyhm6k017kzrpz8hbs4"))
6285 (patches (search-patches "gspell-dash-test.patch"))))
6286 (build-system glib-or-gtk-build-system)
6287 (arguments
6288 '(#:phases
6289 (modify-phases %standard-phases
6290 (add-before 'check 'pre-check
6291 (lambda* (#:key inputs #:allow-other-keys)
6292 ;; Tests require a running X server.
6293 (system "Xvfb :1 &")
6294 (setenv "DISPLAY" ":1")
6295
6296 ;; For the missing /etc/machine-id.
6297 (setenv "DBUS_FATAL_WARNINGS" "0")
6298
6299 ;; Allow Enchant and its Aspell backend to find the en_US
6300 ;; dictionary.
6301 (setenv "ASPELL_DICT_DIR"
6302 (string-append (assoc-ref inputs "aspell-dict-en")
6303 "/lib/aspell"))
6304 #t)))))
6305 (inputs
6306 `(("enchant" ,enchant)
6307 ("iso-codes" ,iso-codes)
6308 ("gtk+" ,gtk+)
6309 ("glib" ,glib)))
6310 (native-inputs
6311 `(("glib" ,glib "bin")
6312 ("pkg-config" ,pkg-config)
6313 ("xmllint" ,libxml2)
6314
6315 ;; For tests.
6316 ("xorg-server" ,xorg-server)
6317 ("aspell-dict-en" ,aspell-dict-en)))
6318 (home-page "https://wiki.gnome.org/Projects/gspell")
6319 (synopsis "GNOME's alternative spell checker")
6320 (description
6321 "gspell provides a flexible API to add spell-checking to a GTK+
6322 application. It provides a GObject API, spell-checking to text entries and
6323 text views, and buttons to choose the language.")
6324 (license license:gpl2+)))
6325
6326 (define-public gnome-planner
6327 (package
6328 (name "gnome-planner")
6329 (version "0.14.6")
6330 (source (origin
6331 (method url-fetch)
6332 (uri (string-append "mirror://gnome/sources/planner/"
6333 (version-major+minor version) "/planner-"
6334 version ".tar.xz"))
6335 (sha256
6336 (base32
6337 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
6338 (build-system glib-or-gtk-build-system)
6339 (arguments
6340 ;; Disable the Python bindings because the Planner program functions
6341 ;; without them, and (as of 2017-06-13) we have not packaged all of
6342 ;; packages that are necessary for building the Python bindings.
6343 `(#:configure-flags
6344 (list "--disable-python"
6345 ,@(if (string=? "aarch64-linux" (%current-system))
6346 '("--build=aarch64-unknown-linux-gnu")
6347 '()))))
6348 (inputs
6349 `(("libgnomecanvas" ,libgnomecanvas)
6350 ("libgnomeui" ,libgnomeui)
6351 ("libglade" ,libglade)
6352 ("gnome-vfs" ,gnome-vfs)
6353 ("gconf" ,gconf)
6354 ("libxml2" ,libxml2)
6355 ("libxslt" ,libxslt)
6356 ("gtk+" ,gtk+)
6357 ("glib" ,glib)))
6358 (native-inputs
6359 `(("intltool" ,intltool)
6360 ("scrollkeeper" ,scrollkeeper)
6361 ("pkg-config" ,pkg-config)))
6362 (home-page "https://wiki.gnome.org/Apps/Planner")
6363 (synopsis "Project management software for the GNOME desktop")
6364 (description
6365 "GNOME Planner is a project management tool based on the Work Breakdown
6366 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6367 the resources, tasks, and constraints that you define, Planner generates
6368 various views into a project. For example, Planner can show a Gantt chart of
6369 the project. It can show a detailed summary of tasks including their
6370 duration, cost, and current progress. It can also show a report of resource
6371 utilization that highlights under-utilized and over-utilized resources. These
6372 views can be printed as PDF or PostScript files, or exported to HTML.")
6373 (license license:gpl2+)))