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