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