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