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