gnu: gnome-klotski: Update to 3.22.1.
[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>
8344a85e 12;;; Copyright © 2015, 2016, 2017 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)
de1215e2 92 #:use-module (gnu packages pcre)
27477d2d 93 #:use-module (gnu packages perl)
f70d8383 94 #:use-module (gnu packages photo)
995b7261 95 #:use-module (gnu packages pkg-config)
23a22af6 96 #:use-module (gnu packages pulseaudio)
995b7261 97 #:use-module (gnu packages python)
75016d07 98 #:use-module (gnu packages scanner)
4a1bf090 99 #:use-module (gnu packages ssh)
85f5dc19 100 #:use-module (gnu packages xml)
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")
c01deb86 246 (version "3.22.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
c01deb86 255 "074yjz4g9gii045v2pl1ad34hcg92ci04ynxqcabwnf3lvvypmsi"))))
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")
0acaac9e 468 (version "3.22.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
0acaac9e 476 "0713mcrym5ykhl5smqxi6m9578gz3nkibmkmc794amss7gdkkm7k"))))
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")
707ae4e6 540 (version "3.22.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
707ae4e6 549 "1qgalzqwg0fl0n22vslqcsnsmj9kc54qj25ib16rxaf36jxcf1hg"))))
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")
562a79de 606 (version "0.23")
686e025d
SB
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
562a79de 613 "119kj2w0rrxkhg4f9cf5waa55jz1hj8933vh47vcjipcplql02bc"))))
686e025d
SB
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")
ea2c1582 670 (version "3.22.0")
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
ea2c1582 678 "1dyw8mm72wfpkn83vdqr0ifv5yhy565jhxrcjsd83nc7c3igd2y1"))))
5613c27d
SB
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")
b43b584f 685 (version "1.8")
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
b43b584f 692 "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"))))
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")
b62a0070 716 (version "0.15")
bef4dd92
AE
717 (source
718 (origin
719 (method url-fetch)
5cc3096c 720 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 721 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
722 (sha256
723 (base32
b62a0070 724 "1k1kf2c5zbqh31nglc3nxs9j6wr083k9kjyql8p22ccc671mmi4w"))))
bef4dd92
AE
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")
195bfa68 738 (version "0.7.7")
d9c1a22b
AE
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
195bfa68 747 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b
AE
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")
0dd6aed9 771 (version "1.20.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
0dd6aed9 780 "0m6k6fcrx40n92nc1cy3z72vs1ja49sb58dj3fjp40605pzgz4pk"))))
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")
ef51eb99 908 (version "1.14.41")
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
ef51eb99 916 "1lq87wnrsjbjafpk3c8xwd56gqx319fhck9xkg2da88hd9c9h2qm"))))
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")
41d54c15 1667 (version "3.22.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
41d54c15 1676 "19bxw69ms46px5xgvwbjlhq2vkmrqfx2az49q63w2wxqb76icidk"))))
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")
40a62e60 1739 (version "0.34.4")
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
40a62e60 1747 "10vbd74jazc3vhfagzx8v197bshrg61hnjzna6y3wmhljhrvs5vb"))))
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")
de1215e2 1781 (version "0.46.1")
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
de1215e2 1789 "1ipmnfazvhzjp5pjw90mmxbkizivnh7gnlqqml94lw2rqa5wy048"))))
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 1807 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
de1215e2
MW
1808 ("gnutls" ,gnutls) ;ditto
1809 ("pcre2" ,pcre2))) ;ditto
ea57378f
SB
1810 (home-page "http://www.gnome.org/")
1811 (synopsis "Virtual Terminal Emulator")
1812 (description
1813 "VTE is a library (libvte) implementing a terminal emulator widget for
1814GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1815gnome-terminal, but can also be used to embed a console/terminal in games,
1816editors, IDEs, etc.")
1817 (license license:lgpl2.1+)))
1818
c44fb4df
MO
1819(define-public vte-ng
1820 (package
1821 (inherit vte)
1822 (name "vte-ng")
1823 (version "0.44.1.b")
1824 (native-inputs
1825 `(("gtk-doc" ,gtk-doc)
1826 ("gperf" ,gperf)
1827 ("autoconf" ,autoconf)
1828 ("automake" ,automake)
1829 ("libtool" ,libtool)
1830 ,@(package-native-inputs vte)))
1831 (source (origin
1832 (method url-fetch)
1833 (uri (string-append "https://github.com/thestinger/"
1834 name "/archive/" version ".tar.gz"))
1835 (file-name (string-append name "-" version ".tar.gz"))
1836 (sha256
1837 (base32
1838 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1839 (arguments
1840 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1841 #:phases (modify-phases %standard-phases
1842 (add-after 'unpack 'bootstrap
1843 (lambda _
1844 (setenv "NOCONFIGURE" "true")
1845 (zero? (system* "sh" "autogen.sh")))))))
1846 (synopsis "Enhanced VTE terminal widget")
1847 (description
1848 "VTE is a library (libvte) implementing a terminal emulator widget for
1849GTK+, this fork provides additional functions exposed for keyboard text
1850selection and URL hints.")))
1851
2776d72c
EF
1852;; provides vte 2.90, required for some terminal emulators
1853;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1854;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1855;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1856;; pantheon-terminal, roxterm are not currently packaged
1857(define-public vte-0.36
1858 (package (inherit vte)
1859 (name "vte")
1860 (version "0.36.5")
1861 (source (origin
1862 (method url-fetch)
1863 (uri (string-append "mirror://gnome/sources/" name "/"
1864 (version-major+minor version) "/"
1865 name "-" version ".tar.xz"))
1866 (sha256
1867 (base32
1868 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1869 (propagated-inputs
1870 `(("gtk" ,gtk+)
1871 ("ncurses" ,ncurses)))))
1872
ea57378f
SB
1873;; stable version for gtk2, required by xfce4-terminal.
1874(define-public vte/gtk+-2
1875 (package (inherit vte)
1876 (name "vte")
1877 (version "0.28.2")
1878 (source (origin
1879 (method url-fetch)
1880 (uri (string-append "mirror://gnome/sources/" name "/"
1881 (version-major+minor version) "/"
1882 name "-" version ".tar.xz"))
1883 (sha256
1884 (base32
7d48938a
EF
1885 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1886 (patches (search-patches
1887 "vte-CVE-2012-2738-pt1.patch"
1888 "vte-CVE-2012-2738-pt2.patch"))))
ea57378f
SB
1889 (arguments
1890 '(#:configure-flags '("--disable-python")))
1891 (native-inputs
1892 `(("pkg-config" ,pkg-config)
1893 ("intltool" ,intltool)
1894 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1895 (propagated-inputs
1896 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1897 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1898
1899(define-public dconf
1900 (package
1901 (name "dconf")
6983ba56 1902 (version "0.26.0")
b47e1b20
FB
1903 (source (origin
1904 (method url-fetch)
1905 (uri (string-append
2e6ecc5c 1906 "mirror://gnome/sources/" name "/"
b47e1b20
FB
1907 (version-major+minor version) "/"
1908 name "-" version ".tar.xz"))
1909 (sha256
f05c809f 1910 (base32
6983ba56 1911 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
b47e1b20
FB
1912 (build-system glib-or-gtk-build-system)
1913 (inputs
1914 `(("gtk+" ,gtk+)
1915 ("glib" ,glib)
1916 ("dbus" ,dbus)
1917 ("libxml2" ,libxml2)))
1918 (native-inputs
1919 `(("libxslt" ,libxslt)
1920 ("docbook-xml" ,docbook-xml-4.2)
1921 ("docbook-xsl" ,docbook-xsl)
1922 ("intltool" ,intltool)
1923 ("pkg-config" ,pkg-config)))
1924 (arguments
1925 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1926 ; or /etc/machine-id.
1927 #:configure-flags
1928 ;; Set the correct RUNPATH in binaries.
2e6ecc5c 1929 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
1930 (assoc-ref %outputs "out") "/lib")
1931 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1932 #:phases
1933 (alist-cons-before
1934 'configure 'fix-docbook
1935 (lambda* (#:key inputs #:allow-other-keys)
1936 (substitute* "docs/Makefile.in"
1937 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2e6ecc5c 1938 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
1939 "/xml/xsl/docbook-xsl-"
1940 ,(package-version docbook-xsl)
1941 "/manpages/docbook.xsl")))
2e6ecc5c
AE
1942 (setenv "XML_CATALOG_FILES"
1943 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
1944 "/xml/dtd/docbook/catalog.xml")))
1945 %standard-phases)))
1946 (home-page "https://developer.gnome.org/dconf")
1947 (synopsis "Low-level GNOME configuration system")
1948 (description "Dconf is a low-level configuration system. Its main purpose
1949is to provide a backend to GSettings on platforms that don't already have
1950configuration storage systems.")
1951 (license license:lgpl2.1)))
109da1c0
AE
1952
1953(define-public json-glib
1954 (package
1955 (name "json-glib")
eef1ad01 1956 (version "1.2.2")
109da1c0
AE
1957 (source (origin
1958 (method url-fetch)
1959 (uri (string-append "mirror://gnome/sources/" name "/"
1960 (version-major+minor version) "/"
1961 name "-" version ".tar.xz"))
1962 (sha256
1963 (base32
eef1ad01 1964 "08d6449sgnwfh92x8rhwsm03g8frv0mvp3s4wl3cskw25asql4pa"))
4955ab7d
SB
1965 (modules '((guix build utils)))
1966 (snippet
1967 ;; Don't duplicate test names.
1968 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1969 '(substitute* "json-glib/tests/builder.c"
1970 (("\"/builder/complex\", test_builder_empty")
1971 "\"/builder/empty\", test_builder_empty")))))
109da1c0
AE
1972 (build-system gnu-build-system)
1973 (native-inputs
88c6b580 1974 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1975 ("gobject-introspection" ,gobject-introspection)
1976 ("pkg-config" ,pkg-config)))
1977 (propagated-inputs
88c6b580 1978 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1979 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1980 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
1981 (description
1982 "JSON-GLib is a C library based on GLib providing serialization and
1983deserialization support for the JavaScript Object Notation (JSON) format
1984described by RFC 4627. It provides parser and generator GObject classes and
1985various wrappers for the complex data types employed by JSON, such as arrays
1986and objects.")
109da1c0 1987 (license license:lgpl2.1+)))
6f96a359
SB
1988
1989(define-public libxklavier
1990 (package
1991 (name "libxklavier")
1992 (version "5.3")
1993 (source (origin
1994 (method url-fetch)
1995 (uri (string-append "mirror://gnome/sources/" name "/"
1996 version "/" name "-" version ".tar.xz"))
1997 (sha256
1998 (base32
1999 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2000 (build-system gnu-build-system)
2001 (arguments
2002 '(#:configure-flags
2003 (list (string-append "--with-xkb-base="
2004 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 2005 "/share/X11/xkb"))))
6f96a359
SB
2006 (native-inputs
2007 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2008 ("gobject-introspection" ,gobject-introspection)
2009 ("pkg-config" ,pkg-config)))
2010 (propagated-inputs
2011 ;; Required by libxklavier.pc.
2012 `(("glib" ,glib)
2013 ("libxml2" ,libxml2)))
2014 (inputs
2015 `(("iso-codes" ,iso-codes)
2016 ("libxi" ,libxi)
2017 ("libxkbfile" ,libxkbfile)
2018 ("xkbcomp" ,xkbcomp)
2019 ("xkeyboard-config" ,xkeyboard-config)))
2020 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
2021 (synopsis "High-level API for X Keyboard Extension")
2022 (description
2023 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
2024Extension known as XKB. This library is intended to support XFree86 and other
2025commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
2026indicators etc).")
2027 (license license:lgpl2.0+)))
619936a4
LC
2028
2029(define-public python2-rsvg
2030 ;; XXX: This is actually a subset of gnome-python-desktop.
2031 (package
2032 (name "python2-rsvg")
2033 (version "2.32.0")
2034 (source
2035 (origin
2036 (method url-fetch)
2037 (uri (string-append
2038 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2039 version ".tar.bz2"))
2040 (sha256
2041 (base32
2042 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2043 (build-system gnu-build-system)
2044 (native-inputs
2045 `(("pkg-config" ,pkg-config)))
2046 (inputs
2047 `(("python" ,python-2)
2048 ("python2-pygtk" ,python2-pygtk)
2049 ("librsvg" ,librsvg)))
2050 (home-page "http://www.gnome.org")
2051 (synopsis "Python bindings to librsvg")
2052 (description
2053 "This packages provides Python bindings to librsvg, the SVG rendering
2054library.")
2055
2056 ;; This is the license of the rsvg bindings. The license of each module
2057 ;; of gnome-python-desktop is given in 'COPYING'.
2058 (license license:lgpl2.1+)))
a31a6d22 2059
f2ca414a
SB
2060(define-public glib-networking
2061 (package
2062 (name "glib-networking")
532cbe22 2063 (version "2.50.0")
f2ca414a
SB
2064 (source (origin
2065 (method url-fetch)
2066 (uri (string-append "mirror://gnome/sources/glib-networking/"
2067 (version-major+minor version) "/"
2068 name "-" version ".tar.xz"))
2069 (sha256
2070 (base32
532cbe22 2071 "1vkb53jxawy38y29635izlch64j9xmcwwcimk134jwra7hpl86iz"))
907f939b 2072 (patches
fc1adab1 2073 (search-patches "glib-networking-ssl-cert-file.patch"))))
f2ca414a
SB
2074 (build-system gnu-build-system)
2075 (arguments
2076 `(#:configure-flags
907f939b 2077 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
f2ca414a
SB
2078 #:phases
2079 (modify-phases %standard-phases
3a4de6b2 2080 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
2081 ;; Install GIO modules into $out/lib/gio/modules.
2082 (lambda _
2083 (substitute* "configure"
2084 (("GIO_MODULE_DIR=.*")
2085 (string-append "GIO_MODULE_DIR=" %output
907f939b
SB
2086 "/lib/gio/modules\n")))))
2087 (add-before 'check 'use-empty-ssl-cert-file
2088 (lambda _
2089 ;; The ca-certificates.crt is not available in the build
2090 ;; environment.
2091 (setenv "SSL_CERT_FILE" "/dev/null")
2092 #t)))))
f2ca414a
SB
2093 (native-inputs
2094 `(("pkg-config" ,pkg-config)
2095 ("intltool" ,intltool)))
2096 (inputs
2097 `(("glib" ,glib)
2098 ("gnutls" ,gnutls)
2099 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2100 ("p11-kit" ,p11-kit)))
2101 (home-page "http://www.gnome.org")
2102 (synopsis "Network-related GIO modules")
2103 (description
2104 "This package contains various network related extensions for the GIO
2105library.")
2106 (license license:lgpl2.0+)))
2107
ca649680 2108(define-public rest
4510b2da 2109 (package
ca649680 2110 (name "rest")
90000d4b 2111 (version "0.8.0")
4510b2da
SB
2112 (source (origin
2113 (method url-fetch)
2114 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
2115 (version-major+minor version) "/"
2116 name "-" version ".tar.xz"))
4510b2da
SB
2117 (sha256
2118 (base32
90000d4b 2119 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
4510b2da
SB
2120 (build-system gnu-build-system)
2121 (arguments
2122 '(#:tests? #f ; tests require internet connection
2123 #:configure-flags
2124 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2125 (native-inputs
2126 `(("glib-mkenums" ,glib "bin")
2127 ("gobject-introspection" ,gobject-introspection)
2128 ("pkg-config" ,pkg-config)))
2129 (propagated-inputs
2130 ;; rest-0.7.pc refers to all these.
2131 `(("glib" ,glib)
2132 ("libsoup" ,libsoup)
2133 ("libxml2" ,libxml2)))
2134 (home-page "http://www.gtk.org/")
2135 (synopsis "RESTful web api query library")
2136 (description
2137 "This library was designed to make it easier to access web services that
2138claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2139libxml to ease remote use of the RESTful API.")
2140 (license license:lgpl2.1+)))
2141
6e1bb642
SB
2142(define-public libsoup
2143 (package
2144 (name "libsoup")
72c0b687 2145 (version "2.56.0")
6e1bb642
SB
2146 (source (origin
2147 (method url-fetch)
2148 (uri (string-append "mirror://gnome/sources/libsoup/"
2149 (version-major+minor version) "/"
2150 name "-" version ".tar.xz"))
2151 (sha256
2152 (base32
72c0b687 2153 "1r8zz270qdg92gbsvy61d51y1cj7hp059h2f4xpvqiw2vrqnn8fq"))))
6e1bb642
SB
2154 (build-system gnu-build-system)
2155 (outputs '("out" "doc"))
2156 (arguments
b19d6805 2157 `(#:configure-flags
6e1bb642
SB
2158 (list (string-append "--with-html-dir="
2159 (assoc-ref %outputs "doc")
fd730590 2160 "/share/gtk-doc/html"))
6e1bb642
SB
2161 #:phases
2162 (modify-phases %standard-phases
3a4de6b2 2163 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
2164 ;; This test fails due to missing /etc/nsswitch.conf
2165 ;; in the build environment.
2166 (lambda _
2167 (substitute* "tests/socket-test.c"
2168 ((".*/sockets/unconnected.*") ""))
2169 #t))
907f939b 2170 (add-before 'check 'pre-check
6e1bb642 2171 (lambda _
907f939b
SB
2172 ;; The 'check-local' target runs 'env LANG=C sort -u',
2173 ;; unset 'LC_ALL' to make 'LANG' working.
6e1bb642 2174 (unsetenv "LC_ALL")
907f939b
SB
2175 ;; The ca-certificates.crt is not available in the build
2176 ;; environment.
2177 (setenv "SSL_CERT_FILE" "/dev/null")
fd730590
SB
2178 #t))
2179 (replace 'install
2180 (lambda _
2181 (zero?
2182 (system* "make"
2183 ;; Install vala bindings into $out.
2184 (string-append "vapidir=" %output
2185 "/share/vala/vapi")
2186 "install")))))))
6e1bb642
SB
2187 (native-inputs
2188 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2189 ("gobject-introspection" ,gobject-introspection)
2190 ("intltool" ,intltool)
2191 ("pkg-config" ,pkg-config)
2192 ("python" ,python-wrapper)
fd730590 2193 ("vala" ,vala)
6e1bb642
SB
2194 ;; These are needed for the tests.
2195 ;; FIXME: Add PHP once available.
2196 ("curl" ,curl)
2197 ("httpd" ,httpd)))
2198 (propagated-inputs
2199 ;; libsoup-2.4.pc refers to all these.
2200 `(("glib" ,glib)
2201 ("libxml2" ,libxml2)))
2202 (inputs
2203 `(("glib-networking" ,glib-networking)
2204 ("sqlite" ,sqlite)))
2205 (home-page "https://live.gnome.org/LibSoup/")
2206 (synopsis "GLib-based HTTP Library")
2207 (description
2208 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2209and the GLib main loop, to integrate well with GNOME applications.")
2210 (license license:lgpl2.0+)))
2211
bba229a3
SB
2212(define-public libsecret
2213 (package
2214 (name "libsecret")
6983ba56 2215 (version "0.18.5")
bba229a3
SB
2216 (source (origin
2217 (method url-fetch)
2218 (uri (string-append
896dcbc7
EF
2219 "mirror://gnome/sources/libsecret/"
2220 (version-major+minor version) "/"
bba229a3
SB
2221 name "-" version ".tar.xz"))
2222 (sha256
2223 (base32
6983ba56 2224 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
bba229a3
SB
2225 (build-system gnu-build-system)
2226 (outputs '("out" "doc"))
2227 (arguments
2228 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2229 #:configure-flags
2230 (list (string-append "--with-html-dir="
2231 (assoc-ref %outputs "doc")
2232 "/share/gtk-doc/html"))))
2233 (native-inputs
2234 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2235 ("gobject-introspection" ,gobject-introspection)
2236 ("intltool" ,intltool)
2237 ("pkg-config" ,pkg-config)
2238 ("vala" ,vala)
2239 ("xsltproc" ,libxslt)))
2240 ;; These are needed for the tests.
2241 ;; FIXME: Add gjs once available.
2242 ;("dbus" ,dbus)
2243 ;("python2" ,python-2)
2244 ;("python2-dbus" ,python2-dbus)
2245 ;("python2-pygobject" ,python2-pygobject)
2246 ;("python2-pygobject-2" ,python2-pygobject-2)))
2247 (propagated-inputs
2248 `(("glib" ,glib))) ; required by libsecret-1.pc
2249 (inputs
2250 `(("docbook-xsl" ,docbook-xsl)
2251 ("libgcrypt" ,libgcrypt)
2252 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2253 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2254 (synopsis "GObject bindings for \"Secret Service\" API")
2255 (description
2256 "Libsecret is a GObject based library for storing and retrieving passwords
2257and other secrets. It communicates with the \"Secret Service\" using DBus.")
2258 (license license:lgpl2.1+)))
2259
a31a6d22
SB
2260(define-public gnome-mines
2261 (package
2262 (name "gnome-mines")
2b949c03 2263 (version "3.20.1")
a31a6d22
SB
2264 (source
2265 (origin
2266 (method url-fetch)
2267 (uri (string-append "mirror://gnome/sources/" name "/"
2268 (version-major+minor version) "/"
2269 name "-" version ".tar.xz"))
2270 (sha256
2271 (base32
2b949c03 2272 "0frb1r0f55giz7yqxl9920vvzqlirdivz54ygc9d85r8v63fh5aq"))))
a31a6d22
SB
2273 (build-system glib-or-gtk-build-system)
2274 (arguments
2275 '(#:phases
2276 (modify-phases %standard-phases
f8503e2b 2277 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2278 (lambda _
2279 (substitute* "configure"
6983ba56 2280 (("/bin/true") (which "true"))))))))
a31a6d22
SB
2281 (native-inputs
2282 `(("pkg-config" ,pkg-config)
2283 ("desktop-file-utils" ,desktop-file-utils)
2284 ("intltool" ,intltool)
bcb354ad
SB
2285 ("itstool" ,itstool)
2286 ("xmllint" ,libxml2)))
a31a6d22
SB
2287 (inputs
2288 `(("gtk+" ,gtk+)
2289 ("librsvg" ,librsvg)))
2290 (home-page "https://wiki.gnome.org/Apps/Mines")
2291 (synopsis "Minesweeper game")
2292 (description
2293 "Mines (previously gnomine) is a puzzle game where you locate mines
2294floating in an ocean using only your brain and a little bit of luck.")
2295 (license license:gpl2+)))
88f70665 2296
dfc407f3
KY
2297(define-public gnome-sudoku
2298 (package
2299 (name "gnome-sudoku")
52d8ebeb 2300 (version "3.20.5")
dfc407f3
KY
2301 (source
2302 (origin
2303 (method url-fetch)
2304 (uri (string-append "mirror://gnome/sources/" name "/"
2305 (version-major+minor version) "/"
2306 name "-" version ".tar.xz"))
2307 (sha256
2308 (base32
52d8ebeb 2309 "166bbv5k50v7pjp3wbl2rmxcmv1adwr14hxg5rw2ws8kams8151k"))))
dfc407f3
KY
2310 (build-system glib-or-gtk-build-system)
2311 (native-inputs
2312 `(("pkg-config" ,pkg-config)
2313 ("desktop-file-utils" ,desktop-file-utils)
2314 ("intltool" ,intltool)
2315 ("itstool" ,itstool)
2316 ("xmllint" ,libxml2)))
2317 (inputs
2318 `(("gtk+" ,gtk+)
2319 ("json-glib" ,json-glib)
2320 ("libgee" ,libgee)
2321 ("librsvg" ,librsvg)
2322 ("qqwing" ,qqwing)))
2323 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2324 (synopsis "Japanese logic game")
2325 (description
2326 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2327GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2328possible while still providing features that make playing difficult Sudoku
2329more fun.")
2330 (license license:gpl2+)))
2331
88f70665
AW
2332(define-public gnome-terminal
2333 (package
2334 (name "gnome-terminal")
59339bb4 2335 (version "3.22.1")
88f70665
AW
2336 (source
2337 (origin
2338 (method url-fetch)
2339 (uri (string-append "mirror://gnome/sources/" name "/"
2340 (version-major+minor version) "/"
2341 name "-" version ".tar.xz"))
2342 (sha256
2343 (base32
59339bb4 2344 "1m5h3ck7wcvq1kfap05jwhnbpp3kmikc2qy822gnsbdjdqrm41xh"))))
88f70665
AW
2345 (build-system glib-or-gtk-build-system)
2346 (arguments
2347 '(#:configure-flags
2348 (list "--disable-migration" "--disable-search-provider"
2349 "--without-nautilus-extension")
2350 #:phases
2351 (modify-phases %standard-phases
3a4de6b2 2352 (add-before 'configure 'patch-/bin/true
88f70665
AW
2353 (lambda _
2354 (substitute* "configure"
2355 (("/bin/true") (which "true"))))))))
2356 (native-inputs
2357 `(("pkg-config" ,pkg-config)
2358 ("desktop-file-utils" ,desktop-file-utils)
2359 ("intltool" ,intltool)
bcb354ad
SB
2360 ("itstool" ,itstool)
2361 ("xmllint" ,libxml2)))
68702167
MW
2362 (propagated-inputs
2363 `(("dconf" ,dconf)))
88f70665
AW
2364 (inputs
2365 `(("gtk+" ,gtk+)
2366 ("vte" ,vte)
2367 ("gnutls" ,gnutls)
88f70665
AW
2368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2369 ("util-linux" ,util-linux)
2370 ("vala" ,vala)))
2371 (home-page "https://wiki.gnome.org/Apps/Terminal")
2372 (synopsis "Terminal emulator")
2373 (description
2374 "GNOME Terminal is a terminal emulator application for accessing a
2375UNIX shell environment which can be used to run programs available on
2376your system.
2377
2378It supports several profiles, multiple tabs and implements several
2379keyboard shortcuts.")
2380 (license license:gpl3+)))
75016d07
AW
2381
2382(define-public colord
2383 (package
2384 (name "colord")
2385 (version "1.1.8")
2386 (source
2387 (origin
2388 (method url-fetch)
5cc3096c 2389 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
75016d07
AW
2390 name "-" version ".tar.xz"))
2391 (sha256
2392 (base32
2393 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2394 (build-system glib-or-gtk-build-system)
2395 (arguments
2396 '(;; The tests want to run valgrind. Punt for now.
2397 #:tests? #f
2398 #:configure-flags (list "--localstatedir=/var"
2399 ;; GUSB not packaged yet.
2400 "--disable-gusb"
2401 ;; No dep on systemd.
2402 "--disable-systemd-login"
2403 ;; Wants to install to global completion dir;
2404 ;; punt.
2405 "--disable-bash-completion"
2406 ;; colord-gtk not packaged yet.
2407 "--disable-session-example"
2408 "--with-daemon-user=colord"
2409 "--enable-sane"
2410 (string-append "--with-udevrulesdir="
2411 (assoc-ref %outputs "out")
2412 "/lib/udev/rules.d"))
2413 #:phases
2414 (modify-phases %standard-phases
3a4de6b2 2415 (add-before 'configure 'patch-/bin/true
75016d07
AW
2416 (lambda _
2417 (substitute* "configure"
2418 (("/bin/true") (which "true")))
2419 (substitute* "src/Makefile.in"
2420 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2421 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2422 (native-inputs
2423 `(("pkg-config" ,pkg-config)
2424 ("gobject-introspection" ,gobject-introspection)
2425 ("libtool" ,libtool)
2426 ("intltool" ,intltool)))
65cb2d61
SB
2427 (propagated-inputs
2428 ;; colord.pc refers to all these.
2429 `(("glib" ,glib)
2430 ("udev" ,eudev)
2431 ("lcms" ,lcms)))
75016d07 2432 (inputs
65cb2d61 2433 `(("dbus-glib" ,dbus-glib)
80c7dd1a 2434 ("libgudev" ,libgudev)
75016d07 2435 ("libusb" ,libusb)
75016d07
AW
2436 ("sqlite" ,sqlite)
2437 ("polkit" ,polkit)
4c928743 2438 ("sane-backends" ,sane-backends)))
75016d07
AW
2439 (home-page "http://www.freedesktop.org/software/colord/")
2440 (synopsis "Color management service")
2441 (description "Colord is a system service that makes it easy to manage,
2442install and generate color profiles to accurately color manage input and
2443output devices.")
2444 (license license:gpl2+)))
7b2abd00
AW
2445
2446(define-public geoclue
2447 (package
2448 (name "geoclue")
c2783e2b 2449 (version "2.4.4")
7b2abd00
AW
2450 (source
2451 (origin
2452 (method url-fetch)
5cc3096c 2453 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
2454 "/releases/" (version-major+minor version) "/"
2455 name "-" version ".tar.xz"))
2456 (sha256
2457 (base32
c2783e2b 2458 "0p1ibjf5vzjsahw5xif2si3lj6a00sxhll008jk7w1hj1jfznhww"))
fc1adab1 2459 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
2460 (build-system glib-or-gtk-build-system)
2461 (arguments
2462 '(;; The tests want to run the system bus.
2463 #:tests? #f
2464 #:configure-flags (list ;; Disable bits requiring ModemManager.
2465 "--disable-3g-source"
2466 "--disable-cdma-source"
2467 "--disable-modem-gps-source"
2468 "--with-dbus-service-user=geoclue")
2469 #:phases
2470 (modify-phases %standard-phases
3a4de6b2 2471 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2472 (lambda _
2473 (substitute* "configure"
2474 (("/bin/true") (which "true"))))))))
2475 (native-inputs
2476 `(("pkg-config" ,pkg-config)
2477 ("intltool" ,intltool)))
2478 (inputs
54e911bc
SB
2479 `(("avahi" ,avahi)
2480 ("glib" ,glib)
7b2abd00
AW
2481 ("json-glib" ,json-glib)
2482 ("libsoup" ,libsoup)))
2483 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2484 (synopsis "Geolocation service")
2485 (description "Geoclue is a D-Bus service that provides location
2486information. The primary goal of the Geoclue project is to make creating
2487location-aware applications as simple as possible, while the secondary goal is
2488to ensure that no application can access location information without explicit
e881752c 2489permission from user.")
7b2abd00 2490 (license license:gpl2+)))
2bfe7437
AW
2491
2492(define-public geocode-glib
2493 (package
2494 (name "geocode-glib")
3ffd46bd 2495 (version "3.20.1")
2bfe7437
AW
2496 (source (origin
2497 (method url-fetch)
2498 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2499 (version-major+minor version) "/"
2500 name "-" version ".tar.xz"))
2501 (sha256
2502 (base32
3ffd46bd 2503 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2bfe7437
AW
2504 (build-system gnu-build-system)
2505 (arguments
2506 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2507 ;; work for the builder. Punt.
a124bbd2 2508 #:tests? #f))
2bfe7437
AW
2509 (native-inputs
2510 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2511 ("gobject-introspection" ,gobject-introspection)
2512 ("pkg-config" ,pkg-config)
2513 ("json-glib" ,json-glib)))
2514 (propagated-inputs
2515 ;; geocode-glib-1.0.pc refers to GIO.
2516 `(("glib" ,glib)))
2517 (inputs
2518 `(("libsoup" ,libsoup)))
2519 (home-page "https://github.com/GNOME/geocode-glib/")
2520 (synopsis "Geocoding and reverse-geocoding library")
2521 (description
2522 "geocode-glib is a convenience library for geocoding (finding longitude,
2523and latitude from an address) and reverse geocoding (finding an address from
2524coordinates) using the Nominatim service. geocode-glib caches requests for
2525faster results and to avoid unnecessary server load.")
2526 (license license:lgpl2.0+)))
a1d5bb0e
AW
2527
2528(define-public upower
2529 (package
2530 (name "upower")
5e503e73 2531 (version "0.99.4")
a1d5bb0e
AW
2532 (source (origin
2533 (method url-fetch)
5cc3096c 2534 (uri (string-append "https://upower.freedesktop.org/releases/"
a1d5bb0e
AW
2535 name "-" version ".tar.xz"))
2536 (sha256
2537 (base32
5e503e73 2538 "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
fc1adab1 2539 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
2540 (build-system glib-or-gtk-build-system)
2541 (arguments
2542 '( ;; The tests want to contact the system bus, which can't be done in the
2543 ;; build environment. The integration test can run, but the last of
2544 ;; the up-self-tests doesn't. Disable tests for now.
2545 #:tests? #f
2546 #:configure-flags (list "--localstatedir=/var"
2547 (string-append "--with-udevrulesdir="
2548 (assoc-ref %outputs "out")
2549 "/lib/udev/rules.d"))
2550 #:phases
2551 (modify-phases %standard-phases
2552 (add-before 'configure 'patch-/bin/true
2553 (lambda _
2554 (substitute* "configure"
2555 (("/bin/true") (which "true")))))
2556 (add-before 'configure 'patch-integration-test
2557 (lambda _
2558 (substitute* "src/linux/integration-test"
2559 (("/usr/bin/python3") (which "python3"))))))))
2560 (native-inputs
ebeabe2d
SB
2561 `(("gobject-introspection" ,gobject-introspection)
2562 ("pkg-config" ,pkg-config)
a1d5bb0e 2563 ("intltool" ,intltool)
55409295
LC
2564 ("python" ,python)
2565
2566 ;; For man pages.
2567 ("libxslt" ,libxslt) ;for 'xsltproc'
2568 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2569 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 2570 (inputs
ea226291
SB
2571 `(("dbus-glib" ,dbus-glib)
2572 ("libgudev" ,libgudev)
a1d5bb0e
AW
2573 ("libusb" ,libusb)))
2574 (home-page "http://upower.freedesktop.org/")
2575 (synopsis "System daemon for managing power devices")
2576 (description
2577 "UPower is an abstraction for enumerating power devices,
2578listening to device events and querying history and statistics. Any
2579application or service on the system can access the org.freedesktop.UPower
2580service via the system message bus.")
2581 (license license:gpl2+)))
6a180f6f
AW
2582
2583(define-public libgweather
2584 (package
2585 (name "libgweather")
bd03f9db 2586 (version "3.20.4")
6a180f6f
AW
2587 (source (origin
2588 (method url-fetch)
2589 (uri (string-append "mirror://gnome/sources/" name "/"
2590 (version-major+minor version) "/"
2591 name "-" version ".tar.xz"))
2592 (sha256
2593 (base32
bd03f9db 2594 "1higj4nmn3srqjbzl4iva7c0b4fkdq74xi4b35xd0qc4qiawbkbx"))))
6a180f6f
AW
2595 (build-system gnu-build-system)
2596 (arguments
b6072e6b
SB
2597 `(#:configure-flags
2598 `(,(string-append "--with-zoneinfo-dir="
2599 (assoc-ref %build-inputs "tzdata")
2600 "/share/zoneinfo"))
2601 #:phases
2602 (modify-phases %standard-phases
8b8dfa7f
LC
2603 (add-before 'check 'pre-check
2604 (lambda* (#:key inputs #:allow-other-keys)
2605 (substitute* "data/check-timezones.sh"
2606 (("/usr/share/zoneinfo/zone.tab")
2607 (string-append (assoc-ref inputs "tzdata")
2608 "/share/zoneinfo/zone.tab")))
2609
2610 ;; 'Asia/Rangoon' was renamed in tzdata-2016:
2611 ;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
2612 (substitute* "data/Locations.xml"
2613 (("Asia/Rangoon")
2614 "Asia/Yangon"))
b6072e6b 2615 #t)))))
6a180f6f
AW
2616 (native-inputs
2617 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 2618 ("gobject-introspection" ,gobject-introspection)
6a180f6f
AW
2619 ("pkg-config" ,pkg-config)
2620 ("intltool" ,intltool)))
2621 (propagated-inputs
2622 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2623 ;; libsoup.
2624 `(("gtk+" ,gtk+)
2625 ("gdk-pixbuf" ,gdk-pixbuf)
2626 ("libxml2" ,libxml2)
2627 ("libsoup" ,libsoup)))
2628 (inputs
2629 `(("tzdata" ,tzdata)
2630 ("geocode-glib" ,geocode-glib)))
2631 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2632 (synopsis "Location, time zone, and weather library for GNOME")
2633 (description
2634 "libgweather is a library to access weather information from online
2635services for numerous locations.")
2636 (license license:gpl2+)))
23a22af6
AW
2637
2638(define-public gnome-settings-daemon
2639 (package
2640 (name "gnome-settings-daemon")
35907ce1 2641 (version "3.20.1")
23a22af6
AW
2642 (source
2643 (origin
2644 (method url-fetch)
2645 (uri (string-append "mirror://gnome/sources/" name "/"
2646 (version-major+minor version) "/"
2647 name "-" version ".tar.xz"))
2648 (sha256
2649 (base32
35907ce1 2650 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
23a22af6
AW
2651 (build-system glib-or-gtk-build-system)
2652 (arguments
eee7878f 2653 `(;; Color management test can't reach the colord system service.
23a22af6
AW
2654 #:tests? #f))
2655 (native-inputs
2656 `(("pkg-config" ,pkg-config)
2657 ("intltool" ,intltool)
2658 ("xsltproc" ,libxslt)
2659 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2660 ("docbook-xml" ,docbook-xml-4.2)
2661 ("docbook-xsl" ,docbook-xsl)))
2662 (inputs
2663 `(("colord" ,colord)
ea226291 2664 ("libgudev" ,libgudev)
23a22af6
AW
2665 ("upower" ,upower)
2666 ("polkit" ,polkit)
2667 ("pulseaudio" ,pulseaudio)
2668 ("libcanberra" ,libcanberra)
2669 ("libx11" ,libx11)
2670 ("libxtst" ,libxtst)
2671 ("lcms" ,lcms)
2672 ("libnotify" ,libnotify)
2673 ("geoclue" ,geoclue)
2674 ("geocode-glib" ,geocode-glib)
2675 ("libgweather" ,libgweather)
2676 ("gnome-desktop" ,gnome-desktop)
2677 ("nss" ,nss)
2678 ("cups" ,cups)
ec2b1921
AW
2679 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2680 ("libwacom" ,libwacom)
2681 ("librsvg" ,librsvg)
eee7878f
CM
2682 ("xf86-input-wacom" ,xf86-input-wacom)
2683 ("network-manager" ,network-manager)))
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")
e980cbe9 2696 (version "3.10.7")
1e7464a9
DH
2697 (source (origin
2698 (method url-fetch)
e980cbe9
MW
2699 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
2700 (version-major+minor version) "/"
1e7464a9
DH
2701 "totem-pl-parser-" version ".tar.xz"))
2702 (sha256
2703 (base32
e980cbe9 2704 "17089sqyh6w6zr8ci865ihmvqshnslcsk9fbsl4s7yii66y8b0lw"))))
1e7464a9
DH
2705 (build-system gnu-build-system)
2706 (arguments
2707 ;; FIXME: Tests require gvfs.
2708 `(#:tests? #f))
2709 (native-inputs
2710 `(("intltool" ,intltool)
2711 ("glib" ,glib "bin")
4d6d8281 2712 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2713 ("pkg-config" ,pkg-config)))
22a6ad6a 2714 (propagated-inputs
1e7464a9
DH
2715 `(("glib" ,glib)
2716 ("gmime" ,gmime)
22a6ad6a
MW
2717 ("libxml2" ,libxml2)))
2718 (inputs
2719 `(("libarchive" ,libarchive)
1e7464a9
DH
2720 ("libgcrypt" ,libgcrypt)
2721 ("nettle" ,nettle)
22a6ad6a 2722 ("libsoup" ,libsoup)))
1e7464a9
DH
2723 (home-page "https://projects.gnome.org/totem")
2724 (synopsis "Library to parse and save media playlists for GNOME")
2725 (description "Totem-pl-parser is a GObjects-based library to parse and save
2726playlists in a variety of formats.")
2727 (license license:lgpl2.0+)))
2728
6b888eff
SB
2729(define-public aisleriot
2730 (package
2731 (name "aisleriot")
955297a1 2732 (version "3.20.2")
6b888eff
SB
2733 (source (origin
2734 (method url-fetch)
2735 (uri (string-append "mirror://gnome/sources/" name "/"
2736 (version-major+minor version) "/"
2737 name "-" version ".tar.xz"))
2738 (sha256
2739 (base32
955297a1 2740 "0vhpi7bzm4gbraky1d3ma26rbwnylcqdakav82j67bpqd7f6n0v2"))))
6b888eff
SB
2741 (build-system glib-or-gtk-build-system)
2742 (arguments
2743 '(#:configure-flags
2744 '("--with-platform=gtk-only"
2745 "--with-card-theme-formats=svg")))
2746 (native-inputs
2747 `(("desktop-file-utils" ,desktop-file-utils)
2748 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2749 ("intltool" ,intltool)
2750 ("itstool" ,itstool)
2751 ("pkg-config" ,pkg-config)
2752 ("xmllint" ,libxml2)))
2753 (inputs
2754 `(("gtk+" ,gtk+)
2755 ("guile" ,guile-2.0)
2756 ("libcanberra" ,libcanberra)
2757 ("librsvg" ,librsvg)))
2758 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2759 (synopsis "Solitaire card games")
2760 (description
2761 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2762which are easy to play with the aid of a mouse.")
2763 (license license:gpl3+)))
4a79e256
SB
2764
2765(define-public devhelp
2766 (package
2767 (name "devhelp")
76aea80d 2768 (version "3.22.0")
4a79e256
SB
2769 (source (origin
2770 (method url-fetch)
2771 (uri (string-append "mirror://gnome/sources/" name "/"
2772 (version-major+minor version) "/"
2773 name "-" version ".tar.xz"))
2774 (sha256
2775 (base32
76aea80d 2776 "1c7zqn8apm1lnpsp74bd880rga2vi5wxfjghqdgwqf6j28pf1jjr"))))
4a79e256
SB
2777 (build-system glib-or-gtk-build-system)
2778 (native-inputs
2779 `(("intltool" ,intltool)
2780 ("pkg-config" ,pkg-config)))
2781 (inputs
2782 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2783 ("webkitgtk" ,webkitgtk)))
2784 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2785 (synopsis "API documentation browser for GNOME")
2786 (description
2787 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2788natively with GTK-Doc (the API reference system developed for GTK+ and used
2789throughout GNOME for API documentation).")
2790 (license license:gpl2+)))
ba421ab7
MW
2791
2792(define-public cogl
2793 (package
2794 (name "cogl")
6a55accc 2795 (version "1.22.2")
ba421ab7
MW
2796 (source
2797 (origin
2798 (method url-fetch)
2799 (uri (string-append "mirror://gnome/sources/" name "/"
2800 (version-major+minor version) "/"
2801 name "-" version ".tar.xz"))
2802 (sha256
2803 (base32
6a55accc 2804 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
ba421ab7
MW
2805 (build-system gnu-build-system)
2806 (native-inputs
2807 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2808 ("gobject-introspection" ,gobject-introspection)
2809 ;;("xorg-server" ,xorg-server) ; for the test suite
2810 ("pkg-config" ,pkg-config)))
2811 (propagated-inputs
2812 `(("glib" ,glib)
2813 ("gdk-pixbuf" ,gdk-pixbuf)
2814 ("libx11" ,libx11)
2815 ("libxext" ,libxext)
2816 ("libxfixes" ,libxfixes)
2817 ("libxdamage" ,libxdamage)
2818 ("libxcomposite" ,libxcomposite)
2819 ("libxrandr" ,libxrandr)))
2820 (inputs
2821 `(("mesa" ,mesa)
2822 ("cairo" ,cairo)
2823 ("pango" ,pango)
2824 ("gstreamer" ,gstreamer)
2825 ("gst-plugins-base" ,gst-plugins-base)))
2826 (arguments
2827 `(#:configure-flags (list "--enable-cogl-gst"
2828 ;; Arrange to pass an absolute file name to
2829 ;; dlopen for libGL.so.
2830 (string-append "--with-gl-libname="
2831 (assoc-ref %build-inputs "mesa")
2832 "/lib/libGL.so"))
2833 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2834 ;; _FontTransOpen: Unable to Parse address
2835 ;; ${prefix}/share/fonts/X11/misc/
2836 #:tests? #f
2837 #; #:phases
2838 #;
2839 (modify-phases %standard-phases
2840 (add-before 'check 'start-xorg-server
2841 (lambda* (#:key inputs #:allow-other-keys)
2842 ;; The test suite requires a running X server.
2843 (system (format #f "~a/bin/Xvfb :1 &"
2844 (assoc-ref inputs "xorg-server")))
2845 (setenv "DISPLAY" ":1")
2846 #t)))))
2847 (home-page "http://www.cogl3d.org")
2848 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2849 (description
2850 "Cogl is a small library for using 3D graphics hardware to draw pretty
2851pictures. The API departs from the flat state machine style of OpenGL and is
2852designed to make it easy to write orthogonal components that can render
2853without stepping on each others toes.")
2854 (license (list license:expat ; most of the code
2855 license:bsd-3 ; cogl/cogl-point-in-poly.c
2856 license:sgifreeb2.0 ; cogl-path/tesselator/
2857 license:asl2.0)))) ; examples/android/
fb182b8a
MW
2858
2859(define-public clutter
2860 (package
2861 (name "clutter")
6983ba56 2862 (version "1.26.0")
fb182b8a
MW
2863 (source
2864 (origin
2865 (method url-fetch)
2866 (uri (string-append "mirror://gnome/sources/" name "/"
2867 (version-major+minor version) "/"
2868 name "-" version ".tar.xz"))
2869 (sha256
2870 (base32
6983ba56 2871 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
fb182b8a 2872 (build-system gnu-build-system)
600233bd
LC
2873 (outputs '("out"
2874 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
2875 (native-inputs
2876 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2877 ("gobject-introspection" ,gobject-introspection)
2878 ("pkg-config" ,pkg-config)
2879 ("xsltproc" ,libxslt)))
2880 (propagated-inputs
2881 `(("cogl" ,cogl)
2882 ("cairo" ,cairo)
2883 ("atk" ,atk)
2884 ("gtk+" ,gtk+)
2885 ("json-glib" ,json-glib)
2886 ("glib" ,glib)
2887 ("libxcomposite" ,libxcomposite)
2888 ("libxdamage" ,libxdamage)
2889 ("libxext" ,libxext)
2890 ("xinput" ,xinput)))
2891 (inputs
2892 `(("libxkbcommon" ,libxkbcommon)
2893 ("udev" ,eudev)))
2894 (arguments
600233bd
LC
2895 `(#:configure-flags (list "--enable-x11-backend=yes"
2896
2897 ;; This produces share/doc/{clutter,cally}.
2898 (string-append "--with-html-dir="
2899 (assoc-ref %outputs "doc")
2900 "/share/doc"))
fb182b8a
MW
2901 ;; XXX FIXME: Get test suite working. It would probably fail in the
2902 ;; same way the cogl tests fail, since clutter is based on cogl.
2903 #:tests? #f))
2904 (home-page "http://www.clutter-project.org")
2905 (synopsis "Open GL based interactive canvas library")
2906 (description
2907 "Clutter is an Open GL based interactive canvas library, designed for
2908creating fast, mainly 2D single window applications such as media box UIs,
2909presentations, kiosk style applications and so on.")
2910 (license license:lgpl2.0+)))
bf7f17ba
MW
2911
2912(define-public clutter-gtk
2913 (package
2914 (name "clutter-gtk")
a6e44835 2915 (version "1.8.2")
bf7f17ba
MW
2916 (source
2917 (origin
2918 (method url-fetch)
2919 (uri (string-append "mirror://gnome/sources/" name "/"
2920 (version-major+minor version) "/"
2921 name "-" version ".tar.xz"))
2922 (sha256
2923 (base32
a6e44835 2924 "153bl9256yjnfcplp7jmgf7lm2zb790zkayjclzsv42l6a3d89ys"))))
bf7f17ba
MW
2925 (build-system gnu-build-system)
2926 (native-inputs
2927 `(("pkg-config" ,pkg-config)
2928 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
2929 (propagated-inputs
2930 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
2931 `(("clutter" ,clutter)
2932 ("gtk+" ,gtk+)))
2933 (home-page "http://www.clutter-project.org")
2934 (synopsis "Open GL based interactive canvas library GTK+ widget")
2935 (description
2936 "Clutter is an Open GL based interactive canvas library, designed for
2937creating fast, mainly 2D single window applications such as media box UIs,
2938presentations, kiosk style applications and so on.")
2939 (license license:lgpl2.0+)))
86d6a893
MW
2940
2941(define-public clutter-gst
2942 (package
2943 (name "clutter-gst")
70241d9d 2944 (version "3.0.22")
86d6a893
MW
2945 (source
2946 (origin
2947 (method url-fetch)
2948 (uri (string-append "mirror://gnome/sources/" name "/"
2949 (version-major+minor version) "/"
2950 name "-" version ".tar.xz"))
2951 (sha256
2952 (base32
70241d9d 2953 "1m6zwc7xr7lmbwiqav961g7jhc7gp5gb73dm6j93szpa6bxmgz7i"))))
86d6a893
MW
2954 (build-system gnu-build-system)
2955 (native-inputs
2956 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2957 ("pkg-config" ,pkg-config)
2958 ("gobject-introspection" ,gobject-introspection)))
2959 (inputs
2960 `(("clutter" ,clutter)
2961 ("gstreamer" ,gstreamer)
2962 ("gst-plugins-base" ,gst-plugins-base)))
2963 (home-page "http://www.clutter-project.org")
2964 (synopsis "Integration library for using GStreamer with Clutter")
2965 (description
2966 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2967It provides a GStreamer sink to upload frames to GL and an actor that
2968implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2969GL based interactive canvas library.")
2970 (license license:lgpl2.0+)))
607a04ae 2971
30dc88d9
LC
2972(define-public libchamplain
2973 (package
2974 (name "libchamplain")
80f2d23a 2975 (version "0.12.14")
30dc88d9
LC
2976 (source (origin
2977 (method url-fetch)
2978 (uri (string-append
2979 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2980 version ".tar.xz"))
2981 (sha256
2982 (base32
80f2d23a 2983 "13snnka1jqc5qrgij8bm22xy02pncf3dn5ij3jh4rrpzq7g1sqpi"))))
30dc88d9 2984 (build-system gnu-build-system)
f7c6833f
LF
2985 (arguments '(#:configure-flags '("--enable-vala")))
2986 (native-inputs
2987 `(("gobject-introspection" ,gobject-introspection)
2988 ("pkg-config" ,pkg-config)
2989 ("vala" ,vala)))
30dc88d9
LC
2990 (propagated-inputs
2991 `(("libsoup" ,libsoup)
2992 ("sqlite" ,sqlite)
2993 ("clutter" ,clutter)
2994 ("clutter-gtk" ,clutter-gtk)
2995 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2996 ("cairo" ,cairo)
2997 ("gtk+3" ,gtk+)
2998 ("glib" ,glib)))
2999 (home-page "http://projects.gnome.org/libchamplain/")
3000 (synopsis "C library providing a ClutterActor to display maps")
3001 (description
3002 "libchamplain is a C library providing a ClutterActor to display maps.
3003It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3004and Perl bindings are also available. It supports numerous free map sources
3005such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3006 (license license:lgpl2.1+)))
3007
607a04ae
MW
3008(define-public gom
3009 (package
3010 (name "gom")
0510440b 3011 (version "0.3.2")
607a04ae
MW
3012 (source
3013 (origin
3014 (method url-fetch)
3015 (uri (string-append "mirror://gnome/sources/" name "/"
3016 (version-major+minor version) "/"
3017 name "-" version ".tar.xz"))
3018 (sha256
3019 (base32
0510440b 3020 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
3021 (build-system gnu-build-system)
3022 (native-inputs
3023 `(("intltool" ,intltool)
3024 ("pkg-config" ,pkg-config)
3025 ("gobject-introspection" ,gobject-introspection)))
3026 (inputs
3027 `(("glib" ,glib)
3028 ("gdk-pixbuf" ,gdk-pixbuf)
3029 ("sqlite" ,sqlite)))
3030 ;; XXX TODO: Figure out how to run the test suite.
3031 (arguments `(#:tests? #f))
3032 (home-page "https://wiki.gnome.org/Projects/Gom")
3033 (synopsis "Object mapper from GObjects to SQLite")
3034 (description
3035 "Gom provides an object mapper from GObjects to SQLite. It helps you
3036write applications that need to store structured data as well as make complex
3037queries upon that data.")
3038 (license license:lgpl2.1+)))
b7a3cf11 3039
f09520db
SB
3040(define-public libgames-support
3041 (package
3042 (name "libgames-support")
3043 (version "1.0.2")
3044 (source (origin
3045 (method url-fetch)
3046 (uri (string-append "mirror://gnome/sources/" name "/"
3047 (version-major+minor version) "/"
3048 name "-" version ".tar.xz"))
3049 (sha256
3050 (base32
3051 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3052 (build-system gnu-build-system)
3053 (arguments
3054 '(#:phases
3055 (modify-phases %standard-phases
3056 (add-before 'check 'pre-check
3057 (lambda _
3058 ;; tests require a writable HOME.
3059 (setenv "HOME" (getcwd))
3060 #t)))))
3061 (native-inputs
3062 `(("intltool" ,intltool)
3063 ("pkg-config" ,pkg-config)
3064 ("vala" ,vala)))
3065 (propagated-inputs
3066 ;; Required by libgames-support-1.0.pc
3067 `(("gtk+" ,gtk+)
3068 ("libgee" ,libgee)))
3069 (home-page "https://www.gnome.org/")
3070 (synopsis "Useful functionality shared among GNOME games")
3071 (description
3072 "libgames-support is a small library intended for internal use by
3073GNOME Games, but it may be used by others.")
3074 (license license:lgpl3+)))
3075
43ec2604
MW
3076(define-public libgnome-games-support
3077 (package
3078 (inherit libgames-support)
3079 (name "libgnome-games-support")
3080 (version "1.2.1")
3081 (source (origin
3082 (method url-fetch)
3083 (uri (string-append "mirror://gnome/sources/" name "/"
3084 (version-major+minor version) "/"
3085 name "-" version ".tar.xz"))
3086 (sha256
3087 (base32
3088 "1rsyf5hbjim7zpk1yar3gv65g1nmw6zbbc0smrmxsfk0f9n3j9m6"))))))
3089
b7a3cf11
SB
3090(define-public gnome-klotski
3091 (package
3092 (name "gnome-klotski")
f4eae76f 3093 (version "3.22.1")
b7a3cf11
SB
3094 (source (origin
3095 (method url-fetch)
3096 (uri (string-append "mirror://gnome/sources/" name "/"
3097 (version-major+minor version) "/"
3098 name "-" version ".tar.xz"))
3099 (sha256
3100 (base32
f4eae76f 3101 "04ragvrz29sydi2kf1zk2aimi3b3hn34jrndfd2lx6h8l45anq3q"))))
b7a3cf11
SB
3102 (build-system glib-or-gtk-build-system)
3103 (native-inputs
3104 `(("desktop-file-utils" ,desktop-file-utils)
3105 ("intltool" ,intltool)
3106 ("itstool" ,itstool)
bcb354ad
SB
3107 ("pkg-config" ,pkg-config)
3108 ("xmllint" ,libxml2)))
b7a3cf11
SB
3109 (inputs
3110 `(("gtk+" ,gtk+)
f4eae76f 3111 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
3112 ("librsvg" ,librsvg)))
3113 (home-page "https://wiki.gnome.org/Apps/Klotski")
3114 (synopsis "Sliding block puzzles")
3115 (description
3116 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3117the patterned block to the area bordered by green markers. To do so, you will
3118need to slide other blocks out of the way. Complete each puzzle in as few moves
3119as possible!")
3120 (license license:gpl2+)))
8d4791bf
MW
3121
3122(define-public grilo
3123 (package
3124 (name "grilo")
e7305878 3125 (version "0.3.2")
8d4791bf
MW
3126 (source
3127 (origin
3128 (method url-fetch)
3129 (uri (string-append "mirror://gnome/sources/" name "/"
3130 (version-major+minor version) "/"
3131 name "-" version ".tar.xz"))
3132 (sha256
3133 (base32
e7305878 3134 "0nvzr2gfk2mpzf99442zawv0n5yjcyy50rqkrvdsibknbm56hvzj"))))
8d4791bf
MW
3135 (build-system gnu-build-system)
3136 (native-inputs
3137 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3138 ("intltool" ,intltool)
3139 ("pkg-config" ,pkg-config)
3140 ("gobject-introspection" ,gobject-introspection)))
3141 (inputs
3142 `(("glib" ,glib)
3143 ("gtk+" ,gtk+)
3144 ("libxml2" ,libxml2)
3145 ;; XXX TODO: Add oauth
3146 ("libsoup" ,libsoup)
e7305878 3147 ("nettle" ,nettle)
8d4791bf
MW
3148 ("totem-pl-parser" ,totem-pl-parser)))
3149 (arguments
3150 `(#:phases
3151 (modify-phases %standard-phases
3152 (add-after 'unpack 'fix-introspection-install-dir
3153 (lambda* (#:key outputs #:allow-other-keys)
3154 (let ((out (assoc-ref outputs "out")))
3155 (substitute* '("src/Makefile.in"
3156 "libs/pls/Makefile.in"
3157 "libs/net/Makefile.in")
3158 (("@INTROSPECTION_GIRDIR@")
3159 (string-append out "/share/gir-1.0/"))
3160 (("@INTROSPECTION_TYPELIBDIR@")
3161 (string-append out "/lib/girepository-1.0/")))))))))
3162 (native-search-paths
3163 (list (search-path-specification
3164 (variable "GRL_PLUGIN_PATH")
3165 (files (list (string-append "lib/grilo-"
3166 (version-major+minor version)))))))
3167 (home-page "http://live.gnome.org/Grilo")
3168 (synopsis "Framework for discovering and browsing media")
3169 (description
3170 "Grilo is a framework focused on making media discovery and browsing easy
3171for application developers.")
3172 (license license:lgpl2.1+)))
7b212526
MW
3173
3174(define-public grilo-plugins
3175 (package
3176 (name "grilo-plugins")
22753632 3177 (version "0.3.3")
7b212526
MW
3178 (source
3179 (origin
3180 (method url-fetch)
3181 (uri (string-append "mirror://gnome/sources/" name "/"
3182 (version-major+minor version) "/"
3183 name "-" version ".tar.xz"))
3184 (sha256
3185 (base32
22753632 3186 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
3187 (build-system gnu-build-system)
3188 (native-inputs
3189 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3190 ("intltool" ,intltool)
3191 ("itstool" ,itstool)
3192 ("pkg-config" ,pkg-config)))
3193 (inputs
3194 `(("grilo" ,grilo)
924ae80f 3195 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
7b212526
MW
3196 ("glib" ,glib)
3197 ("libxml2" ,libxml2)
3198 ("sqlite" ,sqlite)
3199 ("gom" ,gom)
3200 ;; XXX TODO: Add oauth
3201 ;; XXX TODO: Add goa
3202 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3203 ;; XXX TODO: Add lua (needs help finding it)
3204 ("json-glib" ,json-glib)
3205 ("avahi" ,avahi)
3206 ("gmime" ,gmime)
3207 ("libsoup" ,libsoup)
3208 ("libarchive" ,libarchive)
3209 ("totem-pl-parser" ,totem-pl-parser)))
3210 (arguments
3211 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3212 %output
3213 "/lib/grilo-"
3214 ,(version-major+minor version)))
3215 ;; XXX FIXME: Try to get the test suite working. It appears to require
3216 ;; a working system dbus. Inside the build container, all tests fail
3217 ;; with: "assertion failed: (source)". Outside of the build container,
3218 ;; most tests succeed.
3219 #:tests? #f))
3220 (home-page "http://live.gnome.org/Grilo")
3221 (synopsis "Plugins for the Grilo media discovery library")
3222 (description
3223 "Grilo is a framework focused on making media discovery and browsing easy
3224for application developers.")
3225 (license license:lgpl2.1+)))
4e3fc547
MW
3226
3227(define-public totem
3228 (package
3229 (name "totem")
7f760a84 3230 (version "3.22.0")
4e3fc547
MW
3231 (source
3232 (origin
3233 (method url-fetch)
3234 (uri (string-append "mirror://gnome/sources/" name "/"
3235 (version-major+minor version) "/"
3236 name "-" version ".tar.xz"))
3237 (sha256
3238 (base32
7f760a84 3239 "1sjgjqhpsh3kipnbc8y31xz64s61xjayxq98pi0vkgbl2rdmnsh2"))))
4e3fc547
MW
3240 (build-system glib-or-gtk-build-system)
3241 (native-inputs
3242 `(("pkg-config" ,pkg-config)
3243 ("desktop-file-utils" ,desktop-file-utils)
3244 ("gobject-introspection" ,gobject-introspection)
3245 ("intltool" ,intltool)
bcb354ad
SB
3246 ("itstool" ,itstool)
3247 ("xmllint" ,libxml2)))
4e3fc547
MW
3248 (propagated-inputs
3249 `(("dconf" ,dconf)))
3250 (inputs
3251 `(("gtk+" ,gtk+)
3252 ("gdk-pixbuf" ,gdk-pixbuf)
3253 ("atk" ,atk)
3254 ("cairo" ,cairo)
3255 ("dbus-glib" ,dbus-glib)
3256 ("clutter" ,clutter)
3257 ("clutter-gtk" ,clutter-gtk)
3258 ("clutter-gst" ,clutter-gst)
3259 ("xproto" ,xproto)
3260 ("libxxf86vm" ,libxxf86vm)
3261 ("libxtst" ,libxtst)
3262 ("libxrandr" ,libxrandr)
3263 ("libxml2" ,libxml2)
3264 ("libsoup" ,libsoup)
3265 ("libpeas" ,libpeas)
3266 ("librsvg" ,librsvg)
3267 ("lirc" ,lirc)
3268 ("gnome-desktop" ,gnome-desktop)
3269 ("gstreamer" ,gstreamer)
3270 ("gst-plugins-base" ,gst-plugins-base)
3271 ("gst-plugins-good" ,gst-plugins-good)
3272 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3273 ("adwaita-icon-theme" ,adwaita-icon-theme)
3274 ;; XXX We use python-2 because libxml2 because itstool (which needs
3275 ;; libxml) currently uses python-2.
3276 ("python" ,python-2)
3277 ("python-pygobject" ,python2-pygobject)
3278 ;; XXX TODO pylint needed for python support
3279 ("totem-pl-parser" ,totem-pl-parser)
3280 ("grilo" ,grilo)
3281 ("grilo-plugins" ,grilo-plugins)
3282 ("nettle" ,nettle)
3283 ("vala" ,vala)))
3284 (arguments
3285 `(#:phases
3286 (modify-phases %standard-phases
3287 (add-after
3288 'install 'wrap-totem
3289 (lambda* (#:key inputs outputs #:allow-other-keys)
3290 (let ((out (assoc-ref outputs "out"))
3291 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3292 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3293 (wrap-program (string-append out "/bin/totem")
3294 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3295 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3296 #t)))))
3297 (home-page "https://wiki.gnome.org/Apps/Videos")
3298 (synopsis "Simple media player for GNOME based on GStreamer")
3299 (description "Totem is a simple yet featureful media player for GNOME
3300which can read a large number of file formats.")
3301 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3302 ;; to be used and distributed together with GStreamer and Totem. See
3303 ;; file://COPYING in the source distribution for details.
3304 (license license:gpl2+)))
f0afb0c8
DH
3305
3306(define-public rhythmbox
3307 (package
3308 (name "rhythmbox")
4faa8abe 3309 (version "3.4.1")
f0afb0c8
DH
3310 (source (origin
3311 (method url-fetch)
3312 (uri (string-append "mirror://gnome/sources/" name "/"
3313 (version-major+minor version) "/"
3314 name "-" version ".tar.xz"))
3315 (sha256
3316 (base32
4faa8abe 3317 "1dj1hgdyhmwzs6h2zr89b1ipk0p6g7x74rfz56a5yjds3ik8d7q3"))))
f0afb0c8
DH
3318 (build-system glib-or-gtk-build-system)
3319 (arguments
3320 `(#:configure-flags
3321 (list "--enable-lirc"
3322 "--enable-python"
3323 "--enable-vala"
3324 "--with-brasero"
3325 "--with-gudev"
3326 "--with-libsecret")
3327 #:phases
3328 (modify-phases %standard-phases
3329 (add-after
3330 'install 'wrap-rhythmbox
3331 (lambda* (#:key inputs outputs #:allow-other-keys)
3332 (let ((out (assoc-ref outputs "out"))
3333 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3334 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
3335 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3336 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
3337 (wrap-program (string-append out "/bin/rhythmbox")
3338 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3339 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
3340 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3341 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
3342 #t)))))
3343 (propagated-inputs
3344 `(("dconf" ,dconf)))
3345 (native-inputs
bcb354ad
SB
3346 `(("itstool" ,itstool)
3347 ("intltool" ,intltool)
f0afb0c8
DH
3348 ("glib" ,glib "bin")
3349 ("gobject-introspection" ,gobject-introspection)
3350 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3351 ("pkg-config" ,pkg-config)
3352 ("xmllint" ,libxml2)))
f0afb0c8
DH
3353 (inputs
3354 `(("json-glib" ,json-glib)
3355 ("tdb" ,tdb)
3356 ("gnome-desktop" ,gnome-desktop)
3357 ("python" ,python)
3358 ("python-pygobject" ,python2-pygobject)
3359 ("vala" ,vala)
3360 ("gmime" ,gmime)
3361 ("nettle" ,nettle)
f0afb0c8
DH
3362 ("adwaita-icon-theme" ,adwaita-icon-theme)
3363 ("grilo" ,grilo)
3364 ("grilo-plugins" ,grilo-plugins)
3365 ("gstreamer" ,gstreamer)
3366 ("gst-plugins-base" ,gst-plugins-base)
3367 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3368 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3369 ("libgudev" ,libgudev)
f0afb0c8
DH
3370 ;;("libmtp" ,libmtp) FIXME: Not detected
3371 ("libsecret" ,libsecret)
3372 ("libsoup" ,libsoup)
3373 ("libnotify" ,libnotify)
3374 ("libpeas" ,libpeas)
3375 ("lirc" ,lirc)
3376 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3377 ;;("clutter" ,clutter)
3378 ;;("clutter-gtk" ,clutter-gtk)
3379 ;;("clutter-gst" ,clutter-gst)
3380 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3381 ("atk" ,atk)
3382 ("pango" ,pango)
3383 ("gtk+" ,gtk+)
3384 ;; TODO:
3385 ;; * libgpod
3386 ;; * mx
f0afb0c8
DH
3387 ("brasero" ,brasero)))
3388 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3389 (synopsis "Music player for GNOME")
3390 (description "Rhythmbox is a music playing application for GNOME. It
3391supports playlists, song ratings, and any codecs installed through gstreamer.")
3392 (license license:gpl2+)))
f70d8383
DH
3393
3394(define-public eog
3395 (package
3396 (name "eog")
f635aa8c 3397 (version "3.20.5")
f70d8383
DH
3398 (source (origin
3399 (method url-fetch)
3400 (uri (string-append "mirror://gnome/sources/" name "/"
3401 (version-major+minor version) "/"
3402 name "-" version ".tar.xz"))
3403 (sha256
3404 (base32
f635aa8c 3405 "0fqvfc4y1lbv0awh8dbx9khfha0hdkmnj1lzw5jq0l7jmahwbrz6"))))
f70d8383
DH
3406 (build-system glib-or-gtk-build-system)
3407 (arguments
3408 `(#:phases
3409 (modify-phases %standard-phases
3410 (add-after
3411 'install 'wrap-eog
3412 (lambda* (#:key outputs #:allow-other-keys)
3413 (let ((out (assoc-ref outputs "out"))
3414 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3415 (wrap-program (string-append out "/bin/eog")
3416 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3417 #t)))))
3418 (propagated-inputs
3419 `(("dconf" ,dconf)))
3420 (native-inputs
3421 `(("intltool" ,intltool)
b3546174 3422 ("itstool" ,itstool)
f70d8383
DH
3423 ("glib" ,glib "bin")
3424 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3425 ("pkg-config" ,pkg-config)
3426 ("xmllint" ,libxml2)))
f70d8383
DH
3427 (inputs
3428 `(("gnome-desktop" ,gnome-desktop)
3429 ("shared-mime-info" ,shared-mime-info)
3430 ("adwaita-icon-theme" ,adwaita-icon-theme)
3431 ("exempi" ,exempi)
3432 ("lcms" ,lcms)
3433 ("libexif" ,libexif)
3434 ("libpeas" ,libpeas)
3435 ("libjpeg" ,libjpeg)
3436 ("librsvg" ,librsvg)
3437 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3438 ("gtk+" ,gtk+)))
3439 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3440 (synopsis "GNOME image viewer")
3441 (description "Eye of GNOME is the GNOME image viewer. It
3442supports image conversion, rotation, and slideshows.")
3443 (license license:gpl2+)))
41af5e7b
SB
3444
3445(define-public libgudev
3446 (package
3447 (name "libgudev")
3448 (version "230")
3449 (source (origin
3450 (method url-fetch)
3451 (uri (string-append "mirror://gnome/sources/" name "/"
3452 version "/" name "-" version ".tar.xz"))
3453 (sha256
3454 (base32
3455 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3456 (build-system gnu-build-system)
3457 (native-inputs
3458 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3459 ("gobject-introspection" ,gobject-introspection)
3460 ("pkg-config" ,pkg-config)))
3461 (propagated-inputs
3462 `(("glib" ,glib))) ; required by gudev-1.0.pc
3463 (inputs
3464 `(("udev" ,eudev)))
3465 (home-page "https://wiki.gnome.org/Projects/libgudev")
3466 (synopsis "GObject bindings for libudev")
3467 (description
3468 "This library provides GObject bindings for libudev. It was originally
3469part of udev-extras, then udev, then systemd. It's now a project on its own.")
3470 (license license:lgpl2.1+)))
3dc8828f
SB
3471
3472(define-public gvfs
3473 (package
3474 (name "gvfs")
8852ca24 3475 (version "1.30.3")
3dc8828f
SB
3476 (source (origin
3477 (method url-fetch)
3478 (uri (string-append "mirror://gnome/sources/" name "/"
3479 (version-major+minor version) "/"
3480 name "-" version ".tar.xz"))
3481 (sha256
3482 (base32
8852ca24 3483 "0xgis1kgglnazy1vm66xiqyz8yvvmiad3h0g3agg7ryai6aa495q"))))
3dc8828f
SB
3484 (build-system gnu-build-system)
3485 (arguments
3486 '(#:tests? #f)) ; XXX: requiring `pidof'
3487 (native-inputs
3488 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3489 ("intltool" ,intltool)
3490 ("pkg-config" ,pkg-config)
3491 ("xsltproc" ,libxslt)))
3492 (inputs
3493 `(("avahi" ,avahi)
3494 ("docbook-xml" ,docbook-xml-4.2)
3495 ("docbook-xsl" ,docbook-xsl)
3496 ("dbus" ,dbus)
3497 ("fuse" ,fuse)
24a78aa6 3498 ("gcr" ,gcr)
3dc8828f
SB
3499 ("glib" ,glib)
3500 ("libarchive" ,libarchive)
3501 ("libbluray" ,libbluray)
8852ca24 3502 ("libcap" ,libcap)
3dc8828f
SB
3503 ("libcdio-paranoia" ,libcdio-paranoia)
3504 ("libgcrypt" ,libgcrypt)
3505 ("libgphoto2" ,libgphoto2)
3506 ("libgudev" ,libgudev)
3507 ("libmtp" ,libmtp)
3508 ("libsecret" ,libsecret)
3509 ("libsmbclient" ,samba)
3510 ("libsoup" ,libsoup)
3511 ("libxml2" ,libxml2)
3512 ("nettle" ,nettle) ; XXX: required by libarchive.pc
8852ca24 3513 ("polkit" ,polkit)
3dc8828f
SB
3514 ("udisks" ,udisks)))
3515 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 3516 (synopsis "Userspace virtual file system for GIO")
3dc8828f 3517 (description
8f65585b 3518 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
3519abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3520to all applications using the GIO API. It also supports exposing the GVFS
3521mounts to non-GIO applications using FUSE.
3522
3523GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3524DAV, and others.")
3525 (license license:lgpl2.0+)))
7c88b6bd
AW
3526
3527(define-public gusb
3528 (package
3529 (name "gusb")
6b7d7e9b 3530 (version "0.2.9")
7c88b6bd
AW
3531 (source (origin
3532 (method url-fetch)
3533 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3534 "gusb_"
3535 (string-join (string-split version #\.)
3536 "_")
3537 ".tar.gz"))
3538 (sha256
3539 (base32
6b7d7e9b 3540 "1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
7c88b6bd
AW
3541 (build-system gnu-build-system)
3542 (native-inputs
3543 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3544 ("gobject-introspection" ,gobject-introspection)
3545 ("pkg-config" ,pkg-config)
3546 ("vala" ,vala)
3547 ("autoconf" ,autoconf)
3548 ("automake" ,automake)
3549 ("libtool" ,libtool)
3550 ("gtk-doc" ,gtk-doc)))
3551 (propagated-inputs
3552 ;; Both of these are required by gusb.pc.
3553 `(("glib" ,glib)
3554 ("libusb" ,libusb)))
3555 (arguments
3556 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3557 #:phases
3558 (modify-phases %standard-phases
3559 (add-after 'unpack 'autogen
3560 (lambda _
3561 (and (zero? (system* "gtkdocize"))
3562 (zero? (system* "autoreconf" "-vif"))))))))
8f1640ed 3563 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 3564 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
3565 (description
3566 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3567asynchronous control, bulk and interrupt transfers with proper cancellation
3568and integration into a mainloop. This makes it easy to integrate low level
3569USB transfers with your high-level application or system daemon.")
3570 (license license:lgpl2.1+)))
0abe1d86
AW
3571
3572(define-public simple-scan
3573 (package
3574 (name "simple-scan")
f75bb2c3 3575 (version "3.22.0.1")
0abe1d86
AW
3576 (source (origin
3577 (method url-fetch)
3578 (uri (string-append "https://launchpad.net/simple-scan/"
3579 (version-major+minor version) "/"
3580 version "/+download/simple-scan-"
3581 version ".tar.xz"))
3582 (sha256
3583 (base32
f75bb2c3 3584 "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"))))
0abe1d86
AW
3585 (build-system glib-or-gtk-build-system)
3586 (inputs
3587 `(("gtk" ,gtk+)
3588 ("zlib" ,zlib)
3589 ("cairo" ,cairo)
3590 ("gdk-pixbuf" ,gdk-pixbuf)
3591 ("gusb" ,gusb)
4c928743 3592 ("libsane" ,sane-backends)))
0abe1d86 3593 (native-inputs
b94a6ca0 3594 `(("gettext" ,gettext-minimal)
0abe1d86
AW
3595 ("itstool" ,itstool)
3596 ("colord" ,colord)
3597 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3598 ("pkg-config" ,pkg-config)
bcb354ad
SB
3599 ("vala" ,vala)
3600 ("xmllint" ,libxml2)))
fb9ca511
TGR
3601 (arguments
3602 '(#:configure-flags '("--disable-packagekit")
3603 #:phases
3604 (modify-phases %standard-phases
3605 (add-after 'unpack 'clean
3606 (lambda _
3607 ;; Remove a left-over reference to PackageKit.
3608
3609 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3610
3611 ;; There are some generated C files erroneously
3612 ;; included in the source distribution, and this
3613 ;; one breaks the build by referring to a
3614 ;; non-existent header (packagekit.h)
3615 (delete-file "src/ui.c"))))))
0abe1d86
AW
3616 (home-page "https://launchpad.net/simple-scan")
3617 (synopsis "Document and image scanner")
3618 (description "Simple Scan is an easy-to-use application, designed to let
3619users connect their scanner and quickly have the image/document in an
3620appropriate format. Simple Scan is basically a frontend for SANE - which is
3621the same backend as XSANE uses. This means that all existing scanners will
3622work and the interface is well tested.")
3623 (license license:gpl3+)))
7549f984
SB
3624
3625(define-public epiphany
3626 (package
3627 (name "epiphany")
0803a6b6 3628 (version "3.22.4")
7549f984
SB
3629 (source (origin
3630 (method url-fetch)
3631 (uri (string-append "mirror://gnome/sources/" name "/"
3632 (version-major+minor version) "/"
3633 name "-" version ".tar.xz"))
3634 (sha256
3635 (base32
0803a6b6 3636 "0skdsma9rmq01703andigmpbdn2rl34y3lqny19a93v1ph3jb9qk"))))
7549f984
SB
3637 (build-system glib-or-gtk-build-system)
3638 (arguments
3639 ;; FIXME: tests run under Xvfb, but fail with:
3640 ;; /src/bookmarks/ephy-bookmarks/create:
3641 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3642 ;; subsystem
3643 ;; FAIL
3644 '(#:tests? #f))
80a747c4
SB
3645 (propagated-inputs
3646 `(("dconf" ,dconf)))
7549f984
SB
3647 (native-inputs
3648 `(("intltool" ,intltool)
3649 ("itstool" ,itstool)
bcb354ad
SB
3650 ("pkg-config" ,pkg-config)
3651 ("xmllint" ,libxml2)))
7549f984
SB
3652 (inputs
3653 `(("avahi" ,avahi)
3654 ("gcr" ,gcr)
3655 ("glib-networking" ,glib-networking)
3656 ("gnome-desktop" ,gnome-desktop)
3657 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3658 ("iso-codes" ,iso-codes)
3659 ("libnotify" ,libnotify)
3660 ("libsecret" ,libsecret)
7549f984 3661 ("libxslt" ,libxslt)
7549f984
SB
3662 ("sqlite" ,sqlite)
3663 ("webkitgtk" ,webkitgtk)))
3664 (home-page "https://wiki.gnome.org/Apps/Web")
3665 (synopsis "GNOME web browser")
3666 (description
3667 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3668principles are simplicity and standards compliance.")
3669 (license license:gpl2+)))
a3856b2c
SB
3670
3671(define-public d-feet
3672 (package
3673 (name "d-feet")
7d04b13c 3674 (version "0.3.11")
a3856b2c
SB
3675 (source (origin
3676 (method url-fetch)
3677 (uri (string-append "mirror://gnome/sources/" name "/"
3678 (version-major+minor version) "/"
3679 name "-" version ".tar.xz"))
3680 (sha256
3681 (base32
7d04b13c 3682 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
a3856b2c
SB
3683 (build-system glib-or-gtk-build-system)
3684 (arguments
3685 '(#:out-of-source? #f ; tests need to run in the source directory.
3686 #:phases
3687 (modify-phases %standard-phases
3688 (add-before
3689 'check 'pre-check
86aff791 3690 (lambda _
a3856b2c
SB
3691 ;; The test suite requires a running X server.
3692 (system "Xvfb :1 &")
3693 (setenv "DISPLAY" ":1")
3694 ;; Don't fail on missing '/etc/machine-id'.
3695 (setenv "DBUS_FATAL_WARNINGS" "0")
3696 ;; tests.py and window.py don't meet E402:
3697 ;; E402 module level import not at top of file
3698 (substitute* "src/tests/Makefile"
86aff791
MW
3699 (("--ignore=E123") "--ignore=E123,E402"))
3700 #t))
a3856b2c
SB
3701 (add-after
3702 'install 'wrap-program
3703 (lambda* (#:key outputs #:allow-other-keys)
3704 (let ((prog (string-append (assoc-ref outputs "out")
3705 "/bin/d-feet")))
3706 (wrap-program prog
3707 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3708 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3709 #t))))))
a3856b2c
SB
3710 (native-inputs
3711 `(("intltool" ,intltool)
3712 ("itstool" ,itstool)
3713 ("pkg-config" ,pkg-config)
3714 ("python-pep8" ,python-pep8)
3715 ("xmllint" ,libxml2)
3716 ("xorg-server" ,xorg-server)))
3717 (inputs
3718 `(("gobject-introspection" ,gobject-introspection)
3719 ("gtk+" ,gtk+)
3720 ("python" ,python-wrapper)
3721 ("python-pygobject" ,python-pygobject)))
3722 (home-page "https://wiki.gnome.org/Apps/DFeet")
3723 (synopsis "D-Bus debugger")
3724 (description
3725 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3726of running programs and invoke methods on those interfaces.")
3727 (license license:gpl2+)))
c3b97bd9
SB
3728
3729(define-public yelp-xsl
3730 (package
3731 (name "yelp-xsl")
27ad5743 3732 (version "3.20.1")
c3b97bd9
SB
3733 (source (origin
3734 (method url-fetch)
3735 (uri (string-append "mirror://gnome/sources/" name "/"
3736 (version-major+minor version) "/"
3737 name "-" version ".tar.xz"))
3738 (sha256
3739 (base32
27ad5743 3740 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
c3b97bd9
SB
3741 (build-system gnu-build-system)
3742 (native-inputs
3743 `(("intltool" ,intltool)
3744 ("itstool" ,itstool)
3745 ("xmllint" ,libxml2)))
3746 (home-page "https://wiki.gnome.org/Apps/Yelp")
3747 (synopsis "XSL stylesheets for Yelp")
3748 (description
3749 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3750to format Docbook and Mallard documents.")
3751 (license license:gpl2+)))
de3d612a
SB
3752
3753(define-public yelp
3754 (package
3755 (name "yelp")
491cc0dc 3756 (version "3.22.0")
de3d612a
SB
3757 (source (origin
3758 (method url-fetch)
3759 (uri (string-append "mirror://gnome/sources/" name "/"
3760 (version-major+minor version) "/"
3761 name "-" version ".tar.xz"))
3762 (sha256
3763 (base32
491cc0dc 3764 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
de3d612a
SB
3765 (build-system glib-or-gtk-build-system)
3766 (native-inputs
3767 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3768 ("intltool" ,intltool)
3769 ("itstool" ,itstool)
3770 ("pkg-config" ,pkg-config)))
3771 (propagated-inputs
3772 `(("dconf" ,dconf)))
3773 (inputs
ad1b7d8b
SB
3774 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3775 ("libxslt" ,libxslt)
de3d612a 3776 ("sqlite" ,sqlite)
4c28ca1d
SB
3777 ("webkitgtk" ,webkitgtk)
3778 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
3779 (home-page "https://wiki.gnome.org/Apps/Yelp")
3780 (synopsis "GNOME help browser")
3781 (description
3782 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3783man, info, and HTML documents. It can locate documents according to the
3784freedesktop.org help system specification.")
3785 (license license:gpl2+)))
122d0d10
SB
3786
3787(define-public yelp-tools
3788 (package
3789 (name "yelp-tools")
50695955 3790 (version "3.18.0")
122d0d10
SB
3791 (source (origin
3792 (method url-fetch)
3793 (uri (string-append "mirror://gnome/sources/" name "/"
3794 (version-major+minor version) "/"
3795 name "-" version ".tar.xz"))
3796 (sha256
3797 (base32
50695955 3798 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
3799 (build-system gnu-build-system)
3800 (native-inputs
3801 `(("pkg-config" ,pkg-config)))
3802 (propagated-inputs
3803 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3804 `(("itstool" ,itstool)
3805 ("xmllint" ,libxml2)
3806 ("xsltproc" ,libxslt)))
3807 (inputs
3808 `(("yelp-xsl" ,yelp-xsl)))
3809 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3810 (synopsis "Yelp documentation tools")
3811 (description
3812 "Yelp-tools is a collection of scripts and build utilities to help create,
3813manage, and publish documentation for Yelp and the web. Most of the heavy
3814lifting is done by packages like yelp-xsl and itstool. This package just
3815wraps things up in a developer-friendly way.")
3816 (license license:gpl2+)))
af8f9f23
RW
3817
3818(define-public libgee
3819 (package
3820 (name "libgee")
e3167771 3821 (version "0.18.1")
af8f9f23
RW
3822 (source (origin
3823 (method url-fetch)
3824 (uri (string-append "mirror://gnome/sources/" name "/"
3825 (version-major+minor version) "/"
3826 name "-" version ".tar.xz"))
3827 (sha256
3828 (base32
e3167771 3829 "18ir5264bhdg76kcjn8i5bfs1vz89qqn2py20aavm2cwbaz6ns4r"))))
af8f9f23
RW
3830 (build-system gnu-build-system)
3831 (arguments
3832 `(#:phases
3833 (modify-phases %standard-phases
3834 (add-after 'unpack 'fix-introspection-install-dir
3835 (lambda* (#:key outputs #:allow-other-keys)
3836 (let ((out (assoc-ref outputs "out")))
3837 (substitute* "gee/Makefile.in"
3838 (("@INTROSPECTION_GIRDIR@")
3839 (string-append out "/share/gir-1.0/"))
3840 (("@INTROSPECTION_TYPELIBDIR@")
3841 (string-append out "/lib/girepository-1.0/")))))))))
3842 (native-inputs
3843 `(("glib" ,glib "bin")
3844 ("pkg-config" ,pkg-config)))
3845 (inputs
3846 `(("glib" ,glib)
3847 ("gobject-introspection" ,gobject-introspection)))
3848 (home-page "https://wiki.gnome.org/Projects/Libgee")
3849 (synopsis "GObject collection library")
3850 (description
3851 "Libgee is a utility library providing GObject-based interfaces and
3852classes for commonly used data structures.")
3853 (license license:lgpl2.1+)))
b0f9c4b8
RW
3854
3855(define-public gexiv2
3856 (package
3857 (name "gexiv2")
2456d97b 3858 (version "0.10.4")
b0f9c4b8
RW
3859 (source (origin
3860 (method url-fetch)
3861 (uri (string-append "mirror://gnome/sources/" name "/"
3862 (version-major+minor version) "/"
3863 name "-" version ".tar.xz"))
3864 (sha256
3865 (base32
2456d97b 3866 "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd"))))
b0f9c4b8
RW
3867 (build-system gnu-build-system)
3868 (native-inputs
3869 `(("glib" ,glib "bin")
3870 ("pkg-config" ,pkg-config)))
3871 (propagated-inputs
3872 ;; Listed in "Requires" section of gexiv2.pc
3873 `(("exiv2" ,exiv2)))
3874 (inputs
3875 `(("glib" ,glib)
3876 ("gobject-introspection" ,gobject-introspection)))
3877 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3878 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3879 (description
3880 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3881allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3882metadata in photo and video files of various formats.")
3883 (license license:gpl2+)))
fed5a689
RW
3884
3885(define-public shotwell
3886 (package
3887 (name "shotwell")
8bf4a6ae 3888 (version "0.25.2")
fed5a689
RW
3889 (source (origin
3890 (method url-fetch)
3891 (uri (string-append "mirror://gnome/sources/" name "/"
3892 (version-major+minor version) "/"
3893 name "-" version ".tar.xz"))
3894 (sha256
3895 (base32
8bf4a6ae 3896 "1bih5hr3pvpkx3fck55bnhngn4fl92ryjizc34wb8pwigbkxnaj1"))))
fed5a689 3897 (build-system glib-or-gtk-build-system)
735b8db6
TGR
3898 (propagated-inputs
3899 `(("dconf" ,dconf)))
fed5a689
RW
3900 (native-inputs
3901 `(("pkg-config" ,pkg-config)
f819c21d 3902 ("itstool" ,itstool)
b94a6ca0 3903 ("gettext" ,gettext-minimal)
77e9c993 3904 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
3905 ("itstool" ,itstool)
3906 ("vala" ,vala)))
fed5a689 3907 (inputs
735b8db6
TGR
3908 `(("glib:bin" ,glib "bin")
3909 ("gstreamer" ,gstreamer)
fed5a689 3910 ("gst-plugins-base" ,gst-plugins-base)
fed5a689
RW
3911 ("libgee" ,libgee)
3912 ("gexiv2" ,gexiv2)
3913 ("libraw" ,libraw)
3914 ("json-glib" ,json-glib)
7108425c 3915 ("webkitgtk" ,webkitgtk)
fed5a689
RW
3916 ("sqlite" ,sqlite)
3917 ("libsoup" ,libsoup)
3918 ("libxml2" ,libxml2)
fed5a689 3919 ("libgudev" ,libgudev)
522fc32e
LF
3920 ("libgphoto2" ,libgphoto2)
3921 ("gcr" ,gcr)))
fed5a689
RW
3922 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3923 (synopsis "Photo manager for GNOME 3")
3924 (description
3925 "Shotwell is a digital photo manager designed for the GNOME desktop
3926environment. It allows you to import photos from disk or camera, organize
3927them by keywords and events, view them in full-window or fullscreen mode, and
3928share them with others via social networking and more.")
3929 (license license:lgpl2.1+)))
293ff8b2
DT
3930
3931(define-public file-roller
3932 (package
3933 (name "file-roller")
e6f5e6b6 3934 (version "3.22.2")
293ff8b2
DT
3935 (source (origin
3936 (method url-fetch)
3937 (uri (string-append "mirror://gnome/sources/" name "/"
3938 (version-major+minor version) "/"
3939 name "-" version ".tar.xz"))
3940 (sha256
3941 (base32
e6f5e6b6 3942 "1yaxd0lqhajszilblkidqfkaffhzml10l7ib64023y36qgf8q597"))))
293ff8b2 3943 (build-system glib-or-gtk-build-system)
c282c55d
SB
3944 (arguments
3945 '(#:phases
3946 (modify-phases %standard-phases
3947 (add-before 'install 'skip-gtk-update-icon-cache
3948 (lambda _
3949 ;; Don't create 'icon-theme.cache'
3950 (substitute* (find-files "data" "^Makefile$")
3951 (("gtk-update-icon-cache") (which "true")))
3952 #t)))))
293ff8b2
DT
3953 (native-inputs
3954 `(("intltool" ,intltool)
3955 ("pkg-config" ,pkg-config)))
3956 ;; TODO: Add libnautilus.
3957 (inputs
3958 `(("gtk+" ,gtk+)
3959 ("gdk-pixbuf" ,gdk-pixbuf)
3960 ("json-glib" ,json-glib)
3961 ("libarchive" ,libarchive)
3962 ("libnotify" ,libnotify)
3963 ("nettle" ,nettle)
3964 ("itstool" ,itstool)
3965 ("libxml2" ,libxml2)))
3966 (synopsis "Graphical archive manager for GNOME")
3967 (description "File Roller is an archive manager for the GNOME desktop
3968environment that allows users to view, unpack, and create compressed archives
3969such as gzip tarballs.")
3970 (home-page "http://fileroller.sourceforge.net/")
3971 (license license:gpl2+)))
7ce49365
SB
3972
3973(define-public gnome-session
3974 (package
3975 (name "gnome-session")
ed503333 3976 (version "3.20.2")
7ce49365
SB
3977 (source (origin
3978 (method url-fetch)
3979 (uri (string-append "mirror://gnome/sources/" name "/"
3980 (version-major+minor version) "/"
3981 name "-" version ".tar.xz"))
3982 (sha256
3983 (base32
ed503333 3984 "1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"))))
2914af3c
AW
3985 (arguments
3986 '(#:phases
3987 (modify-phases %standard-phases
3988 (add-before 'configure 'pre-configure
3989 (lambda* (#:key outputs #:allow-other-keys)
3990 ;; Use elogind instead of systemd.
3991 (substitute* "configure"
3992 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3993 "libelogind")
3994 (("systemd") "elogind"))
3995 (substitute* "gnome-session/gsm-systemd.c"
3996 (("#include <systemd/sd-login.h>")
3997 "#include <elogind/sd-login.h>"))
3998 ;; Remove uses of the systemd journal.
3999 (substitute* "gnome-session/main.c"
4000 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4001 (substitute* "gnome-session/gsm-manager.c"
4002 (("#ifdef HAVE_SYSTEMD") "#if 0"))
803ab416
SB
4003 (substitute* "gnome-session/gsm-autostart-app.c"
4004 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4005 #t))
4006 (add-after 'install 'wrap-gnome-session
4007 (lambda* (#:key inputs outputs #:allow-other-keys)
4008 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4009 (let ((glib (assoc-ref inputs "glib:bin"))
4010 (out (assoc-ref outputs "out")))
4011 (wrap-program (string-append out "/bin/gnome-session")
4012 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6cbc8d57
LC
4013 #t)))
4014 (add-after 'install 'disable-hardware-acceleration-check
4015 (lambda* (#:key outputs #:allow-other-keys)
4016 ;; Do not abort if hardware acceleration is missing. This allows
4017 ;; GNOME to run in QEMU and on low-end devices.
4018 (let ((out (assoc-ref outputs "out")))
4019 (substitute* (string-append out
4020 "/share/xsessions/gnome.desktop")
4021 (("gnome-session")
4022 "gnome-session --disable-acceleration-check"))
a0d7baaf 4023 #t))))
6cbc8d57 4024
2914af3c
AW
4025 #:configure-flags
4026 '("--enable-elogind")))
ba3cb5ab 4027 (build-system glib-or-gtk-build-system)
7ce49365
SB
4028 (native-inputs
4029 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4030 ("pkg-config" ,pkg-config)
4031 ("intltool" ,intltool)
4032 ("xsltproc" ,libxslt)))
4033 (inputs
2914af3c
AW
4034 `(("elogind" ,elogind)
4035 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4036 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4037 ("gtk+" ,gtk+)
4038 ("json-glib" ,json-glib)
4039 ("libsm" ,libsm)
4040 ("libxcomposite" ,libxcomposite)
4041 ("libxtst" ,libxtst)
4042 ("mesa" ,mesa)
4043 ("upower" ,upower)
4044 ("xtrans" ,xtrans)))
4045 (synopsis "Session manager for GNOME")
4046 (description
4047 "This package contains the GNOME session manager, as well as a
4048configuration program to choose applications starting on login.")
4049 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4050 (license license:gpl2+)))
f47ba77e
SB
4051
4052(define-public gjs
4053 (package
4054 (name "gjs")
4055 (version "1.44.0")
4056 (source (origin
4057 (method url-fetch)
4058 (uri (string-append "mirror://gnome/sources/" name "/"
4059 (version-major+minor version) "/"
4060 name "-" version ".tar.xz"))
4061 (sha256
4062 (base32
4063 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4064 (modules '((guix build utils)))
4065 (snippet '(substitute* "test/run-with-dbus"
4066 (("/bin/rm") "rm")))))
4067 (build-system gnu-build-system)
4068 (arguments
4069 '(#:phases
4070 (modify-phases %standard-phases
4071 (add-before
4072 'check 'pre-check
4073 (lambda _
4074 ;; For the missing /etc/machine-id.
4075 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07
SB
4076
4077 ;; XXX: fails with:
4078 ;; Failed to convert UTF-8 string to JS string: ...
4079 ;; TODO: actually fix it.
4080 (substitute* "installed-tests/js/testEverythingBasic.js"
4081 ((".*test_utf8_inout.*") ""))
f47ba77e
SB
4082 #t)))))
4083 (native-inputs
4084 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4085 ("pkg-config" ,pkg-config)
4086 ("xmllint" ,libxml2)
4087 ;; For testing
4088 ("dbus-launch" ,dbus)
4089 ("uuidgen" ,util-linux)
4090 ("xvfb" ,xorg-server)))
4091 (propagated-inputs
4092 ;; These are all in the Requires.private field of gjs-1.0.pc.
4093 `(("gobject-introspection" ,gobject-introspection)
4094 ("mozjs" ,mozjs-24)))
4095 (inputs
4096 `(("gtk+" ,gtk+)
4097 ("readline" ,readline)))
4098 (synopsis "Javascript bindings for GNOME")
4099 (home-page "http://live.gnome.org/Gjs")
4100 (description
4101 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4102javascript engine and the GObject introspection framework.")
4103 (license license:gpl2+)))
329d731b
DH
4104
4105(define-public gedit
4106 (package
4107 (name "gedit")
9beae2a2 4108 (version "3.22.0")
329d731b
DH
4109 (source (origin
4110 (method url-fetch)
4111 (uri (string-append "mirror://gnome/sources/" name "/"
4112 (version-major+minor version) "/"
4113 name "-" version ".tar.xz"))
4114 (sha256
4115 (base32
9beae2a2 4116 "0i9z5d31vibb3dd329gwvyga38zq5k1a2glcdq7m93ycbl5mlfq6"))))
329d731b
DH
4117 (build-system glib-or-gtk-build-system)
4118 (arguments
33cd9bef
SB
4119 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4120 #:phases
329d731b
DH
4121 (modify-phases %standard-phases
4122 (add-after
4123 'install 'wrap-gedit
4124 (lambda* (#:key inputs outputs #:allow-other-keys)
4125 (let ((out (assoc-ref outputs "out"))
4126 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4127 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4128 (python-path (getenv "PYTHONPATH")))
329d731b 4129 (wrap-program (string-append out "/bin/gedit")
afc25242 4130 ;; For plugins.
329d731b 4131 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4132 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4133 ;; For language-specs.
4134 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4135 "/share")))))
4136 #t)))))
4137 (propagated-inputs
4138 `(("dconf" ,dconf)))
4139 (native-inputs
4140 `(("intltool" ,intltool)
b3546174 4141 ("itstool" ,itstool)
329d731b
DH
4142 ("gobject-introspection" ,gobject-introspection)
4143 ("pkg-config" ,pkg-config)))
4144 (inputs
4145 `(("glib" ,glib)
4146 ("gtk+" ,gtk+)
4147 ("gtksourceview" ,gtksourceview)
4148 ("libpeas" ,libpeas)
4149 ("libxml2" ,libxml2)
329d731b
DH
4150 ("iso-codes" ,iso-codes)
4151 ("python-pygobject" ,python-pygobject)
4152 ("python" ,python)
4153 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4154 ("libx11" ,libx11)
4155 ("vala" ,vala)
4156 ("adwaita-icon-theme" ,adwaita-icon-theme)
4157 ("libsoup" ,libsoup)
4158 ("gnome-desktop" ,gnome-desktop)))
4159 (home-page "https://wiki.gnome.org/Apps/Gedit")
4160 (synopsis "GNOME text editor")
4161 (description "While aiming at simplicity and ease of use, gedit is a
4162powerful general purpose text editor.")
4163 (license license:gpl2+)))
b7179363
SB
4164
4165(define-public zenity
4166 (package
4167 (name "zenity")
6983ba56 4168 (version "3.20.0")
b7179363
SB
4169 (source (origin
4170 (method url-fetch)
4171 (uri (string-append "mirror://gnome/sources/" name "/"
4172 (version-major+minor version) "/"
4173 name "-" version ".tar.xz"))
4174 (sha256
4175 (base32
6983ba56 4176 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
b7179363
SB
4177 (build-system gnu-build-system)
4178 (native-inputs
b94a6ca0 4179 `(("gettext" ,gettext-minimal)
b7179363
SB
4180 ("itstool" ,itstool)
4181 ("pkg-config" ,pkg-config)))
4182 (inputs
4183 `(("libnotify" ,libnotify)
4184 ("webkitgtk" ,webkitgtk)))
4185 (synopsis "Display graphical dialog boxes from shell scripts")
4186 (home-page "http://www.gnome.org")
4187 (description
4188 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4189to display dialog boxes from the commandline and shell scripts.")
4190 (license license:lgpl2.0+)))
60c3627c
SB
4191
4192(define-public mutter
4193 (package
4194 (name "mutter")
d33aa8d0 4195 (version "3.20.3")
60c3627c
SB
4196 (source (origin
4197 (method url-fetch)
4198 (uri (string-append "mirror://gnome/sources/" name "/"
4199 (version-major+minor version) "/"
4200 name "-" version ".tar.xz"))
4201 (sha256
4202 (base32
d33aa8d0 4203 "05pr78vgq52bkkqpbfnp9mxw14ij2wk91l2yfa69dpjbvxqm4b0l"))))
60c3627c
SB
4204 (build-system gnu-build-system)
4205 (arguments
4206 '(#:configure-flags
4207 ;; XXX: build fails with [-Werror]:
4208 ;; backends/meta-cursor-renderer.c:112:5: error:
4209 ;; implicit declaration of function ?roundf?
4210 '("--enable-compile-warnings=minimum")))
4211 (native-inputs
4212 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4213 ("gobject-introspection" ,gobject-introspection)
4214 ("intltool" ,intltool)
4215 ("pkg-config" ,pkg-config)))
4216 (propagated-inputs
4217 ;; libmutter.pc refers to all these.
4218 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4219 ("gtk+" ,gtk+)
4220 ("clutter" ,clutter)))
4221 (inputs
4222 `(("gnome-desktop" ,gnome-desktop)
4223 ("libcanberra-gtk" ,libcanberra)
4224 ("libice" ,libice)
4225 ("libsm" ,libsm)
4226 ("libxkbcommon" ,libxkbcommon)
4227 ("libxkbfile" ,libxkbfile)
4228 ("mesa-headers" ,mesa-headers)
4229 ("startup-notification" ,startup-notification)
4230 ("upower-glib" ,upower)
4231 ("xkeyboard-config" ,xkeyboard-config)
4232 ("zenity" ,zenity)))
4233 (synopsis "Window and compositing manager")
4234 (home-page "http://www.gnome.org")
4235 (description
4236 "Mutter is a window and compositing manager that displays and manages your
4237desktop via OpenGL. Mutter combines a sophisticated display engine using the
4238Clutter toolkit with solid window-management logic inherited from the Metacity
4239window manager.")
4240 (license license:gpl2+)))
685cee87
SB
4241
4242(define-public gnome-online-accounts
4243 (package
4244 (name "gnome-online-accounts")
b1cd747b 4245 (version "3.22.3")
685cee87
SB
4246 (source (origin
4247 (method url-fetch)
4248 (uri (string-append "mirror://gnome/sources/" name "/"
4249 (version-major+minor version) "/"
4250 name "-" version ".tar.xz"))
4251 (sha256
4252 (base32
b1cd747b 4253 "13wvnfh3hnasdnb6fhjssybj2327qihd32kpdjjb3r1qiyc8dvqb"))))
685cee87
SB
4254 (build-system glib-or-gtk-build-system)
4255 (native-inputs
4256 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4257 ("gobject-introspection" ,gobject-introspection)
4258 ("intltool" ,intltool)
4259 ("pkg-config" ,pkg-config)
4260 ("xsltproc" ,libxslt)))
4261 (propagated-inputs
4262 `(("glib" ,glib) ; required by goa-1.0.pc
4263 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4264 (inputs
4265 `(("docbook-xsl" ,docbook-xsl)
4266 ("json-glib" ,json-glib)
4267 ("libsecret" ,libsecret)
4268 ("rest" ,rest)
4269 ("telepathy-glib" ,telepathy-glib)
4270 ("webkitgtk" ,webkitgtk)))
4271 (synopsis "Single sign-on framework for GNOME")
4272 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4273 (description
4274 "GNOME Online Accounts provides interfaces so that applications and
4275libraries in GNOME can access the user's online accounts. It has providers for
4276Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4277Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4278 (license license:lgpl2.0+)))
df217748
SB
4279
4280(define-public evolution-data-server
4281 (package
4282 (name "evolution-data-server")
aab951cd 4283 (version "3.22.3")
df217748
SB
4284 (source (origin
4285 (method url-fetch)
4286 (uri (string-append "mirror://gnome/sources/" name "/"
4287 (version-major+minor version) "/"
4288 name "-" version ".tar.xz"))
4289 (sha256
4290 (base32
aab951cd 4291 "0kygd46s0is6i451bqykagrfx34wjvrgjbjyyszaabnppp1dyn0c"))))
df217748
SB
4292 (build-system gnu-build-system)
4293 (arguments
4294 '(;; XXX: fails with:
4295 ;; /Fixture/Calendar0: cleaning up pid xxxx
4296 ;; t status: 139)
4297 #:tests? #f
4298 #:configure-flags
4299 (let ((nss (assoc-ref %build-inputs "nss"))
4300 (nspr (assoc-ref %build-inputs "nspr")))
4301 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4302 "--disable-google" ; disable Google Contacts support
c1387d36 4303 "--disable-google-auth" ; disable Google authentication
a73c1cf8 4304 "--enable-vala-bindings"
df217748
SB
4305 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4306 (string-append "--with-nss-includes=" nss "/include/nss")
4307 (string-append "--with-nss-libs=" nss "/lib/nss")))
4308 #:phases
4309 (modify-phases %standard-phases
4310 (add-before 'check 'pre-check
4311 (lambda _
4312 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4313 (("/bin/rm") (which "rm")))
4314 #t)))))
4315 (native-inputs
4316 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4317 ("gobject-introspection" ,gobject-introspection)
4318 ("gperf" ,gperf)
4319 ("intltool" ,intltool)
4320 ("pkg-config" ,pkg-config)
a73c1cf8 4321 ("vala" ,vala)
df217748
SB
4322 ("python" ,python)))
4323 (propagated-inputs
4324 ;; These are all in the Requires field of .pc files.
4325 `(("gtk+" ,gtk+)
4326 ("libical" ,libical)
4327 ("libsecret" ,libsecret)
4328 ("libsoup" ,libsoup)
4329 ("nss" ,nss)
4330 ("sqlite" ,sqlite)))
4331 (inputs
4332 `(("bdb" ,bdb)
4333 ("gcr" ,gcr)
4334 ("gnome-online-accounts" ,gnome-online-accounts)
4335 ("libgweather" ,libgweather)))
4336 (synopsis "Store address books and calendars")
4337 (home-page "https://wiki.gnome.org/Apps/Evolution")
4338 (description
4339 "This package provides a unified backend for programs that work with
4340contacts, tasks, and calendar information. It was originally developed for
4341Evolution (hence the name), but is now used by other packages as well.")
4342 (license license:lgpl2.0)))
bd7dfafa
SB
4343
4344(define-public caribou
4345 (package
4346 (name "caribou")
fe964bb5 4347 (version "0.4.21")
bd7dfafa
SB
4348 (source (origin
4349 (method url-fetch)
4350 (uri (string-append "mirror://gnome/sources/" name "/"
4351 (version-major+minor version) "/"
4352 name "-" version ".tar.xz"))
4353 (sha256
4354 (base32
fe964bb5 4355 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
4356 (build-system glib-or-gtk-build-system)
4357 (arguments
4358 '(#:phases
4359 (modify-phases %standard-phases
4360 (add-before
4361 'build 'pre-build
4362 (lambda* (#:key outputs #:allow-other-keys)
4363 (let ((out (assoc-ref outputs "out")))
4364 ;; Use absolute shared library path in Caribou-1.0.typelib.
4365 (substitute* "libcaribou/Makefile"
4366 (("--shared-library=libcaribou.so")
4367 (string-append "--shared-library="
4368 out "/lib/libcaribou.so")))
4369 #t)))
4370 (add-after 'install 'wrap-programs
4371 (lambda* (#:key outputs #:allow-other-keys)
4372 (let* ((out (assoc-ref outputs "out"))
4373 (python-path (getenv "PYTHONPATH"))
4374 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4375 (for-each
4376 (lambda (prog)
4377 (wrap-program prog
4378 `("PYTHONPATH" ":" prefix (,python-path))
4379 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4380 (list (string-append out "/bin/caribou-preferences")
4381 (string-append out "/libexec/antler-keyboard"))))
4382 #t)))))
4383 (native-inputs
4384 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4385 ("gobject-introspection" ,gobject-introspection)
4386 ("intltool" ,intltool)
4387 ("pkg-config" ,pkg-config)
4388 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4389 ("vala" ,vala)
4390 ("xsltproc" ,libxslt)))
4391 (propagated-inputs
4392 ;; caribou-1.0.pc refers to all these.
4393 `(("libgee" ,libgee)
4394 ("libxklavier" ,libxklavier)
4395 ("libxtst" ,libxtst)
4396 ("gtk+" ,gtk+)))
4397 (inputs
4398 `(("clutter" ,clutter)
4399 ("dconf" ,dconf)
4400 ("gtk+-2" ,gtk+-2)
4401 ("python-pygobject" ,python2-pygobject)))
4402 (synopsis "Text entry and UI navigation application")
4403 (home-page "https://wiki.gnome.org/Projects/Caribou")
4404 (description
4405 "Caribou is an input assistive technology intended for switch and pointer
4406users.")
4407 (license license:lgpl2.1)))
ba5dd105 4408
ba5dd105
SB
4409(define-public network-manager
4410 (package
4411 (name "network-manager")
0d871c38 4412 (version "1.4.2")
ba5dd105
SB
4413 (source (origin
4414 (method url-fetch)
4415 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4416 (version-major+minor version) "/"
4417 "NetworkManager-" version ".tar.xz"))
4418 (sha256
4419 (base32
fd070f35
CM
4420 "016jc21mwjxvnfiblp5lji55sr8aq6w8a08fsjmqvnpnvm3y6r58"))
4421 (snippet
4422 '(begin
4423 (use-modules (guix build utils))
4424 (substitute* "configure"
4425 ;; Replace libsystemd-login with libelogind.
4426 (("libsystemd-login") "libelogind"))
4427 (substitute* "src/devices/wwan/nm-modem-manager.c"
4428 (("systemd") "elogind"))
4429 (substitute* "src/nm-session-monitor.c"
4430 (("systemd") "elogind"))
4431 (substitute* "./src/nm-logging.c"
4432 (("systemd") "elogind"))))))
ba5dd105
SB
4433 (build-system gnu-build-system)
4434 (outputs '("out"
4435 "doc")) ; 8 MiB of gtk-doc HTML
4436 (arguments
4437 '(#:configure-flags
4438 (let ((out (assoc-ref %outputs "out"))
4439 (doc (assoc-ref %outputs "doc"))
4440 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4441 "/sbin/dhclient")))
fd070f35
CM
4442 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
4443 "--with-consolekit=no"
4444 "--with-crypto=gnutls"
ba5dd105
SB
4445 "--disable-config-plugin-ibft"
4446 "--sysconfdir=/etc"
4447 "--localstatedir=/var"
4448 (string-append "--with-udev-dir="
4449 out "/lib/udev")
4450 (string-append "--with-dbus-sys-dir="
4451 out "/etc/dbus-1/system.d")
4452 (string-append "--with-html-dir="
4453 doc "/share/gtk-doc/html")
4454 (string-append "--with-dhclient=" dhclient)))
4455 #:phases
4456 (modify-phases %standard-phases
b4f59d87
AW
4457 (add-before 'configure 'pre-configure
4458 (lambda _
4459 ;; These tests try to test aspects of network-manager's
4460 ;; functionality within restricted containers, but they don't
4461 ;; cope with being already in the Guix build jail as that jail
4462 ;; lacks some features that they would like to proxy over (like
4463 ;; a /sys mount).
142bdcbc
SB
4464 (substitute* '("src/platform/Makefile.in"
4465 "src/devices/Makefile.in")
b4f59d87
AW
4466 (("SUBDIRS = tests") ""))
4467 (substitute* '("src/tests/Makefile.in")
4468 (("\ttest-route-manager-linux") "\t")
4469 (("\ttest-route-manager-fake") "\t"))
4470 #t))
ba5dd105
SB
4471 (add-before 'check 'pre-check
4472 (lambda _
4473 ;; For the missing /etc/machine-id.
4474 (setenv "DBUS_FATAL_WARNINGS" "0")
4475 #t))
4476 (replace 'install
4477 (lambda _
4478 (zero? (system* "make"
4479 "sysconfdir=/tmp"
142bdcbc
SB
4480 "rundir=/tmp"
4481 "statedir=/tmp"
ba5dd105 4482 "install")))))))
b93502d6
DC
4483 (propagated-inputs
4484 `(("glib" ,glib)))
ba5dd105
SB
4485 (native-inputs
4486 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4487 ("gobject-introspection" ,gobject-introspection)
4488 ("intltool" ,intltool)
4489 ("pkg-config" ,pkg-config)
4490 ;; For testing.
4491 ("python" ,python-wrapper)
4492 ("python-dbus" ,python-dbus)
4493 ("python-pygobject" ,python-pygobject)))
4494 (inputs
4495 `(("dbus-glib" ,dbus-glib)
4496 ("dnsmasq" ,dnsmasq)
4497 ("gnutls" ,gnutls)
4498 ("iptables" ,iptables)
4499 ("isc-dhcp" ,isc-dhcp)
4500 ("libgcrypt" ,libgcrypt)
4501 ("libgudev" ,libgudev)
4502 ("libndp" ,libndp)
4503 ("libnl" ,libnl)
4504 ("libsoup" ,libsoup)
142bdcbc 4505 ("modem-manager" ,modem-manager)
ba5dd105
SB
4506 ("polkit" ,polkit)
4507 ("ppp" ,ppp)
4508 ("readline" ,readline)
fd070f35
CM
4509 ("util-linux" ,util-linux)
4510 ("elogind" ,elogind)))
ba5dd105
SB
4511 (synopsis "Network connection manager")
4512 (home-page "http://www.gnome.org/projects/NetworkManager/")
4513 (description
4514 "NetworkManager is a system network service that manages your network
4515devices and connections, attempting to keep active network connectivity when
4516available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4517devices, and provides VPN integration with a variety of different VPN
4518services.")
29d2f451
LC
4519 (license license:gpl2+)
4520 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 4521
e5e1df4d
DC
4522(define-public mobile-broadband-provider-info
4523 (package
4524 (name "mobile-broadband-provider-info")
4525 (version "20151214")
4526 (source (origin
4527 (method url-fetch)
4528 (uri (string-append
4529 "mirror://gnome/sources/"
4530 "mobile-broadband-provider-info/" version "/"
4531 "mobile-broadband-provider-info-" version ".tar.xz"))
4532 (sha256
4533 (base32
4534 "1905nab1h8p4hx0m1w0rn4mkg9209x680dcr4l77bngy21pmvr4a"))))
4535 (build-system gnu-build-system)
4536 (arguments
4537 `(#:tests? #f)) ; No tests
4538 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
4539 (synopsis "Database of broadband connection configuration")
4540 (description "Database of broadband connection configuration.")
4541 (license license:public-domain)))
4542
4d62a9d3
SB
4543(define-public network-manager-applet
4544 (package
4545 (name "network-manager-applet")
2116bfb3 4546 (version "1.4.2")
4d62a9d3
SB
4547 (source (origin
4548 (method url-fetch)
4549 (uri (string-append "mirror://gnome/sources/" name "/"
4550 (version-major+minor version) "/"
4551 name "-" version ".tar.xz"))
4552 (sha256
4553 (base32
2116bfb3 4554 "16a43sl9aijmvxbb08hbjqyjnlshj8dckycbgi9nm333fr47n6s3"))))
4d62a9d3 4555 (build-system glib-or-gtk-build-system)
2116bfb3 4556 ;; TODO: WWAN support supposedly requires an update of glibmm which in turn
4557 ;; requires an update of the its dependencies (glib and others).
4558 (arguments '(#:configure-flags '("--disable-migration"
4559 "--without-wwan")))
4d62a9d3
SB
4560 (native-inputs
4561 `(("intltool" ,intltool)
4562 ("gobject-introspection" ,gobject-introspection)
4563 ("pkg-config" ,pkg-config)))
4564 (propagated-inputs
4565 ;; libnm-gtk.pc refers to all these.
4566 `(("dbus-glib" ,dbus-glib)
4567 ("gtk+" ,gtk+)
4568 ("network-manager" ,network-manager)))
4569 (inputs
4570 `(("iso-codes" ,iso-codes)
4571 ("libgudev" ,libgudev)
4572 ("libnotify" ,libnotify)
2116bfb3 4573 ("libsecret" ,libsecret)
4574 ("jansson" ,jansson))) ;for team support
4d62a9d3
SB
4575 (synopsis "Applet for managing network connections")
4576 (home-page "http://www.gnome.org/projects/NetworkManager/")
4577 (description
4578 "This package contains a systray applet for NetworkManager. It displays
4579the available networks and allows users to easily switch between them.")
4580 (license license:gpl2+)))
56196594
RW
4581
4582(define-public libxml++
4583 (package
4584 (name "libxml++")
8344a85e 4585 (version "3.0.1")
56196594
RW
4586 (source (origin
4587 (method url-fetch)
4588 (uri (string-append "mirror://gnome/sources/" name "/"
4589 (version-major+minor version) "/"
4590 name "-" version ".tar.xz"))
4591 (sha256
4592 (base32
8344a85e 4593 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
4594 (build-system gnu-build-system)
4595 ;; libxml++-3.0.pc refers to all these.
4596 (propagated-inputs
4597 `(("libxml2" ,libxml2)
4598 ("glibmm" ,glibmm)))
4599 (native-inputs
4600 `(("perl" ,perl)
4601 ("pkg-config" ,pkg-config)))
4602 (home-page "http://libxmlplusplus.sourceforge.net/")
4603 (synopsis "C++ wrapper for XML parser library libxml2")
4604 (description
4605 "This package provides a C++ wrapper for the XML parser library
4606libxml2.")
4607 (license license:lgpl2.1+)))
df12f04a 4608
b61d9627
AW
4609(define-public libxml++-2
4610 (package
4611 (inherit libxml++)
4612 (name "libxml++")
4613 (version "2.40.1")
4614 (source (origin
4615 (method url-fetch)
4616 (uri (string-append "mirror://gnome/sources/" name "/"
4617 (version-major+minor version) "/"
4618 name "-" version ".tar.xz"))
4619 (sha256
4620 (base32
4621 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
4622
df12f04a
SB
4623(define-public gdm
4624 (package
4625 (name "gdm")
906943df 4626 (version "3.20.1")
df12f04a
SB
4627 (source (origin
4628 (method url-fetch)
4629 (uri (string-append "mirror://gnome/sources/" name "/"
4630 (version-major+minor version) "/"
4631 name "-" version ".tar.xz"))
4632 (sha256
4633 (base32
906943df 4634 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
df12f04a
SB
4635 (build-system gnu-build-system)
4636 (arguments
4637 '(#:configure-flags
4638 '("--without-plymouth")
4639 #:phases
4640 (modify-phases %standard-phases
4641 (add-before
4642 'configure 'pre-configure
4643 (lambda _
4644 ;; We don't have <systemd/sd-daemon.h>.
4645 (substitute* '("common/gdm-log.c"
4646 "daemon/gdm-server.c"
4647 "daemon/gdm-session-worker.c"
4648 "daemon/gdm-session-worker-job.c")
4649 (("#include <systemd/sd-daemon\\.h>") ""))
4650 ;; Use elogind for sd-login.
4651 (substitute* '("common/gdm-common.c"
4652 "daemon/gdm-manager.c"
4653 "libgdm/gdm-user-switching.c")
4654 (("#include <systemd/sd-login\\.h>")
4655 "#include <elogind/sd-login.h>"))
4656 ;; Avoid checking SYSTEMD using pkg-config.
4657 (setenv "SYSTEMD_CFLAGS" " ")
4658 (setenv "SYSTEMD_LIBS" "-lelogind")
4659 #t)))))
4660 (native-inputs
4661 `(("dconf" ,dconf)
4662 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4663 ("gobject-introspection" ,gobject-introspection)
4664 ("intltool" ,intltool)
4665 ("itstool" ,itstool)
4666 ("pkg-config" ,pkg-config)
4667 ("xmllint" ,libxml2)))
4668 (inputs
4669 `(("accountsservice" ,accountsservice)
4670 ("check" ,check) ; for testing
4671 ("elogind" ,elogind)
4672 ("gtk+" ,gtk+)
4673 ("iso-codes" ,iso-codes)
4674 ("libcanberra" ,libcanberra)
4675 ("linux-pam" ,linux-pam)))
4676 (synopsis "Display manager for GNOME")
4677 (home-page "http://wiki.gnome.org/Projects/GDM/")
4678 (description
4679 "GNOME Display Manager is a system service that is responsible for
4680providing graphical log-ins and managing local and remote displays.")
4681 (license license:gpl2+)))
8e1dd04f
SB
4682
4683(define-public libgtop
4684 (package
4685 (name "libgtop")
8785e484 4686 (version "2.34.1")
8e1dd04f
SB
4687 (source (origin
4688 (method url-fetch)
4689 (uri (string-append "mirror://gnome/sources/" name "/"
4690 (version-major+minor version) "/"
4691 name "-" version ".tar.xz"))
4692 (sha256
4693 (base32
8785e484 4694 "1qh9srg8pqmrsl12mwnclncs7agmjjvx3q6v5qwqvcb2cskpi6f8"))))
8e1dd04f
SB
4695 (build-system gnu-build-system)
4696 (native-inputs
4697 `(("gobject-introspection" ,gobject-introspection)
4698 ("intltool" ,intltool)
4699 ("perl" ,perl)
4700 ("pkg-config" ,pkg-config)))
4701 (propagated-inputs
4702 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4703 (synopsis "Portable system access library")
4704 (home-page "https://www.gnome.org/")
4705 (description
4706 "LibGTop is a library to get system specific data such as CPU and memory
4707usage and information about running processes.")
4708 (license license:gpl2+)))
b96c4260
SB
4709
4710(define-public gnome-bluetooth
4711 (package
4712 (name "gnome-bluetooth")
3e93ddcc 4713 (version "3.20.0")
b96c4260
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
3e93ddcc 4721 "0lzbwk2kn7kp39sv5bf4ja92mfkxkc27gxxk8k86i8a8ncbcmcwk"))))
b96c4260
SB
4722 (build-system glib-or-gtk-build-system)
4723 (native-inputs
4724 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4725 ("gobject-introspection" ,gobject-introspection)
4726 ("intltool" ,intltool)
4727 ("pkg-config" ,pkg-config)
4728 ("xmllint" ,libxml2)))
4729 (propagated-inputs
4730 ;; gnome-bluetooth-1.0.pc refers to all these.
4731 `(("gtk+" ,gtk+)
4732 ("udev" ,eudev)))
4733 (inputs
4734 `(("libcanberra" ,libcanberra)
4735 ("libnotify" ,libnotify)))
4736 (synopsis "GNOME Bluetooth subsystem")
4737 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4738 (description
4739 "This package contains tools for managing and manipulating Bluetooth
4740devices using the GNOME desktop.")
4741 (license license:lgpl2.1+)))
b645146f
SB
4742
4743(define-public gnome-control-center
4744 (package
4745 (name "gnome-control-center")
8b6b7c73 4746 (version "3.20.1")
b645146f
SB
4747 (source (origin
4748 (method url-fetch)
4749 (uri (string-append "mirror://gnome/sources/" name "/"
4750 (version-major+minor version) "/"
4751 name "-" version ".tar.xz"))
4752 (sha256
4753 (base32
8b6b7c73 4754 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
b645146f
SB
4755 (build-system glib-or-gtk-build-system)
4756 (arguments
4757 '(#:phases
4758 (modify-phases %standard-phases
4759 (add-before 'configure 'patch-paths
4760 (lambda* (#:key inputs #:allow-other-keys)
4761 (let ((libc (assoc-ref inputs "libc"))
4762 (tzdata (assoc-ref inputs "tzdata")))
4763 (substitute* "panels/datetime/tz.h"
4764 (("/usr/share/zoneinfo/zone.tab")
4765 (string-append tzdata "/share/zoneinfo/zone.tab")))
4766 (substitute* "panels/datetime/test-endianess.c"
4767 (("/usr/share/locale")
4768 (string-append libc "/share/locale")))
4769 #t))))))
4770 (native-inputs
4771 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4772 ("intltool" ,intltool)
4773 ("pkg-config" ,pkg-config)
4774 ("xsltproc" ,libxslt)))
4775 (inputs
4776 `(("accountsservice" ,accountsservice)
4777 ("clutter-gtk" ,clutter-gtk)
4778 ("colord-gtk" ,colord-gtk)
4779 ("cups" ,cups)
4780 ("dconf" ,dconf)
4781 ("docbook-xsl" ,docbook-xsl)
3446ffb5 4782 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
4783 ("gnome-bluetooth" ,gnome-bluetooth)
4784 ("gnome-desktop" ,gnome-desktop)
4785 ("gnome-online-accounts" ,gnome-online-accounts)
4786 ("gnome-settings-daemon" ,gnome-settings-daemon)
4787 ("grilo" ,grilo)
4788 ("ibus" ,ibus)
4789 ("libcanberra" ,libcanberra)
4790 ("libgudev" ,libgudev)
4791 ("libgtop" ,libgtop)
4792 ("libpwquality" ,libpwquality)
4793 ("libsoup" ,libsoup)
4794 ("libxml2" ,libxml2)
4795 ("libwacom" ,libwacom)
4796 ("mesa" ,mesa)
4797 ("mit-krb5" ,mit-krb5)
4798 ("modem-manager" ,modem-manager)
4799 ("network-manager-applet" ,network-manager-applet)
4800 ("polkit" ,polkit)
4801 ("pulseaudio" ,pulseaudio)
4802 ("smbclient" ,samba)
4803 ("tzdata" ,tzdata)
4804 ("upower" ,upower)))
4805 (synopsis "Utilities to configure the GNOME desktop")
4806 (home-page "https://www.gnome.org/")
4807 (description
4808 "This package contains configuration applets for the GNOME desktop,
4809allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4810properties, sound setup, desktop theme and background, user interface
4811properties, screen resolution, and other GNOME parameters.")
4812 (license license:gpl2+)))
a4df5756
SB
4813
4814(define-public gnome-shell
4815 (package
4816 (name "gnome-shell")
19cd753c 4817 (version "3.20.4")
a4df5756
SB
4818 (source (origin
4819 (method url-fetch)
4820 (uri (string-append "mirror://gnome/sources/" name "/"
4821 (version-major+minor version) "/"
4822 name "-" version ".tar.xz"))
4823 (sha256
4824 (base32
19cd753c 4825 "0kd9y847pw9v3zl0g52ly7xdcjz0b9v37aqmi19iddfkxjjyn4qc"))))
a4df5756
SB
4826 (build-system glib-or-gtk-build-system)
4827 (arguments
4828 '(#:phases
4829 (modify-phases %standard-phases
4830 (replace 'install
4831 (lambda* (#:key outputs #:allow-other-keys)
4832 (let* ((out (assoc-ref outputs "out"))
4833 (keysdir (string-append
4834 out "/share/gnome-control-center/keybindings")))
4835 (zero? (system* "make"
4836 (string-append "keysdir=" keysdir)
4837 "install")))))
4838 (add-after
4839 'install 'wrap-programs
4840 (lambda* (#:key outputs #:allow-other-keys)
4841 (let ((out (assoc-ref outputs "out"))
4842 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4843 (python-path (getenv "PYTHONPATH")))
4844 (wrap-program (string-append out "/bin/gnome-shell")
4845 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4846 (for-each
4847 (lambda (prog)
4848 (wrap-program (string-append out "/bin/" prog)
4849 `("PYTHONPATH" ":" prefix (,python-path))
4850 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4851 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4852 #t))))))
4853 (native-inputs
4854 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4855 ("gobject-introspection" ,gobject-introspection)
4856 ("intltool" ,intltool)
4857 ("pkg-config" ,pkg-config)
4858 ("python" ,python)
4859 ("xsltproc" ,libxslt)))
4860 (inputs
4861 `(("accountsservice" ,accountsservice)
4862 ("caribou" ,caribou)
4863 ("docbook-xsl" ,docbook-xsl)
4864 ("evolution-data-server" ,evolution-data-server)
4865 ("gcr" ,gcr)
4866 ("gdm" ,gdm)
4867 ("gjs" ,gjs)
4868 ("gnome-bluetooth" ,gnome-bluetooth)
4869 ("gnome-control-center" ,gnome-control-center)
4870 ("gnome-desktop" ,gnome-desktop)
4871 ("gnome-settings-daemon" ,gnome-settings-daemon)
4872 ("gst-plugins-base" ,gst-plugins-base)
4873 ("ibus" ,ibus)
4874 ("libcanberra" ,libcanberra)
4875 ("libcroco" ,libcroco)
4876 ("libgweather" ,libgweather)
4877 ("libsoup" ,libsoup)
4878 ("mesa-headers" ,mesa-headers)
4879 ("mutter" ,mutter)
4880 ("network-manager-applet" ,network-manager-applet)
4881 ("polkit" ,polkit)
4882 ("pulseaudio" ,pulseaudio)
4883 ("python-pygobject" ,python-pygobject)
4884 ("startup-notification" ,startup-notification)
4885 ("telepathy-logger" ,telepathy-logger)
4886 ("upower" ,upower)
4887 ;; XXX: required by libgjs.la.
4888 ("readline" ,readline)))
4889 (synopsis "Desktop shell for GNOME")
4890 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4891 (description
4892 "GNOME Shell provides core user interface functions for the GNOME desktop,
4893like switching to windows and launching applications.")
4894 (license license:gpl2+)))
c3f29bc9
RS
4895
4896(define-public gtk-vnc
4897 (package
4898 (name "gtk-vnc")
6c7c24b1 4899 (version "0.6.0")
c3f29bc9
RS
4900 (source
4901 (origin
4902 (method url-fetch)
4903 (uri (string-append "mirror://gnome/sources/" name "/"
4904 (version-major+minor version) "/"
4905 name "-" version ".tar.xz"))
4906 (sha256
4907 (base32
6c7c24b1 4908 "0cq42dghjp4bhsxlj9hd2nz5s5rhd53fx7snmq6i6kg60n438ncm"))))
c3f29bc9
RS
4909 (build-system gnu-build-system)
4910 (arguments
4911 '(#:configure-flags '("--with-gtk=3.0")))
4912 (propagated-inputs
4913 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4914 (inputs
4915 `(("cyrus-sasl" ,cyrus-sasl)
4916 ("gnutls" ,gnutls)
4917 ("libgcrypt" ,libgcrypt)
4918 ("pulseaudio" ,pulseaudio)))
4919 (native-inputs
4920 `(("glib:bin" ,glib "bin")
4921 ("gobject-introspection" ,gobject-introspection)
4922 ("intltool" ,intltool)
4923 ("pkg-config" ,pkg-config)
4924 ("vala" ,vala)))
4925 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4926 (synopsis "VNC viewer widget for GTK+")
4927 (description
4928 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4929applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4930GTK-VNC implements client side RFB protocol and authentication extensions such
4931as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4932 (license license:lgpl2.1+)))
8b877545
RS
4933
4934(define-public nautilus
4935 (package
4936 (name "nautilus")
2630311d 4937 (version "3.20.2")
8b877545
RS
4938 (source (origin
4939 (method url-fetch)
4940 (uri (string-append "mirror://gnome/sources/" name "/"
4941 (version-major+minor version) "/"
4942 name "-" version ".tar.xz"))
4943 (sha256
4944 (base32
2630311d 4945 "1bnalv0ljdjzqzvh3rfyg7r4z8vdbq1gdard5q68riqdi2dnfvld"))))
8b877545
RS
4946 (build-system glib-or-gtk-build-system)
4947 (arguments
6983ba56
SB
4948 '(#:configure-flags
4949 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
8b877545
RS
4950 ;; XXX: FAIL: check-nautilus
4951 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4952 #:tests? #f))
4953 (native-inputs
4954 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4955 ("gobject-introspection" ,gobject-introspection)
4956 ("intltool" ,intltool)
4957 ("pkg-config" ,pkg-config)))
8b877545 4958 (inputs
8b877545 4959 `(("dconf" ,dconf)
dd05e731 4960 ("gvfs" ,gvfs)
8b877545
RS
4961 ("exempi" ,exempi)
4962 ("gnome-desktop" ,gnome-desktop)
ce6027bf
SB
4963 ;; XXX: gtk+ is required by libnautilus-extension.pc
4964 ;;
4965 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4966 ;; package. See:
4967 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4968 ("gtk+" ,gtk+)
8b877545
RS
4969 ("libexif" ,libexif)
4970 ("libxml2" ,libxml2)))
4971 (synopsis "File manager for GNOME")
4972 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4973 (description
4974 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4975design and behaviour, giving the user a simple way to navigate and manage its
4976files.")
4977 (license license:gpl2+)))
3c697ffd
JR
4978
4979(define-public baobab
4980 (package
4981 (name "baobab")
3edeaeb2 4982 (version "3.22.1")
3c697ffd
JR
4983 (source (origin
4984 (method url-fetch)
4985 (uri (string-append
4986 "mirror://gnome/sources/" name "/"
4987 (version-major+minor version) "/"
4988 name "-" version ".tar.xz"))
4989 (sha256
4990 (base32
3edeaeb2 4991 "1zwpzj6hbvcyw1ymqzn3zw8w4h29ad7411crbkbh71c8jwbwpssv"))))
3c697ffd
JR
4992 (build-system glib-or-gtk-build-system)
4993 (native-inputs
4994 `(("intltool" ,intltool)
4995 ("pkg-config" ,pkg-config)
4996 ("itstool" ,itstool)
4997 ("xmllint" ,libxml2)
4998 ("glib" ,glib "bin")
4999 ("vala" ,vala)))
5000 (inputs
5001 `(("gtk+" ,gtk+)))
5002 (synopsis "Disk usage analyzer for GNOME")
5003 (description
5004 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5005usage in the GNOME desktop environment. It can easily scan device volumes or
5006a specific user-requested directory branch (local or remote). Once the scan
5007is complete it provides a graphical representation of each selected folder.")
5008 (home-page "https://wiki.gnome.org/Apps/Baobab")
5009 (license license:gpl2+)))
dc050251 5010
fdba447c
RS
5011(define-public gnome-backgrounds
5012 (package
5013 (name "gnome-backgrounds")
b9e63fc9 5014 (version "3.22.1")
fdba447c
RS
5015 (source
5016 (origin
5017 (method url-fetch)
5018 (uri (string-append "mirror://gnome/sources/" name "/"
5019 (version-major+minor version) "/"
5020 name "-" version ".tar.xz"))
5021 (sha256
5022 (base32
b9e63fc9 5023 "09gfdrm1kaz2knyghhjb0ka1kklgbcbnqgy4c90bg0v3n899ij5z"))))
fdba447c
RS
5024 (build-system glib-or-gtk-build-system)
5025 (native-inputs
5026 `(("intltool" ,intltool)))
5027 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5028 (synopsis "Background images for the GNOME desktop")
5029 (description
5030 "GNOME backgrounds package contains a collection of graphics files which
5031can be used as backgrounds in the GNOME Desktop environment. Additionally,
5032the package creates the proper framework and directory structure so that you
5033can add your own files to the collection.")
5034 (license (list license:gpl2+
5035 license:cc-by2.0
5036 license:cc-by-sa2.0
5037 license:cc-by-sa3.0))))
5038
b784b1a9
RS
5039(define-public gnome-screenshot
5040 (package
5041 (name "gnome-screenshot")
efa355bc 5042 (version "3.22.0")
b784b1a9
RS
5043 (source
5044 (origin
5045 (method url-fetch)
5046 (uri (string-append "mirror://gnome/sources/" name "/"
5047 (version-major+minor version) "/"
5048 name "-" version ".tar.xz"))
5049 (sha256
5050 (base32
efa355bc 5051 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
b784b1a9
RS
5052 (build-system glib-or-gtk-build-system)
5053 (native-inputs
5054 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5055 ("intltool" ,intltool)
5056 ("pkg-config" ,pkg-config)))
5057 (inputs
5058 `(("gtk+" ,gtk+)
5059 ("libcanberra" ,libcanberra)
5060 ("libx11" ,libx11)
5061 ("libxext" ,libxext)))
5062 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5063 (synopsis "Take pictures of your screen")
5064 (description
5065 "GNOME Screenshot is a utility used for taking screenshots of the entire
5066screen, a window or a user defined area of the screen, with optional
5067beautifying border effects.")
5068 (license license:gpl2+)))
5069
66d59111
RS
5070(define-public dconf-editor
5071 (package
5072 (name "dconf-editor")
fd408e29 5073 (version "3.22.1")
66d59111
RS
5074 (source
5075 (origin
5076 (method url-fetch)
5077 (uri (string-append "mirror://gnome/sources/" name "/"
5078 (version-major+minor version) "/"
5079 name "-" version ".tar.xz"))
5080 (sha256
5081 (base32
fd408e29 5082 "09n1ljryjgkmxwly542zb2dh9j7h76chc0br2bbhrhkwvjjmc3ha"))))
66d59111 5083 (build-system glib-or-gtk-build-system)
d25c1836
SB
5084 (arguments
5085 '(#:phases
5086 (modify-phases %standard-phases
5087 (add-before 'install 'skip-gtk-update-icon-cache
5088 (lambda _
5089 ;; Don't create 'icon-theme.cache'.
5090 (substitute* "editor/Makefile"
5091 (("gtk-update-icon-cache") "true"))
5092 #t)))))
66d59111
RS
5093 (native-inputs
5094 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5095 ("intltool" ,intltool)
5096 ("pkg-config" ,pkg-config)))
5097 (inputs
5098 `(("dconf" ,dconf)
5099 ("gtk+" ,gtk+)
5100 ("libxml2" ,libxml2)))
5101 (home-page "https://git.gnome.org/browse/dconf-editor")
5102 (synopsis "Graphical editor for GNOME's dconf configuration system")
5103 (description
5104 "Dconf-editor is a graphical tool for browsing and editing the dconf
5105configuration system for GNOME. It allows users to configure desktop
5106software that do not provide their own configuration interface.")
5107 (license license:lgpl2.1+)))
5108
dc050251
SB
5109(define-public gnome
5110 (package
5111 (name "gnome")
5112 (version (package-version gnome-shell))
5113 (source #f)
5114 (build-system trivial-build-system)
5115 (arguments '(#:builder (mkdir %output)))
5116 (propagated-inputs
5117 ;; TODO: Add more packages according to:
5118 ;; <https://packages.debian.org/jessie/gnome-core>.
5119 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 5120 ("baobab" ,baobab)
0bd3597b 5121 ("font-cantarell" ,font-cantarell)
dc050251
SB
5122 ("at-spi2-core" ,at-spi2-core)
5123 ("dbus" ,dbus)
5124 ("dconf" ,dconf)
72360453 5125 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
5126 ("eog" ,eog)
5127 ("epiphany" ,epiphany)
5128 ("evince" ,evince)
71d9b980 5129 ("file-roller" ,file-roller)
dc050251
SB
5130 ("gedit" ,gedit)
5131 ("glib-networking" ,glib-networking)
05f651c4 5132 ("gnome-backgrounds" ,gnome-backgrounds)
dc050251
SB
5133 ("gnome-control-center" ,gnome-control-center)
5134 ("gnome-keyring" ,gnome-keyring)
5135 ("gnome-session" ,gnome-session)
5136 ("gnome-settings-daemon" ,gnome-settings-daemon)
5137 ("gnome-shell" ,gnome-shell)
5138 ("gnome-terminal" ,gnome-terminal)
5139 ("gnome-themes-standard" ,gnome-themes-standard)
05f651c4 5140 ("gvfs" ,gvfs)
dc050251
SB
5141 ("hicolor-icon-theme" ,hicolor-icon-theme)
5142 ("nautilus" ,nautilus)
69308043 5143 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
5144 ("pulseaudio" ,pulseaudio)
5145 ("shared-mime-info" ,shared-mime-info)
5146 ("totem" ,totem)
5147 ("yelp" ,yelp)
5148 ("zenity" ,zenity)))
fe4e698d 5149 (synopsis "The GNU desktop environment")
dc050251
SB
5150 (home-page "https://www.gnome.org/")
5151 (description
fe4e698d
LC
5152 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5153applications for browsing the web, editing text and images, creating
5154documents and diagrams, playing media, scanning, and much more.")
dc050251 5155 (license license:gpl2+)))
4a526711
DT
5156
5157(define-public byzanz
5158 ;; The last stable release of Byzanz was in 2011, but there have been many
5159 ;; useful commits made to the Byzanz repository since then that it would be
5160 ;; silly to use such an old release.
5161 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5162 (package
5163 (name "byzanz")
5164 (version (string-append "0.2-1." (string-take commit 7)))
5165 (source (origin
5166 (method git-fetch)
5167 (uri (git-reference
5168 (url "git://git.gnome.org/byzanz")
5169 (commit commit)))
5170 (sha256
5171 (base32
5172 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5173 (build-system glib-or-gtk-build-system)
5174 (arguments
5175 '(#:phases
5176 (modify-phases %standard-phases
5177 (add-after 'unpack 'bootstrap
5178 (lambda _
5179 ;; The build system cleverly detects that we're not building from
5180 ;; a release tarball and turns on -Werror for GCC.
5181 ;; Unsurprisingly, there is a warning during compilation that
5182 ;; causes the build to fail unnecessarily, so we remove the flag.
5183 (substitute* '("configure.ac")
5184 (("-Werror") ""))
5185 ;; The autogen.sh script in gnome-common will run ./configure
5186 ;; by default, which is problematic because source shebangs
5187 ;; have not yet been patched.
5188 (setenv "NOCONFIGURE" "t")
5189 (zero? (system* "sh" "autogen.sh")))))))
5190 (native-inputs
5191 `(("autoconf" ,autoconf)
5192 ("automake" ,automake)
5193 ("gnome-common" ,gnome-common)
5194 ("intltool" ,intltool)
5195 ("libtool" ,libtool)
5196 ("pkg-config" ,pkg-config)
5197 ("which" ,which)))
5198 (inputs
5199 `(("glib" ,glib)
5200 ("gstreamer" ,gstreamer)
5201 ("gst-plugins-base" ,gst-plugins-base)
5202 ("gtk+" ,gtk+)))
5203 (synopsis "Desktop recording program")
5204 (description "Byzanz is a simple desktop recording program with a
5205command-line interface. It can record part or all of an X display for a
5206specified duration and save it as a GIF encoded animated image file.")
5207 (home-page "https://git.gnome.org/browse/byzanz")
5208 (license license:gpl2+))))
3a9a4c51
RS
5209
5210(define-public libzapojit
5211 (package
5212 (name "libzapojit")
5213 (version "0.0.3")
5214 (source (origin
5215 (method url-fetch)
5216 (uri (string-append "mirror://gnome/sources/" name "/"
5217 (version-major+minor version) "/"
5218 name "-" version ".tar.xz"))
5219 (sha256
5220 (base32
5221 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5222 (build-system gnu-build-system)
5223 (native-inputs
5224 `(("gobject-introspection" ,gobject-introspection)
5225 ("intltool" ,intltool)
5226 ("pkg-config" ,pkg-config)))
5227 (inputs
5228 `(("gnome-online-accounts" ,gnome-online-accounts)
5229 ("json-glib" ,json-glib)
5230 ("rest" ,rest)))
5231 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5232 (synopsis "Library for accessing SkyDrive and Hotmail")
5233 (description
5234 "Libzapojit is a GLib-based library for accessing online service APIs of
5235Microsoft SkyDrive and Hotmail, using their REST protocols.")
5236 (license license:lgpl2.1+)))
9365ee1c 5237
3c474897
KY
5238(define-public gnome-calendar
5239 (package
5240 (name "gnome-calendar")
4b8aae41 5241 (version "3.22.2")
3c474897
KY
5242 (source (origin
5243 (method url-fetch)
5244 (uri (string-append "mirror://gnome/sources/" name "/"
5245 (version-major+minor version) "/"
5246 name "-" version ".tar.xz"))
5247 (sha256
5248 (base32
4b8aae41 5249 "03wivk7hbyqrqcrd7jg0m2xj6q13248la2184qkf7zncnj72g5ih"))))
3c474897
KY
5250 (build-system glib-or-gtk-build-system)
5251 (native-inputs
5252 `(("intltool" ,intltool)
5253 ("pkg-config" ,pkg-config)))
5254 (inputs
5255 `(("bdb" ,bdb)
5256 ("desktop-file-utils" ,desktop-file-utils)
5257 ("evolution-data-server" ,evolution-data-server)
4b8aae41
MW
5258 ("gnome-online-accounts" ,gnome-online-accounts)
5259 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3c474897
KY
5260 (home-page "https://wiki.gnome.org/Apps/Calendar")
5261 (synopsis "GNOME's calendar application")
5262 (description
5263 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5264desktop. It supports multiple calendars, monthly view and yearly view.")
5265 (license license:gpl3+)))
5266
ab179eaf
SB
5267(define-public gnome-dictionary
5268 (package
5269 (name "gnome-dictionary")
5270 (version "3.20.0")
5271 (source (origin
5272 (method url-fetch)
5273 (uri (string-append "mirror://gnome/sources/" name "/"
5274 (version-major+minor version) "/"
5275 name "-" version ".tar.xz"))
5276 (sha256
5277 (base32
5278 "08b1f5s5aqka3dwxnzmwr2fmyddjm9xw7zmqsf8r5zvfsivn7czg"))))
5279 (build-system glib-or-gtk-build-system)
5280 (native-inputs
5281 `(("glib:bin" ,glib "bin")
5282 ("gobject-introspection" ,gobject-introspection)
5283 ("intltool" ,intltool)
5284 ("itstool" ,itstool)
5285 ("pkg-config" ,pkg-config)
5286 ("xmllint" ,libxml2)))
5287 (inputs
5288 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5289 ("gtk+" ,gtk+)))
5290 (home-page "https://wiki.gnome.org/Apps/Dictionary")
5291 (synopsis "Look up words in dictionary sources")
5292 (description
5293 "GNOME Dictionary can look for the definition or translation of a word in
5294existing databases over the internet.")
5295 (license license:gpl3+)))
5296
9365ee1c
JN
5297(define-public gnome-tweak-tool
5298 (package
5299 (name "gnome-tweak-tool")
f169ad10 5300 (version "3.22.0")
9365ee1c
JN
5301 (source (origin
5302 (method url-fetch)
5303 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5304 (version-major+minor version) "/"
5305 "gnome-tweak-tool-" version ".tar.xz"))
5306 (patches (list
5307 (search-patch "gnome-tweak-tool-search-paths.patch")))
5308 (sha256
5309 (base32
f169ad10 5310 "1frs16p2284mdw65g1ldmf9cz5sn3rg16wz58gjrw5pn2cgf2six"))))
7ef335b0 5311 (build-system glib-or-gtk-build-system)
9365ee1c
JN
5312 (arguments
5313 `(#:configure-flags '("--localstatedir=/tmp"
5314 "--sysconfdir=/tmp")
5315 #:imported-modules ((guix build python-build-system)
7ef335b0 5316 ,@%glib-or-gtk-build-system-modules)
9365ee1c 5317 #:phases (modify-phases %standard-phases
9af6bce1
CB
5318 (add-after 'install 'wrap-program
5319 (lambda* (#:key outputs #:allow-other-keys)
5320 (let ((out (assoc-ref outputs "out"))
5321 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5322 (wrap-program (string-append out "/bin/gnome-tweak-tool")
5323 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5324 #t))
9365ee1c
JN
5325 (add-after 'install 'wrap
5326 (@@ (guix build python-build-system) wrap)))))
5327 (native-inputs
5328 `(("intltool" ,intltool)
5329 ("pkg-config" ,pkg-config)))
5330 (inputs
5331 `(("python" ,python-2)
adb41527 5332 ("python2-pygobject" ,python2-pygobject)
fab2784d
CB
5333 ("gnome-desktop" ,gnome-desktop)
5334 ("libsoup" ,libsoup)
adb41527 5335 ("libnotify" ,libnotify)
9365ee1c
JN
5336 ("gobject-introspection" ,gobject-introspection)
5337 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5338 ("gtk+" ,gtk+)))
5339 (synopsis "Customize advanced GNOME 3 options")
5340 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5341 (description
5342 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5343GNOME 3. This includes things like the fonts used in user interface elements,
5344alternative user interface themes, changes in window management behavior,
5345GNOME Shell appearance and extension, etc.")
5346 (license license:gpl3+)))
813f814a 5347
32ac717c
DT
5348(define-public gnome-shell-extensions
5349 (package
5350 (name "gnome-shell-extensions")
5351 (version "3.20.1")
5352 (source (origin
5353 (method url-fetch)
5354 (uri (string-append "mirror://gnome/sources/" name "/"
5355 (version-major+minor version) "/"
5356 name "-" version ".tar.xz"))
5357 (sha256
5358 (base32
5359 "18rr55krnqx1nzrzlj6kfzh4n67f3crakmwh28rr95y7cg0jwhxw"))))
5360 (build-system gnu-build-system)
5361 (arguments
5362 '(#:configure-flags '("--enable-extensions=all")))
5363 (native-inputs
5364 `(("intltool" ,intltool)
5365 ("pkg-config" ,pkg-config)))
5366 (propagated-inputs
5367 `(("glib" ,glib)
5368 ("glib" ,glib "bin")))
5369 (synopsis "Extensions for GNOME Shell")
5370 (description "GNOME Shell extensions modify and extend GNOME Shell
5371functionality and behavior.")
5372 (home-page "https://extensions.gnome.org/")
5373 (license license:gpl3+)))
5374
813f814a
DT
5375(define-public arc-theme
5376 (package
5377 (name "arc-theme")
b1251a2f 5378 (version "20161119")
813f814a
DT
5379 (source (origin
5380 (method url-fetch)
5381 (uri (string-append "https://github.com/horst3180/arc-theme"
5382 "/archive/" version ".tar.gz"))
5383 (file-name (string-append name "-" version ".tar.gz"))
5384 (sha256
5385 (base32
b1251a2f 5386 "1kbhaxmydyip3vdw4kf8rk776jcd9wf0w7z6h2i4naxdn4rsnw54"))))
813f814a
DT
5387 (build-system gnu-build-system)
5388 (arguments
5389 '(#:phases
5390 (modify-phases %standard-phases
5391 (add-after 'unpack 'bootstrap
5392 (lambda _
5393 (zero? (system* "autoreconf" "-vif")))))))
5394 (native-inputs
5395 `(("autoconf" ,autoconf)
5396 ("automake" ,automake)
5397 ("pkg-config" ,pkg-config)))
5398 (inputs
5399 `(("gtk+" ,gtk+)))
5400 (synopsis "A flat GTK+ theme with transparent elements")
5401 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
54022, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5403like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5404 (home-page "https://github.com/horst3180/arc-theme")
5405 ;; No "or later" language found.
5406 (license license:gpl3)))
9987c57c
DT
5407
5408(define-public moka-icon-theme
5409 (package
5410 (name "moka-icon-theme")
5411 (version "5.3.1")
5412 (source (origin
5413 (method url-fetch)
5414 (uri (string-append "https://github.com/moka-project"
5415 "/moka-icon-theme/archive/v"
5416 version ".tar.gz"))
5417 (file-name (string-append name "-" version ".tar.gz"))
5418 (sha256
5419 (base32
5420 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5421 (build-system gnu-build-system)
5422 (arguments
5423 '(#:phases
5424 (modify-phases %standard-phases
5425 (add-after 'unpack 'patch-makefile.am
5426 (lambda _
5427 (substitute* '("Makefile.am")
5428 (("\\$\\(DESTDIR\\)/usr/share")
5429 "$(datadir)"))
5430 #t))
5431 (add-after 'patch-makefile.am 'bootstrap
5432 (lambda _
5433 (zero? (system* "autoreconf" "-vif")))))))
5434 (native-inputs
5435 `(("autoconf" ,autoconf)
5436 ("automake" ,automake)))
5437 (synopsis "Moka icon theme")
5438 (description "Moka is a stylized desktop icon set, designed to be clear,
5439simple and consistent.")
5440 (home-page "http://snwh.org/moka")
5441 (license license:gpl3+)))
6fd8f8d6
DT
5442
5443(define-public arc-icon-theme
5444 (package
5445 (name "arc-icon-theme")
5446 (version "20160605")
5447 (source (origin
5448 (method url-fetch)
5449 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5450 "/archive/" version ".tar.gz"))
5451 (file-name (string-append name "-" version ".tar.gz"))
5452 (sha256
5453 (base32
5454 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5455 (build-system gnu-build-system)
5456 (arguments
5457 '(#:phases
5458 (modify-phases %standard-phases
5459 (add-after 'unpack 'bootstrap
5460 (lambda _
5461 (zero? (system* "autoreconf" "-vif")))))))
5462 (native-inputs
5463 `(("autoconf" ,autoconf)
5464 ("automake" ,automake)))
5465 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5466 (propagated-inputs
5467 `(("moka-icon-theme" ,moka-icon-theme)))
5468 (synopsis "Arc icon theme")
5469 (description "The Arc icon theme provides a set of icons matching the
5470style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5471the Moka icon theme.")
5472 (home-page "https://github.com/horst3180/arc-icon-theme")
5473 (license license:gpl3+)))
6064a4e8
LF
5474
5475(define-public folks
5476 (package
5477 (name "folks")
5478 (version "0.11.2")
5479 (source (origin
5480 (method url-fetch)
5481 (uri (string-append
5482 "mirror://gnome/sources/" name "/"
5483 (version-major+minor version) "/"
5484 name "-" version ".tar.xz"))
5485 (sha256
5486 (base32
5487 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
5488 (build-system glib-or-gtk-build-system)
5489 (inputs
5490 `(("bdb" ,bdb)
5491 ("dbus-glib" ,dbus-glib)
5492 ("evolution-data-server" ,evolution-data-server)
5493 ("glib" ,glib)
5494 ("libgee" ,libgee)
5495 ("telepathy-glib" ,telepathy-glib)))
5496 (native-inputs
5497 `(("gobject-introspection" ,gobject-introspection)
5498 ("intltool" ,intltool)
5499 ("pkg-config" ,pkg-config)
5500 ("vala" ,vala)))
5501 (synopsis "Library to aggregate data about people")
5502 (description "Libfolks is a library that aggregates information about people
5503from multiple sources (e.g., Telepathy connection managers for IM contacts,
5504Evolution Data Server for local contacts, libsocialweb for web service contacts,
5505etc.) to create metacontacts. It's written in Vala, which generates C code when
5506compiled.")
5507 (home-page "https://wiki.gnome.org/Projects/Folks")
5508 (license license:lgpl2.1+)))
01ea778f
LF
5509
5510(define-public gfbgraph
5511 (package
5512 (name "gfbgraph")
5513 (version "0.2.3")
5514 (source (origin
5515 (method url-fetch)
5516 (uri (string-append
5517 "mirror://gnome/sources/" name "/"
5518 (version-major+minor version) "/"
5519 name "-" version ".tar.xz"))
5520 (sha256
5521 (base32
5522 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
5523 (build-system glib-or-gtk-build-system)
5524 (arguments
5525 `(#:tests? #f ; Tests appear to require the network.
5526 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
5527 #:configure-flags '("--disable-gtk-doc"
5528 "--disable-static"
5529 "--enable-introspection")))
5530 (native-inputs
5531 `(("pkg-config" ,pkg-config)
5532 ("gobject-introspection" ,gobject-introspection)))
5533 (inputs
5534 `(("json-glib" ,json-glib)
5535 ("gnome-online-accounts" ,gnome-online-accounts)
5536 ("rest" ,rest)))
5537 (synopsis "GLib/GObject wrapper for the Facebook API")
5538 (description "This library allows you to use the Facebook API from
5539GLib/GObject code.")
5540 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
5541 (license license:lgpl2.1+)))
3920868c 5542
5543(define-public libgnomekbd
5544 (package
5545 (name "libgnomekbd")
0abc6634 5546 (version "3.22.0")
3920868c 5547 (source (origin
5548 (method url-fetch)
5549 (uri (string-append "mirror://gnome/sources/" name "/"
5550 (version-major+minor version) "/"
5551 name "-" version ".tar.xz"))
5552 (sha256
5553 (base32
0abc6634 5554 "1pvpbljvxc0riamraiflnm05dpb6i4vlmqqgdh74xggbpzd302rl"))))
3920868c 5555 (build-system gnu-build-system)
5556 (native-inputs
5557 `(("pkg-config" ,pkg-config)
5558 ("glib" ,glib "bin")
5559 ("intltool" ,intltool)))
5560 (propagated-inputs
5561 ;; Referred to in .h files and .pc.
5562 `(("glib" ,glib)
5563 ("gtk+" ,gtk+)
5564 ("libxklavier" ,libxklavier)))
5565 (home-page "https://www.gnome.org")
5566 (synopsis "GNOME keyboard configuration library")
5567 (description
5568 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
5569environment, which can notably display keyboard layouts.")
5570 (license license:lgpl2.0+)))
85327d0d 5571
5572;;; This package is no longer maintained:
5573;;; https://wiki.gnome.org/Attic/LibUnique
5574;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
5575;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
5576(define-public libunique
5577 (package
5578 (name "libunique")
5579 (version "3.0.2")
5580 (source (origin
5581 (method url-fetch)
5582 (uri (string-append "mirror://gnome/sources/" name "/"
5583 (version-major+minor version) "/"
5584 name "-" version ".tar.xz"))
5585 (sha256
5586 (base32
5587 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
5588 (build-system glib-or-gtk-build-system)
5589 (arguments
5590 `(#:configure-flags '("--disable-static"
5591 "--disable-dbus" ; use gdbus
5592 "--enable-introspection")))
5593 (native-inputs
5594 `(("pkg-config" ,pkg-config)
5595 ("gobject-introspection" ,gobject-introspection)
5596 ("glib:bin" ,glib "bin")
5597 ("gtk-doc" ,gtk-doc)))
5598 (propagated-inputs
5599 ;; Referred to in .h files and .pc.
5600 `(("gtk+" ,gtk+)))
5601 (home-page "https://wiki.gnome.org/Attic/LibUnique")
5602 (synopsis "Library for writing single instance applications")
5603 (description
5604 "Libunique is a library for writing single instance applications. If you
5605launch a single instance application twice, the second instance will either just
5606quit or will send a message to the running instance. Libunique makes it easy to
5607write this kind of application, by providing a base class, taking care of all
5608the IPC machinery needed to send messages to a running instance, and also
5609handling the startup notification side.")
5610 (license license:lgpl2.1+)))
54021cd8
RS
5611
5612(define-public gnome-calculator
5613 (package
5614 (name "gnome-calculator")
de7da4e5 5615 (version "3.22.2")
54021cd8
RS
5616 (source
5617 (origin
5618 (method url-fetch)
5619 (uri (string-append "mirror://gnome/sources/" name "/"
5620 (version-major+minor version) "/"
5621 name "-" version ".tar.xz"))
5622 (sha256
5623 (base32
de7da4e5 5624 "03il7xl4yr6xbzj6x1lbl16yzlb166c9h9wny1w7mj9dccnz99wr"))))
54021cd8
RS
5625 (build-system glib-or-gtk-build-system)
5626 (native-inputs
5627 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5628 ("intltool" ,intltool)
5629 ("itstool" ,itstool)
5630 ("pkg-config" ,pkg-config)))
5631 (inputs
5632 `(("gtksourceview" ,gtksourceview)
5633 ("libsoup" ,libsoup)
5634 ("mpfr" ,mpfr)))
5635 (home-page "https://wiki.gnome.org/Apps/Calculator")
5636 (synopsis "Desktop calculator")
5637 (description
5638 "Calculator is an application that solves mathematical equations and
5639is suitable as a default application in a Desktop environment.")
5640 (license license:gpl3)))
0bd69759
RS
5641
5642(define-public xpad
5643 (package
5644 (name "xpad")
5645 (version "4.8.0")
5646 (source
5647 (origin
5648 (method url-fetch)
5649 (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/"
5650 name "-" version ".tar.bz2"))
5651 (sha256
5652 (base32
5653 "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"))))
5654 (build-system gnu-build-system)
5655 (native-inputs
5656 `(("intltool" ,intltool)
5657 ("pkg-config" ,pkg-config)))
5658 (inputs
5659 `(("gtk+" ,gtk+)
5660 ("gtksourceview" ,gtksourceview)
5661 ("libsm" ,libsm)))
5662 (home-page "https://wiki.gnome.org/Apps/Xpad")
5663 (synopsis "Virtual sticky note")
5664 (description
5665 "Xpad is a sticky note that strives to be simple, fault tolerant,
5666and customizable. Xpad consists of independent pad windows, each is
5667basically a text box in which notes can be written.")
5668 (license license:gpl3+)))
3ad7dce1
RS
5669
5670(define-public gucharmap
5671 (package
5672 (name "gucharmap")
5673 (version "3.18.0")
5674 (source
5675 (origin
5676 (method url-fetch)
5677 (uri (string-append "mirror://gnome/sources/" name "/"
5678 (version-major+minor version) "/"
5679 name "-" version ".tar.xz"))
5680 (sha256
5681 (base32
5682 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
5683 (build-system gnu-build-system)
5684 (native-inputs
5685 `(("desktop-file-utils" ,desktop-file-utils)
5686 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
5687 ("gobject-introspection" ,gobject-introspection)
5688 ("intltool" ,intltool)
5689 ("itstool" ,itstool)
5690 ("pkg-config" ,pkg-config)))
5691 (inputs
5692 `(("gtk+" ,gtk+)
5693 ("xmllint" ,libxml2)))
5694 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
5695 (synopsis "Unicode character picker and font browser")
5696 (description
5697 "This program allows you to browse through all the available Unicode
5698characters and categories for the installed fonts, and to examine their
5699detailed properties. It is an easy way to find the character you might
5700only know by its Unicode name or code point.")
5701 (license license:gpl3+)))
04ce840a
RS
5702
5703(define-public bluefish
5704 (package
5705 (name "bluefish")
5706 (version "2.2.9")
5707 (source
5708 (origin
5709 (method url-fetch)
5710 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
5711 name "-" version ".tar.gz"))
5712 (sha256
5713 (base32
5714 "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"))))
5715 (build-system gnu-build-system)
5716 (native-inputs
5717 `(("desktop-file-utils" ,desktop-file-utils)
5718 ("intltool" ,intltool)
5719 ("pkg-config" ,pkg-config)))
5720 (inputs
5721 `(("enchant" ,enchant)
5722 ("gtk+" ,gtk+)
5723 ("python" ,python-2)
5724 ("xmllint" ,libxml2)
5725 ("gucharmap" ,gucharmap)))
5726 (home-page "http://bluefish.openoffice.nl")
5727 (synopsis "Web development studio")
5728 (description
5729 "Bluefish is an editor targeted towards programmers and web developers,
5730with many options to write web sites, scripts and other code.
5731Bluefish supports many programming and markup languages.")
5732 (license license:gpl3+)))
1f6a73ee
RS
5733
5734(define-public gnome-system-monitor
5735 (package
5736 (name "gnome-system-monitor")
acc5b65e 5737 (version "3.22.2")
1f6a73ee
RS
5738 (source
5739 (origin
5740 (method url-fetch)
5741 (uri (string-append "mirror://gnome/sources/" name "/"
5742 (version-major+minor version) "/"
5743 name "-" version ".tar.xz"))
5744 (sha256
5745 (base32
acc5b65e 5746 "10n9bl2q9xxnd6mfi4scfw5x0xyyzvnblz26q9gl8vks2nbv19b8"))))
1f6a73ee
RS
5747 (build-system glib-or-gtk-build-system)
5748 (native-inputs
5749 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
5750 ("intltool" ,intltool)
5751 ("itstool" ,itstool)
5752 ("libgtop" ,libgtop)
5753 ("pkg-config" ,pkg-config)))
5754 (inputs
5755 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
5756 ("gtk+" ,gtk+)
5757 ("gtkmm" ,gtkmm)
5758 ("librsvg" ,librsvg)
5759 ("libxml2" ,libxml2)))
5760 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
5761 (synopsis "Process viewer and system resource monitor for GNOME")
5762 (description
5763 "GNOME System Monitor is a GNOME process viewer and system monitor with
5764an attractive, easy-to-use interface. It has features, such as a tree view
5765for process dependencies, icons for processes, the ability to hide processes,
5766graphical time histories of CPU/memory/swap usage and the ability to
5767kill/reinice processes.")
5768 (license license:gpl2+)))