gnu: powwow: Use HTTPS download.
[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>
8ff49011 11;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
8d9bae4e 12;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
e2674357 14;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
8b877545 15;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
3a9a4c51 17;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
21f05134 18;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
277a7d82 19;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
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")
6983ba56 1591 (version "1.12.28")
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
6983ba56 1599 "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02"))))
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")
ddfa9131 3431 (version "1.28.1")
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
ddfa9131 3439 "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf"))))
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")
fb9ca511 3529 (version "3.19.91")
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
fb9ca511 3538 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
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)
3546 ("libgudev" ,libgudev)
3547 ("libsane" ,sane-backends)))
3548 (native-inputs
3549 `(("intltool" ,intltool)
3550 ("itstool" ,itstool)
3551 ("colord" ,colord)
3552 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3553 ("pkg-config" ,pkg-config)
bcb354ad
SB
3554 ("vala" ,vala)
3555 ("xmllint" ,libxml2)))
fb9ca511
TGR
3556 (arguments
3557 '(#:configure-flags '("--disable-packagekit")
3558 #:phases
3559 (modify-phases %standard-phases
3560 (add-after 'unpack 'clean
3561 (lambda _
3562 ;; Remove a left-over reference to PackageKit.
3563
3564 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3565
3566 ;; There are some generated C files erroneously
3567 ;; included in the source distribution, and this
3568 ;; one breaks the build by referring to a
3569 ;; non-existent header (packagekit.h)
3570 (delete-file "src/ui.c"))))))
0abe1d86
AW
3571 (home-page "https://launchpad.net/simple-scan")
3572 (synopsis "Document and image scanner")
3573 (description "Simple Scan is an easy-to-use application, designed to let
3574users connect their scanner and quickly have the image/document in an
3575appropriate format. Simple Scan is basically a frontend for SANE - which is
3576the same backend as XSANE uses. This means that all existing scanners will
3577work and the interface is well tested.")
3578 (license license:gpl3+)))
7549f984
SB
3579
3580(define-public epiphany
3581 (package
3582 (name "epiphany")
c51555f4 3583 (version "3.20.1")
7549f984
SB
3584 (source (origin
3585 (method url-fetch)
3586 (uri (string-append "mirror://gnome/sources/" name "/"
3587 (version-major+minor version) "/"
3588 name "-" version ".tar.xz"))
3589 (sha256
3590 (base32
c51555f4 3591 "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi"))))
7549f984
SB
3592 (build-system glib-or-gtk-build-system)
3593 (arguments
3594 ;; FIXME: tests run under Xvfb, but fail with:
3595 ;; /src/bookmarks/ephy-bookmarks/create:
3596 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3597 ;; subsystem
3598 ;; FAIL
3599 '(#:tests? #f))
80a747c4
SB
3600 (propagated-inputs
3601 `(("dconf" ,dconf)))
7549f984
SB
3602 (native-inputs
3603 `(("intltool" ,intltool)
3604 ("itstool" ,itstool)
bcb354ad
SB
3605 ("pkg-config" ,pkg-config)
3606 ("xmllint" ,libxml2)))
7549f984
SB
3607 (inputs
3608 `(("avahi" ,avahi)
3609 ("gcr" ,gcr)
3610 ("glib-networking" ,glib-networking)
3611 ("gnome-desktop" ,gnome-desktop)
3612 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3613 ("iso-codes" ,iso-codes)
3614 ("libnotify" ,libnotify)
3615 ("libsecret" ,libsecret)
3616 ("libwnck" ,libwnck)
3617 ("libxslt" ,libxslt)
3618 ("nss" ,nss)
3619 ("sqlite" ,sqlite)
3620 ("webkitgtk" ,webkitgtk)))
3621 (home-page "https://wiki.gnome.org/Apps/Web")
3622 (synopsis "GNOME web browser")
3623 (description
3624 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3625principles are simplicity and standards compliance.")
3626 (license license:gpl2+)))
a3856b2c
SB
3627
3628(define-public d-feet
3629 (package
3630 (name "d-feet")
3631 (version "0.3.10")
3632 (source (origin
3633 (method url-fetch)
3634 (uri (string-append "mirror://gnome/sources/" name "/"
3635 (version-major+minor version) "/"
3636 name "-" version ".tar.xz"))
3637 (sha256
3638 (base32
3639 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3640 (build-system glib-or-gtk-build-system)
3641 (arguments
3642 '(#:out-of-source? #f ; tests need to run in the source directory.
3643 #:phases
3644 (modify-phases %standard-phases
3645 (add-before
3646 'check 'pre-check
86aff791 3647 (lambda _
a3856b2c
SB
3648 ;; The test suite requires a running X server.
3649 (system "Xvfb :1 &")
3650 (setenv "DISPLAY" ":1")
3651 ;; Don't fail on missing '/etc/machine-id'.
3652 (setenv "DBUS_FATAL_WARNINGS" "0")
3653 ;; tests.py and window.py don't meet E402:
3654 ;; E402 module level import not at top of file
3655 (substitute* "src/tests/Makefile"
86aff791
MW
3656 (("--ignore=E123") "--ignore=E123,E402"))
3657 #t))
a3856b2c
SB
3658 (add-after
3659 'install 'wrap-program
3660 (lambda* (#:key outputs #:allow-other-keys)
3661 (let ((prog (string-append (assoc-ref outputs "out")
3662 "/bin/d-feet")))
3663 (wrap-program prog
3664 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3665 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3666 #t))))))
a3856b2c
SB
3667 (native-inputs
3668 `(("intltool" ,intltool)
3669 ("itstool" ,itstool)
3670 ("pkg-config" ,pkg-config)
3671 ("python-pep8" ,python-pep8)
3672 ("xmllint" ,libxml2)
3673 ("xorg-server" ,xorg-server)))
3674 (inputs
3675 `(("gobject-introspection" ,gobject-introspection)
3676 ("gtk+" ,gtk+)
3677 ("python" ,python-wrapper)
3678 ("python-pygobject" ,python-pygobject)))
3679 (home-page "https://wiki.gnome.org/Apps/DFeet")
3680 (synopsis "D-Bus debugger")
3681 (description
3682 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3683of running programs and invoke methods on those interfaces.")
3684 (license license:gpl2+)))
c3b97bd9
SB
3685
3686(define-public yelp-xsl
3687 (package
3688 (name "yelp-xsl")
27ad5743 3689 (version "3.20.1")
c3b97bd9
SB
3690 (source (origin
3691 (method url-fetch)
3692 (uri (string-append "mirror://gnome/sources/" name "/"
3693 (version-major+minor version) "/"
3694 name "-" version ".tar.xz"))
3695 (sha256
3696 (base32
27ad5743 3697 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
c3b97bd9
SB
3698 (build-system gnu-build-system)
3699 (native-inputs
3700 `(("intltool" ,intltool)
3701 ("itstool" ,itstool)
3702 ("xmllint" ,libxml2)))
3703 (home-page "https://wiki.gnome.org/Apps/Yelp")
3704 (synopsis "XSL stylesheets for Yelp")
3705 (description
3706 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3707to format Docbook and Mallard documents.")
3708 (license license:gpl2+)))
de3d612a
SB
3709
3710(define-public yelp
3711 (package
3712 (name "yelp")
b8967d48 3713 (version "3.20.1")
de3d612a
SB
3714 (source (origin
3715 (method url-fetch)
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.xz"))
3719 (sha256
3720 (base32
b8967d48 3721 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
de3d612a
SB
3722 (build-system glib-or-gtk-build-system)
3723 (native-inputs
3724 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3725 ("intltool" ,intltool)
3726 ("itstool" ,itstool)
3727 ("pkg-config" ,pkg-config)))
3728 (propagated-inputs
3729 `(("dconf" ,dconf)))
3730 (inputs
ad1b7d8b
SB
3731 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3732 ("libxslt" ,libxslt)
de3d612a 3733 ("sqlite" ,sqlite)
4c28ca1d
SB
3734 ("webkitgtk" ,webkitgtk)
3735 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
3736 (home-page "https://wiki.gnome.org/Apps/Yelp")
3737 (synopsis "GNOME help browser")
3738 (description
3739 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3740man, info, and HTML documents. It can locate documents according to the
3741freedesktop.org help system specification.")
3742 (license license:gpl2+)))
122d0d10
SB
3743
3744(define-public yelp-tools
3745 (package
3746 (name "yelp-tools")
50695955 3747 (version "3.18.0")
122d0d10
SB
3748 (source (origin
3749 (method url-fetch)
3750 (uri (string-append "mirror://gnome/sources/" name "/"
3751 (version-major+minor version) "/"
3752 name "-" version ".tar.xz"))
3753 (sha256
3754 (base32
50695955 3755 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
3756 (build-system gnu-build-system)
3757 (native-inputs
3758 `(("pkg-config" ,pkg-config)))
3759 (propagated-inputs
3760 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3761 `(("itstool" ,itstool)
3762 ("xmllint" ,libxml2)
3763 ("xsltproc" ,libxslt)))
3764 (inputs
3765 `(("yelp-xsl" ,yelp-xsl)))
3766 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3767 (synopsis "Yelp documentation tools")
3768 (description
3769 "Yelp-tools is a collection of scripts and build utilities to help create,
3770manage, and publish documentation for Yelp and the web. Most of the heavy
3771lifting is done by packages like yelp-xsl and itstool. This package just
3772wraps things up in a developer-friendly way.")
3773 (license license:gpl2+)))
af8f9f23
RW
3774
3775(define-public libgee
3776 (package
3777 (name "libgee")
3778 (version "0.18.0")
3779 (source (origin
3780 (method url-fetch)
3781 (uri (string-append "mirror://gnome/sources/" name "/"
3782 (version-major+minor version) "/"
3783 name "-" version ".tar.xz"))
3784 (sha256
3785 (base32
3786 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3787 (build-system gnu-build-system)
3788 (arguments
3789 `(#:phases
3790 (modify-phases %standard-phases
3791 (add-after 'unpack 'fix-introspection-install-dir
3792 (lambda* (#:key outputs #:allow-other-keys)
3793 (let ((out (assoc-ref outputs "out")))
3794 (substitute* "gee/Makefile.in"
3795 (("@INTROSPECTION_GIRDIR@")
3796 (string-append out "/share/gir-1.0/"))
3797 (("@INTROSPECTION_TYPELIBDIR@")
3798 (string-append out "/lib/girepository-1.0/")))))))))
3799 (native-inputs
3800 `(("glib" ,glib "bin")
3801 ("pkg-config" ,pkg-config)))
3802 (inputs
3803 `(("glib" ,glib)
3804 ("gobject-introspection" ,gobject-introspection)))
3805 (home-page "https://wiki.gnome.org/Projects/Libgee")
3806 (synopsis "GObject collection library")
3807 (description
3808 "Libgee is a utility library providing GObject-based interfaces and
3809classes for commonly used data structures.")
3810 (license license:lgpl2.1+)))
b0f9c4b8
RW
3811
3812(define-public gexiv2
3813 (package
3814 (name "gexiv2")
3815 (version "0.10.3")
3816 (source (origin
3817 (method url-fetch)
3818 (uri (string-append "mirror://gnome/sources/" name "/"
3819 (version-major+minor version) "/"
3820 name "-" version ".tar.xz"))
3821 (sha256
3822 (base32
3823 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3824 (build-system gnu-build-system)
3825 (native-inputs
3826 `(("glib" ,glib "bin")
3827 ("pkg-config" ,pkg-config)))
3828 (propagated-inputs
3829 ;; Listed in "Requires" section of gexiv2.pc
3830 `(("exiv2" ,exiv2)))
3831 (inputs
3832 `(("glib" ,glib)
3833 ("gobject-introspection" ,gobject-introspection)))
3834 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3835 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3836 (description
3837 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3838allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3839metadata in photo and video files of various formats.")
3840 (license license:gpl2+)))
fed5a689
RW
3841
3842(define-public shotwell
3843 (package
3844 (name "shotwell")
7108425c 3845 (version "0.23.1")
fed5a689
RW
3846 (source (origin
3847 (method url-fetch)
3848 (uri (string-append "mirror://gnome/sources/" name "/"
3849 (version-major+minor version) "/"
3850 name "-" version ".tar.xz"))
3851 (sha256
3852 (base32
7108425c 3853 "12imip32mav0zqg1fh4xm6zk4qsgg2435xsyb6ljz47i37zk6kg2"))))
fed5a689
RW
3854 (build-system glib-or-gtk-build-system)
3855 (arguments
3856 `(#:tests? #f ;no "check" target
3857 #:make-flags '("CC=gcc")
3858 #:configure-flags '("--disable-gsettings-convert-install")
3859 #:out-of-source? #f))
3860 (native-inputs
3861 `(("pkg-config" ,pkg-config)
3862 ("gettext" ,gnu-gettext)
3863 ("m4" ,m4)
3864 ("desktop-file-utils" ,desktop-file-utils)
3865 ("vala" ,vala)
3866 ("which" ,which)
3867 ("gnome-doc-utils" ,gnome-doc-utils)
3868 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3869 ;; runtime. It should be propagated.
3870 ("python2-libxml2" ,python2-libxml2)
3871 ("python2" ,python-2)))
3872 (inputs
3873 `(("gstreamer" ,gstreamer)
3874 ("gst-plugins-base" ,gst-plugins-base)
3875 ("gst-plugins-good" ,gst-plugins-good)
3876 ("libgee" ,libgee)
3877 ("gexiv2" ,gexiv2)
3878 ("libraw" ,libraw)
3879 ("json-glib" ,json-glib)
3880 ("rest" ,rest)
7108425c 3881 ("webkitgtk" ,webkitgtk)
fed5a689
RW
3882 ("sqlite" ,sqlite)
3883 ("libsoup" ,libsoup)
3884 ("libxml2" ,libxml2)
3885 ("gtk+" ,gtk+)
3886 ("libgudev" ,libgudev)
3887 ("libgphoto2" ,libgphoto2)))
3888 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3889 (synopsis "Photo manager for GNOME 3")
3890 (description
3891 "Shotwell is a digital photo manager designed for the GNOME desktop
3892environment. It allows you to import photos from disk or camera, organize
3893them by keywords and events, view them in full-window or fullscreen mode, and
3894share them with others via social networking and more.")
3895 (license license:lgpl2.1+)))
293ff8b2
DT
3896
3897(define-public file-roller
3898 (package
3899 (name "file-roller")
74cf8f6c 3900 (version "3.20.1")
293ff8b2
DT
3901 (source (origin
3902 (method url-fetch)
3903 (uri (string-append "mirror://gnome/sources/" name "/"
3904 (version-major+minor version) "/"
3905 name "-" version ".tar.xz"))
3906 (sha256
3907 (base32
74cf8f6c 3908 "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8"))))
293ff8b2
DT
3909 (build-system glib-or-gtk-build-system)
3910 (native-inputs
3911 `(("intltool" ,intltool)
3912 ("pkg-config" ,pkg-config)))
3913 ;; TODO: Add libnautilus.
3914 (inputs
3915 `(("gtk+" ,gtk+)
3916 ("gdk-pixbuf" ,gdk-pixbuf)
3917 ("json-glib" ,json-glib)
3918 ("libarchive" ,libarchive)
3919 ("libnotify" ,libnotify)
3920 ("nettle" ,nettle)
3921 ("itstool" ,itstool)
3922 ("libxml2" ,libxml2)))
3923 (synopsis "Graphical archive manager for GNOME")
3924 (description "File Roller is an archive manager for the GNOME desktop
3925environment that allows users to view, unpack, and create compressed archives
3926such as gzip tarballs.")
3927 (home-page "http://fileroller.sourceforge.net/")
3928 (license license:gpl2+)))
7ce49365
SB
3929
3930(define-public gnome-session
3931 (package
3932 (name "gnome-session")
803ab416 3933 (version "3.20.1")
7ce49365
SB
3934 (source (origin
3935 (method url-fetch)
3936 (uri (string-append "mirror://gnome/sources/" name "/"
3937 (version-major+minor version) "/"
3938 name "-" version ".tar.xz"))
3939 (sha256
3940 (base32
803ab416 3941 "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"))))
2914af3c
AW
3942 (arguments
3943 '(#:phases
3944 (modify-phases %standard-phases
3945 (add-before 'configure 'pre-configure
3946 (lambda* (#:key outputs #:allow-other-keys)
3947 ;; Use elogind instead of systemd.
3948 (substitute* "configure"
3949 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3950 "libelogind")
3951 (("systemd") "elogind"))
3952 (substitute* "gnome-session/gsm-systemd.c"
3953 (("#include <systemd/sd-login.h>")
3954 "#include <elogind/sd-login.h>"))
3955 ;; Remove uses of the systemd journal.
3956 (substitute* "gnome-session/main.c"
3957 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3958 (substitute* "gnome-session/gsm-manager.c"
3959 (("#ifdef HAVE_SYSTEMD") "#if 0"))
803ab416
SB
3960 (substitute* "gnome-session/gsm-autostart-app.c"
3961 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
3962 #t))
3963 (add-after 'install 'wrap-gnome-session
3964 (lambda* (#:key inputs outputs #:allow-other-keys)
3965 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3966 (let ((glib (assoc-ref inputs "glib:bin"))
3967 (out (assoc-ref outputs "out")))
3968 (wrap-program (string-append out "/bin/gnome-session")
3969 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6cbc8d57
LC
3970 #t)))
3971 (add-after 'install 'disable-hardware-acceleration-check
3972 (lambda* (#:key outputs #:allow-other-keys)
3973 ;; Do not abort if hardware acceleration is missing. This allows
3974 ;; GNOME to run in QEMU and on low-end devices.
3975 (let ((out (assoc-ref outputs "out")))
3976 (substitute* (string-append out
3977 "/share/xsessions/gnome.desktop")
3978 (("gnome-session")
3979 "gnome-session --disable-acceleration-check"))
a0d7baaf 3980 #t))))
6cbc8d57 3981
2914af3c
AW
3982 #:configure-flags
3983 '("--enable-elogind")))
ba3cb5ab 3984 (build-system glib-or-gtk-build-system)
7ce49365
SB
3985 (native-inputs
3986 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3987 ("pkg-config" ,pkg-config)
3988 ("intltool" ,intltool)
3989 ("xsltproc" ,libxslt)))
3990 (inputs
2914af3c
AW
3991 `(("elogind" ,elogind)
3992 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 3993 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
3994 ("gtk+" ,gtk+)
3995 ("json-glib" ,json-glib)
3996 ("libsm" ,libsm)
3997 ("libxcomposite" ,libxcomposite)
3998 ("libxtst" ,libxtst)
3999 ("mesa" ,mesa)
4000 ("upower" ,upower)
4001 ("xtrans" ,xtrans)))
4002 (synopsis "Session manager for GNOME")
4003 (description
4004 "This package contains the GNOME session manager, as well as a
4005configuration program to choose applications starting on login.")
4006 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4007 (license license:gpl2+)))
f47ba77e
SB
4008
4009(define-public gjs
4010 (package
4011 (name "gjs")
4012 (version "1.44.0")
4013 (source (origin
4014 (method url-fetch)
4015 (uri (string-append "mirror://gnome/sources/" name "/"
4016 (version-major+minor version) "/"
4017 name "-" version ".tar.xz"))
4018 (sha256
4019 (base32
4020 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4021 (modules '((guix build utils)))
4022 (snippet '(substitute* "test/run-with-dbus"
4023 (("/bin/rm") "rm")))))
4024 (build-system gnu-build-system)
4025 (arguments
4026 '(#:phases
4027 (modify-phases %standard-phases
4028 (add-before
4029 'check 'pre-check
4030 (lambda _
4031 ;; For the missing /etc/machine-id.
4032 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07
SB
4033
4034 ;; XXX: fails with:
4035 ;; Failed to convert UTF-8 string to JS string: ...
4036 ;; TODO: actually fix it.
4037 (substitute* "installed-tests/js/testEverythingBasic.js"
4038 ((".*test_utf8_inout.*") ""))
f47ba77e
SB
4039 #t)))))
4040 (native-inputs
4041 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4042 ("pkg-config" ,pkg-config)
4043 ("xmllint" ,libxml2)
4044 ;; For testing
4045 ("dbus-launch" ,dbus)
4046 ("uuidgen" ,util-linux)
4047 ("xvfb" ,xorg-server)))
4048 (propagated-inputs
4049 ;; These are all in the Requires.private field of gjs-1.0.pc.
4050 `(("gobject-introspection" ,gobject-introspection)
4051 ("mozjs" ,mozjs-24)))
4052 (inputs
4053 `(("gtk+" ,gtk+)
4054 ("readline" ,readline)))
4055 (synopsis "Javascript bindings for GNOME")
4056 (home-page "http://live.gnome.org/Gjs")
4057 (description
4058 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4059javascript engine and the GObject introspection framework.")
4060 (license license:gpl2+)))
329d731b
DH
4061
4062(define-public gedit
4063 (package
4064 (name "gedit")
6983ba56 4065 (version "3.20.1")
329d731b
DH
4066 (source (origin
4067 (method url-fetch)
4068 (uri (string-append "mirror://gnome/sources/" name "/"
4069 (version-major+minor version) "/"
4070 name "-" version ".tar.xz"))
4071 (sha256
4072 (base32
6983ba56 4073 "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws"))))
329d731b
DH
4074 (build-system glib-or-gtk-build-system)
4075 (arguments
33cd9bef
SB
4076 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4077 #:phases
329d731b
DH
4078 (modify-phases %standard-phases
4079 (add-after
4080 'install 'wrap-gedit
4081 (lambda* (#:key inputs outputs #:allow-other-keys)
4082 (let ((out (assoc-ref outputs "out"))
4083 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4084 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4085 (python-path (getenv "PYTHONPATH")))
329d731b 4086 (wrap-program (string-append out "/bin/gedit")
afc25242 4087 ;; For plugins.
329d731b 4088 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4089 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4090 ;; For language-specs.
4091 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4092 "/share")))))
4093 #t)))))
4094 (propagated-inputs
4095 `(("dconf" ,dconf)))
4096 (native-inputs
4097 `(("intltool" ,intltool)
b3546174 4098 ("itstool" ,itstool)
329d731b
DH
4099 ("gobject-introspection" ,gobject-introspection)
4100 ("pkg-config" ,pkg-config)))
4101 (inputs
4102 `(("glib" ,glib)
4103 ("gtk+" ,gtk+)
4104 ("gtksourceview" ,gtksourceview)
4105 ("libpeas" ,libpeas)
4106 ("libxml2" ,libxml2)
329d731b
DH
4107 ("iso-codes" ,iso-codes)
4108 ("python-pygobject" ,python-pygobject)
4109 ("python" ,python)
4110 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4111 ("libx11" ,libx11)
4112 ("vala" ,vala)
4113 ("adwaita-icon-theme" ,adwaita-icon-theme)
4114 ("libsoup" ,libsoup)
4115 ("gnome-desktop" ,gnome-desktop)))
4116 (home-page "https://wiki.gnome.org/Apps/Gedit")
4117 (synopsis "GNOME text editor")
4118 (description "While aiming at simplicity and ease of use, gedit is a
4119powerful general purpose text editor.")
4120 (license license:gpl2+)))
b7179363
SB
4121
4122(define-public zenity
4123 (package
4124 (name "zenity")
6983ba56 4125 (version "3.20.0")
b7179363
SB
4126 (source (origin
4127 (method url-fetch)
4128 (uri (string-append "mirror://gnome/sources/" name "/"
4129 (version-major+minor version) "/"
4130 name "-" version ".tar.xz"))
4131 (sha256
4132 (base32
6983ba56 4133 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
b7179363
SB
4134 (build-system gnu-build-system)
4135 (native-inputs
4136 `(("gettext" ,gnu-gettext)
4137 ("itstool" ,itstool)
4138 ("pkg-config" ,pkg-config)))
4139 (inputs
4140 `(("libnotify" ,libnotify)
4141 ("webkitgtk" ,webkitgtk)))
4142 (synopsis "Display graphical dialog boxes from shell scripts")
4143 (home-page "http://www.gnome.org")
4144 (description
4145 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4146to display dialog boxes from the commandline and shell scripts.")
4147 (license license:lgpl2.0+)))
60c3627c
SB
4148
4149(define-public mutter
4150 (package
4151 (name "mutter")
4a8573ad 4152 (version "3.20.1")
60c3627c
SB
4153 (source (origin
4154 (method url-fetch)
4155 (uri (string-append "mirror://gnome/sources/" name "/"
4156 (version-major+minor version) "/"
4157 name "-" version ".tar.xz"))
4158 (sha256
4159 (base32
4a8573ad 4160 "0752vkkmaaay8ziczqrf7z3735bq3brx2djw36arqsdhwawh6jba"))))
60c3627c
SB
4161 (build-system gnu-build-system)
4162 (arguments
4163 '(#:configure-flags
4164 ;; XXX: build fails with [-Werror]:
4165 ;; backends/meta-cursor-renderer.c:112:5: error:
4166 ;; implicit declaration of function ?roundf?
4167 '("--enable-compile-warnings=minimum")))
4168 (native-inputs
4169 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4170 ("gobject-introspection" ,gobject-introspection)
4171 ("intltool" ,intltool)
4172 ("pkg-config" ,pkg-config)))
4173 (propagated-inputs
4174 ;; libmutter.pc refers to all these.
4175 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4176 ("gtk+" ,gtk+)
4177 ("clutter" ,clutter)))
4178 (inputs
4179 `(("gnome-desktop" ,gnome-desktop)
4180 ("libcanberra-gtk" ,libcanberra)
4181 ("libice" ,libice)
4182 ("libsm" ,libsm)
4183 ("libxkbcommon" ,libxkbcommon)
4184 ("libxkbfile" ,libxkbfile)
4185 ("mesa-headers" ,mesa-headers)
4186 ("startup-notification" ,startup-notification)
4187 ("upower-glib" ,upower)
4188 ("xkeyboard-config" ,xkeyboard-config)
4189 ("zenity" ,zenity)))
4190 (synopsis "Window and compositing manager")
4191 (home-page "http://www.gnome.org")
4192 (description
4193 "Mutter is a window and compositing manager that displays and manages your
4194desktop via OpenGL. Mutter combines a sophisticated display engine using the
4195Clutter toolkit with solid window-management logic inherited from the Metacity
4196window manager.")
4197 (license license:gpl2+)))
685cee87
SB
4198
4199(define-public gnome-online-accounts
4200 (package
4201 (name "gnome-online-accounts")
223f5d5d 4202 (version "3.20.1")
685cee87
SB
4203 (source (origin
4204 (method url-fetch)
4205 (uri (string-append "mirror://gnome/sources/" name "/"
4206 (version-major+minor version) "/"
4207 name "-" version ".tar.xz"))
4208 (sha256
4209 (base32
223f5d5d 4210 "14qcih1g136sn2aklzagv83jl82d3qc598rkdm8zac9gw70ynyn3"))))
685cee87
SB
4211 (build-system glib-or-gtk-build-system)
4212 (native-inputs
4213 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4214 ("gobject-introspection" ,gobject-introspection)
4215 ("intltool" ,intltool)
4216 ("pkg-config" ,pkg-config)
4217 ("xsltproc" ,libxslt)))
4218 (propagated-inputs
4219 `(("glib" ,glib) ; required by goa-1.0.pc
4220 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4221 (inputs
4222 `(("docbook-xsl" ,docbook-xsl)
4223 ("json-glib" ,json-glib)
4224 ("libsecret" ,libsecret)
4225 ("rest" ,rest)
4226 ("telepathy-glib" ,telepathy-glib)
4227 ("webkitgtk" ,webkitgtk)))
4228 (synopsis "Single sign-on framework for GNOME")
4229 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4230 (description
4231 "GNOME Online Accounts provides interfaces so that applications and
4232libraries in GNOME can access the user's online accounts. It has providers for
4233Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4234Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4235 (license license:lgpl2.0+)))
df217748
SB
4236
4237(define-public evolution-data-server
4238 (package
4239 (name "evolution-data-server")
c1387d36 4240 (version "3.20.1")
df217748
SB
4241 (source (origin
4242 (method url-fetch)
4243 (uri (string-append "mirror://gnome/sources/" name "/"
4244 (version-major+minor version) "/"
4245 name "-" version ".tar.xz"))
4246 (sha256
4247 (base32
c1387d36 4248 "0lsbhzacr2bs90z8sx44vf403r0h2yqsy4l2svrh5hjnassgdyqx"))))
df217748
SB
4249 (build-system gnu-build-system)
4250 (arguments
4251 '(;; XXX: fails with:
4252 ;; /Fixture/Calendar0: cleaning up pid xxxx
4253 ;; t status: 139)
4254 #:tests? #f
4255 #:configure-flags
4256 (let ((nss (assoc-ref %build-inputs "nss"))
4257 (nspr (assoc-ref %build-inputs "nspr")))
4258 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4259 "--disable-google" ; disable Google Contacts support
c1387d36 4260 "--disable-google-auth" ; disable Google authentication
a73c1cf8 4261 "--enable-vala-bindings"
df217748
SB
4262 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4263 (string-append "--with-nss-includes=" nss "/include/nss")
4264 (string-append "--with-nss-libs=" nss "/lib/nss")))
4265 #:phases
4266 (modify-phases %standard-phases
4267 (add-before 'check 'pre-check
4268 (lambda _
4269 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4270 (("/bin/rm") (which "rm")))
4271 #t)))))
4272 (native-inputs
4273 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4274 ("gobject-introspection" ,gobject-introspection)
4275 ("gperf" ,gperf)
4276 ("intltool" ,intltool)
4277 ("pkg-config" ,pkg-config)
a73c1cf8 4278 ("vala" ,vala)
df217748
SB
4279 ("python" ,python)))
4280 (propagated-inputs
4281 ;; These are all in the Requires field of .pc files.
4282 `(("gtk+" ,gtk+)
4283 ("libical" ,libical)
4284 ("libsecret" ,libsecret)
4285 ("libsoup" ,libsoup)
4286 ("nss" ,nss)
4287 ("sqlite" ,sqlite)))
4288 (inputs
4289 `(("bdb" ,bdb)
4290 ("gcr" ,gcr)
4291 ("gnome-online-accounts" ,gnome-online-accounts)
4292 ("libgweather" ,libgweather)))
4293 (synopsis "Store address books and calendars")
4294 (home-page "https://wiki.gnome.org/Apps/Evolution")
4295 (description
4296 "This package provides a unified backend for programs that work with
4297contacts, tasks, and calendar information. It was originally developed for
4298Evolution (hence the name), but is now used by other packages as well.")
4299 (license license:lgpl2.0)))
bd7dfafa
SB
4300
4301(define-public caribou
4302 (package
4303 (name "caribou")
6983ba56 4304 (version "0.4.20")
bd7dfafa
SB
4305 (source (origin
4306 (method url-fetch)
4307 (uri (string-append "mirror://gnome/sources/" name "/"
4308 (version-major+minor version) "/"
4309 name "-" version ".tar.xz"))
4310 (sha256
4311 (base32
6983ba56 4312 "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris"))))
bd7dfafa
SB
4313 (build-system glib-or-gtk-build-system)
4314 (arguments
4315 '(#:phases
4316 (modify-phases %standard-phases
4317 (add-before
4318 'build 'pre-build
4319 (lambda* (#:key outputs #:allow-other-keys)
4320 (let ((out (assoc-ref outputs "out")))
4321 ;; Use absolute shared library path in Caribou-1.0.typelib.
4322 (substitute* "libcaribou/Makefile"
4323 (("--shared-library=libcaribou.so")
4324 (string-append "--shared-library="
4325 out "/lib/libcaribou.so")))
4326 #t)))
4327 (add-after 'install 'wrap-programs
4328 (lambda* (#:key outputs #:allow-other-keys)
4329 (let* ((out (assoc-ref outputs "out"))
4330 (python-path (getenv "PYTHONPATH"))
4331 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4332 (for-each
4333 (lambda (prog)
4334 (wrap-program prog
4335 `("PYTHONPATH" ":" prefix (,python-path))
4336 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4337 (list (string-append out "/bin/caribou-preferences")
4338 (string-append out "/libexec/antler-keyboard"))))
4339 #t)))))
4340 (native-inputs
4341 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4342 ("gobject-introspection" ,gobject-introspection)
4343 ("intltool" ,intltool)
4344 ("pkg-config" ,pkg-config)
4345 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4346 ("vala" ,vala)
4347 ("xsltproc" ,libxslt)))
4348 (propagated-inputs
4349 ;; caribou-1.0.pc refers to all these.
4350 `(("libgee" ,libgee)
4351 ("libxklavier" ,libxklavier)
4352 ("libxtst" ,libxtst)
4353 ("gtk+" ,gtk+)))
4354 (inputs
4355 `(("clutter" ,clutter)
4356 ("dconf" ,dconf)
4357 ("gtk+-2" ,gtk+-2)
4358 ("python-pygobject" ,python2-pygobject)))
4359 (synopsis "Text entry and UI navigation application")
4360 (home-page "https://wiki.gnome.org/Projects/Caribou")
4361 (description
4362 "Caribou is an input assistive technology intended for switch and pointer
4363users.")
4364 (license license:lgpl2.1)))
ba5dd105 4365
ba5dd105
SB
4366(define-public network-manager
4367 (package
4368 (name "network-manager")
142bdcbc 4369 (version "1.2.0")
ba5dd105
SB
4370 (source (origin
4371 (method url-fetch)
4372 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4373 (version-major+minor version) "/"
4374 "NetworkManager-" version ".tar.xz"))
4375 (sha256
4376 (base32
142bdcbc 4377 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
ba5dd105
SB
4378 (build-system gnu-build-system)
4379 (outputs '("out"
4380 "doc")) ; 8 MiB of gtk-doc HTML
4381 (arguments
4382 '(#:configure-flags
4383 (let ((out (assoc-ref %outputs "out"))
4384 (doc (assoc-ref %outputs "doc"))
4385 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4386 "/sbin/dhclient")))
4387 (list "--with-crypto=gnutls"
4388 "--disable-config-plugin-ibft"
4389 "--sysconfdir=/etc"
4390 "--localstatedir=/var"
4391 (string-append "--with-udev-dir="
4392 out "/lib/udev")
4393 (string-append "--with-dbus-sys-dir="
4394 out "/etc/dbus-1/system.d")
4395 (string-append "--with-html-dir="
4396 doc "/share/gtk-doc/html")
4397 (string-append "--with-dhclient=" dhclient)))
4398 #:phases
4399 (modify-phases %standard-phases
b4f59d87
AW
4400 (add-before 'configure 'pre-configure
4401 (lambda _
4402 ;; These tests try to test aspects of network-manager's
4403 ;; functionality within restricted containers, but they don't
4404 ;; cope with being already in the Guix build jail as that jail
4405 ;; lacks some features that they would like to proxy over (like
4406 ;; a /sys mount).
142bdcbc
SB
4407 (substitute* '("src/platform/Makefile.in"
4408 "src/devices/Makefile.in")
b4f59d87
AW
4409 (("SUBDIRS = tests") ""))
4410 (substitute* '("src/tests/Makefile.in")
4411 (("\ttest-route-manager-linux") "\t")
4412 (("\ttest-route-manager-fake") "\t"))
4413 #t))
ba5dd105
SB
4414 (add-before 'check 'pre-check
4415 (lambda _
4416 ;; For the missing /etc/machine-id.
4417 (setenv "DBUS_FATAL_WARNINGS" "0")
4418 #t))
4419 (replace 'install
4420 (lambda _
4421 (zero? (system* "make"
4422 "sysconfdir=/tmp"
142bdcbc
SB
4423 "rundir=/tmp"
4424 "statedir=/tmp"
ba5dd105
SB
4425 "install")))))))
4426 (native-inputs
4427 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4428 ("gobject-introspection" ,gobject-introspection)
4429 ("intltool" ,intltool)
4430 ("pkg-config" ,pkg-config)
4431 ;; For testing.
4432 ("python" ,python-wrapper)
4433 ("python-dbus" ,python-dbus)
4434 ("python-pygobject" ,python-pygobject)))
4435 (inputs
4436 `(("dbus-glib" ,dbus-glib)
4437 ("dnsmasq" ,dnsmasq)
4438 ("gnutls" ,gnutls)
4439 ("iptables" ,iptables)
4440 ("isc-dhcp" ,isc-dhcp)
4441 ("libgcrypt" ,libgcrypt)
4442 ("libgudev" ,libgudev)
4443 ("libndp" ,libndp)
4444 ("libnl" ,libnl)
4445 ("libsoup" ,libsoup)
142bdcbc 4446 ("modem-manager" ,modem-manager)
ba5dd105
SB
4447 ("polkit" ,polkit)
4448 ("ppp" ,ppp)
4449 ("readline" ,readline)
4450 ("util-linux" ,util-linux)))
4451 (synopsis "Network connection manager")
4452 (home-page "http://www.gnome.org/projects/NetworkManager/")
4453 (description
4454 "NetworkManager is a system network service that manages your network
4455devices and connections, attempting to keep active network connectivity when
4456available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4457devices, and provides VPN integration with a variety of different VPN
4458services.")
4459 (license license:gpl2+)))
4d62a9d3
SB
4460
4461(define-public network-manager-applet
4462 (package
4463 (name "network-manager-applet")
bbbb77e4 4464 (version "1.2.0")
4d62a9d3
SB
4465 (source (origin
4466 (method url-fetch)
4467 (uri (string-append "mirror://gnome/sources/" name "/"
4468 (version-major+minor version) "/"
4469 name "-" version ".tar.xz"))
4470 (sha256
4471 (base32
bbbb77e4 4472 "0dhvk3dvy6djn6blpkv46dn6yfh28wsh6mpl0v53qxfip97j8kwk"))))
4d62a9d3
SB
4473 (build-system glib-or-gtk-build-system)
4474 (arguments '(#:configure-flags '("--disable-migration")))
4475 (native-inputs
4476 `(("intltool" ,intltool)
4477 ("gobject-introspection" ,gobject-introspection)
4478 ("pkg-config" ,pkg-config)))
4479 (propagated-inputs
4480 ;; libnm-gtk.pc refers to all these.
4481 `(("dbus-glib" ,dbus-glib)
4482 ("gtk+" ,gtk+)
4483 ("network-manager" ,network-manager)))
4484 (inputs
4485 `(("iso-codes" ,iso-codes)
4486 ("libgudev" ,libgudev)
4487 ("libnotify" ,libnotify)
4488 ("libsecret" ,libsecret)))
4489 (synopsis "Applet for managing network connections")
4490 (home-page "http://www.gnome.org/projects/NetworkManager/")
4491 (description
4492 "This package contains a systray applet for NetworkManager. It displays
4493the available networks and allows users to easily switch between them.")
4494 (license license:gpl2+)))
56196594
RW
4495
4496(define-public libxml++
4497 (package
4498 (name "libxml++")
f5821956 4499 (version "3.0.0")
56196594
RW
4500 (source (origin
4501 (method url-fetch)
4502 (uri (string-append "mirror://gnome/sources/" name "/"
4503 (version-major+minor version) "/"
4504 name "-" version ".tar.xz"))
4505 (sha256
4506 (base32
f5821956 4507 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
56196594
RW
4508 (build-system gnu-build-system)
4509 ;; libxml++-3.0.pc refers to all these.
4510 (propagated-inputs
4511 `(("libxml2" ,libxml2)
4512 ("glibmm" ,glibmm)))
4513 (native-inputs
4514 `(("perl" ,perl)
4515 ("pkg-config" ,pkg-config)))
4516 (home-page "http://libxmlplusplus.sourceforge.net/")
4517 (synopsis "C++ wrapper for XML parser library libxml2")
4518 (description
4519 "This package provides a C++ wrapper for the XML parser library
4520libxml2.")
4521 (license license:lgpl2.1+)))
df12f04a
SB
4522
4523(define-public gdm
4524 (package
4525 (name "gdm")
906943df 4526 (version "3.20.1")
df12f04a
SB
4527 (source (origin
4528 (method url-fetch)
4529 (uri (string-append "mirror://gnome/sources/" name "/"
4530 (version-major+minor version) "/"
4531 name "-" version ".tar.xz"))
4532 (sha256
4533 (base32
906943df 4534 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
df12f04a
SB
4535 (build-system gnu-build-system)
4536 (arguments
4537 '(#:configure-flags
4538 '("--without-plymouth")
4539 #:phases
4540 (modify-phases %standard-phases
4541 (add-before
4542 'configure 'pre-configure
4543 (lambda _
4544 ;; We don't have <systemd/sd-daemon.h>.
4545 (substitute* '("common/gdm-log.c"
4546 "daemon/gdm-server.c"
4547 "daemon/gdm-session-worker.c"
4548 "daemon/gdm-session-worker-job.c")
4549 (("#include <systemd/sd-daemon\\.h>") ""))
4550 ;; Use elogind for sd-login.
4551 (substitute* '("common/gdm-common.c"
4552 "daemon/gdm-manager.c"
4553 "libgdm/gdm-user-switching.c")
4554 (("#include <systemd/sd-login\\.h>")
4555 "#include <elogind/sd-login.h>"))
4556 ;; Avoid checking SYSTEMD using pkg-config.
4557 (setenv "SYSTEMD_CFLAGS" " ")
4558 (setenv "SYSTEMD_LIBS" "-lelogind")
4559 #t)))))
4560 (native-inputs
4561 `(("dconf" ,dconf)
4562 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4563 ("gobject-introspection" ,gobject-introspection)
4564 ("intltool" ,intltool)
4565 ("itstool" ,itstool)
4566 ("pkg-config" ,pkg-config)
4567 ("xmllint" ,libxml2)))
4568 (inputs
4569 `(("accountsservice" ,accountsservice)
4570 ("check" ,check) ; for testing
4571 ("elogind" ,elogind)
4572 ("gtk+" ,gtk+)
4573 ("iso-codes" ,iso-codes)
4574 ("libcanberra" ,libcanberra)
4575 ("linux-pam" ,linux-pam)))
4576 (synopsis "Display manager for GNOME")
4577 (home-page "http://wiki.gnome.org/Projects/GDM/")
4578 (description
4579 "GNOME Display Manager is a system service that is responsible for
4580providing graphical log-ins and managing local and remote displays.")
4581 (license license:gpl2+)))
8e1dd04f
SB
4582
4583(define-public libgtop
4584 (package
4585 (name "libgtop")
6983ba56 4586 (version "2.34.0")
8e1dd04f
SB
4587 (source (origin
4588 (method url-fetch)
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4592 (sha256
4593 (base32
6983ba56 4594 "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld"))))
8e1dd04f
SB
4595 (build-system gnu-build-system)
4596 (native-inputs
4597 `(("gobject-introspection" ,gobject-introspection)
4598 ("intltool" ,intltool)
4599 ("perl" ,perl)
4600 ("pkg-config" ,pkg-config)))
4601 (propagated-inputs
4602 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4603 (synopsis "Portable system access library")
4604 (home-page "https://www.gnome.org/")
4605 (description
4606 "LibGTop is a library to get system specific data such as CPU and memory
4607usage and information about running processes.")
4608 (license license:gpl2+)))
b96c4260
SB
4609
4610(define-public gnome-bluetooth
4611 (package
4612 (name "gnome-bluetooth")
6983ba56 4613 (version "3.18.3")
b96c4260
SB
4614 (source (origin
4615 (method url-fetch)
4616 (uri (string-append "mirror://gnome/sources/" name "/"
4617 (version-major+minor version) "/"
4618 name "-" version ".tar.xz"))
4619 (sha256
4620 (base32
6983ba56 4621 "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4"))))
b96c4260
SB
4622 (build-system glib-or-gtk-build-system)
4623 (native-inputs
4624 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4625 ("gobject-introspection" ,gobject-introspection)
4626 ("intltool" ,intltool)
4627 ("pkg-config" ,pkg-config)
4628 ("xmllint" ,libxml2)))
4629 (propagated-inputs
4630 ;; gnome-bluetooth-1.0.pc refers to all these.
4631 `(("gtk+" ,gtk+)
4632 ("udev" ,eudev)))
4633 (inputs
4634 `(("libcanberra" ,libcanberra)
4635 ("libnotify" ,libnotify)))
4636 (synopsis "GNOME Bluetooth subsystem")
4637 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4638 (description
4639 "This package contains tools for managing and manipulating Bluetooth
4640devices using the GNOME desktop.")
4641 (license license:lgpl2.1+)))
b645146f
SB
4642
4643(define-public gnome-control-center
4644 (package
4645 (name "gnome-control-center")
8b6b7c73 4646 (version "3.20.1")
b645146f
SB
4647 (source (origin
4648 (method url-fetch)
4649 (uri (string-append "mirror://gnome/sources/" name "/"
4650 (version-major+minor version) "/"
4651 name "-" version ".tar.xz"))
4652 (sha256
4653 (base32
8b6b7c73 4654 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
b645146f
SB
4655 (build-system glib-or-gtk-build-system)
4656 (arguments
4657 '(#:phases
4658 (modify-phases %standard-phases
4659 (add-before 'configure 'patch-paths
4660 (lambda* (#:key inputs #:allow-other-keys)
4661 (let ((libc (assoc-ref inputs "libc"))
4662 (tzdata (assoc-ref inputs "tzdata")))
4663 (substitute* "panels/datetime/tz.h"
4664 (("/usr/share/zoneinfo/zone.tab")
4665 (string-append tzdata "/share/zoneinfo/zone.tab")))
4666 (substitute* "panels/datetime/test-endianess.c"
4667 (("/usr/share/locale")
4668 (string-append libc "/share/locale")))
4669 #t))))))
4670 (native-inputs
4671 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4672 ("intltool" ,intltool)
4673 ("pkg-config" ,pkg-config)
4674 ("xsltproc" ,libxslt)))
4675 (inputs
4676 `(("accountsservice" ,accountsservice)
4677 ("clutter-gtk" ,clutter-gtk)
4678 ("colord-gtk" ,colord-gtk)
4679 ("cups" ,cups)
4680 ("dconf" ,dconf)
4681 ("docbook-xsl" ,docbook-xsl)
4682 ("gnome-bluetooth" ,gnome-bluetooth)
4683 ("gnome-desktop" ,gnome-desktop)
4684 ("gnome-online-accounts" ,gnome-online-accounts)
4685 ("gnome-settings-daemon" ,gnome-settings-daemon)
4686 ("grilo" ,grilo)
4687 ("ibus" ,ibus)
4688 ("libcanberra" ,libcanberra)
4689 ("libgudev" ,libgudev)
4690 ("libgtop" ,libgtop)
4691 ("libpwquality" ,libpwquality)
4692 ("libsoup" ,libsoup)
4693 ("libxml2" ,libxml2)
4694 ("libwacom" ,libwacom)
4695 ("mesa" ,mesa)
4696 ("mit-krb5" ,mit-krb5)
4697 ("modem-manager" ,modem-manager)
4698 ("network-manager-applet" ,network-manager-applet)
4699 ("polkit" ,polkit)
4700 ("pulseaudio" ,pulseaudio)
4701 ("smbclient" ,samba)
4702 ("tzdata" ,tzdata)
4703 ("upower" ,upower)))
4704 (synopsis "Utilities to configure the GNOME desktop")
4705 (home-page "https://www.gnome.org/")
4706 (description
4707 "This package contains configuration applets for the GNOME desktop,
4708allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4709properties, sound setup, desktop theme and background, user interface
4710properties, screen resolution, and other GNOME parameters.")
4711 (license license:gpl2+)))
a4df5756
SB
4712
4713(define-public gnome-shell
4714 (package
4715 (name "gnome-shell")
82ab7647 4716 (version "3.20.1")
a4df5756
SB
4717 (source (origin
4718 (method url-fetch)
4719 (uri (string-append "mirror://gnome/sources/" name "/"
4720 (version-major+minor version) "/"
4721 name "-" version ".tar.xz"))
4722 (sha256
4723 (base32
82ab7647 4724 "08cgbr15cim3rgcngrv98rm48pkdxwj4nqx5za1lsnv376m4x5bs"))))
a4df5756
SB
4725 (build-system glib-or-gtk-build-system)
4726 (arguments
4727 '(#:phases
4728 (modify-phases %standard-phases
4729 (replace 'install
4730 (lambda* (#:key outputs #:allow-other-keys)
4731 (let* ((out (assoc-ref outputs "out"))
4732 (keysdir (string-append
4733 out "/share/gnome-control-center/keybindings")))
4734 (zero? (system* "make"
4735 (string-append "keysdir=" keysdir)
4736 "install")))))
4737 (add-after
4738 'install 'wrap-programs
4739 (lambda* (#:key outputs #:allow-other-keys)
4740 (let ((out (assoc-ref outputs "out"))
4741 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4742 (python-path (getenv "PYTHONPATH")))
4743 (wrap-program (string-append out "/bin/gnome-shell")
4744 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4745 (for-each
4746 (lambda (prog)
4747 (wrap-program (string-append out "/bin/" prog)
4748 `("PYTHONPATH" ":" prefix (,python-path))
4749 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4750 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4751 #t))))))
4752 (native-inputs
4753 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4754 ("gobject-introspection" ,gobject-introspection)
4755 ("intltool" ,intltool)
4756 ("pkg-config" ,pkg-config)
4757 ("python" ,python)
4758 ("xsltproc" ,libxslt)))
4759 (inputs
4760 `(("accountsservice" ,accountsservice)
4761 ("caribou" ,caribou)
4762 ("docbook-xsl" ,docbook-xsl)
4763 ("evolution-data-server" ,evolution-data-server)
4764 ("gcr" ,gcr)
4765 ("gdm" ,gdm)
4766 ("gjs" ,gjs)
4767 ("gnome-bluetooth" ,gnome-bluetooth)
4768 ("gnome-control-center" ,gnome-control-center)
4769 ("gnome-desktop" ,gnome-desktop)
4770 ("gnome-settings-daemon" ,gnome-settings-daemon)
4771 ("gst-plugins-base" ,gst-plugins-base)
4772 ("ibus" ,ibus)
4773 ("libcanberra" ,libcanberra)
4774 ("libcroco" ,libcroco)
4775 ("libgweather" ,libgweather)
4776 ("libsoup" ,libsoup)
4777 ("mesa-headers" ,mesa-headers)
4778 ("mutter" ,mutter)
4779 ("network-manager-applet" ,network-manager-applet)
4780 ("polkit" ,polkit)
4781 ("pulseaudio" ,pulseaudio)
4782 ("python-pygobject" ,python-pygobject)
4783 ("startup-notification" ,startup-notification)
4784 ("telepathy-logger" ,telepathy-logger)
4785 ("upower" ,upower)
4786 ;; XXX: required by libgjs.la.
4787 ("readline" ,readline)))
4788 (synopsis "Desktop shell for GNOME")
4789 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4790 (description
4791 "GNOME Shell provides core user interface functions for the GNOME desktop,
4792like switching to windows and launching applications.")
4793 (license license:gpl2+)))
c3f29bc9
RS
4794
4795(define-public gtk-vnc
4796 (package
4797 (name "gtk-vnc")
4798 (version "0.5.4")
4799 (source
4800 (origin
4801 (method url-fetch)
4802 (uri (string-append "mirror://gnome/sources/" name "/"
4803 (version-major+minor version) "/"
4804 name "-" version ".tar.xz"))
4805 (sha256
4806 (base32
4807 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4808 (build-system gnu-build-system)
4809 (arguments
4810 '(#:configure-flags '("--with-gtk=3.0")))
4811 (propagated-inputs
4812 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4813 (inputs
4814 `(("cyrus-sasl" ,cyrus-sasl)
4815 ("gnutls" ,gnutls)
4816 ("libgcrypt" ,libgcrypt)
4817 ("pulseaudio" ,pulseaudio)))
4818 (native-inputs
4819 `(("glib:bin" ,glib "bin")
4820 ("gobject-introspection" ,gobject-introspection)
4821 ("intltool" ,intltool)
4822 ("pkg-config" ,pkg-config)
4823 ("vala" ,vala)))
4824 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4825 (synopsis "VNC viewer widget for GTK+")
4826 (description
4827 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4828applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4829GTK-VNC implements client side RFB protocol and authentication extensions such
4830as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4831 (license license:lgpl2.1+)))
8b877545
RS
4832
4833(define-public nautilus
4834 (package
4835 (name "nautilus")
a829a053 4836 (version "3.20.1")
8b877545
RS
4837 (source (origin
4838 (method url-fetch)
4839 (uri (string-append "mirror://gnome/sources/" name "/"
4840 (version-major+minor version) "/"
4841 name "-" version ".tar.xz"))
4842 (sha256
4843 (base32
a829a053 4844 "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj"))))
8b877545
RS
4845 (build-system glib-or-gtk-build-system)
4846 (arguments
6983ba56
SB
4847 '(#:configure-flags
4848 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
8b877545
RS
4849 ;; XXX: FAIL: check-nautilus
4850 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4851 #:tests? #f))
4852 (native-inputs
4853 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4854 ("gobject-introspection" ,gobject-introspection)
4855 ("intltool" ,intltool)
4856 ("pkg-config" ,pkg-config)))
8b877545
RS
4857 (inputs
4858 ;; TODO: add gvfs support.
4859 `(("dconf" ,dconf)
4860 ("exempi" ,exempi)
4861 ("gnome-desktop" ,gnome-desktop)
ce6027bf
SB
4862 ;; XXX: gtk+ is required by libnautilus-extension.pc
4863 ;;
4864 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4865 ;; package. See:
4866 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4867 ("gtk+" ,gtk+)
8b877545
RS
4868 ("libexif" ,libexif)
4869 ("libxml2" ,libxml2)))
4870 (synopsis "File manager for GNOME")
4871 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4872 (description
4873 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4874design and behaviour, giving the user a simple way to navigate and manage its
4875files.")
4876 (license license:gpl2+)))
3c697ffd
JR
4877
4878(define-public baobab
4879 (package
4880 (name "baobab")
758da0fe 4881 (version "3.20.1")
3c697ffd
JR
4882 (source (origin
4883 (method url-fetch)
4884 (uri (string-append
4885 "mirror://gnome/sources/" name "/"
4886 (version-major+minor version) "/"
4887 name "-" version ".tar.xz"))
4888 (sha256
4889 (base32
758da0fe 4890 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
3c697ffd
JR
4891 (build-system glib-or-gtk-build-system)
4892 (native-inputs
4893 `(("intltool" ,intltool)
4894 ("pkg-config" ,pkg-config)
4895 ("itstool" ,itstool)
4896 ("xmllint" ,libxml2)
4897 ("glib" ,glib "bin")
4898 ("vala" ,vala)))
4899 (inputs
4900 `(("gtk+" ,gtk+)))
4901 (synopsis "Disk usage analyzer for GNOME")
4902 (description
4903 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4904usage in the GNOME desktop environment. It can easily scan device volumes or
4905a specific user-requested directory branch (local or remote). Once the scan
4906is complete it provides a graphical representation of each selected folder.")
4907 (home-page "https://wiki.gnome.org/Apps/Baobab")
4908 (license license:gpl2+)))
dc050251 4909
fdba447c
RS
4910(define-public gnome-backgrounds
4911 (package
4912 (name "gnome-backgrounds")
6983ba56 4913 (version "3.20")
fdba447c
RS
4914 (source
4915 (origin
4916 (method url-fetch)
4917 (uri (string-append "mirror://gnome/sources/" name "/"
4918 (version-major+minor version) "/"
4919 name "-" version ".tar.xz"))
4920 (sha256
4921 (base32
6983ba56 4922 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
fdba447c
RS
4923 (build-system glib-or-gtk-build-system)
4924 (native-inputs
4925 `(("intltool" ,intltool)))
4926 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4927 (synopsis "Background images for the GNOME desktop")
4928 (description
4929 "GNOME backgrounds package contains a collection of graphics files which
4930can be used as backgrounds in the GNOME Desktop environment. Additionally,
4931the package creates the proper framework and directory structure so that you
4932can add your own files to the collection.")
4933 (license (list license:gpl2+
4934 license:cc-by2.0
4935 license:cc-by-sa2.0
4936 license:cc-by-sa3.0))))
4937
b784b1a9
RS
4938(define-public gnome-screenshot
4939 (package
4940 (name "gnome-screenshot")
4941 (version "3.18.0")
4942 (source
4943 (origin
4944 (method url-fetch)
4945 (uri (string-append "mirror://gnome/sources/" name "/"
4946 (version-major+minor version) "/"
4947 name "-" version ".tar.xz"))
4948 (sha256
4949 (base32
4950 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4951 (build-system glib-or-gtk-build-system)
4952 (native-inputs
4953 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4954 ("intltool" ,intltool)
4955 ("pkg-config" ,pkg-config)))
4956 (inputs
4957 `(("gtk+" ,gtk+)
4958 ("libcanberra" ,libcanberra)
4959 ("libx11" ,libx11)
4960 ("libxext" ,libxext)))
4961 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4962 (synopsis "Take pictures of your screen")
4963 (description
4964 "GNOME Screenshot is a utility used for taking screenshots of the entire
4965screen, a window or a user defined area of the screen, with optional
4966beautifying border effects.")
4967 (license license:gpl2+)))
4968
66d59111
RS
4969(define-public dconf-editor
4970 (package
4971 (name "dconf-editor")
0ddba707 4972 (version "3.20.1")
66d59111
RS
4973 (source
4974 (origin
4975 (method url-fetch)
4976 (uri (string-append "mirror://gnome/sources/" name "/"
4977 (version-major+minor version) "/"
4978 name "-" version ".tar.xz"))
4979 (sha256
4980 (base32
0ddba707 4981 "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p"))))
66d59111
RS
4982 (build-system glib-or-gtk-build-system)
4983 (native-inputs
4984 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4985 ("intltool" ,intltool)
4986 ("pkg-config" ,pkg-config)))
4987 (inputs
4988 `(("dconf" ,dconf)
4989 ("gtk+" ,gtk+)
4990 ("libxml2" ,libxml2)))
4991 (home-page "https://git.gnome.org/browse/dconf-editor")
4992 (synopsis "Graphical editor for GNOME's dconf configuration system")
4993 (description
4994 "Dconf-editor is a graphical tool for browsing and editing the dconf
4995configuration system for GNOME. It allows users to configure desktop
4996software that do not provide their own configuration interface.")
4997 (license license:lgpl2.1+)))
4998
dc050251
SB
4999(define-public gnome
5000 (package
5001 (name "gnome")
5002 (version (package-version gnome-shell))
5003 (source #f)
5004 (build-system trivial-build-system)
5005 (arguments '(#:builder (mkdir %output)))
5006 (propagated-inputs
5007 ;; TODO: Add more packages according to:
5008 ;; <https://packages.debian.org/jessie/gnome-core>.
5009 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 5010 ("baobab" ,baobab)
0bd3597b 5011 ("font-cantarell" ,font-cantarell)
dc050251
SB
5012 ("at-spi2-core" ,at-spi2-core)
5013 ("dbus" ,dbus)
5014 ("dconf" ,dconf)
72360453 5015 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
5016 ("eog" ,eog)
5017 ("epiphany" ,epiphany)
5018 ("evince" ,evince)
71d9b980 5019 ("file-roller" ,file-roller)
dc050251
SB
5020 ("gedit" ,gedit)
5021 ("glib-networking" ,glib-networking)
05f651c4 5022 ("gnome-backgrounds" ,gnome-backgrounds)
dc050251
SB
5023 ("gnome-control-center" ,gnome-control-center)
5024 ("gnome-keyring" ,gnome-keyring)
5025 ("gnome-session" ,gnome-session)
5026 ("gnome-settings-daemon" ,gnome-settings-daemon)
5027 ("gnome-shell" ,gnome-shell)
5028 ("gnome-terminal" ,gnome-terminal)
5029 ("gnome-themes-standard" ,gnome-themes-standard)
05f651c4 5030 ("gvfs" ,gvfs)
dc050251
SB
5031 ("hicolor-icon-theme" ,hicolor-icon-theme)
5032 ("nautilus" ,nautilus)
5033 ("pulseaudio" ,pulseaudio)
5034 ("shared-mime-info" ,shared-mime-info)
5035 ("totem" ,totem)
5036 ("yelp" ,yelp)
5037 ("zenity" ,zenity)))
fe4e698d 5038 (synopsis "The GNU desktop environment")
dc050251
SB
5039 (home-page "https://www.gnome.org/")
5040 (description
fe4e698d
LC
5041 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5042applications for browsing the web, editing text and images, creating
5043documents and diagrams, playing media, scanning, and much more.")
dc050251 5044 (license license:gpl2+)))
4a526711
DT
5045
5046(define-public byzanz
5047 ;; The last stable release of Byzanz was in 2011, but there have been many
5048 ;; useful commits made to the Byzanz repository since then that it would be
5049 ;; silly to use such an old release.
5050 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5051 (package
5052 (name "byzanz")
5053 (version (string-append "0.2-1." (string-take commit 7)))
5054 (source (origin
5055 (method git-fetch)
5056 (uri (git-reference
5057 (url "git://git.gnome.org/byzanz")
5058 (commit commit)))
5059 (sha256
5060 (base32
5061 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5062 (build-system glib-or-gtk-build-system)
5063 (arguments
5064 '(#:phases
5065 (modify-phases %standard-phases
5066 (add-after 'unpack 'bootstrap
5067 (lambda _
5068 ;; The build system cleverly detects that we're not building from
5069 ;; a release tarball and turns on -Werror for GCC.
5070 ;; Unsurprisingly, there is a warning during compilation that
5071 ;; causes the build to fail unnecessarily, so we remove the flag.
5072 (substitute* '("configure.ac")
5073 (("-Werror") ""))
5074 ;; The autogen.sh script in gnome-common will run ./configure
5075 ;; by default, which is problematic because source shebangs
5076 ;; have not yet been patched.
5077 (setenv "NOCONFIGURE" "t")
5078 (zero? (system* "sh" "autogen.sh")))))))
5079 (native-inputs
5080 `(("autoconf" ,autoconf)
5081 ("automake" ,automake)
5082 ("gnome-common" ,gnome-common)
5083 ("intltool" ,intltool)
5084 ("libtool" ,libtool)
5085 ("pkg-config" ,pkg-config)
5086 ("which" ,which)))
5087 (inputs
5088 `(("glib" ,glib)
5089 ("gstreamer" ,gstreamer)
5090 ("gst-plugins-base" ,gst-plugins-base)
5091 ("gtk+" ,gtk+)))
5092 (synopsis "Desktop recording program")
5093 (description "Byzanz is a simple desktop recording program with a
5094command-line interface. It can record part or all of an X display for a
5095specified duration and save it as a GIF encoded animated image file.")
5096 (home-page "https://git.gnome.org/browse/byzanz")
5097 (license license:gpl2+))))
3a9a4c51
RS
5098
5099(define-public libzapojit
5100 (package
5101 (name "libzapojit")
5102 (version "0.0.3")
5103 (source (origin
5104 (method url-fetch)
5105 (uri (string-append "mirror://gnome/sources/" name "/"
5106 (version-major+minor version) "/"
5107 name "-" version ".tar.xz"))
5108 (sha256
5109 (base32
5110 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5111 (build-system gnu-build-system)
5112 (native-inputs
5113 `(("gobject-introspection" ,gobject-introspection)
5114 ("intltool" ,intltool)
5115 ("pkg-config" ,pkg-config)))
5116 (inputs
5117 `(("gnome-online-accounts" ,gnome-online-accounts)
5118 ("json-glib" ,json-glib)
5119 ("rest" ,rest)))
5120 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5121 (synopsis "Library for accessing SkyDrive and Hotmail")
5122 (description
5123 "Libzapojit is a GLib-based library for accessing online service APIs of
5124Microsoft SkyDrive and Hotmail, using their REST protocols.")
5125 (license license:lgpl2.1+)))
9365ee1c 5126
3c474897
KY
5127(define-public gnome-calendar
5128 (package
5129 (name "gnome-calendar")
5130 (version "3.20.2")
5131 (source (origin
5132 (method url-fetch)
5133 (uri (string-append "mirror://gnome/sources/" name "/"
5134 (version-major+minor version) "/"
5135 name "-" version ".tar.xz"))
5136 (sha256
5137 (base32
5138 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5139 (build-system glib-or-gtk-build-system)
5140 (native-inputs
5141 `(("intltool" ,intltool)
5142 ("pkg-config" ,pkg-config)))
5143 (inputs
5144 `(("bdb" ,bdb)
5145 ("desktop-file-utils" ,desktop-file-utils)
5146 ("evolution-data-server" ,evolution-data-server)
5147 ("gnome-online-accounts" ,gnome-online-accounts)))
5148 (home-page "https://wiki.gnome.org/Apps/Calendar")
5149 (synopsis "GNOME's calendar application")
5150 (description
5151 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5152desktop. It supports multiple calendars, monthly view and yearly view.")
5153 (license license:gpl3+)))
5154
9365ee1c
JN
5155(define-public gnome-tweak-tool
5156 (package
5157 (name "gnome-tweak-tool")
5158 (version "3.20.1")
5159 (source (origin
5160 (method url-fetch)
5161 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5162 (version-major+minor version) "/"
5163 "gnome-tweak-tool-" version ".tar.xz"))
5164 (patches (list
5165 (search-patch "gnome-tweak-tool-search-paths.patch")))
5166 (sha256
5167 (base32
5168 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5169 (build-system gnu-build-system)
5170 (arguments
5171 `(#:configure-flags '("--localstatedir=/tmp"
5172 "--sysconfdir=/tmp")
5173 #:imported-modules ((guix build python-build-system)
5174 ,@%gnu-build-system-modules)
5175 #:phases (modify-phases %standard-phases
5176 (add-after 'install 'wrap
5177 (@@ (guix build python-build-system) wrap)))))
5178 (native-inputs
5179 `(("intltool" ,intltool)
5180 ("pkg-config" ,pkg-config)))
5181 (inputs
5182 `(("python" ,python-2)
5183 ("python2-pygobject" ,python2-pygobject)))
5184 (propagated-inputs
5185 `(("libnotify" ,libnotify)
5186 ("gobject-introspection" ,gobject-introspection)
5187 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5188 ("gtk+" ,gtk+)))
5189 (synopsis "Customize advanced GNOME 3 options")
5190 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5191 (description
5192 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5193GNOME 3. This includes things like the fonts used in user interface elements,
5194alternative user interface themes, changes in window management behavior,
5195GNOME Shell appearance and extension, etc.")
5196 (license license:gpl3+)))
813f814a 5197
32ac717c
DT
5198(define-public gnome-shell-extensions
5199 (package
5200 (name "gnome-shell-extensions")
5201 (version "3.20.1")
5202 (source (origin
5203 (method url-fetch)
5204 (uri (string-append "mirror://gnome/sources/" name "/"
5205 (version-major+minor version) "/"
5206 name "-" version ".tar.xz"))
5207 (sha256
5208 (base32
5209 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5210 (build-system gnu-build-system)
5211 (arguments
5212 '(#:configure-flags '("--enable-extensions=all")))
5213 (native-inputs
5214 `(("intltool" ,intltool)
5215 ("pkg-config" ,pkg-config)))
5216 (propagated-inputs
5217 `(("glib" ,glib)
5218 ("glib" ,glib "bin")))
5219 (synopsis "Extensions for GNOME Shell")
5220 (description "GNOME Shell extensions modify and extend GNOME Shell
5221functionality and behavior.")
5222 (home-page "https://extensions.gnome.org/")
5223 (license license:gpl3+)))
5224
813f814a
DT
5225(define-public arc-theme
5226 (package
5227 (name "arc-theme")
5228 (version "20160605")
5229 (source (origin
5230 (method url-fetch)
5231 (uri (string-append "https://github.com/horst3180/arc-theme"
5232 "/archive/" version ".tar.gz"))
5233 (file-name (string-append name "-" version ".tar.gz"))
5234 (sha256
5235 (base32
5236 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5237 (build-system gnu-build-system)
5238 (arguments
5239 '(#:phases
5240 (modify-phases %standard-phases
5241 (add-after 'unpack 'bootstrap
5242 (lambda _
5243 (zero? (system* "autoreconf" "-vif")))))))
5244 (native-inputs
5245 `(("autoconf" ,autoconf)
5246 ("automake" ,automake)
5247 ("pkg-config" ,pkg-config)))
5248 (inputs
5249 `(("gtk+" ,gtk+)))
5250 (synopsis "A flat GTK+ theme with transparent elements")
5251 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
52522, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5253like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5254 (home-page "https://github.com/horst3180/arc-theme")
5255 ;; No "or later" language found.
5256 (license license:gpl3)))
9987c57c
DT
5257
5258(define-public moka-icon-theme
5259 (package
5260 (name "moka-icon-theme")
5261 (version "5.3.1")
5262 (source (origin
5263 (method url-fetch)
5264 (uri (string-append "https://github.com/moka-project"
5265 "/moka-icon-theme/archive/v"
5266 version ".tar.gz"))
5267 (file-name (string-append name "-" version ".tar.gz"))
5268 (sha256
5269 (base32
5270 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5271 (build-system gnu-build-system)
5272 (arguments
5273 '(#:phases
5274 (modify-phases %standard-phases
5275 (add-after 'unpack 'patch-makefile.am
5276 (lambda _
5277 (substitute* '("Makefile.am")
5278 (("\\$\\(DESTDIR\\)/usr/share")
5279 "$(datadir)"))
5280 #t))
5281 (add-after 'patch-makefile.am 'bootstrap
5282 (lambda _
5283 (zero? (system* "autoreconf" "-vif")))))))
5284 (native-inputs
5285 `(("autoconf" ,autoconf)
5286 ("automake" ,automake)))
5287 (synopsis "Moka icon theme")
5288 (description "Moka is a stylized desktop icon set, designed to be clear,
5289simple and consistent.")
5290 (home-page "http://snwh.org/moka")
5291 (license license:gpl3+)))
6fd8f8d6
DT
5292
5293(define-public arc-icon-theme
5294 (package
5295 (name "arc-icon-theme")
5296 (version "20160605")
5297 (source (origin
5298 (method url-fetch)
5299 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5300 "/archive/" version ".tar.gz"))
5301 (file-name (string-append name "-" version ".tar.gz"))
5302 (sha256
5303 (base32
5304 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5305 (build-system gnu-build-system)
5306 (arguments
5307 '(#:phases
5308 (modify-phases %standard-phases
5309 (add-after 'unpack 'bootstrap
5310 (lambda _
5311 (zero? (system* "autoreconf" "-vif")))))))
5312 (native-inputs
5313 `(("autoconf" ,autoconf)
5314 ("automake" ,automake)))
5315 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5316 (propagated-inputs
5317 `(("moka-icon-theme" ,moka-icon-theme)))
5318 (synopsis "Arc icon theme")
5319 (description "The Arc icon theme provides a set of icons matching the
5320style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5321the Moka icon theme.")
5322 (home-page "https://github.com/horst3180/arc-icon-theme")
5323 (license license:gpl3+)))
6064a4e8
LF
5324
5325(define-public folks
5326 (package
5327 (name "folks")
5328 (version "0.11.2")
5329 (source (origin
5330 (method url-fetch)
5331 (uri (string-append
5332 "mirror://gnome/sources/" name "/"
5333 (version-major+minor version) "/"
5334 name "-" version ".tar.xz"))
5335 (sha256
5336 (base32
5337 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5338 (build-system glib-or-gtk-build-system)
5339 (inputs
5340 `(("bdb" ,bdb)
5341 ("dbus-glib" ,dbus-glib)
5342 ("evolution-data-server" ,evolution-data-server)
5343 ("glib" ,glib)
5344 ("libgee" ,libgee)
5345 ("telepathy-glib" ,telepathy-glib)))
5346 (native-inputs
5347 `(("gobject-introspection" ,gobject-introspection)
5348 ("intltool" ,intltool)
5349 ("pkg-config" ,pkg-config)
5350 ("vala" ,vala)))
5351 (synopsis "Library to aggregate data about people")
5352 (description "Libfolks is a library that aggregates information about people
5353from multiple sources (e.g., Telepathy connection managers for IM contacts,
5354Evolution Data Server for local contacts, libsocialweb for web service contacts,
5355etc.) to create metacontacts. It's written in Vala, which generates C code when
5356compiled.")
5357 (home-page "https://wiki.gnome.org/Projects/Folks")
5358 (license license:lgpl2.1+)))
01ea778f
LF
5359
5360(define-public gfbgraph
5361 (package
5362 (name "gfbgraph")
5363 (version "0.2.3")
5364 (source (origin
5365 (method url-fetch)
5366 (uri (string-append
5367 "mirror://gnome/sources/" name "/"
5368 (version-major+minor version) "/"
5369 name "-" version ".tar.xz"))
5370 (sha256
5371 (base32
5372 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5373 (build-system glib-or-gtk-build-system)
5374 (arguments
5375 `(#:tests? #f ; Tests appear to require the network.
5376 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5377 #:configure-flags '("--disable-gtk-doc"
5378 "--disable-static"
5379 "--enable-introspection")))
5380 (native-inputs
5381 `(("pkg-config" ,pkg-config)
5382 ("gobject-introspection" ,gobject-introspection)))
5383 (inputs
5384 `(("json-glib" ,json-glib)
5385 ("gnome-online-accounts" ,gnome-online-accounts)
5386 ("rest" ,rest)))
5387 (synopsis "GLib/GObject wrapper for the Facebook API")
5388 (description "This library allows you to use the Facebook API from
5389GLib/GObject code.")
5390 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5391 (license license:lgpl2.1+)))
3920868c 5392
5393(define-public libgnomekbd
5394 (package
5395 (name "libgnomekbd")
5396 (version "3.6.0")
5397 (source (origin
5398 (method url-fetch)
5399 (uri (string-append "mirror://gnome/sources/" name "/"
5400 (version-major+minor version) "/"
5401 name "-" version ".tar.xz"))
5402 (sha256
5403 (base32
5404 "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
5405 (build-system gnu-build-system)
5406 (native-inputs
5407 `(("pkg-config" ,pkg-config)
5408 ("glib" ,glib "bin")
5409 ("intltool" ,intltool)))
5410 (propagated-inputs
5411 ;; Referred to in .h files and .pc.
5412 `(("glib" ,glib)
5413 ("gtk+" ,gtk+)
5414 ("libxklavier" ,libxklavier)))
5415 (home-page "https://www.gnome.org")
5416 (synopsis "GNOME keyboard configuration library")
5417 (description
5418 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5419environment, which can notably display keyboard layouts.")
5420 (license license:lgpl2.0+)))