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