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