gnu: Add envstore.
[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 texlive)
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 (arguments
1825 '(#:configure-flags '("--disable-python")))
1826 (native-inputs
1827 `(("pkg-config" ,pkg-config)
1828 ("intltool" ,intltool)
1829 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1830 (propagated-inputs
1831 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1832 ("ncurses" ,ncurses))))) ; required by libvte.la
1833
1834 (define-public dconf
1835 (package
1836 (name "dconf")
1837 (version "0.26.0")
1838 (source (origin
1839 (method url-fetch)
1840 (uri (string-append
1841 "mirror://gnome/sources/" name "/"
1842 (version-major+minor version) "/"
1843 name "-" version ".tar.xz"))
1844 (sha256
1845 (base32
1846 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
1847 (build-system glib-or-gtk-build-system)
1848 (inputs
1849 `(("gtk+" ,gtk+)
1850 ("glib" ,glib)
1851 ("dbus" ,dbus)
1852 ("libxml2" ,libxml2)))
1853 (native-inputs
1854 `(("libxslt" ,libxslt)
1855 ("docbook-xml" ,docbook-xml-4.2)
1856 ("docbook-xsl" ,docbook-xsl)
1857 ("intltool" ,intltool)
1858 ("pkg-config" ,pkg-config)))
1859 (arguments
1860 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1861 ; or /etc/machine-id.
1862 #:configure-flags
1863 ;; Set the correct RUNPATH in binaries.
1864 (list (string-append "LDFLAGS=-Wl,-rpath="
1865 (assoc-ref %outputs "out") "/lib")
1866 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1867 #:phases
1868 (alist-cons-before
1869 'configure 'fix-docbook
1870 (lambda* (#:key inputs #:allow-other-keys)
1871 (substitute* "docs/Makefile.in"
1872 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1873 (string-append (assoc-ref inputs "docbook-xsl")
1874 "/xml/xsl/docbook-xsl-"
1875 ,(package-version docbook-xsl)
1876 "/manpages/docbook.xsl")))
1877 (setenv "XML_CATALOG_FILES"
1878 (string-append (assoc-ref inputs "docbook-xml")
1879 "/xml/dtd/docbook/catalog.xml")))
1880 %standard-phases)))
1881 (home-page "https://developer.gnome.org/dconf")
1882 (synopsis "Low-level GNOME configuration system")
1883 (description "Dconf is a low-level configuration system. Its main purpose
1884 is to provide a backend to GSettings on platforms that don't already have
1885 configuration storage systems.")
1886 (license license:lgpl2.1)))
1887
1888 (define-public json-glib
1889 (package
1890 (name "json-glib")
1891 (version "1.2.0")
1892 (source (origin
1893 (method url-fetch)
1894 (uri (string-append "mirror://gnome/sources/" name "/"
1895 (version-major+minor version) "/"
1896 name "-" version ".tar.xz"))
1897 (sha256
1898 (base32
1899 "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr"))
1900 (modules '((guix build utils)))
1901 (snippet
1902 ;; Don't duplicate test names.
1903 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1904 '(substitute* "json-glib/tests/builder.c"
1905 (("\"/builder/complex\", test_builder_empty")
1906 "\"/builder/empty\", test_builder_empty")))))
1907 (build-system gnu-build-system)
1908 (native-inputs
1909 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
1910 ("gobject-introspection" ,gobject-introspection)
1911 ("pkg-config" ,pkg-config)))
1912 (propagated-inputs
1913 `(("glib" ,glib))) ;according to json-glib-1.0.pc
1914 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1915 (synopsis "Compiler for the GObject type system")
1916 (description
1917 "JSON-GLib is a C library based on GLib providing serialization and
1918 deserialization support for the JavaScript Object Notation (JSON) format
1919 described by RFC 4627. It provides parser and generator GObject classes and
1920 various wrappers for the complex data types employed by JSON, such as arrays
1921 and objects.")
1922 (license license:lgpl2.1+)))
1923
1924 (define-public libxklavier
1925 (package
1926 (name "libxklavier")
1927 (version "5.3")
1928 (source (origin
1929 (method url-fetch)
1930 (uri (string-append "mirror://gnome/sources/" name "/"
1931 version "/" name "-" version ".tar.xz"))
1932 (sha256
1933 (base32
1934 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1935 (build-system gnu-build-system)
1936 (arguments
1937 '(#:configure-flags
1938 (list (string-append "--with-xkb-base="
1939 (assoc-ref %build-inputs "xkeyboard-config")
1940 "/share/X11/xkb"))))
1941 (native-inputs
1942 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1943 ("gobject-introspection" ,gobject-introspection)
1944 ("pkg-config" ,pkg-config)))
1945 (propagated-inputs
1946 ;; Required by libxklavier.pc.
1947 `(("glib" ,glib)
1948 ("libxml2" ,libxml2)))
1949 (inputs
1950 `(("iso-codes" ,iso-codes)
1951 ("libxi" ,libxi)
1952 ("libxkbfile" ,libxkbfile)
1953 ("xkbcomp" ,xkbcomp)
1954 ("xkeyboard-config" ,xkeyboard-config)))
1955 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1956 (synopsis "High-level API for X Keyboard Extension")
1957 (description
1958 "LibXklavier is a library providing high-level API for X Keyboard
1959 Extension known as XKB. This library is intended to support XFree86 and other
1960 commercial X servers. It is useful for creating XKB-related software (layout
1961 indicators etc).")
1962 (license license:lgpl2.0+)))
1963
1964 (define-public python2-rsvg
1965 ;; XXX: This is actually a subset of gnome-python-desktop.
1966 (package
1967 (name "python2-rsvg")
1968 (version "2.32.0")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append
1973 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1974 version ".tar.bz2"))
1975 (sha256
1976 (base32
1977 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1978 (build-system gnu-build-system)
1979 (native-inputs
1980 `(("pkg-config" ,pkg-config)))
1981 (inputs
1982 `(("python" ,python-2)
1983 ("python2-pygtk" ,python2-pygtk)
1984 ("librsvg" ,librsvg)))
1985 (home-page "http://www.gnome.org")
1986 (synopsis "Python bindings to librsvg")
1987 (description
1988 "This packages provides Python bindings to librsvg, the SVG rendering
1989 library.")
1990
1991 ;; This is the license of the rsvg bindings. The license of each module
1992 ;; of gnome-python-desktop is given in 'COPYING'.
1993 (license license:lgpl2.1+)))
1994
1995 (define-public glib-networking
1996 (package
1997 (name "glib-networking")
1998 (version "2.48.1")
1999 (source (origin
2000 (method url-fetch)
2001 (uri (string-append "mirror://gnome/sources/glib-networking/"
2002 (version-major+minor version) "/"
2003 name "-" version ".tar.xz"))
2004 (sha256
2005 (base32
2006 "0jm4pr91kbq7rcyll08840zkagb9vfhhm2ymyrd1q0b0k2mj76fg"))
2007 (patches
2008 (search-patches "glib-networking-ssl-cert-file.patch"))))
2009 (build-system gnu-build-system)
2010 (arguments
2011 `(#:configure-flags
2012 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2013 #:phases
2014 (modify-phases %standard-phases
2015 (add-before 'configure 'patch-giomoduledir
2016 ;; Install GIO modules into $out/lib/gio/modules.
2017 (lambda _
2018 (substitute* "configure"
2019 (("GIO_MODULE_DIR=.*")
2020 (string-append "GIO_MODULE_DIR=" %output
2021 "/lib/gio/modules\n")))))
2022 (add-before 'check 'use-empty-ssl-cert-file
2023 (lambda _
2024 ;; The ca-certificates.crt is not available in the build
2025 ;; environment.
2026 (setenv "SSL_CERT_FILE" "/dev/null")
2027 #t)))))
2028 (native-inputs
2029 `(("pkg-config" ,pkg-config)
2030 ("intltool" ,intltool)))
2031 (inputs
2032 `(("glib" ,glib)
2033 ("gnutls" ,gnutls)
2034 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2035 ("p11-kit" ,p11-kit)))
2036 (home-page "http://www.gnome.org")
2037 (synopsis "Network-related GIO modules")
2038 (description
2039 "This package contains various network related extensions for the GIO
2040 library.")
2041 (license license:lgpl2.0+)))
2042
2043 (define-public rest
2044 (package
2045 (name "rest")
2046 (version "0.8.0")
2047 (source (origin
2048 (method url-fetch)
2049 (uri (string-append "mirror://gnome/sources/rest/"
2050 (version-major+minor version) "/"
2051 name "-" version ".tar.xz"))
2052 (sha256
2053 (base32
2054 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
2055 (build-system gnu-build-system)
2056 (arguments
2057 '(#:tests? #f ; tests require internet connection
2058 #:configure-flags
2059 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2060 (native-inputs
2061 `(("glib-mkenums" ,glib "bin")
2062 ("gobject-introspection" ,gobject-introspection)
2063 ("pkg-config" ,pkg-config)))
2064 (propagated-inputs
2065 ;; rest-0.7.pc refers to all these.
2066 `(("glib" ,glib)
2067 ("libsoup" ,libsoup)
2068 ("libxml2" ,libxml2)))
2069 (home-page "http://www.gtk.org/")
2070 (synopsis "RESTful web api query library")
2071 (description
2072 "This library was designed to make it easier to access web services that
2073 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2074 libxml to ease remote use of the RESTful API.")
2075 (license license:lgpl2.1+)))
2076
2077 (define-public libsoup
2078 (package
2079 (name "libsoup")
2080 (version "2.54.1")
2081 (source (origin
2082 (method url-fetch)
2083 (uri (string-append "mirror://gnome/sources/libsoup/"
2084 (version-major+minor version) "/"
2085 name "-" version ".tar.xz"))
2086 (sha256
2087 (base32
2088 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
2089 (build-system gnu-build-system)
2090 (outputs '("out" "doc"))
2091 (arguments
2092 `(#:configure-flags
2093 (list (string-append "--with-html-dir="
2094 (assoc-ref %outputs "doc")
2095 "/share/gtk-doc/html"))
2096 #:phases
2097 (modify-phases %standard-phases
2098 (add-before 'configure 'disable-unconnected-socket-test
2099 ;; This test fails due to missing /etc/nsswitch.conf
2100 ;; in the build environment.
2101 (lambda _
2102 (substitute* "tests/socket-test.c"
2103 ((".*/sockets/unconnected.*") ""))
2104 #t))
2105 (add-before 'check 'pre-check
2106 (lambda _
2107 ;; The 'check-local' target runs 'env LANG=C sort -u',
2108 ;; unset 'LC_ALL' to make 'LANG' working.
2109 (unsetenv "LC_ALL")
2110 ;; The ca-certificates.crt is not available in the build
2111 ;; environment.
2112 (setenv "SSL_CERT_FILE" "/dev/null")
2113 #t))
2114 (replace 'install
2115 (lambda _
2116 (zero?
2117 (system* "make"
2118 ;; Install vala bindings into $out.
2119 (string-append "vapidir=" %output
2120 "/share/vala/vapi")
2121 "install")))))))
2122 (native-inputs
2123 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2124 ("gobject-introspection" ,gobject-introspection)
2125 ("intltool" ,intltool)
2126 ("pkg-config" ,pkg-config)
2127 ("python" ,python-wrapper)
2128 ("vala" ,vala)
2129 ;; These are needed for the tests.
2130 ;; FIXME: Add PHP once available.
2131 ("curl" ,curl)
2132 ("httpd" ,httpd)))
2133 (propagated-inputs
2134 ;; libsoup-2.4.pc refers to all these.
2135 `(("glib" ,glib)
2136 ("libxml2" ,libxml2)))
2137 (inputs
2138 `(("glib-networking" ,glib-networking)
2139 ("sqlite" ,sqlite)))
2140 (home-page "https://live.gnome.org/LibSoup/")
2141 (synopsis "GLib-based HTTP Library")
2142 (description
2143 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2144 and the GLib main loop, to integrate well with GNOME applications.")
2145 (license license:lgpl2.0+)))
2146
2147 (define-public libsecret
2148 (package
2149 (name "libsecret")
2150 (version "0.18.5")
2151 (source (origin
2152 (method url-fetch)
2153 (uri (string-append
2154 "mirror://gnome/sources/libsecret/"
2155 (version-major+minor version) "/"
2156 name "-" version ".tar.xz"))
2157 (sha256
2158 (base32
2159 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
2160 (build-system gnu-build-system)
2161 (outputs '("out" "doc"))
2162 (arguments
2163 `(#:tests? #f ; FIXME: Testing hangs.
2164 #:configure-flags
2165 (list (string-append "--with-html-dir="
2166 (assoc-ref %outputs "doc")
2167 "/share/gtk-doc/html"))))
2168 (native-inputs
2169 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2170 ("gobject-introspection" ,gobject-introspection)
2171 ("intltool" ,intltool)
2172 ("pkg-config" ,pkg-config)
2173 ("vala" ,vala)
2174 ("xsltproc" ,libxslt)))
2175 ;; These are needed for the tests.
2176 ;; FIXME: Add gjs once available.
2177 ;("dbus" ,dbus)
2178 ;("python2" ,python-2)
2179 ;("python2-dbus" ,python2-dbus)
2180 ;("python2-pygobject" ,python2-pygobject)
2181 ;("python2-pygobject-2" ,python2-pygobject-2)))
2182 (propagated-inputs
2183 `(("glib" ,glib))) ; required by libsecret-1.pc
2184 (inputs
2185 `(("docbook-xsl" ,docbook-xsl)
2186 ("libgcrypt" ,libgcrypt)
2187 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2188 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2189 (synopsis "GObject bindings for \"Secret Service\" API")
2190 (description
2191 "Libsecret is a GObject based library for storing and retrieving passwords
2192 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2193 (license license:lgpl2.1+)))
2194
2195 (define-public gnome-mines
2196 (package
2197 (name "gnome-mines")
2198 (version "3.20.0")
2199 (source
2200 (origin
2201 (method url-fetch)
2202 (uri (string-append "mirror://gnome/sources/" name "/"
2203 (version-major+minor version) "/"
2204 name "-" version ".tar.xz"))
2205 (sha256
2206 (base32
2207 "19khp4ckqbdgk6828gprxy52fsg8klf957dnwsin75nskk8whxbp"))))
2208 (build-system glib-or-gtk-build-system)
2209 (arguments
2210 '(#:phases
2211 (modify-phases %standard-phases
2212 (add-before 'configure 'patch-/bin/true
2213 (lambda _
2214 (substitute* "configure"
2215 (("/bin/true") (which "true"))))))))
2216 (native-inputs
2217 `(("pkg-config" ,pkg-config)
2218 ("desktop-file-utils" ,desktop-file-utils)
2219 ("intltool" ,intltool)
2220 ("itstool" ,itstool)
2221 ("xmllint" ,libxml2)))
2222 (inputs
2223 `(("gtk+" ,gtk+)
2224 ("librsvg" ,librsvg)))
2225 (home-page "https://wiki.gnome.org/Apps/Mines")
2226 (synopsis "Minesweeper game")
2227 (description
2228 "Mines (previously gnomine) is a puzzle game where you locate mines
2229 floating in an ocean using only your brain and a little bit of luck.")
2230 (license license:gpl2+)))
2231
2232 (define-public gnome-sudoku
2233 (package
2234 (name "gnome-sudoku")
2235 (version "3.20.0")
2236 (source
2237 (origin
2238 (method url-fetch)
2239 (uri (string-append "mirror://gnome/sources/" name "/"
2240 (version-major+minor version) "/"
2241 name "-" version ".tar.xz"))
2242 (sha256
2243 (base32
2244 "1n8hp3pl56p9s0c5kldk11zg1vg7ykhgn3ndp8nf375h1q49ldh8"))))
2245 (build-system glib-or-gtk-build-system)
2246 (native-inputs
2247 `(("pkg-config" ,pkg-config)
2248 ("desktop-file-utils" ,desktop-file-utils)
2249 ("intltool" ,intltool)
2250 ("itstool" ,itstool)
2251 ("xmllint" ,libxml2)))
2252 (inputs
2253 `(("gtk+" ,gtk+)
2254 ("json-glib" ,json-glib)
2255 ("libgee" ,libgee)
2256 ("librsvg" ,librsvg)
2257 ("qqwing" ,qqwing)))
2258 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2259 (synopsis "Japanese logic game")
2260 (description
2261 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2262 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2263 possible while still providing features that make playing difficult Sudoku
2264 more fun.")
2265 (license license:gpl2+)))
2266
2267 (define-public gnome-terminal
2268 (package
2269 (name "gnome-terminal")
2270 (version "3.20.1")
2271 (source
2272 (origin
2273 (method url-fetch)
2274 (uri (string-append "mirror://gnome/sources/" name "/"
2275 (version-major+minor version) "/"
2276 name "-" version ".tar.xz"))
2277 (sha256
2278 (base32
2279 "1508nm35znlfq9v1s2j4ypx5x608yq391c565b4hazxk2f5z9dwq"))))
2280 (build-system glib-or-gtk-build-system)
2281 (arguments
2282 '(#:configure-flags
2283 (list "--disable-migration" "--disable-search-provider"
2284 "--without-nautilus-extension")
2285 #:phases
2286 (modify-phases %standard-phases
2287 (add-before 'configure 'patch-/bin/true
2288 (lambda _
2289 (substitute* "configure"
2290 (("/bin/true") (which "true"))))))))
2291 (native-inputs
2292 `(("pkg-config" ,pkg-config)
2293 ("desktop-file-utils" ,desktop-file-utils)
2294 ("intltool" ,intltool)
2295 ("itstool" ,itstool)
2296 ("xmllint" ,libxml2)))
2297 (propagated-inputs
2298 `(("dconf" ,dconf)))
2299 (inputs
2300 `(("gtk+" ,gtk+)
2301 ("vte" ,vte)
2302 ("gnutls" ,gnutls)
2303 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2304 ("util-linux" ,util-linux)
2305 ("vala" ,vala)))
2306 (home-page "https://wiki.gnome.org/Apps/Terminal")
2307 (synopsis "Terminal emulator")
2308 (description
2309 "GNOME Terminal is a terminal emulator application for accessing a
2310 UNIX shell environment which can be used to run programs available on
2311 your system.
2312
2313 It supports several profiles, multiple tabs and implements several
2314 keyboard shortcuts.")
2315 (license license:gpl3+)))
2316
2317 (define-public colord
2318 (package
2319 (name "colord")
2320 (version "1.1.8")
2321 (source
2322 (origin
2323 (method url-fetch)
2324 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2325 name "-" version ".tar.xz"))
2326 (sha256
2327 (base32
2328 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2329 (build-system glib-or-gtk-build-system)
2330 (arguments
2331 '(;; The tests want to run valgrind. Punt for now.
2332 #:tests? #f
2333 #:configure-flags (list "--localstatedir=/var"
2334 ;; GUSB not packaged yet.
2335 "--disable-gusb"
2336 ;; No dep on systemd.
2337 "--disable-systemd-login"
2338 ;; Wants to install to global completion dir;
2339 ;; punt.
2340 "--disable-bash-completion"
2341 ;; colord-gtk not packaged yet.
2342 "--disable-session-example"
2343 "--with-daemon-user=colord"
2344 "--enable-sane"
2345 (string-append "--with-udevrulesdir="
2346 (assoc-ref %outputs "out")
2347 "/lib/udev/rules.d"))
2348 #:phases
2349 (modify-phases %standard-phases
2350 (add-before 'configure 'patch-/bin/true
2351 (lambda _
2352 (substitute* "configure"
2353 (("/bin/true") (which "true")))
2354 (substitute* "src/Makefile.in"
2355 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2356 "if test -w $(DESTDIR)$(localstatedir);")))))))
2357 (native-inputs
2358 `(("pkg-config" ,pkg-config)
2359 ("gobject-introspection" ,gobject-introspection)
2360 ("libtool" ,libtool)
2361 ("intltool" ,intltool)))
2362 (propagated-inputs
2363 ;; colord.pc refers to all these.
2364 `(("glib" ,glib)
2365 ("udev" ,eudev)
2366 ("lcms" ,lcms)))
2367 (inputs
2368 `(("dbus-glib" ,dbus-glib)
2369 ("libgudev" ,libgudev)
2370 ("libusb" ,libusb)
2371 ("sqlite" ,sqlite)
2372 ("polkit" ,polkit)
2373 ("sane-backends" ,sane-backends)))
2374 (home-page "http://www.freedesktop.org/software/colord/")
2375 (synopsis "Color management service")
2376 (description "Colord is a system service that makes it easy to manage,
2377 install and generate color profiles to accurately color manage input and
2378 output devices.")
2379 (license license:gpl2+)))
2380
2381 (define-public geoclue
2382 (package
2383 (name "geoclue")
2384 (version "2.4.3")
2385 (source
2386 (origin
2387 (method url-fetch)
2388 (uri (string-append "https://www.freedesktop.org/software/" name
2389 "/releases/" (version-major+minor version) "/"
2390 name "-" version ".tar.xz"))
2391 (sha256
2392 (base32
2393 "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd"))
2394 (patches (search-patches "geoclue-config.patch"))))
2395 (build-system glib-or-gtk-build-system)
2396 (arguments
2397 '(;; The tests want to run the system bus.
2398 #:tests? #f
2399 #:configure-flags (list ;; Disable bits requiring ModemManager.
2400 "--disable-3g-source"
2401 "--disable-cdma-source"
2402 "--disable-modem-gps-source"
2403 "--with-dbus-service-user=geoclue")
2404 #:phases
2405 (modify-phases %standard-phases
2406 (add-before 'configure 'patch-/bin/true
2407 (lambda _
2408 (substitute* "configure"
2409 (("/bin/true") (which "true"))))))))
2410 (native-inputs
2411 `(("pkg-config" ,pkg-config)
2412 ("intltool" ,intltool)))
2413 (inputs
2414 `(("avahi" ,avahi)
2415 ("glib" ,glib)
2416 ("json-glib" ,json-glib)
2417 ("libsoup" ,libsoup)))
2418 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2419 (synopsis "Geolocation service")
2420 (description "Geoclue is a D-Bus service that provides location
2421 information. The primary goal of the Geoclue project is to make creating
2422 location-aware applications as simple as possible, while the secondary goal is
2423 to ensure that no application can access location information without explicit
2424 permission from user.")
2425 (license license:gpl2+)))
2426
2427 (define-public geocode-glib
2428 (package
2429 (name "geocode-glib")
2430 (version "3.20.1")
2431 (source (origin
2432 (method url-fetch)
2433 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2434 (version-major+minor version) "/"
2435 name "-" version ".tar.xz"))
2436 (sha256
2437 (base32
2438 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2439 (build-system gnu-build-system)
2440 (arguments
2441 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2442 ;; work for the builder. Punt.
2443 #:tests? #f))
2444 (native-inputs
2445 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2446 ("gobject-introspection" ,gobject-introspection)
2447 ("pkg-config" ,pkg-config)
2448 ("json-glib" ,json-glib)))
2449 (propagated-inputs
2450 ;; geocode-glib-1.0.pc refers to GIO.
2451 `(("glib" ,glib)))
2452 (inputs
2453 `(("libsoup" ,libsoup)))
2454 (home-page "https://github.com/GNOME/geocode-glib/")
2455 (synopsis "Geocoding and reverse-geocoding library")
2456 (description
2457 "geocode-glib is a convenience library for geocoding (finding longitude,
2458 and latitude from an address) and reverse geocoding (finding an address from
2459 coordinates) using the Nominatim service. geocode-glib caches requests for
2460 faster results and to avoid unnecessary server load.")
2461 (license license:lgpl2.0+)))
2462
2463 (define-public upower
2464 (package
2465 (name "upower")
2466 (version "0.99.3")
2467 (source (origin
2468 (method url-fetch)
2469 (uri (string-append "https://upower.freedesktop.org/releases/"
2470 name "-" version ".tar.xz"))
2471 (sha256
2472 (base32
2473 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
2474 (patches (search-patches "upower-builddir.patch"))))
2475 (build-system glib-or-gtk-build-system)
2476 (arguments
2477 '( ;; The tests want to contact the system bus, which can't be done in the
2478 ;; build environment. The integration test can run, but the last of
2479 ;; the up-self-tests doesn't. Disable tests for now.
2480 #:tests? #f
2481 #:configure-flags (list "--localstatedir=/var"
2482 (string-append "--with-udevrulesdir="
2483 (assoc-ref %outputs "out")
2484 "/lib/udev/rules.d"))
2485 #:phases
2486 (modify-phases %standard-phases
2487 (add-before 'configure 'patch-/bin/true
2488 (lambda _
2489 (substitute* "configure"
2490 (("/bin/true") (which "true")))))
2491 (add-before 'configure 'patch-integration-test
2492 (lambda _
2493 (substitute* "src/linux/integration-test"
2494 (("/usr/bin/python3") (which "python3"))))))))
2495 (native-inputs
2496 `(("gobject-introspection" ,gobject-introspection)
2497 ("pkg-config" ,pkg-config)
2498 ("intltool" ,intltool)
2499 ("python" ,python)
2500
2501 ;; For man pages.
2502 ("libxslt" ,libxslt) ;for 'xsltproc'
2503 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2504 ("docbook-xsl" ,docbook-xsl)))
2505 (inputs
2506 `(("dbus-glib" ,dbus-glib)
2507 ("libgudev" ,libgudev)
2508 ("libusb" ,libusb)))
2509 (home-page "http://upower.freedesktop.org/")
2510 (synopsis "System daemon for managing power devices")
2511 (description
2512 "UPower is an abstraction for enumerating power devices,
2513 listening to device events and querying history and statistics. Any
2514 application or service on the system can access the org.freedesktop.UPower
2515 service via the system message bus.")
2516 (license license:gpl2+)))
2517
2518 (define-public libgweather
2519 (package
2520 (name "libgweather")
2521 (version "3.20.0")
2522 (source (origin
2523 (method url-fetch)
2524 (uri (string-append "mirror://gnome/sources/" name "/"
2525 (version-major+minor version) "/"
2526 name "-" version ".tar.xz"))
2527 (sha256
2528 (base32
2529 "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj"))))
2530 (build-system gnu-build-system)
2531 (arguments
2532 `(#:configure-flags
2533 `(,(string-append "--with-zoneinfo-dir="
2534 (assoc-ref %build-inputs "tzdata")
2535 "/share/zoneinfo"))
2536 #:phases
2537 (modify-phases %standard-phases
2538 (add-before
2539 'check 'pre-check
2540 (lambda* (#:key inputs #:allow-other-keys)
2541 (substitute* "data/check-timezones.sh"
2542 (("/usr/share/zoneinfo/zone.tab")
2543 (string-append (assoc-ref inputs "tzdata")
2544 "/share/zoneinfo/zone.tab")))
2545 #t)))))
2546 (native-inputs
2547 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2548 ("gobject-introspection" ,gobject-introspection)
2549 ("pkg-config" ,pkg-config)
2550 ("intltool" ,intltool)))
2551 (propagated-inputs
2552 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2553 ;; libsoup.
2554 `(("gtk+" ,gtk+)
2555 ("gdk-pixbuf" ,gdk-pixbuf)
2556 ("libxml2" ,libxml2)
2557 ("libsoup" ,libsoup)))
2558 (inputs
2559 `(("tzdata" ,tzdata)
2560 ("geocode-glib" ,geocode-glib)))
2561 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2562 (synopsis "Location, time zone, and weather library for GNOME")
2563 (description
2564 "libgweather is a library to access weather information from online
2565 services for numerous locations.")
2566 (license license:gpl2+)))
2567
2568 (define-public gnome-settings-daemon
2569 (package
2570 (name "gnome-settings-daemon")
2571 (version "3.20.1")
2572 (source
2573 (origin
2574 (method url-fetch)
2575 (uri (string-append "mirror://gnome/sources/" name "/"
2576 (version-major+minor version) "/"
2577 name "-" version ".tar.xz"))
2578 (sha256
2579 (base32
2580 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
2581 (build-system glib-or-gtk-build-system)
2582 (arguments
2583 `(;; Network manager not yet packaged.
2584 #:configure-flags '("--disable-network-manager")
2585 ;; Color management test can't reach the colord system service.
2586 #:tests? #f))
2587 (native-inputs
2588 `(("pkg-config" ,pkg-config)
2589 ("intltool" ,intltool)
2590 ("xsltproc" ,libxslt)
2591 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2592 ("docbook-xml" ,docbook-xml-4.2)
2593 ("docbook-xsl" ,docbook-xsl)))
2594 (inputs
2595 `(("colord" ,colord)
2596 ("libgudev" ,libgudev)
2597 ("upower" ,upower)
2598 ("polkit" ,polkit)
2599 ("pulseaudio" ,pulseaudio)
2600 ("libcanberra" ,libcanberra)
2601 ("libx11" ,libx11)
2602 ("libxtst" ,libxtst)
2603 ("lcms" ,lcms)
2604 ("libnotify" ,libnotify)
2605 ("geoclue" ,geoclue)
2606 ("geocode-glib" ,geocode-glib)
2607 ("libgweather" ,libgweather)
2608 ("gnome-desktop" ,gnome-desktop)
2609 ("nss" ,nss)
2610 ("cups" ,cups)
2611 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2612 ("libwacom" ,libwacom)
2613 ("librsvg" ,librsvg)
2614 ("xf86-input-wacom" ,xf86-input-wacom)))
2615 (home-page "http://www.gnome.org")
2616 (synopsis "GNOME settings daemon")
2617 (description
2618 "This package contains the daemon responsible for setting the various
2619 parameters of a GNOME session and the applications that run under it. It
2620 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2621 settings, themes, mouse settings, and startup of other daemons.")
2622 (license license:gpl2+)))
2623
2624 (define-public totem-pl-parser
2625 (package
2626 (name "totem-pl-parser")
2627 (version "3.10.6")
2628 (source (origin
2629 (method url-fetch)
2630 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2631 "totem-pl-parser-" version ".tar.xz"))
2632 (sha256
2633 (base32
2634 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
2635 (build-system gnu-build-system)
2636 (arguments
2637 ;; FIXME: Tests require gvfs.
2638 `(#:tests? #f))
2639 (native-inputs
2640 `(("intltool" ,intltool)
2641 ("glib" ,glib "bin")
2642 ("gobject-introspection" ,gobject-introspection)
2643 ("pkg-config" ,pkg-config)))
2644 (propagated-inputs
2645 `(("glib" ,glib)
2646 ("gmime" ,gmime)
2647 ("libxml2" ,libxml2)))
2648 (inputs
2649 `(("libarchive" ,libarchive)
2650 ("libgcrypt" ,libgcrypt)
2651 ("nettle" ,nettle)
2652 ("libsoup" ,libsoup)))
2653 (home-page "https://projects.gnome.org/totem")
2654 (synopsis "Library to parse and save media playlists for GNOME")
2655 (description "Totem-pl-parser is a GObjects-based library to parse and save
2656 playlists in a variety of formats.")
2657 (license license:lgpl2.0+)))
2658
2659 (define-public aisleriot
2660 (package
2661 (name "aisleriot")
2662 (version "3.20.1")
2663 (source (origin
2664 (method url-fetch)
2665 (uri (string-append "mirror://gnome/sources/" name "/"
2666 (version-major+minor version) "/"
2667 name "-" version ".tar.xz"))
2668 (sha256
2669 (base32
2670 "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy"))))
2671 (build-system glib-or-gtk-build-system)
2672 (arguments
2673 '(#:configure-flags
2674 '("--with-platform=gtk-only"
2675 "--with-card-theme-formats=svg")))
2676 (native-inputs
2677 `(("desktop-file-utils" ,desktop-file-utils)
2678 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2679 ("intltool" ,intltool)
2680 ("itstool" ,itstool)
2681 ("pkg-config" ,pkg-config)
2682 ("xmllint" ,libxml2)))
2683 (inputs
2684 `(("gtk+" ,gtk+)
2685 ("guile" ,guile-2.0)
2686 ("libcanberra" ,libcanberra)
2687 ("librsvg" ,librsvg)))
2688 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2689 (synopsis "Solitaire card games")
2690 (description
2691 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2692 which are easy to play with the aid of a mouse.")
2693 (license license:gpl3+)))
2694
2695 (define-public devhelp
2696 (package
2697 (name "devhelp")
2698 (version "3.20.0")
2699 (source (origin
2700 (method url-fetch)
2701 (uri (string-append "mirror://gnome/sources/" name "/"
2702 (version-major+minor version) "/"
2703 name "-" version ".tar.xz"))
2704 (sha256
2705 (base32
2706 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
2707 (build-system glib-or-gtk-build-system)
2708 (native-inputs
2709 `(("intltool" ,intltool)
2710 ("pkg-config" ,pkg-config)))
2711 (inputs
2712 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2713 ("webkitgtk" ,webkitgtk)))
2714 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2715 (synopsis "API documentation browser for GNOME")
2716 (description
2717 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2718 natively with GTK-Doc (the API reference system developed for GTK+ and used
2719 throughout GNOME for API documentation).")
2720 (license license:gpl2+)))
2721
2722 (define-public cogl
2723 (package
2724 (name "cogl")
2725 (version "1.22.0")
2726 (source
2727 (origin
2728 (method url-fetch)
2729 (uri (string-append "mirror://gnome/sources/" name "/"
2730 (version-major+minor version) "/"
2731 name "-" version ".tar.xz"))
2732 (sha256
2733 (base32
2734 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
2735 (build-system gnu-build-system)
2736 (native-inputs
2737 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2738 ("gobject-introspection" ,gobject-introspection)
2739 ;;("xorg-server" ,xorg-server) ; for the test suite
2740 ("pkg-config" ,pkg-config)))
2741 (propagated-inputs
2742 `(("glib" ,glib)
2743 ("gdk-pixbuf" ,gdk-pixbuf)
2744 ("libx11" ,libx11)
2745 ("libxext" ,libxext)
2746 ("libxfixes" ,libxfixes)
2747 ("libxdamage" ,libxdamage)
2748 ("libxcomposite" ,libxcomposite)
2749 ("libxrandr" ,libxrandr)))
2750 (inputs
2751 `(("mesa" ,mesa)
2752 ("cairo" ,cairo)
2753 ("pango" ,pango)
2754 ("gstreamer" ,gstreamer)
2755 ("gst-plugins-base" ,gst-plugins-base)))
2756 (arguments
2757 `(#:configure-flags (list "--enable-cogl-gst"
2758 ;; Arrange to pass an absolute file name to
2759 ;; dlopen for libGL.so.
2760 (string-append "--with-gl-libname="
2761 (assoc-ref %build-inputs "mesa")
2762 "/lib/libGL.so"))
2763 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2764 ;; _FontTransOpen: Unable to Parse address
2765 ;; ${prefix}/share/fonts/X11/misc/
2766 #:tests? #f
2767 #; #:phases
2768 #;
2769 (modify-phases %standard-phases
2770 (add-before 'check 'start-xorg-server
2771 (lambda* (#:key inputs #:allow-other-keys)
2772 ;; The test suite requires a running X server.
2773 (system (format #f "~a/bin/Xvfb :1 &"
2774 (assoc-ref inputs "xorg-server")))
2775 (setenv "DISPLAY" ":1")
2776 #t)))))
2777 (home-page "http://www.cogl3d.org")
2778 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2779 (description
2780 "Cogl is a small library for using 3D graphics hardware to draw pretty
2781 pictures. The API departs from the flat state machine style of OpenGL and is
2782 designed to make it easy to write orthogonal components that can render
2783 without stepping on each others toes.")
2784 (license (list license:expat ; most of the code
2785 license:bsd-3 ; cogl/cogl-point-in-poly.c
2786 license:sgifreeb2.0 ; cogl-path/tesselator/
2787 license:asl2.0)))) ; examples/android/
2788
2789 (define-public clutter
2790 (package
2791 (name "clutter")
2792 (version "1.26.0")
2793 (source
2794 (origin
2795 (method url-fetch)
2796 (uri (string-append "mirror://gnome/sources/" name "/"
2797 (version-major+minor version) "/"
2798 name "-" version ".tar.xz"))
2799 (sha256
2800 (base32
2801 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
2802 (build-system gnu-build-system)
2803 (outputs '("out"
2804 "doc")) ;9 MiB of gtk-doc HTML pages
2805 (native-inputs
2806 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2807 ("gobject-introspection" ,gobject-introspection)
2808 ("pkg-config" ,pkg-config)
2809 ("xsltproc" ,libxslt)))
2810 (propagated-inputs
2811 `(("cogl" ,cogl)
2812 ("cairo" ,cairo)
2813 ("atk" ,atk)
2814 ("gtk+" ,gtk+)
2815 ("json-glib" ,json-glib)
2816 ("glib" ,glib)
2817 ("libxcomposite" ,libxcomposite)
2818 ("libxdamage" ,libxdamage)
2819 ("libxext" ,libxext)
2820 ("xinput" ,xinput)))
2821 (inputs
2822 `(("libxkbcommon" ,libxkbcommon)
2823 ("udev" ,eudev)))
2824 (arguments
2825 `(#:configure-flags (list "--enable-x11-backend=yes"
2826
2827 ;; This produces share/doc/{clutter,cally}.
2828 (string-append "--with-html-dir="
2829 (assoc-ref %outputs "doc")
2830 "/share/doc"))
2831 ;; XXX FIXME: Get test suite working. It would probably fail in the
2832 ;; same way the cogl tests fail, since clutter is based on cogl.
2833 #:tests? #f))
2834 (home-page "http://www.clutter-project.org")
2835 (synopsis "Open GL based interactive canvas library")
2836 (description
2837 "Clutter is an Open GL based interactive canvas library, designed for
2838 creating fast, mainly 2D single window applications such as media box UIs,
2839 presentations, kiosk style applications and so on.")
2840 (license license:lgpl2.0+)))
2841
2842 (define-public clutter-gtk
2843 (package
2844 (name "clutter-gtk")
2845 (version "1.8.0")
2846 (source
2847 (origin
2848 (method url-fetch)
2849 (uri (string-append "mirror://gnome/sources/" name "/"
2850 (version-major+minor version) "/"
2851 name "-" version ".tar.xz"))
2852 (sha256
2853 (base32
2854 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
2855 (build-system gnu-build-system)
2856 (native-inputs
2857 `(("pkg-config" ,pkg-config)
2858 ("gobject-introspection" ,gobject-introspection)))
2859 (propagated-inputs
2860 ;; clutter-gtk.pc refers to all these.
2861 `(("clutter" ,clutter)
2862 ("gtk+" ,gtk+)))
2863 (home-page "http://www.clutter-project.org")
2864 (synopsis "Open GL based interactive canvas library GTK+ widget")
2865 (description
2866 "Clutter is an Open GL based interactive canvas library, designed for
2867 creating fast, mainly 2D single window applications such as media box UIs,
2868 presentations, kiosk style applications and so on.")
2869 (license license:lgpl2.0+)))
2870
2871 (define-public clutter-gst
2872 (package
2873 (name "clutter-gst")
2874 (version "3.0.18")
2875 (source
2876 (origin
2877 (method url-fetch)
2878 (uri (string-append "mirror://gnome/sources/" name "/"
2879 (version-major+minor version) "/"
2880 name "-" version ".tar.xz"))
2881 (sha256
2882 (base32
2883 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
2884 (build-system gnu-build-system)
2885 (native-inputs
2886 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2887 ("pkg-config" ,pkg-config)
2888 ("gobject-introspection" ,gobject-introspection)))
2889 (inputs
2890 `(("clutter" ,clutter)
2891 ("gstreamer" ,gstreamer)
2892 ("gst-plugins-base" ,gst-plugins-base)))
2893 (home-page "http://www.clutter-project.org")
2894 (synopsis "Integration library for using GStreamer with Clutter")
2895 (description
2896 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2897 It provides a GStreamer sink to upload frames to GL and an actor that
2898 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2899 GL based interactive canvas library.")
2900 (license license:lgpl2.0+)))
2901
2902 (define-public libchamplain
2903 (package
2904 (name "libchamplain")
2905 (version "0.12.13")
2906 (source (origin
2907 (method url-fetch)
2908 (uri (string-append
2909 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2910 version ".tar.xz"))
2911 (sha256
2912 (base32
2913 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
2914 (build-system gnu-build-system)
2915 (native-inputs `(("pkg-config" ,pkg-config)))
2916 (propagated-inputs
2917 `(("libsoup" ,libsoup)
2918 ("sqlite" ,sqlite)
2919 ("clutter" ,clutter)
2920 ("clutter-gtk" ,clutter-gtk)
2921 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2922 ("cairo" ,cairo)
2923 ("gtk+3" ,gtk+)
2924 ("glib" ,glib)))
2925 (home-page "http://projects.gnome.org/libchamplain/")
2926 (synopsis "C library providing a ClutterActor to display maps")
2927 (description
2928 "libchamplain is a C library providing a ClutterActor to display maps.
2929 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2930 and Perl bindings are also available. It supports numerous free map sources
2931 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2932 (license license:lgpl2.1+)))
2933
2934 (define-public gom
2935 (package
2936 (name "gom")
2937 (version "0.3.2")
2938 (source
2939 (origin
2940 (method url-fetch)
2941 (uri (string-append "mirror://gnome/sources/" name "/"
2942 (version-major+minor version) "/"
2943 name "-" version ".tar.xz"))
2944 (sha256
2945 (base32
2946 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
2947 (build-system gnu-build-system)
2948 (native-inputs
2949 `(("intltool" ,intltool)
2950 ("pkg-config" ,pkg-config)
2951 ("gobject-introspection" ,gobject-introspection)))
2952 (inputs
2953 `(("glib" ,glib)
2954 ("gdk-pixbuf" ,gdk-pixbuf)
2955 ("sqlite" ,sqlite)))
2956 ;; XXX TODO: Figure out how to run the test suite.
2957 (arguments `(#:tests? #f))
2958 (home-page "https://wiki.gnome.org/Projects/Gom")
2959 (synopsis "Object mapper from GObjects to SQLite")
2960 (description
2961 "Gom provides an object mapper from GObjects to SQLite. It helps you
2962 write applications that need to store structured data as well as make complex
2963 queries upon that data.")
2964 (license license:lgpl2.1+)))
2965
2966 (define-public libgames-support
2967 (package
2968 (name "libgames-support")
2969 (version "1.0.2")
2970 (source (origin
2971 (method url-fetch)
2972 (uri (string-append "mirror://gnome/sources/" name "/"
2973 (version-major+minor version) "/"
2974 name "-" version ".tar.xz"))
2975 (sha256
2976 (base32
2977 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
2978 (build-system gnu-build-system)
2979 (arguments
2980 '(#:phases
2981 (modify-phases %standard-phases
2982 (add-before 'check 'pre-check
2983 (lambda _
2984 ;; tests require a writable HOME.
2985 (setenv "HOME" (getcwd))
2986 #t)))))
2987 (native-inputs
2988 `(("intltool" ,intltool)
2989 ("pkg-config" ,pkg-config)
2990 ("vala" ,vala)))
2991 (propagated-inputs
2992 ;; Required by libgames-support-1.0.pc
2993 `(("gtk+" ,gtk+)
2994 ("libgee" ,libgee)))
2995 (home-page "https://www.gnome.org/")
2996 (synopsis "Useful functionality shared among GNOME games")
2997 (description
2998 "libgames-support is a small library intended for internal use by
2999 GNOME Games, but it may be used by others.")
3000 (license license:lgpl3+)))
3001
3002 (define-public gnome-klotski
3003 (package
3004 (name "gnome-klotski")
3005 (version "3.20.1")
3006 (source (origin
3007 (method url-fetch)
3008 (uri (string-append "mirror://gnome/sources/" name "/"
3009 (version-major+minor version) "/"
3010 name "-" version ".tar.xz"))
3011 (sha256
3012 (base32
3013 "1130v6sk9h74b3xgv0bq43anaw7xs9x8vdab3q7p9db6w0px02wj"))))
3014 (build-system glib-or-gtk-build-system)
3015 (native-inputs
3016 `(("desktop-file-utils" ,desktop-file-utils)
3017 ("intltool" ,intltool)
3018 ("itstool" ,itstool)
3019 ("pkg-config" ,pkg-config)
3020 ("xmllint" ,libxml2)))
3021 (inputs
3022 `(("gtk+" ,gtk+)
3023 ("libgames-support" ,libgames-support)
3024 ("librsvg" ,librsvg)))
3025 (home-page "https://wiki.gnome.org/Apps/Klotski")
3026 (synopsis "Sliding block puzzles")
3027 (description
3028 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3029 the patterned block to the area bordered by green markers. To do so, you will
3030 need to slide other blocks out of the way. Complete each puzzle in as few moves
3031 as possible!")
3032 (license license:gpl2+)))
3033
3034 (define-public grilo
3035 (package
3036 (name "grilo")
3037 (version "0.3.0")
3038 (source
3039 (origin
3040 (method url-fetch)
3041 (uri (string-append "mirror://gnome/sources/" name "/"
3042 (version-major+minor version) "/"
3043 name "-" version ".tar.xz"))
3044 (sha256
3045 (base32
3046 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
3047 (build-system gnu-build-system)
3048 (native-inputs
3049 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3050 ("intltool" ,intltool)
3051 ("pkg-config" ,pkg-config)
3052 ("gobject-introspection" ,gobject-introspection)))
3053 (inputs
3054 `(("glib" ,glib)
3055 ("gtk+" ,gtk+)
3056 ("libxml2" ,libxml2)
3057 ;; XXX TODO: Add oauth
3058 ("libsoup" ,libsoup)
3059 ("totem-pl-parser" ,totem-pl-parser)))
3060 (arguments
3061 `(#:phases
3062 (modify-phases %standard-phases
3063 (add-after 'unpack 'fix-introspection-install-dir
3064 (lambda* (#:key outputs #:allow-other-keys)
3065 (let ((out (assoc-ref outputs "out")))
3066 (substitute* '("src/Makefile.in"
3067 "libs/pls/Makefile.in"
3068 "libs/net/Makefile.in")
3069 (("@INTROSPECTION_GIRDIR@")
3070 (string-append out "/share/gir-1.0/"))
3071 (("@INTROSPECTION_TYPELIBDIR@")
3072 (string-append out "/lib/girepository-1.0/")))))))))
3073 (native-search-paths
3074 (list (search-path-specification
3075 (variable "GRL_PLUGIN_PATH")
3076 (files (list (string-append "lib/grilo-"
3077 (version-major+minor version)))))))
3078 (home-page "http://live.gnome.org/Grilo")
3079 (synopsis "Framework for discovering and browsing media")
3080 (description
3081 "Grilo is a framework focused on making media discovery and browsing easy
3082 for application developers.")
3083 (license license:lgpl2.1+)))
3084
3085 (define-public grilo-plugins
3086 (package
3087 (name "grilo-plugins")
3088 (version "0.3.1")
3089 (source
3090 (origin
3091 (method url-fetch)
3092 (uri (string-append "mirror://gnome/sources/" name "/"
3093 (version-major+minor version) "/"
3094 name "-" version ".tar.xz"))
3095 (sha256
3096 (base32
3097 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
3098 (build-system gnu-build-system)
3099 (native-inputs
3100 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3101 ("intltool" ,intltool)
3102 ("itstool" ,itstool)
3103 ("pkg-config" ,pkg-config)))
3104 (inputs
3105 `(("grilo" ,grilo)
3106 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3107 ("glib" ,glib)
3108 ("libxml2" ,libxml2)
3109 ("sqlite" ,sqlite)
3110 ("gom" ,gom)
3111 ;; XXX TODO: Add oauth
3112 ;; XXX TODO: Add goa
3113 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3114 ;; XXX TODO: Add lua (needs help finding it)
3115 ("json-glib" ,json-glib)
3116 ("avahi" ,avahi)
3117 ("gmime" ,gmime)
3118 ("libsoup" ,libsoup)
3119 ("libarchive" ,libarchive)
3120 ("totem-pl-parser" ,totem-pl-parser)))
3121 (arguments
3122 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3123 %output
3124 "/lib/grilo-"
3125 ,(version-major+minor version)))
3126 ;; XXX FIXME: Try to get the test suite working. It appears to require
3127 ;; a working system dbus. Inside the build container, all tests fail
3128 ;; with: "assertion failed: (source)". Outside of the build container,
3129 ;; most tests succeed.
3130 #:tests? #f))
3131 (home-page "http://live.gnome.org/Grilo")
3132 (synopsis "Plugins for the Grilo media discovery library")
3133 (description
3134 "Grilo is a framework focused on making media discovery and browsing easy
3135 for application developers.")
3136 (license license:lgpl2.1+)))
3137
3138 (define-public totem
3139 (package
3140 (name "totem")
3141 (version "3.20.1")
3142 (source
3143 (origin
3144 (method url-fetch)
3145 (uri (string-append "mirror://gnome/sources/" name "/"
3146 (version-major+minor version) "/"
3147 name "-" version ".tar.xz"))
3148 (sha256
3149 (base32
3150 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3151 (patches (search-patches "totem-debug-format-fix.patch"))))
3152 (build-system glib-or-gtk-build-system)
3153 (native-inputs
3154 `(("pkg-config" ,pkg-config)
3155 ("desktop-file-utils" ,desktop-file-utils)
3156 ("gobject-introspection" ,gobject-introspection)
3157 ("intltool" ,intltool)
3158 ("itstool" ,itstool)
3159 ("xmllint" ,libxml2)))
3160 (propagated-inputs
3161 `(("dconf" ,dconf)))
3162 (inputs
3163 `(("gtk+" ,gtk+)
3164 ("gdk-pixbuf" ,gdk-pixbuf)
3165 ("atk" ,atk)
3166 ("cairo" ,cairo)
3167 ("dbus-glib" ,dbus-glib)
3168 ("clutter" ,clutter)
3169 ("clutter-gtk" ,clutter-gtk)
3170 ("clutter-gst" ,clutter-gst)
3171 ("xproto" ,xproto)
3172 ("libxxf86vm" ,libxxf86vm)
3173 ("libxtst" ,libxtst)
3174 ("libxrandr" ,libxrandr)
3175 ("libxml2" ,libxml2)
3176 ("libsoup" ,libsoup)
3177 ("libpeas" ,libpeas)
3178 ("librsvg" ,librsvg)
3179 ("lirc" ,lirc)
3180 ("gnome-desktop" ,gnome-desktop)
3181 ("gstreamer" ,gstreamer)
3182 ("gst-plugins-base" ,gst-plugins-base)
3183 ("gst-plugins-good" ,gst-plugins-good)
3184 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3185 ("adwaita-icon-theme" ,adwaita-icon-theme)
3186 ;; XXX We use python-2 because libxml2 because itstool (which needs
3187 ;; libxml) currently uses python-2.
3188 ("python" ,python-2)
3189 ("python-pygobject" ,python2-pygobject)
3190 ;; XXX TODO pylint needed for python support
3191 ("totem-pl-parser" ,totem-pl-parser)
3192 ("grilo" ,grilo)
3193 ("grilo-plugins" ,grilo-plugins)
3194 ("nettle" ,nettle)
3195 ("vala" ,vala)))
3196 (arguments
3197 `(#:phases
3198 (modify-phases %standard-phases
3199 (add-after
3200 'install 'wrap-totem
3201 (lambda* (#:key inputs outputs #:allow-other-keys)
3202 (let ((out (assoc-ref outputs "out"))
3203 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3204 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3205 (wrap-program (string-append out "/bin/totem")
3206 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3207 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3208 #t)))))
3209 (home-page "https://wiki.gnome.org/Apps/Videos")
3210 (synopsis "Simple media player for GNOME based on GStreamer")
3211 (description "Totem is a simple yet featureful media player for GNOME
3212 which can read a large number of file formats.")
3213 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3214 ;; to be used and distributed together with GStreamer and Totem. See
3215 ;; file://COPYING in the source distribution for details.
3216 (license license:gpl2+)))
3217
3218 (define-public rhythmbox
3219 (package
3220 (name "rhythmbox")
3221 (version "3.2.1")
3222 (source (origin
3223 (method url-fetch)
3224 (uri (string-append "mirror://gnome/sources/" name "/"
3225 (version-major+minor version) "/"
3226 name "-" version ".tar.xz"))
3227 (sha256
3228 (base32
3229 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3230 (build-system glib-or-gtk-build-system)
3231 (arguments
3232 `(#:configure-flags
3233 (list "--enable-lirc"
3234 "--enable-python"
3235 "--enable-vala"
3236 "--with-brasero"
3237 "--with-gudev"
3238 "--with-libsecret")
3239 #:phases
3240 (modify-phases %standard-phases
3241 (add-after
3242 'install 'wrap-rhythmbox
3243 (lambda* (#:key inputs outputs #:allow-other-keys)
3244 (let ((out (assoc-ref outputs "out"))
3245 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3246 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3247 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3248 (wrap-program (string-append out "/bin/rhythmbox")
3249 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3250 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3251 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3252 #t)))))
3253 (propagated-inputs
3254 `(("dconf" ,dconf)))
3255 (native-inputs
3256 `(("itstool" ,itstool)
3257 ("intltool" ,intltool)
3258 ("glib" ,glib "bin")
3259 ("gobject-introspection" ,gobject-introspection)
3260 ("desktop-file-utils" ,desktop-file-utils)
3261 ("pkg-config" ,pkg-config)
3262 ("xmllint" ,libxml2)))
3263 (inputs
3264 `(("json-glib" ,json-glib)
3265 ("tdb" ,tdb)
3266 ("gnome-desktop" ,gnome-desktop)
3267 ("python" ,python)
3268 ("python-pygobject" ,python2-pygobject)
3269 ("vala" ,vala)
3270 ("gmime" ,gmime)
3271 ("nettle" ,nettle)
3272 ("adwaita-icon-theme" ,adwaita-icon-theme)
3273 ("grilo" ,grilo)
3274 ("grilo-plugins" ,grilo-plugins)
3275 ("gstreamer" ,gstreamer)
3276 ("gst-plugins-base" ,gst-plugins-base)
3277 ("gst-plugins-good" ,gst-plugins-good)
3278 ("totem-pl-parser" ,totem-pl-parser)
3279 ("libgudev" ,libgudev)
3280 ;;("libmtp" ,libmtp) FIXME: Not detected
3281 ("libsecret" ,libsecret)
3282 ("libsoup" ,libsoup)
3283 ("libnotify" ,libnotify)
3284 ("libpeas" ,libpeas)
3285 ("lirc" ,lirc)
3286 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3287 ;;("clutter" ,clutter)
3288 ;;("clutter-gtk" ,clutter-gtk)
3289 ;;("clutter-gst" ,clutter-gst)
3290 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3291 ("atk" ,atk)
3292 ("pango" ,pango)
3293 ("gtk+" ,gtk+)
3294 ;; TODO:
3295 ;; * libgpod
3296 ;; * mx
3297 ;; * webkit
3298 ("brasero" ,brasero)))
3299 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3300 (synopsis "Music player for GNOME")
3301 (description "Rhythmbox is a music playing application for GNOME. It
3302 supports playlists, song ratings, and any codecs installed through gstreamer.")
3303 (license license:gpl2+)))
3304
3305 (define-public eog
3306 (package
3307 (name "eog")
3308 (version "3.20.1")
3309 (source (origin
3310 (method url-fetch)
3311 (uri (string-append "mirror://gnome/sources/" name "/"
3312 (version-major+minor version) "/"
3313 name "-" version ".tar.xz"))
3314 (sha256
3315 (base32
3316 "0ll3vz1kyjagiqmrpypk1a4nwjhrjsapiz45bxblsjxjy641j0jg"))))
3317 (build-system glib-or-gtk-build-system)
3318 (arguments
3319 `(#:phases
3320 (modify-phases %standard-phases
3321 (add-after
3322 'install 'wrap-eog
3323 (lambda* (#:key outputs #:allow-other-keys)
3324 (let ((out (assoc-ref outputs "out"))
3325 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3326 (wrap-program (string-append out "/bin/eog")
3327 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3328 #t)))))
3329 (propagated-inputs
3330 `(("dconf" ,dconf)))
3331 (native-inputs
3332 `(("intltool" ,intltool)
3333 ("itstool" ,itstool)
3334 ("glib" ,glib "bin")
3335 ("gobject-introspection" ,gobject-introspection)
3336 ("pkg-config" ,pkg-config)
3337 ("xmllint" ,libxml2)))
3338 (inputs
3339 `(("gnome-desktop" ,gnome-desktop)
3340 ("shared-mime-info" ,shared-mime-info)
3341 ("adwaita-icon-theme" ,adwaita-icon-theme)
3342 ("exempi" ,exempi)
3343 ("lcms" ,lcms)
3344 ("libexif" ,libexif)
3345 ("libpeas" ,libpeas)
3346 ("libjpeg" ,libjpeg)
3347 ("librsvg" ,librsvg)
3348 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3349 ("gtk+" ,gtk+)))
3350 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3351 (synopsis "GNOME image viewer")
3352 (description "Eye of GNOME is the GNOME image viewer. It
3353 supports image conversion, rotation, and slideshows.")
3354 (license license:gpl2+)))
3355
3356 (define-public libgudev
3357 (package
3358 (name "libgudev")
3359 (version "230")
3360 (source (origin
3361 (method url-fetch)
3362 (uri (string-append "mirror://gnome/sources/" name "/"
3363 version "/" name "-" version ".tar.xz"))
3364 (sha256
3365 (base32
3366 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3367 (build-system gnu-build-system)
3368 (native-inputs
3369 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3370 ("gobject-introspection" ,gobject-introspection)
3371 ("pkg-config" ,pkg-config)))
3372 (propagated-inputs
3373 `(("glib" ,glib))) ; required by gudev-1.0.pc
3374 (inputs
3375 `(("udev" ,eudev)))
3376 (home-page "https://wiki.gnome.org/Projects/libgudev")
3377 (synopsis "GObject bindings for libudev")
3378 (description
3379 "This library provides GObject bindings for libudev. It was originally
3380 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3381 (license license:lgpl2.1+)))
3382
3383 (define-public gvfs
3384 (package
3385 (name "gvfs")
3386 (version "1.28.1")
3387 (source (origin
3388 (method url-fetch)
3389 (uri (string-append "mirror://gnome/sources/" name "/"
3390 (version-major+minor version) "/"
3391 name "-" version ".tar.xz"))
3392 (sha256
3393 (base32
3394 "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf"))))
3395 (build-system gnu-build-system)
3396 (arguments
3397 '(#:tests? #f)) ; XXX: requiring `pidof'
3398 (native-inputs
3399 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3400 ("intltool" ,intltool)
3401 ("pkg-config" ,pkg-config)
3402 ("xsltproc" ,libxslt)))
3403 (inputs
3404 `(("avahi" ,avahi)
3405 ("docbook-xml" ,docbook-xml-4.2)
3406 ("docbook-xsl" ,docbook-xsl)
3407 ("dbus" ,dbus)
3408 ("fuse" ,fuse)
3409 ("gcr" ,gcr)
3410 ("glib" ,glib)
3411 ("libarchive" ,libarchive)
3412 ("libbluray" ,libbluray)
3413 ("libcdio-paranoia" ,libcdio-paranoia)
3414 ("libgcrypt" ,libgcrypt)
3415 ("libgphoto2" ,libgphoto2)
3416 ("libgudev" ,libgudev)
3417 ("libmtp" ,libmtp)
3418 ("libsecret" ,libsecret)
3419 ("libsmbclient" ,samba)
3420 ("libsoup" ,libsoup)
3421 ("libxml2" ,libxml2)
3422 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3423 ("udisks" ,udisks)))
3424 (home-page "https://wiki.gnome.org/gvfs/")
3425 (synopsis "Userspace virtual filesystem for GIO")
3426 (description
3427 "GVFS is a userspace virtual filesystem designed to work with the I/O
3428 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3429 to all applications using the GIO API. It also supports exposing the GVFS
3430 mounts to non-GIO applications using FUSE.
3431
3432 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3433 DAV, and others.")
3434 (license license:lgpl2.0+)))
3435
3436 (define-public gusb
3437 (package
3438 (name "gusb")
3439 (version "0.2.6")
3440 (source (origin
3441 (method url-fetch)
3442 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3443 "gusb_"
3444 (string-join (string-split version #\.)
3445 "_")
3446 ".tar.gz"))
3447 (sha256
3448 (base32
3449 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3450 (build-system gnu-build-system)
3451 (native-inputs
3452 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3453 ("gobject-introspection" ,gobject-introspection)
3454 ("pkg-config" ,pkg-config)
3455 ("vala" ,vala)
3456 ("autoconf" ,autoconf)
3457 ("automake" ,automake)
3458 ("libtool" ,libtool)
3459 ("gtk-doc" ,gtk-doc)))
3460 (propagated-inputs
3461 ;; Both of these are required by gusb.pc.
3462 `(("glib" ,glib)
3463 ("libusb" ,libusb)))
3464 (arguments
3465 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3466 #:phases
3467 (modify-phases %standard-phases
3468 (add-after 'unpack 'autogen
3469 (lambda _
3470 (and (zero? (system* "gtkdocize"))
3471 (zero? (system* "autoreconf" "-vif"))))))))
3472 (home-page "https://github.com/hughsie/libgusb")
3473 (synopsis "GLib binding for libusb1")
3474 (description
3475 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3476 asynchronous control, bulk and interrupt transfers with proper cancellation
3477 and integration into a mainloop. This makes it easy to integrate low level
3478 USB transfers with your high-level application or system daemon.")
3479 (license license:lgpl2.1+)))
3480
3481 (define-public simple-scan
3482 (package
3483 (name "simple-scan")
3484 (version "3.19.91")
3485 (source (origin
3486 (method url-fetch)
3487 (uri (string-append "https://launchpad.net/simple-scan/"
3488 (version-major+minor version) "/"
3489 version "/+download/simple-scan-"
3490 version ".tar.xz"))
3491 (sha256
3492 (base32
3493 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
3494 (build-system glib-or-gtk-build-system)
3495 (inputs
3496 `(("gtk" ,gtk+)
3497 ("zlib" ,zlib)
3498 ("cairo" ,cairo)
3499 ("gdk-pixbuf" ,gdk-pixbuf)
3500 ("gusb" ,gusb)
3501 ("libgudev" ,libgudev)
3502 ("libsane" ,sane-backends)))
3503 (native-inputs
3504 `(("intltool" ,intltool)
3505 ("itstool" ,itstool)
3506 ("colord" ,colord)
3507 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3508 ("pkg-config" ,pkg-config)
3509 ("vala" ,vala)
3510 ("xmllint" ,libxml2)))
3511 (arguments
3512 '(#:configure-flags '("--disable-packagekit")
3513 #:phases
3514 (modify-phases %standard-phases
3515 (add-after 'unpack 'clean
3516 (lambda _
3517 ;; Remove a left-over reference to PackageKit.
3518
3519 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3520
3521 ;; There are some generated C files erroneously
3522 ;; included in the source distribution, and this
3523 ;; one breaks the build by referring to a
3524 ;; non-existent header (packagekit.h)
3525 (delete-file "src/ui.c"))))))
3526 (home-page "https://launchpad.net/simple-scan")
3527 (synopsis "Document and image scanner")
3528 (description "Simple Scan is an easy-to-use application, designed to let
3529 users connect their scanner and quickly have the image/document in an
3530 appropriate format. Simple Scan is basically a frontend for SANE - which is
3531 the same backend as XSANE uses. This means that all existing scanners will
3532 work and the interface is well tested.")
3533 (license license:gpl3+)))
3534
3535 (define-public epiphany
3536 (package
3537 (name "epiphany")
3538 (version "3.20.1")
3539 (source (origin
3540 (method url-fetch)
3541 (uri (string-append "mirror://gnome/sources/" name "/"
3542 (version-major+minor version) "/"
3543 name "-" version ".tar.xz"))
3544 (sha256
3545 (base32
3546 "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi"))))
3547 (build-system glib-or-gtk-build-system)
3548 (arguments
3549 ;; FIXME: tests run under Xvfb, but fail with:
3550 ;; /src/bookmarks/ephy-bookmarks/create:
3551 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3552 ;; subsystem
3553 ;; FAIL
3554 '(#:tests? #f))
3555 (propagated-inputs
3556 `(("dconf" ,dconf)))
3557 (native-inputs
3558 `(("intltool" ,intltool)
3559 ("itstool" ,itstool)
3560 ("pkg-config" ,pkg-config)
3561 ("xmllint" ,libxml2)))
3562 (inputs
3563 `(("avahi" ,avahi)
3564 ("gcr" ,gcr)
3565 ("glib-networking" ,glib-networking)
3566 ("gnome-desktop" ,gnome-desktop)
3567 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3568 ("iso-codes" ,iso-codes)
3569 ("libnotify" ,libnotify)
3570 ("libsecret" ,libsecret)
3571 ("libwnck" ,libwnck)
3572 ("libxslt" ,libxslt)
3573 ("nss" ,nss)
3574 ("sqlite" ,sqlite)
3575 ("webkitgtk" ,webkitgtk)))
3576 (home-page "https://wiki.gnome.org/Apps/Web")
3577 (synopsis "GNOME web browser")
3578 (description
3579 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3580 principles are simplicity and standards compliance.")
3581 (license license:gpl2+)))
3582
3583 (define-public d-feet
3584 (package
3585 (name "d-feet")
3586 (version "0.3.10")
3587 (source (origin
3588 (method url-fetch)
3589 (uri (string-append "mirror://gnome/sources/" name "/"
3590 (version-major+minor version) "/"
3591 name "-" version ".tar.xz"))
3592 (sha256
3593 (base32
3594 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3595 (build-system glib-or-gtk-build-system)
3596 (arguments
3597 '(#:out-of-source? #f ; tests need to run in the source directory.
3598 #:phases
3599 (modify-phases %standard-phases
3600 (add-before
3601 'check 'pre-check
3602 (lambda _
3603 ;; The test suite requires a running X server.
3604 (system "Xvfb :1 &")
3605 (setenv "DISPLAY" ":1")
3606 ;; Don't fail on missing '/etc/machine-id'.
3607 (setenv "DBUS_FATAL_WARNINGS" "0")
3608 ;; tests.py and window.py don't meet E402:
3609 ;; E402 module level import not at top of file
3610 (substitute* "src/tests/Makefile"
3611 (("--ignore=E123") "--ignore=E123,E402"))
3612 #t))
3613 (add-after
3614 'install 'wrap-program
3615 (lambda* (#:key outputs #:allow-other-keys)
3616 (let ((prog (string-append (assoc-ref outputs "out")
3617 "/bin/d-feet")))
3618 (wrap-program prog
3619 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
3620 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3621 #t))))))
3622 (native-inputs
3623 `(("intltool" ,intltool)
3624 ("itstool" ,itstool)
3625 ("pkg-config" ,pkg-config)
3626 ("python-pep8" ,python-pep8)
3627 ("xmllint" ,libxml2)
3628 ("xorg-server" ,xorg-server)))
3629 (inputs
3630 `(("gobject-introspection" ,gobject-introspection)
3631 ("gtk+" ,gtk+)
3632 ("python" ,python-wrapper)
3633 ("python-pygobject" ,python-pygobject)))
3634 (home-page "https://wiki.gnome.org/Apps/DFeet")
3635 (synopsis "D-Bus debugger")
3636 (description
3637 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3638 of running programs and invoke methods on those interfaces.")
3639 (license license:gpl2+)))
3640
3641 (define-public yelp-xsl
3642 (package
3643 (name "yelp-xsl")
3644 (version "3.20.1")
3645 (source (origin
3646 (method url-fetch)
3647 (uri (string-append "mirror://gnome/sources/" name "/"
3648 (version-major+minor version) "/"
3649 name "-" version ".tar.xz"))
3650 (sha256
3651 (base32
3652 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
3653 (build-system gnu-build-system)
3654 (native-inputs
3655 `(("intltool" ,intltool)
3656 ("itstool" ,itstool)
3657 ("xmllint" ,libxml2)))
3658 (home-page "https://wiki.gnome.org/Apps/Yelp")
3659 (synopsis "XSL stylesheets for Yelp")
3660 (description
3661 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3662 to format Docbook and Mallard documents.")
3663 (license license:gpl2+)))
3664
3665 (define-public yelp
3666 (package
3667 (name "yelp")
3668 (version "3.20.1")
3669 (source (origin
3670 (method url-fetch)
3671 (uri (string-append "mirror://gnome/sources/" name "/"
3672 (version-major+minor version) "/"
3673 name "-" version ".tar.xz"))
3674 (sha256
3675 (base32
3676 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
3677 (build-system glib-or-gtk-build-system)
3678 (native-inputs
3679 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3680 ("intltool" ,intltool)
3681 ("itstool" ,itstool)
3682 ("pkg-config" ,pkg-config)))
3683 (propagated-inputs
3684 `(("dconf" ,dconf)))
3685 (inputs
3686 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3687 ("libxslt" ,libxslt)
3688 ("sqlite" ,sqlite)
3689 ("webkitgtk" ,webkitgtk)
3690 ("yelp-xsl" ,yelp-xsl)))
3691 (home-page "https://wiki.gnome.org/Apps/Yelp")
3692 (synopsis "GNOME help browser")
3693 (description
3694 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3695 man, info, and HTML documents. It can locate documents according to the
3696 freedesktop.org help system specification.")
3697 (license license:gpl2+)))
3698
3699 (define-public yelp-tools
3700 (package
3701 (name "yelp-tools")
3702 (version "3.18.0")
3703 (source (origin
3704 (method url-fetch)
3705 (uri (string-append "mirror://gnome/sources/" name "/"
3706 (version-major+minor version) "/"
3707 name "-" version ".tar.xz"))
3708 (sha256
3709 (base32
3710 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
3711 (build-system gnu-build-system)
3712 (native-inputs
3713 `(("pkg-config" ,pkg-config)))
3714 (propagated-inputs
3715 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3716 `(("itstool" ,itstool)
3717 ("xmllint" ,libxml2)
3718 ("xsltproc" ,libxslt)))
3719 (inputs
3720 `(("yelp-xsl" ,yelp-xsl)))
3721 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3722 (synopsis "Yelp documentation tools")
3723 (description
3724 "Yelp-tools is a collection of scripts and build utilities to help create,
3725 manage, and publish documentation for Yelp and the web. Most of the heavy
3726 lifting is done by packages like yelp-xsl and itstool. This package just
3727 wraps things up in a developer-friendly way.")
3728 (license license:gpl2+)))
3729
3730 (define-public libgee
3731 (package
3732 (name "libgee")
3733 (version "0.18.0")
3734 (source (origin
3735 (method url-fetch)
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3739 (sha256
3740 (base32
3741 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3742 (build-system gnu-build-system)
3743 (arguments
3744 `(#:phases
3745 (modify-phases %standard-phases
3746 (add-after 'unpack 'fix-introspection-install-dir
3747 (lambda* (#:key outputs #:allow-other-keys)
3748 (let ((out (assoc-ref outputs "out")))
3749 (substitute* "gee/Makefile.in"
3750 (("@INTROSPECTION_GIRDIR@")
3751 (string-append out "/share/gir-1.0/"))
3752 (("@INTROSPECTION_TYPELIBDIR@")
3753 (string-append out "/lib/girepository-1.0/")))))))))
3754 (native-inputs
3755 `(("glib" ,glib "bin")
3756 ("pkg-config" ,pkg-config)))
3757 (inputs
3758 `(("glib" ,glib)
3759 ("gobject-introspection" ,gobject-introspection)))
3760 (home-page "https://wiki.gnome.org/Projects/Libgee")
3761 (synopsis "GObject collection library")
3762 (description
3763 "Libgee is a utility library providing GObject-based interfaces and
3764 classes for commonly used data structures.")
3765 (license license:lgpl2.1+)))
3766
3767 (define-public gexiv2
3768 (package
3769 (name "gexiv2")
3770 (version "0.10.3")
3771 (source (origin
3772 (method url-fetch)
3773 (uri (string-append "mirror://gnome/sources/" name "/"
3774 (version-major+minor version) "/"
3775 name "-" version ".tar.xz"))
3776 (sha256
3777 (base32
3778 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3779 (build-system gnu-build-system)
3780 (native-inputs
3781 `(("glib" ,glib "bin")
3782 ("pkg-config" ,pkg-config)))
3783 (propagated-inputs
3784 ;; Listed in "Requires" section of gexiv2.pc
3785 `(("exiv2" ,exiv2)))
3786 (inputs
3787 `(("glib" ,glib)
3788 ("gobject-introspection" ,gobject-introspection)))
3789 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3790 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3791 (description
3792 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3793 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3794 metadata in photo and video files of various formats.")
3795 (license license:gpl2+)))
3796
3797 (define-public shotwell
3798 (package
3799 (name "shotwell")
3800 (version "0.22.1")
3801 (source (origin
3802 (method url-fetch)
3803 (uri (string-append "mirror://gnome/sources/" name "/"
3804 (version-major+minor version) "/"
3805 name "-" version ".tar.xz"))
3806 (sha256
3807 (base32
3808 "1a9lx9a7p6fgaf838xlw98f73xxyxmg6jmm29830lsl8ynbhq9bk"))))
3809 (build-system glib-or-gtk-build-system)
3810 (arguments
3811 `(#:tests? #f ;no "check" target
3812 #:make-flags '("CC=gcc")
3813 #:configure-flags '("--disable-gsettings-convert-install")
3814 #:out-of-source? #f))
3815 (native-inputs
3816 `(("pkg-config" ,pkg-config)
3817 ("gettext" ,gnu-gettext)
3818 ("m4" ,m4)
3819 ("desktop-file-utils" ,desktop-file-utils)
3820 ("vala" ,vala)
3821 ("which" ,which)
3822 ("gnome-doc-utils" ,gnome-doc-utils)
3823 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3824 ;; runtime. It should be propagated.
3825 ("python2-libxml2" ,python2-libxml2)
3826 ("python2" ,python-2)))
3827 (inputs
3828 `(("gstreamer" ,gstreamer)
3829 ("gst-plugins-base" ,gst-plugins-base)
3830 ("gst-plugins-good" ,gst-plugins-good)
3831 ("libgee" ,libgee)
3832 ("gexiv2" ,gexiv2)
3833 ("libraw" ,libraw)
3834 ("json-glib" ,json-glib)
3835 ("rest" ,rest)
3836 ("webkitgtk" ,webkitgtk-2.4)
3837 ("sqlite" ,sqlite)
3838 ("libsoup" ,libsoup)
3839 ("libxml2" ,libxml2)
3840 ("gtk+" ,gtk+)
3841 ("libgudev" ,libgudev)
3842 ("libgphoto2" ,libgphoto2)))
3843 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3844 (synopsis "Photo manager for GNOME 3")
3845 (description
3846 "Shotwell is a digital photo manager designed for the GNOME desktop
3847 environment. It allows you to import photos from disk or camera, organize
3848 them by keywords and events, view them in full-window or fullscreen mode, and
3849 share them with others via social networking and more.")
3850 (license license:lgpl2.1+)))
3851
3852 (define-public file-roller
3853 (package
3854 (name "file-roller")
3855 (version "3.20.1")
3856 (source (origin
3857 (method url-fetch)
3858 (uri (string-append "mirror://gnome/sources/" name "/"
3859 (version-major+minor version) "/"
3860 name "-" version ".tar.xz"))
3861 (sha256
3862 (base32
3863 "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8"))))
3864 (build-system glib-or-gtk-build-system)
3865 (native-inputs
3866 `(("intltool" ,intltool)
3867 ("pkg-config" ,pkg-config)))
3868 ;; TODO: Add libnautilus.
3869 (inputs
3870 `(("gtk+" ,gtk+)
3871 ("gdk-pixbuf" ,gdk-pixbuf)
3872 ("json-glib" ,json-glib)
3873 ("libarchive" ,libarchive)
3874 ("libnotify" ,libnotify)
3875 ("nettle" ,nettle)
3876 ("itstool" ,itstool)
3877 ("libxml2" ,libxml2)))
3878 (synopsis "Graphical archive manager for GNOME")
3879 (description "File Roller is an archive manager for the GNOME desktop
3880 environment that allows users to view, unpack, and create compressed archives
3881 such as gzip tarballs.")
3882 (home-page "http://fileroller.sourceforge.net/")
3883 (license license:gpl2+)))
3884
3885 (define-public gnome-session
3886 (package
3887 (name "gnome-session")
3888 (version "3.20.1")
3889 (source (origin
3890 (method url-fetch)
3891 (uri (string-append "mirror://gnome/sources/" name "/"
3892 (version-major+minor version) "/"
3893 name "-" version ".tar.xz"))
3894 (sha256
3895 (base32
3896 "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"))))
3897 (arguments
3898 '(#:phases
3899 (modify-phases %standard-phases
3900 (add-before 'configure 'pre-configure
3901 (lambda* (#:key outputs #:allow-other-keys)
3902 ;; Use elogind instead of systemd.
3903 (substitute* "configure"
3904 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3905 "libelogind")
3906 (("systemd") "elogind"))
3907 (substitute* "gnome-session/gsm-systemd.c"
3908 (("#include <systemd/sd-login.h>")
3909 "#include <elogind/sd-login.h>"))
3910 ;; Remove uses of the systemd journal.
3911 (substitute* "gnome-session/main.c"
3912 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3913 (substitute* "gnome-session/gsm-manager.c"
3914 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3915 (substitute* "gnome-session/gsm-autostart-app.c"
3916 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3917 #t))
3918 (add-after 'install 'wrap-gnome-session
3919 (lambda* (#:key inputs outputs #:allow-other-keys)
3920 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3921 (let ((glib (assoc-ref inputs "glib:bin"))
3922 (out (assoc-ref outputs "out")))
3923 (wrap-program (string-append out "/bin/gnome-session")
3924 `("PATH" ":" prefix (,(string-append glib "/bin"))))
3925 #t)))
3926 (add-after 'install 'disable-hardware-acceleration-check
3927 (lambda* (#:key outputs #:allow-other-keys)
3928 ;; Do not abort if hardware acceleration is missing. This allows
3929 ;; GNOME to run in QEMU and on low-end devices.
3930 (let ((out (assoc-ref outputs "out")))
3931 (substitute* (string-append out
3932 "/share/xsessions/gnome.desktop")
3933 (("gnome-session")
3934 "gnome-session --disable-acceleration-check"))
3935 #t))))
3936
3937 #:configure-flags
3938 '("--enable-elogind")))
3939 (build-system glib-or-gtk-build-system)
3940 (native-inputs
3941 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3942 ("pkg-config" ,pkg-config)
3943 ("intltool" ,intltool)
3944 ("xsltproc" ,libxslt)))
3945 (inputs
3946 `(("elogind" ,elogind)
3947 ("gnome-desktop" ,gnome-desktop)
3948 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3949 ("gtk+" ,gtk+)
3950 ("json-glib" ,json-glib)
3951 ("libsm" ,libsm)
3952 ("libxcomposite" ,libxcomposite)
3953 ("libxtst" ,libxtst)
3954 ("mesa" ,mesa)
3955 ("upower" ,upower)
3956 ("xtrans" ,xtrans)))
3957 (synopsis "Session manager for GNOME")
3958 (description
3959 "This package contains the GNOME session manager, as well as a
3960 configuration program to choose applications starting on login.")
3961 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3962 (license license:gpl2+)))
3963
3964 (define-public gjs
3965 (package
3966 (name "gjs")
3967 (version "1.44.0")
3968 (source (origin
3969 (method url-fetch)
3970 (uri (string-append "mirror://gnome/sources/" name "/"
3971 (version-major+minor version) "/"
3972 name "-" version ".tar.xz"))
3973 (sha256
3974 (base32
3975 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3976 (modules '((guix build utils)))
3977 (snippet '(substitute* "test/run-with-dbus"
3978 (("/bin/rm") "rm")))))
3979 (build-system gnu-build-system)
3980 (arguments
3981 '(#:phases
3982 (modify-phases %standard-phases
3983 (add-before
3984 'check 'pre-check
3985 (lambda _
3986 ;; For the missing /etc/machine-id.
3987 (setenv "DBUS_FATAL_WARNINGS" "0")
3988
3989 ;; XXX: fails with:
3990 ;; Failed to convert UTF-8 string to JS string: ...
3991 ;; TODO: actually fix it.
3992 (substitute* "installed-tests/js/testEverythingBasic.js"
3993 ((".*test_utf8_inout.*") ""))
3994 #t)))))
3995 (native-inputs
3996 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3997 ("pkg-config" ,pkg-config)
3998 ("xmllint" ,libxml2)
3999 ;; For testing
4000 ("dbus-launch" ,dbus)
4001 ("uuidgen" ,util-linux)
4002 ("xvfb" ,xorg-server)))
4003 (propagated-inputs
4004 ;; These are all in the Requires.private field of gjs-1.0.pc.
4005 `(("gobject-introspection" ,gobject-introspection)
4006 ("mozjs" ,mozjs-24)))
4007 (inputs
4008 `(("gtk+" ,gtk+)
4009 ("readline" ,readline)))
4010 (synopsis "Javascript bindings for GNOME")
4011 (home-page "http://live.gnome.org/Gjs")
4012 (description
4013 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4014 javascript engine and the GObject introspection framework.")
4015 (license license:gpl2+)))
4016
4017 (define-public gedit
4018 (package
4019 (name "gedit")
4020 (version "3.20.1")
4021 (source (origin
4022 (method url-fetch)
4023 (uri (string-append "mirror://gnome/sources/" name "/"
4024 (version-major+minor version) "/"
4025 name "-" version ".tar.xz"))
4026 (sha256
4027 (base32
4028 "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws"))))
4029 (build-system glib-or-gtk-build-system)
4030 (arguments
4031 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4032 #:phases
4033 (modify-phases %standard-phases
4034 (add-after
4035 'install 'wrap-gedit
4036 (lambda* (#:key inputs outputs #:allow-other-keys)
4037 (let ((out (assoc-ref outputs "out"))
4038 (gtksourceview (assoc-ref inputs "gtksourceview"))
4039 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4040 (python-path (getenv "PYTHONPATH")))
4041 (wrap-program (string-append out "/bin/gedit")
4042 ;; For plugins.
4043 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4044 `("PYTHONPATH" ":" prefix (,python-path))
4045 ;; For language-specs.
4046 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4047 "/share")))))
4048 #t)))))
4049 (propagated-inputs
4050 `(("dconf" ,dconf)))
4051 (native-inputs
4052 `(("intltool" ,intltool)
4053 ("itstool" ,itstool)
4054 ("gobject-introspection" ,gobject-introspection)
4055 ("pkg-config" ,pkg-config)))
4056 (inputs
4057 `(("glib" ,glib)
4058 ("gtk+" ,gtk+)
4059 ("gtksourceview" ,gtksourceview)
4060 ("libpeas" ,libpeas)
4061 ("libxml2" ,libxml2)
4062 ("iso-codes" ,iso-codes)
4063 ("python-pygobject" ,python-pygobject)
4064 ("python" ,python)
4065 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4066 ("libx11" ,libx11)
4067 ("vala" ,vala)
4068 ("adwaita-icon-theme" ,adwaita-icon-theme)
4069 ("libsoup" ,libsoup)
4070 ("gnome-desktop" ,gnome-desktop)))
4071 (home-page "https://wiki.gnome.org/Apps/Gedit")
4072 (synopsis "GNOME text editor")
4073 (description "While aiming at simplicity and ease of use, gedit is a
4074 powerful general purpose text editor.")
4075 (license license:gpl2+)))
4076
4077 (define-public zenity
4078 (package
4079 (name "zenity")
4080 (version "3.20.0")
4081 (source (origin
4082 (method url-fetch)
4083 (uri (string-append "mirror://gnome/sources/" name "/"
4084 (version-major+minor version) "/"
4085 name "-" version ".tar.xz"))
4086 (sha256
4087 (base32
4088 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
4089 (build-system gnu-build-system)
4090 (native-inputs
4091 `(("gettext" ,gnu-gettext)
4092 ("itstool" ,itstool)
4093 ("pkg-config" ,pkg-config)))
4094 (inputs
4095 `(("libnotify" ,libnotify)
4096 ("webkitgtk" ,webkitgtk)))
4097 (synopsis "Display graphical dialog boxes from shell scripts")
4098 (home-page "http://www.gnome.org")
4099 (description
4100 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4101 to display dialog boxes from the commandline and shell scripts.")
4102 (license license:lgpl2.0+)))
4103
4104 (define-public mutter
4105 (package
4106 (name "mutter")
4107 (version "3.20.1")
4108 (source (origin
4109 (method url-fetch)
4110 (uri (string-append "mirror://gnome/sources/" name "/"
4111 (version-major+minor version) "/"
4112 name "-" version ".tar.xz"))
4113 (sha256
4114 (base32
4115 "0752vkkmaaay8ziczqrf7z3735bq3brx2djw36arqsdhwawh6jba"))))
4116 (build-system gnu-build-system)
4117 (arguments
4118 '(#:configure-flags
4119 ;; XXX: build fails with [-Werror]:
4120 ;; backends/meta-cursor-renderer.c:112:5: error:
4121 ;; implicit declaration of function ?roundf?
4122 '("--enable-compile-warnings=minimum")))
4123 (native-inputs
4124 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4125 ("gobject-introspection" ,gobject-introspection)
4126 ("intltool" ,intltool)
4127 ("pkg-config" ,pkg-config)))
4128 (propagated-inputs
4129 ;; libmutter.pc refers to all these.
4130 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4131 ("gtk+" ,gtk+)
4132 ("clutter" ,clutter)))
4133 (inputs
4134 `(("gnome-desktop" ,gnome-desktop)
4135 ("libcanberra-gtk" ,libcanberra)
4136 ("libice" ,libice)
4137 ("libsm" ,libsm)
4138 ("libxkbcommon" ,libxkbcommon)
4139 ("libxkbfile" ,libxkbfile)
4140 ("mesa-headers" ,mesa-headers)
4141 ("startup-notification" ,startup-notification)
4142 ("upower-glib" ,upower)
4143 ("xkeyboard-config" ,xkeyboard-config)
4144 ("zenity" ,zenity)))
4145 (synopsis "Window and compositing manager")
4146 (home-page "http://www.gnome.org")
4147 (description
4148 "Mutter is a window and compositing manager that displays and manages your
4149 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4150 Clutter toolkit with solid window-management logic inherited from the Metacity
4151 window manager.")
4152 (license license:gpl2+)))
4153
4154 (define-public gnome-online-accounts
4155 (package
4156 (name "gnome-online-accounts")
4157 (version "3.20.1")
4158 (source (origin
4159 (method url-fetch)
4160 (uri (string-append "mirror://gnome/sources/" name "/"
4161 (version-major+minor version) "/"
4162 name "-" version ".tar.xz"))
4163 (sha256
4164 (base32
4165 "14qcih1g136sn2aklzagv83jl82d3qc598rkdm8zac9gw70ynyn3"))))
4166 (build-system glib-or-gtk-build-system)
4167 (native-inputs
4168 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4169 ("gobject-introspection" ,gobject-introspection)
4170 ("intltool" ,intltool)
4171 ("pkg-config" ,pkg-config)
4172 ("xsltproc" ,libxslt)))
4173 (propagated-inputs
4174 `(("glib" ,glib) ; required by goa-1.0.pc
4175 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4176 (inputs
4177 `(("docbook-xsl" ,docbook-xsl)
4178 ("json-glib" ,json-glib)
4179 ("libsecret" ,libsecret)
4180 ("rest" ,rest)
4181 ("telepathy-glib" ,telepathy-glib)
4182 ("webkitgtk" ,webkitgtk)))
4183 (synopsis "Single sign-on framework for GNOME")
4184 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4185 (description
4186 "GNOME Online Accounts provides interfaces so that applications and
4187 libraries in GNOME can access the user's online accounts. It has providers for
4188 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4189 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4190 (license license:lgpl2.0+)))
4191
4192 (define-public evolution-data-server
4193 (package
4194 (name "evolution-data-server")
4195 (version "3.20.1")
4196 (source (origin
4197 (method url-fetch)
4198 (uri (string-append "mirror://gnome/sources/" name "/"
4199 (version-major+minor version) "/"
4200 name "-" version ".tar.xz"))
4201 (sha256
4202 (base32
4203 "0lsbhzacr2bs90z8sx44vf403r0h2yqsy4l2svrh5hjnassgdyqx"))))
4204 (build-system gnu-build-system)
4205 (arguments
4206 '(;; XXX: fails with:
4207 ;; /Fixture/Calendar0: cleaning up pid xxxx
4208 ;; t status: 139)
4209 #:tests? #f
4210 #:configure-flags
4211 (let ((nss (assoc-ref %build-inputs "nss"))
4212 (nspr (assoc-ref %build-inputs "nspr")))
4213 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4214 "--disable-google" ; disable Google Contacts support
4215 "--disable-google-auth" ; disable Google authentication
4216 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4217 (string-append "--with-nss-includes=" nss "/include/nss")
4218 (string-append "--with-nss-libs=" nss "/lib/nss")))
4219 #:phases
4220 (modify-phases %standard-phases
4221 (add-before 'check 'pre-check
4222 (lambda _
4223 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4224 (("/bin/rm") (which "rm")))
4225 #t)))))
4226 (native-inputs
4227 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4228 ("gobject-introspection" ,gobject-introspection)
4229 ("gperf" ,gperf)
4230 ("intltool" ,intltool)
4231 ("pkg-config" ,pkg-config)
4232 ("python" ,python)))
4233 (propagated-inputs
4234 ;; These are all in the Requires field of .pc files.
4235 `(("gtk+" ,gtk+)
4236 ("libical" ,libical)
4237 ("libsecret" ,libsecret)
4238 ("libsoup" ,libsoup)
4239 ("nss" ,nss)
4240 ("sqlite" ,sqlite)))
4241 (inputs
4242 `(("bdb" ,bdb)
4243 ("gcr" ,gcr)
4244 ("gnome-online-accounts" ,gnome-online-accounts)
4245 ("libgweather" ,libgweather)))
4246 (synopsis "Store address books and calendars")
4247 (home-page "https://wiki.gnome.org/Apps/Evolution")
4248 (description
4249 "This package provides a unified backend for programs that work with
4250 contacts, tasks, and calendar information. It was originally developed for
4251 Evolution (hence the name), but is now used by other packages as well.")
4252 (license license:lgpl2.0)))
4253
4254 (define-public caribou
4255 (package
4256 (name "caribou")
4257 (version "0.4.20")
4258 (source (origin
4259 (method url-fetch)
4260 (uri (string-append "mirror://gnome/sources/" name "/"
4261 (version-major+minor version) "/"
4262 name "-" version ".tar.xz"))
4263 (sha256
4264 (base32
4265 "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris"))))
4266 (build-system glib-or-gtk-build-system)
4267 (arguments
4268 '(#:phases
4269 (modify-phases %standard-phases
4270 (add-before
4271 'build 'pre-build
4272 (lambda* (#:key outputs #:allow-other-keys)
4273 (let ((out (assoc-ref outputs "out")))
4274 ;; Use absolute shared library path in Caribou-1.0.typelib.
4275 (substitute* "libcaribou/Makefile"
4276 (("--shared-library=libcaribou.so")
4277 (string-append "--shared-library="
4278 out "/lib/libcaribou.so")))
4279 #t)))
4280 (add-after 'install 'wrap-programs
4281 (lambda* (#:key outputs #:allow-other-keys)
4282 (let* ((out (assoc-ref outputs "out"))
4283 (python-path (getenv "PYTHONPATH"))
4284 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4285 (for-each
4286 (lambda (prog)
4287 (wrap-program prog
4288 `("PYTHONPATH" ":" prefix (,python-path))
4289 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4290 (list (string-append out "/bin/caribou-preferences")
4291 (string-append out "/libexec/antler-keyboard"))))
4292 #t)))))
4293 (native-inputs
4294 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4295 ("gobject-introspection" ,gobject-introspection)
4296 ("intltool" ,intltool)
4297 ("pkg-config" ,pkg-config)
4298 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4299 ("vala" ,vala)
4300 ("xsltproc" ,libxslt)))
4301 (propagated-inputs
4302 ;; caribou-1.0.pc refers to all these.
4303 `(("libgee" ,libgee)
4304 ("libxklavier" ,libxklavier)
4305 ("libxtst" ,libxtst)
4306 ("gtk+" ,gtk+)))
4307 (inputs
4308 `(("clutter" ,clutter)
4309 ("dconf" ,dconf)
4310 ("gtk+-2" ,gtk+-2)
4311 ("python-pygobject" ,python2-pygobject)))
4312 (synopsis "Text entry and UI navigation application")
4313 (home-page "https://wiki.gnome.org/Projects/Caribou")
4314 (description
4315 "Caribou is an input assistive technology intended for switch and pointer
4316 users.")
4317 (license license:lgpl2.1)))
4318
4319 (define-public network-manager
4320 (package
4321 (name "network-manager")
4322 (version "1.2.0")
4323 (source (origin
4324 (method url-fetch)
4325 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4326 (version-major+minor version) "/"
4327 "NetworkManager-" version ".tar.xz"))
4328 (sha256
4329 (base32
4330 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
4331 (build-system gnu-build-system)
4332 (outputs '("out"
4333 "doc")) ; 8 MiB of gtk-doc HTML
4334 (arguments
4335 '(#:configure-flags
4336 (let ((out (assoc-ref %outputs "out"))
4337 (doc (assoc-ref %outputs "doc"))
4338 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4339 "/sbin/dhclient")))
4340 (list "--with-crypto=gnutls"
4341 "--disable-config-plugin-ibft"
4342 "--sysconfdir=/etc"
4343 "--localstatedir=/var"
4344 (string-append "--with-udev-dir="
4345 out "/lib/udev")
4346 (string-append "--with-dbus-sys-dir="
4347 out "/etc/dbus-1/system.d")
4348 (string-append "--with-html-dir="
4349 doc "/share/gtk-doc/html")
4350 (string-append "--with-dhclient=" dhclient)))
4351 #:phases
4352 (modify-phases %standard-phases
4353 (add-before 'configure 'pre-configure
4354 (lambda _
4355 ;; These tests try to test aspects of network-manager's
4356 ;; functionality within restricted containers, but they don't
4357 ;; cope with being already in the Guix build jail as that jail
4358 ;; lacks some features that they would like to proxy over (like
4359 ;; a /sys mount).
4360 (substitute* '("src/platform/Makefile.in"
4361 "src/devices/Makefile.in")
4362 (("SUBDIRS = tests") ""))
4363 (substitute* '("src/tests/Makefile.in")
4364 (("\ttest-route-manager-linux") "\t")
4365 (("\ttest-route-manager-fake") "\t"))
4366 #t))
4367 (add-before 'check 'pre-check
4368 (lambda _
4369 ;; For the missing /etc/machine-id.
4370 (setenv "DBUS_FATAL_WARNINGS" "0")
4371 #t))
4372 (replace 'install
4373 (lambda _
4374 (zero? (system* "make"
4375 "sysconfdir=/tmp"
4376 "rundir=/tmp"
4377 "statedir=/tmp"
4378 "install")))))))
4379 (native-inputs
4380 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4381 ("gobject-introspection" ,gobject-introspection)
4382 ("intltool" ,intltool)
4383 ("pkg-config" ,pkg-config)
4384 ;; For testing.
4385 ("python" ,python-wrapper)
4386 ("python-dbus" ,python-dbus)
4387 ("python-pygobject" ,python-pygobject)))
4388 (inputs
4389 `(("dbus-glib" ,dbus-glib)
4390 ("dnsmasq" ,dnsmasq)
4391 ("gnutls" ,gnutls)
4392 ("iptables" ,iptables)
4393 ("isc-dhcp" ,isc-dhcp)
4394 ("libgcrypt" ,libgcrypt)
4395 ("libgudev" ,libgudev)
4396 ("libndp" ,libndp)
4397 ("libnl" ,libnl)
4398 ("libsoup" ,libsoup)
4399 ("modem-manager" ,modem-manager)
4400 ("polkit" ,polkit)
4401 ("ppp" ,ppp)
4402 ("readline" ,readline)
4403 ("util-linux" ,util-linux)))
4404 (synopsis "Network connection manager")
4405 (home-page "http://www.gnome.org/projects/NetworkManager/")
4406 (description
4407 "NetworkManager is a system network service that manages your network
4408 devices and connections, attempting to keep active network connectivity when
4409 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4410 devices, and provides VPN integration with a variety of different VPN
4411 services.")
4412 (license license:gpl2+)))
4413
4414 (define-public network-manager-applet
4415 (package
4416 (name "network-manager-applet")
4417 (version "1.2.0")
4418 (source (origin
4419 (method url-fetch)
4420 (uri (string-append "mirror://gnome/sources/" name "/"
4421 (version-major+minor version) "/"
4422 name "-" version ".tar.xz"))
4423 (sha256
4424 (base32
4425 "0dhvk3dvy6djn6blpkv46dn6yfh28wsh6mpl0v53qxfip97j8kwk"))))
4426 (build-system glib-or-gtk-build-system)
4427 (arguments '(#:configure-flags '("--disable-migration")))
4428 (native-inputs
4429 `(("intltool" ,intltool)
4430 ("gobject-introspection" ,gobject-introspection)
4431 ("pkg-config" ,pkg-config)))
4432 (propagated-inputs
4433 ;; libnm-gtk.pc refers to all these.
4434 `(("dbus-glib" ,dbus-glib)
4435 ("gtk+" ,gtk+)
4436 ("network-manager" ,network-manager)))
4437 (inputs
4438 `(("iso-codes" ,iso-codes)
4439 ("libgudev" ,libgudev)
4440 ("libnotify" ,libnotify)
4441 ("libsecret" ,libsecret)))
4442 (synopsis "Applet for managing network connections")
4443 (home-page "http://www.gnome.org/projects/NetworkManager/")
4444 (description
4445 "This package contains a systray applet for NetworkManager. It displays
4446 the available networks and allows users to easily switch between them.")
4447 (license license:gpl2+)))
4448
4449 (define-public libxml++
4450 (package
4451 (name "libxml++")
4452 (version "3.0.0")
4453 (source (origin
4454 (method url-fetch)
4455 (uri (string-append "mirror://gnome/sources/" name "/"
4456 (version-major+minor version) "/"
4457 name "-" version ".tar.xz"))
4458 (sha256
4459 (base32
4460 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
4461 (build-system gnu-build-system)
4462 ;; libxml++-3.0.pc refers to all these.
4463 (propagated-inputs
4464 `(("libxml2" ,libxml2)
4465 ("glibmm" ,glibmm)))
4466 (native-inputs
4467 `(("perl" ,perl)
4468 ("pkg-config" ,pkg-config)))
4469 (home-page "http://libxmlplusplus.sourceforge.net/")
4470 (synopsis "C++ wrapper for XML parser library libxml2")
4471 (description
4472 "This package provides a C++ wrapper for the XML parser library
4473 libxml2.")
4474 (license license:lgpl2.1+)))
4475
4476 (define-public gdm
4477 (package
4478 (name "gdm")
4479 (version "3.20.1")
4480 (source (origin
4481 (method url-fetch)
4482 (uri (string-append "mirror://gnome/sources/" name "/"
4483 (version-major+minor version) "/"
4484 name "-" version ".tar.xz"))
4485 (sha256
4486 (base32
4487 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
4488 (build-system gnu-build-system)
4489 (arguments
4490 '(#:configure-flags
4491 '("--without-plymouth")
4492 #:phases
4493 (modify-phases %standard-phases
4494 (add-before
4495 'configure 'pre-configure
4496 (lambda _
4497 ;; We don't have <systemd/sd-daemon.h>.
4498 (substitute* '("common/gdm-log.c"
4499 "daemon/gdm-server.c"
4500 "daemon/gdm-session-worker.c"
4501 "daemon/gdm-session-worker-job.c")
4502 (("#include <systemd/sd-daemon\\.h>") ""))
4503 ;; Use elogind for sd-login.
4504 (substitute* '("common/gdm-common.c"
4505 "daemon/gdm-manager.c"
4506 "libgdm/gdm-user-switching.c")
4507 (("#include <systemd/sd-login\\.h>")
4508 "#include <elogind/sd-login.h>"))
4509 ;; Avoid checking SYSTEMD using pkg-config.
4510 (setenv "SYSTEMD_CFLAGS" " ")
4511 (setenv "SYSTEMD_LIBS" "-lelogind")
4512 #t)))))
4513 (native-inputs
4514 `(("dconf" ,dconf)
4515 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4516 ("gobject-introspection" ,gobject-introspection)
4517 ("intltool" ,intltool)
4518 ("itstool" ,itstool)
4519 ("pkg-config" ,pkg-config)
4520 ("xmllint" ,libxml2)))
4521 (inputs
4522 `(("accountsservice" ,accountsservice)
4523 ("check" ,check) ; for testing
4524 ("elogind" ,elogind)
4525 ("gtk+" ,gtk+)
4526 ("iso-codes" ,iso-codes)
4527 ("libcanberra" ,libcanberra)
4528 ("linux-pam" ,linux-pam)))
4529 (synopsis "Display manager for GNOME")
4530 (home-page "http://wiki.gnome.org/Projects/GDM/")
4531 (description
4532 "GNOME Display Manager is a system service that is responsible for
4533 providing graphical log-ins and managing local and remote displays.")
4534 (license license:gpl2+)))
4535
4536 (define-public libgtop
4537 (package
4538 (name "libgtop")
4539 (version "2.34.0")
4540 (source (origin
4541 (method url-fetch)
4542 (uri (string-append "mirror://gnome/sources/" name "/"
4543 (version-major+minor version) "/"
4544 name "-" version ".tar.xz"))
4545 (sha256
4546 (base32
4547 "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld"))))
4548 (build-system gnu-build-system)
4549 (native-inputs
4550 `(("gobject-introspection" ,gobject-introspection)
4551 ("intltool" ,intltool)
4552 ("perl" ,perl)
4553 ("pkg-config" ,pkg-config)))
4554 (propagated-inputs
4555 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4556 (synopsis "Portable system access library")
4557 (home-page "https://www.gnome.org/")
4558 (description
4559 "LibGTop is a library to get system specific data such as CPU and memory
4560 usage and information about running processes.")
4561 (license license:gpl2+)))
4562
4563 (define-public gnome-bluetooth
4564 (package
4565 (name "gnome-bluetooth")
4566 (version "3.18.3")
4567 (source (origin
4568 (method url-fetch)
4569 (uri (string-append "mirror://gnome/sources/" name "/"
4570 (version-major+minor version) "/"
4571 name "-" version ".tar.xz"))
4572 (sha256
4573 (base32
4574 "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4"))))
4575 (build-system glib-or-gtk-build-system)
4576 (native-inputs
4577 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4578 ("gobject-introspection" ,gobject-introspection)
4579 ("intltool" ,intltool)
4580 ("pkg-config" ,pkg-config)
4581 ("xmllint" ,libxml2)))
4582 (propagated-inputs
4583 ;; gnome-bluetooth-1.0.pc refers to all these.
4584 `(("gtk+" ,gtk+)
4585 ("udev" ,eudev)))
4586 (inputs
4587 `(("libcanberra" ,libcanberra)
4588 ("libnotify" ,libnotify)))
4589 (synopsis "GNOME Bluetooth subsystem")
4590 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4591 (description
4592 "This package contains tools for managing and manipulating Bluetooth
4593 devices using the GNOME desktop.")
4594 (license license:lgpl2.1+)))
4595
4596 (define-public gnome-control-center
4597 (package
4598 (name "gnome-control-center")
4599 (version "3.20.1")
4600 (source (origin
4601 (method url-fetch)
4602 (uri (string-append "mirror://gnome/sources/" name "/"
4603 (version-major+minor version) "/"
4604 name "-" version ".tar.xz"))
4605 (sha256
4606 (base32
4607 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
4608 (build-system glib-or-gtk-build-system)
4609 (arguments
4610 '(#:phases
4611 (modify-phases %standard-phases
4612 (add-before 'configure 'patch-paths
4613 (lambda* (#:key inputs #:allow-other-keys)
4614 (let ((libc (assoc-ref inputs "libc"))
4615 (tzdata (assoc-ref inputs "tzdata")))
4616 (substitute* "panels/datetime/tz.h"
4617 (("/usr/share/zoneinfo/zone.tab")
4618 (string-append tzdata "/share/zoneinfo/zone.tab")))
4619 (substitute* "panels/datetime/test-endianess.c"
4620 (("/usr/share/locale")
4621 (string-append libc "/share/locale")))
4622 #t))))))
4623 (native-inputs
4624 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4625 ("intltool" ,intltool)
4626 ("pkg-config" ,pkg-config)
4627 ("xsltproc" ,libxslt)))
4628 (inputs
4629 `(("accountsservice" ,accountsservice)
4630 ("clutter-gtk" ,clutter-gtk)
4631 ("colord-gtk" ,colord-gtk)
4632 ("cups" ,cups)
4633 ("dconf" ,dconf)
4634 ("docbook-xsl" ,docbook-xsl)
4635 ("gnome-bluetooth" ,gnome-bluetooth)
4636 ("gnome-desktop" ,gnome-desktop)
4637 ("gnome-online-accounts" ,gnome-online-accounts)
4638 ("gnome-settings-daemon" ,gnome-settings-daemon)
4639 ("grilo" ,grilo)
4640 ("ibus" ,ibus)
4641 ("libcanberra" ,libcanberra)
4642 ("libgudev" ,libgudev)
4643 ("libgtop" ,libgtop)
4644 ("libpwquality" ,libpwquality)
4645 ("libsoup" ,libsoup)
4646 ("libxml2" ,libxml2)
4647 ("libwacom" ,libwacom)
4648 ("mesa" ,mesa)
4649 ("mit-krb5" ,mit-krb5)
4650 ("modem-manager" ,modem-manager)
4651 ("network-manager-applet" ,network-manager-applet)
4652 ("polkit" ,polkit)
4653 ("pulseaudio" ,pulseaudio)
4654 ("smbclient" ,samba)
4655 ("tzdata" ,tzdata)
4656 ("upower" ,upower)))
4657 (synopsis "Utilities to configure the GNOME desktop")
4658 (home-page "https://www.gnome.org/")
4659 (description
4660 "This package contains configuration applets for the GNOME desktop,
4661 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4662 properties, sound setup, desktop theme and background, user interface
4663 properties, screen resolution, and other GNOME parameters.")
4664 (license license:gpl2+)))
4665
4666 (define-public gnome-shell
4667 (package
4668 (name "gnome-shell")
4669 (version "3.20.1")
4670 (source (origin
4671 (method url-fetch)
4672 (uri (string-append "mirror://gnome/sources/" name "/"
4673 (version-major+minor version) "/"
4674 name "-" version ".tar.xz"))
4675 (sha256
4676 (base32
4677 "08cgbr15cim3rgcngrv98rm48pkdxwj4nqx5za1lsnv376m4x5bs"))))
4678 (build-system glib-or-gtk-build-system)
4679 (arguments
4680 '(#:phases
4681 (modify-phases %standard-phases
4682 (replace 'install
4683 (lambda* (#:key outputs #:allow-other-keys)
4684 (let* ((out (assoc-ref outputs "out"))
4685 (keysdir (string-append
4686 out "/share/gnome-control-center/keybindings")))
4687 (zero? (system* "make"
4688 (string-append "keysdir=" keysdir)
4689 "install")))))
4690 (add-after
4691 'install 'wrap-programs
4692 (lambda* (#:key outputs #:allow-other-keys)
4693 (let ((out (assoc-ref outputs "out"))
4694 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4695 (python-path (getenv "PYTHONPATH")))
4696 (wrap-program (string-append out "/bin/gnome-shell")
4697 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4698 (for-each
4699 (lambda (prog)
4700 (wrap-program (string-append out "/bin/" prog)
4701 `("PYTHONPATH" ":" prefix (,python-path))
4702 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4703 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4704 #t))))))
4705 (native-inputs
4706 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4707 ("gobject-introspection" ,gobject-introspection)
4708 ("intltool" ,intltool)
4709 ("pkg-config" ,pkg-config)
4710 ("python" ,python)
4711 ("xsltproc" ,libxslt)))
4712 (inputs
4713 `(("accountsservice" ,accountsservice)
4714 ("caribou" ,caribou)
4715 ("docbook-xsl" ,docbook-xsl)
4716 ("evolution-data-server" ,evolution-data-server)
4717 ("gcr" ,gcr)
4718 ("gdm" ,gdm)
4719 ("gjs" ,gjs)
4720 ("gnome-bluetooth" ,gnome-bluetooth)
4721 ("gnome-control-center" ,gnome-control-center)
4722 ("gnome-desktop" ,gnome-desktop)
4723 ("gnome-settings-daemon" ,gnome-settings-daemon)
4724 ("gst-plugins-base" ,gst-plugins-base)
4725 ("ibus" ,ibus)
4726 ("libcanberra" ,libcanberra)
4727 ("libcroco" ,libcroco)
4728 ("libgweather" ,libgweather)
4729 ("libsoup" ,libsoup)
4730 ("mesa-headers" ,mesa-headers)
4731 ("mutter" ,mutter)
4732 ("network-manager-applet" ,network-manager-applet)
4733 ("polkit" ,polkit)
4734 ("pulseaudio" ,pulseaudio)
4735 ("python-pygobject" ,python-pygobject)
4736 ("startup-notification" ,startup-notification)
4737 ("telepathy-logger" ,telepathy-logger)
4738 ("upower" ,upower)
4739 ;; XXX: required by libgjs.la.
4740 ("readline" ,readline)))
4741 (synopsis "Desktop shell for GNOME")
4742 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4743 (description
4744 "GNOME Shell provides core user interface functions for the GNOME desktop,
4745 like switching to windows and launching applications.")
4746 (license license:gpl2+)))
4747
4748 (define-public gtk-vnc
4749 (package
4750 (name "gtk-vnc")
4751 (version "0.5.4")
4752 (source
4753 (origin
4754 (method url-fetch)
4755 (uri (string-append "mirror://gnome/sources/" name "/"
4756 (version-major+minor version) "/"
4757 name "-" version ".tar.xz"))
4758 (sha256
4759 (base32
4760 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4761 (build-system gnu-build-system)
4762 (arguments
4763 '(#:configure-flags '("--with-gtk=3.0")))
4764 (propagated-inputs
4765 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4766 (inputs
4767 `(("cyrus-sasl" ,cyrus-sasl)
4768 ("gnutls" ,gnutls)
4769 ("libgcrypt" ,libgcrypt)
4770 ("pulseaudio" ,pulseaudio)))
4771 (native-inputs
4772 `(("glib:bin" ,glib "bin")
4773 ("gobject-introspection" ,gobject-introspection)
4774 ("intltool" ,intltool)
4775 ("pkg-config" ,pkg-config)
4776 ("vala" ,vala)))
4777 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4778 (synopsis "VNC viewer widget for GTK+")
4779 (description
4780 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4781 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4782 GTK-VNC implements client side RFB protocol and authentication extensions such
4783 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4784 (license license:lgpl2.1+)))
4785
4786 (define-public nautilus
4787 (package
4788 (name "nautilus")
4789 (version "3.20.1")
4790 (source (origin
4791 (method url-fetch)
4792 (uri (string-append "mirror://gnome/sources/" name "/"
4793 (version-major+minor version) "/"
4794 name "-" version ".tar.xz"))
4795 (sha256
4796 (base32
4797 "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj"))))
4798 (build-system glib-or-gtk-build-system)
4799 (arguments
4800 '(#:configure-flags
4801 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
4802 ;; XXX: FAIL: check-nautilus
4803 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4804 #:tests? #f))
4805 (native-inputs
4806 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4807 ("gobject-introspection" ,gobject-introspection)
4808 ("intltool" ,intltool)
4809 ("pkg-config" ,pkg-config)))
4810 (inputs
4811 ;; TODO: add gvfs support.
4812 `(("dconf" ,dconf)
4813 ("exempi" ,exempi)
4814 ("gnome-desktop" ,gnome-desktop)
4815 ;; XXX: gtk+ is required by libnautilus-extension.pc
4816 ;;
4817 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4818 ;; package. See:
4819 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4820 ("gtk+" ,gtk+)
4821 ("libexif" ,libexif)
4822 ("libxml2" ,libxml2)))
4823 (synopsis "File manager for GNOME")
4824 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4825 (description
4826 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4827 design and behaviour, giving the user a simple way to navigate and manage its
4828 files.")
4829 (license license:gpl2+)))
4830
4831 (define-public baobab
4832 (package
4833 (name "baobab")
4834 (version "3.20.1")
4835 (source (origin
4836 (method url-fetch)
4837 (uri (string-append
4838 "mirror://gnome/sources/" name "/"
4839 (version-major+minor version) "/"
4840 name "-" version ".tar.xz"))
4841 (sha256
4842 (base32
4843 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
4844 (build-system glib-or-gtk-build-system)
4845 (native-inputs
4846 `(("intltool" ,intltool)
4847 ("pkg-config" ,pkg-config)
4848 ("itstool" ,itstool)
4849 ("xmllint" ,libxml2)
4850 ("glib" ,glib "bin")
4851 ("vala" ,vala)))
4852 (inputs
4853 `(("gtk+" ,gtk+)))
4854 (synopsis "Disk usage analyzer for GNOME")
4855 (description
4856 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4857 usage in the GNOME desktop environment. It can easily scan device volumes or
4858 a specific user-requested directory branch (local or remote). Once the scan
4859 is complete it provides a graphical representation of each selected folder.")
4860 (home-page "https://wiki.gnome.org/Apps/Baobab")
4861 (license license:gpl2+)))
4862
4863 (define-public gnome-backgrounds
4864 (package
4865 (name "gnome-backgrounds")
4866 (version "3.20")
4867 (source
4868 (origin
4869 (method url-fetch)
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4873 (sha256
4874 (base32
4875 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
4876 (build-system glib-or-gtk-build-system)
4877 (native-inputs
4878 `(("intltool" ,intltool)))
4879 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4880 (synopsis "Background images for the GNOME desktop")
4881 (description
4882 "GNOME backgrounds package contains a collection of graphics files which
4883 can be used as backgrounds in the GNOME Desktop environment. Additionally,
4884 the package creates the proper framework and directory structure so that you
4885 can add your own files to the collection.")
4886 (license (list license:gpl2+
4887 license:cc-by2.0
4888 license:cc-by-sa2.0
4889 license:cc-by-sa3.0))))
4890
4891 (define-public gnome-screenshot
4892 (package
4893 (name "gnome-screenshot")
4894 (version "3.18.0")
4895 (source
4896 (origin
4897 (method url-fetch)
4898 (uri (string-append "mirror://gnome/sources/" name "/"
4899 (version-major+minor version) "/"
4900 name "-" version ".tar.xz"))
4901 (sha256
4902 (base32
4903 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4904 (build-system glib-or-gtk-build-system)
4905 (native-inputs
4906 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4907 ("intltool" ,intltool)
4908 ("pkg-config" ,pkg-config)))
4909 (inputs
4910 `(("gtk+" ,gtk+)
4911 ("libcanberra" ,libcanberra)
4912 ("libx11" ,libx11)
4913 ("libxext" ,libxext)))
4914 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4915 (synopsis "Take pictures of your screen")
4916 (description
4917 "GNOME Screenshot is a utility used for taking screenshots of the entire
4918 screen, a window or a user defined area of the screen, with optional
4919 beautifying border effects.")
4920 (license license:gpl2+)))
4921
4922 (define-public dconf-editor
4923 (package
4924 (name "dconf-editor")
4925 (version "3.20.1")
4926 (source
4927 (origin
4928 (method url-fetch)
4929 (uri (string-append "mirror://gnome/sources/" name "/"
4930 (version-major+minor version) "/"
4931 name "-" version ".tar.xz"))
4932 (sha256
4933 (base32
4934 "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p"))))
4935 (build-system glib-or-gtk-build-system)
4936 (native-inputs
4937 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4938 ("intltool" ,intltool)
4939 ("pkg-config" ,pkg-config)))
4940 (inputs
4941 `(("dconf" ,dconf)
4942 ("gtk+" ,gtk+)
4943 ("libxml2" ,libxml2)))
4944 (home-page "https://git.gnome.org/browse/dconf-editor")
4945 (synopsis "Graphical editor for GNOME's dconf configuration system")
4946 (description
4947 "Dconf-editor is a graphical tool for browsing and editing the dconf
4948 configuration system for GNOME. It allows users to configure desktop
4949 software that do not provide their own configuration interface.")
4950 (license license:lgpl2.1+)))
4951
4952 (define-public gnome
4953 (package
4954 (name "gnome")
4955 (version (package-version gnome-shell))
4956 (source #f)
4957 (build-system trivial-build-system)
4958 (arguments '(#:builder (mkdir %output)))
4959 (propagated-inputs
4960 ;; TODO: Add more packages according to:
4961 ;; <https://packages.debian.org/jessie/gnome-core>.
4962 `(("adwaita-icon-theme" ,adwaita-icon-theme)
4963 ("baobab" ,baobab)
4964 ("font-cantarell" ,font-cantarell)
4965 ("at-spi2-core" ,at-spi2-core)
4966 ("dbus" ,dbus)
4967 ("dconf" ,dconf)
4968 ("desktop-file-utils" ,desktop-file-utils)
4969 ("eog" ,eog)
4970 ("epiphany" ,epiphany)
4971 ("evince" ,evince)
4972 ("gedit" ,gedit)
4973 ("glib-networking" ,glib-networking)
4974 ("gnome-backgrounds" ,gnome-backgrounds)
4975 ("gnome-control-center" ,gnome-control-center)
4976 ("gnome-keyring" ,gnome-keyring)
4977 ("gnome-session" ,gnome-session)
4978 ("gnome-settings-daemon" ,gnome-settings-daemon)
4979 ("gnome-shell" ,gnome-shell)
4980 ("gnome-terminal" ,gnome-terminal)
4981 ("gnome-themes-standard" ,gnome-themes-standard)
4982 ("gvfs" ,gvfs)
4983 ("hicolor-icon-theme" ,hicolor-icon-theme)
4984 ("nautilus" ,nautilus)
4985 ("pulseaudio" ,pulseaudio)
4986 ("shared-mime-info" ,shared-mime-info)
4987 ("totem" ,totem)
4988 ("yelp" ,yelp)
4989 ("zenity" ,zenity)))
4990 (synopsis "The GNU desktop environment")
4991 (home-page "https://www.gnome.org/")
4992 (description
4993 "GNOME is the graphical desktop for GNU. It includes a wide variety of
4994 applications for browsing the web, editing text and images, creating
4995 documents and diagrams, playing media, scanning, and much more.")
4996 (license license:gpl2+)))
4997
4998 (define-public byzanz
4999 ;; The last stable release of Byzanz was in 2011, but there have been many
5000 ;; useful commits made to the Byzanz repository since then that it would be
5001 ;; silly to use such an old release.
5002 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5003 (package
5004 (name "byzanz")
5005 (version (string-append "0.2-1." (string-take commit 7)))
5006 (source (origin
5007 (method git-fetch)
5008 (uri (git-reference
5009 (url "git://git.gnome.org/byzanz")
5010 (commit commit)))
5011 (sha256
5012 (base32
5013 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5014 (build-system glib-or-gtk-build-system)
5015 (arguments
5016 '(#:phases
5017 (modify-phases %standard-phases
5018 (add-after 'unpack 'bootstrap
5019 (lambda _
5020 ;; The build system cleverly detects that we're not building from
5021 ;; a release tarball and turns on -Werror for GCC.
5022 ;; Unsurprisingly, there is a warning during compilation that
5023 ;; causes the build to fail unnecessarily, so we remove the flag.
5024 (substitute* '("configure.ac")
5025 (("-Werror") ""))
5026 ;; The autogen.sh script in gnome-common will run ./configure
5027 ;; by default, which is problematic because source shebangs
5028 ;; have not yet been patched.
5029 (setenv "NOCONFIGURE" "t")
5030 (zero? (system* "sh" "autogen.sh")))))))
5031 (native-inputs
5032 `(("autoconf" ,autoconf)
5033 ("automake" ,automake)
5034 ("gnome-common" ,gnome-common)
5035 ("intltool" ,intltool)
5036 ("libtool" ,libtool)
5037 ("pkg-config" ,pkg-config)
5038 ("which" ,which)))
5039 (inputs
5040 `(("glib" ,glib)
5041 ("gstreamer" ,gstreamer)
5042 ("gst-plugins-base" ,gst-plugins-base)
5043 ("gtk+" ,gtk+)))
5044 (synopsis "Desktop recording program")
5045 (description "Byzanz is a simple desktop recording program with a
5046 command-line interface. It can record part or all of an X display for a
5047 specified duration and save it as a GIF encoded animated image file.")
5048 (home-page "https://git.gnome.org/browse/byzanz")
5049 (license license:gpl2+))))
5050
5051 (define-public libzapojit
5052 (package
5053 (name "libzapojit")
5054 (version "0.0.3")
5055 (source (origin
5056 (method url-fetch)
5057 (uri (string-append "mirror://gnome/sources/" name "/"
5058 (version-major+minor version) "/"
5059 name "-" version ".tar.xz"))
5060 (sha256
5061 (base32
5062 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5063 (build-system gnu-build-system)
5064 (native-inputs
5065 `(("gobject-introspection" ,gobject-introspection)
5066 ("intltool" ,intltool)
5067 ("pkg-config" ,pkg-config)))
5068 (inputs
5069 `(("gnome-online-accounts" ,gnome-online-accounts)
5070 ("json-glib" ,json-glib)
5071 ("rest" ,rest)))
5072 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5073 (synopsis "Library for accessing SkyDrive and Hotmail")
5074 (description
5075 "Libzapojit is a GLib-based library for accessing online service APIs of
5076 Microsoft SkyDrive and Hotmail, using their REST protocols.")
5077 (license license:lgpl2.1+)))
5078
5079 (define-public gnome-tweak-tool
5080 (package
5081 (name "gnome-tweak-tool")
5082 (version "3.20.1")
5083 (source (origin
5084 (method url-fetch)
5085 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5086 (version-major+minor version) "/"
5087 "gnome-tweak-tool-" version ".tar.xz"))
5088 (patches (list
5089 (search-patch "gnome-tweak-tool-search-paths.patch")))
5090 (sha256
5091 (base32
5092 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5093 (build-system gnu-build-system)
5094 (arguments
5095 `(#:configure-flags '("--localstatedir=/tmp"
5096 "--sysconfdir=/tmp")
5097 #:imported-modules ((guix build python-build-system)
5098 ,@%gnu-build-system-modules)
5099 #:phases (modify-phases %standard-phases
5100 (add-after 'install 'wrap
5101 (@@ (guix build python-build-system) wrap)))))
5102 (native-inputs
5103 `(("intltool" ,intltool)
5104 ("pkg-config" ,pkg-config)))
5105 (inputs
5106 `(("python" ,python-2)
5107 ("python2-pygobject" ,python2-pygobject)))
5108 (propagated-inputs
5109 `(("libnotify" ,libnotify)
5110 ("gobject-introspection" ,gobject-introspection)
5111 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5112 ("gtk+" ,gtk+)))
5113 (synopsis "Customize advanced GNOME 3 options")
5114 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5115 (description
5116 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5117 GNOME 3. This includes things like the fonts used in user interface elements,
5118 alternative user interface themes, changes in window management behavior,
5119 GNOME Shell appearance and extension, etc.")
5120 (license license:gpl3+)))