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