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