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