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