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