gnu: Add gnome-bluetooth.
[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 1472 (build-system gnu-build-system)
72a06d3e
LC
1473 (outputs '("out"
1474 "doc")) ;4.1 MiB of gtk-doc
1475 (arguments
1476 '(#:configure-flags (list (string-append "--with-html-dir="
1477 (assoc-ref %outputs "doc")
1478 "/share/gtk-doc/html"))))
b804c61e
JD
1479 (inputs
1480 `(("gtk+" ,gtk+)
1481 ("libgsf" ,libgsf)
1482 ("librsvg" ,librsvg)
1483 ("libxslt" ,libxslt)
1484 ("libxml2" ,libxml2)))
1485 (native-inputs
1486 `(("intltool" ,intltool)
f280cdb1 1487 ("glib" ,glib "bin")
b804c61e
JD
1488 ("pkg-config" ,pkg-config)))
1489 (home-page "https://developer.gnome.org/goffice/")
1490 (synopsis "Document-centric objects and utilities")
1491 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 1492 (license
b804c61e
JD
1493 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1494 ;; Note: NOT LGPL
1495 (list license:gpl2 license:gpl3))))
1496
c024ae36
RW
1497(define-public goffice-0.8
1498 (package (inherit goffice)
1499 (version "0.8.17")
1500 (source (origin
1501 (method url-fetch)
1502 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1503 (version-major+minor version) "/"
1504 (package-name goffice) "-" version ".tar.xz"))
1505 (sha256
1506 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1507 (arguments
1508 `(#:phases
1509 (alist-cons-after
1510 'unpack 'fix-pcre-check
1511 (lambda _
1512 ;; Only glib.h can be included directly. See
1513 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1514 (substitute* "configure"
1515 (("glib/gregex\\.h") "glib.h")) #t)
72a06d3e
LC
1516 %standard-phases)
1517
1518 ,@(package-arguments goffice)))
c024ae36
RW
1519 (propagated-inputs
1520 ;; libgoffice-0.8.pc mentions libgsf-1
1521 `(("libgsf" ,libgsf)))
1522 (inputs
1523 `(("gtk" ,gtk+-2)
1524 ,@(alist-delete "gtk" (package-inputs goffice))))))
1525
b804c61e
JD
1526(define-public gnumeric
1527 (package
1528 (name "gnumeric")
7bcbd40d 1529 (version "1.12.24")
b804c61e
JD
1530 (source (origin
1531 (method url-fetch)
b38e45d8
EB
1532 (uri (string-append "mirror://gnome/sources/" name "/"
1533 (version-major+minor version) "/"
1534 name "-" version ".tar.xz"))
b804c61e
JD
1535 (sha256
1536 (base32
7bcbd40d 1537 "0lcm8k0jb8rd5y4ii803f21nv8rx6gc3mmdlrj5h0rkkn9qm57f5"))))
b804c61e
JD
1538 (build-system gnu-build-system)
1539 (arguments
1540 `(;; The gnumeric developers don't worry much about failing tests.
1541 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 1542 #:tests? #f
b804c61e 1543 #:phases
7bcbd40d
EF
1544 (modify-phases %standard-phases
1545 (add-before
1546 'configure 'pre-conf
1547 (lambda* (#:key outputs #:allow-other-keys)
1548 ;; Make install tries to write into the directory of goffice
1549 ;; I am informed that this only affects the possibility to embed a
1550 ;; spreadsheet inside an Abiword document. So presumably when we
1551 ;; package Abiword we'll have to refer it to this directory.
1552 (substitute* "configure"
1553 (("^GOFFICE_PLUGINS_DIR=.*")
1554 (string-append "GOFFICE_PLUGINS_DIR="
1555 (assoc-ref outputs "out")
1556 "/goffice/plugins"))))))))
b804c61e
JD
1557 (inputs
1558 `(("glib" ,glib)
1559 ("gtk+" ,gtk+)
1560 ("goffice" ,goffice)
1561 ("libgsf" ,libgsf)
7bcbd40d 1562 ("librsvg" ,librsvg)
b804c61e 1563 ("libxml2" ,libxml2)
7bcbd40d 1564 ("libxslt" ,libxslt)
2e4c5457
EF
1565 ("python" ,python-2)
1566 ("python2-pygobject", python2-pygobject-2)
b804c61e
JD
1567 ("zlib" ,zlib)))
1568 (native-inputs
1569 `(("intltool" ,intltool)
b9663471 1570 ("glib:bin" ,glib "bin")
b804c61e
JD
1571 ("pkg-config" ,pkg-config)))
1572 (home-page "http://www.gnumeric.org")
66672a45
LC
1573 (synopsis "Spreadsheet application")
1574 (description
1575 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1576interoperable with other spreadsheet applications. It has a vast array of
1577features beyond typical spreadsheet functionality, such as support for linear
1578and non-linear solvers, statistical analysis, and telecommunication
1579engineering.")
1580 (license
b804c61e
JD
1581 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1582 (list license:gpl2 license:gpl3))))
6f885c05
FB
1583
1584(define-public gnome-themes-standard
1585 (package
1586 (name "gnome-themes-standard")
b64d218c 1587 (version "3.18.0")
6f885c05
FB
1588 (source
1589 (origin
1590 (method url-fetch)
2e6ecc5c 1591 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
1592 (version-major+minor version) "/" name "-"
1593 version ".tar.xz"))
1594 (sha256
1595 (base32
b64d218c 1596 "1jxss8kxszhf66vic9n1sagczm5amm0mgxpzyxyjna15q82fnip6"))))
6f885c05
FB
1597 (build-system gnu-build-system)
1598 (inputs
1599 `(("gtk+" ,gtk+)
1600 ("gtk+-2" ,gtk+-2)
1601 ("librsvg" ,librsvg)
1602 ("libxml2" ,libxml2)
1603 ("glib" ,glib)))
1604 (native-inputs
1605 `(("intltool" ,intltool)
1606 ("glib:bin" ,glib "bin")
1607 ("pkg-config" ,pkg-config)))
1608 (arguments
1609 `(#:phases
1610 (alist-cons-before
1611 'build 'use-full-cache
1612 ;; Use librsvg's loaders.cache instead of the one provided by
1613 ;; gdk-pixbuf because the latter does not include support for SVG
1614 ;; files.
1615 (lambda* (#:key inputs #:allow-other-keys)
2e6ecc5c
AE
1616 (setenv "GDK_PIXBUF_MODULE_FILE"
1617 (car (find-files (assoc-ref inputs "librsvg")
6f885c05
FB
1618 "loaders\\.cache"))))
1619 %standard-phases)))
1620 (home-page "https://launchpad.net/gnome-themes-standard")
1621 (synopsis "Default GNOME 3 themes")
1622 (description
1623 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1624 (license license:lgpl2.1+)))
5a659a48 1625
df90c701
RW
1626(define-public seahorse
1627 (package
1628 (name "seahorse")
017d779c 1629 (version "3.18.0")
df90c701
RW
1630 (source
1631 (origin
1632 (method url-fetch)
1633 (uri (string-append "mirror://gnome/sources/" name "/"
1634 (version-major+minor version) "/" name "-"
1635 version ".tar.xz"))
1636 (sha256
1637 (base32
017d779c 1638 "0rxnq47xcagmpqb63g49ay3lfiyjjnmmiay9yifx5jn406d8h32k"))))
df90c701
RW
1639 (build-system glib-or-gtk-build-system)
1640 (inputs
1641 `(("gtk+" ,gtk+)
1642 ("gcr" ,gcr)
34b979b9 1643 ("gnupg" ,gnupg)
df90c701 1644 ("gpgme" ,gpgme)
34b979b9 1645 ("openldap" ,openldap)
4a1bf090 1646 ("openssh" ,openssh)
34b979b9
EF
1647 ("libsecret" ,libsecret)
1648 ("libsoup" ,libsoup)))
df90c701
RW
1649 (native-inputs
1650 `(("intltool" ,intltool)
1651 ("glib:bin" ,glib "bin")
1652 ("itstool" ,itstool)
bcb354ad
SB
1653 ("pkg-config" ,pkg-config)
1654 ("xmllint" ,libxml2)))
df90c701
RW
1655 (home-page "https://launchpad.net/gnome-themes-standard")
1656 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1657 (description
1658 "Seahorse is a GNOME application for managing encryption keys and
1659passwords in the GNOME keyring.")
1660 (license license:gpl2+)))
1661
5a659a48
SB
1662(define-public vala
1663 (package
1664 (name "vala")
f4925a4f 1665 (version "0.30.0")
5a659a48
SB
1666 (source (origin
1667 (method url-fetch)
1668 (uri (string-append "mirror://gnome/sources/" name "/"
1669 (version-major+minor version) "/"
1670 name "-" version ".tar.xz"))
1671 (sha256
1672 (base32
f4925a4f 1673 "1pyyhfw3zzbhxfscbn8xz70dg6vx0kh8gshzikpxczhg01xk7w31"))))
5a659a48 1674 (build-system gnu-build-system)
1ea90625
SB
1675 (arguments
1676 '(#:phases
1677 (modify-phases %standard-phases
f4925a4f 1678 (add-before 'check 'pre-check
1ea90625
SB
1679 (lambda _
1680 (setenv "CC" "gcc")
f4925a4f
SB
1681 ;; For missing '/etc/machine-id'.
1682 (setenv "DBUS_FATAL_WARNINGS" "0")
1ea90625 1683 #t)))))
5a659a48
SB
1684 (native-inputs
1685 `(("pkg-config" ,pkg-config)
1686 ("flex" ,flex)
1687 ("bison" ,bison)
1688 ("xsltproc" ,libxslt)
1689 ("dbus" ,dbus) ; for dbus tests
1690 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1691 (propagated-inputs
1692 `(("glib" ,glib))) ; required by libvala-0.26.pc
1693 (home-page "http://live.gnome.org/Vala/")
1694 (synopsis "Compiler for the GObject type system")
1695 (description
1696 "Vala is a programming language that aims to bring modern programming
1697language features to GNOME developers without imposing any additional runtime
1698requirements and without using a different ABI compared to applications and
1699libraries written in C.")
1700 (license license:lgpl2.1+)))
ea57378f
SB
1701
1702(define-public vte
1703 (package
1704 (name "vte")
fa092153 1705 (version "0.42.1")
ea57378f
SB
1706 (source (origin
1707 (method url-fetch)
1708 (uri (string-append "mirror://gnome/sources/" name "/"
1709 (version-major+minor version) "/"
1710 name "-" version ".tar.xz"))
1711 (sha256
1712 (base32
fa092153 1713 "0d4xzjq6mxrlhnh4i12a1yy90n41m03z8wf8g6wh4hjgx7ly404y"))))
ea57378f
SB
1714 (build-system gnu-build-system)
1715 (native-inputs
1716 `(("pkg-config" ,pkg-config)
1717 ("intltool" ,intltool)
1718 ("vala" ,vala)
1719 ("gobject-introspection" ,gobject-introspection)
1720 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1721 ("xmllint" ,libxml2)))
1722 (propagated-inputs
302393bc
LC
1723 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1724 ("gnutls" ,gnutls))) ;ditto
ea57378f
SB
1725 (home-page "http://www.gnome.org/")
1726 (synopsis "Virtual Terminal Emulator")
1727 (description
1728 "VTE is a library (libvte) implementing a terminal emulator widget for
1729GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1730gnome-terminal, but can also be used to embed a console/terminal in games,
1731editors, IDEs, etc.")
1732 (license license:lgpl2.1+)))
1733
2776d72c
EF
1734;; provides vte 2.90, required for some terminal emulators
1735;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1736;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1737;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1738;; pantheon-terminal, roxterm are not currently packaged
1739(define-public vte-0.36
1740 (package (inherit vte)
1741 (name "vte")
1742 (version "0.36.5")
1743 (source (origin
1744 (method url-fetch)
1745 (uri (string-append "mirror://gnome/sources/" name "/"
1746 (version-major+minor version) "/"
1747 name "-" version ".tar.xz"))
1748 (sha256
1749 (base32
1750 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1751 (propagated-inputs
1752 `(("gtk" ,gtk+)
1753 ("ncurses" ,ncurses)))))
1754
ea57378f
SB
1755;; stable version for gtk2, required by xfce4-terminal.
1756(define-public vte/gtk+-2
1757 (package (inherit vte)
1758 (name "vte")
1759 (version "0.28.2")
1760 (source (origin
1761 (method url-fetch)
1762 (uri (string-append "mirror://gnome/sources/" name "/"
1763 (version-major+minor version) "/"
1764 name "-" version ".tar.xz"))
1765 (sha256
1766 (base32
1767 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1768 (arguments
1769 '(#:configure-flags '("--disable-python")))
1770 (native-inputs
1771 `(("pkg-config" ,pkg-config)
1772 ("intltool" ,intltool)
1773 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1774 (propagated-inputs
1775 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1776 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1777
1778(define-public dconf
1779 (package
1780 (name "dconf")
f05c809f 1781 (version "0.24.0")
b47e1b20
FB
1782 (source (origin
1783 (method url-fetch)
1784 (uri (string-append
2e6ecc5c 1785 "mirror://gnome/sources/" name "/"
b47e1b20
FB
1786 (version-major+minor version) "/"
1787 name "-" version ".tar.xz"))
1788 (sha256
f05c809f
EF
1789 (base32
1790 "1hpy6336f0pbkyranywm4872i5in0xn7jf40a66xdmzls77f0ws3"))))
b47e1b20
FB
1791 (build-system glib-or-gtk-build-system)
1792 (inputs
1793 `(("gtk+" ,gtk+)
1794 ("glib" ,glib)
1795 ("dbus" ,dbus)
1796 ("libxml2" ,libxml2)))
1797 (native-inputs
1798 `(("libxslt" ,libxslt)
1799 ("docbook-xml" ,docbook-xml-4.2)
1800 ("docbook-xsl" ,docbook-xsl)
1801 ("intltool" ,intltool)
1802 ("pkg-config" ,pkg-config)))
1803 (arguments
1804 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1805 ; or /etc/machine-id.
1806 #:configure-flags
1807 ;; Set the correct RUNPATH in binaries.
2e6ecc5c 1808 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
1809 (assoc-ref %outputs "out") "/lib")
1810 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1811 #:phases
1812 (alist-cons-before
1813 'configure 'fix-docbook
1814 (lambda* (#:key inputs #:allow-other-keys)
1815 (substitute* "docs/Makefile.in"
1816 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2e6ecc5c 1817 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
1818 "/xml/xsl/docbook-xsl-"
1819 ,(package-version docbook-xsl)
1820 "/manpages/docbook.xsl")))
2e6ecc5c
AE
1821 (setenv "XML_CATALOG_FILES"
1822 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
1823 "/xml/dtd/docbook/catalog.xml")))
1824 %standard-phases)))
1825 (home-page "https://developer.gnome.org/dconf")
1826 (synopsis "Low-level GNOME configuration system")
1827 (description "Dconf is a low-level configuration system. Its main purpose
1828is to provide a backend to GSettings on platforms that don't already have
1829configuration storage systems.")
1830 (license license:lgpl2.1)))
109da1c0
AE
1831
1832(define-public json-glib
1833 (package
1834 (name "json-glib")
4955ab7d 1835 (version "1.0.4")
109da1c0
AE
1836 (source (origin
1837 (method url-fetch)
1838 (uri (string-append "mirror://gnome/sources/" name "/"
1839 (version-major+minor version) "/"
1840 name "-" version ".tar.xz"))
1841 (sha256
1842 (base32
4955ab7d
SB
1843 "1k85vvb2prmk8aa8hmr2rp9rnbhffjgnmr18b13g24xxnqy5kww0"))
1844 (modules '((guix build utils)))
1845 (snippet
1846 ;; Don't duplicate test names.
1847 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1848 '(substitute* "json-glib/tests/builder.c"
1849 (("\"/builder/complex\", test_builder_empty")
1850 "\"/builder/empty\", test_builder_empty")))))
109da1c0
AE
1851 (build-system gnu-build-system)
1852 (native-inputs
88c6b580 1853 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1854 ("gobject-introspection" ,gobject-introspection)
1855 ("pkg-config" ,pkg-config)))
1856 (propagated-inputs
88c6b580 1857 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1858 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1859 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
1860 (description
1861 "JSON-GLib is a C library based on GLib providing serialization and
1862deserialization support for the JavaScript Object Notation (JSON) format
1863described by RFC 4627. It provides parser and generator GObject classes and
1864various wrappers for the complex data types employed by JSON, such as arrays
1865and objects.")
109da1c0 1866 (license license:lgpl2.1+)))
6f96a359
SB
1867
1868(define-public libxklavier
1869 (package
1870 (name "libxklavier")
1871 (version "5.3")
1872 (source (origin
1873 (method url-fetch)
1874 (uri (string-append "mirror://gnome/sources/" name "/"
1875 version "/" name "-" version ".tar.xz"))
1876 (sha256
1877 (base32
1878 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1879 (build-system gnu-build-system)
1880 (arguments
1881 '(#:configure-flags
1882 (list (string-append "--with-xkb-base="
1883 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 1884 "/share/X11/xkb"))))
6f96a359
SB
1885 (native-inputs
1886 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1887 ("gobject-introspection" ,gobject-introspection)
1888 ("pkg-config" ,pkg-config)))
1889 (propagated-inputs
1890 ;; Required by libxklavier.pc.
1891 `(("glib" ,glib)
1892 ("libxml2" ,libxml2)))
1893 (inputs
1894 `(("iso-codes" ,iso-codes)
1895 ("libxi" ,libxi)
1896 ("libxkbfile" ,libxkbfile)
1897 ("xkbcomp" ,xkbcomp)
1898 ("xkeyboard-config" ,xkeyboard-config)))
1899 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1900 (synopsis "High-level API for X Keyboard Extension")
1901 (description
1902 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
1903Extension known as XKB. This library is intended to support XFree86 and other
1904commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
1905indicators etc).")
1906 (license license:lgpl2.0+)))
619936a4
LC
1907
1908(define-public python2-rsvg
1909 ;; XXX: This is actually a subset of gnome-python-desktop.
1910 (package
1911 (name "python2-rsvg")
1912 (version "2.32.0")
1913 (source
1914 (origin
1915 (method url-fetch)
1916 (uri (string-append
1917 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1918 version ".tar.bz2"))
1919 (sha256
1920 (base32
1921 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1922 (build-system gnu-build-system)
1923 (native-inputs
1924 `(("pkg-config" ,pkg-config)))
1925 (inputs
1926 `(("python" ,python-2)
1927 ("python2-pygtk" ,python2-pygtk)
1928 ("librsvg" ,librsvg)))
1929 (home-page "http://www.gnome.org")
1930 (synopsis "Python bindings to librsvg")
1931 (description
1932 "This packages provides Python bindings to librsvg, the SVG rendering
1933library.")
1934
1935 ;; This is the license of the rsvg bindings. The license of each module
1936 ;; of gnome-python-desktop is given in 'COPYING'.
1937 (license license:lgpl2.1+)))
a31a6d22 1938
f2ca414a
SB
1939(define-public glib-networking
1940 (package
1941 (name "glib-networking")
aa8789c0 1942 (version "2.46.1")
f2ca414a
SB
1943 (source (origin
1944 (method url-fetch)
1945 (uri (string-append "mirror://gnome/sources/glib-networking/"
1946 (version-major+minor version) "/"
1947 name "-" version ".tar.xz"))
1948 (sha256
1949 (base32
aa8789c0 1950 "1cchmi08jpjypgmm9i7xzh5qfg2q5k61kry9ns8mhw3z44a440ym"))
907f939b
SB
1951 (patches
1952 (list (search-patch "glib-networking-ssl-cert-file.patch")))))
f2ca414a
SB
1953 (build-system gnu-build-system)
1954 (arguments
1955 `(#:configure-flags
907f939b 1956 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
f2ca414a
SB
1957 #:phases
1958 (modify-phases %standard-phases
3a4de6b2 1959 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
1960 ;; Install GIO modules into $out/lib/gio/modules.
1961 (lambda _
1962 (substitute* "configure"
1963 (("GIO_MODULE_DIR=.*")
1964 (string-append "GIO_MODULE_DIR=" %output
907f939b
SB
1965 "/lib/gio/modules\n")))))
1966 (add-before 'check 'use-empty-ssl-cert-file
1967 (lambda _
1968 ;; The ca-certificates.crt is not available in the build
1969 ;; environment.
1970 (setenv "SSL_CERT_FILE" "/dev/null")
1971 #t)))))
f2ca414a
SB
1972 (native-inputs
1973 `(("pkg-config" ,pkg-config)
1974 ("intltool" ,intltool)))
1975 (inputs
1976 `(("glib" ,glib)
1977 ("gnutls" ,gnutls)
1978 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1979 ("p11-kit" ,p11-kit)))
1980 (home-page "http://www.gnome.org")
1981 (synopsis "Network-related GIO modules")
1982 (description
1983 "This package contains various network related extensions for the GIO
1984library.")
1985 (license license:lgpl2.0+)))
1986
ca649680 1987(define-public rest
4510b2da 1988 (package
ca649680 1989 (name "rest")
4510b2da
SB
1990 (version "0.7.93")
1991 (source (origin
1992 (method url-fetch)
1993 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
1994 (version-major+minor version) "/"
1995 name "-" version ".tar.xz"))
4510b2da
SB
1996 (sha256
1997 (base32
1998 "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467"))))
1999 (build-system gnu-build-system)
2000 (arguments
2001 '(#:tests? #f ; tests require internet connection
2002 #:configure-flags
2003 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2004 (native-inputs
2005 `(("glib-mkenums" ,glib "bin")
2006 ("gobject-introspection" ,gobject-introspection)
2007 ("pkg-config" ,pkg-config)))
2008 (propagated-inputs
2009 ;; rest-0.7.pc refers to all these.
2010 `(("glib" ,glib)
2011 ("libsoup" ,libsoup)
2012 ("libxml2" ,libxml2)))
2013 (home-page "http://www.gtk.org/")
2014 (synopsis "RESTful web api query library")
2015 (description
2016 "This library was designed to make it easier to access web services that
2017claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2018libxml to ease remote use of the RESTful API.")
2019 (license license:lgpl2.1+)))
2020
6e1bb642
SB
2021(define-public libsoup
2022 (package
2023 (name "libsoup")
fd730590 2024 (version "2.52.1")
6e1bb642
SB
2025 (source (origin
2026 (method url-fetch)
2027 (uri (string-append "mirror://gnome/sources/libsoup/"
2028 (version-major+minor version) "/"
2029 name "-" version ".tar.xz"))
2030 (sha256
2031 (base32
fd730590 2032 "0j6cnnpqqgnb9nj2r0j8j6898np4z503hrnpis7b4l5d8yhbq68f"))))
6e1bb642
SB
2033 (build-system gnu-build-system)
2034 (outputs '("out" "doc"))
2035 (arguments
b19d6805 2036 `(#:configure-flags
6e1bb642
SB
2037 (list (string-append "--with-html-dir="
2038 (assoc-ref %outputs "doc")
fd730590 2039 "/share/gtk-doc/html"))
6e1bb642
SB
2040 #:phases
2041 (modify-phases %standard-phases
3a4de6b2 2042 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
2043 ;; This test fails due to missing /etc/nsswitch.conf
2044 ;; in the build environment.
2045 (lambda _
2046 (substitute* "tests/socket-test.c"
2047 ((".*/sockets/unconnected.*") ""))
2048 #t))
907f939b 2049 (add-before 'check 'pre-check
6e1bb642 2050 (lambda _
907f939b
SB
2051 ;; The 'check-local' target runs 'env LANG=C sort -u',
2052 ;; unset 'LC_ALL' to make 'LANG' working.
6e1bb642 2053 (unsetenv "LC_ALL")
907f939b
SB
2054 ;; The ca-certificates.crt is not available in the build
2055 ;; environment.
2056 (setenv "SSL_CERT_FILE" "/dev/null")
fd730590
SB
2057 #t))
2058 (replace 'install
2059 (lambda _
2060 (zero?
2061 (system* "make"
2062 ;; Install vala bindings into $out.
2063 (string-append "vapidir=" %output
2064 "/share/vala/vapi")
2065 "install")))))))
6e1bb642
SB
2066 (native-inputs
2067 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2068 ("gobject-introspection" ,gobject-introspection)
2069 ("intltool" ,intltool)
2070 ("pkg-config" ,pkg-config)
2071 ("python" ,python-wrapper)
fd730590 2072 ("vala" ,vala)
6e1bb642
SB
2073 ;; These are needed for the tests.
2074 ;; FIXME: Add PHP once available.
2075 ("curl" ,curl)
2076 ("httpd" ,httpd)))
2077 (propagated-inputs
2078 ;; libsoup-2.4.pc refers to all these.
2079 `(("glib" ,glib)
2080 ("libxml2" ,libxml2)))
2081 (inputs
2082 `(("glib-networking" ,glib-networking)
2083 ("sqlite" ,sqlite)))
2084 (home-page "https://live.gnome.org/LibSoup/")
2085 (synopsis "GLib-based HTTP Library")
2086 (description
2087 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2088and the GLib main loop, to integrate well with GNOME applications.")
2089 (license license:lgpl2.0+)))
2090
bba229a3
SB
2091(define-public libsecret
2092 (package
2093 (name "libsecret")
896dcbc7 2094 (version "0.18.3")
bba229a3
SB
2095 (source (origin
2096 (method url-fetch)
2097 (uri (string-append
896dcbc7
EF
2098 "mirror://gnome/sources/libsecret/"
2099 (version-major+minor version) "/"
bba229a3
SB
2100 name "-" version ".tar.xz"))
2101 (sha256
2102 (base32
896dcbc7 2103 "1jc4pw6pb5igwasj0ms1zx80w63c11myziz3ydj0cr5lb861vgzj"))))
bba229a3
SB
2104 (build-system gnu-build-system)
2105 (outputs '("out" "doc"))
2106 (arguments
2107 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2108 #:configure-flags
2109 (list (string-append "--with-html-dir="
2110 (assoc-ref %outputs "doc")
2111 "/share/gtk-doc/html"))))
2112 (native-inputs
2113 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2114 ("gobject-introspection" ,gobject-introspection)
2115 ("intltool" ,intltool)
2116 ("pkg-config" ,pkg-config)
2117 ("vala" ,vala)
2118 ("xsltproc" ,libxslt)))
2119 ;; These are needed for the tests.
2120 ;; FIXME: Add gjs once available.
2121 ;("dbus" ,dbus)
2122 ;("python2" ,python-2)
2123 ;("python2-dbus" ,python2-dbus)
2124 ;("python2-pygobject" ,python2-pygobject)
2125 ;("python2-pygobject-2" ,python2-pygobject-2)))
2126 (propagated-inputs
2127 `(("glib" ,glib))) ; required by libsecret-1.pc
2128 (inputs
2129 `(("docbook-xsl" ,docbook-xsl)
2130 ("libgcrypt" ,libgcrypt)
2131 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2132 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2133 (synopsis "GObject bindings for \"Secret Service\" API")
2134 (description
2135 "Libsecret is a GObject based library for storing and retrieving passwords
2136and other secrets. It communicates with the \"Secret Service\" using DBus.")
2137 (license license:lgpl2.1+)))
2138
a31a6d22
SB
2139(define-public gnome-mines
2140 (package
2141 (name "gnome-mines")
daee4191 2142 (version "3.18.2")
a31a6d22
SB
2143 (source
2144 (origin
2145 (method url-fetch)
2146 (uri (string-append "mirror://gnome/sources/" name "/"
2147 (version-major+minor version) "/"
2148 name "-" version ".tar.xz"))
2149 (sha256
2150 (base32
daee4191 2151 "0izkcf81rji4dj9k0k93ij4lp5iza2bh6jwlcdhbjfv2xdw0f7ky"))))
a31a6d22
SB
2152 (build-system glib-or-gtk-build-system)
2153 (arguments
2154 '(#:phases
2155 (modify-phases %standard-phases
f8503e2b 2156 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2157 (lambda _
2158 (substitute* "configure"
2159 (("/bin/true") (which "true")))))
f8503e2b 2160 (add-after 'install 'wrap-pixbuf
a31a6d22
SB
2161 ;; Use librsvg's loaders.cache to support SVG files.
2162 (lambda* (#:key inputs outputs #:allow-other-keys)
2163 (let* ((out (assoc-ref outputs "out"))
2164 (prog (string-append out "/bin/gnome-mines"))
2165 (rsvg (assoc-ref inputs "librsvg"))
2166 (pixbuf (find-files rsvg "^loaders\\.cache$")))
2167 (wrap-program prog
2168 `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf))))))))
2169 (native-inputs
2170 `(("pkg-config" ,pkg-config)
2171 ("desktop-file-utils" ,desktop-file-utils)
2172 ("intltool" ,intltool)
bcb354ad
SB
2173 ("itstool" ,itstool)
2174 ("xmllint" ,libxml2)))
a31a6d22
SB
2175 (inputs
2176 `(("gtk+" ,gtk+)
2177 ("librsvg" ,librsvg)))
2178 (home-page "https://wiki.gnome.org/Apps/Mines")
2179 (synopsis "Minesweeper game")
2180 (description
2181 "Mines (previously gnomine) is a puzzle game where you locate mines
2182floating in an ocean using only your brain and a little bit of luck.")
2183 (license license:gpl2+)))
88f70665
AW
2184
2185(define-public gnome-terminal
2186 (package
2187 (name "gnome-terminal")
2e221bee 2188 (version "3.18.2")
88f70665
AW
2189 (source
2190 (origin
2191 (method url-fetch)
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/"
2194 name "-" version ".tar.xz"))
2195 (sha256
2196 (base32
2e221bee 2197 "1ylyv0mla2ypms7iyxndbdjvha0q9jzglb4mhfmqn9cm2gxc0day"))))
88f70665
AW
2198 (build-system glib-or-gtk-build-system)
2199 (arguments
2200 '(#:configure-flags
2201 (list "--disable-migration" "--disable-search-provider"
2202 "--without-nautilus-extension")
2203 #:phases
2204 (modify-phases %standard-phases
3a4de6b2 2205 (add-before 'configure 'patch-/bin/true
88f70665
AW
2206 (lambda _
2207 (substitute* "configure"
2208 (("/bin/true") (which "true"))))))))
2209 (native-inputs
2210 `(("pkg-config" ,pkg-config)
2211 ("desktop-file-utils" ,desktop-file-utils)
2212 ("intltool" ,intltool)
bcb354ad
SB
2213 ("itstool" ,itstool)
2214 ("xmllint" ,libxml2)))
68702167
MW
2215 (propagated-inputs
2216 `(("dconf" ,dconf)))
88f70665
AW
2217 (inputs
2218 `(("gtk+" ,gtk+)
2219 ("vte" ,vte)
2220 ("gnutls" ,gnutls)
88f70665
AW
2221 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2222 ("util-linux" ,util-linux)
2223 ("vala" ,vala)))
2224 (home-page "https://wiki.gnome.org/Apps/Terminal")
2225 (synopsis "Terminal emulator")
2226 (description
2227 "GNOME Terminal is a terminal emulator application for accessing a
2228UNIX shell environment which can be used to run programs available on
2229your system.
2230
2231It supports several profiles, multiple tabs and implements several
2232keyboard shortcuts.")
2233 (license license:gpl3+)))
75016d07
AW
2234
2235(define-public colord
2236 (package
2237 (name "colord")
2238 (version "1.1.8")
2239 (source
2240 (origin
2241 (method url-fetch)
2242 (uri (string-append "http://www.freedesktop.org/software/colord/releases/"
2243 name "-" version ".tar.xz"))
2244 (sha256
2245 (base32
2246 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2247 (build-system glib-or-gtk-build-system)
2248 (arguments
2249 '(;; The tests want to run valgrind. Punt for now.
2250 #:tests? #f
2251 #:configure-flags (list "--localstatedir=/var"
2252 ;; GUSB not packaged yet.
2253 "--disable-gusb"
2254 ;; No dep on systemd.
2255 "--disable-systemd-login"
2256 ;; Wants to install to global completion dir;
2257 ;; punt.
2258 "--disable-bash-completion"
2259 ;; colord-gtk not packaged yet.
2260 "--disable-session-example"
2261 "--with-daemon-user=colord"
2262 "--enable-sane"
2263 (string-append "--with-udevrulesdir="
2264 (assoc-ref %outputs "out")
2265 "/lib/udev/rules.d"))
2266 #:phases
2267 (modify-phases %standard-phases
3a4de6b2 2268 (add-before 'configure 'patch-/bin/true
75016d07
AW
2269 (lambda _
2270 (substitute* "configure"
2271 (("/bin/true") (which "true")))
2272 (substitute* "src/Makefile.in"
2273 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2274 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2275 (native-inputs
2276 `(("pkg-config" ,pkg-config)
2277 ("gobject-introspection" ,gobject-introspection)
2278 ("libtool" ,libtool)
2279 ("intltool" ,intltool)))
65cb2d61
SB
2280 (propagated-inputs
2281 ;; colord.pc refers to all these.
2282 `(("glib" ,glib)
2283 ("udev" ,eudev)
2284 ("lcms" ,lcms)))
75016d07 2285 (inputs
65cb2d61 2286 `(("dbus-glib" ,dbus-glib)
80c7dd1a 2287 ("libgudev" ,libgudev)
75016d07 2288 ("libusb" ,libusb)
75016d07
AW
2289 ("sqlite" ,sqlite)
2290 ("polkit" ,polkit)
2291 ("sane-backends" ,sane-backends)))
2292 (home-page "http://www.freedesktop.org/software/colord/")
2293 (synopsis "Color management service")
2294 (description "Colord is a system service that makes it easy to manage,
2295install and generate color profiles to accurately color manage input and
2296output devices.")
2297 (license license:gpl2+)))
7b2abd00
AW
2298
2299(define-public geoclue
2300 (package
2301 (name "geoclue")
faf713b9 2302 (version "2.2.0")
7b2abd00
AW
2303 (source
2304 (origin
2305 (method url-fetch)
2306 (uri (string-append "http://www.freedesktop.org/software/" name
2307 "/releases/" (version-major+minor version) "/"
2308 name "-" version ".tar.xz"))
2309 (sha256
2310 (base32
faf713b9 2311 "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454"))
7b2abd00
AW
2312 (patches (list (search-patch "geoclue-config.patch")))))
2313 (build-system glib-or-gtk-build-system)
2314 (arguments
2315 '(;; The tests want to run the system bus.
2316 #:tests? #f
2317 #:configure-flags (list ;; Disable bits requiring ModemManager.
2318 "--disable-3g-source"
2319 "--disable-cdma-source"
2320 "--disable-modem-gps-source"
2321 "--with-dbus-service-user=geoclue")
2322 #:phases
2323 (modify-phases %standard-phases
3a4de6b2 2324 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2325 (lambda _
2326 (substitute* "configure"
2327 (("/bin/true") (which "true"))))))))
2328 (native-inputs
2329 `(("pkg-config" ,pkg-config)
2330 ("intltool" ,intltool)))
2331 (inputs
2332 `(("glib" ,glib)
2333 ("json-glib" ,json-glib)
2334 ("libsoup" ,libsoup)))
2335 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2336 (synopsis "Geolocation service")
2337 (description "Geoclue is a D-Bus service that provides location
2338information. The primary goal of the Geoclue project is to make creating
2339location-aware applications as simple as possible, while the secondary goal is
2340to ensure that no application can access location information without explicit
e881752c 2341permission from user.")
7b2abd00 2342 (license license:gpl2+)))
2bfe7437
AW
2343
2344(define-public geocode-glib
2345 (package
2346 (name "geocode-glib")
6d320ca6 2347 (version "3.18.0")
2bfe7437
AW
2348 (source (origin
2349 (method url-fetch)
2350 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2351 (version-major+minor version) "/"
2352 name "-" version ".tar.xz"))
2353 (sha256
2354 (base32
6d320ca6 2355 "0pa9cgndycynipc6z8wzbvn2fi89ndf2gpqzm9m6krp3d7az1dwg"))))
2bfe7437
AW
2356 (build-system gnu-build-system)
2357 (arguments
2358 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2359 ;; work for the builder. Punt.
a124bbd2 2360 #:tests? #f))
2bfe7437
AW
2361 (native-inputs
2362 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2363 ("gobject-introspection" ,gobject-introspection)
2364 ("pkg-config" ,pkg-config)
2365 ("json-glib" ,json-glib)))
2366 (propagated-inputs
2367 ;; geocode-glib-1.0.pc refers to GIO.
2368 `(("glib" ,glib)))
2369 (inputs
2370 `(("libsoup" ,libsoup)))
2371 (home-page "https://github.com/GNOME/geocode-glib/")
2372 (synopsis "Geocoding and reverse-geocoding library")
2373 (description
2374 "geocode-glib is a convenience library for geocoding (finding longitude,
2375and latitude from an address) and reverse geocoding (finding an address from
2376coordinates) using the Nominatim service. geocode-glib caches requests for
2377faster results and to avoid unnecessary server load.")
2378 (license license:lgpl2.0+)))
a1d5bb0e
AW
2379
2380(define-public upower
2381 (package
2382 (name "upower")
d777e048 2383 (version "0.99.3")
a1d5bb0e
AW
2384 (source (origin
2385 (method url-fetch)
2386 (uri (string-append "http://upower.freedesktop.org/releases/"
2387 name "-" version ".tar.xz"))
2388 (sha256
2389 (base32
d777e048 2390 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
a1d5bb0e
AW
2391 (patches (list (search-patch "upower-builddir.patch")))))
2392 (build-system glib-or-gtk-build-system)
2393 (arguments
2394 '( ;; The tests want to contact the system bus, which can't be done in the
2395 ;; build environment. The integration test can run, but the last of
2396 ;; the up-self-tests doesn't. Disable tests for now.
2397 #:tests? #f
2398 #:configure-flags (list "--localstatedir=/var"
2399 (string-append "--with-udevrulesdir="
2400 (assoc-ref %outputs "out")
2401 "/lib/udev/rules.d"))
2402 #:phases
2403 (modify-phases %standard-phases
2404 (add-before 'configure 'patch-/bin/true
2405 (lambda _
2406 (substitute* "configure"
2407 (("/bin/true") (which "true")))))
2408 (add-before 'configure 'patch-integration-test
2409 (lambda _
2410 (substitute* "src/linux/integration-test"
2411 (("/usr/bin/python3") (which "python3"))))))))
2412 (native-inputs
ebeabe2d
SB
2413 `(("gobject-introspection" ,gobject-introspection)
2414 ("pkg-config" ,pkg-config)
a1d5bb0e
AW
2415 ("intltool" ,intltool)
2416 ("python" ,python)))
2417 (inputs
ea226291
SB
2418 `(("dbus-glib" ,dbus-glib)
2419 ("libgudev" ,libgudev)
a1d5bb0e
AW
2420 ("libusb" ,libusb)))
2421 (home-page "http://upower.freedesktop.org/")
2422 (synopsis "System daemon for managing power devices")
2423 (description
2424 "UPower is an abstraction for enumerating power devices,
2425listening to device events and querying history and statistics. Any
2426application or service on the system can access the org.freedesktop.UPower
2427service via the system message bus.")
2428 (license license:gpl2+)))
6a180f6f
AW
2429
2430(define-public libgweather
2431 (package
2432 (name "libgweather")
b6072e6b 2433 (version "3.18.1")
6a180f6f
AW
2434 (source (origin
2435 (method url-fetch)
2436 (uri (string-append "mirror://gnome/sources/" name "/"
2437 (version-major+minor version) "/"
2438 name "-" version ".tar.xz"))
2439 (sha256
2440 (base32
b6072e6b 2441 "1l3sra84k5dnavbdbjyf1ar84xmjszpnnldih6mf45kniwpjkcll"))))
6a180f6f
AW
2442 (build-system gnu-build-system)
2443 (arguments
b6072e6b
SB
2444 `(#:configure-flags
2445 `(,(string-append "--with-zoneinfo-dir="
2446 (assoc-ref %build-inputs "tzdata")
2447 "/share/zoneinfo"))
2448 #:phases
2449 (modify-phases %standard-phases
2450 (add-before
2451 'check 'pre-check
2452 (lambda* (#:key inputs #:allow-other-keys)
2453 (substitute* "data/check-timezones.sh"
2454 (("/usr/share/zoneinfo/zone.tab")
2455 (string-append (assoc-ref inputs "tzdata")
2456 "/share/zoneinfo/zone.tab")))
2457 #t)))))
6a180f6f
AW
2458 (native-inputs
2459 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 2460 ("gobject-introspection" ,gobject-introspection)
6a180f6f
AW
2461 ("pkg-config" ,pkg-config)
2462 ("intltool" ,intltool)))
2463 (propagated-inputs
2464 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2465 ;; libsoup.
2466 `(("gtk+" ,gtk+)
2467 ("gdk-pixbuf" ,gdk-pixbuf)
2468 ("libxml2" ,libxml2)
2469 ("libsoup" ,libsoup)))
2470 (inputs
2471 `(("tzdata" ,tzdata)
2472 ("geocode-glib" ,geocode-glib)))
2473 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2474 (synopsis "Location, time zone, and weather library for GNOME")
2475 (description
2476 "libgweather is a library to access weather information from online
2477services for numerous locations.")
2478 (license license:gpl2+)))
23a22af6
AW
2479
2480(define-public gnome-settings-daemon
2481 (package
2482 (name "gnome-settings-daemon")
d45d3528 2483 (version "3.18.2")
23a22af6
AW
2484 (source
2485 (origin
2486 (method url-fetch)
2487 (uri (string-append "mirror://gnome/sources/" name "/"
2488 (version-major+minor version) "/"
2489 name "-" version ".tar.xz"))
2490 (sha256
2491 (base32
d45d3528 2492 "0vzwf875csyqx04fnra6zicmzcjc3s13bxxpcizlys12iwjwfw9h"))))
23a22af6
AW
2493 (build-system glib-or-gtk-build-system)
2494 (arguments
ec2b1921 2495 `(;; Network manager not yet packaged.
23a22af6
AW
2496 #:configure-flags '("--disable-network-manager")
2497 ;; Color management test can't reach the colord system service.
2498 #:tests? #f))
2499 (native-inputs
2500 `(("pkg-config" ,pkg-config)
2501 ("intltool" ,intltool)
2502 ("xsltproc" ,libxslt)
2503 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2504 ("docbook-xml" ,docbook-xml-4.2)
2505 ("docbook-xsl" ,docbook-xsl)))
2506 (inputs
2507 `(("colord" ,colord)
ea226291 2508 ("libgudev" ,libgudev)
23a22af6
AW
2509 ("upower" ,upower)
2510 ("polkit" ,polkit)
2511 ("pulseaudio" ,pulseaudio)
2512 ("libcanberra" ,libcanberra)
2513 ("libx11" ,libx11)
2514 ("libxtst" ,libxtst)
2515 ("lcms" ,lcms)
2516 ("libnotify" ,libnotify)
2517 ("geoclue" ,geoclue)
2518 ("geocode-glib" ,geocode-glib)
2519 ("libgweather" ,libgweather)
2520 ("gnome-desktop" ,gnome-desktop)
2521 ("nss" ,nss)
2522 ("cups" ,cups)
ec2b1921
AW
2523 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2524 ("libwacom" ,libwacom)
2525 ("librsvg" ,librsvg)
2526 ("xf86-input-wacom" ,xf86-input-wacom)))
23a22af6
AW
2527 (home-page "http://www.gnome.org")
2528 (synopsis "GNOME settings daemon")
2529 (description
2530 "This package contains the daemon responsible for setting the various
2531parameters of a GNOME session and the applications that run under it. It
2532handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2533settings, themes, mouse settings, and startup of other daemons.")
2534 (license license:gpl2+)))
1e7464a9
DH
2535
2536(define-public totem-pl-parser
2537 (package
2538 (name "totem-pl-parser")
2539 (version "3.10.5")
2540 (source (origin
2541 (method url-fetch)
2542 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2543 "totem-pl-parser-" version ".tar.xz"))
2544 (sha256
2545 (base32
2546 "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7"))))
2547 (build-system gnu-build-system)
2548 (arguments
2549 ;; FIXME: Tests require gvfs.
2550 `(#:tests? #f))
2551 (native-inputs
2552 `(("intltool" ,intltool)
2553 ("glib" ,glib "bin")
4d6d8281 2554 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2555 ("pkg-config" ,pkg-config)))
22a6ad6a 2556 (propagated-inputs
1e7464a9
DH
2557 `(("glib" ,glib)
2558 ("gmime" ,gmime)
22a6ad6a
MW
2559 ("libxml2" ,libxml2)))
2560 (inputs
2561 `(("libarchive" ,libarchive)
1e7464a9
DH
2562 ("libgcrypt" ,libgcrypt)
2563 ("nettle" ,nettle)
22a6ad6a 2564 ("libsoup" ,libsoup)))
1e7464a9
DH
2565 (home-page "https://projects.gnome.org/totem")
2566 (synopsis "Library to parse and save media playlists for GNOME")
2567 (description "Totem-pl-parser is a GObjects-based library to parse and save
2568playlists in a variety of formats.")
2569 (license license:lgpl2.0+)))
2570
6b888eff
SB
2571(define-public aisleriot
2572 (package
2573 (name "aisleriot")
bcff53e0 2574 (version "3.18.2")
6b888eff
SB
2575 (source (origin
2576 (method url-fetch)
2577 (uri (string-append "mirror://gnome/sources/" name "/"
2578 (version-major+minor version) "/"
2579 name "-" version ".tar.xz"))
2580 (sha256
2581 (base32
bcff53e0 2582 "1qrgcj30hl0fgssspkwrad10lqy1bbsp7lfwxmxlwzp33jhqpb0b"))))
6b888eff
SB
2583 (build-system glib-or-gtk-build-system)
2584 (arguments
2585 '(#:configure-flags
2586 '("--with-platform=gtk-only"
2587 "--with-card-theme-formats=svg")))
2588 (native-inputs
2589 `(("desktop-file-utils" ,desktop-file-utils)
2590 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2591 ("intltool" ,intltool)
2592 ("itstool" ,itstool)
2593 ("pkg-config" ,pkg-config)
2594 ("xmllint" ,libxml2)))
2595 (inputs
2596 `(("gtk+" ,gtk+)
2597 ("guile" ,guile-2.0)
2598 ("libcanberra" ,libcanberra)
2599 ("librsvg" ,librsvg)))
2600 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2601 (synopsis "Solitaire card games")
2602 (description
2603 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2604which are easy to play with the aid of a mouse.")
2605 (license license:gpl3+)))
4a79e256
SB
2606
2607(define-public devhelp
2608 (package
2609 (name "devhelp")
3acae170 2610 (version "3.18.1")
4a79e256
SB
2611 (source (origin
2612 (method url-fetch)
2613 (uri (string-append "mirror://gnome/sources/" name "/"
2614 (version-major+minor version) "/"
2615 name "-" version ".tar.xz"))
2616 (sha256
2617 (base32
3acae170 2618 "1vqsqpc51cir5qf801ibh6ljlpfw0qd513l9hjcnzp4ls8m1cfih"))))
4a79e256
SB
2619 (build-system glib-or-gtk-build-system)
2620 (native-inputs
2621 `(("intltool" ,intltool)
2622 ("pkg-config" ,pkg-config)))
2623 (inputs
2624 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2625 ("webkitgtk" ,webkitgtk)))
2626 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2627 (synopsis "API documentation browser for GNOME")
2628 (description
2629 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2630natively with GTK-Doc (the API reference system developed for GTK+ and used
2631throughout GNOME for API documentation).")
2632 (license license:gpl2+)))
ba421ab7
MW
2633
2634(define-public cogl
2635 (package
2636 (name "cogl")
b3e91e02 2637 (version "1.22.0")
ba421ab7
MW
2638 (source
2639 (origin
2640 (method url-fetch)
2641 (uri (string-append "mirror://gnome/sources/" name "/"
2642 (version-major+minor version) "/"
2643 name "-" version ".tar.xz"))
2644 (sha256
2645 (base32
b3e91e02 2646 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
ba421ab7
MW
2647 (build-system gnu-build-system)
2648 (native-inputs
2649 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2650 ("gobject-introspection" ,gobject-introspection)
2651 ;;("xorg-server" ,xorg-server) ; for the test suite
2652 ("pkg-config" ,pkg-config)))
2653 (propagated-inputs
2654 `(("glib" ,glib)
2655 ("gdk-pixbuf" ,gdk-pixbuf)
2656 ("libx11" ,libx11)
2657 ("libxext" ,libxext)
2658 ("libxfixes" ,libxfixes)
2659 ("libxdamage" ,libxdamage)
2660 ("libxcomposite" ,libxcomposite)
2661 ("libxrandr" ,libxrandr)))
2662 (inputs
2663 `(("mesa" ,mesa)
2664 ("cairo" ,cairo)
2665 ("pango" ,pango)
2666 ("gstreamer" ,gstreamer)
2667 ("gst-plugins-base" ,gst-plugins-base)))
2668 (arguments
2669 `(#:configure-flags (list "--enable-cogl-gst"
2670 ;; Arrange to pass an absolute file name to
2671 ;; dlopen for libGL.so.
2672 (string-append "--with-gl-libname="
2673 (assoc-ref %build-inputs "mesa")
2674 "/lib/libGL.so"))
2675 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2676 ;; _FontTransOpen: Unable to Parse address
2677 ;; ${prefix}/share/fonts/X11/misc/
2678 #:tests? #f
2679 #; #:phases
2680 #;
2681 (modify-phases %standard-phases
2682 (add-before 'check 'start-xorg-server
2683 (lambda* (#:key inputs #:allow-other-keys)
2684 ;; The test suite requires a running X server.
2685 (system (format #f "~a/bin/Xvfb :1 &"
2686 (assoc-ref inputs "xorg-server")))
2687 (setenv "DISPLAY" ":1")
2688 #t)))))
2689 (home-page "http://www.cogl3d.org")
2690 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2691 (description
2692 "Cogl is a small library for using 3D graphics hardware to draw pretty
2693pictures. The API departs from the flat state machine style of OpenGL and is
2694designed to make it easy to write orthogonal components that can render
2695without stepping on each others toes.")
2696 (license (list license:expat ; most of the code
2697 license:bsd-3 ; cogl/cogl-point-in-poly.c
2698 license:sgifreeb2.0 ; cogl-path/tesselator/
2699 license:asl2.0)))) ; examples/android/
fb182b8a
MW
2700
2701(define-public clutter
2702 (package
2703 (name "clutter")
0efd8be5 2704 (version "1.24.2")
fb182b8a
MW
2705 (source
2706 (origin
2707 (method url-fetch)
2708 (uri (string-append "mirror://gnome/sources/" name "/"
2709 (version-major+minor version) "/"
2710 name "-" version ".tar.xz"))
2711 (sha256
2712 (base32
0efd8be5 2713 "0qyd0cw17wi8gl6y9z2j2lh2gwghxskfmsdvw4ayrgxwnj6cjccn"))))
fb182b8a 2714 (build-system gnu-build-system)
600233bd
LC
2715 (outputs '("out"
2716 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
2717 (native-inputs
2718 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2719 ("gobject-introspection" ,gobject-introspection)
2720 ("pkg-config" ,pkg-config)
2721 ("xsltproc" ,libxslt)))
2722 (propagated-inputs
2723 `(("cogl" ,cogl)
2724 ("cairo" ,cairo)
2725 ("atk" ,atk)
2726 ("gtk+" ,gtk+)
2727 ("json-glib" ,json-glib)
2728 ("glib" ,glib)
2729 ("libxcomposite" ,libxcomposite)
2730 ("libxdamage" ,libxdamage)
2731 ("libxext" ,libxext)
2732 ("xinput" ,xinput)))
2733 (inputs
2734 `(("libxkbcommon" ,libxkbcommon)
2735 ("udev" ,eudev)))
2736 (arguments
600233bd
LC
2737 `(#:configure-flags (list "--enable-x11-backend=yes"
2738
2739 ;; This produces share/doc/{clutter,cally}.
2740 (string-append "--with-html-dir="
2741 (assoc-ref %outputs "doc")
2742 "/share/doc"))
fb182b8a
MW
2743 ;; XXX FIXME: Get test suite working. It would probably fail in the
2744 ;; same way the cogl tests fail, since clutter is based on cogl.
2745 #:tests? #f))
2746 (home-page "http://www.clutter-project.org")
2747 (synopsis "Open GL based interactive canvas library")
2748 (description
2749 "Clutter is an Open GL based interactive canvas library, designed for
2750creating fast, mainly 2D single window applications such as media box UIs,
2751presentations, kiosk style applications and so on.")
2752 (license license:lgpl2.0+)))
bf7f17ba
MW
2753
2754(define-public clutter-gtk
2755 (package
2756 (name "clutter-gtk")
f0b0a5de 2757 (version "1.6.6")
bf7f17ba
MW
2758 (source
2759 (origin
2760 (method url-fetch)
2761 (uri (string-append "mirror://gnome/sources/" name "/"
2762 (version-major+minor version) "/"
2763 name "-" version ".tar.xz"))
2764 (sha256
2765 (base32
f0b0a5de 2766 "0a2a8ci6in82l43zak3zj3cyms23i5rq6lzk1bz013gm023ach4l"))))
bf7f17ba
MW
2767 (build-system gnu-build-system)
2768 (native-inputs
2769 `(("pkg-config" ,pkg-config)
2770 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
2771 (propagated-inputs
2772 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
2773 `(("clutter" ,clutter)
2774 ("gtk+" ,gtk+)))
2775 (home-page "http://www.clutter-project.org")
2776 (synopsis "Open GL based interactive canvas library GTK+ widget")
2777 (description
2778 "Clutter is an Open GL based interactive canvas library, designed for
2779creating fast, mainly 2D single window applications such as media box UIs,
2780presentations, kiosk style applications and so on.")
2781 (license license:lgpl2.0+)))
86d6a893
MW
2782
2783(define-public clutter-gst
2784 (package
2785 (name "clutter-gst")
c7959517 2786 (version "3.0.14")
86d6a893
MW
2787 (source
2788 (origin
2789 (method url-fetch)
2790 (uri (string-append "mirror://gnome/sources/" name "/"
2791 (version-major+minor version) "/"
2792 name "-" version ".tar.xz"))
2793 (sha256
2794 (base32
c7959517 2795 "1qidm0q28q6w8gjd0gpqnk8fzqxv39dcp0vlzzawlncp8zfagj7p"))))
86d6a893
MW
2796 (build-system gnu-build-system)
2797 (native-inputs
2798 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2799 ("pkg-config" ,pkg-config)
2800 ("gobject-introspection" ,gobject-introspection)))
2801 (inputs
2802 `(("clutter" ,clutter)
2803 ("gstreamer" ,gstreamer)
2804 ("gst-plugins-base" ,gst-plugins-base)))
2805 (home-page "http://www.clutter-project.org")
2806 (synopsis "Integration library for using GStreamer with Clutter")
2807 (description
2808 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2809It provides a GStreamer sink to upload frames to GL and an actor that
2810implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2811GL based interactive canvas library.")
2812 (license license:lgpl2.0+)))
607a04ae 2813
30dc88d9
LC
2814(define-public libchamplain
2815 (package
2816 (name "libchamplain")
b6b53a87 2817 (version "0.12.12")
30dc88d9
LC
2818 (source (origin
2819 (method url-fetch)
2820 (uri (string-append
2821 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2822 version ".tar.xz"))
2823 (sha256
2824 (base32
b6b53a87 2825 "19jlhbgfn9c9g40b3fa2x373s6rfcwx5i9lbpl3vl7d901r7kpp7"))))
30dc88d9
LC
2826 (build-system gnu-build-system)
2827 (native-inputs `(("pkg-config" ,pkg-config)))
2828 (propagated-inputs
2829 `(("libsoup" ,libsoup)
2830 ("sqlite" ,sqlite)
2831 ("clutter" ,clutter)
2832 ("clutter-gtk" ,clutter-gtk)
2833 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2834 ("cairo" ,cairo)
2835 ("gtk+3" ,gtk+)
2836 ("glib" ,glib)))
2837 (home-page "http://projects.gnome.org/libchamplain/")
2838 (synopsis "C library providing a ClutterActor to display maps")
2839 (description
2840 "libchamplain is a C library providing a ClutterActor to display maps.
2841It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2842and Perl bindings are also available. It supports numerous free map sources
2843such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2844 (license license:lgpl2.1+)))
2845
607a04ae
MW
2846(define-public gom
2847 (package
2848 (name "gom")
2849 (version "0.3.1")
2850 (source
2851 (origin
2852 (method url-fetch)
2853 (uri (string-append "mirror://gnome/sources/" name "/"
2854 (version-major+minor version) "/"
2855 name "-" version ".tar.xz"))
2856 (sha256
2857 (base32
2858 "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr"))))
2859 (build-system gnu-build-system)
2860 (native-inputs
2861 `(("intltool" ,intltool)
2862 ("pkg-config" ,pkg-config)
2863 ("gobject-introspection" ,gobject-introspection)))
2864 (inputs
2865 `(("glib" ,glib)
2866 ("gdk-pixbuf" ,gdk-pixbuf)
2867 ("sqlite" ,sqlite)))
2868 ;; XXX TODO: Figure out how to run the test suite.
2869 (arguments `(#:tests? #f))
2870 (home-page "https://wiki.gnome.org/Projects/Gom")
2871 (synopsis "Object mapper from GObjects to SQLite")
2872 (description
2873 "Gom provides an object mapper from GObjects to SQLite. It helps you
2874write applications that need to store structured data as well as make complex
2875queries upon that data.")
2876 (license license:lgpl2.1+)))
b7a3cf11
SB
2877
2878(define-public gnome-klotski
2879 (package
2880 (name "gnome-klotski")
e0b6e264 2881 (version "3.18.2")
b7a3cf11
SB
2882 (source (origin
2883 (method url-fetch)
2884 (uri (string-append "mirror://gnome/sources/" name "/"
2885 (version-major+minor version) "/"
2886 name "-" version ".tar.xz"))
2887 (sha256
2888 (base32
e0b6e264 2889 "14l1fji0860yam41x2cy72nd9bljph385ynfm6k1lsv4qhv72az2"))))
b7a3cf11
SB
2890 (build-system glib-or-gtk-build-system)
2891 (native-inputs
2892 `(("desktop-file-utils" ,desktop-file-utils)
2893 ("intltool" ,intltool)
2894 ("itstool" ,itstool)
bcb354ad
SB
2895 ("pkg-config" ,pkg-config)
2896 ("xmllint" ,libxml2)))
b7a3cf11
SB
2897 (inputs
2898 `(("gtk+" ,gtk+)
2899 ("librsvg" ,librsvg)))
2900 (home-page "https://wiki.gnome.org/Apps/Klotski")
2901 (synopsis "Sliding block puzzles")
2902 (description
2903 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2904the patterned block to the area bordered by green markers. To do so, you will
2905need to slide other blocks out of the way. Complete each puzzle in as few moves
2906as possible!")
2907 (license license:gpl2+)))
8d4791bf
MW
2908
2909(define-public grilo
2910 (package
2911 (name "grilo")
c725dc4d 2912 (version "0.2.14")
8d4791bf
MW
2913 (source
2914 (origin
2915 (method url-fetch)
2916 (uri (string-append "mirror://gnome/sources/" name "/"
2917 (version-major+minor version) "/"
2918 name "-" version ".tar.xz"))
2919 (sha256
2920 (base32
c725dc4d 2921 "1k8wj8f7xfaw5hxypnmwd34li3fq8h76dacach547rvsfjhjxj3r"))))
8d4791bf
MW
2922 (build-system gnu-build-system)
2923 (native-inputs
2924 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2925 ("intltool" ,intltool)
2926 ("pkg-config" ,pkg-config)
2927 ("gobject-introspection" ,gobject-introspection)))
2928 (inputs
2929 `(("glib" ,glib)
2930 ("gtk+" ,gtk+)
2931 ("libxml2" ,libxml2)
2932 ;; XXX TODO: Add oauth
2933 ("libsoup" ,libsoup)
2934 ("totem-pl-parser" ,totem-pl-parser)))
2935 (arguments
2936 `(#:phases
2937 (modify-phases %standard-phases
2938 (add-after 'unpack 'fix-introspection-install-dir
2939 (lambda* (#:key outputs #:allow-other-keys)
2940 (let ((out (assoc-ref outputs "out")))
2941 (substitute* '("src/Makefile.in"
2942 "libs/pls/Makefile.in"
2943 "libs/net/Makefile.in")
2944 (("@INTROSPECTION_GIRDIR@")
2945 (string-append out "/share/gir-1.0/"))
2946 (("@INTROSPECTION_TYPELIBDIR@")
2947 (string-append out "/lib/girepository-1.0/")))))))))
2948 (native-search-paths
2949 (list (search-path-specification
2950 (variable "GRL_PLUGIN_PATH")
2951 (files (list (string-append "lib/grilo-"
2952 (version-major+minor version)))))))
2953 (home-page "http://live.gnome.org/Grilo")
2954 (synopsis "Framework for discovering and browsing media")
2955 (description
2956 "Grilo is a framework focused on making media discovery and browsing easy
2957for application developers.")
2958 (license license:lgpl2.1+)))
7b212526
MW
2959
2960(define-public grilo-plugins
2961 (package
2962 (name "grilo-plugins")
47b7d7bf 2963 (version "0.2.16")
7b212526
MW
2964 (source
2965 (origin
2966 (method url-fetch)
2967 (uri (string-append "mirror://gnome/sources/" name "/"
2968 (version-major+minor version) "/"
2969 name "-" version ".tar.xz"))
2970 (sha256
2971 (base32
47b7d7bf 2972 "00sjmkzxc8w4qn4lp5yj65c4y83mwhp0zlvk11ghvpxnklgmgd40"))))
7b212526
MW
2973 (build-system gnu-build-system)
2974 (native-inputs
2975 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2976 ("intltool" ,intltool)
2977 ("itstool" ,itstool)
2978 ("pkg-config" ,pkg-config)))
2979 (inputs
2980 `(("grilo" ,grilo)
2981 ("glib" ,glib)
2982 ("libxml2" ,libxml2)
2983 ("sqlite" ,sqlite)
2984 ("gom" ,gom)
2985 ;; XXX TODO: Add oauth
2986 ;; XXX TODO: Add goa
2987 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
2988 ;; XXX TODO: Add lua (needs help finding it)
2989 ("json-glib" ,json-glib)
2990 ("avahi" ,avahi)
2991 ("gmime" ,gmime)
2992 ("libsoup" ,libsoup)
2993 ("libarchive" ,libarchive)
2994 ("totem-pl-parser" ,totem-pl-parser)))
2995 (arguments
2996 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
2997 %output
2998 "/lib/grilo-"
2999 ,(version-major+minor version)))
3000 ;; XXX FIXME: Try to get the test suite working. It appears to require
3001 ;; a working system dbus. Inside the build container, all tests fail
3002 ;; with: "assertion failed: (source)". Outside of the build container,
3003 ;; most tests succeed.
3004 #:tests? #f))
3005 (home-page "http://live.gnome.org/Grilo")
3006 (synopsis "Plugins for the Grilo media discovery library")
3007 (description
3008 "Grilo is a framework focused on making media discovery and browsing easy
3009for application developers.")
3010 (license license:lgpl2.1+)))
4e3fc547
MW
3011
3012(define-public totem
3013 (package
3014 (name "totem")
c0925c7a 3015 (version "3.18.1")
4e3fc547
MW
3016 (source
3017 (origin
3018 (method url-fetch)
3019 (uri (string-append "mirror://gnome/sources/" name "/"
3020 (version-major+minor version) "/"
3021 name "-" version ".tar.xz"))
3022 (sha256
3023 (base32
c0925c7a 3024 "18h784c77m4h359j3xnlwqlfvnhbw7m052ahzm26r106jsp6x0fp"))))
4e3fc547
MW
3025 (build-system glib-or-gtk-build-system)
3026 (native-inputs
3027 `(("pkg-config" ,pkg-config)
3028 ("desktop-file-utils" ,desktop-file-utils)
3029 ("gobject-introspection" ,gobject-introspection)
3030 ("intltool" ,intltool)
bcb354ad
SB
3031 ("itstool" ,itstool)
3032 ("xmllint" ,libxml2)))
4e3fc547
MW
3033 (propagated-inputs
3034 `(("dconf" ,dconf)))
3035 (inputs
3036 `(("gtk+" ,gtk+)
3037 ("gdk-pixbuf" ,gdk-pixbuf)
3038 ("atk" ,atk)
3039 ("cairo" ,cairo)
3040 ("dbus-glib" ,dbus-glib)
3041 ("clutter" ,clutter)
3042 ("clutter-gtk" ,clutter-gtk)
3043 ("clutter-gst" ,clutter-gst)
3044 ("xproto" ,xproto)
3045 ("libxxf86vm" ,libxxf86vm)
3046 ("libxtst" ,libxtst)
3047 ("libxrandr" ,libxrandr)
3048 ("libxml2" ,libxml2)
3049 ("libsoup" ,libsoup)
3050 ("libpeas" ,libpeas)
3051 ("librsvg" ,librsvg)
3052 ("lirc" ,lirc)
3053 ("gnome-desktop" ,gnome-desktop)
3054 ("gstreamer" ,gstreamer)
3055 ("gst-plugins-base" ,gst-plugins-base)
3056 ("gst-plugins-good" ,gst-plugins-good)
3057 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3058 ("adwaita-icon-theme" ,adwaita-icon-theme)
3059 ;; XXX We use python-2 because libxml2 because itstool (which needs
3060 ;; libxml) currently uses python-2.
3061 ("python" ,python-2)
3062 ("python-pygobject" ,python2-pygobject)
3063 ;; XXX TODO pylint needed for python support
3064 ("totem-pl-parser" ,totem-pl-parser)
3065 ("grilo" ,grilo)
3066 ("grilo-plugins" ,grilo-plugins)
3067 ("nettle" ,nettle)
3068 ("vala" ,vala)))
3069 (arguments
3070 `(#:phases
3071 (modify-phases %standard-phases
3072 (add-after
3073 'install 'wrap-totem
3074 (lambda* (#:key inputs outputs #:allow-other-keys)
3075 (let ((out (assoc-ref outputs "out"))
3076 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3077 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3078 (wrap-program (string-append out "/bin/totem")
3079 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3080 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3081 #t)))))
3082 (home-page "https://wiki.gnome.org/Apps/Videos")
3083 (synopsis "Simple media player for GNOME based on GStreamer")
3084 (description "Totem is a simple yet featureful media player for GNOME
3085which can read a large number of file formats.")
3086 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3087 ;; to be used and distributed together with GStreamer and Totem. See
3088 ;; file://COPYING in the source distribution for details.
3089 (license license:gpl2+)))
f0afb0c8
DH
3090
3091(define-public rhythmbox
3092 (package
3093 (name "rhythmbox")
3094 (version "3.2.1")
3095 (source (origin
3096 (method url-fetch)
3097 (uri (string-append "mirror://gnome/sources/" name "/"
3098 (version-major+minor version) "/"
3099 name "-" version ".tar.xz"))
3100 (sha256
3101 (base32
3102 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3103 (build-system glib-or-gtk-build-system)
3104 (arguments
3105 `(#:configure-flags
3106 (list "--enable-lirc"
3107 "--enable-python"
3108 "--enable-vala"
3109 "--with-brasero"
3110 "--with-gudev"
3111 "--with-libsecret")
3112 #:phases
3113 (modify-phases %standard-phases
3114 (add-after
3115 'install 'wrap-rhythmbox
3116 (lambda* (#:key inputs outputs #:allow-other-keys)
3117 (let ((out (assoc-ref outputs "out"))
3118 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3119 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3120 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3121 (wrap-program (string-append out "/bin/rhythmbox")
3122 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3123 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3124 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3125 #t)))))
3126 (propagated-inputs
3127 `(("dconf" ,dconf)))
3128 (native-inputs
bcb354ad
SB
3129 `(("itstool" ,itstool)
3130 ("intltool" ,intltool)
f0afb0c8
DH
3131 ("glib" ,glib "bin")
3132 ("gobject-introspection" ,gobject-introspection)
3133 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3134 ("pkg-config" ,pkg-config)
3135 ("xmllint" ,libxml2)))
f0afb0c8
DH
3136 (inputs
3137 `(("json-glib" ,json-glib)
3138 ("tdb" ,tdb)
3139 ("gnome-desktop" ,gnome-desktop)
3140 ("python" ,python)
3141 ("python-pygobject" ,python2-pygobject)
3142 ("vala" ,vala)
3143 ("gmime" ,gmime)
3144 ("nettle" ,nettle)
f0afb0c8
DH
3145 ("adwaita-icon-theme" ,adwaita-icon-theme)
3146 ("grilo" ,grilo)
3147 ("grilo-plugins" ,grilo-plugins)
3148 ("gstreamer" ,gstreamer)
3149 ("gst-plugins-base" ,gst-plugins-base)
3150 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3151 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3152 ("libgudev" ,libgudev)
f0afb0c8
DH
3153 ;;("libmtp" ,libmtp) FIXME: Not detected
3154 ("libsecret" ,libsecret)
3155 ("libsoup" ,libsoup)
3156 ("libnotify" ,libnotify)
3157 ("libpeas" ,libpeas)
3158 ("lirc" ,lirc)
3159 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3160 ;;("clutter" ,clutter)
3161 ;;("clutter-gtk" ,clutter-gtk)
3162 ;;("clutter-gst" ,clutter-gst)
3163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3164 ("atk" ,atk)
3165 ("pango" ,pango)
3166 ("gtk+" ,gtk+)
3167 ;; TODO:
3168 ;; * libgpod
3169 ;; * mx
3170 ;; * webkit
3171 ("brasero" ,brasero)))
3172 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3173 (synopsis "Music player for GNOME")
3174 (description "Rhythmbox is a music playing application for GNOME. It
3175supports playlists, song ratings, and any codecs installed through gstreamer.")
3176 (license license:gpl2+)))
f70d8383
DH
3177
3178(define-public eog
3179 (package
3180 (name "eog")
5d73ac06 3181 (version "3.18.1")
f70d8383
DH
3182 (source (origin
3183 (method url-fetch)
3184 (uri (string-append "mirror://gnome/sources/" name "/"
3185 (version-major+minor version) "/"
3186 name "-" version ".tar.xz"))
3187 (sha256
3188 (base32
5d73ac06 3189 "19wkawrcwjjcvlmizkj57qycnbgizhr8ck3j5qg70605d1xb8yvv"))))
f70d8383
DH
3190 (build-system glib-or-gtk-build-system)
3191 (arguments
3192 `(#:phases
3193 (modify-phases %standard-phases
3194 (add-after
3195 'install 'wrap-eog
3196 (lambda* (#:key outputs #:allow-other-keys)
3197 (let ((out (assoc-ref outputs "out"))
3198 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3199 (wrap-program (string-append out "/bin/eog")
3200 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3201 #t)))))
3202 (propagated-inputs
3203 `(("dconf" ,dconf)))
3204 (native-inputs
3205 `(("intltool" ,intltool)
3206 ("itstool", itstool)
3207 ("glib" ,glib "bin")
3208 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3209 ("pkg-config" ,pkg-config)
3210 ("xmllint" ,libxml2)))
f70d8383
DH
3211 (inputs
3212 `(("gnome-desktop" ,gnome-desktop)
3213 ("shared-mime-info" ,shared-mime-info)
3214 ("adwaita-icon-theme" ,adwaita-icon-theme)
3215 ("exempi" ,exempi)
3216 ("lcms" ,lcms)
3217 ("libexif" ,libexif)
3218 ("libpeas" ,libpeas)
3219 ("libjpeg" ,libjpeg)
3220 ("librsvg" ,librsvg)
3221 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3222 ("gtk+" ,gtk+)))
3223 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3224 (synopsis "GNOME image viewer")
3225 (description "Eye of GNOME is the GNOME image viewer. It
3226supports image conversion, rotation, and slideshows.")
3227 (license license:gpl2+)))
41af5e7b
SB
3228
3229(define-public libgudev
3230 (package
3231 (name "libgudev")
3232 (version "230")
3233 (source (origin
3234 (method url-fetch)
3235 (uri (string-append "mirror://gnome/sources/" name "/"
3236 version "/" name "-" version ".tar.xz"))
3237 (sha256
3238 (base32
3239 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3240 (build-system gnu-build-system)
3241 (native-inputs
3242 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3243 ("gobject-introspection" ,gobject-introspection)
3244 ("pkg-config" ,pkg-config)))
3245 (propagated-inputs
3246 `(("glib" ,glib))) ; required by gudev-1.0.pc
3247 (inputs
3248 `(("udev" ,eudev)))
3249 (home-page "https://wiki.gnome.org/Projects/libgudev")
3250 (synopsis "GObject bindings for libudev")
3251 (description
3252 "This library provides GObject bindings for libudev. It was originally
3253part of udev-extras, then udev, then systemd. It's now a project on its own.")
3254 (license license:lgpl2.1+)))
3dc8828f
SB
3255
3256(define-public gvfs
3257 (package
3258 (name "gvfs")
24a78aa6 3259 (version "1.26.2")
3dc8828f
SB
3260 (source (origin
3261 (method url-fetch)
3262 (uri (string-append "mirror://gnome/sources/" name "/"
3263 (version-major+minor version) "/"
3264 name "-" version ".tar.xz"))
3265 (sha256
3266 (base32
24a78aa6 3267 "064dsjrdjcbi38zl38jhh4r9jcpiygg7x4c8s6s2rb757l7nwnv9"))))
3dc8828f
SB
3268 (build-system gnu-build-system)
3269 (arguments
3270 '(#:tests? #f)) ; XXX: requiring `pidof'
3271 (native-inputs
3272 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3273 ("intltool" ,intltool)
3274 ("pkg-config" ,pkg-config)
3275 ("xsltproc" ,libxslt)))
3276 (inputs
3277 `(("avahi" ,avahi)
3278 ("docbook-xml" ,docbook-xml-4.2)
3279 ("docbook-xsl" ,docbook-xsl)
3280 ("dbus" ,dbus)
3281 ("fuse" ,fuse)
24a78aa6 3282 ("gcr" ,gcr)
3dc8828f
SB
3283 ("glib" ,glib)
3284 ("libarchive" ,libarchive)
3285 ("libbluray" ,libbluray)
3286 ("libcdio-paranoia" ,libcdio-paranoia)
3287 ("libgcrypt" ,libgcrypt)
3288 ("libgphoto2" ,libgphoto2)
3289 ("libgudev" ,libgudev)
3290 ("libmtp" ,libmtp)
3291 ("libsecret" ,libsecret)
3292 ("libsmbclient" ,samba)
3293 ("libsoup" ,libsoup)
3294 ("libxml2" ,libxml2)
3295 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3296 ("udisks" ,udisks)))
3297 (home-page "https://wiki.gnome.org/gvfs/")
3298 (synopsis "Userspace virtual filesystem for GIO")
3299 (description
3300 "GVFS is a userspace virtual filesystem designed to work with the I/O
3301abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3302to all applications using the GIO API. It also supports exposing the GVFS
3303mounts to non-GIO applications using FUSE.
3304
3305GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3306DAV, and others.")
3307 (license license:lgpl2.0+)))
7c88b6bd
AW
3308
3309(define-public gusb
3310 (package
3311 (name "gusb")
3312 (version "0.2.6")
3313 (source (origin
3314 (method url-fetch)
3315 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3316 "gusb_"
3317 (string-join (string-split version #\.)
3318 "_")
3319 ".tar.gz"))
3320 (sha256
3321 (base32
3322 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3323 (build-system gnu-build-system)
3324 (native-inputs
3325 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3326 ("gobject-introspection" ,gobject-introspection)
3327 ("pkg-config" ,pkg-config)
3328 ("vala" ,vala)
3329 ("autoconf" ,autoconf)
3330 ("automake" ,automake)
3331 ("libtool" ,libtool)
3332 ("gtk-doc" ,gtk-doc)))
3333 (propagated-inputs
3334 ;; Both of these are required by gusb.pc.
3335 `(("glib" ,glib)
3336 ("libusb" ,libusb)))
3337 (arguments
3338 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3339 #:phases
3340 (modify-phases %standard-phases
3341 (add-after 'unpack 'autogen
3342 (lambda _
3343 (and (zero? (system* "gtkdocize"))
3344 (zero? (system* "autoreconf" "-vif"))))))))
3345 (home-page "https://github/hughsie/libgusb")
a124bbd2 3346 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
3347 (description
3348 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3349asynchronous control, bulk and interrupt transfers with proper cancellation
3350and integration into a mainloop. This makes it easy to integrate low level
3351USB transfers with your high-level application or system daemon.")
3352 (license license:lgpl2.1+)))
0abe1d86
AW
3353
3354(define-public simple-scan
3355 (package
3356 (name "simple-scan")
3357 (version "3.17.4")
3358 (source (origin
3359 (method url-fetch)
3360 (uri (string-append "https://launchpad.net/simple-scan/"
3361 (version-major+minor version) "/"
3362 version "/+download/simple-scan-"
3363 version ".tar.xz"))
3364 (sha256
3365 (base32
3366 "1pslbv45g01g039zj2b01k08f763kkhzqw8wwz7yh27m7bjllnx6"))))
3367 (build-system glib-or-gtk-build-system)
3368 (inputs
3369 `(("gtk" ,gtk+)
3370 ("zlib" ,zlib)
3371 ("cairo" ,cairo)
3372 ("gdk-pixbuf" ,gdk-pixbuf)
3373 ("gusb" ,gusb)
3374 ("libgudev" ,libgudev)
3375 ("libsane" ,sane-backends)))
3376 (native-inputs
3377 `(("intltool" ,intltool)
3378 ("itstool" ,itstool)
3379 ("colord" ,colord)
3380 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3381 ("pkg-config" ,pkg-config)
bcb354ad
SB
3382 ("vala" ,vala)
3383 ("xmllint" ,libxml2)))
0abe1d86
AW
3384 (home-page "https://launchpad.net/simple-scan")
3385 (synopsis "Document and image scanner")
3386 (description "Simple Scan is an easy-to-use application, designed to let
3387users connect their scanner and quickly have the image/document in an
3388appropriate format. Simple Scan is basically a frontend for SANE - which is
3389the same backend as XSANE uses. This means that all existing scanners will
3390work and the interface is well tested.")
3391 (license license:gpl3+)))
7549f984
SB
3392
3393(define-public epiphany
3394 (package
3395 (name "epiphany")
3396 (version "3.16.3")
3397 (source (origin
3398 (method url-fetch)
3399 (uri (string-append "mirror://gnome/sources/" name "/"
3400 (version-major+minor version) "/"
3401 name "-" version ".tar.xz"))
3402 (sha256
3403 (base32
3404 "1cch4c7gh6lq1i4g0gs39qa2csl4i8a3pcdfapcj5v3r0xvz29ym"))))
3405 (build-system glib-or-gtk-build-system)
3406 (arguments
3407 ;; FIXME: tests run under Xvfb, but fail with:
3408 ;; /src/bookmarks/ephy-bookmarks/create:
3409 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3410 ;; subsystem
3411 ;; FAIL
3412 '(#:tests? #f))
80a747c4
SB
3413 (propagated-inputs
3414 `(("dconf" ,dconf)))
7549f984
SB
3415 (native-inputs
3416 `(("intltool" ,intltool)
3417 ("itstool" ,itstool)
bcb354ad
SB
3418 ("pkg-config" ,pkg-config)
3419 ("xmllint" ,libxml2)))
7549f984
SB
3420 (inputs
3421 `(("avahi" ,avahi)
3422 ("gcr" ,gcr)
3423 ("glib-networking" ,glib-networking)
3424 ("gnome-desktop" ,gnome-desktop)
3425 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3426 ("iso-codes" ,iso-codes)
3427 ("libnotify" ,libnotify)
3428 ("libsecret" ,libsecret)
3429 ("libwnck" ,libwnck)
3430 ("libxslt" ,libxslt)
3431 ("nss" ,nss)
3432 ("sqlite" ,sqlite)
3433 ("webkitgtk" ,webkitgtk)))
3434 (home-page "https://wiki.gnome.org/Apps/Web")
3435 (synopsis "GNOME web browser")
3436 (description
3437 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3438principles are simplicity and standards compliance.")
3439 (license license:gpl2+)))
a3856b2c
SB
3440
3441(define-public d-feet
3442 (package
3443 (name "d-feet")
3444 (version "0.3.10")
3445 (source (origin
3446 (method url-fetch)
3447 (uri (string-append "mirror://gnome/sources/" name "/"
3448 (version-major+minor version) "/"
3449 name "-" version ".tar.xz"))
3450 (sha256
3451 (base32
3452 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3453 (build-system glib-or-gtk-build-system)
3454 (arguments
3455 '(#:out-of-source? #f ; tests need to run in the source directory.
3456 #:phases
3457 (modify-phases %standard-phases
3458 (add-before
3459 'check 'pre-check
86aff791 3460 (lambda _
a3856b2c
SB
3461 ;; The test suite requires a running X server.
3462 (system "Xvfb :1 &")
3463 (setenv "DISPLAY" ":1")
3464 ;; Don't fail on missing '/etc/machine-id'.
3465 (setenv "DBUS_FATAL_WARNINGS" "0")
3466 ;; tests.py and window.py don't meet E402:
3467 ;; E402 module level import not at top of file
3468 (substitute* "src/tests/Makefile"
86aff791
MW
3469 (("--ignore=E123") "--ignore=E123,E402"))
3470 #t))
a3856b2c
SB
3471 (add-after
3472 'install 'wrap-program
3473 (lambda* (#:key outputs #:allow-other-keys)
3474 (let ((prog (string-append (assoc-ref outputs "out")
3475 "/bin/d-feet")))
3476 (wrap-program prog
3477 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3478 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3479 #t))))))
a3856b2c
SB
3480 (native-inputs
3481 `(("intltool" ,intltool)
3482 ("itstool" ,itstool)
3483 ("pkg-config" ,pkg-config)
3484 ("python-pep8" ,python-pep8)
3485 ("xmllint" ,libxml2)
3486 ("xorg-server" ,xorg-server)))
3487 (inputs
3488 `(("gobject-introspection" ,gobject-introspection)
3489 ("gtk+" ,gtk+)
3490 ("python" ,python-wrapper)
3491 ("python-pygobject" ,python-pygobject)))
3492 (home-page "https://wiki.gnome.org/Apps/DFeet")
3493 (synopsis "D-Bus debugger")
3494 (description
3495 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3496of running programs and invoke methods on those interfaces.")
3497 (license license:gpl2+)))
c3b97bd9
SB
3498
3499(define-public yelp-xsl
3500 (package
3501 (name "yelp-xsl")
ccdb0181 3502 (version "3.18.1")
c3b97bd9
SB
3503 (source (origin
3504 (method url-fetch)
3505 (uri (string-append "mirror://gnome/sources/" name "/"
3506 (version-major+minor version) "/"
3507 name "-" version ".tar.xz"))
3508 (sha256
3509 (base32
ccdb0181 3510 "0qmsq7qkc06gmnkvbs84qj3jjzlihriy3z45nfbpgg51b6z0z1q0"))))
c3b97bd9
SB
3511 (build-system gnu-build-system)
3512 (native-inputs
3513 `(("intltool" ,intltool)
3514 ("itstool" ,itstool)
3515 ("xmllint" ,libxml2)))
3516 (home-page "https://wiki.gnome.org/Apps/Yelp")
3517 (synopsis "XSL stylesheets for Yelp")
3518 (description
3519 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3520to format Docbook and Mallard documents.")
3521 (license license:gpl2+)))
de3d612a
SB
3522
3523(define-public yelp
3524 (package
3525 (name "yelp")
3526 (version "3.16.1")
3527 (source (origin
3528 (method url-fetch)
3529 (uri (string-append "mirror://gnome/sources/" name "/"
3530 (version-major+minor version) "/"
3531 name "-" version ".tar.xz"))
3532 (sha256
3533 (base32
3534 "1jk7aad1srykhgc3x0hd3q3dnlshmy1ak00alwjzaasxvy6hp0b0"))))
3535 (build-system glib-or-gtk-build-system)
3536 (native-inputs
3537 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3538 ("intltool" ,intltool)
3539 ("itstool" ,itstool)
3540 ("pkg-config" ,pkg-config)))
3541 (propagated-inputs
3542 `(("dconf" ,dconf)))
3543 (inputs
3544 `(("libxslt" ,libxslt)
3545 ("sqlite" ,sqlite)
3546 ("webkitgtk" ,webkitgtk-2.4)
3547 ("yelp-xsl" ,yelp-xsl)
3548 ;; XXX: need by libwebkitgtk-3.0.la.
3549 ("icu4c" ,(@ (gnu packages icu4c) icu4c))))
3550 (home-page "https://wiki.gnome.org/Apps/Yelp")
3551 (synopsis "GNOME help browser")
3552 (description
3553 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3554man, info, and HTML documents. It can locate documents according to the
3555freedesktop.org help system specification.")
3556 (license license:gpl2+)))
122d0d10
SB
3557
3558(define-public yelp-tools
3559 (package
3560 (name "yelp-tools")
50695955 3561 (version "3.18.0")
122d0d10
SB
3562 (source (origin
3563 (method url-fetch)
3564 (uri (string-append "mirror://gnome/sources/" name "/"
3565 (version-major+minor version) "/"
3566 name "-" version ".tar.xz"))
3567 (sha256
3568 (base32
50695955 3569 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
3570 (build-system gnu-build-system)
3571 (native-inputs
3572 `(("pkg-config" ,pkg-config)))
3573 (propagated-inputs
3574 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3575 `(("itstool" ,itstool)
3576 ("xmllint" ,libxml2)
3577 ("xsltproc" ,libxslt)))
3578 (inputs
3579 `(("yelp-xsl" ,yelp-xsl)))
3580 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3581 (synopsis "Yelp documentation tools")
3582 (description
3583 "Yelp-tools is a collection of scripts and build utilities to help create,
3584manage, and publish documentation for Yelp and the web. Most of the heavy
3585lifting is done by packages like yelp-xsl and itstool. This package just
3586wraps things up in a developer-friendly way.")
3587 (license license:gpl2+)))
af8f9f23
RW
3588
3589(define-public libgee
3590 (package
3591 (name "libgee")
3592 (version "0.18.0")
3593 (source (origin
3594 (method url-fetch)
3595 (uri (string-append "mirror://gnome/sources/" name "/"
3596 (version-major+minor version) "/"
3597 name "-" version ".tar.xz"))
3598 (sha256
3599 (base32
3600 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3601 (build-system gnu-build-system)
3602 (arguments
3603 `(#:phases
3604 (modify-phases %standard-phases
3605 (add-after 'unpack 'fix-introspection-install-dir
3606 (lambda* (#:key outputs #:allow-other-keys)
3607 (let ((out (assoc-ref outputs "out")))
3608 (substitute* "gee/Makefile.in"
3609 (("@INTROSPECTION_GIRDIR@")
3610 (string-append out "/share/gir-1.0/"))
3611 (("@INTROSPECTION_TYPELIBDIR@")
3612 (string-append out "/lib/girepository-1.0/")))))))))
3613 (native-inputs
3614 `(("glib" ,glib "bin")
3615 ("pkg-config" ,pkg-config)))
3616 (inputs
3617 `(("glib" ,glib)
3618 ("gobject-introspection" ,gobject-introspection)))
3619 (home-page "https://wiki.gnome.org/Projects/Libgee")
3620 (synopsis "GObject collection library")
3621 (description
3622 "Libgee is a utility library providing GObject-based interfaces and
3623classes for commonly used data structures.")
3624 (license license:lgpl2.1+)))
b0f9c4b8
RW
3625
3626(define-public gexiv2
3627 (package
3628 (name "gexiv2")
3629 (version "0.10.3")
3630 (source (origin
3631 (method url-fetch)
3632 (uri (string-append "mirror://gnome/sources/" name "/"
3633 (version-major+minor version) "/"
3634 name "-" version ".tar.xz"))
3635 (sha256
3636 (base32
3637 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3638 (build-system gnu-build-system)
3639 (native-inputs
3640 `(("glib" ,glib "bin")
3641 ("pkg-config" ,pkg-config)))
3642 (propagated-inputs
3643 ;; Listed in "Requires" section of gexiv2.pc
3644 `(("exiv2" ,exiv2)))
3645 (inputs
3646 `(("glib" ,glib)
3647 ("gobject-introspection" ,gobject-introspection)))
3648 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3649 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3650 (description
3651 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3652allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3653metadata in photo and video files of various formats.")
3654 (license license:gpl2+)))
fed5a689
RW
3655
3656(define-public shotwell
3657 (package
3658 (name "shotwell")
3659 (version "0.22.0")
3660 (source (origin
3661 (method url-fetch)
3662 (uri (string-append "mirror://gnome/sources/" name "/"
3663 (version-major+minor version) "/"
3664 name "-" version ".tar.xz"))
3665 (sha256
3666 (base32
3667 "0cgqaaikrb10plhf6zxbgqy32zqpiwyi9dpx3g8yr261q72r5c81"))))
3668 (build-system glib-or-gtk-build-system)
3669 (arguments
3670 `(#:tests? #f ;no "check" target
3671 #:make-flags '("CC=gcc")
3672 #:configure-flags '("--disable-gsettings-convert-install")
3673 #:out-of-source? #f))
3674 (native-inputs
3675 `(("pkg-config" ,pkg-config)
3676 ("gettext" ,gnu-gettext)
3677 ("m4" ,m4)
3678 ("desktop-file-utils" ,desktop-file-utils)
3679 ("vala" ,vala)
3680 ("which" ,which)
3681 ("gnome-doc-utils" ,gnome-doc-utils)
3682 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3683 ;; runtime. It should be propagated.
3684 ("python2-libxml2" ,python2-libxml2)
3685 ("python2" ,python-2)))
3686 (inputs
3687 `(("gstreamer" ,gstreamer)
3688 ("gst-plugins-base" ,gst-plugins-base)
3689 ("gst-plugins-good" ,gst-plugins-good)
3690 ("libgee" ,libgee)
3691 ("gexiv2" ,gexiv2)
3692 ("libraw" ,libraw)
3693 ("json-glib" ,json-glib)
3694 ("rest" ,rest)
3695 ("webkitgtk" ,webkitgtk-2.4)
3696 ("sqlite" ,sqlite)
3697 ("libsoup" ,libsoup)
3698 ("libxml2" ,libxml2)
3699 ("gtk+" ,gtk+)
3700 ("libgudev" ,libgudev)
3701 ("libgphoto2" ,libgphoto2)))
3702 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3703 (synopsis "Photo manager for GNOME 3")
3704 (description
3705 "Shotwell is a digital photo manager designed for the GNOME desktop
3706environment. It allows you to import photos from disk or camera, organize
3707them by keywords and events, view them in full-window or fullscreen mode, and
3708share them with others via social networking and more.")
3709 (license license:lgpl2.1+)))
293ff8b2
DT
3710
3711(define-public file-roller
3712 (package
3713 (name "file-roller")
9bffc630 3714 (version "3.16.4")
293ff8b2
DT
3715 (source (origin
3716 (method url-fetch)
3717 (uri (string-append "mirror://gnome/sources/" name "/"
3718 (version-major+minor version) "/"
3719 name "-" version ".tar.xz"))
3720 (sha256
3721 (base32
9bffc630 3722 "11a1g8f2700n2mz998wf40dz1rxjgap60mfns9iv0zlw5h5rhmal"))))
293ff8b2
DT
3723 (build-system glib-or-gtk-build-system)
3724 (native-inputs
3725 `(("intltool" ,intltool)
3726 ("pkg-config" ,pkg-config)))
3727 ;; TODO: Add libnautilus.
3728 (inputs
3729 `(("gtk+" ,gtk+)
3730 ("gdk-pixbuf" ,gdk-pixbuf)
3731 ("json-glib" ,json-glib)
3732 ("libarchive" ,libarchive)
3733 ("libnotify" ,libnotify)
3734 ("nettle" ,nettle)
3735 ("itstool" ,itstool)
3736 ("libxml2" ,libxml2)))
3737 (synopsis "Graphical archive manager for GNOME")
3738 (description "File Roller is an archive manager for the GNOME desktop
3739environment that allows users to view, unpack, and create compressed archives
3740such as gzip tarballs.")
3741 (home-page "http://fileroller.sourceforge.net/")
3742 (license license:gpl2+)))
7ce49365
SB
3743
3744(define-public gnome-session
3745 (package
3746 (name "gnome-session")
3747 (version "3.18.1.2")
3748 (source (origin
3749 (method url-fetch)
3750 (uri (string-append "mirror://gnome/sources/" name "/"
3751 (version-major+minor version) "/"
3752 name "-" version ".tar.xz"))
3753 (sha256
3754 (base32
3755 "0icajbzqf5llvp5s8nafwkhwz6a6jmwn4hhs81bk0bpzawyq4zdk"))))
ba3cb5ab 3756 (build-system glib-or-gtk-build-system)
7ce49365
SB
3757 (native-inputs
3758 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3759 ("pkg-config" ,pkg-config)
3760 ("intltool" ,intltool)
3761 ("xsltproc" ,libxslt)))
3762 (inputs
3763 `(("gnome-desktop" ,gnome-desktop)
ba3cb5ab 3764 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
3765 ("gtk+" ,gtk+)
3766 ("json-glib" ,json-glib)
3767 ("libsm" ,libsm)
3768 ("libxcomposite" ,libxcomposite)
3769 ("libxtst" ,libxtst)
3770 ("mesa" ,mesa)
3771 ("upower" ,upower)
3772 ("xtrans" ,xtrans)))
3773 (synopsis "Session manager for GNOME")
3774 (description
3775 "This package contains the GNOME session manager, as well as a
3776configuration program to choose applications starting on login.")
3777 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3778 (license license:gpl2+)))
f47ba77e
SB
3779
3780(define-public gjs
3781 (package
3782 (name "gjs")
3783 (version "1.44.0")
3784 (source (origin
3785 (method url-fetch)
3786 (uri (string-append "mirror://gnome/sources/" name "/"
3787 (version-major+minor version) "/"
3788 name "-" version ".tar.xz"))
3789 (sha256
3790 (base32
3791 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
3792 (modules '((guix build utils)))
3793 (snippet '(substitute* "test/run-with-dbus"
3794 (("/bin/rm") "rm")))))
3795 (build-system gnu-build-system)
3796 (arguments
3797 '(#:phases
3798 (modify-phases %standard-phases
3799 (add-before
3800 'check 'pre-check
3801 (lambda _
3802 ;; For the missing /etc/machine-id.
3803 (setenv "DBUS_FATAL_WARNINGS" "0")
3804 #t)))))
3805 (native-inputs
3806 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3807 ("pkg-config" ,pkg-config)
3808 ("xmllint" ,libxml2)
3809 ;; For testing
3810 ("dbus-launch" ,dbus)
3811 ("uuidgen" ,util-linux)
3812 ("xvfb" ,xorg-server)))
3813 (propagated-inputs
3814 ;; These are all in the Requires.private field of gjs-1.0.pc.
3815 `(("gobject-introspection" ,gobject-introspection)
3816 ("mozjs" ,mozjs-24)))
3817 (inputs
3818 `(("gtk+" ,gtk+)
3819 ("readline" ,readline)))
3820 (synopsis "Javascript bindings for GNOME")
3821 (home-page "http://live.gnome.org/Gjs")
3822 (description
3823 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
3824javascript engine and the GObject introspection framework.")
3825 (license license:gpl2+)))
329d731b
DH
3826
3827(define-public gedit
3828 (package
3829 (name "gedit")
3830 (version "3.18.1")
3831 (source (origin
3832 (method url-fetch)
3833 (uri (string-append "mirror://gnome/sources/" name "/"
3834 (version-major+minor version) "/"
3835 name "-" version ".tar.xz"))
3836 (sha256
3837 (base32
3838 "1kb3hglcppap7fdy7i7w2wk746kfz77jzs2lq6vrna8a3fqaxmas"))))
3839 (build-system glib-or-gtk-build-system)
3840 (arguments
3841 `(#:phases
3842 (modify-phases %standard-phases
3843 (add-after
3844 'install 'wrap-gedit
3845 (lambda* (#:key inputs outputs #:allow-other-keys)
3846 (let ((out (assoc-ref outputs "out"))
3847 (gtksourceview (assoc-ref inputs "gtksourceview"))
3848 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3849 (wrap-program (string-append out "/bin/gedit")
3850 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3851 ;; For language-specs.
3852 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
3853 "/share")))))
3854 #t)))))
3855 (propagated-inputs
3856 `(("dconf" ,dconf)))
3857 (native-inputs
3858 `(("intltool" ,intltool)
3859 ("itstool", itstool)
3860 ("gobject-introspection" ,gobject-introspection)
3861 ("pkg-config" ,pkg-config)))
3862 (inputs
3863 `(("glib" ,glib)
3864 ("gtk+" ,gtk+)
3865 ("gtksourceview" ,gtksourceview)
3866 ("libpeas" ,libpeas)
3867 ("libxml2" ,libxml2)
3868 ("enchant" ,enchant)
3869 ("iso-codes" ,iso-codes)
3870 ("python-pygobject" ,python-pygobject)
3871 ("python" ,python)
3872 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3873 ("libx11" ,libx11)
3874 ("vala" ,vala)
3875 ("adwaita-icon-theme" ,adwaita-icon-theme)
3876 ("libsoup" ,libsoup)
3877 ("gnome-desktop" ,gnome-desktop)))
3878 (home-page "https://wiki.gnome.org/Apps/Gedit")
3879 (synopsis "GNOME text editor")
3880 (description "While aiming at simplicity and ease of use, gedit is a
3881powerful general purpose text editor.")
3882 (license license:gpl2+)))
b7179363
SB
3883
3884(define-public zenity
3885 (package
3886 (name "zenity")
3887 (version "3.18.1.1")
3888 (source (origin
3889 (method url-fetch)
3890 (uri (string-append "mirror://gnome/sources/" name "/"
3891 (version-major+minor version) "/"
3892 name "-" version ".tar.xz"))
3893 (sha256
3894 (base32
3895 "02m88dfm1rziqk2ywakwib06wl1rxangbzih6cp8wllbyl1plcg6"))))
3896 (build-system gnu-build-system)
3897 (native-inputs
3898 `(("gettext" ,gnu-gettext)
3899 ("itstool" ,itstool)
3900 ("pkg-config" ,pkg-config)))
3901 (inputs
3902 `(("libnotify" ,libnotify)
3903 ("webkitgtk" ,webkitgtk)))
3904 (synopsis "Display graphical dialog boxes from shell scripts")
3905 (home-page "http://www.gnome.org")
3906 (description
3907 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
3908to display dialog boxes from the commandline and shell scripts.")
3909 (license license:lgpl2.0+)))
60c3627c
SB
3910
3911(define-public mutter
3912 (package
3913 (name "mutter")
3914 (version "3.18.1")
3915 (source (origin
3916 (method url-fetch)
3917 (uri (string-append "mirror://gnome/sources/" name "/"
3918 (version-major+minor version) "/"
3919 name "-" version ".tar.xz"))
3920 (sha256
3921 (base32
3922 "1ab959z5fgi4rq0ifxdqvpdbv99a2b1lfgvj327s9crdvk4ygpjg"))))
3923 (build-system gnu-build-system)
3924 (arguments
3925 '(#:configure-flags
3926 ;; XXX: build fails with [-Werror]:
3927 ;; backends/meta-cursor-renderer.c:112:5: error:
3928 ;; implicit declaration of function ?roundf?
3929 '("--enable-compile-warnings=minimum")))
3930 (native-inputs
3931 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3932 ("gobject-introspection" ,gobject-introspection)
3933 ("intltool" ,intltool)
3934 ("pkg-config" ,pkg-config)))
3935 (propagated-inputs
3936 ;; libmutter.pc refers to all these.
3937 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3938 ("gtk+" ,gtk+)
3939 ("clutter" ,clutter)))
3940 (inputs
3941 `(("gnome-desktop" ,gnome-desktop)
3942 ("libcanberra-gtk" ,libcanberra)
3943 ("libice" ,libice)
3944 ("libsm" ,libsm)
3945 ("libxkbcommon" ,libxkbcommon)
3946 ("libxkbfile" ,libxkbfile)
3947 ("mesa-headers" ,mesa-headers)
3948 ("startup-notification" ,startup-notification)
3949 ("upower-glib" ,upower)
3950 ("xkeyboard-config" ,xkeyboard-config)
3951 ("zenity" ,zenity)))
3952 (synopsis "Window and compositing manager")
3953 (home-page "http://www.gnome.org")
3954 (description
3955 "Mutter is a window and compositing manager that displays and manages your
3956desktop via OpenGL. Mutter combines a sophisticated display engine using the
3957Clutter toolkit with solid window-management logic inherited from the Metacity
3958window manager.")
3959 (license license:gpl2+)))
685cee87
SB
3960
3961(define-public gnome-online-accounts
3962 (package
3963 (name "gnome-online-accounts")
3964 (version "3.18.1")
3965 (source (origin
3966 (method url-fetch)
3967 (uri (string-append "mirror://gnome/sources/" name "/"
3968 (version-major+minor version) "/"
3969 name "-" version ".tar.xz"))
3970 (sha256
3971 (base32
3972 "1hn2fvkr1f4qh4gix03avnvk7pklvv5272ns8ws56v4kcq4nppkc"))))
3973 (build-system glib-or-gtk-build-system)
3974 (native-inputs
3975 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3976 ("gobject-introspection" ,gobject-introspection)
3977 ("intltool" ,intltool)
3978 ("pkg-config" ,pkg-config)
3979 ("xsltproc" ,libxslt)))
3980 (propagated-inputs
3981 `(("glib" ,glib) ; required by goa-1.0.pc
3982 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
3983 (inputs
3984 `(("docbook-xsl" ,docbook-xsl)
3985 ("json-glib" ,json-glib)
3986 ("libsecret" ,libsecret)
3987 ("rest" ,rest)
3988 ("telepathy-glib" ,telepathy-glib)
3989 ("webkitgtk" ,webkitgtk)))
3990 (synopsis "Single sign-on framework for GNOME")
3991 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
3992 (description
3993 "GNOME Online Accounts provides interfaces so that applications and
3994libraries in GNOME can access the user's online accounts. It has providers for
3995Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
3996Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
3997 (license license:lgpl2.0+)))
df217748
SB
3998
3999(define-public evolution-data-server
4000 (package
4001 (name "evolution-data-server")
4002 (version "3.18.2")
4003 (source (origin
4004 (method url-fetch)
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.xz"))
4008 (sha256
4009 (base32
4010 "16yfd2a00xqxikyf6pi2awfd0qfq4hwdhfar88axrb4mycfgqhjr"))))
4011 (build-system gnu-build-system)
4012 (arguments
4013 '(;; XXX: fails with:
4014 ;; /Fixture/Calendar0: cleaning up pid xxxx
4015 ;; t status: 139)
4016 #:tests? #f
4017 #:configure-flags
4018 (let ((nss (assoc-ref %build-inputs "nss"))
4019 (nspr (assoc-ref %build-inputs "nspr")))
4020 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4021 "--disable-google" ; disable Google Contacts support
4022 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4023 (string-append "--with-nss-includes=" nss "/include/nss")
4024 (string-append "--with-nss-libs=" nss "/lib/nss")))
4025 #:phases
4026 (modify-phases %standard-phases
4027 (add-before 'check 'pre-check
4028 (lambda _
4029 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4030 (("/bin/rm") (which "rm")))
4031 #t)))))
4032 (native-inputs
4033 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4034 ("gobject-introspection" ,gobject-introspection)
4035 ("gperf" ,gperf)
4036 ("intltool" ,intltool)
4037 ("pkg-config" ,pkg-config)
4038 ("python" ,python)))
4039 (propagated-inputs
4040 ;; These are all in the Requires field of .pc files.
4041 `(("gtk+" ,gtk+)
4042 ("libical" ,libical)
4043 ("libsecret" ,libsecret)
4044 ("libsoup" ,libsoup)
4045 ("nss" ,nss)
4046 ("sqlite" ,sqlite)))
4047 (inputs
4048 `(("bdb" ,bdb)
4049 ("gcr" ,gcr)
4050 ("gnome-online-accounts" ,gnome-online-accounts)
4051 ("libgweather" ,libgweather)))
4052 (synopsis "Store address books and calendars")
4053 (home-page "https://wiki.gnome.org/Apps/Evolution")
4054 (description
4055 "This package provides a unified backend for programs that work with
4056contacts, tasks, and calendar information. It was originally developed for
4057Evolution (hence the name), but is now used by other packages as well.")
4058 (license license:lgpl2.0)))
bd7dfafa
SB
4059
4060(define-public caribou
4061 (package
4062 (name "caribou")
4063 (version "0.4.19")
4064 (source (origin
4065 (method url-fetch)
4066 (uri (string-append "mirror://gnome/sources/" name "/"
4067 (version-major+minor version) "/"
4068 name "-" version ".tar.xz"))
4069 (sha256
4070 (base32
4071 "0i2s2xy9ami3wslam15cajhggpcsj4c70qm7qddcz52z9k0x02rg"))))
4072 (build-system glib-or-gtk-build-system)
4073 (arguments
4074 '(#:phases
4075 (modify-phases %standard-phases
4076 (add-before
4077 'build 'pre-build
4078 (lambda* (#:key outputs #:allow-other-keys)
4079 (let ((out (assoc-ref outputs "out")))
4080 ;; Use absolute shared library path in Caribou-1.0.typelib.
4081 (substitute* "libcaribou/Makefile"
4082 (("--shared-library=libcaribou.so")
4083 (string-append "--shared-library="
4084 out "/lib/libcaribou.so")))
4085 #t)))
4086 (add-after 'install 'wrap-programs
4087 (lambda* (#:key outputs #:allow-other-keys)
4088 (let* ((out (assoc-ref outputs "out"))
4089 (python-path (getenv "PYTHONPATH"))
4090 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4091 (for-each
4092 (lambda (prog)
4093 (wrap-program prog
4094 `("PYTHONPATH" ":" prefix (,python-path))
4095 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4096 (list (string-append out "/bin/caribou-preferences")
4097 (string-append out "/libexec/antler-keyboard"))))
4098 #t)))))
4099 (native-inputs
4100 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4101 ("gobject-introspection" ,gobject-introspection)
4102 ("intltool" ,intltool)
4103 ("pkg-config" ,pkg-config)
4104 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4105 ("vala" ,vala)
4106 ("xsltproc" ,libxslt)))
4107 (propagated-inputs
4108 ;; caribou-1.0.pc refers to all these.
4109 `(("libgee" ,libgee)
4110 ("libxklavier" ,libxklavier)
4111 ("libxtst" ,libxtst)
4112 ("gtk+" ,gtk+)))
4113 (inputs
4114 `(("clutter" ,clutter)
4115 ("dconf" ,dconf)
4116 ("gtk+-2" ,gtk+-2)
4117 ("python-pygobject" ,python2-pygobject)))
4118 (synopsis "Text entry and UI navigation application")
4119 (home-page "https://wiki.gnome.org/Projects/Caribou")
4120 (description
4121 "Caribou is an input assistive technology intended for switch and pointer
4122users.")
4123 (license license:lgpl2.1)))
ba5dd105
SB
4124
4125(define %network-manager-glib-duplicate-test-patch
4126 (origin
4127 (method url-fetch)
4128 (uri (string-append
4129 "http://cgit.freedesktop.org/NetworkManager/NetworkManager/"
4130 "patch/libnm-core/tests/test-general.c"
4131 "?id=874f455d6d47c5a34ed9861a6710f4b78202e0d6"))
4132 (file-name "network-manager-glib-duplicate-test.patch")
4133 (sha256
4134 (base32
4135 "1v0vpxzf0p0b1y5lmq8w7rjndp216gr60nbf2dpdz5rgxx3p3ml6"))))
4136
4137(define-public network-manager
4138 (package
4139 (name "network-manager")
4140 (version "1.0.6")
4141 (source (origin
4142 (method url-fetch)
4143 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4144 (version-major+minor version) "/"
4145 "NetworkManager-" version ".tar.xz"))
4146 (sha256
4147 (base32
4148 "1galh9j95yw33iv1jj8zz0h88ahx8gm5mqmam7zq9f730cj01siq"))
4149 (patches (list %network-manager-glib-duplicate-test-patch))))
4150 (build-system gnu-build-system)
4151 (outputs '("out"
4152 "doc")) ; 8 MiB of gtk-doc HTML
4153 (arguments
4154 '(#:configure-flags
4155 (let ((out (assoc-ref %outputs "out"))
4156 (doc (assoc-ref %outputs "doc"))
4157 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4158 "/sbin/dhclient")))
4159 (list "--with-crypto=gnutls"
4160 "--disable-config-plugin-ibft"
4161 "--sysconfdir=/etc"
4162 "--localstatedir=/var"
4163 (string-append "--with-udev-dir="
4164 out "/lib/udev")
4165 (string-append "--with-dbus-sys-dir="
4166 out "/etc/dbus-1/system.d")
4167 (string-append "--with-html-dir="
4168 doc "/share/gtk-doc/html")
4169 (string-append "--with-dhclient=" dhclient)))
4170 #:phases
4171 (modify-phases %standard-phases
4172 (add-before 'check 'pre-check
4173 (lambda _
4174 ;; For the missing /etc/machine-id.
4175 (setenv "DBUS_FATAL_WARNINGS" "0")
4176 #t))
4177 (replace 'install
4178 (lambda _
4179 (zero? (system* "make"
4180 "sysconfdir=/tmp"
4181 "localstatedir=/tmp"
4182 "install")))))))
4183 (native-inputs
4184 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4185 ("gobject-introspection" ,gobject-introspection)
4186 ("intltool" ,intltool)
4187 ("pkg-config" ,pkg-config)
4188 ;; For testing.
4189 ("python" ,python-wrapper)
4190 ("python-dbus" ,python-dbus)
4191 ("python-pygobject" ,python-pygobject)))
4192 (inputs
4193 `(("dbus-glib" ,dbus-glib)
4194 ("dnsmasq" ,dnsmasq)
4195 ("gnutls" ,gnutls)
4196 ("iptables" ,iptables)
4197 ("isc-dhcp" ,isc-dhcp)
4198 ("libgcrypt" ,libgcrypt)
4199 ("libgudev" ,libgudev)
4200 ("libndp" ,libndp)
4201 ("libnl" ,libnl)
4202 ("libsoup" ,libsoup)
4203 ("polkit" ,polkit)
4204 ("ppp" ,ppp)
4205 ("readline" ,readline)
4206 ("util-linux" ,util-linux)))
4207 (synopsis "Network connection manager")
4208 (home-page "http://www.gnome.org/projects/NetworkManager/")
4209 (description
4210 "NetworkManager is a system network service that manages your network
4211devices and connections, attempting to keep active network connectivity when
4212available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4213devices, and provides VPN integration with a variety of different VPN
4214services.")
4215 (license license:gpl2+)))
4d62a9d3
SB
4216
4217(define-public network-manager-applet
4218 (package
4219 (name "network-manager-applet")
4220 (version "1.0.6")
4221 (source (origin
4222 (method url-fetch)
4223 (uri (string-append "mirror://gnome/sources/" name "/"
4224 (version-major+minor version) "/"
4225 name "-" version ".tar.xz"))
4226 (sha256
4227 (base32
4228 "1yj0m6fb9v12d0di0rfmk3hx1vmygjkiff2c476rf792sbh56kax"))))
4229 (build-system glib-or-gtk-build-system)
4230 (arguments '(#:configure-flags '("--disable-migration")))
4231 (native-inputs
4232 `(("intltool" ,intltool)
4233 ("gobject-introspection" ,gobject-introspection)
4234 ("pkg-config" ,pkg-config)))
4235 (propagated-inputs
4236 ;; libnm-gtk.pc refers to all these.
4237 `(("dbus-glib" ,dbus-glib)
4238 ("gtk+" ,gtk+)
4239 ("network-manager" ,network-manager)))
4240 (inputs
4241 `(("iso-codes" ,iso-codes)
4242 ("libgudev" ,libgudev)
4243 ("libnotify" ,libnotify)
4244 ("libsecret" ,libsecret)))
4245 (synopsis "Applet for managing network connections")
4246 (home-page "http://www.gnome.org/projects/NetworkManager/")
4247 (description
4248 "This package contains a systray applet for NetworkManager. It displays
4249the available networks and allows users to easily switch between them.")
4250 (license license:gpl2+)))
56196594
RW
4251
4252(define-public libxml++
4253 (package
4254 (name "libxml++")
4255 (version "2.91.2")
4256 (source (origin
4257 (method url-fetch)
4258 (uri (string-append "mirror://gnome/sources/" name "/"
4259 (version-major+minor version) "/"
4260 name "-" version ".tar.xz"))
4261 (sha256
4262 (base32
4263 "0h4h7hhh9lg8h34py116517m3wqbzhd5v63k1c6pp1p2a43s18fs"))))
4264 (build-system gnu-build-system)
4265 ;; libxml++-3.0.pc refers to all these.
4266 (propagated-inputs
4267 `(("libxml2" ,libxml2)
4268 ("glibmm" ,glibmm)))
4269 (native-inputs
4270 `(("perl" ,perl)
4271 ("pkg-config" ,pkg-config)))
4272 (home-page "http://libxmlplusplus.sourceforge.net/")
4273 (synopsis "C++ wrapper for XML parser library libxml2")
4274 (description
4275 "This package provides a C++ wrapper for the XML parser library
4276libxml2.")
4277 (license license:lgpl2.1+)))
df12f04a
SB
4278
4279(define-public gdm
4280 (package
4281 (name "gdm")
4282 (version "3.18.2")
4283 (source (origin
4284 (method url-fetch)
4285 (uri (string-append "mirror://gnome/sources/" name "/"
4286 (version-major+minor version) "/"
4287 name "-" version ".tar.xz"))
4288 (sha256
4289 (base32
4290 "08pqhslwd487nh9w0jp4d0s4s2imm4ds0jjsbl6lzmqifqj3b4jl"))))
4291 (build-system gnu-build-system)
4292 (arguments
4293 '(#:configure-flags
4294 '("--without-plymouth")
4295 #:phases
4296 (modify-phases %standard-phases
4297 (add-before
4298 'configure 'pre-configure
4299 (lambda _
4300 ;; We don't have <systemd/sd-daemon.h>.
4301 (substitute* '("common/gdm-log.c"
4302 "daemon/gdm-server.c"
4303 "daemon/gdm-session-worker.c"
4304 "daemon/gdm-session-worker-job.c")
4305 (("#include <systemd/sd-daemon\\.h>") ""))
4306 ;; Use elogind for sd-login.
4307 (substitute* '("common/gdm-common.c"
4308 "daemon/gdm-manager.c"
4309 "libgdm/gdm-user-switching.c")
4310 (("#include <systemd/sd-login\\.h>")
4311 "#include <elogind/sd-login.h>"))
4312 ;; Avoid checking SYSTEMD using pkg-config.
4313 (setenv "SYSTEMD_CFLAGS" " ")
4314 (setenv "SYSTEMD_LIBS" "-lelogind")
4315 #t)))))
4316 (native-inputs
4317 `(("dconf" ,dconf)
4318 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4319 ("gobject-introspection" ,gobject-introspection)
4320 ("intltool" ,intltool)
4321 ("itstool" ,itstool)
4322 ("pkg-config" ,pkg-config)
4323 ("xmllint" ,libxml2)))
4324 (inputs
4325 `(("accountsservice" ,accountsservice)
4326 ("check" ,check) ; for testing
4327 ("elogind" ,elogind)
4328 ("gtk+" ,gtk+)
4329 ("iso-codes" ,iso-codes)
4330 ("libcanberra" ,libcanberra)
4331 ("linux-pam" ,linux-pam)))
4332 (synopsis "Display manager for GNOME")
4333 (home-page "http://wiki.gnome.org/Projects/GDM/")
4334 (description
4335 "GNOME Display Manager is a system service that is responsible for
4336providing graphical log-ins and managing local and remote displays.")
4337 (license license:gpl2+)))
8e1dd04f
SB
4338
4339(define-public libgtop
4340 (package
4341 (name "libgtop")
4342 (version "2.32.0")
4343 (source (origin
4344 (method url-fetch)
4345 (uri (string-append "mirror://gnome/sources/" name "/"
4346 (version-major+minor version) "/"
4347 name "-" version ".tar.xz"))
4348 (sha256
4349 (base32
4350 "13hpml2vfm23816qggr5fvxj75ndb1dq4rgmi7ik6azj69ij8hw4"))))
4351 (build-system gnu-build-system)
4352 (native-inputs
4353 `(("gobject-introspection" ,gobject-introspection)
4354 ("intltool" ,intltool)
4355 ("perl" ,perl)
4356 ("pkg-config" ,pkg-config)))
4357 (propagated-inputs
4358 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4359 (synopsis "Portable system access library")
4360 (home-page "https://www.gnome.org/")
4361 (description
4362 "LibGTop is a library to get system specific data such as CPU and memory
4363usage and information about running processes.")
4364 (license license:gpl2+)))
b96c4260
SB
4365
4366(define-public gnome-bluetooth
4367 (package
4368 (name "gnome-bluetooth")
4369 (version "3.18.1")
4370 (source (origin
4371 (method url-fetch)
4372 (uri (string-append "mirror://gnome/sources/" name "/"
4373 (version-major+minor version) "/"
4374 name "-" version ".tar.xz"))
4375 (sha256
4376 (base32
4377 "0jaa9nbygdvcqp9k4p4iy2g8x3684s4x9k5nbcmmm11jdn4mn7f5"))))
4378 (build-system glib-or-gtk-build-system)
4379 (native-inputs
4380 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4381 ("gobject-introspection" ,gobject-introspection)
4382 ("intltool" ,intltool)
4383 ("pkg-config" ,pkg-config)
4384 ("xmllint" ,libxml2)))
4385 (propagated-inputs
4386 ;; gnome-bluetooth-1.0.pc refers to all these.
4387 `(("gtk+" ,gtk+)
4388 ("udev" ,eudev)))
4389 (inputs
4390 `(("libcanberra" ,libcanberra)
4391 ("libnotify" ,libnotify)))
4392 (synopsis "GNOME Bluetooth subsystem")
4393 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4394 (description
4395 "This package contains tools for managing and manipulating Bluetooth
4396devices using the GNOME desktop.")
4397 (license license:lgpl2.1+)))