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