gnu: gcr: Enable working tests.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
89e34644 3;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
88f70665 9;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
49586905 11;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
8344a85e 12;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
5a6527e4 14;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
cc3bc027 15;;; Copyright © 2016, 2017 Rene Saavedra <rennes@openmailbox.org>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
adc5cb1b 17;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
277a7d82 18;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
a56be436 19;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
6064a4e8 20;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
71d9b980 21;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
3920868c 22;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
e5e1df4d 23;;; Copyright © 2016 David Craven <david@craven.ch>
d1e4ad1b 24;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
cce0da5e 25;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
d04687dc 26;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
b6821ee0 27;;; Copyright © 2017 nee <nee-git@hidamari.blue>
d1d739fa 28;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
995b7261
AE
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)
b5b73a82 46 #:use-module ((guix licenses) #:prefix license:)
995b7261
AE
47 #:use-module (guix packages)
48 #:use-module (guix download)
4a526711 49 #:use-module (guix git-download)
29a7c98a 50 #:use-module (guix utils)
743aebd7 51 #:use-module (guix build-system cmake)
995b7261 52 #:use-module (guix build-system gnu)
121de2e1 53 #:use-module (guix build-system glib-or-gtk)
dc050251 54 #:use-module (guix build-system trivial)
ed19903d 55 #:use-module (gnu packages)
ba5dd105 56 #:use-module (gnu packages admin)
411ba511 57 #:use-module (gnu packages aspell)
75016d07 58 #:use-module (gnu packages autotools)
7b212526 59 #:use-module (gnu packages avahi)
6a180f6f 60 #:use-module (gnu packages base)
5698b8b8 61 #:use-module (gnu packages bison)
df217748 62 #:use-module (gnu packages calendar)
df12f04a 63 #:use-module (gnu packages check)
23a22af6 64 #:use-module (gnu packages cups)
6e1bb642 65 #:use-module (gnu packages curl)
c3f29bc9 66 #:use-module (gnu packages cyrus-sasl)
6e1bb642 67 #:use-module (gnu packages databases)
c769cf9f 68 #:use-module (gnu packages djvu)
ba5dd105 69 #:use-module (gnu packages dns)
d1d739fa 70 #:use-module (gnu packages documentation)
121de2e1 71 #:use-module (gnu packages flex)
b4ce6300 72 #:use-module (gnu packages docbook)
329d731b 73 #:use-module (gnu packages enchant)
a56be436 74 #:use-module (gnu packages fontutils)
dfc407f3 75 #:use-module (gnu packages game-development)
fed5a689 76 #:use-module (gnu packages gettext)
995b7261 77 #:use-module (gnu packages glib)
c1354b90 78 #:use-module (gnu packages gnupg)
23a22af6 79 #:use-module (gnu packages gnuzilla)
85f5dc19 80 #:use-module (gnu packages gstreamer)
d9c1a22b 81 #:use-module (gnu packages gtk)
df217748 82 #:use-module (gnu packages gperf)
6b888eff 83 #:use-module (gnu packages guile)
34b979b9 84 #:use-module (gnu packages openldap)
c1354b90 85 #:use-module (gnu packages pdf)
75016d07 86 #:use-module (gnu packages polkit)
5698b8b8 87 #:use-module (gnu packages popt)
c1354b90 88 #:use-module (gnu packages ghostscript)
b645146f 89 #:use-module (gnu packages ibus)
9cc98f8a 90 #:use-module (gnu packages iso-codes)
85f5dc19 91 #:use-module (gnu packages libcanberra)
b64e217f 92 #:use-module (gnu packages libunistring)
88f70665 93 #:use-module (gnu packages linux)
75016d07 94 #:use-module (gnu packages libusb)
4e3fc547 95 #:use-module (gnu packages lirc)
7b212526 96 #:use-module (gnu packages lua)
e55354b8 97 #:use-module (gnu packages image)
ae792dba 98 #:use-module (gnu packages imagemagick)
ba5dd105 99 #:use-module (gnu packages networking)
b645146f 100 #:use-module (gnu packages password-utils)
de1215e2 101 #:use-module (gnu packages pcre)
27477d2d 102 #:use-module (gnu packages perl)
f70d8383 103 #:use-module (gnu packages photo)
995b7261 104 #:use-module (gnu packages pkg-config)
23a22af6 105 #:use-module (gnu packages pulseaudio)
995b7261 106 #:use-module (gnu packages python)
cce0da5e 107 #:use-module (gnu packages rdesktop)
75016d07 108 #:use-module (gnu packages scanner)
240cee8a 109 #:use-module (gnu packages selinux)
4a1bf090 110 #:use-module (gnu packages ssh)
85f5dc19 111 #:use-module (gnu packages xml)
200726ed 112 #:use-module (gnu packages gl)
1dd26275 113 #:use-module (gnu packages compression)
cce0da5e 114 #:use-module (gnu packages spice)
8f9ac901 115 #:use-module (gnu packages tex)
a7fd7b68 116 #:use-module (gnu packages tls)
6e1bb642 117 #:use-module (gnu packages web)
4a79e256 118 #:use-module (gnu packages webkit)
b64e217f 119 #:use-module (gnu packages xiph)
fecbf86e 120 #:use-module (gnu packages xorg)
ea57378f 121 #:use-module (gnu packages xdisorg)
ba421ab7 122 #:use-module (gnu packages freedesktop)
1e7464a9 123 #:use-module (gnu packages mail)
89e34644 124 #:use-module (gnu packages kerberos)
54021cd8 125 #:use-module (gnu packages multiprecision)
1e7464a9
DH
126 #:use-module (gnu packages backup)
127 #:use-module (gnu packages nettle)
c024ae36 128 #:use-module (gnu packages ncurses)
3dc8828f
SB
129 #:use-module (gnu packages video)
130 #:use-module (gnu packages cdrom)
131 #:use-module (gnu packages samba)
f47ba77e 132 #:use-module (gnu packages readline)
0bd3597b 133 #:use-module (gnu packages fonts)
b64e217f 134 #:use-module (gnu packages qemu)
53201c0d 135 #:use-module (gnu packages speech)
c024ae36 136 #:use-module (srfi srfi-1))
85f5dc19
AE
137
138(define-public brasero
139 (package
140 (name "brasero")
e8627cd9 141 (version "3.12.1")
85f5dc19
AE
142 (source (origin
143 (method url-fetch)
e8627cd9
DH
144 (uri (string-append "mirror://gnome/sources/" name "/"
145 (version-major+minor version) "/"
146 name "-" version ".tar.xz"))
85f5dc19
AE
147 (sha256
148 (base32
e8627cd9 149 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
1c40e3b7 150 (build-system glib-or-gtk-build-system)
e8627cd9
DH
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")
ce426deb
TD
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 )))))
85f5dc19
AE
166 (propagated-inputs
167 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
168 (native-inputs
169 `(("intltool" ,intltool)
426adbe8 170 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 171 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 172 ("pkg-config" ,pkg-config)))
85f5dc19 173 (inputs
ce426deb
TD
174 `(("dvd+rw-tools" ,dvd+rw-tools)
175 ("glib" ,glib)
85f5dc19
AE
176 ("gnome-doc-utils" ,gnome-doc-utils)
177 ("gstreamer" ,gstreamer)
178 ("gst-plugins-base" ,gst-plugins-base)
179 ("gtk+" ,gtk+)
85f5dc19
AE
180 ("itstool" ,itstool)
181 ("libcanberra" ,libcanberra)
182 ("libice" ,libice)
183 ("libnotify" ,libnotify)
184 ("libsm" ,libsm)
e8627cd9
DH
185 ("libxml2" ,libxml2)
186 ("nettle" ,nettle)
187 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
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
191Desktop. It is designed to be as simple as possible and has some unique
192features to enable users to create their discs easily and quickly.")
1dd26275 193 (license license:gpl2+)))
995b7261 194
a56be436
RJ
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
239includes support for UML static structure diagrams (class diagrams), entity
240relationship modeling, and network diagrams. The program supports various file
241formats like PNG, SVG, PDF and EPS.")
242 (license license:gpl2+))))
243
adc5cb1b
KK
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
290the GData protocol — most notably, Google's services. It provides APIs to
291access the common Google services, and has full asynchronous support.")
292 (license license:lgpl2.1+)))
293
94e10cf4
KK
294(define-public libgxps
295 (package
296 (name "libgxps")
297 (version "0.2.5")
298 (source (origin
299 (method url-fetch)
7f10628c 300 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
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
322documents. This package also contains binaries that can convert XPS documents
323to other formats.")
324 (license license:lgpl2.1+)))
325
7aab13f1
ML
326(define-public gnome-common
327 (package
328 (name "gnome-common")
af83490d 329 (version "3.18.0")
7aab13f1
ML
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
af83490d 338 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
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
343GNOME modules built from Git. It contains a common \"autogen.sh\" script that
344can be used to configure a source directory checked out from Git and some
345commonly used macros.")
346 (license license:gpl2+)))
347
9cc98f8a
CR
348(define-public gnome-desktop
349 (package
350 (name "gnome-desktop")
7a0d78fc 351 (version "3.24.2")
9cc98f8a
CR
352 (source
353 (origin
354 (method url-fetch)
b38e45d8
EB
355 (uri (string-append "mirror://gnome/sources/" name "/"
356 (version-major+minor version) "/"
9cc98f8a
CR
357 name "-" version ".tar.xz"))
358 (sha256
359 (base32
7a0d78fc 360 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
9cc98f8a
CR
361 (build-system gnu-build-system)
362 (native-inputs
a8340482
SB
363 `(("gobject-introspection" ,gobject-introspection)
364 ("itstool" ,itstool)
bcb354ad
SB
365 ("intltool" ,intltool)
366 ("pkg-config" ,pkg-config)
367 ("xmllint" ,libxml2)))
a8340482
SB
368 (propagated-inputs
369 ;; Required by gnome-desktop-3.0.pc.
370 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
371 ("gtk+" ,gtk+)))
9cc98f8a
CR
372 (inputs
373 `(("gdk-pixbuf" ,gdk-pixbuf)
374 ("glib" ,glib)
9cc98f8a 375 ("iso-codes" ,iso-codes)
9cc98f8a
CR
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
35b9e423 383 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
384 (description
385 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
386on the desktop, but that cannot live in the platform for various reasons.
387There is no API or ABI guarantee, although we are doing our best to provide
388stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
389
390The gnome-about program helps find which version of GNOME is installed.")
391 ; Some bits under the LGPL.
1dd26275 392 (license license:gpl2+)))
9cc98f8a 393
995b7261
AE
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)
b38e45d8
EB
401 (uri (string-append "mirror://gnome/sources/" name "/"
402 (version-major+minor version) "/"
995b7261
AE
403 name "-" version ".tar.xz"))
404 (sha256
405 (base32
406 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
407 (build-system gnu-build-system)
c4c4cc05 408 (native-inputs
995b7261 409 `(("intltool" ,intltool)
b4ce6300 410 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 411 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
412 ("libxml2" ,libxml2)
413 ("libxslt" ,libxslt)
414 ("pkg-config" ,pkg-config)
415 ("python-2" ,python-2)))
995b7261
AE
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
421Gnome project. It includes xml2po tool which makes it easier to translate
422and keep up to date translations of documentation.")
1dd26275 423 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 424
6c4f7022
DC
425(define-public gnome-disk-utility
426 (package
427 (name "gnome-disk-utility")
62963f56 428 (version "3.24.1")
6c4f7022
DC
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
62963f56 436 "18akarcbhm8djlmz49jzavc7qx8dg71gvxc9xd23p0bwjj4h93w7"))))
6c4f7022
DC
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
8ff49011
RW
462(define-public gcr
463 (package
464 (name "gcr")
6983ba56 465 (version "3.20.0")
8ff49011
RW
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
85c77480
KK
473 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
474 (patches
475 (search-patches "gcr-disable-failing-tests.patch"
476 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
8ff49011
RW
477 (build-system gnu-build-system)
478 (arguments
85c77480 479 '(#:phases (modify-phases %standard-phases
8ff49011
RW
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")
2af4f5b0
SB
493 ("gobject-introspection" ,gobject-introspection)
494 ("intltool" ,intltool)
495 ("xsltproc" ,libxslt)))
8ff49011
RW
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
505accessing key stores. It also provides the viewer for crypto files on the
506GNOME Desktop.")
507 (license license:lgpl2.1+)))
508
c1354b90
LC
509(define-public libgnome-keyring
510 (package
511 (name "libgnome-keyring")
5e8aec2c 512 (version "3.12.0")
c1354b90
LC
513 (source (origin
514 (method url-fetch)
b38e45d8
EB
515 (uri (string-append "mirror://gnome/sources/" name "/"
516 (version-major+minor version) "/"
517 name "-" version ".tar.xz"))
c1354b90
LC
518 (sha256
519 (base32
5e8aec2c 520 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 521 (build-system gnu-build-system)
c1354b90 522 (inputs
c4c4cc05 523 `(("libgcrypt" ,libgcrypt)
c1354b90 524 ("dbus" ,dbus)))
c4c4cc05
JD
525 (native-inputs
526 `(("pkg-config" ,pkg-config)
426adbe8 527 ("glib" ,glib "bin")
c4c4cc05 528 ("intltool" ,intltool)))
c1354b90
LC
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+.
1dd26275 538 (license license:lgpl2.0+)))
c1354b90 539
e99a3d6f
RW
540(define-public gnome-keyring
541 (package
542 (name "gnome-keyring")
6983ba56 543 (version "3.20.0")
e99a3d6f
RW
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
6983ba56 551 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
e99a3d6f
RW
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)
1a0b2d82 583 ("linux-pam" ,linux-pam)
e99a3d6f
RW
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
600users. It is run as a daemon in the session, similar to ssh-agent, and other
601applications locate it via an environment variable or D-Bus.
602
603The program can manage several keyrings, each with its own master password,
604and there is also a session keyring which is never stored to disk, but
605forgotten when the session ends.")
606 (license license:lgpl2.1+)))
607
c1354b90
LC
608(define-public evince
609 (package
610 (name "evince")
a5d8c786 611 (version "3.24.0")
c1354b90
LC
612 (source (origin
613 (method url-fetch)
b38e45d8
EB
614 (uri (string-append "mirror://gnome/sources/" name "/"
615 (version-major+minor version) "/"
616 name "-" version ".tar.xz"))
c1354b90
LC
617 (sha256
618 (base32
a5d8c786 619 "13yw0i68dgqp9alyliy3zifszh7rikkpi1xbz5binvxxgfpraf04"))))
121de2e1 620 (build-system glib-or-gtk-build-system)
c1354b90
LC
621 (arguments
622 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
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)))))
c1354b90 631 (inputs
9a096881
KK
632 `(("libarchive" ,libarchive)
633 ("libgxps" ,libgxps)
634 ("libspectre" ,libspectre)
c769cf9f 635 ("djvulibre" ,djvulibre)
c1354b90
LC
636 ("ghostscript" ,ghostscript)
637 ("poppler" ,poppler)
c769cf9f
SB
638 ("libtiff" ,libtiff)
639 ;; TODO:
c769cf9f
SB
640 ;; Build libkpathsea as a shared library for DVI support.
641 ;; ("libkpathsea" ,texlive-bin)
642 ("gnome-desktop" ,gnome-desktop)
c1354b90
LC
643 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
644 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 645 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
646 ("gdk-pixbuf" ,gdk-pixbuf)
647 ("atk" ,atk)
648 ("pango" ,pango)
649 ("gtk+" ,gtk+)
650 ("glib" ,glib)
651 ("libxml2" ,libxml2)
c1354b90
LC
652 ("libsm" ,libsm)
653 ("libice" ,libice)
96e42467 654 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
655 ("dconf" ,dconf)
656 ("libcanberra" ,libcanberra)
c769cf9f 657 ("libsecret" ,libsecret)
c1354b90
LC
658 ;; For tests.
659 ("dogtail" ,python2-dogtail)))
96e42467 660 (native-inputs
bcb354ad
SB
661 `(("itstool" ,itstool)
662 ("intltool" ,intltool)
426adbe8 663 ("glib" ,glib "bin")
bcb354ad
SB
664 ("pkg-config" ,pkg-config)
665 ("xmllint" ,libxml2)))
c1354b90
LC
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
671currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
672of Evince is to replace the multiple document viewers that exist
96e42467 673on the GNOME Desktop with a single simple application.")
1dd26275 674 (license license:gpl2+)))
c1354b90 675
22e32e69
AE
676(define-public gsettings-desktop-schemas
677 (package
678 (name "gsettings-desktop-schemas")
796a0c03 679 (version "3.24.0")
22e32e69
AE
680 (source
681 (origin
682 (method url-fetch)
683 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 684 (version-major+minor version) "/"
22e32e69
AE
685 name "-" version ".tar.xz"))
686 (sha256
687 (base32
796a0c03 688 "145vpcljy4660cnk8zk91qf7ywa7hqfl5hhw025gy8hxcqzklmzn"))))
22e32e69
AE
689 (build-system gnu-build-system)
690 (inputs
c4c4cc05
JD
691 `(("glib" ,glib)))
692 (native-inputs
693 `(("intltool" ,intltool)
426adbe8 694 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 695 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
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
702for settings shared by various components of the GNOME desktop.")
1dd26275 703 (license license:lgpl2.1+)))
22e32e69 704
27477d2d
AE
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)
5cc3096c 712 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
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)))
f4e97277
SB
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)))
27477d2d
AE
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
738Specification, the icon naming utility maps the icon names used by the
739GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 740 (license license:lgpl2.1+)))
27477d2d 741
7d3f3651
AE
742(define-public gnome-icon-theme
743 (package
744 (name "gnome-icon-theme")
b32f58dd 745 (version "3.12.0")
7d3f3651
AE
746 (source
747 (origin
748 (method url-fetch)
749 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 750 (version-major+minor version) "/"
7d3f3651
AE
751 name "-" version ".tar.xz"))
752 (sha256
753 (base32
b32f58dd 754 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 755 (build-system gnu-build-system)
5613c27d
SB
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)))))
c4c4cc05 762 (native-inputs
5613c27d 763 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
764 ("intltool" ,intltool)
765 ("pkg-config" ,pkg-config)))
7d3f3651
AE
766 (home-page "http://art.gnome.org/")
767 (synopsis
768 "GNOME icon theme")
769 (description
770 "Icons for the GNOME desktop.")
1dd26275 771 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 772
14eeefa2
SB
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")
29548d26 777 (version "3.24.0")
14eeefa2
SB
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
29548d26 785 "0ai73gs44yyw276xag6db0rlpvncy23qplp4girm80ilpprrzxyc"))))
5613c27d
SB
786 (native-inputs
787 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 788
ae792dba
RW
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
809guidelines.")
810 (license license:public-domain)))
811
9167f8e6
LC
812(define-public shared-mime-info
813 (package
814 (name "shared-mime-info")
b43b584f 815 (version "1.8")
9167f8e6
LC
816 (source (origin
817 (method url-fetch)
5cc3096c 818 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 819 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
820 (sha256
821 (base32
b43b584f 822 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
9167f8e6
LC
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)
c4c4cc05 829 ("libxml2" ,libxml2)))
9167f8e6 830 (native-inputs
c4c4cc05
JD
831 `(("intltool" ,intltool)
832 ("pkg-config" ,pkg-config)))
9167f8e6
LC
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
837and the update-mime-database command used to extend it. It requires glib2 to
838be installed for building the update command. Additionally, it uses intltool
839for translations, though this is only a dependency for the maintainers. This
840database is translated at Transifex.")
1dd26275 841 (license license:gpl2+)))
9167f8e6 842
bef4dd92
AE
843(define-public hicolor-icon-theme
844 (package
845 (name "hicolor-icon-theme")
b62a0070 846 (version "0.15")
bef4dd92
AE
847 (source
848 (origin
849 (method url-fetch)
5cc3096c 850 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 851 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
852 (sha256
853 (base32
b62a0070 854 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
bef4dd92
AE
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.")
1dd26275 863 (license license:gpl2)))
bef4dd92 864
d9c1a22b
AE
865(define-public libnotify
866 (package
867 (name "libnotify")
195bfa68 868 (version "0.7.7")
d9c1a22b
AE
869 (source
870 (origin
871 (method url-fetch)
872 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 873 (version-major+minor version) "/"
d9c1a22b
AE
874 name "-" version ".tar.xz"))
875 (sha256
876 (base32
195bfa68 877 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b
AE
878 (build-system gnu-build-system)
879 (inputs
880 `(("gdk-pixbuf" ,gdk-pixbuf)
881 ("glib" ,glib)
882 ("gtk+" ,gtk+)
c4c4cc05
JD
883 ("libpng" ,libpng)))
884 (native-inputs
426adbe8 885 `(("pkg-config" ,pkg-config)
277a7d82
JN
886 ("glib" ,glib "bin")
887 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
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
35b9e423 893notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
894notifications can be used to inform the user about an event or display
895some form of information without getting in the user's way.")
1dd26275 896 (license license:lgpl2.1+)))
7a8605ce
CR
897
898(define-public libpeas
899 (package
900 (name "libpeas")
0dd6aed9 901 (version "1.20.0")
7a8605ce
CR
902 (source
903 (origin
904 (method url-fetch)
905 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 906 (version-major+minor version) "/"
7a8605ce
CR
907 name "-" version ".tar.xz"))
908 (sha256
909 (base32
0dd6aed9 910 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
7a8605ce 911 (build-system gnu-build-system)
7a8605ce 912 (inputs
2ed6522a
SB
913 `(("gtk+" ,gtk+)
914 ("glade" ,glade3)
915 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
916 ("python" ,python)
917 ("python-pygobject" ,python-pygobject)))
141aed80
LC
918 (native-inputs
919 `(("pkg-config" ,pkg-config)
93622993 920 ("glib:bin" ,glib "bin")
141aed80
LC
921 ("gobject-introspection" ,gobject-introspection)
922 ("intltool" ,intltool)))
55b7bbd8
LC
923 (propagated-inputs
924 ;; The .pc file "Requires" gobject-introspection.
925 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
926 (home-page "https://wiki.gnome.org/Libpeas")
927 (synopsis "GObject plugin system")
928 (description
d1e4ad1b
TGR
929 "Libpeas is a gobject-based plugin engine, targeted at giving every
930application the chance to assume its own extensibility. It also has a set of
931features including, but not limited to: multiple extension points; on-demand
932(lazy) programming language support for C, Python and JS; simplicity of the
933API.")
1dd26275 934 (license license:lgpl2.0+)))
ed19903d
JD
935
936(define-public gtkglext
937 (package
938 (name "gtkglext")
939 (version "1.2.0")
940 (source (origin
941 (method url-fetch)
0f971a04 942 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
943 version "/gtkglext-" version ".tar.gz"))
944 (sha256
945 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
946 (patches (search-patches
947 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d
JD
948 (build-system gnu-build-system)
949 (inputs `(("gtk+" ,gtk+-2)
950 ("mesa" ,mesa)
cc8b02f4 951 ("glu" ,glu)
ed19903d
JD
952 ("libx11" ,libx11)
953 ("libxt" ,libxt)))
426adbe8
LC
954 (native-inputs `(("pkg-config" ,pkg-config)
955 ("glib" ,glib "bin")))
a83b6a06 956 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 957 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 958 (synopsis "OpenGL extension to GTK+")
35b9e423 959 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
960additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
961API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 962 (license license:lgpl2.1+)))
3600420e
JD
963
964(define-public glade3
965 (package
966 (name "glade")
6983ba56 967 (version "3.20.0")
b38e45d8
EB
968 (source (origin
969 (method url-fetch)
970 (uri (string-append "mirror://gnome/sources/" name "/"
971 (version-major+minor version) "/"
f5ca44b8 972 name "-" version ".tar.xz"))
3600420e 973 (sha256
f714d9fe 974 (base32
6983ba56
SB
975 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
976 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
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)))))
3600420e 990 (inputs
f5ca44b8 991 `(("gtk+" ,gtk+)
3600420e
JD
992 ("libxml2" ,libxml2)))
993 (native-inputs
994 `(("intltool" ,intltool)
f5ca44b8
RW
995 ("itstool" ,itstool)
996 ("libxslt" ,libxslt) ;for xsltproc
997 ("docbook-xml" ,docbook-xml-4.2)
998 ("docbook-xsl" ,docbook-xsl)
999 ("python" ,python-2)
3600420e
JD
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
1004enable quick & easy development of user interfaces for the GTK+ toolkit and
1005the GNOME desktop environment.")
1dd26275
LC
1006 (license license:lgpl2.0+)))
1007
1008(define-public libcroco
1009 (package
1010 (name "libcroco")
15d34a18 1011 (version "0.6.12")
1dd26275
LC
1012 (source (origin
1013 (method url-fetch)
b38e45d8
EB
1014 (uri (string-append "mirror://gnome/sources/" name "/"
1015 (version-major+minor version) "/"
1016 name "-" version ".tar.xz"))
15d34a18
MB
1017 (patches
1018 (search-patches "libcroco-CVE-2017-7960.patch"
1019 "libcroco-CVE-2017-7961.patch"))
1dd26275
LC
1020 (sha256
1021 (base32
15d34a18 1022 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1dd26275
LC
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.
1034The parser provides a low level event driven SAC-like API and a CSS object
1035model like API. Libcroco provides a CSS2 selection engine and an experimental
1036XML/CSS rendering engine.")
1037
1038 ;; LGPLv2.1-only.
1039 (license license:lgpl2.1)))
25178594
LC
1040
1041(define-public libgsf
1042 (package
1043 (name "libgsf")
ef51eb99 1044 (version "1.14.41")
25178594
LC
1045 (source (origin
1046 (method url-fetch)
b38e45d8
EB
1047 (uri (string-append "mirror://gnome/sources/" name "/"
1048 (version-major+minor version) "/"
1049 name "-" version ".tar.xz"))
25178594
LC
1050 (sha256
1051 (base32
ef51eb99 1052 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
25178594
LC
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
1069dealing with different structured file formats.")
1070
1071 ;; LGPLv2.1-only.
1072 (license license:lgpl2.1)))
63016e7c
LC
1073
1074(define-public librsvg
1075 (package
1076 (name "librsvg")
27880b5e 1077 (version "2.40.16")
63016e7c
LC
1078 (source (origin
1079 (method url-fetch)
b38e45d8
EB
1080 (uri (string-append "mirror://gnome/sources/" name "/"
1081 (version-major+minor version) "/"
1082 name "-" version ".tar.xz"))
63016e7c
LC
1083 (sha256
1084 (base32
27880b5e 1085 "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl"))))
63016e7c
LC
1086 (build-system gnu-build-system)
1087 (arguments
ce2df078 1088 `(#:phases
63016e7c 1089 (alist-cons-before
f3045a5b 1090 'configure 'pre-configure
63016e7c 1091 (lambda* (#:key inputs #:allow-other-keys)
63016e7c
LC
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 = "
dc67ebd2 1097 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
63016e7c 1098 "loaders\n"))
f3045a5b 1099 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
63016e7c 1100 (("gdk_pixbuf_cache_file = .*$")
f3045a5b
SB
1101 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
1102 %standard-phases)))
63016e7c
LC
1103 (native-inputs
1104 `(("pkg-config" ,pkg-config)
44add1ce 1105 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
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
35b9e423 1121 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
1122library.")
1123 (license license:lgpl2.0+)))
5698b8b8
JD
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"))
b38e45d8
EB
1132 (string-append "mirror://gnome/sources/" upstream-name "/"
1133 (version-major+minor version) "/"
1134 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
1135 (sha256
1136 (base32
1137 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1138 (build-system gnu-build-system)
1139 (inputs `(("glib" ,glib)))
1140 (native-inputs
1141 `(("pkg-config" ,pkg-config)
b3546174 1142 ("flex" ,flex)
5698b8b8
JD
1143 ("bison" ,bison)))
1144 (home-page "http://freecode.com/projects/libidl")
1145 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 1146 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
1147Definition Language (idl) files, which is a specification for defining
1148portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 1149GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 1150functionality was designed to be as reusable and portable as possible.")
5698b8b8
JD
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)
2e6ecc5c 1160 (uri (let ((upstream-name "ORBit2"))
a124bbd2 1161 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1162 (version-major+minor version) "/"
1163 upstream-name "-" version ".tar.bz2")))
5698b8b8 1164 (sha256
a124bbd2
SB
1165 (base32
1166 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
1167 (build-system gnu-build-system)
1168 (arguments
a124bbd2
SB
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)))
5698b8b8
JD
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")
35b9e423 1187 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 1188featuring mature C, C++ and Python bindings.")
a124bbd2
SB
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.
2e6ecc5c 1192 (license license:gpl2+)))
5698b8b8
JD
1193
1194
1195(define-public libbonobo
1196 (package
1197 (name "libbonobo")
1198 (version "2.32.1")
1199 (source (origin
1200 (method url-fetch)
5becd025 1201 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 1202 (version-major+minor version)
5becd025 1203 "/" name "-" version ".tar.bz2"))
5698b8b8 1204 (sha256
f1fc45a9 1205 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
1206 (patches (search-patches
1207 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
1208 (build-system gnu-build-system)
1209 (arguments
1210 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
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)))
5698b8b8
JD
1221 (inputs `(("popt" ,popt)
1222 ("libxml2" ,libxml2)))
1223 ;; The following are Required by the .pc file
44add1ce 1224 (propagated-inputs
5698b8b8
JD
1225 `(("glib" ,glib)
1226 ("orbit2" ,orbit2)))
1227 (native-inputs
1228 `(("intltool" ,intltool)
1229 ("pkg-config" ,pkg-config)
221ed17a 1230 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
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
2e6ecc5c 1236use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
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)
a124bbd2
SB
1249 (uri
1250 (let ((upstream-name "GConf"))
1251 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1252 (version-major+minor version) "/"
1253 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
1254 (sha256
1255 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1256 (build-system gnu-build-system)
2e88d113 1257 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 1258 ("libxml2" ,libxml2)))
2e6ecc5c
AE
1259 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1260 ("orbit2" ,orbit2)))
5698b8b8
JD
1261 (native-inputs
1262 `(("intltool" ,intltool)
221ed17a 1263 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1264 ("pkg-config" ,pkg-config)))
1265 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
1266 (synopsis "Store application preferences")
1267 (description "Gconf is a system for storing application preferences. It
1268is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
1269 (license license:lgpl2.0+)
1270 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
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)
b38e45d8
EB
1279 (uri (string-append "mirror://gnome/sources/" name "/"
1280 (version-major+minor version) "/"
1281 name "-" version ".tar.bz2"))
5698b8b8
JD
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")
35b9e423 1290 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
1291 (description "GNOME Mime Data is a module which contains the base MIME
1292and Application database for GNOME. The data stored by this module is
1293designed 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)
b38e45d8
EB
1303 (uri (string-append "mirror://gnome/sources/" name "/"
1304 (version-major+minor version) "/"
1305 name "-" version ".tar.bz2"))
5698b8b8 1306 (sha256
9e12bc34
MW
1307 (base32
1308 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
1309 (build-system gnu-build-system)
1310 (arguments
db5127d8 1311 `(#:phases
9e12bc34
MW
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)
db5127d8
MW
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))))
2e6ecc5c 1325 (inputs `(("libxml2" ,libxml2)
5698b8b8 1326 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
1327 ("gconf" ,gconf)
1328 ("gnome-mime-data" ,gnome-mime-data)
1329 ("zlib" ,zlib)))
1330 (native-inputs
221ed17a
EB
1331 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1332 ("intltool" ,intltool)
5698b8b8
JD
1333 ("pkg-config" ,pkg-config)))
1334 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 1335 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
1336 (description
1337 "GnomeVFS is the core library used to access files and folders in GNOME
1338applications. It provides a file system abstraction which allows applications
1339to access local and remote files with a single consistent API.")
5698b8b8
JD
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)
b38e45d8
EB
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.bz2"))
5698b8b8
JD
1353 (sha256
1354 (base32
1355 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1356 (build-system gnu-build-system)
1357 (arguments
1358 `(#:phases
1359 (alist-cons-before
1360 'configure 'enable-deprecated
2e6ecc5c 1361 (lambda _
5698b8b8
JD
1362 (substitute* "libgnome/Makefile.in"
1363 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1364 %standard-phases)))
25338e9f 1365 (inputs `(("libxml2" ,libxml2)))
5698b8b8 1366 (native-inputs
221ed17a
EB
1367 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1368 ("intltool" ,intltool)
5698b8b8
JD
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)
a640d3d5
LC
1378 ("gnome-vfs" ,gnome-vfs)
1379 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
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
1383for building modern applications, including session management, activation of
1384files and URIs, and displaying help.")
1385 (license license:lgpl2.0+)))
1386
1387
1388(define-public libart-lgpl
1389 (package
1390 (name "libart-lgpl")
76c9b6aa 1391 (version "2.3.21")
5698b8b8
JD
1392 (source (origin
1393 (method url-fetch)
1394 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
1395 (string-append "mirror://gnome/sources/" upstream-name "/"
1396 (version-major+minor version) "/"
1397 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
1398 (sha256
1399 (base32
76c9b6aa 1400 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
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")
2e6ecc5c 1406 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
1407high-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)
b38e45d8
EB
1418 (uri (string-append "mirror://gnome/sources/" name "/"
1419 (version-major+minor version) "/"
1420 name "-" version ".tar.gz"))
5698b8b8
JD
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)
221ed17a 1430 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
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
1435creating interactive structured graphics.")
1436 (license license:lgpl2.0+)))
1437
eadc734e
RW
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)
6e4512c4
SB
1451 (arguments
1452 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
eadc734e
RW
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
5698b8b8
JD
1462(define-public libgnomeui
1463 (package
1464 (name "libgnomeui")
1465 (version "2.24.5")
1466 (source (origin
1467 (method url-fetch)
b38e45d8
EB
1468 (uri (string-append "mirror://gnome/sources/" name "/"
1469 (version-major+minor version) "/"
1470 name "-" version ".tar.bz2"))
5698b8b8
JD
1471 (sha256
1472 (base32
1473 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1474 (build-system gnu-build-system)
1475 ;; Mentioned as Required in the .pc file
0a38a497
AE
1476 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1477 ("libgnome" ,libgnome)
1478 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 1479 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 1480 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
1481 ("popt" ,popt)
1482 ("libbonobo" ,libbonobo)
1483 ("libxml2" ,libxml2)
1484 ("libglade" ,libglade)))
1485 (native-inputs
221ed17a
EB
1486 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1487 ("intltool" ,intltool)
5698b8b8
JD
1488 ("pkg-config" ,pkg-config)))
1489 (home-page "https://developer.gnome.org/libgnomeui/")
1490 (synopsis "Additional widgets for applications")
35b9e423 1491 (description "The libgnomeui library provides additional widgets for
e881752c
AK
1492applications. Many of the widgets from libgnomeui have already been
1493ported to GTK+.")
5698b8b8
JD
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)
b38e45d8
EB
1502 (uri (string-append "mirror://gnome/sources/" name "/"
1503 (version-major+minor version) "/"
1504 name "-" version ".tar.bz2"))
5698b8b8
JD
1505 (sha256
1506 (base32
1507 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1508 (build-system gnu-build-system)
1509 (inputs
92dcc23d
AE
1510 `(("python" ,python))) ;; needed for the optional libglade-convert program
1511 (propagated-inputs
5698b8b8 1512 `(("gtk+-2" ,gtk+-2)
92dcc23d 1513 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
1514 (native-inputs
1515 `(("pkg-config" ,pkg-config)))
1516 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1517 (synopsis "Load glade interfaces and access the glade built widgets")
1518 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1519graphical interfaces described in glade files and for accessing the
1520widgets built in the loading process.")
1521 (license license:gpl2+))) ; This is correct. GPL not LGPL
1522
1523(define-public libgnomeprint
eb497b66
LC
1524 ;; This library has been deprecated since 2006; see
1525 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1526 (package
1527 (name "libgnomeprint")
1528 (version "2.8.2")
1529 (source (origin
1530 (method url-fetch)
b38e45d8
EB
1531 (uri (string-append "mirror://gnome/sources/" name "/"
1532 (version-major+minor version) "/"
1533 name "-" version ".tar.bz2"))
5698b8b8
JD
1534 (sha256
1535 (base32
6983ba56 1536 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
5698b8b8
JD
1537 (build-system gnu-build-system)
1538 (inputs
1539 `(("popt" ,popt)
1540 ("libart-lgpl" ,libart-lgpl)
1541 ("gtk+" ,gtk+-2)
44add1ce 1542 ("libxml2" ,libxml2)))
5698b8b8
JD
1543 (native-inputs
1544 `(("intltool" ,intltool)
221ed17a 1545 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1546 ("pkg-config" ,pkg-config)))
1547 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1548 (synopsis "Printing framework for GNOME")
eb497b66
LC
1549 (description
1550 "GNOME-print was a printing framework for GNOME. It has been deprecated
1551since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1552 (license license:lgpl2.0+)))
1553
1554
1555(define-public libgnomeprintui
eb497b66 1556 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1557 (package
1558 (name "libgnomeprintui")
1559 (version "2.8.2")
1560 (source (origin
1561 (method url-fetch)
b38e45d8
EB
1562 (uri (string-append "mirror://gnome/sources/" name "/"
1563 (version-major+minor version) "/"
1564 name "-" version ".tar.bz2"))
5698b8b8
JD
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)
2e6ecc5c 1575 ("libxml2" ,libxml2)))
5698b8b8
JD
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")
eb497b66 1581 (description (package-description libgnomeprint))
5698b8b8
JD
1582 (license license:lgpl2.0+)))
1583
5698b8b8
JD
1584(define-public libbonoboui
1585 (package
1586 (name "libbonoboui")
1587 (version "2.24.5")
1588 (source (origin
1589 (method url-fetch)
b38e45d8
EB
1590 (uri (string-append "mirror://gnome/sources/" name "/"
1591 (version-major+minor version) "/"
1592 name "-" version ".tar.bz2"))
5698b8b8
JD
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"))
2e6ecc5c 1604
5698b8b8
JD
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
221ed17a
EB
1620 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1621 ("intltool" ,intltool)
5698b8b8
JD
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
1627controls using the Bonobo component framework.")
1628 (license license:lgpl2.0+)))
1629
fecbf86e
SB
1630(define-public libwnck
1631 (package
1632 (name "libwnck")
cf047019 1633 (version "3.20.1")
fecbf86e
SB
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
cf047019 1640 (base32 "0wms3hli6y0b9l3cszq6maqi6fyy6kss9gryvzgmhw27phb3gc0w"))))
fecbf86e
SB
1641 (build-system gnu-build-system)
1642 (native-inputs
1643 `(("pkg-config" ,pkg-config)
1644 ("intltool" ,intltool)))
1645 (propagated-inputs
427476d5
SB
1646 `(("gtk+" ,gtk+)
1647 ("libxres" ,libxres)
1648 ("startup-notification" ,startup-notification)))
fecbf86e
SB
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
1653writing pagers, tasklists, and more generally applications that are dealing
1654with window management. It tries hard to respect the Extended Window Manager
1655Hints specification (EWMH).")
1656 (license license:lgpl2.0+)))
1657
1658;; stable version for gtk2, required by xfwm4.
dbb7a081 1659(define-public libwnck-2
fecbf86e
SB
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
427476d5
SB
1672 `(("gtk+" ,gtk+-2)
1673 ("libxres" ,libxres)
1674 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1675
1676(define-public goffice
1677 (package
1678 (name "goffice")
8e320dea 1679 (version "0.10.34")
b804c61e
JD
1680 (source (origin
1681 (method url-fetch)
b38e45d8
EB
1682 (uri (string-append "mirror://gnome/sources/" name "/"
1683 (version-major+minor version) "/"
1684 name "-" version ".tar.xz"))
b804c61e 1685 (sha256
8e320dea 1686 (base32 "00yn5ly1x50ynrwgl783pwnjy4k2ckp8n54mfnqv6qsq5fi7ajjm"))))
b804c61e 1687 (build-system gnu-build-system)
72a06d3e
LC
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"))))
b804c61e
JD
1694 (inputs
1695 `(("gtk+" ,gtk+)
1696 ("libgsf" ,libgsf)
1697 ("librsvg" ,librsvg)
1698 ("libxslt" ,libxslt)
1699 ("libxml2" ,libxml2)))
1700 (native-inputs
1701 `(("intltool" ,intltool)
f280cdb1 1702 ("glib" ,glib "bin")
b804c61e
JD
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.")
2e6ecc5c 1707 (license
b804c61e
JD
1708 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1709 ;; Note: NOT LGPL
1710 (list license:gpl2 license:gpl3))))
1711
c024ae36
RW
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)
72a06d3e
LC
1731 %standard-phases)
1732
1733 ,@(package-arguments goffice)))
c024ae36
RW
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
b804c61e
JD
1741(define-public gnumeric
1742 (package
1743 (name "gnumeric")
1ed398d1 1744 (version "1.12.34")
b804c61e
JD
1745 (source (origin
1746 (method url-fetch)
b38e45d8
EB
1747 (uri (string-append "mirror://gnome/sources/" name "/"
1748 (version-major+minor version) "/"
1749 name "-" version ".tar.xz"))
b804c61e
JD
1750 (sha256
1751 (base32
1ed398d1 1752 "09f7h4lvwzyl0amd3axapwbsrnrvvpwxyhs540jlrv425n0j0j8b"))))
bd1b1e05 1753 (build-system glib-or-gtk-build-system)
b804c61e
JD
1754 (arguments
1755 `(;; The gnumeric developers don't worry much about failing tests.
1756 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 1757 #:tests? #f
b804c61e 1758 #:phases
7bcbd40d
EF
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"))))))))
b804c61e
JD
1772 (inputs
1773 `(("glib" ,glib)
1774 ("gtk+" ,gtk+)
1775 ("goffice" ,goffice)
1776 ("libgsf" ,libgsf)
7bcbd40d 1777 ("librsvg" ,librsvg)
b804c61e 1778 ("libxml2" ,libxml2)
7bcbd40d 1779 ("libxslt" ,libxslt)
2e4c5457 1780 ("python" ,python-2)
6983ba56 1781 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
1782 ("zlib" ,zlib)))
1783 (native-inputs
6983ba56 1784 `(("bison" ,bison)
1ed398d1 1785 ("docbook-xml" ,docbook-xml)
6983ba56 1786 ("intltool" ,intltool)
1ed398d1 1787 ("itstool" ,itstool)
b9663471 1788 ("glib:bin" ,glib "bin")
b804c61e
JD
1789 ("pkg-config" ,pkg-config)))
1790 (home-page "http://www.gnumeric.org")
66672a45
LC
1791 (synopsis "Spreadsheet application")
1792 (description
1793 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1794interoperable with other spreadsheet applications. It has a vast array of
1795features beyond typical spreadsheet functionality, such as support for linear
1796and non-linear solvers, statistical analysis, and telecommunication
1797engineering.")
1798 (license
b804c61e
JD
1799 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1800 (list license:gpl2 license:gpl3))))
6f885c05
FB
1801
1802(define-public gnome-themes-standard
1803 (package
1804 (name "gnome-themes-standard")
0b7b8fb0 1805 (version "3.22.3")
6f885c05
FB
1806 (source
1807 (origin
1808 (method url-fetch)
2e6ecc5c 1809 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
1810 (version-major+minor version) "/" name "-"
1811 version ".tar.xz"))
1812 (sha256
1813 (base32
0b7b8fb0 1814 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 1815 (build-system gnu-build-system)
8ac70c7f
SB
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)))))
6f885c05
FB
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)))
6f885c05
FB
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+)))
5a659a48 1837
df90c701
RW
1838(define-public seahorse
1839 (package
1840 (name "seahorse")
6983ba56 1841 (version "3.20.0")
df90c701
RW
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
6983ba56 1850 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
df90c701
RW
1851 (build-system glib-or-gtk-build-system)
1852 (inputs
1853 `(("gtk+" ,gtk+)
1854 ("gcr" ,gcr)
34b979b9 1855 ("gnupg" ,gnupg)
df90c701 1856 ("gpgme" ,gpgme)
34b979b9 1857 ("openldap" ,openldap)
4a1bf090 1858 ("openssh" ,openssh)
34b979b9
EF
1859 ("libsecret" ,libsecret)
1860 ("libsoup" ,libsoup)))
df90c701
RW
1861 (native-inputs
1862 `(("intltool" ,intltool)
1863 ("glib:bin" ,glib "bin")
1864 ("itstool" ,itstool)
bcb354ad
SB
1865 ("pkg-config" ,pkg-config)
1866 ("xmllint" ,libxml2)))
df90c701
RW
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
1871passwords in the GNOME keyring.")
1872 (license license:gpl2+)))
1873
5a659a48
SB
1874(define-public vala
1875 (package
1876 (name "vala")
6d836f4d 1877 (version "0.36.3")
5a659a48
SB
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
6d836f4d 1885 "0706izk9prxqclm7gv4f63diwnlc1llvfl5sc9ghqbgn076lx2mc"))))
5a659a48 1886 (build-system gnu-build-system)
1ea90625
SB
1887 (arguments
1888 '(#:phases
1889 (modify-phases %standard-phases
f4925a4f 1890 (add-before 'check 'pre-check
1ea90625
SB
1891 (lambda _
1892 (setenv "CC" "gcc")
f4925a4f
SB
1893 ;; For missing '/etc/machine-id'.
1894 (setenv "DBUS_FATAL_WARNINGS" "0")
0a387b14
LF
1895 #t)))
1896 ;; Build the Vala API generator
1897 #:configure-flags '("--enable-vapigen")))
5a659a48
SB
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
1911language features to GNOME developers without imposing any additional runtime
1912requirements and without using a different ABI compared to applications and
1913libraries written in C.")
1914 (license license:lgpl2.1+)))
ea57378f
SB
1915
1916(define-public vte
1917 (package
1918 (name "vte")
f2da7c86 1919 (version "0.48.3")
ea57378f
SB
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
f2da7c86 1927 "1hsqc7238862mqnva5qqdfxnhpwq3ak6zx6kbjj95cs04wcgpad3"))))
ea57378f
SB
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.
73f0e1ab 1935 ("gperf" ,gperf)
ea57378f
SB
1936 ("xmllint" ,libxml2)))
1937 (propagated-inputs
302393bc 1938 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
de1215e2
MW
1939 ("gnutls" ,gnutls) ;ditto
1940 ("pcre2" ,pcre2))) ;ditto
ea57378f
SB
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
1945GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1946gnome-terminal, but can also be used to embed a console/terminal in games,
1947editors, IDEs, etc.")
1948 (license license:lgpl2.1+)))
1949
c44fb4df
MO
1950(define-public vte-ng
1951 (package
1952 (inherit vte)
1953 (name "vte-ng")
52d2a2be 1954 (version "0.48.3.a")
c44fb4df
MO
1955 (native-inputs
1956 `(("gtk-doc" ,gtk-doc)
011b858b 1957 ("gperf" ,gperf)
c44fb4df
MO
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
52d2a2be 1969 "1wdkf090zclqy11hxdjgy8f6fgzajl0xzzirajikhbaiill7f8zh"))))
c44fb4df
MO
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
1980GTK+, this fork provides additional functions exposed for keyboard text
1981selection and URL hints.")))
1982
2776d72c
EF
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
ea57378f
SB
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
7d48938a
EF
2016 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2017 (patches (search-patches
2018 "vte-CVE-2012-2738-pt1.patch"
2019 "vte-CVE-2012-2738-pt2.patch"))))
ea57378f
SB
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
b47e1b20 2029
cce0da5e
TD
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
2064and RDP protocols.")
2065 (license license:gpl3+)))
2066
b47e1b20
FB
2067(define-public dconf
2068 (package
2069 (name "dconf")
6983ba56 2070 (version "0.26.0")
b47e1b20
FB
2071 (source (origin
2072 (method url-fetch)
2073 (uri (string-append
2e6ecc5c 2074 "mirror://gnome/sources/" name "/"
b47e1b20
FB
2075 (version-major+minor version) "/"
2076 name "-" version ".tar.xz"))
2077 (sha256
f05c809f 2078 (base32
6983ba56 2079 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
b47e1b20
FB
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.
2e6ecc5c 2097 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
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")
2e6ecc5c 2106 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
2107 "/xml/xsl/docbook-xsl-"
2108 ,(package-version docbook-xsl)
2109 "/manpages/docbook.xsl")))
2e6ecc5c
AE
2110 (setenv "XML_CATALOG_FILES"
2111 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
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
2117is to provide a backend to GSettings on platforms that don't already have
2118configuration storage systems.")
2119 (license license:lgpl2.1)))
109da1c0
AE
2120
2121(define-public json-glib
2122 (package
2123 (name "json-glib")
dbf0424d 2124 (version "1.2.8")
109da1c0
AE
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
dbf0424d 2132 "02pl0wl3mf47c038bgv2r4pa6pr6y3shjhxn1l7s3rrrgl1sjmgx"))))
109da1c0
AE
2133 (build-system gnu-build-system)
2134 (native-inputs
88c6b580 2135 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
2136 ("gobject-introspection" ,gobject-introspection)
2137 ("pkg-config" ,pkg-config)))
2138 (propagated-inputs
88c6b580 2139 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
2140 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2141 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
2142 (description
2143 "JSON-GLib is a C library based on GLib providing serialization and
2144deserialization support for the JavaScript Object Notation (JSON) format
2145described by RFC 4627. It provides parser and generator GObject classes and
2146various wrappers for the complex data types employed by JSON, such as arrays
2147and objects.")
109da1c0 2148 (license license:lgpl2.1+)))
6f96a359
SB
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")
b19d6805 2166 "/share/X11/xkb"))))
6f96a359
SB
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
e881752c
AK
2185Extension known as XKB. This library is intended to support XFree86 and other
2186commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
2187indicators etc).")
2188 (license license:lgpl2.0+)))
619936a4
LC
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
2215library.")
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+)))
a31a6d22 2220
f2ca414a
SB
2221(define-public glib-networking
2222 (package
2223 (name "glib-networking")
532cbe22 2224 (version "2.50.0")
f2ca414a
SB
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
532cbe22 2232 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
907f939b 2233 (patches
fc1adab1 2234 (search-patches "glib-networking-ssl-cert-file.patch"))))
f2ca414a
SB
2235 (build-system gnu-build-system)
2236 (arguments
2237 `(#:configure-flags
907f939b 2238 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
f2ca414a
SB
2239 #:phases
2240 (modify-phases %standard-phases
3a4de6b2 2241 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
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
907f939b
SB
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)))))
f2ca414a
SB
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
2266library.")
2267 (license license:lgpl2.0+)))
2268
ca649680 2269(define-public rest
4510b2da 2270 (package
ca649680 2271 (name "rest")
90000d4b 2272 (version "0.8.0")
4510b2da
SB
2273 (source (origin
2274 (method url-fetch)
2275 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
2276 (version-major+minor version) "/"
2277 name "-" version ".tar.xz"))
4510b2da
SB
2278 (sha256
2279 (base32
90000d4b 2280 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
4510b2da
SB
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
2299claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2300libxml to ease remote use of the RESTful API.")
2301 (license license:lgpl2.1+)))
2302
6e1bb642
SB
2303(define-public libsoup
2304 (package
2305 (name "libsoup")
ffaf5cbd 2306 (version "2.58.1")
6e1bb642
SB
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
ffaf5cbd 2314 "1fggmshk2mfsyfvml6paki65xj9rv1s5p7ds41xmnx6yazsnkik2"))))
6e1bb642
SB
2315 (build-system gnu-build-system)
2316 (outputs '("out" "doc"))
2317 (arguments
b19d6805 2318 `(#:configure-flags
6e1bb642
SB
2319 (list (string-append "--with-html-dir="
2320 (assoc-ref %outputs "doc")
ffaf5cbd
MB
2321 "/share/gtk-doc/html")
2322 (string-append "--with-apache-module-dir="
2323 (assoc-ref %build-inputs "httpd")
2324 "/modules"))
6e1bb642
SB
2325 #:phases
2326 (modify-phases %standard-phases
3a4de6b2 2327 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
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))
907f939b 2334 (add-before 'check 'pre-check
6e1bb642 2335 (lambda _
907f939b
SB
2336 ;; The 'check-local' target runs 'env LANG=C sort -u',
2337 ;; unset 'LC_ALL' to make 'LANG' working.
6e1bb642 2338 (unsetenv "LC_ALL")
907f939b
SB
2339 ;; The ca-certificates.crt is not available in the build
2340 ;; environment.
2341 (setenv "SSL_CERT_FILE" "/dev/null")
ffaf5cbd
MB
2342 ;; HTTPD in Guix uses mod_event and does not build prefork.
2343 (substitute* "tests/httpd.conf"
2344 (("^LoadModule mpm_prefork_module.*$") "\n"))
fd730590
SB
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")))))))
6e1bb642
SB
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)
fd730590 2360 ("vala" ,vala)
6e1bb642
SB
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
2376and the GLib main loop, to integrate well with GNOME applications.")
2377 (license license:lgpl2.0+)))
2378
bba229a3
SB
2379(define-public libsecret
2380 (package
2381 (name "libsecret")
6983ba56 2382 (version "0.18.5")
bba229a3
SB
2383 (source (origin
2384 (method url-fetch)
2385 (uri (string-append
896dcbc7
EF
2386 "mirror://gnome/sources/libsecret/"
2387 (version-major+minor version) "/"
bba229a3
SB
2388 name "-" version ".tar.xz"))
2389 (sha256
2390 (base32
6983ba56 2391 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
bba229a3
SB
2392 (build-system gnu-build-system)
2393 (outputs '("out" "doc"))
2394 (arguments
2395 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
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
2424and other secrets. It communicates with the \"Secret Service\" using DBus.")
2425 (license license:lgpl2.1+)))
2426
b6821ee0 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
a31a6d22
SB
2458(define-public gnome-mines
2459 (package
2460 (name "gnome-mines")
ac89f213 2461 (version "3.24.0")
a31a6d22
SB
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
ac89f213 2470 "1xh2as2xmh7gx45gpnl0fh9xjpvyyn3m84qgv41kyp2s4clsyqz6"))))
a31a6d22
SB
2471 (build-system glib-or-gtk-build-system)
2472 (arguments
2473 '(#:phases
2474 (modify-phases %standard-phases
f8503e2b 2475 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2476 (lambda _
2477 (substitute* "configure"
6983ba56 2478 (("/bin/true") (which "true"))))))))
a31a6d22
SB
2479 (native-inputs
2480 `(("pkg-config" ,pkg-config)
2481 ("desktop-file-utils" ,desktop-file-utils)
2482 ("intltool" ,intltool)
bcb354ad
SB
2483 ("itstool" ,itstool)
2484 ("xmllint" ,libxml2)))
a31a6d22
SB
2485 (inputs
2486 `(("gtk+" ,gtk+)
73992962 2487 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
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
2493floating in an ocean using only your brain and a little bit of luck.")
2494 (license license:gpl2+)))
88f70665 2495
dfc407f3
KY
2496(define-public gnome-sudoku
2497 (package
2498 (name "gnome-sudoku")
34a8af2d 2499 (version "3.24.0")
dfc407f3
KY
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
34a8af2d 2508 "1mw5ykk7wr0r9770jj5270f07rjws0pmpjs0b1fywj4li13r98h4"))))
dfc407f3
KY
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.
2526GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2527possible while still providing features that make playing difficult Sudoku
2528more fun.")
2529 (license license:gpl2+)))
2530
88f70665
AW
2531(define-public gnome-terminal
2532 (package
2533 (name "gnome-terminal")
e20d997f 2534 (version "3.24.2")
88f70665
AW
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
e20d997f 2543 "03zcvxlzg7n4pz65vrg5xj3qpkqr4bz162mgmaz4bjh71b1xl7i8"))))
88f70665
AW
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
3a4de6b2 2551 (add-before 'configure 'patch-/bin/true
88f70665
AW
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)
bcb354ad
SB
2559 ("itstool" ,itstool)
2560 ("xmllint" ,libxml2)))
68702167
MW
2561 (propagated-inputs
2562 `(("dconf" ,dconf)))
88f70665
AW
2563 (inputs
2564 `(("gtk+" ,gtk+)
2565 ("vte" ,vte)
2566 ("gnutls" ,gnutls)
88f70665
AW
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
2574UNIX shell environment which can be used to run programs available on
2575your system.
2576
2577It supports several profiles, multiple tabs and implements several
2578keyboard shortcuts.")
2579 (license license:gpl3+)))
75016d07
AW
2580
2581(define-public colord
2582 (package
2583 (name "colord")
2584 (version "1.1.8")
2585 (source
2586 (origin
2587 (method url-fetch)
5cc3096c 2588 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
75016d07
AW
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
3a4de6b2 2614 (add-before 'configure 'patch-/bin/true
75016d07
AW
2615 (lambda _
2616 (substitute* "configure"
2617 (("/bin/true") (which "true")))
2618 (substitute* "src/Makefile.in"
2619 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2620 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2621 (native-inputs
2622 `(("pkg-config" ,pkg-config)
2623 ("gobject-introspection" ,gobject-introspection)
2624 ("libtool" ,libtool)
2625 ("intltool" ,intltool)))
65cb2d61
SB
2626 (propagated-inputs
2627 ;; colord.pc refers to all these.
2628 `(("glib" ,glib)
2629 ("udev" ,eudev)
2630 ("lcms" ,lcms)))
75016d07 2631 (inputs
65cb2d61 2632 `(("dbus-glib" ,dbus-glib)
80c7dd1a 2633 ("libgudev" ,libgudev)
75016d07 2634 ("libusb" ,libusb)
75016d07
AW
2635 ("sqlite" ,sqlite)
2636 ("polkit" ,polkit)
4c928743 2637 ("sane-backends" ,sane-backends)))
75016d07
AW
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,
2641install and generate color profiles to accurately color manage input and
2642output devices.")
2643 (license license:gpl2+)))
7b2abd00
AW
2644
2645(define-public geoclue
2646 (package
2647 (name "geoclue")
ccfac09c 2648 (version "2.4.6")
7b2abd00
AW
2649 (source
2650 (origin
2651 (method url-fetch)
5cc3096c 2652 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
2653 "/releases/" (version-major+minor version) "/"
2654 name "-" version ".tar.xz"))
2655 (sha256
2656 (base32
ccfac09c 2657 "1dnknrwln159dj7pdprnfa4zjprgslabxngmn11jyjwvbi2zfzf5"))
fc1adab1 2658 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
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
3a4de6b2 2670 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2671 (lambda _
2672 (substitute* "configure"
2673 (("/bin/true") (which "true"))))))))
2674 (native-inputs
2675 `(("pkg-config" ,pkg-config)
758798a9 2676 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
2677 ("intltool" ,intltool)))
2678 (inputs
54e911bc
SB
2679 `(("avahi" ,avahi)
2680 ("glib" ,glib)
7b2abd00
AW
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
2686information. The primary goal of the Geoclue project is to make creating
2687location-aware applications as simple as possible, while the secondary goal is
2688to ensure that no application can access location information without explicit
e881752c 2689permission from user.")
7b2abd00 2690 (license license:gpl2+)))
2bfe7437
AW
2691
2692(define-public geocode-glib
2693 (package
2694 (name "geocode-glib")
3ffd46bd 2695 (version "3.20.1")
2bfe7437
AW
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
3ffd46bd 2703 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2bfe7437
AW
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.
a124bbd2 2708 #:tests? #f))
2bfe7437
AW
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,
2723and latitude from an address) and reverse geocoding (finding an address from
2724coordinates) using the Nominatim service. geocode-glib caches requests for
2725faster results and to avoid unnecessary server load.")
2726 (license license:lgpl2.0+)))
a1d5bb0e
AW
2727
2728(define-public upower
2729 (package
2730 (name "upower")
5e503e73 2731 (version "0.99.4")
a1d5bb0e
AW
2732 (source (origin
2733 (method url-fetch)
5cc3096c 2734 (uri (string-append "https://upower.freedesktop.org/releases/"
a1d5bb0e
AW
2735 name "-" version ".tar.xz"))
2736 (sha256
2737 (base32
5e503e73 2738 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
fc1adab1 2739 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
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
ebeabe2d
SB
2761 `(("gobject-introspection" ,gobject-introspection)
2762 ("pkg-config" ,pkg-config)
a1d5bb0e 2763 ("intltool" ,intltool)
55409295
LC
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)))
a1d5bb0e 2770 (inputs
ea226291
SB
2771 `(("dbus-glib" ,dbus-glib)
2772 ("libgudev" ,libgudev)
a1d5bb0e
AW
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,
2778listening to device events and querying history and statistics. Any
2779application or service on the system can access the org.freedesktop.UPower
2780service via the system message bus.")
2781 (license license:gpl2+)))
6a180f6f
AW
2782
2783(define-public libgweather
2784 (package
2785 (name "libgweather")
9cf8d93a 2786 (version "3.24.1")
6a180f6f
AW
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
9cf8d93a 2794 "0g35xfcw9vh3sfff42blk9ksrlmkrjmj46h3ad0sqgdn6xh329qj"))))
6a180f6f
AW
2795 (build-system gnu-build-system)
2796 (arguments
b6072e6b
SB
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
8b8dfa7f
LC
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"))
b6072e6b 2815 #t)))))
6a180f6f
AW
2816 (native-inputs
2817 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 2818 ("gobject-introspection" ,gobject-introspection)
6a180f6f
AW
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
2835services for numerous locations.")
2836 (license license:gpl2+)))
23a22af6
AW
2837
2838(define-public gnome-settings-daemon
2839 (package
2840 (name "gnome-settings-daemon")
6481cad7 2841 (version "3.24.2")
23a22af6
AW
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
6481cad7 2850 "1jnw920zn4cadhgmcv2q5ylzqhwm1rmrhf3a14q8mvp38hkdgaaa"))))
23a22af6
AW
2851 (build-system glib-or-gtk-build-system)
2852 (arguments
eee7878f 2853 `(;; Color management test can't reach the colord system service.
23a22af6
AW
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)
ea226291 2864 ("libgudev" ,libgudev)
23a22af6
AW
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)
ec2b1921
AW
2879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2880 ("libwacom" ,libwacom)
2881 ("librsvg" ,librsvg)
eee7878f
CM
2882 ("xf86-input-wacom" ,xf86-input-wacom)
2883 ("network-manager" ,network-manager)))
23a22af6
AW
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
2888parameters of a GNOME session and the applications that run under it. It
2889handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2890settings, themes, mouse settings, and startup of other daemons.")
2891 (license license:gpl2+)))
1e7464a9
DH
2892
2893(define-public totem-pl-parser
2894 (package
2895 (name "totem-pl-parser")
e980cbe9 2896 (version "3.10.7")
1e7464a9
DH
2897 (source (origin
2898 (method url-fetch)
e980cbe9
MW
2899 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
2900 (version-major+minor version) "/"
1e7464a9
DH
2901 "totem-pl-parser-" version ".tar.xz"))
2902 (sha256
2903 (base32
e980cbe9 2904 "17089sqyh6w6zr8ci865ihmvqshnslcsk9fbsl4s7yii66y8b0lw"))))
1e7464a9
DH
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")
4d6d8281 2912 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2913 ("pkg-config" ,pkg-config)))
22a6ad6a 2914 (propagated-inputs
1e7464a9
DH
2915 `(("glib" ,glib)
2916 ("gmime" ,gmime)
22a6ad6a
MW
2917 ("libxml2" ,libxml2)))
2918 (inputs
2919 `(("libarchive" ,libarchive)
1e7464a9
DH
2920 ("libgcrypt" ,libgcrypt)
2921 ("nettle" ,nettle)
22a6ad6a 2922 ("libsoup" ,libsoup)))
1e7464a9
DH
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
2926playlists in a variety of formats.")
2927 (license license:lgpl2.0+)))
2928
6b888eff
SB
2929(define-public aisleriot
2930 (package
2931 (name "aisleriot")
e6a36cf2 2932 (version "3.22.2")
6b888eff
SB
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
e6a36cf2 2940 "0a8cir7vgi67sncl0m7cypq11amardm7r68gr3q52a11l8ajycdx"))))
6b888eff
SB
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
2962which are easy to play with the aid of a mouse.")
2963 (license license:gpl3+)))
4a79e256
SB
2964
2965(define-public devhelp
2966 (package
2967 (name "devhelp")
9bf10a74 2968 (version "3.24.0")
4a79e256
SB
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
9bf10a74 2976 "0c74rk46dy3kvy78m42jl3ip56c5536zmy8v1lbascjmh4fdwn28"))))
4a79e256
SB
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
2988natively with GTK-Doc (the API reference system developed for GTK+ and used
2989throughout GNOME for API documentation).")
2990 (license license:gpl2+)))
ba421ab7
MW
2991
2992(define-public cogl
2993 (package
2994 (name "cogl")
6a55accc 2995 (version "1.22.2")
ba421ab7
MW
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
6a55accc 3004 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
a88d5a0c
MW
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.
ba421ab7
MW
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)
31860852
KK
3027 ("gst-plugins-base" ,gst-plugins-base)
3028 ("wayland" ,wayland)))
ba421ab7
MW
3029 (arguments
3030 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
3031 "--enable-wayland-egl-platform"
3032 "--enable-wayland-egl-server"
3033
ba421ab7
MW
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
3057pictures. The API departs from the flat state machine style of OpenGL and is
3058designed to make it easy to write orthogonal components that can render
3059without 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/
fb182b8a
MW
3064
3065(define-public clutter
3066 (package
3067 (name "clutter")
6a88e4ee 3068 (version "1.26.2")
fb182b8a
MW
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
6a88e4ee 3077 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
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.
fb182b8a 3080 (build-system gnu-build-system)
600233bd
LC
3081 (outputs '("out"
3082 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
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
600233bd
LC
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"))
fb182b8a
MW
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
3116creating fast, mainly 2D single window applications such as media box UIs,
3117presentations, kiosk style applications and so on.")
3118 (license license:lgpl2.0+)))
bf7f17ba
MW
3119
3120(define-public clutter-gtk
3121 (package
3122 (name "clutter-gtk")
a6e44835 3123 (version "1.8.2")
bf7f17ba
MW
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
a6e44835 3132 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
bf7f17ba
MW
3133 (build-system gnu-build-system)
3134 (native-inputs
3135 `(("pkg-config" ,pkg-config)
3136 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
3137 (propagated-inputs
3138 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
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
3145creating fast, mainly 2D single window applications such as media box UIs,
3146presentations, kiosk style applications and so on.")
3147 (license license:lgpl2.0+)))
86d6a893
MW
3148
3149(define-public clutter-gst
3150 (package
3151 (name "clutter-gst")
87736005 3152 (version "3.0.24")
86d6a893
MW
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
87736005 3161 "0v6cg0syh4vx7y7ni47jsvr2r57q0j3h1f1gjlp0ciscixywiwg9"))))
86d6a893
MW
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.
3175It provides a GStreamer sink to upload frames to GL and an actor that
3176implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3177GL based interactive canvas library.")
3178 (license license:lgpl2.0+)))
607a04ae 3179
30dc88d9
LC
3180(define-public libchamplain
3181 (package
3182 (name "libchamplain")
356f0cef 3183 (version "0.12.15")
30dc88d9
LC
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
356f0cef 3191 "0x5qa1aw1y59lzkmf4j4szspn49341a87vcja4ydgxny1chilwjl"))))
30dc88d9 3192 (build-system gnu-build-system)
f7c6833f
LF
3193 (arguments '(#:configure-flags '("--enable-vala")))
3194 (native-inputs
3195 `(("gobject-introspection" ,gobject-introspection)
3196 ("pkg-config" ,pkg-config)
3197 ("vala" ,vala)))
30dc88d9
LC
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.
3211It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3212and Perl bindings are also available. It supports numerous free map sources
3213such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3214 (license license:lgpl2.1+)))
3215
607a04ae
MW
3216(define-public gom
3217 (package
3218 (name "gom")
0510440b 3219 (version "0.3.2")
607a04ae
MW
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
0510440b 3228 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
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
3244write applications that need to store structured data as well as make complex
3245queries upon that data.")
3246 (license license:lgpl2.1+)))
b7a3cf11 3247
f09520db
SB
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
3281GNOME Games, but it may be used by others.")
3282 (license license:lgpl3+)))
3283
43ec2604
MW
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
b7a3cf11
SB
3298(define-public gnome-klotski
3299 (package
3300 (name "gnome-klotski")
f4eae76f 3301 (version "3.22.1")
b7a3cf11
SB
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
f4eae76f 3309 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
b7a3cf11
SB
3310 (build-system glib-or-gtk-build-system)
3311 (native-inputs
3312 `(("desktop-file-utils" ,desktop-file-utils)
3313 ("intltool" ,intltool)
3314 ("itstool" ,itstool)
bcb354ad
SB
3315 ("pkg-config" ,pkg-config)
3316 ("xmllint" ,libxml2)))
b7a3cf11
SB
3317 (inputs
3318 `(("gtk+" ,gtk+)
f4eae76f 3319 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
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
3325the patterned block to the area bordered by green markers. To do so, you will
3326need to slide other blocks out of the way. Complete each puzzle in as few moves
3327as possible!")
3328 (license license:gpl2+)))
8d4791bf
MW
3329
3330(define-public grilo
3331 (package
3332 (name "grilo")
99dd2af9 3333 (version "0.3.3")
8d4791bf
MW
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
99dd2af9 3342 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
8d4791bf
MW
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
6d7273a0
KK
3350 `(("cyrus-sasl" ,cyrus-sasl)
3351 ("glib" ,glib)
8d4791bf
MW
3352 ("gtk+" ,gtk+)
3353 ("libxml2" ,libxml2)
6d7273a0 3354 ("liboauth" ,liboauth)
8d4791bf 3355 ("libsoup" ,libsoup)
e7305878 3356 ("nettle" ,nettle)
8d4791bf
MW
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
3380for application developers.")
3381 (license license:lgpl2.1+)))
7b212526
MW
3382
3383(define-public grilo-plugins
3384 (package
3385 (name "grilo-plugins")
22753632 3386 (version "0.3.3")
7b212526
MW
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
22753632 3395 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
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)
924ae80f 3404 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
7b212526
MW
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
3433for application developers.")
3434 (license license:lgpl2.1+)))
4e3fc547
MW
3435
3436(define-public totem
3437 (package
3438 (name "totem")
aad56d0e 3439 (version "3.24.0")
4e3fc547
MW
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
aad56d0e 3448 "00cdlll5b0wj5ckl1pc0a3g39a0hlq0gxkcsh1f6p20fjixqzmwv"))))
4e3fc547
MW
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)
bcb354ad
SB
3455 ("itstool" ,itstool)
3456 ("xmllint" ,libxml2)))
4e3fc547
MW
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
3509which 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+)))
f0afb0c8
DH
3514
3515(define-public rhythmbox
3516 (package
3517 (name "rhythmbox")
4faa8abe 3518 (version "3.4.1")
f0afb0c8
DH
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
4faa8abe 3526 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
f0afb0c8
DH
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"))
349cef58
TGR
3544 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3545 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
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))
349cef58
TGR
3549 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3550 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
3551 #t)))))
3552 (propagated-inputs
3553 `(("dconf" ,dconf)))
3554 (native-inputs
bcb354ad
SB
3555 `(("itstool" ,itstool)
3556 ("intltool" ,intltool)
f0afb0c8
DH
3557 ("glib" ,glib "bin")
3558 ("gobject-introspection" ,gobject-introspection)
3559 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3560 ("pkg-config" ,pkg-config)
3561 ("xmllint" ,libxml2)))
f0afb0c8
DH
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)
f0afb0c8
DH
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)
f0afb0c8 3577 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3578 ("libgudev" ,libgudev)
f0afb0c8
DH
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
f0afb0c8
DH
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
3600supports playlists, song ratings, and any codecs installed through gstreamer.")
3601 (license license:gpl2+)))
f70d8383
DH
3602
3603(define-public eog
3604 (package
3605 (name "eog")
dc4b64ae 3606 (version "3.24.1")
f70d8383
DH
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
dc4b64ae 3614 "1rr7zy8afqgl15j1zz8l37svyv6bw4r3l04yf70zlnf1w8bf27pm"))))
f70d8383
DH
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)
b3546174 3631 ("itstool" ,itstool)
f70d8383
DH
3632 ("glib" ,glib "bin")
3633 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3634 ("pkg-config" ,pkg-config)
3635 ("xmllint" ,libxml2)))
f70d8383
DH
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
3651supports image conversion, rotation, and slideshows.")
3652 (license license:gpl2+)))
41af5e7b 3653
0c3f8cb8
LC
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,
3685notably:
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
3690side 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
41af5e7b
SB
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
3723part of udev-extras, then udev, then systemd. It's now a project on its own.")
3724 (license license:lgpl2.1+)))
3dc8828f
SB
3725
3726(define-public gvfs
3727 (package
3728 (name "gvfs")
8e8fefb6 3729 (version "1.32.1")
3dc8828f
SB
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
8e8fefb6 3737 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3dc8828f
SB
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)
24a78aa6 3752 ("gcr" ,gcr)
3dc8828f
SB
3753 ("glib" ,glib)
3754 ("libarchive" ,libarchive)
3755 ("libbluray" ,libbluray)
8852ca24 3756 ("libcap" ,libcap)
3dc8828f
SB
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
8852ca24 3767 ("polkit" ,polkit)
3dc8828f
SB
3768 ("udisks" ,udisks)))
3769 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 3770 (synopsis "Userspace virtual file system for GIO")
3dc8828f 3771 (description
8f65585b 3772 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
3773abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3774to all applications using the GIO API. It also supports exposing the GVFS
3775mounts to non-GIO applications using FUSE.
3776
3777GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3778DAV, and others.")
3779 (license license:lgpl2.0+)))
7c88b6bd
AW
3780
3781(define-public gusb
3782 (package
3783 (name "gusb")
6b7d7e9b 3784 (version "0.2.9")
7c88b6bd
AW
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
6b7d7e9b 3794 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
7c88b6bd
AW
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"))))))))
8f1640ed 3817 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 3818 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
3819 (description
3820 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3821asynchronous control, bulk and interrupt transfers with proper cancellation
3822and integration into a mainloop. This makes it easy to integrate low level
3823USB transfers with your high-level application or system daemon.")
3824 (license license:lgpl2.1+)))
0abe1d86
AW
3825
3826(define-public simple-scan
3827 (package
3828 (name "simple-scan")
baca5333 3829 (version "3.24.1")
0abe1d86
AW
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
baca5333 3838 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
0abe1d86
AW
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)
4c928743 3846 ("libsane" ,sane-backends)))
0abe1d86 3847 (native-inputs
b94a6ca0 3848 `(("gettext" ,gettext-minimal)
0abe1d86
AW
3849 ("itstool" ,itstool)
3850 ("colord" ,colord)
3851 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3852 ("pkg-config" ,pkg-config)
bcb354ad
SB
3853 ("vala" ,vala)
3854 ("xmllint" ,libxml2)))
fb9ca511
TGR
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"))))))
0abe1d86
AW
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
3873users connect their scanner and quickly have the image/document in an
3874appropriate format. Simple Scan is basically a frontend for SANE - which is
3875the same backend as XSANE uses. This means that all existing scanners will
3876work and the interface is well tested.")
3877 (license license:gpl3+)))
7549f984
SB
3878
3879(define-public epiphany
3880 (package
3881 (name "epiphany")
16c2b151 3882 (version "3.24.2")
7549f984
SB
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
16c2b151 3890 "13f5h7mbxdyjf93jp46hiaxsrngpr6frgf69d8iza7arc060vg2s"))))
7549f984
SB
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
6f48d9db
MW
3898 '(#:tests? #f
3899 #:configure-flags '("CFLAGS=-std=gnu99")))
80a747c4
SB
3900 (propagated-inputs
3901 `(("dconf" ,dconf)))
7549f984
SB
3902 (native-inputs
3903 `(("intltool" ,intltool)
3904 ("itstool" ,itstool)
bcb354ad
SB
3905 ("pkg-config" ,pkg-config)
3906 ("xmllint" ,libxml2)))
7549f984
SB
3907 (inputs
3908 `(("avahi" ,avahi)
3909 ("gcr" ,gcr)
0e5c9cf5 3910 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7549f984
SB
3911 ("glib-networking" ,glib-networking)
3912 ("gnome-desktop" ,gnome-desktop)
3913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 3914 ("json-glib" ,json-glib)
7549f984
SB
3915 ("iso-codes" ,iso-codes)
3916 ("libnotify" ,libnotify)
3917 ("libsecret" ,libsecret)
7549f984 3918 ("libxslt" ,libxslt)
7549f984
SB
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
3925principles are simplicity and standards compliance.")
3926 (license license:gpl2+)))
a3856b2c
SB
3927
3928(define-public d-feet
3929 (package
3930 (name "d-feet")
7d04b13c 3931 (version "0.3.11")
a3856b2c
SB
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
7d04b13c 3939 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
a3856b2c
SB
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
86aff791 3947 (lambda _
a3856b2c
SB
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"
86aff791
MW
3956 (("--ignore=E123") "--ignore=E123,E402"))
3957 #t))
a3856b2c
SB
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")))
86aff791
MW
3965 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3966 #t))))))
a3856b2c
SB
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
3983of running programs and invoke methods on those interfaces.")
3984 (license license:gpl2+)))
c3b97bd9
SB
3985
3986(define-public yelp-xsl
3987 (package
3988 (name "yelp-xsl")
27ad5743 3989 (version "3.20.1")
c3b97bd9
SB
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
27ad5743 3997 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
c3b97bd9
SB
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
4007to format Docbook and Mallard documents.")
4008 (license license:gpl2+)))
de3d612a
SB
4009
4010(define-public yelp
4011 (package
4012 (name "yelp")
491cc0dc 4013 (version "3.22.0")
de3d612a
SB
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
491cc0dc 4021 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
de3d612a
SB
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
ad1b7d8b
SB
4031 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4032 ("libxslt" ,libxslt)
de3d612a 4033 ("sqlite" ,sqlite)
4c28ca1d
SB
4034 ("webkitgtk" ,webkitgtk)
4035 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
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,
4040man, info, and HTML documents. It can locate documents according to the
4041freedesktop.org help system specification.")
4042 (license license:gpl2+)))
122d0d10
SB
4043
4044(define-public yelp-tools
4045 (package
4046 (name "yelp-tools")
50695955 4047 (version "3.18.0")
122d0d10
SB
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
50695955 4055 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
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,
4070manage, and publish documentation for Yelp and the web. Most of the heavy
4071lifting is done by packages like yelp-xsl and itstool. This package just
4072wraps things up in a developer-friendly way.")
4073 (license license:gpl2+)))
af8f9f23
RW
4074
4075(define-public libgee
4076 (package
4077 (name "libgee")
afd8e16b 4078 (version "0.20.0")
af8f9f23
RW
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
afd8e16b 4086 "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"))))
af8f9f23
RW
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
4109classes for commonly used data structures.")
4110 (license license:lgpl2.1+)))
b0f9c4b8
RW
4111
4112(define-public gexiv2
4113 (package
4114 (name "gexiv2")
b7c0c756 4115 (version "0.10.6")
b0f9c4b8
RW
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
b7c0c756 4123 "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk"))))
b0f9c4b8
RW
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
4138allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4139metadata in photo and video files of various formats.")
4140 (license license:gpl2+)))
fed5a689
RW
4141
4142(define-public shotwell
4143 (package
4144 (name "shotwell")
dfb0323d 4145 (version "0.26.1")
fed5a689
RW
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
dfb0323d 4153 "0xak1f69lp1yx3p8jgmr9c0z3jypi8zjpy3kiknn5n9g2f5cqq0a"))))
fed5a689 4154 (build-system glib-or-gtk-build-system)
735b8db6
TGR
4155 (propagated-inputs
4156 `(("dconf" ,dconf)))
fed5a689
RW
4157 (native-inputs
4158 `(("pkg-config" ,pkg-config)
f819c21d 4159 ("itstool" ,itstool)
b94a6ca0 4160 ("gettext" ,gettext-minimal)
77e9c993 4161 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
4162 ("itstool" ,itstool)
4163 ("vala" ,vala)))
fed5a689 4164 (inputs
735b8db6
TGR
4165 `(("glib:bin" ,glib "bin")
4166 ("gstreamer" ,gstreamer)
fed5a689 4167 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4168 ("libgdata" ,libgdata)
fed5a689
RW
4169 ("libgee" ,libgee)
4170 ("gexiv2" ,gexiv2)
4171 ("libraw" ,libraw)
4172 ("json-glib" ,json-glib)
7108425c 4173 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4174 ("sqlite" ,sqlite)
4175 ("libsoup" ,libsoup)
4176 ("libxml2" ,libxml2)
fed5a689 4177 ("libgudev" ,libgudev)
522fc32e
LF
4178 ("libgphoto2" ,libgphoto2)
4179 ("gcr" ,gcr)))
fed5a689
RW
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
4184environment. It allows you to import photos from disk or camera, organize
4185them by keywords and events, view them in full-window or fullscreen mode, and
4186share them with others via social networking and more.")
4187 (license license:lgpl2.1+)))
293ff8b2
DT
4188
4189(define-public file-roller
4190 (package
4191 (name "file-roller")
e62a38d4 4192 (version "3.24.1")
293ff8b2
DT
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
e62a38d4 4200 "0fkz9h9a6149crmf6311fsqlmv9wyrxk86470vxib941ppl4a581"))))
293ff8b2 4201 (build-system glib-or-gtk-build-system)
c282c55d
SB
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)))))
293ff8b2
DT
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
4226environment that allows users to view, unpack, and create compressed archives
4227such as gzip tarballs.")
4228 (home-page "http://fileroller.sourceforge.net/")
4229 (license license:gpl2+)))
7ce49365
SB
4230
4231(define-public gnome-session
4232 (package
4233 (name "gnome-session")
17cf06c3 4234 (version "3.24.1")
7ce49365
SB
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
17cf06c3 4242 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
2914af3c
AW
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"))
803ab416
SB
4261 (substitute* "gnome-session/gsm-autostart-app.c"
4262 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
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"))))
6cbc8d57
LC
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"))
a0d7baaf 4281 #t))))
6cbc8d57 4282
2914af3c
AW
4283 #:configure-flags
4284 '("--enable-elogind")))
ba3cb5ab 4285 (build-system glib-or-gtk-build-system)
7ce49365
SB
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
2914af3c
AW
4292 `(("elogind" ,elogind)
4293 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4294 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
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
4306configuration program to choose applications starting on login.")
4307 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4308 (license license:gpl2+)))
f47ba77e
SB
4309
4310(define-public gjs
4311 (package
4312 (name "gjs")
144f94d0 4313 (version "1.48.3")
f47ba77e
SB
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
144f94d0 4321 "0cqgv460wfhwkw6j1h46v6bg29bycg6dfl7c5rv0lfcqmmw7v6v6"))))
f47ba77e
SB
4322 (build-system gnu-build-system)
4323 (arguments
4324 '(#:phases
4325 (modify-phases %standard-phases
4326 (add-before
4327 'check 'pre-check
4328 (lambda _
fc119619
MW
4329 ;; The test suite requires a running X server.
4330 (system "Xvfb :1 &")
4331 (setenv "DISPLAY" ":1")
4332
f47ba77e
SB
4333 ;; For the missing /etc/machine-id.
4334 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4335
144f94d0
KK
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\\).*") ""))
f47ba77e
SB
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.
144f94d0
KK
4352 `(("cairo" ,cairo)
4353 ("gobject-introspection" ,gobject-introspection)
4354 ("mozjs" ,mozjs-38)))
f47ba77e
SB
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
4362javascript engine and the GObject introspection framework.")
4363 (license license:gpl2+)))
329d731b
DH
4364
4365(define-public gedit
4366 (package
4367 (name "gedit")
9beae2a2 4368 (version "3.22.0")
329d731b
DH
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
9beae2a2 4376 "0i9z5d31vibb3dd329gwvyga38zq5k1a2glcdq7m93ycbl5mlfq6"))))
329d731b
DH
4377 (build-system glib-or-gtk-build-system)
4378 (arguments
33cd9bef
SB
4379 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4380 #:phases
329d731b
DH
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"))
afc25242
SB
4387 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4388 (python-path (getenv "PYTHONPATH")))
329d731b 4389 (wrap-program (string-append out "/bin/gedit")
afc25242 4390 ;; For plugins.
329d731b 4391 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4392 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
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)
b3546174 4401 ("itstool" ,itstool)
329d731b
DH
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)
329d731b
DH
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
4422powerful general purpose text editor.")
4423 (license license:gpl2+)))
b7179363
SB
4424
4425(define-public zenity
4426 (package
4427 (name "zenity")
380cb96e 4428 (version "3.24.0")
b7179363
SB
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
380cb96e 4436 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
b7179363
SB
4437 (build-system gnu-build-system)
4438 (native-inputs
b94a6ca0 4439 `(("gettext" ,gettext-minimal)
b7179363
SB
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
4449to display dialog boxes from the commandline and shell scripts.")
4450 (license license:lgpl2.0+)))
60c3627c
SB
4451
4452(define-public mutter
4453 (package
4454 (name "mutter")
de20d910 4455 (version "3.24.2")
60c3627c 4456 (source (origin
86c44e72
KK
4457 (method url-fetch)
4458 (uri (string-append "mirror://gnome/sources/" name "/"
4459 (version-major+minor version) "/"
4460 name "-" version ".tar.xz"))
60c3627c
SB
4461 (sha256
4462 (base32
de20d910 4463 "043q3384vwrkjdfhbwn9pwdml6z0g0ad0cj2fjnjzg6402i67071"))))
86c44e72
KK
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.
60c3627c
SB
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?
a88d5a0c
MW
4474 (list "--enable-compile-warnings=minimum"
4475
86c44e72 4476 "--enable-native-backend"
a88d5a0c
MW
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")
f23052a6
DC
4485 "/lib/libGL.so"))
4486 #:phases
4487 (modify-phases %standard-phases
86c44e72
KK
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)))))
60c3627c
SB
4496 (native-inputs
4497 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4498 ("gobject-introspection" ,gobject-introspection)
4499 ("intltool" ,intltool)
f23052a6
DC
4500 ("pkg-config" ,pkg-config)
4501 ;; For git build
4502 ("autoconf" ,autoconf)
4503 ("automake" ,automake)
4504 ("libtool" ,libtool)))
60c3627c 4505 (propagated-inputs
a88d5a0c
MW
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)
60c3627c 4515 ("gtk+" ,gtk+)
a88d5a0c
MW
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)
a88d5a0c 4528 ("xinput" ,xinput)))
60c3627c 4529 (inputs
86c44e72
KK
4530 `(("elogind" ,elogind)
4531 ("gnome-desktop" ,gnome-desktop)
60c3627c 4532 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 4533 ("libgudev" ,libgudev)
60c3627c
SB
4534 ("libice" ,libice)
4535 ("libsm" ,libsm)
60c3627c 4536 ("libxkbfile" ,libxkbfile)
a88d5a0c 4537 ("libxrandr" ,libxrandr)
86c44e72 4538 ("libxtst" ,libxtst)
60c3627c
SB
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
4547desktop via OpenGL. Mutter combines a sophisticated display engine using the
4548Clutter toolkit with solid window-management logic inherited from the Metacity
4549window manager.")
86c44e72 4550 (license license:gpl2+)))
685cee87
SB
4551
4552(define-public gnome-online-accounts
4553 (package
4554 (name "gnome-online-accounts")
8cdbaebc 4555 (version "3.24.1")
685cee87
SB
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
8cdbaebc 4563 "0lgniqmkr6ffdw3kcqd34lvp969j2q2qzcy30zkzl5c09r7anc0a"))))
685cee87
SB
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
4585libraries in GNOME can access the user's online accounts. It has providers for
4586Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4587Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4588 (license license:lgpl2.0+)))
df217748
SB
4589
4590(define-public evolution-data-server
4591 (package
4592 (name "evolution-data-server")
07cabcb1 4593 (version "3.24.3")
df217748
SB
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
07cabcb1 4601 "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk"))))
743aebd7 4602 (build-system cmake-build-system)
df217748 4603 (arguments
743aebd7 4604 '(;; XXX FIXME: 11/85 tests are failing.
df217748
SB
4605 #:tests? #f
4606 #:configure-flags
743aebd7
MB
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
df217748
SB
4612 #:phases
4613 (modify-phases %standard-phases
743aebd7 4614 (add-after 'unpack 'patch-paths
df217748
SB
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)
a73c1cf8 4625 ("vala" ,vala)
743aebd7 4626 ("python" ,python-wrapper)))
df217748
SB
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)
743aebd7
MB
4639 ("libgweather" ,libgweather)
4640 ("mit-krb5" ,mit-krb5)
4641 ("openldap" ,openldap)))
df217748
SB
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
4646contacts, tasks, and calendar information. It was originally developed for
4647Evolution (hence the name), but is now used by other packages as well.")
4648 (license license:lgpl2.0)))
bd7dfafa
SB
4649
4650(define-public caribou
4651 (package
4652 (name "caribou")
fe964bb5 4653 (version "0.4.21")
bd7dfafa
SB
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
fe964bb5 4661 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
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
4712users.")
4713 (license license:lgpl2.1)))
ba5dd105 4714
ba5dd105
SB
4715(define-public network-manager
4716 (package
4717 (name "network-manager")
856ca567 4718 (version "1.8.0")
ba5dd105
SB
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
856ca567 4726 "17pn7kzilyl0qk525gp9xnbz4x0ssrdmgk1lvw95pyfd6rm5qnps"))
fd070f35
CM
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"))))))
ba5dd105
SB
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")))
fd070f35
CM
4748 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4749 "--with-consolekit=no"
4750 "--with-crypto=gnutls"
ba5dd105
SB
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
b4f59d87
AW
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).
d04687dc
HG
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") " "))
b4f59d87 4778 #t))
ba5dd105
SB
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"
142bdcbc
SB
4788 "rundir=/tmp"
4789 "statedir=/tmp"
d04687dc 4790 "nmstatedir=/tmp/nm"
ba5dd105 4791 "install")))))))
b93502d6
DC
4792 (propagated-inputs
4793 `(("glib" ,glib)))
ba5dd105
SB
4794 (native-inputs
4795 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4796 ("gobject-introspection" ,gobject-introspection)
d04687dc 4797 ("docbook-xsl" ,docbook-xsl)
ba5dd105 4798 ("intltool" ,intltool)
d04687dc
HG
4799 ("libxslt" ,libxslt)
4800 ("libxml2" ,libxml2)
ba5dd105
SB
4801 ("pkg-config" ,pkg-config)
4802 ;; For testing.
4803 ("python" ,python-wrapper)
4804 ("python-dbus" ,python-dbus)
4805 ("python-pygobject" ,python-pygobject)))
4806 (inputs
856ca567
KK
4807 `(("curl" ,curl)
4808 ("cyrus-sasl" ,cyrus-sasl)
4809 ("dbus-glib" ,dbus-glib)
ba5dd105 4810 ("dnsmasq" ,dnsmasq)
856ca567 4811 ("eudev" ,eudev)
ba5dd105
SB
4812 ("gnutls" ,gnutls)
4813 ("iptables" ,iptables)
4814 ("isc-dhcp" ,isc-dhcp)
d04687dc 4815 ("jansson" ,jansson)
ba5dd105
SB
4816 ("libgcrypt" ,libgcrypt)
4817 ("libgudev" ,libgudev)
4818 ("libndp" ,libndp)
4819 ("libnl" ,libnl)
4820 ("libsoup" ,libsoup)
142bdcbc 4821 ("modem-manager" ,modem-manager)
ba5dd105
SB
4822 ("polkit" ,polkit)
4823 ("ppp" ,ppp)
4824 ("readline" ,readline)
fd070f35
CM
4825 ("util-linux" ,util-linux)
4826 ("elogind" ,elogind)))
ba5dd105
SB
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
4831devices and connections, attempting to keep active network connectivity when
4832available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4833devices, and provides VPN integration with a variety of different VPN
4834services.")
29d2f451
LC
4835 (license license:gpl2+)
4836 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 4837
e5e1df4d
DC
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
4d62a9d3
SB
4859(define-public network-manager-applet
4860 (package
4861 (name "network-manager-applet")
240cee8a 4862 (version "1.8.2")
4d62a9d3
SB
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
240cee8a 4870 "09f9hjpn9nkhw57mk6pi7q1bq3lhf5hvmwas0fknscssak7yjmry"))))
4d62a9d3 4871 (build-system glib-or-gtk-build-system)
240cee8a 4872 (arguments '(#:configure-flags '("--disable-migration")))
4d62a9d3
SB
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)
2116bfb3 4886 ("libsecret" ,libsecret)
240cee8a
KK
4887 ("libselinux" ,libselinux)
4888 ("jansson" ,jansson) ; for team support
4889 ("modem-manager" ,modem-manager)))
4d62a9d3
SB
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
4894the available networks and allows users to easily switch between them.")
4895 (license license:gpl2+)))
56196594
RW
4896
4897(define-public libxml++
4898 (package
4899 (name "libxml++")
8344a85e 4900 (version "3.0.1")
56196594
RW
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
8344a85e 4908 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
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
4921libxml2.")
4922 (license license:lgpl2.1+)))
df12f04a 4923
b61d9627
AW
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
df12f04a
SB
4938(define-public gdm
4939 (package
4940 (name "gdm")
8f37813e 4941 (version "3.24.2")
df12f04a
SB
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
8f37813e 4949 "1s2xzrwcjhfb4ra8jrxqfycs1jpv97id0f6idb2h6vjkspxbjy23"))))
df12f04a
SB
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
4995providing graphical log-ins and managing local and remote displays.")
4996 (license license:gpl2+)))
8e1dd04f
SB
4997
4998(define-public libgtop
4999 (package
5000 (name "libgtop")
6206db89 5001 (version "2.36.0")
8e1dd04f
SB
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
6206db89 5009 "0ax17c7nplghxgsf8zl92nmhkbnggj62wwzl7nq00aqb2m6f7gqk"))))
8e1dd04f
SB
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
5022usage and information about running processes.")
5023 (license license:gpl2+)))
b96c4260
SB
5024
5025(define-public gnome-bluetooth
5026 (package
5027 (name "gnome-bluetooth")
f8cb2fbf 5028 (version "3.20.1")
b96c4260
SB
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
f8cb2fbf 5036 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
b96c4260
SB
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
5055devices using the GNOME desktop.")
5056 (license license:lgpl2.1+)))
b645146f
SB
5057
5058(define-public gnome-control-center
5059 (package
5060 (name "gnome-control-center")
44da12be 5061 (version "3.24.2")
b645146f
SB
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
44da12be 5069 "0awga40jh6gvn335mn6kyl6yg79frap1znrsz3sw2m27yldlnaiq"))))
b645146f
SB
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)
3446ffb5 5097 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
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,
5124allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5125properties, sound setup, desktop theme and background, user interface
5126properties, screen resolution, and other GNOME parameters.")
5127 (license license:gpl2+)))
a4df5756
SB
5128
5129(define-public gnome-shell
5130 (package
5131 (name "gnome-shell")
ce1e6de0 5132 (version "3.24.2")
a4df5756
SB
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
ce1e6de0 5140 "1xp2ccmdrvzlczsrcplykwqwx2v4lbmkr0rxyylb06danlw9mivh"))))
a4df5756
SB
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)
30e760f0
MB
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)
a4df5756
SB
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,
5212like switching to windows and launching applications.")
5213 (license license:gpl2+)))
c3f29bc9
RS
5214
5215(define-public gtk-vnc
5216 (package
5217 (name "gtk-vnc")
26653538 5218 (version "0.7.0")
c3f29bc9
RS
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
26653538 5227 "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw"))))
c3f29bc9
RS
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
5248applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5249GTK-VNC implements client side RFB protocol and authentication extensions such
5250as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5251 (license license:lgpl2.1+)))
8b877545 5252
dc69fe18
MW
5253(define-public gnome-autoar
5254 (package
5255 (name "gnome-autoar")
4063a40a 5256 (version "0.2.2")
dc69fe18
MW
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
4063a40a 5264 "0qnafiwgajsaryh669lfclb4f6z5n1r9r4zhig1ha0ykxq32rzp1"))))
dc69fe18
MW
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
5279easy, safe, and automatic.")
5280 (license license:lgpl2.1+)))
5281
b64e217f
MW
5282(define-public tracker
5283 (package
5284 (name "tracker")
0ef48cd9 5285 (version "1.12.0")
b64e217f
MW
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
0ef48cd9 5293 "0vsrzzkcfvmylhpk1ww6xdx8z9sgjs0gn74gz82qngjyq3c3s6c3"))))
b64e217f
MW
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)
b64e217f
MW
5320 ("libunistring" ,libunistring)
5321 ("giflib" ,giflib)
0ef48cd9 5322 ("json-glib" ,json-glib)
b64e217f
MW
5323 ("openjpeg" ,openjpeg-1)
5324 ("libosinfo" ,libosinfo)
5325 ("libcue" ,libcue)
5326 ("libseccomp" ,libseccomp)
0ef48cd9 5327 ("libsoup" ,libsoup)
b64e217f
MW
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
5334metadata and tags. It provides a one stop solution for all metadata, tags,
5335shared 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
8b877545
RS
5342(define-public nautilus
5343 (package
5344 (name "nautilus")
ac8f1ce4 5345 (version "3.24.1")
8b877545
RS
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
ac8f1ce4 5353 "1cn6bmzmahzlwcd4gllsvx6dva386xm3papgzpv1r34abw73sf27"))))
8b877545
RS
5354 (build-system glib-or-gtk-build-system)
5355 (arguments
6983ba56 5356 '(#:configure-flags
09d88905 5357 '("--disable-selinux") ; XXX: not packaged
8b877545
RS
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)))
8b877545 5366 (inputs
8b877545 5367 `(("dconf" ,dconf)
dd05e731 5368 ("gvfs" ,gvfs)
8b877545
RS
5369 ("exempi" ,exempi)
5370 ("gnome-desktop" ,gnome-desktop)
09d88905
MW
5371 ("gnome-autoar" ,gnome-autoar)
5372 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5373 ("tracker" ,tracker)
ce6027bf
SB
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+)
8b877545
RS
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
5386design and behaviour, giving the user a simple way to navigate and manage its
5387files.")
5388 (license license:gpl2+)))
3c697ffd
JR
5389
5390(define-public baobab
5391 (package
5392 (name "baobab")
9be54b15 5393 (version "3.24.0")
3c697ffd
JR
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
9be54b15 5402 "0gzwzn8p0agidjq3wnkxcsny6jhqph3yqscqjqd7blgkz5nyk02r"))))
3c697ffd
JR
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
5416usage in the GNOME desktop environment. It can easily scan device volumes or
5417a specific user-requested directory branch (local or remote). Once the scan
5418is complete it provides a graphical representation of each selected folder.")
5419 (home-page "https://wiki.gnome.org/Apps/Baobab")
5420 (license license:gpl2+)))
dc050251 5421
fdba447c
RS
5422(define-public gnome-backgrounds
5423 (package
5424 (name "gnome-backgrounds")
2df65d37 5425 (version "3.24.0")
fdba447c
RS
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
2df65d37 5434 "1jkikis9k3psp6rb8axnqy86awdyg5rzfbcp9gx40a99b4hlrnnb"))))
fdba447c
RS
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
5442can be used as backgrounds in the GNOME Desktop environment. Additionally,
5443the package creates the proper framework and directory structure so that you
5444can 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
b784b1a9
RS
5450(define-public gnome-screenshot
5451 (package
5452 (name "gnome-screenshot")
efa355bc 5453 (version "3.22.0")
b784b1a9
RS
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
efa355bc 5462 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
b784b1a9
RS
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
5477screen, a window or a user defined area of the screen, with optional
5478beautifying border effects.")
5479 (license license:gpl2+)))
5480
66d59111
RS
5481(define-public dconf-editor
5482 (package
5483 (name "dconf-editor")
123e8168 5484 (version "3.22.3")
66d59111
RS
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
123e8168 5493 "1939yq3fl55c2dqkc6nzp6cbpxq9sli74gdj0rj7c50pwvbngwam"))))
66d59111 5494 (build-system glib-or-gtk-build-system)
d25c1836
SB
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)))))
66d59111
RS
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
5516configuration system for GNOME. It allows users to configure desktop
5517software that do not provide their own configuration interface.")
5518 (license license:lgpl2.1+)))
5519
dc050251
SB
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)
05f651c4 5531 ("baobab" ,baobab)
0bd3597b 5532 ("font-cantarell" ,font-cantarell)
dc050251
SB
5533 ("at-spi2-core" ,at-spi2-core)
5534 ("dbus" ,dbus)
5535 ("dconf" ,dconf)
72360453 5536 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
5537 ("eog" ,eog)
5538 ("epiphany" ,epiphany)
5539 ("evince" ,evince)
71d9b980 5540 ("file-roller" ,file-roller)
dc050251
SB
5541 ("gedit" ,gedit)
5542 ("glib-networking" ,glib-networking)
05f651c4 5543 ("gnome-backgrounds" ,gnome-backgrounds)
dc050251
SB
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)
05f651c4 5551 ("gvfs" ,gvfs)
dc050251
SB
5552 ("hicolor-icon-theme" ,hicolor-icon-theme)
5553 ("nautilus" ,nautilus)
69308043 5554 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
5555 ("pulseaudio" ,pulseaudio)
5556 ("shared-mime-info" ,shared-mime-info)
5557 ("totem" ,totem)
5558 ("yelp" ,yelp)
5559 ("zenity" ,zenity)))
fe4e698d 5560 (synopsis "The GNU desktop environment")
dc050251
SB
5561 (home-page "https://www.gnome.org/")
5562 (description
fe4e698d
LC
5563 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5564applications for browsing the web, editing text and images, creating
5565documents and diagrams, playing media, scanning, and much more.")
dc050251 5566 (license license:gpl2+)))
4a526711
DT
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)))
5a6527e4 5581 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
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
5617command-line interface. It can record part or all of an X display for a
5618specified duration and save it as a GIF encoded animated image file.")
5619 (home-page "https://git.gnome.org/browse/byzanz")
5620 (license license:gpl2+))))
3a9a4c51
RS
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
5647Microsoft SkyDrive and Hotmail, using their REST protocols.")
5648 (license license:lgpl2.1+)))
9365ee1c 5649
3c474897
KY
5650(define-public gnome-calendar
5651 (package
5652 (name "gnome-calendar")
a93f14ea 5653 (version "3.24.3")
3c474897
KY
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
a93f14ea 5661 "1v7k1wcl5yg9bd4l0rz0z03h32d35zgfp4qzz21widjcyis41jry"))))
3c474897
KY
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)
4b8aae41
MW
5670 ("gnome-online-accounts" ,gnome-online-accounts)
5671 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3c474897
KY
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
5676desktop. It supports multiple calendars, monthly view and yearly view.")
5677 (license license:gpl3+)))
5678
ab179eaf
SB
5679(define-public gnome-dictionary
5680 (package
5681 (name "gnome-dictionary")
6e2fc6c7 5682 (version "3.24.0")
ab179eaf
SB
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
6e2fc6c7 5690 "1wnrpg8yndacq0xnzc84d519yp7f28brzklm3a48xcgs1i50drs1"))))
ab179eaf
SB
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
5706existing databases over the internet.")
5707 (license license:gpl3+)))
5708
9365ee1c
JN
5709(define-public gnome-tweak-tool
5710 (package
5711 (name "gnome-tweak-tool")
a7850769 5712 (version "3.24.1")
9365ee1c
JN
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
a7850769 5722 "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr"))))
7ef335b0 5723 (build-system glib-or-gtk-build-system)
9365ee1c
JN
5724 (arguments
5725 `(#:configure-flags '("--localstatedir=/tmp"
5726 "--sysconfdir=/tmp")
5727 #:imported-modules ((guix build python-build-system)
7ef335b0 5728 ,@%glib-or-gtk-build-system-modules)
9365ee1c 5729 #:phases (modify-phases %standard-phases
9af6bce1
CB
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))
9365ee1c
JN
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)
adb41527 5744 ("python2-pygobject" ,python2-pygobject)
fab2784d
CB
5745 ("gnome-desktop" ,gnome-desktop)
5746 ("libsoup" ,libsoup)
adb41527 5747 ("libnotify" ,libnotify)
9365ee1c
JN
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
5755GNOME 3. This includes things like the fonts used in user interface elements,
5756alternative user interface themes, changes in window management behavior,
5757GNOME Shell appearance and extension, etc.")
5758 (license license:gpl3+)))
813f814a 5759
32ac717c
DT
5760(define-public gnome-shell-extensions
5761 (package
5762 (name "gnome-shell-extensions")
a5b5fcae 5763 (version "3.24.2")
32ac717c
DT
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
a5b5fcae 5771 "10sg87wml5cmyk90pybnr6r942ba7173sl7yplhj2sfggp0wc74s"))))
32ac717c
DT
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
5783functionality and behavior.")
5784 (home-page "https://extensions.gnome.org/")
5785 (license license:gpl3+)))
5786
813f814a
DT
5787(define-public arc-theme
5788 (package
5789 (name "arc-theme")
7967efc1 5790 (version "20170302")
813f814a
DT
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
7967efc1 5798 "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
813f814a
DT
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
58142, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5815like 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)))
9987c57c
DT
5819
5820(define-public moka-icon-theme
5821 (package
5822 (name "moka-icon-theme")
0f9bb61b 5823 (version "5.3.5")
9987c57c
DT
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
0f9bb61b 5832 "062rab0ggmgb3y0d6b3k5d47wsadi28cdnyyr2vqbjhza01dglci"))))
9987c57c
DT
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,
5851simple and consistent.")
5852 (home-page "http://snwh.org/moka")
5853 (license license:gpl3+)))
6fd8f8d6
DT
5854
5855(define-public arc-icon-theme
5856 (package
5857 (name "arc-icon-theme")
c4180240 5858 (version "20161122")
6fd8f8d6
DT
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
c4180240 5866 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6
DT
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
5882style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5883the Moka icon theme.")
5884 (home-page "https://github.com/horst3180/arc-icon-theme")
5885 (license license:gpl3+)))
6064a4e8
LF
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
5915from multiple sources (e.g., Telepathy connection managers for IM contacts,
5916Evolution Data Server for local contacts, libsocialweb for web service contacts,
5917etc.) to create metacontacts. It's written in Vala, which generates C code when
5918compiled.")
5919 (home-page "https://wiki.gnome.org/Projects/Folks")
5920 (license license:lgpl2.1+)))
01ea778f
LF
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
5951GLib/GObject code.")
5952 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5953 (license license:lgpl2.1+)))
3920868c 5954
5955(define-public libgnomekbd
5956 (package
5957 (name "libgnomekbd")
47b93ae5 5958 (version "3.22.0.1")
3920868c 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
47b93ae5 5966 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
3920868c 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
5981environment, which can notably display keyboard layouts.")
5982 (license license:lgpl2.0+)))
85327d0d 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
6017launch a single instance application twice, the second instance will either just
6018quit or will send a message to the running instance. Libunique makes it easy to
6019write this kind of application, by providing a base class, taking care of all
6020the IPC machinery needed to send messages to a running instance, and also
6021handling the startup notification side.")
6022 (license license:lgpl2.1+)))
54021cd8
RS
6023
6024(define-public gnome-calculator
6025 (package
6026 (name "gnome-calculator")
2c2da7ec 6027 (version "3.24.0")
54021cd8
RS
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
2c2da7ec 6036 "041d40as8y0r5d0kk83dy842711zchydwwqh71kh1lpd373qlxa4"))))
54021cd8
RS
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)
2c2da7ec 6046 ("mpc" ,mpc)
54021cd8
RS
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
6052is suitable as a default application in a Desktop environment.")
6053 (license license:gpl3)))
0bd69759
RS
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,
6079and customizable. Xpad consists of independent pad windows, each is
6080basically a text box in which notes can be written.")
6081 (license license:gpl3+)))
3ad7dce1
RS
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
6111characters and categories for the installed fonts, and to examine their
6112detailed properties. It is an easy way to find the character you might
6113only know by its Unicode name or code point.")
6114 (license license:gpl3+)))
04ce840a
RS
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,
6143with many options to write web sites, scripts and other code.
6144Bluefish supports many programming and markup languages.")
6145 (license license:gpl3+)))
1f6a73ee
RS
6146
6147(define-public gnome-system-monitor
6148 (package
6149 (name "gnome-system-monitor")
155f0d69 6150 (version "3.24.0")
1f6a73ee
RS
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
155f0d69 6159 "1x3343hchkllj8wyifk844v8psi45kyjhphyd03fzahi4h34aay3"))))
1f6a73ee
RS
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
6177an attractive, easy-to-use interface. It has features, such as a tree view
6178for process dependencies, icons for processes, the ability to hide processes,
6179graphical time histories of CPU/memory/swap usage and the ability to
6180kill/reinice processes.")
6181 (license license:gpl2+)))
3e00ac47
SB
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
6207accessibility infrastructure.")
6208 (license license:lgpl2.0)
6209 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
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
6269via speech and refreshable braille. Orca works with applications and toolkits
6270that support the Assistive Technology Service Provider Interface (AT-SPI).")
6271 (license license:lgpl2.1+)))
411ba511
LC
6272
6273(define-public gspell
6274 (package
6275 (name "gspell")
f54efbdc 6276 (version "1.4.1")
411ba511
LC
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
f54efbdc 6284 "1ghh1xdzf04mfgb13zqpj88krpa44xv2vbyhm6k017kzrpz8hbs4"))
411ba511
LC
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+
6322application. It provides a GObject API, spell-checking to text entries and
6323text views, and buttons to choose the language.")
6324 (license license:gpl2+)))
d1d739fa
CM
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.
20b7b75c
EF
6343 `(#:configure-flags
6344 (list "--disable-python"
6345 ,@(if (string=? "aarch64-linux" (%current-system))
6346 '("--build=aarch64-unknown-linux-gnu")
6347 '()))))
d1d739fa
CM
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
6366Structure (WBS). Its goal is to enable you to easily plan projects. Based on
6367the resources, tasks, and constraints that you define, Planner generates
6368various views into a project. For example, Planner can show a Gantt chart of
6369the project. It can show a detailed summary of tasks including their
6370duration, cost, and current progress. It can also show a report of resource
6371utilization that highlights under-utilized and over-utilized resources. These
6372views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 6373 (license license:gpl2+)))