Revert "Revert "gnu: inkscape: Fix build with glibmm-2.48.""
[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")
e4a7039e 2358 (version "2.2.0")
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
e4a7039e 2367 "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454"))
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
e4a7039e 2388 `(("glib" ,glib)
7b2abd00
AW
2389 ("json-glib" ,json-glib)
2390 ("libsoup" ,libsoup)))
2391 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2392 (synopsis "Geolocation service")
2393 (description "Geoclue is a D-Bus service that provides location
2394information. The primary goal of the Geoclue project is to make creating
2395location-aware applications as simple as possible, while the secondary goal is
2396to ensure that no application can access location information without explicit
e881752c 2397permission from user.")
7b2abd00 2398 (license license:gpl2+)))
2bfe7437
AW
2399
2400(define-public geocode-glib
2401 (package
2402 (name "geocode-glib")
6983ba56 2403 (version "3.20.0")
2bfe7437
AW
2404 (source (origin
2405 (method url-fetch)
2406 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2407 (version-major+minor version) "/"
2408 name "-" version ".tar.xz"))
2409 (sha256
2410 (base32
6983ba56 2411 "1fmn3gmifq8jbgnpv8jj33n4glpb5djjrfk0l9fak0cliqin88jz"))))
2bfe7437
AW
2412 (build-system gnu-build-system)
2413 (arguments
2414 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2415 ;; work for the builder. Punt.
a124bbd2 2416 #:tests? #f))
2bfe7437
AW
2417 (native-inputs
2418 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2419 ("gobject-introspection" ,gobject-introspection)
2420 ("pkg-config" ,pkg-config)
2421 ("json-glib" ,json-glib)))
2422 (propagated-inputs
2423 ;; geocode-glib-1.0.pc refers to GIO.
2424 `(("glib" ,glib)))
2425 (inputs
2426 `(("libsoup" ,libsoup)))
2427 (home-page "https://github.com/GNOME/geocode-glib/")
2428 (synopsis "Geocoding and reverse-geocoding library")
2429 (description
2430 "geocode-glib is a convenience library for geocoding (finding longitude,
2431and latitude from an address) and reverse geocoding (finding an address from
2432coordinates) using the Nominatim service. geocode-glib caches requests for
2433faster results and to avoid unnecessary server load.")
2434 (license license:lgpl2.0+)))
a1d5bb0e
AW
2435
2436(define-public upower
2437 (package
2438 (name "upower")
d777e048 2439 (version "0.99.3")
a1d5bb0e
AW
2440 (source (origin
2441 (method url-fetch)
5cc3096c 2442 (uri (string-append "https://upower.freedesktop.org/releases/"
a1d5bb0e
AW
2443 name "-" version ".tar.xz"))
2444 (sha256
2445 (base32
d777e048 2446 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
fc1adab1 2447 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
2448 (build-system glib-or-gtk-build-system)
2449 (arguments
2450 '( ;; The tests want to contact the system bus, which can't be done in the
2451 ;; build environment. The integration test can run, but the last of
2452 ;; the up-self-tests doesn't. Disable tests for now.
2453 #:tests? #f
2454 #:configure-flags (list "--localstatedir=/var"
2455 (string-append "--with-udevrulesdir="
2456 (assoc-ref %outputs "out")
2457 "/lib/udev/rules.d"))
2458 #:phases
2459 (modify-phases %standard-phases
2460 (add-before 'configure 'patch-/bin/true
2461 (lambda _
2462 (substitute* "configure"
2463 (("/bin/true") (which "true")))))
2464 (add-before 'configure 'patch-integration-test
2465 (lambda _
2466 (substitute* "src/linux/integration-test"
2467 (("/usr/bin/python3") (which "python3"))))))))
2468 (native-inputs
ebeabe2d
SB
2469 `(("gobject-introspection" ,gobject-introspection)
2470 ("pkg-config" ,pkg-config)
a1d5bb0e 2471 ("intltool" ,intltool)
55409295
LC
2472 ("python" ,python)
2473
2474 ;; For man pages.
2475 ("libxslt" ,libxslt) ;for 'xsltproc'
2476 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2477 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 2478 (inputs
ea226291
SB
2479 `(("dbus-glib" ,dbus-glib)
2480 ("libgudev" ,libgudev)
a1d5bb0e
AW
2481 ("libusb" ,libusb)))
2482 (home-page "http://upower.freedesktop.org/")
2483 (synopsis "System daemon for managing power devices")
2484 (description
2485 "UPower is an abstraction for enumerating power devices,
2486listening to device events and querying history and statistics. Any
2487application or service on the system can access the org.freedesktop.UPower
2488service via the system message bus.")
2489 (license license:gpl2+)))
6a180f6f
AW
2490
2491(define-public libgweather
2492 (package
2493 (name "libgweather")
6983ba56 2494 (version "3.20.0")
6a180f6f
AW
2495 (source (origin
2496 (method url-fetch)
2497 (uri (string-append "mirror://gnome/sources/" name "/"
2498 (version-major+minor version) "/"
2499 name "-" version ".tar.xz"))
2500 (sha256
2501 (base32
6983ba56 2502 "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj"))))
6a180f6f
AW
2503 (build-system gnu-build-system)
2504 (arguments
b6072e6b
SB
2505 `(#:configure-flags
2506 `(,(string-append "--with-zoneinfo-dir="
2507 (assoc-ref %build-inputs "tzdata")
2508 "/share/zoneinfo"))
2509 #:phases
2510 (modify-phases %standard-phases
2511 (add-before
2512 'check 'pre-check
2513 (lambda* (#:key inputs #:allow-other-keys)
2514 (substitute* "data/check-timezones.sh"
2515 (("/usr/share/zoneinfo/zone.tab")
2516 (string-append (assoc-ref inputs "tzdata")
2517 "/share/zoneinfo/zone.tab")))
2518 #t)))))
6a180f6f
AW
2519 (native-inputs
2520 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 2521 ("gobject-introspection" ,gobject-introspection)
6a180f6f
AW
2522 ("pkg-config" ,pkg-config)
2523 ("intltool" ,intltool)))
2524 (propagated-inputs
2525 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2526 ;; libsoup.
2527 `(("gtk+" ,gtk+)
2528 ("gdk-pixbuf" ,gdk-pixbuf)
2529 ("libxml2" ,libxml2)
2530 ("libsoup" ,libsoup)))
2531 (inputs
2532 `(("tzdata" ,tzdata)
2533 ("geocode-glib" ,geocode-glib)))
2534 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2535 (synopsis "Location, time zone, and weather library for GNOME")
2536 (description
2537 "libgweather is a library to access weather information from online
2538services for numerous locations.")
2539 (license license:gpl2+)))
23a22af6
AW
2540
2541(define-public gnome-settings-daemon
2542 (package
2543 (name "gnome-settings-daemon")
6983ba56 2544 (version "3.20.0")
23a22af6
AW
2545 (source
2546 (origin
2547 (method url-fetch)
2548 (uri (string-append "mirror://gnome/sources/" name "/"
2549 (version-major+minor version) "/"
2550 name "-" version ".tar.xz"))
2551 (sha256
2552 (base32
6983ba56 2553 "0v1c2vnpqw5pvx62jxvjfa2g5k29yx04vz35awqi943gasrl0bmv"))))
23a22af6
AW
2554 (build-system glib-or-gtk-build-system)
2555 (arguments
ec2b1921 2556 `(;; Network manager not yet packaged.
23a22af6
AW
2557 #:configure-flags '("--disable-network-manager")
2558 ;; Color management test can't reach the colord system service.
2559 #:tests? #f))
2560 (native-inputs
2561 `(("pkg-config" ,pkg-config)
2562 ("intltool" ,intltool)
2563 ("xsltproc" ,libxslt)
2564 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2565 ("docbook-xml" ,docbook-xml-4.2)
2566 ("docbook-xsl" ,docbook-xsl)))
2567 (inputs
2568 `(("colord" ,colord)
ea226291 2569 ("libgudev" ,libgudev)
23a22af6
AW
2570 ("upower" ,upower)
2571 ("polkit" ,polkit)
2572 ("pulseaudio" ,pulseaudio)
2573 ("libcanberra" ,libcanberra)
2574 ("libx11" ,libx11)
2575 ("libxtst" ,libxtst)
2576 ("lcms" ,lcms)
2577 ("libnotify" ,libnotify)
2578 ("geoclue" ,geoclue)
2579 ("geocode-glib" ,geocode-glib)
2580 ("libgweather" ,libgweather)
2581 ("gnome-desktop" ,gnome-desktop)
2582 ("nss" ,nss)
2583 ("cups" ,cups)
ec2b1921
AW
2584 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2585 ("libwacom" ,libwacom)
2586 ("librsvg" ,librsvg)
2587 ("xf86-input-wacom" ,xf86-input-wacom)))
23a22af6
AW
2588 (home-page "http://www.gnome.org")
2589 (synopsis "GNOME settings daemon")
2590 (description
2591 "This package contains the daemon responsible for setting the various
2592parameters of a GNOME session and the applications that run under it. It
2593handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2594settings, themes, mouse settings, and startup of other daemons.")
2595 (license license:gpl2+)))
1e7464a9
DH
2596
2597(define-public totem-pl-parser
2598 (package
2599 (name "totem-pl-parser")
6983ba56 2600 (version "3.10.6")
1e7464a9
DH
2601 (source (origin
2602 (method url-fetch)
2603 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2604 "totem-pl-parser-" version ".tar.xz"))
2605 (sha256
2606 (base32
6983ba56 2607 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
1e7464a9
DH
2608 (build-system gnu-build-system)
2609 (arguments
2610 ;; FIXME: Tests require gvfs.
2611 `(#:tests? #f))
2612 (native-inputs
2613 `(("intltool" ,intltool)
2614 ("glib" ,glib "bin")
4d6d8281 2615 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2616 ("pkg-config" ,pkg-config)))
22a6ad6a 2617 (propagated-inputs
1e7464a9
DH
2618 `(("glib" ,glib)
2619 ("gmime" ,gmime)
22a6ad6a
MW
2620 ("libxml2" ,libxml2)))
2621 (inputs
2622 `(("libarchive" ,libarchive)
1e7464a9
DH
2623 ("libgcrypt" ,libgcrypt)
2624 ("nettle" ,nettle)
22a6ad6a 2625 ("libsoup" ,libsoup)))
1e7464a9
DH
2626 (home-page "https://projects.gnome.org/totem")
2627 (synopsis "Library to parse and save media playlists for GNOME")
2628 (description "Totem-pl-parser is a GObjects-based library to parse and save
2629playlists in a variety of formats.")
2630 (license license:lgpl2.0+)))
2631
6b888eff
SB
2632(define-public aisleriot
2633 (package
2634 (name "aisleriot")
6983ba56 2635 (version "3.20.1")
6b888eff
SB
2636 (source (origin
2637 (method url-fetch)
2638 (uri (string-append "mirror://gnome/sources/" name "/"
2639 (version-major+minor version) "/"
2640 name "-" version ".tar.xz"))
2641 (sha256
2642 (base32
6983ba56 2643 "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy"))))
6b888eff
SB
2644 (build-system glib-or-gtk-build-system)
2645 (arguments
2646 '(#:configure-flags
2647 '("--with-platform=gtk-only"
2648 "--with-card-theme-formats=svg")))
2649 (native-inputs
2650 `(("desktop-file-utils" ,desktop-file-utils)
2651 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2652 ("intltool" ,intltool)
2653 ("itstool" ,itstool)
2654 ("pkg-config" ,pkg-config)
2655 ("xmllint" ,libxml2)))
2656 (inputs
2657 `(("gtk+" ,gtk+)
2658 ("guile" ,guile-2.0)
2659 ("libcanberra" ,libcanberra)
2660 ("librsvg" ,librsvg)))
2661 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2662 (synopsis "Solitaire card games")
2663 (description
2664 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2665which are easy to play with the aid of a mouse.")
2666 (license license:gpl3+)))
4a79e256
SB
2667
2668(define-public devhelp
2669 (package
2670 (name "devhelp")
6983ba56 2671 (version "3.20.0")
4a79e256
SB
2672 (source (origin
2673 (method url-fetch)
2674 (uri (string-append "mirror://gnome/sources/" name "/"
2675 (version-major+minor version) "/"
2676 name "-" version ".tar.xz"))
2677 (sha256
2678 (base32
6983ba56 2679 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
4a79e256
SB
2680 (build-system glib-or-gtk-build-system)
2681 (native-inputs
2682 `(("intltool" ,intltool)
2683 ("pkg-config" ,pkg-config)))
2684 (inputs
2685 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2686 ("webkitgtk" ,webkitgtk)))
2687 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2688 (synopsis "API documentation browser for GNOME")
2689 (description
2690 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2691natively with GTK-Doc (the API reference system developed for GTK+ and used
2692throughout GNOME for API documentation).")
2693 (license license:gpl2+)))
ba421ab7
MW
2694
2695(define-public cogl
2696 (package
2697 (name "cogl")
b3e91e02 2698 (version "1.22.0")
ba421ab7
MW
2699 (source
2700 (origin
2701 (method url-fetch)
2702 (uri (string-append "mirror://gnome/sources/" name "/"
2703 (version-major+minor version) "/"
2704 name "-" version ".tar.xz"))
2705 (sha256
2706 (base32
b3e91e02 2707 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
ba421ab7
MW
2708 (build-system gnu-build-system)
2709 (native-inputs
2710 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2711 ("gobject-introspection" ,gobject-introspection)
2712 ;;("xorg-server" ,xorg-server) ; for the test suite
2713 ("pkg-config" ,pkg-config)))
2714 (propagated-inputs
2715 `(("glib" ,glib)
2716 ("gdk-pixbuf" ,gdk-pixbuf)
2717 ("libx11" ,libx11)
2718 ("libxext" ,libxext)
2719 ("libxfixes" ,libxfixes)
2720 ("libxdamage" ,libxdamage)
2721 ("libxcomposite" ,libxcomposite)
2722 ("libxrandr" ,libxrandr)))
2723 (inputs
2724 `(("mesa" ,mesa)
2725 ("cairo" ,cairo)
2726 ("pango" ,pango)
2727 ("gstreamer" ,gstreamer)
2728 ("gst-plugins-base" ,gst-plugins-base)))
2729 (arguments
2730 `(#:configure-flags (list "--enable-cogl-gst"
2731 ;; Arrange to pass an absolute file name to
2732 ;; dlopen for libGL.so.
2733 (string-append "--with-gl-libname="
2734 (assoc-ref %build-inputs "mesa")
2735 "/lib/libGL.so"))
2736 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2737 ;; _FontTransOpen: Unable to Parse address
2738 ;; ${prefix}/share/fonts/X11/misc/
2739 #:tests? #f
2740 #; #:phases
2741 #;
2742 (modify-phases %standard-phases
2743 (add-before 'check 'start-xorg-server
2744 (lambda* (#:key inputs #:allow-other-keys)
2745 ;; The test suite requires a running X server.
2746 (system (format #f "~a/bin/Xvfb :1 &"
2747 (assoc-ref inputs "xorg-server")))
2748 (setenv "DISPLAY" ":1")
2749 #t)))))
2750 (home-page "http://www.cogl3d.org")
2751 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2752 (description
2753 "Cogl is a small library for using 3D graphics hardware to draw pretty
2754pictures. The API departs from the flat state machine style of OpenGL and is
2755designed to make it easy to write orthogonal components that can render
2756without stepping on each others toes.")
2757 (license (list license:expat ; most of the code
2758 license:bsd-3 ; cogl/cogl-point-in-poly.c
2759 license:sgifreeb2.0 ; cogl-path/tesselator/
2760 license:asl2.0)))) ; examples/android/
fb182b8a
MW
2761
2762(define-public clutter
2763 (package
2764 (name "clutter")
6983ba56 2765 (version "1.26.0")
fb182b8a
MW
2766 (source
2767 (origin
2768 (method url-fetch)
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2772 (sha256
2773 (base32
6983ba56 2774 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
fb182b8a 2775 (build-system gnu-build-system)
600233bd
LC
2776 (outputs '("out"
2777 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
2778 (native-inputs
2779 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2780 ("gobject-introspection" ,gobject-introspection)
2781 ("pkg-config" ,pkg-config)
2782 ("xsltproc" ,libxslt)))
2783 (propagated-inputs
2784 `(("cogl" ,cogl)
2785 ("cairo" ,cairo)
2786 ("atk" ,atk)
2787 ("gtk+" ,gtk+)
2788 ("json-glib" ,json-glib)
2789 ("glib" ,glib)
2790 ("libxcomposite" ,libxcomposite)
2791 ("libxdamage" ,libxdamage)
2792 ("libxext" ,libxext)
2793 ("xinput" ,xinput)))
2794 (inputs
2795 `(("libxkbcommon" ,libxkbcommon)
2796 ("udev" ,eudev)))
2797 (arguments
600233bd
LC
2798 `(#:configure-flags (list "--enable-x11-backend=yes"
2799
2800 ;; This produces share/doc/{clutter,cally}.
2801 (string-append "--with-html-dir="
2802 (assoc-ref %outputs "doc")
2803 "/share/doc"))
fb182b8a
MW
2804 ;; XXX FIXME: Get test suite working. It would probably fail in the
2805 ;; same way the cogl tests fail, since clutter is based on cogl.
2806 #:tests? #f))
2807 (home-page "http://www.clutter-project.org")
2808 (synopsis "Open GL based interactive canvas library")
2809 (description
2810 "Clutter is an Open GL based interactive canvas library, designed for
2811creating fast, mainly 2D single window applications such as media box UIs,
2812presentations, kiosk style applications and so on.")
2813 (license license:lgpl2.0+)))
bf7f17ba
MW
2814
2815(define-public clutter-gtk
2816 (package
2817 (name "clutter-gtk")
6983ba56 2818 (version "1.8.0")
bf7f17ba
MW
2819 (source
2820 (origin
2821 (method url-fetch)
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.xz"))
2825 (sha256
2826 (base32
6983ba56 2827 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
bf7f17ba
MW
2828 (build-system gnu-build-system)
2829 (native-inputs
2830 `(("pkg-config" ,pkg-config)
2831 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
2832 (propagated-inputs
2833 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
2834 `(("clutter" ,clutter)
2835 ("gtk+" ,gtk+)))
2836 (home-page "http://www.clutter-project.org")
2837 (synopsis "Open GL based interactive canvas library GTK+ widget")
2838 (description
2839 "Clutter is an Open GL based interactive canvas library, designed for
2840creating fast, mainly 2D single window applications such as media box UIs,
2841presentations, kiosk style applications and so on.")
2842 (license license:lgpl2.0+)))
86d6a893
MW
2843
2844(define-public clutter-gst
2845 (package
2846 (name "clutter-gst")
6983ba56 2847 (version "3.0.18")
86d6a893
MW
2848 (source
2849 (origin
2850 (method url-fetch)
2851 (uri (string-append "mirror://gnome/sources/" name "/"
2852 (version-major+minor version) "/"
2853 name "-" version ".tar.xz"))
2854 (sha256
2855 (base32
6983ba56 2856 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
86d6a893
MW
2857 (build-system gnu-build-system)
2858 (native-inputs
2859 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2860 ("pkg-config" ,pkg-config)
2861 ("gobject-introspection" ,gobject-introspection)))
2862 (inputs
2863 `(("clutter" ,clutter)
2864 ("gstreamer" ,gstreamer)
2865 ("gst-plugins-base" ,gst-plugins-base)))
2866 (home-page "http://www.clutter-project.org")
2867 (synopsis "Integration library for using GStreamer with Clutter")
2868 (description
2869 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2870It provides a GStreamer sink to upload frames to GL and an actor that
2871implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2872GL based interactive canvas library.")
2873 (license license:lgpl2.0+)))
607a04ae 2874
30dc88d9
LC
2875(define-public libchamplain
2876 (package
2877 (name "libchamplain")
6983ba56 2878 (version "0.12.13")
30dc88d9
LC
2879 (source (origin
2880 (method url-fetch)
2881 (uri (string-append
2882 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2883 version ".tar.xz"))
2884 (sha256
2885 (base32
6983ba56 2886 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
30dc88d9
LC
2887 (build-system gnu-build-system)
2888 (native-inputs `(("pkg-config" ,pkg-config)))
2889 (propagated-inputs
2890 `(("libsoup" ,libsoup)
2891 ("sqlite" ,sqlite)
2892 ("clutter" ,clutter)
2893 ("clutter-gtk" ,clutter-gtk)
2894 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2895 ("cairo" ,cairo)
2896 ("gtk+3" ,gtk+)
2897 ("glib" ,glib)))
2898 (home-page "http://projects.gnome.org/libchamplain/")
2899 (synopsis "C library providing a ClutterActor to display maps")
2900 (description
2901 "libchamplain is a C library providing a ClutterActor to display maps.
2902It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2903and Perl bindings are also available. It supports numerous free map sources
2904such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2905 (license license:lgpl2.1+)))
2906
607a04ae
MW
2907(define-public gom
2908 (package
2909 (name "gom")
2910 (version "0.3.1")
2911 (source
2912 (origin
2913 (method url-fetch)
2914 (uri (string-append "mirror://gnome/sources/" name "/"
2915 (version-major+minor version) "/"
2916 name "-" version ".tar.xz"))
2917 (sha256
2918 (base32
2919 "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr"))))
2920 (build-system gnu-build-system)
2921 (native-inputs
2922 `(("intltool" ,intltool)
2923 ("pkg-config" ,pkg-config)
2924 ("gobject-introspection" ,gobject-introspection)))
2925 (inputs
2926 `(("glib" ,glib)
2927 ("gdk-pixbuf" ,gdk-pixbuf)
2928 ("sqlite" ,sqlite)))
2929 ;; XXX TODO: Figure out how to run the test suite.
2930 (arguments `(#:tests? #f))
2931 (home-page "https://wiki.gnome.org/Projects/Gom")
2932 (synopsis "Object mapper from GObjects to SQLite")
2933 (description
2934 "Gom provides an object mapper from GObjects to SQLite. It helps you
2935write applications that need to store structured data as well as make complex
2936queries upon that data.")
2937 (license license:lgpl2.1+)))
b7a3cf11
SB
2938
2939(define-public gnome-klotski
2940 (package
2941 (name "gnome-klotski")
6983ba56 2942 (version "3.20.0")
b7a3cf11
SB
2943 (source (origin
2944 (method url-fetch)
2945 (uri (string-append "mirror://gnome/sources/" name "/"
2946 (version-major+minor version) "/"
2947 name "-" version ".tar.xz"))
2948 (sha256
2949 (base32
6983ba56 2950 "00hs3ci8swmq12rmgidy7rf3ql9isbklhn114v8rzdfs46y5dzkp"))))
b7a3cf11
SB
2951 (build-system glib-or-gtk-build-system)
2952 (native-inputs
2953 `(("desktop-file-utils" ,desktop-file-utils)
2954 ("intltool" ,intltool)
2955 ("itstool" ,itstool)
bcb354ad
SB
2956 ("pkg-config" ,pkg-config)
2957 ("xmllint" ,libxml2)))
b7a3cf11
SB
2958 (inputs
2959 `(("gtk+" ,gtk+)
2960 ("librsvg" ,librsvg)))
2961 (home-page "https://wiki.gnome.org/Apps/Klotski")
2962 (synopsis "Sliding block puzzles")
2963 (description
2964 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2965the patterned block to the area bordered by green markers. To do so, you will
2966need to slide other blocks out of the way. Complete each puzzle in as few moves
2967as possible!")
2968 (license license:gpl2+)))
8d4791bf
MW
2969
2970(define-public grilo
2971 (package
2972 (name "grilo")
6983ba56 2973 (version "0.2.15")
8d4791bf
MW
2974 (source
2975 (origin
2976 (method url-fetch)
2977 (uri (string-append "mirror://gnome/sources/" name "/"
2978 (version-major+minor version) "/"
2979 name "-" version ".tar.xz"))
2980 (sha256
2981 (base32
6983ba56 2982 "05b8sqfmywg45b9frya6xmw5l3c8vf5a1nhy51nyfs0a4n1japbg"))))
8d4791bf
MW
2983 (build-system gnu-build-system)
2984 (native-inputs
2985 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2986 ("intltool" ,intltool)
2987 ("pkg-config" ,pkg-config)
2988 ("gobject-introspection" ,gobject-introspection)))
2989 (inputs
2990 `(("glib" ,glib)
2991 ("gtk+" ,gtk+)
2992 ("libxml2" ,libxml2)
2993 ;; XXX TODO: Add oauth
2994 ("libsoup" ,libsoup)
2995 ("totem-pl-parser" ,totem-pl-parser)))
2996 (arguments
2997 `(#:phases
2998 (modify-phases %standard-phases
2999 (add-after 'unpack 'fix-introspection-install-dir
3000 (lambda* (#:key outputs #:allow-other-keys)
3001 (let ((out (assoc-ref outputs "out")))
3002 (substitute* '("src/Makefile.in"
3003 "libs/pls/Makefile.in"
3004 "libs/net/Makefile.in")
3005 (("@INTROSPECTION_GIRDIR@")
3006 (string-append out "/share/gir-1.0/"))
3007 (("@INTROSPECTION_TYPELIBDIR@")
3008 (string-append out "/lib/girepository-1.0/")))))))))
3009 (native-search-paths
3010 (list (search-path-specification
3011 (variable "GRL_PLUGIN_PATH")
3012 (files (list (string-append "lib/grilo-"
3013 (version-major+minor version)))))))
3014 (home-page "http://live.gnome.org/Grilo")
3015 (synopsis "Framework for discovering and browsing media")
3016 (description
3017 "Grilo is a framework focused on making media discovery and browsing easy
3018for application developers.")
3019 (license license:lgpl2.1+)))
7b212526
MW
3020
3021(define-public grilo-plugins
3022 (package
3023 (name "grilo-plugins")
6983ba56 3024 (version "0.2.17")
7b212526
MW
3025 (source
3026 (origin
3027 (method url-fetch)
3028 (uri (string-append "mirror://gnome/sources/" name "/"
3029 (version-major+minor version) "/"
3030 name "-" version ".tar.xz"))
3031 (sha256
3032 (base32
6983ba56 3033 "109pf4sz320jiqs1nzszpj2flkwrgwfsm64kza24mxnxih4njxik"))))
7b212526
MW
3034 (build-system gnu-build-system)
3035 (native-inputs
3036 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3037 ("intltool" ,intltool)
3038 ("itstool" ,itstool)
3039 ("pkg-config" ,pkg-config)))
3040 (inputs
3041 `(("grilo" ,grilo)
3042 ("glib" ,glib)
3043 ("libxml2" ,libxml2)
3044 ("sqlite" ,sqlite)
3045 ("gom" ,gom)
3046 ;; XXX TODO: Add oauth
3047 ;; XXX TODO: Add goa
3048 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3049 ;; XXX TODO: Add lua (needs help finding it)
3050 ("json-glib" ,json-glib)
3051 ("avahi" ,avahi)
3052 ("gmime" ,gmime)
3053 ("libsoup" ,libsoup)
3054 ("libarchive" ,libarchive)
3055 ("totem-pl-parser" ,totem-pl-parser)))
3056 (arguments
3057 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3058 %output
3059 "/lib/grilo-"
3060 ,(version-major+minor version)))
3061 ;; XXX FIXME: Try to get the test suite working. It appears to require
3062 ;; a working system dbus. Inside the build container, all tests fail
3063 ;; with: "assertion failed: (source)". Outside of the build container,
3064 ;; most tests succeed.
3065 #:tests? #f))
3066 (home-page "http://live.gnome.org/Grilo")
3067 (synopsis "Plugins for the Grilo media discovery library")
3068 (description
3069 "Grilo is a framework focused on making media discovery and browsing easy
3070for application developers.")
3071 (license license:lgpl2.1+)))
4e3fc547
MW
3072
3073(define-public totem
3074 (package
3075 (name "totem")
6983ba56 3076 (version "3.20.0")
4e3fc547
MW
3077 (source
3078 (origin
3079 (method url-fetch)
3080 (uri (string-append "mirror://gnome/sources/" name "/"
3081 (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3083 (sha256
3084 (base32
6983ba56 3085 "1pq3fg4778qrylkg6lc4jcb3gvm46n5y7mfn26iihi23aj844yq7"))))
4e3fc547
MW
3086 (build-system glib-or-gtk-build-system)
3087 (native-inputs
3088 `(("pkg-config" ,pkg-config)
3089 ("desktop-file-utils" ,desktop-file-utils)
3090 ("gobject-introspection" ,gobject-introspection)
3091 ("intltool" ,intltool)
bcb354ad
SB
3092 ("itstool" ,itstool)
3093 ("xmllint" ,libxml2)))
4e3fc547
MW
3094 (propagated-inputs
3095 `(("dconf" ,dconf)))
3096 (inputs
3097 `(("gtk+" ,gtk+)
3098 ("gdk-pixbuf" ,gdk-pixbuf)
3099 ("atk" ,atk)
3100 ("cairo" ,cairo)
3101 ("dbus-glib" ,dbus-glib)
3102 ("clutter" ,clutter)
3103 ("clutter-gtk" ,clutter-gtk)
3104 ("clutter-gst" ,clutter-gst)
3105 ("xproto" ,xproto)
3106 ("libxxf86vm" ,libxxf86vm)
3107 ("libxtst" ,libxtst)
3108 ("libxrandr" ,libxrandr)
3109 ("libxml2" ,libxml2)
3110 ("libsoup" ,libsoup)
3111 ("libpeas" ,libpeas)
3112 ("librsvg" ,librsvg)
3113 ("lirc" ,lirc)
3114 ("gnome-desktop" ,gnome-desktop)
3115 ("gstreamer" ,gstreamer)
3116 ("gst-plugins-base" ,gst-plugins-base)
3117 ("gst-plugins-good" ,gst-plugins-good)
3118 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3119 ("adwaita-icon-theme" ,adwaita-icon-theme)
3120 ;; XXX We use python-2 because libxml2 because itstool (which needs
3121 ;; libxml) currently uses python-2.
3122 ("python" ,python-2)
3123 ("python-pygobject" ,python2-pygobject)
3124 ;; XXX TODO pylint needed for python support
3125 ("totem-pl-parser" ,totem-pl-parser)
3126 ("grilo" ,grilo)
3127 ("grilo-plugins" ,grilo-plugins)
3128 ("nettle" ,nettle)
3129 ("vala" ,vala)))
3130 (arguments
3131 `(#:phases
3132 (modify-phases %standard-phases
3133 (add-after
3134 'install 'wrap-totem
3135 (lambda* (#:key inputs outputs #:allow-other-keys)
3136 (let ((out (assoc-ref outputs "out"))
3137 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3138 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3139 (wrap-program (string-append out "/bin/totem")
3140 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3141 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3142 #t)))))
3143 (home-page "https://wiki.gnome.org/Apps/Videos")
3144 (synopsis "Simple media player for GNOME based on GStreamer")
3145 (description "Totem is a simple yet featureful media player for GNOME
3146which can read a large number of file formats.")
3147 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3148 ;; to be used and distributed together with GStreamer and Totem. See
3149 ;; file://COPYING in the source distribution for details.
3150 (license license:gpl2+)))
f0afb0c8
DH
3151
3152(define-public rhythmbox
3153 (package
3154 (name "rhythmbox")
3155 (version "3.2.1")
3156 (source (origin
3157 (method url-fetch)
3158 (uri (string-append "mirror://gnome/sources/" name "/"
3159 (version-major+minor version) "/"
3160 name "-" version ".tar.xz"))
3161 (sha256
3162 (base32
3163 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3164 (build-system glib-or-gtk-build-system)
3165 (arguments
3166 `(#:configure-flags
3167 (list "--enable-lirc"
3168 "--enable-python"
3169 "--enable-vala"
3170 "--with-brasero"
3171 "--with-gudev"
3172 "--with-libsecret")
3173 #:phases
3174 (modify-phases %standard-phases
3175 (add-after
3176 'install 'wrap-rhythmbox
3177 (lambda* (#:key inputs outputs #:allow-other-keys)
3178 (let ((out (assoc-ref outputs "out"))
3179 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3180 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3181 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3182 (wrap-program (string-append out "/bin/rhythmbox")
3183 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3184 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3185 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3186 #t)))))
3187 (propagated-inputs
3188 `(("dconf" ,dconf)))
3189 (native-inputs
bcb354ad
SB
3190 `(("itstool" ,itstool)
3191 ("intltool" ,intltool)
f0afb0c8
DH
3192 ("glib" ,glib "bin")
3193 ("gobject-introspection" ,gobject-introspection)
3194 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3195 ("pkg-config" ,pkg-config)
3196 ("xmllint" ,libxml2)))
f0afb0c8
DH
3197 (inputs
3198 `(("json-glib" ,json-glib)
3199 ("tdb" ,tdb)
3200 ("gnome-desktop" ,gnome-desktop)
3201 ("python" ,python)
3202 ("python-pygobject" ,python2-pygobject)
3203 ("vala" ,vala)
3204 ("gmime" ,gmime)
3205 ("nettle" ,nettle)
f0afb0c8
DH
3206 ("adwaita-icon-theme" ,adwaita-icon-theme)
3207 ("grilo" ,grilo)
3208 ("grilo-plugins" ,grilo-plugins)
3209 ("gstreamer" ,gstreamer)
3210 ("gst-plugins-base" ,gst-plugins-base)
3211 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3212 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3213 ("libgudev" ,libgudev)
f0afb0c8
DH
3214 ;;("libmtp" ,libmtp) FIXME: Not detected
3215 ("libsecret" ,libsecret)
3216 ("libsoup" ,libsoup)
3217 ("libnotify" ,libnotify)
3218 ("libpeas" ,libpeas)
3219 ("lirc" ,lirc)
3220 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3221 ;;("clutter" ,clutter)
3222 ;;("clutter-gtk" ,clutter-gtk)
3223 ;;("clutter-gst" ,clutter-gst)
3224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3225 ("atk" ,atk)
3226 ("pango" ,pango)
3227 ("gtk+" ,gtk+)
3228 ;; TODO:
3229 ;; * libgpod
3230 ;; * mx
3231 ;; * webkit
3232 ("brasero" ,brasero)))
3233 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3234 (synopsis "Music player for GNOME")
3235 (description "Rhythmbox is a music playing application for GNOME. It
3236supports playlists, song ratings, and any codecs installed through gstreamer.")
3237 (license license:gpl2+)))
f70d8383
DH
3238
3239(define-public eog
3240 (package
3241 (name "eog")
6983ba56 3242 (version "3.20.0")
f70d8383
DH
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append "mirror://gnome/sources/" name "/"
3246 (version-major+minor version) "/"
3247 name "-" version ".tar.xz"))
3248 (sha256
3249 (base32
6983ba56 3250 "0avy7sss6rf659rxipvp3gbqw083liq627lxjpfp1ij34hbmqwfv"))))
f70d8383
DH
3251 (build-system glib-or-gtk-build-system)
3252 (arguments
3253 `(#:phases
3254 (modify-phases %standard-phases
3255 (add-after
3256 'install 'wrap-eog
3257 (lambda* (#:key outputs #:allow-other-keys)
3258 (let ((out (assoc-ref outputs "out"))
3259 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3260 (wrap-program (string-append out "/bin/eog")
3261 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3262 #t)))))
3263 (propagated-inputs
3264 `(("dconf" ,dconf)))
3265 (native-inputs
3266 `(("intltool" ,intltool)
b3546174 3267 ("itstool" ,itstool)
f70d8383
DH
3268 ("glib" ,glib "bin")
3269 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3270 ("pkg-config" ,pkg-config)
3271 ("xmllint" ,libxml2)))
f70d8383
DH
3272 (inputs
3273 `(("gnome-desktop" ,gnome-desktop)
3274 ("shared-mime-info" ,shared-mime-info)
3275 ("adwaita-icon-theme" ,adwaita-icon-theme)
3276 ("exempi" ,exempi)
3277 ("lcms" ,lcms)
3278 ("libexif" ,libexif)
3279 ("libpeas" ,libpeas)
3280 ("libjpeg" ,libjpeg)
3281 ("librsvg" ,librsvg)
3282 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3283 ("gtk+" ,gtk+)))
3284 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3285 (synopsis "GNOME image viewer")
3286 (description "Eye of GNOME is the GNOME image viewer. It
3287supports image conversion, rotation, and slideshows.")
3288 (license license:gpl2+)))
41af5e7b
SB
3289
3290(define-public libgudev
3291 (package
3292 (name "libgudev")
3293 (version "230")
3294 (source (origin
3295 (method url-fetch)
3296 (uri (string-append "mirror://gnome/sources/" name "/"
3297 version "/" name "-" version ".tar.xz"))
3298 (sha256
3299 (base32
3300 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3301 (build-system gnu-build-system)
3302 (native-inputs
3303 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3304 ("gobject-introspection" ,gobject-introspection)
3305 ("pkg-config" ,pkg-config)))
3306 (propagated-inputs
3307 `(("glib" ,glib))) ; required by gudev-1.0.pc
3308 (inputs
3309 `(("udev" ,eudev)))
3310 (home-page "https://wiki.gnome.org/Projects/libgudev")
3311 (synopsis "GObject bindings for libudev")
3312 (description
3313 "This library provides GObject bindings for libudev. It was originally
3314part of udev-extras, then udev, then systemd. It's now a project on its own.")
3315 (license license:lgpl2.1+)))
3dc8828f
SB
3316
3317(define-public gvfs
3318 (package
3319 (name "gvfs")
6983ba56 3320 (version "1.28.0")
3dc8828f
SB
3321 (source (origin
3322 (method url-fetch)
3323 (uri (string-append "mirror://gnome/sources/" name "/"
3324 (version-major+minor version) "/"
3325 name "-" version ".tar.xz"))
3326 (sha256
3327 (base32
6983ba56 3328 "017pynx7rfrhgvg904kwxdw9dc26zb0v7ymkspm059qcvw5gqwng"))))
3dc8828f
SB
3329 (build-system gnu-build-system)
3330 (arguments
3331 '(#:tests? #f)) ; XXX: requiring `pidof'
3332 (native-inputs
3333 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3334 ("intltool" ,intltool)
3335 ("pkg-config" ,pkg-config)
3336 ("xsltproc" ,libxslt)))
3337 (inputs
3338 `(("avahi" ,avahi)
3339 ("docbook-xml" ,docbook-xml-4.2)
3340 ("docbook-xsl" ,docbook-xsl)
3341 ("dbus" ,dbus)
3342 ("fuse" ,fuse)
24a78aa6 3343 ("gcr" ,gcr)
3dc8828f
SB
3344 ("glib" ,glib)
3345 ("libarchive" ,libarchive)
3346 ("libbluray" ,libbluray)
3347 ("libcdio-paranoia" ,libcdio-paranoia)
3348 ("libgcrypt" ,libgcrypt)
3349 ("libgphoto2" ,libgphoto2)
3350 ("libgudev" ,libgudev)
3351 ("libmtp" ,libmtp)
3352 ("libsecret" ,libsecret)
3353 ("libsmbclient" ,samba)
3354 ("libsoup" ,libsoup)
3355 ("libxml2" ,libxml2)
3356 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3357 ("udisks" ,udisks)))
3358 (home-page "https://wiki.gnome.org/gvfs/")
3359 (synopsis "Userspace virtual filesystem for GIO")
3360 (description
3361 "GVFS is a userspace virtual filesystem designed to work with the I/O
3362abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3363to all applications using the GIO API. It also supports exposing the GVFS
3364mounts to non-GIO applications using FUSE.
3365
3366GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3367DAV, and others.")
3368 (license license:lgpl2.0+)))
7c88b6bd
AW
3369
3370(define-public gusb
3371 (package
3372 (name "gusb")
3373 (version "0.2.6")
3374 (source (origin
3375 (method url-fetch)
3376 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3377 "gusb_"
3378 (string-join (string-split version #\.)
3379 "_")
3380 ".tar.gz"))
3381 (sha256
3382 (base32
3383 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3384 (build-system gnu-build-system)
3385 (native-inputs
3386 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3387 ("gobject-introspection" ,gobject-introspection)
3388 ("pkg-config" ,pkg-config)
3389 ("vala" ,vala)
3390 ("autoconf" ,autoconf)
3391 ("automake" ,automake)
3392 ("libtool" ,libtool)
3393 ("gtk-doc" ,gtk-doc)))
3394 (propagated-inputs
3395 ;; Both of these are required by gusb.pc.
3396 `(("glib" ,glib)
3397 ("libusb" ,libusb)))
3398 (arguments
3399 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3400 #:phases
3401 (modify-phases %standard-phases
3402 (add-after 'unpack 'autogen
3403 (lambda _
3404 (and (zero? (system* "gtkdocize"))
3405 (zero? (system* "autoreconf" "-vif"))))))))
8f1640ed 3406 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 3407 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
3408 (description
3409 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3410asynchronous control, bulk and interrupt transfers with proper cancellation
3411and integration into a mainloop. This makes it easy to integrate low level
3412USB transfers with your high-level application or system daemon.")
3413 (license license:lgpl2.1+)))
0abe1d86
AW
3414
3415(define-public simple-scan
3416 (package
3417 (name "simple-scan")
fb9ca511 3418 (version "3.19.91")
0abe1d86
AW
3419 (source (origin
3420 (method url-fetch)
3421 (uri (string-append "https://launchpad.net/simple-scan/"
3422 (version-major+minor version) "/"
3423 version "/+download/simple-scan-"
3424 version ".tar.xz"))
3425 (sha256
3426 (base32
fb9ca511 3427 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
0abe1d86
AW
3428 (build-system glib-or-gtk-build-system)
3429 (inputs
3430 `(("gtk" ,gtk+)
3431 ("zlib" ,zlib)
3432 ("cairo" ,cairo)
3433 ("gdk-pixbuf" ,gdk-pixbuf)
3434 ("gusb" ,gusb)
3435 ("libgudev" ,libgudev)
3436 ("libsane" ,sane-backends)))
3437 (native-inputs
3438 `(("intltool" ,intltool)
3439 ("itstool" ,itstool)
3440 ("colord" ,colord)
3441 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3442 ("pkg-config" ,pkg-config)
bcb354ad
SB
3443 ("vala" ,vala)
3444 ("xmllint" ,libxml2)))
fb9ca511
TGR
3445 (arguments
3446 '(#:configure-flags '("--disable-packagekit")
3447 #:phases
3448 (modify-phases %standard-phases
3449 (add-after 'unpack 'clean
3450 (lambda _
3451 ;; Remove a left-over reference to PackageKit.
3452
3453 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3454
3455 ;; There are some generated C files erroneously
3456 ;; included in the source distribution, and this
3457 ;; one breaks the build by referring to a
3458 ;; non-existent header (packagekit.h)
3459 (delete-file "src/ui.c"))))))
0abe1d86
AW
3460 (home-page "https://launchpad.net/simple-scan")
3461 (synopsis "Document and image scanner")
3462 (description "Simple Scan is an easy-to-use application, designed to let
3463users connect their scanner and quickly have the image/document in an
3464appropriate format. Simple Scan is basically a frontend for SANE - which is
3465the same backend as XSANE uses. This means that all existing scanners will
3466work and the interface is well tested.")
3467 (license license:gpl3+)))
7549f984
SB
3468
3469(define-public epiphany
3470 (package
3471 (name "epiphany")
6983ba56 3472 (version "3.20.0")
7549f984
SB
3473 (source (origin
3474 (method url-fetch)
3475 (uri (string-append "mirror://gnome/sources/" name "/"
3476 (version-major+minor version) "/"
3477 name "-" version ".tar.xz"))
3478 (sha256
3479 (base32
6983ba56 3480 "0x09dfc0zdxw93g1dcmxqpvy9vnv94bd27sfq23ix31z6i9fcs63"))))
7549f984
SB
3481 (build-system glib-or-gtk-build-system)
3482 (arguments
3483 ;; FIXME: tests run under Xvfb, but fail with:
3484 ;; /src/bookmarks/ephy-bookmarks/create:
3485 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3486 ;; subsystem
3487 ;; FAIL
3488 '(#:tests? #f))
80a747c4
SB
3489 (propagated-inputs
3490 `(("dconf" ,dconf)))
7549f984
SB
3491 (native-inputs
3492 `(("intltool" ,intltool)
3493 ("itstool" ,itstool)
bcb354ad
SB
3494 ("pkg-config" ,pkg-config)
3495 ("xmllint" ,libxml2)))
7549f984
SB
3496 (inputs
3497 `(("avahi" ,avahi)
3498 ("gcr" ,gcr)
3499 ("glib-networking" ,glib-networking)
3500 ("gnome-desktop" ,gnome-desktop)
3501 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3502 ("iso-codes" ,iso-codes)
3503 ("libnotify" ,libnotify)
3504 ("libsecret" ,libsecret)
3505 ("libwnck" ,libwnck)
3506 ("libxslt" ,libxslt)
3507 ("nss" ,nss)
3508 ("sqlite" ,sqlite)
3509 ("webkitgtk" ,webkitgtk)))
3510 (home-page "https://wiki.gnome.org/Apps/Web")
3511 (synopsis "GNOME web browser")
3512 (description
3513 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3514principles are simplicity and standards compliance.")
3515 (license license:gpl2+)))
a3856b2c
SB
3516
3517(define-public d-feet
3518 (package
3519 (name "d-feet")
3520 (version "0.3.10")
3521 (source (origin
3522 (method url-fetch)
3523 (uri (string-append "mirror://gnome/sources/" name "/"
3524 (version-major+minor version) "/"
3525 name "-" version ".tar.xz"))
3526 (sha256
3527 (base32
3528 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3529 (build-system glib-or-gtk-build-system)
3530 (arguments
3531 '(#:out-of-source? #f ; tests need to run in the source directory.
3532 #:phases
3533 (modify-phases %standard-phases
3534 (add-before
3535 'check 'pre-check
86aff791 3536 (lambda _
a3856b2c
SB
3537 ;; The test suite requires a running X server.
3538 (system "Xvfb :1 &")
3539 (setenv "DISPLAY" ":1")
3540 ;; Don't fail on missing '/etc/machine-id'.
3541 (setenv "DBUS_FATAL_WARNINGS" "0")
3542 ;; tests.py and window.py don't meet E402:
3543 ;; E402 module level import not at top of file
3544 (substitute* "src/tests/Makefile"
86aff791
MW
3545 (("--ignore=E123") "--ignore=E123,E402"))
3546 #t))
a3856b2c
SB
3547 (add-after
3548 'install 'wrap-program
3549 (lambda* (#:key outputs #:allow-other-keys)
3550 (let ((prog (string-append (assoc-ref outputs "out")
3551 "/bin/d-feet")))
3552 (wrap-program prog
3553 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3554 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3555 #t))))))
a3856b2c
SB
3556 (native-inputs
3557 `(("intltool" ,intltool)
3558 ("itstool" ,itstool)
3559 ("pkg-config" ,pkg-config)
3560 ("python-pep8" ,python-pep8)
3561 ("xmllint" ,libxml2)
3562 ("xorg-server" ,xorg-server)))
3563 (inputs
3564 `(("gobject-introspection" ,gobject-introspection)
3565 ("gtk+" ,gtk+)
3566 ("python" ,python-wrapper)
3567 ("python-pygobject" ,python-pygobject)))
3568 (home-page "https://wiki.gnome.org/Apps/DFeet")
3569 (synopsis "D-Bus debugger")
3570 (description
3571 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3572of running programs and invoke methods on those interfaces.")
3573 (license license:gpl2+)))
c3b97bd9
SB
3574
3575(define-public yelp-xsl
3576 (package
3577 (name "yelp-xsl")
6983ba56 3578 (version "3.20.0")
c3b97bd9
SB
3579 (source (origin
3580 (method url-fetch)
3581 (uri (string-append "mirror://gnome/sources/" name "/"
3582 (version-major+minor version) "/"
3583 name "-" version ".tar.xz"))
3584 (sha256
3585 (base32
6983ba56 3586 "0j288fw7bqbswl2vk73ihs0ngky0b3p8k1yy5lrxfh1whn3phclz"))))
c3b97bd9
SB
3587 (build-system gnu-build-system)
3588 (native-inputs
3589 `(("intltool" ,intltool)
3590 ("itstool" ,itstool)
3591 ("xmllint" ,libxml2)))
3592 (home-page "https://wiki.gnome.org/Apps/Yelp")
3593 (synopsis "XSL stylesheets for Yelp")
3594 (description
3595 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3596to format Docbook and Mallard documents.")
3597 (license license:gpl2+)))
de3d612a
SB
3598
3599(define-public yelp
3600 (package
3601 (name "yelp")
6983ba56 3602 (version "3.20.0")
de3d612a
SB
3603 (source (origin
3604 (method url-fetch)
3605 (uri (string-append "mirror://gnome/sources/" name "/"
3606 (version-major+minor version) "/"
3607 name "-" version ".tar.xz"))
3608 (sha256
3609 (base32
6983ba56 3610 "0g404njlgr38nif9hb3krybavk56wplkafxvfibcg68iqp9465dz"))))
de3d612a
SB
3611 (build-system glib-or-gtk-build-system)
3612 (native-inputs
3613 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3614 ("intltool" ,intltool)
3615 ("itstool" ,itstool)
3616 ("pkg-config" ,pkg-config)))
3617 (propagated-inputs
3618 `(("dconf" ,dconf)))
3619 (inputs
3620 `(("libxslt" ,libxslt)
3621 ("sqlite" ,sqlite)
4c28ca1d
SB
3622 ("webkitgtk" ,webkitgtk)
3623 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
3624 (home-page "https://wiki.gnome.org/Apps/Yelp")
3625 (synopsis "GNOME help browser")
3626 (description
3627 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3628man, info, and HTML documents. It can locate documents according to the
3629freedesktop.org help system specification.")
3630 (license license:gpl2+)))
122d0d10
SB
3631
3632(define-public yelp-tools
3633 (package
3634 (name "yelp-tools")
50695955 3635 (version "3.18.0")
122d0d10
SB
3636 (source (origin
3637 (method url-fetch)
3638 (uri (string-append "mirror://gnome/sources/" name "/"
3639 (version-major+minor version) "/"
3640 name "-" version ".tar.xz"))
3641 (sha256
3642 (base32
50695955 3643 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
3644 (build-system gnu-build-system)
3645 (native-inputs
3646 `(("pkg-config" ,pkg-config)))
3647 (propagated-inputs
3648 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3649 `(("itstool" ,itstool)
3650 ("xmllint" ,libxml2)
3651 ("xsltproc" ,libxslt)))
3652 (inputs
3653 `(("yelp-xsl" ,yelp-xsl)))
3654 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3655 (synopsis "Yelp documentation tools")
3656 (description
3657 "Yelp-tools is a collection of scripts and build utilities to help create,
3658manage, and publish documentation for Yelp and the web. Most of the heavy
3659lifting is done by packages like yelp-xsl and itstool. This package just
3660wraps things up in a developer-friendly way.")
3661 (license license:gpl2+)))
af8f9f23
RW
3662
3663(define-public libgee
3664 (package
3665 (name "libgee")
3666 (version "0.18.0")
3667 (source (origin
3668 (method url-fetch)
3669 (uri (string-append "mirror://gnome/sources/" name "/"
3670 (version-major+minor version) "/"
3671 name "-" version ".tar.xz"))
3672 (sha256
3673 (base32
3674 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3675 (build-system gnu-build-system)
3676 (arguments
3677 `(#:phases
3678 (modify-phases %standard-phases
3679 (add-after 'unpack 'fix-introspection-install-dir
3680 (lambda* (#:key outputs #:allow-other-keys)
3681 (let ((out (assoc-ref outputs "out")))
3682 (substitute* "gee/Makefile.in"
3683 (("@INTROSPECTION_GIRDIR@")
3684 (string-append out "/share/gir-1.0/"))
3685 (("@INTROSPECTION_TYPELIBDIR@")
3686 (string-append out "/lib/girepository-1.0/")))))))))
3687 (native-inputs
3688 `(("glib" ,glib "bin")
3689 ("pkg-config" ,pkg-config)))
3690 (inputs
3691 `(("glib" ,glib)
3692 ("gobject-introspection" ,gobject-introspection)))
3693 (home-page "https://wiki.gnome.org/Projects/Libgee")
3694 (synopsis "GObject collection library")
3695 (description
3696 "Libgee is a utility library providing GObject-based interfaces and
3697classes for commonly used data structures.")
3698 (license license:lgpl2.1+)))
b0f9c4b8
RW
3699
3700(define-public gexiv2
3701 (package
3702 (name "gexiv2")
3703 (version "0.10.3")
3704 (source (origin
3705 (method url-fetch)
3706 (uri (string-append "mirror://gnome/sources/" name "/"
3707 (version-major+minor version) "/"
3708 name "-" version ".tar.xz"))
3709 (sha256
3710 (base32
3711 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3712 (build-system gnu-build-system)
3713 (native-inputs
3714 `(("glib" ,glib "bin")
3715 ("pkg-config" ,pkg-config)))
3716 (propagated-inputs
3717 ;; Listed in "Requires" section of gexiv2.pc
3718 `(("exiv2" ,exiv2)))
3719 (inputs
3720 `(("glib" ,glib)
3721 ("gobject-introspection" ,gobject-introspection)))
3722 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3723 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3724 (description
3725 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3726allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3727metadata in photo and video files of various formats.")
3728 (license license:gpl2+)))
fed5a689
RW
3729
3730(define-public shotwell
3731 (package
3732 (name "shotwell")
3733 (version "0.22.0")
3734 (source (origin
3735 (method url-fetch)
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3739 (sha256
3740 (base32
3741 "0cgqaaikrb10plhf6zxbgqy32zqpiwyi9dpx3g8yr261q72r5c81"))))
3742 (build-system glib-or-gtk-build-system)
3743 (arguments
3744 `(#:tests? #f ;no "check" target
3745 #:make-flags '("CC=gcc")
3746 #:configure-flags '("--disable-gsettings-convert-install")
3747 #:out-of-source? #f))
3748 (native-inputs
3749 `(("pkg-config" ,pkg-config)
3750 ("gettext" ,gnu-gettext)
3751 ("m4" ,m4)
3752 ("desktop-file-utils" ,desktop-file-utils)
3753 ("vala" ,vala)
3754 ("which" ,which)
3755 ("gnome-doc-utils" ,gnome-doc-utils)
3756 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3757 ;; runtime. It should be propagated.
3758 ("python2-libxml2" ,python2-libxml2)
3759 ("python2" ,python-2)))
3760 (inputs
3761 `(("gstreamer" ,gstreamer)
3762 ("gst-plugins-base" ,gst-plugins-base)
3763 ("gst-plugins-good" ,gst-plugins-good)
3764 ("libgee" ,libgee)
3765 ("gexiv2" ,gexiv2)
3766 ("libraw" ,libraw)
3767 ("json-glib" ,json-glib)
3768 ("rest" ,rest)
3769 ("webkitgtk" ,webkitgtk-2.4)
3770 ("sqlite" ,sqlite)
3771 ("libsoup" ,libsoup)
3772 ("libxml2" ,libxml2)
3773 ("gtk+" ,gtk+)
3774 ("libgudev" ,libgudev)
3775 ("libgphoto2" ,libgphoto2)))
3776 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3777 (synopsis "Photo manager for GNOME 3")
3778 (description
3779 "Shotwell is a digital photo manager designed for the GNOME desktop
3780environment. It allows you to import photos from disk or camera, organize
3781them by keywords and events, view them in full-window or fullscreen mode, and
3782share them with others via social networking and more.")
3783 (license license:lgpl2.1+)))
293ff8b2
DT
3784
3785(define-public file-roller
3786 (package
3787 (name "file-roller")
6983ba56 3788 (version "3.20.0")
293ff8b2
DT
3789 (source (origin
3790 (method url-fetch)
3791 (uri (string-append "mirror://gnome/sources/" name "/"
3792 (version-major+minor version) "/"
3793 name "-" version ".tar.xz"))
3794 (sha256
3795 (base32
6983ba56 3796 "1a5598zyzdhdyk7sq59h8hqrjlacxw6wfdmgi0cs5kvbzjr9jnhq"))))
293ff8b2
DT
3797 (build-system glib-or-gtk-build-system)
3798 (native-inputs
3799 `(("intltool" ,intltool)
3800 ("pkg-config" ,pkg-config)))
3801 ;; TODO: Add libnautilus.
3802 (inputs
3803 `(("gtk+" ,gtk+)
3804 ("gdk-pixbuf" ,gdk-pixbuf)
3805 ("json-glib" ,json-glib)
3806 ("libarchive" ,libarchive)
3807 ("libnotify" ,libnotify)
3808 ("nettle" ,nettle)
3809 ("itstool" ,itstool)
3810 ("libxml2" ,libxml2)))
3811 (synopsis "Graphical archive manager for GNOME")
3812 (description "File Roller is an archive manager for the GNOME desktop
3813environment that allows users to view, unpack, and create compressed archives
3814such as gzip tarballs.")
3815 (home-page "http://fileroller.sourceforge.net/")
3816 (license license:gpl2+)))
7ce49365
SB
3817
3818(define-public gnome-session
3819 (package
3820 (name "gnome-session")
6983ba56 3821 (version "3.20.0")
7ce49365
SB
3822 (source (origin
3823 (method url-fetch)
3824 (uri (string-append "mirror://gnome/sources/" name "/"
3825 (version-major+minor version) "/"
3826 name "-" version ".tar.xz"))
3827 (sha256
3828 (base32
6983ba56 3829 "0d0v60lmvr8wbrswfpc4f4jg2dhxj6nkgv7wnwdf2zifk8vp5zv6"))))
2914af3c
AW
3830 (arguments
3831 '(#:phases
3832 (modify-phases %standard-phases
3833 (add-before 'configure 'pre-configure
3834 (lambda* (#:key outputs #:allow-other-keys)
3835 ;; Use elogind instead of systemd.
3836 (substitute* "configure"
3837 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3838 "libelogind")
3839 (("systemd") "elogind"))
3840 (substitute* "gnome-session/gsm-systemd.c"
3841 (("#include <systemd/sd-login.h>")
3842 "#include <elogind/sd-login.h>"))
3843 ;; Remove uses of the systemd journal.
3844 (substitute* "gnome-session/main.c"
3845 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3846 (substitute* "gnome-session/gsm-manager.c"
3847 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
3848 #t))
3849 (add-after 'install 'wrap-gnome-session
3850 (lambda* (#:key inputs outputs #:allow-other-keys)
3851 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3852 (let ((glib (assoc-ref inputs "glib:bin"))
3853 (out (assoc-ref outputs "out")))
3854 (wrap-program (string-append out "/bin/gnome-session")
3855 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6cbc8d57
LC
3856 #t)))
3857 (add-after 'install 'disable-hardware-acceleration-check
3858 (lambda* (#:key outputs #:allow-other-keys)
3859 ;; Do not abort if hardware acceleration is missing. This allows
3860 ;; GNOME to run in QEMU and on low-end devices.
3861 (let ((out (assoc-ref outputs "out")))
3862 (substitute* (string-append out
3863 "/share/xsessions/gnome.desktop")
3864 (("gnome-session")
3865 "gnome-session --disable-acceleration-check"))
a0d7baaf 3866 #t))))
6cbc8d57 3867
2914af3c
AW
3868 #:configure-flags
3869 '("--enable-elogind")))
ba3cb5ab 3870 (build-system glib-or-gtk-build-system)
7ce49365
SB
3871 (native-inputs
3872 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3873 ("pkg-config" ,pkg-config)
3874 ("intltool" ,intltool)
3875 ("xsltproc" ,libxslt)))
3876 (inputs
2914af3c
AW
3877 `(("elogind" ,elogind)
3878 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 3879 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
3880 ("gtk+" ,gtk+)
3881 ("json-glib" ,json-glib)
3882 ("libsm" ,libsm)
3883 ("libxcomposite" ,libxcomposite)
3884 ("libxtst" ,libxtst)
3885 ("mesa" ,mesa)
3886 ("upower" ,upower)
3887 ("xtrans" ,xtrans)))
3888 (synopsis "Session manager for GNOME")
3889 (description
3890 "This package contains the GNOME session manager, as well as a
3891configuration program to choose applications starting on login.")
3892 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3893 (license license:gpl2+)))
f47ba77e
SB
3894
3895(define-public gjs
3896 (package
3897 (name "gjs")
3898 (version "1.44.0")
3899 (source (origin
3900 (method url-fetch)
3901 (uri (string-append "mirror://gnome/sources/" name "/"
3902 (version-major+minor version) "/"
3903 name "-" version ".tar.xz"))
3904 (sha256
3905 (base32
3906 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3907 (modules '((guix build utils)))
3908 (snippet '(substitute* "test/run-with-dbus"
3909 (("/bin/rm") "rm")))))
3910 (build-system gnu-build-system)
3911 (arguments
3912 '(#:phases
3913 (modify-phases %standard-phases
3914 (add-before
3915 'check 'pre-check
3916 (lambda _
3917 ;; For the missing /etc/machine-id.
3918 (setenv "DBUS_FATAL_WARNINGS" "0")
3919 #t)))))
3920 (native-inputs
3921 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3922 ("pkg-config" ,pkg-config)
3923 ("xmllint" ,libxml2)
3924 ;; For testing
3925 ("dbus-launch" ,dbus)
3926 ("uuidgen" ,util-linux)
3927 ("xvfb" ,xorg-server)))
3928 (propagated-inputs
3929 ;; These are all in the Requires.private field of gjs-1.0.pc.
3930 `(("gobject-introspection" ,gobject-introspection)
3931 ("mozjs" ,mozjs-24)))
3932 (inputs
3933 `(("gtk+" ,gtk+)
3934 ("readline" ,readline)))
3935 (synopsis "Javascript bindings for GNOME")
3936 (home-page "http://live.gnome.org/Gjs")
3937 (description
3938 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
3939javascript engine and the GObject introspection framework.")
3940 (license license:gpl2+)))
329d731b
DH
3941
3942(define-public gedit
3943 (package
3944 (name "gedit")
6983ba56 3945 (version "3.20.1")
329d731b
DH
3946 (source (origin
3947 (method url-fetch)
3948 (uri (string-append "mirror://gnome/sources/" name "/"
3949 (version-major+minor version) "/"
3950 name "-" version ".tar.xz"))
3951 (sha256
3952 (base32
6983ba56 3953 "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws"))))
329d731b
DH
3954 (build-system glib-or-gtk-build-system)
3955 (arguments
3956 `(#:phases
3957 (modify-phases %standard-phases
3958 (add-after
3959 'install 'wrap-gedit
3960 (lambda* (#:key inputs outputs #:allow-other-keys)
3961 (let ((out (assoc-ref outputs "out"))
3962 (gtksourceview (assoc-ref inputs "gtksourceview"))
3963 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3964 (wrap-program (string-append out "/bin/gedit")
3965 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3966 ;; For language-specs.
3967 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
3968 "/share")))))
3969 #t)))))
3970 (propagated-inputs
3971 `(("dconf" ,dconf)))
3972 (native-inputs
3973 `(("intltool" ,intltool)
b3546174 3974 ("itstool" ,itstool)
329d731b
DH
3975 ("gobject-introspection" ,gobject-introspection)
3976 ("pkg-config" ,pkg-config)))
3977 (inputs
3978 `(("glib" ,glib)
3979 ("gtk+" ,gtk+)
3980 ("gtksourceview" ,gtksourceview)
3981 ("libpeas" ,libpeas)
3982 ("libxml2" ,libxml2)
3983 ("enchant" ,enchant)
3984 ("iso-codes" ,iso-codes)
3985 ("python-pygobject" ,python-pygobject)
3986 ("python" ,python)
3987 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3988 ("libx11" ,libx11)
3989 ("vala" ,vala)
3990 ("adwaita-icon-theme" ,adwaita-icon-theme)
3991 ("libsoup" ,libsoup)
3992 ("gnome-desktop" ,gnome-desktop)))
3993 (home-page "https://wiki.gnome.org/Apps/Gedit")
3994 (synopsis "GNOME text editor")
3995 (description "While aiming at simplicity and ease of use, gedit is a
3996powerful general purpose text editor.")
3997 (license license:gpl2+)))
b7179363
SB
3998
3999(define-public zenity
4000 (package
4001 (name "zenity")
6983ba56 4002 (version "3.20.0")
b7179363
SB
4003 (source (origin
4004 (method url-fetch)
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.xz"))
4008 (sha256
4009 (base32
6983ba56 4010 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
b7179363
SB
4011 (build-system gnu-build-system)
4012 (native-inputs
4013 `(("gettext" ,gnu-gettext)
4014 ("itstool" ,itstool)
4015 ("pkg-config" ,pkg-config)))
4016 (inputs
4017 `(("libnotify" ,libnotify)
4018 ("webkitgtk" ,webkitgtk)))
4019 (synopsis "Display graphical dialog boxes from shell scripts")
4020 (home-page "http://www.gnome.org")
4021 (description
4022 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4023to display dialog boxes from the commandline and shell scripts.")
4024 (license license:lgpl2.0+)))
60c3627c
SB
4025
4026(define-public mutter
4027 (package
4028 (name "mutter")
6983ba56 4029 (version "3.20.0")
60c3627c
SB
4030 (source (origin
4031 (method url-fetch)
4032 (uri (string-append "mirror://gnome/sources/" name "/"
4033 (version-major+minor version) "/"
4034 name "-" version ".tar.xz"))
4035 (sha256
4036 (base32
6983ba56 4037 "1x8nhnili1bq3pnrvr3jsgchcz36jzi9infrbr3gplwxnsbx4i2n"))))
60c3627c
SB
4038 (build-system gnu-build-system)
4039 (arguments
4040 '(#:configure-flags
4041 ;; XXX: build fails with [-Werror]:
4042 ;; backends/meta-cursor-renderer.c:112:5: error:
4043 ;; implicit declaration of function ?roundf?
4044 '("--enable-compile-warnings=minimum")))
4045 (native-inputs
4046 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4047 ("gobject-introspection" ,gobject-introspection)
4048 ("intltool" ,intltool)
4049 ("pkg-config" ,pkg-config)))
4050 (propagated-inputs
4051 ;; libmutter.pc refers to all these.
4052 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4053 ("gtk+" ,gtk+)
4054 ("clutter" ,clutter)))
4055 (inputs
4056 `(("gnome-desktop" ,gnome-desktop)
4057 ("libcanberra-gtk" ,libcanberra)
4058 ("libice" ,libice)
4059 ("libsm" ,libsm)
4060 ("libxkbcommon" ,libxkbcommon)
4061 ("libxkbfile" ,libxkbfile)
4062 ("mesa-headers" ,mesa-headers)
4063 ("startup-notification" ,startup-notification)
4064 ("upower-glib" ,upower)
4065 ("xkeyboard-config" ,xkeyboard-config)
4066 ("zenity" ,zenity)))
4067 (synopsis "Window and compositing manager")
4068 (home-page "http://www.gnome.org")
4069 (description
4070 "Mutter is a window and compositing manager that displays and manages your
4071desktop via OpenGL. Mutter combines a sophisticated display engine using the
4072Clutter toolkit with solid window-management logic inherited from the Metacity
4073window manager.")
4074 (license license:gpl2+)))
685cee87
SB
4075
4076(define-public gnome-online-accounts
4077 (package
4078 (name "gnome-online-accounts")
6983ba56 4079 (version "3.20.0")
685cee87
SB
4080 (source (origin
4081 (method url-fetch)
4082 (uri (string-append "mirror://gnome/sources/" name "/"
4083 (version-major+minor version) "/"
4084 name "-" version ".tar.xz"))
4085 (sha256
4086 (base32
6983ba56 4087 "0q546q65ba537dbxqnvs27x6pvhvi394v43kihgw4pa59j8k70n9"))))
685cee87
SB
4088 (build-system glib-or-gtk-build-system)
4089 (native-inputs
4090 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4091 ("gobject-introspection" ,gobject-introspection)
4092 ("intltool" ,intltool)
4093 ("pkg-config" ,pkg-config)
4094 ("xsltproc" ,libxslt)))
4095 (propagated-inputs
4096 `(("glib" ,glib) ; required by goa-1.0.pc
4097 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4098 (inputs
4099 `(("docbook-xsl" ,docbook-xsl)
4100 ("json-glib" ,json-glib)
4101 ("libsecret" ,libsecret)
4102 ("rest" ,rest)
4103 ("telepathy-glib" ,telepathy-glib)
4104 ("webkitgtk" ,webkitgtk)))
4105 (synopsis "Single sign-on framework for GNOME")
4106 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4107 (description
4108 "GNOME Online Accounts provides interfaces so that applications and
4109libraries in GNOME can access the user's online accounts. It has providers for
4110Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4111Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4112 (license license:lgpl2.0+)))
df217748
SB
4113
4114(define-public evolution-data-server
4115 (package
4116 (name "evolution-data-server")
6983ba56 4117 (version "3.20.0")
df217748
SB
4118 (source (origin
4119 (method url-fetch)
4120 (uri (string-append "mirror://gnome/sources/" name "/"
4121 (version-major+minor version) "/"
4122 name "-" version ".tar.xz"))
4123 (sha256
4124 (base32
6983ba56 4125 "0jsgzahaha6bxrm15da7c32m8ksnmx9rfm7xdx99lbxhsm7yiwh5"))))
df217748
SB
4126 (build-system gnu-build-system)
4127 (arguments
4128 '(;; XXX: fails with:
4129 ;; /Fixture/Calendar0: cleaning up pid xxxx
4130 ;; t status: 139)
4131 #:tests? #f
4132 #:configure-flags
4133 (let ((nss (assoc-ref %build-inputs "nss"))
4134 (nspr (assoc-ref %build-inputs "nspr")))
4135 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4136 "--disable-google" ; disable Google Contacts support
4137 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4138 (string-append "--with-nss-includes=" nss "/include/nss")
4139 (string-append "--with-nss-libs=" nss "/lib/nss")))
4140 #:phases
4141 (modify-phases %standard-phases
4142 (add-before 'check 'pre-check
4143 (lambda _
4144 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4145 (("/bin/rm") (which "rm")))
4146 #t)))))
4147 (native-inputs
4148 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4149 ("gobject-introspection" ,gobject-introspection)
4150 ("gperf" ,gperf)
4151 ("intltool" ,intltool)
4152 ("pkg-config" ,pkg-config)
4153 ("python" ,python)))
4154 (propagated-inputs
4155 ;; These are all in the Requires field of .pc files.
4156 `(("gtk+" ,gtk+)
4157 ("libical" ,libical)
4158 ("libsecret" ,libsecret)
4159 ("libsoup" ,libsoup)
4160 ("nss" ,nss)
4161 ("sqlite" ,sqlite)))
4162 (inputs
4163 `(("bdb" ,bdb)
4164 ("gcr" ,gcr)
4165 ("gnome-online-accounts" ,gnome-online-accounts)
4166 ("libgweather" ,libgweather)))
4167 (synopsis "Store address books and calendars")
4168 (home-page "https://wiki.gnome.org/Apps/Evolution")
4169 (description
4170 "This package provides a unified backend for programs that work with
4171contacts, tasks, and calendar information. It was originally developed for
4172Evolution (hence the name), but is now used by other packages as well.")
4173 (license license:lgpl2.0)))
bd7dfafa
SB
4174
4175(define-public caribou
4176 (package
4177 (name "caribou")
6983ba56 4178 (version "0.4.20")
bd7dfafa
SB
4179 (source (origin
4180 (method url-fetch)
4181 (uri (string-append "mirror://gnome/sources/" name "/"
4182 (version-major+minor version) "/"
4183 name "-" version ".tar.xz"))
4184 (sha256
4185 (base32
6983ba56 4186 "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris"))))
bd7dfafa
SB
4187 (build-system glib-or-gtk-build-system)
4188 (arguments
4189 '(#:phases
4190 (modify-phases %standard-phases
4191 (add-before
4192 'build 'pre-build
4193 (lambda* (#:key outputs #:allow-other-keys)
4194 (let ((out (assoc-ref outputs "out")))
4195 ;; Use absolute shared library path in Caribou-1.0.typelib.
4196 (substitute* "libcaribou/Makefile"
4197 (("--shared-library=libcaribou.so")
4198 (string-append "--shared-library="
4199 out "/lib/libcaribou.so")))
4200 #t)))
4201 (add-after 'install 'wrap-programs
4202 (lambda* (#:key outputs #:allow-other-keys)
4203 (let* ((out (assoc-ref outputs "out"))
4204 (python-path (getenv "PYTHONPATH"))
4205 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4206 (for-each
4207 (lambda (prog)
4208 (wrap-program prog
4209 `("PYTHONPATH" ":" prefix (,python-path))
4210 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4211 (list (string-append out "/bin/caribou-preferences")
4212 (string-append out "/libexec/antler-keyboard"))))
4213 #t)))))
4214 (native-inputs
4215 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4216 ("gobject-introspection" ,gobject-introspection)
4217 ("intltool" ,intltool)
4218 ("pkg-config" ,pkg-config)
4219 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4220 ("vala" ,vala)
4221 ("xsltproc" ,libxslt)))
4222 (propagated-inputs
4223 ;; caribou-1.0.pc refers to all these.
4224 `(("libgee" ,libgee)
4225 ("libxklavier" ,libxklavier)
4226 ("libxtst" ,libxtst)
4227 ("gtk+" ,gtk+)))
4228 (inputs
4229 `(("clutter" ,clutter)
4230 ("dconf" ,dconf)
4231 ("gtk+-2" ,gtk+-2)
4232 ("python-pygobject" ,python2-pygobject)))
4233 (synopsis "Text entry and UI navigation application")
4234 (home-page "https://wiki.gnome.org/Projects/Caribou")
4235 (description
4236 "Caribou is an input assistive technology intended for switch and pointer
4237users.")
4238 (license license:lgpl2.1)))
ba5dd105 4239
ba5dd105
SB
4240(define-public network-manager
4241 (package
4242 (name "network-manager")
4c95bbba 4243 (version "1.0.12")
ba5dd105
SB
4244 (source (origin
4245 (method url-fetch)
4246 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4247 (version-major+minor version) "/"
4248 "NetworkManager-" version ".tar.xz"))
4249 (sha256
4250 (base32
4c95bbba 4251 "17jan0g5jzp8mrpklyacwdgnnw016m1c5pc4az5im6qhc260yirs"))))
ba5dd105
SB
4252 (build-system gnu-build-system)
4253 (outputs '("out"
4254 "doc")) ; 8 MiB of gtk-doc HTML
4255 (arguments
4256 '(#:configure-flags
4257 (let ((out (assoc-ref %outputs "out"))
4258 (doc (assoc-ref %outputs "doc"))
4259 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4260 "/sbin/dhclient")))
4261 (list "--with-crypto=gnutls"
4262 "--disable-config-plugin-ibft"
4263 "--sysconfdir=/etc"
4264 "--localstatedir=/var"
4265 (string-append "--with-udev-dir="
4266 out "/lib/udev")
4267 (string-append "--with-dbus-sys-dir="
4268 out "/etc/dbus-1/system.d")
4269 (string-append "--with-html-dir="
4270 doc "/share/gtk-doc/html")
4271 (string-append "--with-dhclient=" dhclient)))
4272 #:phases
4273 (modify-phases %standard-phases
b4f59d87
AW
4274 (add-before 'configure 'pre-configure
4275 (lambda _
4276 ;; These tests try to test aspects of network-manager's
4277 ;; functionality within restricted containers, but they don't
4278 ;; cope with being already in the Guix build jail as that jail
4279 ;; lacks some features that they would like to proxy over (like
4280 ;; a /sys mount).
4281 (substitute* '("src/platform/Makefile.in")
4282 (("SUBDIRS = tests") ""))
4283 (substitute* '("src/tests/Makefile.in")
4284 (("\ttest-route-manager-linux") "\t")
4285 (("\ttest-route-manager-fake") "\t"))
4286 #t))
ba5dd105
SB
4287 (add-before 'check 'pre-check
4288 (lambda _
4289 ;; For the missing /etc/machine-id.
4290 (setenv "DBUS_FATAL_WARNINGS" "0")
4291 #t))
4292 (replace 'install
4293 (lambda _
4294 (zero? (system* "make"
4295 "sysconfdir=/tmp"
4296 "localstatedir=/tmp"
4297 "install")))))))
4298 (native-inputs
4299 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4300 ("gobject-introspection" ,gobject-introspection)
4301 ("intltool" ,intltool)
4302 ("pkg-config" ,pkg-config)
4303 ;; For testing.
4304 ("python" ,python-wrapper)
4305 ("python-dbus" ,python-dbus)
4306 ("python-pygobject" ,python-pygobject)))
4307 (inputs
4308 `(("dbus-glib" ,dbus-glib)
4309 ("dnsmasq" ,dnsmasq)
4310 ("gnutls" ,gnutls)
4311 ("iptables" ,iptables)
4312 ("isc-dhcp" ,isc-dhcp)
4313 ("libgcrypt" ,libgcrypt)
4314 ("libgudev" ,libgudev)
4315 ("libndp" ,libndp)
4316 ("libnl" ,libnl)
4317 ("libsoup" ,libsoup)
4318 ("polkit" ,polkit)
4319 ("ppp" ,ppp)
4320 ("readline" ,readline)
4321 ("util-linux" ,util-linux)))
4322 (synopsis "Network connection manager")
4323 (home-page "http://www.gnome.org/projects/NetworkManager/")
4324 (description
4325 "NetworkManager is a system network service that manages your network
4326devices and connections, attempting to keep active network connectivity when
4327available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4328devices, and provides VPN integration with a variety of different VPN
4329services.")
4330 (license license:gpl2+)))
4d62a9d3
SB
4331
4332(define-public network-manager-applet
4333 (package
4334 (name "network-manager-applet")
ef7516aa 4335 (version "1.0.10")
4d62a9d3
SB
4336 (source (origin
4337 (method url-fetch)
4338 (uri (string-append "mirror://gnome/sources/" name "/"
4339 (version-major+minor version) "/"
4340 name "-" version ".tar.xz"))
4341 (sha256
4342 (base32
ef7516aa 4343 "1szh5jyijxm6z55irkp5s44pwah0nikss40mx7pvpk38m8zaqidh"))))
4d62a9d3
SB
4344 (build-system glib-or-gtk-build-system)
4345 (arguments '(#:configure-flags '("--disable-migration")))
4346 (native-inputs
4347 `(("intltool" ,intltool)
4348 ("gobject-introspection" ,gobject-introspection)
4349 ("pkg-config" ,pkg-config)))
4350 (propagated-inputs
4351 ;; libnm-gtk.pc refers to all these.
4352 `(("dbus-glib" ,dbus-glib)
4353 ("gtk+" ,gtk+)
4354 ("network-manager" ,network-manager)))
4355 (inputs
4356 `(("iso-codes" ,iso-codes)
4357 ("libgudev" ,libgudev)
4358 ("libnotify" ,libnotify)
4359 ("libsecret" ,libsecret)))
4360 (synopsis "Applet for managing network connections")
4361 (home-page "http://www.gnome.org/projects/NetworkManager/")
4362 (description
4363 "This package contains a systray applet for NetworkManager. It displays
4364the available networks and allows users to easily switch between them.")
4365 (license license:gpl2+)))
56196594
RW
4366
4367(define-public libxml++
4368 (package
4369 (name "libxml++")
f5821956 4370 (version "3.0.0")
56196594
RW
4371 (source (origin
4372 (method url-fetch)
4373 (uri (string-append "mirror://gnome/sources/" name "/"
4374 (version-major+minor version) "/"
4375 name "-" version ".tar.xz"))
4376 (sha256
4377 (base32
f5821956 4378 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
56196594
RW
4379 (build-system gnu-build-system)
4380 ;; libxml++-3.0.pc refers to all these.
4381 (propagated-inputs
4382 `(("libxml2" ,libxml2)
4383 ("glibmm" ,glibmm)))
4384 (native-inputs
4385 `(("perl" ,perl)
4386 ("pkg-config" ,pkg-config)))
4387 (home-page "http://libxmlplusplus.sourceforge.net/")
4388 (synopsis "C++ wrapper for XML parser library libxml2")
4389 (description
4390 "This package provides a C++ wrapper for the XML parser library
4391libxml2.")
4392 (license license:lgpl2.1+)))
df12f04a
SB
4393
4394(define-public gdm
4395 (package
4396 (name "gdm")
6983ba56 4397 (version "3.20.0")
df12f04a
SB
4398 (source (origin
4399 (method url-fetch)
4400 (uri (string-append "mirror://gnome/sources/" name "/"
4401 (version-major+minor version) "/"
4402 name "-" version ".tar.xz"))
4403 (sha256
4404 (base32
6983ba56 4405 "1hnkv4j4m6z9l2y1rzxn674ir34k57apz1ybr15m11ksn05vlky6"))))
df12f04a
SB
4406 (build-system gnu-build-system)
4407 (arguments
4408 '(#:configure-flags
4409 '("--without-plymouth")
4410 #:phases
4411 (modify-phases %standard-phases
4412 (add-before
4413 'configure 'pre-configure
4414 (lambda _
4415 ;; We don't have <systemd/sd-daemon.h>.
4416 (substitute* '("common/gdm-log.c"
4417 "daemon/gdm-server.c"
4418 "daemon/gdm-session-worker.c"
4419 "daemon/gdm-session-worker-job.c")
4420 (("#include <systemd/sd-daemon\\.h>") ""))
4421 ;; Use elogind for sd-login.
4422 (substitute* '("common/gdm-common.c"
4423 "daemon/gdm-manager.c"
4424 "libgdm/gdm-user-switching.c")
4425 (("#include <systemd/sd-login\\.h>")
4426 "#include <elogind/sd-login.h>"))
4427 ;; Avoid checking SYSTEMD using pkg-config.
4428 (setenv "SYSTEMD_CFLAGS" " ")
4429 (setenv "SYSTEMD_LIBS" "-lelogind")
4430 #t)))))
4431 (native-inputs
4432 `(("dconf" ,dconf)
4433 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4434 ("gobject-introspection" ,gobject-introspection)
4435 ("intltool" ,intltool)
4436 ("itstool" ,itstool)
4437 ("pkg-config" ,pkg-config)
4438 ("xmllint" ,libxml2)))
4439 (inputs
4440 `(("accountsservice" ,accountsservice)
4441 ("check" ,check) ; for testing
4442 ("elogind" ,elogind)
4443 ("gtk+" ,gtk+)
4444 ("iso-codes" ,iso-codes)
4445 ("libcanberra" ,libcanberra)
4446 ("linux-pam" ,linux-pam)))
4447 (synopsis "Display manager for GNOME")
4448 (home-page "http://wiki.gnome.org/Projects/GDM/")
4449 (description
4450 "GNOME Display Manager is a system service that is responsible for
4451providing graphical log-ins and managing local and remote displays.")
4452 (license license:gpl2+)))
8e1dd04f
SB
4453
4454(define-public libgtop
4455 (package
4456 (name "libgtop")
6983ba56 4457 (version "2.34.0")
8e1dd04f
SB
4458 (source (origin
4459 (method url-fetch)
4460 (uri (string-append "mirror://gnome/sources/" name "/"
4461 (version-major+minor version) "/"
4462 name "-" version ".tar.xz"))
4463 (sha256
4464 (base32
6983ba56 4465 "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld"))))
8e1dd04f
SB
4466 (build-system gnu-build-system)
4467 (native-inputs
4468 `(("gobject-introspection" ,gobject-introspection)
4469 ("intltool" ,intltool)
4470 ("perl" ,perl)
4471 ("pkg-config" ,pkg-config)))
4472 (propagated-inputs
4473 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4474 (synopsis "Portable system access library")
4475 (home-page "https://www.gnome.org/")
4476 (description
4477 "LibGTop is a library to get system specific data such as CPU and memory
4478usage and information about running processes.")
4479 (license license:gpl2+)))
b96c4260
SB
4480
4481(define-public gnome-bluetooth
4482 (package
4483 (name "gnome-bluetooth")
6983ba56 4484 (version "3.18.3")
b96c4260
SB
4485 (source (origin
4486 (method url-fetch)
4487 (uri (string-append "mirror://gnome/sources/" name "/"
4488 (version-major+minor version) "/"
4489 name "-" version ".tar.xz"))
4490 (sha256
4491 (base32
6983ba56 4492 "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4"))))
b96c4260
SB
4493 (build-system glib-or-gtk-build-system)
4494 (native-inputs
4495 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4496 ("gobject-introspection" ,gobject-introspection)
4497 ("intltool" ,intltool)
4498 ("pkg-config" ,pkg-config)
4499 ("xmllint" ,libxml2)))
4500 (propagated-inputs
4501 ;; gnome-bluetooth-1.0.pc refers to all these.
4502 `(("gtk+" ,gtk+)
4503 ("udev" ,eudev)))
4504 (inputs
4505 `(("libcanberra" ,libcanberra)
4506 ("libnotify" ,libnotify)))
4507 (synopsis "GNOME Bluetooth subsystem")
4508 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4509 (description
4510 "This package contains tools for managing and manipulating Bluetooth
4511devices using the GNOME desktop.")
4512 (license license:lgpl2.1+)))
b645146f
SB
4513
4514(define-public gnome-control-center
4515 (package
4516 (name "gnome-control-center")
6983ba56 4517 (version "3.20.0")
b645146f
SB
4518 (source (origin
4519 (method url-fetch)
4520 (uri (string-append "mirror://gnome/sources/" name "/"
4521 (version-major+minor version) "/"
4522 name "-" version ".tar.xz"))
4523 (sha256
4524 (base32
6983ba56 4525 "10yncjq5hmaqbr8kjf8s729kn11as705vfx32nxahi7229v31rxp"))))
b645146f
SB
4526 (build-system glib-or-gtk-build-system)
4527 (arguments
4528 '(#:phases
4529 (modify-phases %standard-phases
4530 (add-before 'configure 'patch-paths
4531 (lambda* (#:key inputs #:allow-other-keys)
4532 (let ((libc (assoc-ref inputs "libc"))
4533 (tzdata (assoc-ref inputs "tzdata")))
4534 (substitute* "panels/datetime/tz.h"
4535 (("/usr/share/zoneinfo/zone.tab")
4536 (string-append tzdata "/share/zoneinfo/zone.tab")))
4537 (substitute* "panels/datetime/test-endianess.c"
4538 (("/usr/share/locale")
4539 (string-append libc "/share/locale")))
4540 #t))))))
4541 (native-inputs
4542 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4543 ("intltool" ,intltool)
4544 ("pkg-config" ,pkg-config)
4545 ("xsltproc" ,libxslt)))
4546 (inputs
4547 `(("accountsservice" ,accountsservice)
4548 ("clutter-gtk" ,clutter-gtk)
4549 ("colord-gtk" ,colord-gtk)
4550 ("cups" ,cups)
4551 ("dconf" ,dconf)
4552 ("docbook-xsl" ,docbook-xsl)
4553 ("gnome-bluetooth" ,gnome-bluetooth)
4554 ("gnome-desktop" ,gnome-desktop)
4555 ("gnome-online-accounts" ,gnome-online-accounts)
4556 ("gnome-settings-daemon" ,gnome-settings-daemon)
4557 ("grilo" ,grilo)
4558 ("ibus" ,ibus)
4559 ("libcanberra" ,libcanberra)
4560 ("libgudev" ,libgudev)
4561 ("libgtop" ,libgtop)
4562 ("libpwquality" ,libpwquality)
4563 ("libsoup" ,libsoup)
4564 ("libxml2" ,libxml2)
4565 ("libwacom" ,libwacom)
4566 ("mesa" ,mesa)
4567 ("mit-krb5" ,mit-krb5)
4568 ("modem-manager" ,modem-manager)
4569 ("network-manager-applet" ,network-manager-applet)
4570 ("polkit" ,polkit)
4571 ("pulseaudio" ,pulseaudio)
4572 ("smbclient" ,samba)
4573 ("tzdata" ,tzdata)
4574 ("upower" ,upower)))
4575 (synopsis "Utilities to configure the GNOME desktop")
4576 (home-page "https://www.gnome.org/")
4577 (description
4578 "This package contains configuration applets for the GNOME desktop,
4579allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4580properties, sound setup, desktop theme and background, user interface
4581properties, screen resolution, and other GNOME parameters.")
4582 (license license:gpl2+)))
a4df5756
SB
4583
4584(define-public gnome-shell
4585 (package
4586 (name "gnome-shell")
6983ba56 4587 (version "3.20.0")
a4df5756
SB
4588 (source (origin
4589 (method url-fetch)
4590 (uri (string-append "mirror://gnome/sources/" name "/"
4591 (version-major+minor version) "/"
4592 name "-" version ".tar.xz"))
4593 (sha256
4594 (base32
6983ba56 4595 "125qjrbw40r8rpri9y0yrl5yqs2q4x0l5inzi3vwl0rxvmhz8sgf"))))
a4df5756
SB
4596 (build-system glib-or-gtk-build-system)
4597 (arguments
4598 '(#:phases
4599 (modify-phases %standard-phases
4600 (replace 'install
4601 (lambda* (#:key outputs #:allow-other-keys)
4602 (let* ((out (assoc-ref outputs "out"))
4603 (keysdir (string-append
4604 out "/share/gnome-control-center/keybindings")))
4605 (zero? (system* "make"
4606 (string-append "keysdir=" keysdir)
4607 "install")))))
4608 (add-after
4609 'install 'wrap-programs
4610 (lambda* (#:key outputs #:allow-other-keys)
4611 (let ((out (assoc-ref outputs "out"))
4612 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4613 (python-path (getenv "PYTHONPATH")))
4614 (wrap-program (string-append out "/bin/gnome-shell")
4615 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4616 (for-each
4617 (lambda (prog)
4618 (wrap-program (string-append out "/bin/" prog)
4619 `("PYTHONPATH" ":" prefix (,python-path))
4620 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4621 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4622 #t))))))
4623 (native-inputs
4624 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4625 ("gobject-introspection" ,gobject-introspection)
4626 ("intltool" ,intltool)
4627 ("pkg-config" ,pkg-config)
4628 ("python" ,python)
4629 ("xsltproc" ,libxslt)))
4630 (inputs
4631 `(("accountsservice" ,accountsservice)
4632 ("caribou" ,caribou)
4633 ("docbook-xsl" ,docbook-xsl)
4634 ("evolution-data-server" ,evolution-data-server)
4635 ("gcr" ,gcr)
4636 ("gdm" ,gdm)
4637 ("gjs" ,gjs)
4638 ("gnome-bluetooth" ,gnome-bluetooth)
4639 ("gnome-control-center" ,gnome-control-center)
4640 ("gnome-desktop" ,gnome-desktop)
4641 ("gnome-settings-daemon" ,gnome-settings-daemon)
4642 ("gst-plugins-base" ,gst-plugins-base)
4643 ("ibus" ,ibus)
4644 ("libcanberra" ,libcanberra)
4645 ("libcroco" ,libcroco)
4646 ("libgweather" ,libgweather)
4647 ("libsoup" ,libsoup)
4648 ("mesa-headers" ,mesa-headers)
4649 ("mutter" ,mutter)
4650 ("network-manager-applet" ,network-manager-applet)
4651 ("polkit" ,polkit)
4652 ("pulseaudio" ,pulseaudio)
4653 ("python-pygobject" ,python-pygobject)
4654 ("startup-notification" ,startup-notification)
4655 ("telepathy-logger" ,telepathy-logger)
4656 ("upower" ,upower)
4657 ;; XXX: required by libgjs.la.
4658 ("readline" ,readline)))
4659 (synopsis "Desktop shell for GNOME")
4660 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4661 (description
4662 "GNOME Shell provides core user interface functions for the GNOME desktop,
4663like switching to windows and launching applications.")
4664 (license license:gpl2+)))
c3f29bc9
RS
4665
4666(define-public gtk-vnc
4667 (package
4668 (name "gtk-vnc")
4669 (version "0.5.4")
4670 (source
4671 (origin
4672 (method url-fetch)
4673 (uri (string-append "mirror://gnome/sources/" name "/"
4674 (version-major+minor version) "/"
4675 name "-" version ".tar.xz"))
4676 (sha256
4677 (base32
4678 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4679 (build-system gnu-build-system)
4680 (arguments
4681 '(#:configure-flags '("--with-gtk=3.0")))
4682 (propagated-inputs
4683 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4684 (inputs
4685 `(("cyrus-sasl" ,cyrus-sasl)
4686 ("gnutls" ,gnutls)
4687 ("libgcrypt" ,libgcrypt)
4688 ("pulseaudio" ,pulseaudio)))
4689 (native-inputs
4690 `(("glib:bin" ,glib "bin")
4691 ("gobject-introspection" ,gobject-introspection)
4692 ("intltool" ,intltool)
4693 ("pkg-config" ,pkg-config)
4694 ("vala" ,vala)))
4695 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4696 (synopsis "VNC viewer widget for GTK+")
4697 (description
4698 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4699applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4700GTK-VNC implements client side RFB protocol and authentication extensions such
4701as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4702 (license license:lgpl2.1+)))
8b877545
RS
4703
4704(define-public nautilus
4705 (package
4706 (name "nautilus")
6983ba56 4707 (version "3.20.0")
8b877545
RS
4708 (source (origin
4709 (method url-fetch)
4710 (uri (string-append "mirror://gnome/sources/" name "/"
4711 (version-major+minor version) "/"
4712 name "-" version ".tar.xz"))
4713 (sha256
4714 (base32
6983ba56 4715 "14s234b4l7hsxng1n3kkj4c8sjsq2vl2l2fw0caqfxva9md9k9vw"))))
8b877545
RS
4716 (build-system glib-or-gtk-build-system)
4717 (arguments
6983ba56
SB
4718 '(#:configure-flags
4719 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
8b877545
RS
4720 ;; XXX: FAIL: check-nautilus
4721 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4722 #:tests? #f))
4723 (native-inputs
4724 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4725 ("gobject-introspection" ,gobject-introspection)
4726 ("intltool" ,intltool)
4727 ("pkg-config" ,pkg-config)))
8b877545
RS
4728 (inputs
4729 ;; TODO: add gvfs support.
4730 `(("dconf" ,dconf)
4731 ("exempi" ,exempi)
4732 ("gnome-desktop" ,gnome-desktop)
ce6027bf
SB
4733 ;; XXX: gtk+ is required by libnautilus-extension.pc
4734 ;;
4735 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4736 ;; package. See:
4737 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4738 ("gtk+" ,gtk+)
8b877545
RS
4739 ("libexif" ,libexif)
4740 ("libxml2" ,libxml2)))
4741 (synopsis "File manager for GNOME")
4742 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4743 (description
4744 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4745design and behaviour, giving the user a simple way to navigate and manage its
4746files.")
4747 (license license:gpl2+)))
3c697ffd
JR
4748
4749(define-public baobab
4750 (package
4751 (name "baobab")
6983ba56 4752 (version "3.20.0")
3c697ffd
JR
4753 (source (origin
4754 (method url-fetch)
4755 (uri (string-append
4756 "mirror://gnome/sources/" name "/"
4757 (version-major+minor version) "/"
4758 name "-" version ".tar.xz"))
4759 (sha256
4760 (base32
6983ba56 4761 "01vxc9z87i2dsvydm6p1sh4m7bpbggy70q9bx6pxz707hyr6bpaw"))))
3c697ffd
JR
4762 (build-system glib-or-gtk-build-system)
4763 (native-inputs
4764 `(("intltool" ,intltool)
4765 ("pkg-config" ,pkg-config)
4766 ("itstool" ,itstool)
4767 ("xmllint" ,libxml2)
4768 ("glib" ,glib "bin")
4769 ("vala" ,vala)))
4770 (inputs
4771 `(("gtk+" ,gtk+)))
4772 (synopsis "Disk usage analyzer for GNOME")
4773 (description
4774 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4775usage in the GNOME desktop environment. It can easily scan device volumes or
4776a specific user-requested directory branch (local or remote). Once the scan
4777is complete it provides a graphical representation of each selected folder.")
4778 (home-page "https://wiki.gnome.org/Apps/Baobab")
4779 (license license:gpl2+)))
dc050251 4780
fdba447c
RS
4781(define-public gnome-backgrounds
4782 (package
4783 (name "gnome-backgrounds")
6983ba56 4784 (version "3.20")
fdba447c
RS
4785 (source
4786 (origin
4787 (method url-fetch)
4788 (uri (string-append "mirror://gnome/sources/" name "/"
4789 (version-major+minor version) "/"
4790 name "-" version ".tar.xz"))
4791 (sha256
4792 (base32
6983ba56 4793 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
fdba447c
RS
4794 (build-system glib-or-gtk-build-system)
4795 (native-inputs
4796 `(("intltool" ,intltool)))
4797 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4798 (synopsis "Background images for the GNOME desktop")
4799 (description
4800 "GNOME backgrounds package contains a collection of graphics files which
4801can be used as backgrounds in the GNOME Desktop environment. Additionally,
4802the package creates the proper framework and directory structure so that you
4803can add your own files to the collection.")
4804 (license (list license:gpl2+
4805 license:cc-by2.0
4806 license:cc-by-sa2.0
4807 license:cc-by-sa3.0))))
4808
b784b1a9
RS
4809(define-public gnome-screenshot
4810 (package
4811 (name "gnome-screenshot")
4812 (version "3.18.0")
4813 (source
4814 (origin
4815 (method url-fetch)
4816 (uri (string-append "mirror://gnome/sources/" name "/"
4817 (version-major+minor version) "/"
4818 name "-" version ".tar.xz"))
4819 (sha256
4820 (base32
4821 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4822 (build-system glib-or-gtk-build-system)
4823 (native-inputs
4824 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4825 ("intltool" ,intltool)
4826 ("pkg-config" ,pkg-config)))
4827 (inputs
4828 `(("gtk+" ,gtk+)
4829 ("libcanberra" ,libcanberra)
4830 ("libx11" ,libx11)
4831 ("libxext" ,libxext)))
4832 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4833 (synopsis "Take pictures of your screen")
4834 (description
4835 "GNOME Screenshot is a utility used for taking screenshots of the entire
4836screen, a window or a user defined area of the screen, with optional
4837beautifying border effects.")
4838 (license license:gpl2+)))
4839
66d59111
RS
4840(define-public dconf-editor
4841 (package
4842 (name "dconf-editor")
6983ba56 4843 (version "3.20.0")
66d59111
RS
4844 (source
4845 (origin
4846 (method url-fetch)
4847 (uri (string-append "mirror://gnome/sources/" name "/"
4848 (version-major+minor version) "/"
4849 name "-" version ".tar.xz"))
4850 (sha256
4851 (base32
6983ba56 4852 "0q57wmlab01rmwbwlih5mh9fa1nwc2abfz0vl374lkljw9acim13"))))
66d59111
RS
4853 (build-system glib-or-gtk-build-system)
4854 (native-inputs
4855 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4856 ("intltool" ,intltool)
4857 ("pkg-config" ,pkg-config)))
4858 (inputs
4859 `(("dconf" ,dconf)
4860 ("gtk+" ,gtk+)
4861 ("libxml2" ,libxml2)))
4862 (home-page "https://git.gnome.org/browse/dconf-editor")
4863 (synopsis "Graphical editor for GNOME's dconf configuration system")
4864 (description
4865 "Dconf-editor is a graphical tool for browsing and editing the dconf
4866configuration system for GNOME. It allows users to configure desktop
4867software that do not provide their own configuration interface.")
4868 (license license:lgpl2.1+)))
4869
dc050251
SB
4870(define-public gnome
4871 (package
4872 (name "gnome")
4873 (version (package-version gnome-shell))
4874 (source #f)
4875 (build-system trivial-build-system)
4876 (arguments '(#:builder (mkdir %output)))
4877 (propagated-inputs
4878 ;; TODO: Add more packages according to:
4879 ;; <https://packages.debian.org/jessie/gnome-core>.
4880 `(("adwaita-icon-theme" ,adwaita-icon-theme)
0bd3597b 4881 ("font-cantarell" ,font-cantarell)
dc050251
SB
4882 ("at-spi2-core" ,at-spi2-core)
4883 ("dbus" ,dbus)
4884 ("dconf" ,dconf)
4885 ("eog" ,eog)
4886 ("epiphany" ,epiphany)
4887 ("evince" ,evince)
4888 ("gedit" ,gedit)
4889 ("glib-networking" ,glib-networking)
4890 ("gnome-control-center" ,gnome-control-center)
4891 ("gnome-keyring" ,gnome-keyring)
4892 ("gnome-session" ,gnome-session)
4893 ("gnome-settings-daemon" ,gnome-settings-daemon)
4894 ("gnome-shell" ,gnome-shell)
4895 ("gnome-terminal" ,gnome-terminal)
4896 ("gnome-themes-standard" ,gnome-themes-standard)
4897 ("hicolor-icon-theme" ,hicolor-icon-theme)
4898 ("nautilus" ,nautilus)
4899 ("pulseaudio" ,pulseaudio)
4900 ("shared-mime-info" ,shared-mime-info)
4901 ("totem" ,totem)
4902 ("yelp" ,yelp)
4903 ("zenity" ,zenity)))
fe4e698d 4904 (synopsis "The GNU desktop environment")
dc050251
SB
4905 (home-page "https://www.gnome.org/")
4906 (description
fe4e698d
LC
4907 "GNOME is the graphical desktop for GNU. It includes a wide variety of
4908applications for browsing the web, editing text and images, creating
4909documents and diagrams, playing media, scanning, and much more.")
dc050251 4910 (license license:gpl2+)))
4a526711
DT
4911
4912(define-public byzanz
4913 ;; The last stable release of Byzanz was in 2011, but there have been many
4914 ;; useful commits made to the Byzanz repository since then that it would be
4915 ;; silly to use such an old release.
4916 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
4917 (package
4918 (name "byzanz")
4919 (version (string-append "0.2-1." (string-take commit 7)))
4920 (source (origin
4921 (method git-fetch)
4922 (uri (git-reference
4923 (url "git://git.gnome.org/byzanz")
4924 (commit commit)))
4925 (sha256
4926 (base32
4927 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
4928 (build-system glib-or-gtk-build-system)
4929 (arguments
4930 '(#:phases
4931 (modify-phases %standard-phases
4932 (add-after 'unpack 'bootstrap
4933 (lambda _
4934 ;; The build system cleverly detects that we're not building from
4935 ;; a release tarball and turns on -Werror for GCC.
4936 ;; Unsurprisingly, there is a warning during compilation that
4937 ;; causes the build to fail unnecessarily, so we remove the flag.
4938 (substitute* '("configure.ac")
4939 (("-Werror") ""))
4940 ;; The autogen.sh script in gnome-common will run ./configure
4941 ;; by default, which is problematic because source shebangs
4942 ;; have not yet been patched.
4943 (setenv "NOCONFIGURE" "t")
4944 (zero? (system* "sh" "autogen.sh")))))))
4945 (native-inputs
4946 `(("autoconf" ,autoconf)
4947 ("automake" ,automake)
4948 ("gnome-common" ,gnome-common)
4949 ("intltool" ,intltool)
4950 ("libtool" ,libtool)
4951 ("pkg-config" ,pkg-config)
4952 ("which" ,which)))
4953 (inputs
4954 `(("glib" ,glib)
4955 ("gstreamer" ,gstreamer)
4956 ("gst-plugins-base" ,gst-plugins-base)
4957 ("gtk+" ,gtk+)))
4958 (synopsis "Desktop recording program")
4959 (description "Byzanz is a simple desktop recording program with a
4960command-line interface. It can record part or all of an X display for a
4961specified duration and save it as a GIF encoded animated image file.")
4962 (home-page "https://git.gnome.org/browse/byzanz")
4963 (license license:gpl2+))))
3a9a4c51
RS
4964
4965(define-public libzapojit
4966 (package
4967 (name "libzapojit")
4968 (version "0.0.3")
4969 (source (origin
4970 (method url-fetch)
4971 (uri (string-append "mirror://gnome/sources/" name "/"
4972 (version-major+minor version) "/"
4973 name "-" version ".tar.xz"))
4974 (sha256
4975 (base32
4976 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
4977 (build-system gnu-build-system)
4978 (native-inputs
4979 `(("gobject-introspection" ,gobject-introspection)
4980 ("intltool" ,intltool)
4981 ("pkg-config" ,pkg-config)))
4982 (inputs
4983 `(("gnome-online-accounts" ,gnome-online-accounts)
4984 ("json-glib" ,json-glib)
4985 ("rest" ,rest)))
4986 (home-page "https://wiki.gnome.org/Projects/Zapojit")
4987 (synopsis "Library for accessing SkyDrive and Hotmail")
4988 (description
4989 "Libzapojit is a GLib-based library for accessing online service APIs of
4990Microsoft SkyDrive and Hotmail, using their REST protocols.")
4991 (license license:lgpl2.1+)))