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