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