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