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