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