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