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