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