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