gnu: gtk+: Add SVG support to 'gtk-encode-symbolic-svg'.
[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>
88f70665 8;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
1e7464a9 9;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
995b7261
AE
10;;;
11;;; This file is part of GNU Guix.
12;;;
13;;; GNU Guix is free software; you can redistribute it and/or modify it
14;;; under the terms of the GNU General Public License as published by
15;;; the Free Software Foundation; either version 3 of the License, or (at
16;;; your option) any later version.
17;;;
18;;; GNU Guix is distributed in the hope that it will be useful, but
19;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;;; GNU General Public License for more details.
22;;;
23;;; You should have received a copy of the GNU General Public License
24;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25
26(define-module (gnu packages gnome)
b5b73a82 27 #:use-module ((guix licenses) #:prefix license:)
995b7261
AE
28 #:use-module (guix packages)
29 #:use-module (guix download)
29a7c98a 30 #:use-module (guix utils)
995b7261 31 #:use-module (guix build-system gnu)
121de2e1 32 #:use-module (guix build-system glib-or-gtk)
ed19903d 33 #:use-module (gnu packages)
75016d07 34 #:use-module (gnu packages autotools)
6a180f6f 35 #:use-module (gnu packages base)
5698b8b8 36 #:use-module (gnu packages bison)
23a22af6 37 #:use-module (gnu packages cups)
6e1bb642
SB
38 #:use-module (gnu packages curl)
39 #:use-module (gnu packages databases)
121de2e1 40 #:use-module (gnu packages flex)
b4ce6300 41 #:use-module (gnu packages docbook)
995b7261 42 #:use-module (gnu packages glib)
c1354b90 43 #:use-module (gnu packages gnupg)
23a22af6 44 #:use-module (gnu packages gnuzilla)
85f5dc19 45 #:use-module (gnu packages gstreamer)
d9c1a22b 46 #:use-module (gnu packages gtk)
6b888eff 47 #:use-module (gnu packages guile)
c1354b90 48 #:use-module (gnu packages pdf)
75016d07 49 #:use-module (gnu packages polkit)
5698b8b8 50 #:use-module (gnu packages popt)
c1354b90 51 #:use-module (gnu packages ghostscript)
191e9b4e 52 #:use-module (gnu packages gnutls)
9cc98f8a 53 #:use-module (gnu packages iso-codes)
85f5dc19 54 #:use-module (gnu packages libcanberra)
88f70665 55 #:use-module (gnu packages linux)
75016d07 56 #:use-module (gnu packages libusb)
e55354b8 57 #:use-module (gnu packages image)
27477d2d 58 #:use-module (gnu packages perl)
995b7261 59 #:use-module (gnu packages pkg-config)
23a22af6 60 #:use-module (gnu packages pulseaudio)
995b7261 61 #:use-module (gnu packages python)
75016d07 62 #:use-module (gnu packages scanner)
85f5dc19 63 #:use-module (gnu packages xml)
200726ed 64 #:use-module (gnu packages gl)
1dd26275 65 #:use-module (gnu packages compression)
6e1bb642 66 #:use-module (gnu packages web)
fecbf86e 67 #:use-module (gnu packages xorg)
ea57378f 68 #:use-module (gnu packages xdisorg)
1e7464a9
DH
69 #:use-module (gnu packages mail)
70 #:use-module (gnu packages backup)
71 #:use-module (gnu packages nettle)
c024ae36
RW
72 #:use-module (gnu packages ncurses)
73 #:use-module (srfi srfi-1))
85f5dc19
AE
74
75(define-public brasero
76 (package
77 (name "brasero")
78 (version "3.8.0")
79 (source (origin
80 (method url-fetch)
81 (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-"
82 version ".tar.xz"))
83 (sha256
84 (base32
85 "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr"))))
86 (build-system gnu-build-system)
87 (propagated-inputs
88 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
89 (native-inputs
90 `(("intltool" ,intltool)
426adbe8 91 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
9cc98f8a 92 ("pkg-config" ,pkg-config)))
85f5dc19
AE
93 (inputs
94 `(("glib" ,glib)
95 ("gnome-doc-utils" ,gnome-doc-utils)
96 ("gstreamer" ,gstreamer)
97 ("gst-plugins-base" ,gst-plugins-base)
98 ("gtk+" ,gtk+)
85f5dc19
AE
99 ("itstool" ,itstool)
100 ("libcanberra" ,libcanberra)
101 ("libice" ,libice)
102 ("libnotify" ,libnotify)
103 ("libsm" ,libsm)
c4c4cc05 104 ("libxml2" ,libxml2)))
85f5dc19
AE
105 (home-page "https://projects.gnome.org/brasero/")
106 (synopsis "CD/DVD burning tool for Gnome")
107 (description "Brasero is an application to burn CD/DVD for the Gnome
108Desktop. It is designed to be as simple as possible and has some unique
109features to enable users to create their discs easily and quickly.")
1dd26275 110 (license license:gpl2+)))
995b7261 111
9cc98f8a
CR
112(define-public gnome-desktop
113 (package
114 (name "gnome-desktop")
12f7f4aa 115 (version "3.16.0")
9cc98f8a
CR
116 (source
117 (origin
118 (method url-fetch)
b38e45d8
EB
119 (uri (string-append "mirror://gnome/sources/" name "/"
120 (version-major+minor version) "/"
9cc98f8a
CR
121 name "-" version ".tar.xz"))
122 (sha256
123 (base32
12f7f4aa 124 "05lvik5cdh51xqd332qingph09zdhiaa1kqy9k2sk1simz4pvf8m"))))
9cc98f8a
CR
125 (build-system gnu-build-system)
126 (native-inputs
127 `(("intltool" ,intltool)
128 ("pkg-config" ,pkg-config)))
129 (inputs
130 `(("gdk-pixbuf" ,gdk-pixbuf)
131 ("glib" ,glib)
132 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
133 ("gtk+" ,gtk+)
134 ("iso-codes" ,iso-codes)
135 ("itstool" ,itstool)
136 ("libx11" ,libx11)
137 ("libxext" ,libxext)
138 ("libxkbfile" ,libxkbfile)
139 ("libxrandr" ,libxrandr)
140 ("xkeyboard-config" ,xkeyboard-config)))
141 (home-page "https://www.gnome.org/")
142 (synopsis
35b9e423 143 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
144 (description
145 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
146on the desktop, but that cannot live in the platform for various reasons.
147There is no API or ABI guarantee, although we are doing our best to provide
148stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
149
150The gnome-about program helps find which version of GNOME is installed.")
151 ; Some bits under the LGPL.
1dd26275 152 (license license:gpl2+)))
9cc98f8a 153
995b7261
AE
154(define-public gnome-doc-utils
155 (package
156 (name "gnome-doc-utils")
157 (version "0.20.10")
158 (source
159 (origin
160 (method url-fetch)
b38e45d8
EB
161 (uri (string-append "mirror://gnome/sources/" name "/"
162 (version-major+minor version) "/"
995b7261
AE
163 name "-" version ".tar.xz"))
164 (sha256
165 (base32
166 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
167 (build-system gnu-build-system)
c4c4cc05 168 (native-inputs
995b7261 169 `(("intltool" ,intltool)
b4ce6300 170 ("docbook-xml" ,docbook-xml-4.4)
995b7261
AE
171 ("libxml2" ,libxml2)
172 ("libxslt" ,libxslt)
173 ("pkg-config" ,pkg-config)
174 ("python-2" ,python-2)))
995b7261
AE
175 (home-page "https://wiki.gnome.org/GnomeDocUtils")
176 (synopsis
177 "Documentation utilities for the Gnome project")
178 (description
179 "Gnome-doc-utils is a collection of documentation utilities for the
180Gnome project. It includes xml2po tool which makes it easier to translate
181and keep up to date translations of documentation.")
1dd26275 182 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 183
c1354b90
LC
184(define-public libgnome-keyring
185 (package
186 (name "libgnome-keyring")
187 (version "3.6.0")
188 (source (origin
189 (method url-fetch)
b38e45d8
EB
190 (uri (string-append "mirror://gnome/sources/" name "/"
191 (version-major+minor version) "/"
192 name "-" version ".tar.xz"))
c1354b90
LC
193 (sha256
194 (base32
195 "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd"))))
196 (build-system gnu-build-system)
c1354b90 197 (inputs
c4c4cc05 198 `(("libgcrypt" ,libgcrypt)
c1354b90 199 ("dbus" ,dbus)))
c4c4cc05
JD
200 (native-inputs
201 `(("pkg-config" ,pkg-config)
426adbe8 202 ("glib" ,glib "bin")
c4c4cc05 203 ("intltool" ,intltool)))
c1354b90
LC
204 (propagated-inputs
205 ;; Referred to in .h files and .pc.
206 `(("glib" ,glib)))
207 (home-page "http://www.gnome.org")
208 (synopsis "Accessing passwords from the GNOME keyring")
209 (description
210 "Client library to access passwords from the GNOME keyring.")
211
212 ;; Though a couple of files are LGPLv2.1+.
1dd26275 213 (license license:lgpl2.0+)))
c1354b90
LC
214
215(define-public evince
216 (package
217 (name "evince")
218 (version "3.6.1")
219 (source (origin
220 (method url-fetch)
b38e45d8
EB
221 (uri (string-append "mirror://gnome/sources/" name "/"
222 (version-major+minor version) "/"
223 name "-" version ".tar.xz"))
c1354b90
LC
224 (sha256
225 (base32
226 "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv"))))
121de2e1 227 (build-system glib-or-gtk-build-system)
c1354b90
LC
228 (arguments
229 `(#:configure-flags '("--disable-nautilus")
230
231 ;; FIXME: Tests fail with:
232 ;; ImportError: No module named gi.repository
233 ;; Where should that module come from?
3d243e9c 234 #:tests? #f))
c1354b90
LC
235 (inputs
236 `(("libspectre" ,libspectre)
237 ;; ("djvulibre" ,djvulibre)
238 ("ghostscript" ,ghostscript)
239 ("poppler" ,poppler)
240 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
241 ("libgnome-keyring" ,libgnome-keyring)
242 ("gnome-icon-theme" ,gnome-icon-theme)
243 ("itstool" ,itstool)
244 ("gdk-pixbuf" ,gdk-pixbuf)
245 ("atk" ,atk)
246 ("pango" ,pango)
247 ("gtk+" ,gtk+)
248 ("glib" ,glib)
249 ("libxml2" ,libxml2)
c1354b90
LC
250 ("libsm" ,libsm)
251 ("libice" ,libice)
96e42467 252 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
253 ("dconf" ,dconf)
254 ("libcanberra" ,libcanberra)
2e6ecc5c 255
c1354b90
LC
256 ;; For tests.
257 ("dogtail" ,python2-dogtail)))
96e42467 258 (native-inputs
c4c4cc05 259 `(("intltool" ,intltool)
426adbe8 260 ("glib" ,glib "bin")
c4c4cc05 261 ("pkg-config" ,pkg-config)))
c1354b90
LC
262 (home-page
263 "http://www.gnome.org/projects/evince/")
264 (synopsis "GNOME's document viewer")
265 (description
266 "Evince is a document viewer for multiple document formats. It
267currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
268of Evince is to replace the multiple document viewers that exist
96e42467 269on the GNOME Desktop with a single simple application.")
1dd26275 270 (license license:gpl2+)))
c1354b90 271
22e32e69
AE
272(define-public gsettings-desktop-schemas
273 (package
274 (name "gsettings-desktop-schemas")
67bdcfbc 275 (version "3.16.0")
22e32e69
AE
276 (source
277 (origin
278 (method url-fetch)
279 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 280 (version-major+minor version) "/"
22e32e69
AE
281 name "-" version ".tar.xz"))
282 (sha256
283 (base32
67bdcfbc 284 "02dp1hl38k16m9abydfca1n236mdazqdz0p3n92s7haf9mdqsf16"))))
22e32e69
AE
285 (build-system gnu-build-system)
286 (inputs
c4c4cc05
JD
287 `(("glib" ,glib)))
288 (native-inputs
289 `(("intltool" ,intltool)
426adbe8 290 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 291 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
292 ("pkg-config" ,pkg-config)))
293 (home-page "https://launchpad.net/gsettings-desktop-schemas")
294 (synopsis
295 "GNOME settings for various desktop components")
296 (description
297 "Gsettings-desktop-schemas contains a collection of GSettings schemas
298for settings shared by various components of the GNOME desktop.")
1dd26275 299 (license license:lgpl2.1+)))
22e32e69 300
27477d2d
AE
301(define-public icon-naming-utils
302 (package
303 (name "icon-naming-utils")
304 (version "0.8.90")
305 (source
306 (origin
307 (method url-fetch)
308 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
309 version ".tar.bz2"))
310 (sha256
311 (base32
312 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
313 (build-system gnu-build-system)
314 (inputs
315 `(("perl" ,perl)
316 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
317 (arguments
318 '(#:phases
319 (alist-cons-after
320 'install 'set-load-paths
321 ;; Tell 'icon-name-mapping' where XML::Simple is.
322 (lambda* (#:key outputs #:allow-other-keys)
323 (let* ((out (assoc-ref outputs "out"))
324 (prog (string-append out "/libexec/icon-name-mapping")))
325 (wrap-program
326 prog
327 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
328 %standard-phases)))
27477d2d
AE
329 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
330 (synopsis
331 "Utility to implement the Freedesktop Icon Naming Specification")
332 (description
333 "To help with the transition to the Freedesktop Icon Naming
334Specification, the icon naming utility maps the icon names used by the
335GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 336 (license license:lgpl2.1+)))
27477d2d 337
686e025d
SB
338(define-public desktop-file-utils
339 (package
340 (name "desktop-file-utils")
341 (version "0.22")
342 (source (origin
343 (method url-fetch)
344 (uri (string-append "http://www.freedesktop.org/software/" name
345 "/releases/" name "-" version ".tar.xz"))
346 (sha256
347 (base32
348 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
349 (build-system gnu-build-system)
350 (native-inputs
351 `(("pkg-config" ,pkg-config)))
352 (inputs
353 `(("glib" ,glib)))
354 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
355 (synopsis "Utilities for working with desktop entries")
356 (description
357 "This package contains a few command line utilities for working with
358desktop entries:
359
360desktop-file-validate: validates a desktop file and prints warnings/errors
361 about desktop entry specification violations.
362
363desktop-file-install: installs a desktop file to the applications directory,
364 optionally munging it a bit in transit.
365
366update-desktop-database: updates the database containing a cache of MIME types
367 handled by desktop files.")
368 (license license:gpl2+)))
369
7d3f3651
AE
370(define-public gnome-icon-theme
371 (package
372 (name "gnome-icon-theme")
b32f58dd 373 (version "3.12.0")
7d3f3651
AE
374 (source
375 (origin
376 (method url-fetch)
377 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 378 (version-major+minor version) "/"
7d3f3651
AE
379 name "-" version ".tar.xz"))
380 (sha256
381 (base32
b32f58dd 382 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 383 (build-system gnu-build-system)
c4c4cc05 384 (native-inputs
73b6cf42
SB
385 `(("gtk+" ,gtk+) ; for gtk-update-icon-cache
386 ("icon-naming-utils" ,icon-naming-utils)
387 ("intltool" ,intltool)
388 ("pkg-config" ,pkg-config)))
7d3f3651
AE
389 (home-page "http://art.gnome.org/")
390 (synopsis
391 "GNOME icon theme")
392 (description
393 "Icons for the GNOME desktop.")
1dd26275 394 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 395
9167f8e6
LC
396(define-public shared-mime-info
397 (package
398 (name "shared-mime-info")
399 (version "1.2")
400 (source (origin
401 (method url-fetch)
b38e45d8
EB
402 (uri (string-append "http://freedesktop.org/~hadess/"
403 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
404 (sha256
405 (base32
406 "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5"))))
407 (build-system gnu-build-system)
408 (arguments
409 ;; The build system appears not to be parallel-safe.
410 '(#:parallel-build? #f))
411 (inputs
412 `(("glib" ,glib)
c4c4cc05 413 ("libxml2" ,libxml2)))
9167f8e6 414 (native-inputs
c4c4cc05
JD
415 `(("intltool" ,intltool)
416 ("pkg-config" ,pkg-config)))
9167f8e6
LC
417 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
418 (synopsis "Database of common MIME types")
419 (description
420 "The shared-mime-info package contains the core database of common types
421and the update-mime-database command used to extend it. It requires glib2 to
422be installed for building the update command. Additionally, it uses intltool
423for translations, though this is only a dependency for the maintainers. This
424database is translated at Transifex.")
1dd26275 425 (license license:gpl2+)))
9167f8e6 426
bef4dd92
AE
427(define-public hicolor-icon-theme
428 (package
429 (name "hicolor-icon-theme")
430 (version "0.12")
431 (source
432 (origin
433 (method url-fetch)
b38e45d8
EB
434 (uri (string-append "http://icon-theme.freedesktop.org/releases/"
435 "hicolor-icon-theme-" version ".tar.gz"))
bef4dd92
AE
436 (sha256
437 (base32
438 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
439 (build-system gnu-build-system)
440 (arguments
441 `(#:tests? #f)) ; no check target
442 (home-page "http://icon-theme.freedesktop.org/releases/")
443 (synopsis
444 "Freedesktop icon theme")
445 (description
446 "Freedesktop icon theme.")
1dd26275 447 (license license:gpl2)))
bef4dd92 448
d9c1a22b
AE
449(define-public libnotify
450 (package
451 (name "libnotify")
452 (version "0.7.6")
453 (source
454 (origin
455 (method url-fetch)
456 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 457 (version-major+minor version) "/"
d9c1a22b
AE
458 name "-" version ".tar.xz"))
459 (sha256
460 (base32
461 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
462 (build-system gnu-build-system)
463 (inputs
464 `(("gdk-pixbuf" ,gdk-pixbuf)
465 ("glib" ,glib)
466 ("gtk+" ,gtk+)
c4c4cc05
JD
467 ("libpng" ,libpng)))
468 (native-inputs
426adbe8
LC
469 `(("pkg-config" ,pkg-config)
470 ("glib" ,glib "bin")))
d9c1a22b
AE
471 (home-page "https://developer-next.gnome.org/libnotify/")
472 (synopsis
473 "GNOME desktop notification library")
474 (description
475 "Libnotify is a library that sends desktop notifications to a
35b9e423 476notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
477notifications can be used to inform the user about an event or display
478some form of information without getting in the user's way.")
1dd26275 479 (license license:lgpl2.1+)))
7a8605ce
CR
480
481(define-public libpeas
482 (package
483 (name "libpeas")
58d32305 484 (version "1.12.1")
7a8605ce
CR
485 (source
486 (origin
487 (method url-fetch)
488 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 489 (version-major+minor version) "/"
7a8605ce
CR
490 name "-" version ".tar.xz"))
491 (sha256
492 (base32
58d32305 493 "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476"))))
7a8605ce 494 (build-system gnu-build-system)
7a8605ce
CR
495 (inputs
496 `(("atk" ,atk)
497 ("gdk-pixbuf" ,gdk-pixbuf)
498 ("glib" ,glib)
7a8605ce 499 ("gtk+" ,gtk+)
141aed80
LC
500 ("pango" ,pango)))
501 (native-inputs
502 `(("pkg-config" ,pkg-config)
93622993 503 ("glib:bin" ,glib "bin")
141aed80
LC
504 ("gobject-introspection" ,gobject-introspection)
505 ("intltool" ,intltool)))
7a8605ce
CR
506 (home-page "https://wiki.gnome.org/Libpeas")
507 (synopsis "GObject plugin system")
508 (description
35b9e423 509 "Libpeas is a gobject-based plugins engine, and is targetted at giving
7a8605ce
CR
510every application the chance to assume its own extensibility. It also has a
511set of features including, but not limited to: multiple extension points; on
512demand (lazy) programming language support for C, Python and JS; simplicity of
513the API")
1dd26275 514 (license license:lgpl2.0+)))
ed19903d
JD
515
516(define-public gtkglext
517 (package
518 (name "gtkglext")
519 (version "1.2.0")
520 (source (origin
521 (method url-fetch)
522 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
523 version "/gtkglext-" version ".tar.gz"))
524 (sha256
525 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
526 (patches (list
ed19903d
JD
527 (search-patch "gtkglext-disable-disable-deprecated.patch")))))
528 (build-system gnu-build-system)
529 (inputs `(("gtk+" ,gtk+-2)
530 ("mesa" ,mesa)
cc8b02f4 531 ("glu" ,glu)
ed19903d
JD
532 ("libx11" ,libx11)
533 ("libxt" ,libxt)))
426adbe8
LC
534 (native-inputs `(("pkg-config" ,pkg-config)
535 ("glib" ,glib "bin")))
a83b6a06 536 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 537 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 538 (synopsis "OpenGL extension to GTK+")
35b9e423 539 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
540additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
541API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 542 (license license:lgpl2.1+)))
3600420e
JD
543
544(define-public glade3
545 (package
546 (name "glade")
547 (version "3.8.4")
b38e45d8
EB
548 (source (origin
549 (method url-fetch)
550 (uri (string-append "mirror://gnome/sources/" name "/"
551 (version-major+minor version) "/"
552 name "3-" version ".tar.xz"))
3600420e
JD
553 (sha256
554 (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7"))))
555 (build-system gnu-build-system)
556 (inputs
557 `(("gtk+" ,gtk+-2)
558 ("libxml2" ,libxml2)))
559 (native-inputs
560 `(("intltool" ,intltool)
561 ("python" ,python)
562 ("pkg-config" ,pkg-config)))
563 (home-page "https://glade.gnome.org")
564 (synopsis "GTK+ rapid application development tool")
565 (description "Glade is a rapid application development (RAD) tool to
566enable quick & easy development of user interfaces for the GTK+ toolkit and
567the GNOME desktop environment.")
1dd26275
LC
568 (license license:lgpl2.0+)))
569
570(define-public libcroco
571 (package
572 (name "libcroco")
573 (version "0.6.8")
574 (source (origin
575 (method url-fetch)
b38e45d8
EB
576 (uri (string-append "mirror://gnome/sources/" name "/"
577 (version-major+minor version) "/"
578 name "-" version ".tar.xz"))
1dd26275
LC
579 (sha256
580 (base32
581 "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa"))))
582 (build-system gnu-build-system)
583 (native-inputs
584 `(("pkg-config" ,pkg-config)))
585 (inputs
586 `(("glib" ,glib)
587 ("libxml2" ,libxml2)
588 ("zlib" ,zlib)))
589 (home-page "https://github.com/GNOME/libcroco")
590 (synopsis "CSS2 parsing and manipulation library")
591 (description
592 "Libcroco is a standalone CSS2 parsing and manipulation library.
593The parser provides a low level event driven SAC-like API and a CSS object
594model like API. Libcroco provides a CSS2 selection engine and an experimental
595XML/CSS rendering engine.")
596
597 ;; LGPLv2.1-only.
598 (license license:lgpl2.1)))
25178594
LC
599
600(define-public libgsf
601 (package
602 (name "libgsf")
603 (version "1.14.30")
604 (source (origin
605 (method url-fetch)
b38e45d8
EB
606 (uri (string-append "mirror://gnome/sources/" name "/"
607 (version-major+minor version) "/"
608 name "-" version ".tar.xz"))
25178594
LC
609 (sha256
610 (base32
611 "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b"))))
612 (build-system gnu-build-system)
613 (native-inputs
614 `(("intltool" ,intltool)
615 ("pkg-config" ,pkg-config)))
616 (inputs
617 `(("python" ,python)
618 ("zlib" ,zlib)
619 ("bzip2" ,bzip2)))
620 (propagated-inputs
621 `(("gdk-pixbuf" ,gdk-pixbuf)
622 ("glib" ,glib)
623 ("libxml2" ,libxml2)))
624 (home-page "http://www.gnome.org/projects/libgsf")
625 (synopsis "GNOME's Structured File Library")
626 (description
627 "Libgsf aims to provide an efficient extensible I/O abstraction for
628dealing with different structured file formats.")
629
630 ;; LGPLv2.1-only.
631 (license license:lgpl2.1)))
63016e7c
LC
632
633(define-public librsvg
634 (package
635 (name "librsvg")
dc67ebd2 636 (version "2.40.6")
63016e7c
LC
637 (source (origin
638 (method url-fetch)
b38e45d8
EB
639 (uri (string-append "mirror://gnome/sources/" name "/"
640 (version-major+minor version) "/"
641 name "-" version ".tar.xz"))
63016e7c
LC
642 (sha256
643 (base32
dc67ebd2 644 "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa"))))
63016e7c
LC
645 (build-system gnu-build-system)
646 (arguments
ce2df078 647 `(#:phases
63016e7c
LC
648 (alist-cons-before
649 'configure 'augment-gir-search-path
650 (lambda* (#:key inputs #:allow-other-keys)
63016e7c
LC
651 (substitute* "gdk-pixbuf-loader/Makefile.in"
652 ;; By default the gdk-pixbuf loader is installed under
653 ;; gdk-pixbuf's prefix. Work around that.
654 (("gdk_pixbuf_moduledir = .*$")
655 (string-append "gdk_pixbuf_moduledir = "
dc67ebd2 656 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
63016e7c
LC
657 "loaders\n"))
658 ;; Likewise, create a separate 'loaders.cache' file.
659 (("gdk_pixbuf_cache_file = .*$")
660 "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n")))
cd14b5e3
FB
661 (alist-cons-after
662 'install 'generate-full-cache
663 (lambda* (#:key inputs outputs #:allow-other-keys)
2e6ecc5c 664 (let ((loaders-directory
cd14b5e3 665 (string-append (assoc-ref outputs "out")
dc67ebd2 666 "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
cd14b5e3 667 (zero?
2e6ecc5c
AE
668 (system
669 (string-append
670 "gdk-pixbuf-query-loaders "
cd14b5e3 671 loaders-directory "/libpixbufloader-svg.so "
2e6ecc5c 672 (string-join (find-files (assoc-ref inputs "gdk-pixbuf")
cd14b5e3
FB
673 "libpixbufloader-.*\\.so") " ")
674 "> " loaders-directory ".cache")))))
b19d6805 675 %standard-phases))))
63016e7c
LC
676 (native-inputs
677 `(("pkg-config" ,pkg-config)
44add1ce 678 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
679 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
680 (inputs
681 `(("pango" ,pango)
682 ("libcroco" ,libcroco)
683 ("bzip2" ,bzip2)
684 ("libgsf" ,libgsf)
685 ("libxml2" ,libxml2)))
686 (propagated-inputs
687 ;; librsvg-2.0.pc refers to all of that.
688 `(("cairo" ,cairo)
689 ("gdk-pixbuf" ,gdk-pixbuf)
690 ("glib" ,glib)))
691 (home-page "https://wiki.gnome.org/LibRsvg")
692 (synopsis "Render SVG files using Cairo")
693 (description
35b9e423 694 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
695library.")
696 (license license:lgpl2.0+)))
5698b8b8
JD
697
698(define-public libidl
699 (package
700 (name "libidl")
701 (version "0.8.14")
702 (source (origin
703 (method url-fetch)
704 (uri (let ((upstream-name "libIDL"))
b38e45d8
EB
705 (string-append "mirror://gnome/sources/" upstream-name "/"
706 (version-major+minor version) "/"
707 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
708 (sha256
709 (base32
710 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
711 (build-system gnu-build-system)
712 (inputs `(("glib" ,glib)))
713 (native-inputs
714 `(("pkg-config" ,pkg-config)
715 ("flex", flex)
716 ("bison" ,bison)))
717 (home-page "http://freecode.com/projects/libidl")
718 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 719 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
720Definition Language (idl) files, which is a specification for defining
721portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 722GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 723functionality was designed to be as reusable and portable as possible.")
5698b8b8
JD
724 (license license:lgpl2.0+)))
725
726
727(define-public orbit2
728 (package
729 (name "orbit2")
730 (version "2.14.19")
731 (source (origin
732 (method url-fetch)
2e6ecc5c 733 (uri (let ((upstream-name "ORBit2"))
b38e45d8
EB
734 (string-append "mirror://gnome/sources/" upstream-name "/"
735 (version-major+minor version) "/"
736 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
737 (sha256
738 (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
739 (build-system gnu-build-system)
740 (arguments
741 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
742 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
743 ;; ... which they then completly ignore !!
744 #:phases
745 (alist-cons-before
746 'configure 'ignore-deprecations
747 (lambda _
748 (substitute* "linc2/src/Makefile.in"
749 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
750 %standard-phases)))
751 (inputs `(("glib" ,glib)
752 ("libidl" ,libidl)))
753 (native-inputs
754 `(("pkg-config" ,pkg-config)))
755 (home-page "https://projects.gnome.org/orbit2/")
756 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 757 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 758featuring mature C, C++ and Python bindings.")
5698b8b8
JD
759 ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version.
760 ;; SOME of the code files have licence notices for GPLv2+
761 ;; The tarball contains files of the text of GPLv2 and LGPLv2
2e6ecc5c 762 (license license:gpl2+)))
5698b8b8
JD
763
764
765(define-public libbonobo
766 (package
767 (name "libbonobo")
768 (version "2.32.1")
769 (source (origin
770 (method url-fetch)
5becd025 771 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 772 (version-major+minor version)
5becd025 773 "/" name "-" version ".tar.bz2"))
5698b8b8 774 (sha256
f1fc45a9
EB
775 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
776 (patches (list (search-patch "libbonobo-activation-test-race.patch")))))
5698b8b8
JD
777 (build-system gnu-build-system)
778 (arguments
779 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
780 `(#:configure-flags
781 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
782 ;; ... which they then completly ignore !!
783 #:phases
784 (alist-cons-before
785 'configure 'ignore-deprecations
786 (lambda _
787 (substitute* "activation-server/Makefile.in"
788 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
789 %standard-phases)))
5698b8b8
JD
790 (inputs `(("popt" ,popt)
791 ("libxml2" ,libxml2)))
792 ;; The following are Required by the .pc file
44add1ce 793 (propagated-inputs
5698b8b8
JD
794 `(("glib" ,glib)
795 ("orbit2" ,orbit2)))
796 (native-inputs
797 `(("intltool" ,intltool)
798 ("pkg-config" ,pkg-config)
221ed17a 799 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
800 ("flex" ,flex)
801 ("bison" ,bison)))
802 (home-page "https://developer.gnome.org/libbonobo/")
803 (synopsis "Framework for creating reusable components for use in GNOME applications")
804 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 805use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
806 ;; Licence not explicitly stated. Source files contain no licence notices.
807 ;; Tarball contains text of both GPLv2 and LGPLv2
808 ;; GPLv2 covers both conditions
809 (license license:gpl2+)))
810
811
812(define-public gconf
813 (package
814 (name "gconf")
815 (version "3.2.6")
816 (source (origin
817 (method url-fetch)
2e6ecc5c 818 (uri
5698b8b8 819 (let ((upstream-name "GConf"))
b38e45d8
EB
820 (string-append "mirror://gnome/sources/" upstream-name "/"
821 (version-major+minor version) "/"
822 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
823 (sha256
824 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
825 (build-system gnu-build-system)
2e6ecc5c 826 (inputs `(("dbus" ,dbus)
5698b8b8
JD
827 ("dbus-glib" ,dbus-glib)
828 ("libxml2" ,libxml2)))
2e6ecc5c
AE
829 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
830 ("orbit2" ,orbit2)))
5698b8b8
JD
831 (native-inputs
832 `(("intltool" ,intltool)
221ed17a 833 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
834 ("pkg-config" ,pkg-config)))
835 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
836 (synopsis "Store application preferences")
837 (description "Gconf is a system for storing application preferences. It
838is intended for user preferences; not arbitrary data storage.")
2e6ecc5c 839 (license license:lgpl2.0+)))
5698b8b8
JD
840
841
842(define-public gnome-mime-data
843 (package
844 (name "gnome-mime-data")
845 (version "2.18.0")
846 (source (origin
847 (method url-fetch)
b38e45d8
EB
848 (uri (string-append "mirror://gnome/sources/" name "/"
849 (version-major+minor version) "/"
850 name "-" version ".tar.bz2"))
5698b8b8
JD
851 (sha256
852 (base32
853 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
854 (build-system gnu-build-system)
855 (native-inputs
856 `(("perl" ,perl)
857 ("intltool" ,intltool)))
858 (home-page "http://www.gnome.org")
35b9e423 859 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
860 (description "GNOME Mime Data is a module which contains the base MIME
861and Application database for GNOME. The data stored by this module is
862designed to be accessed through the MIME functions in GnomeVFS.")
863 (license license:gpl2+)))
864
865
866(define-public gnome-vfs
867 (package
868 (name "gnome-vfs")
869 (version "2.24.4")
870 (source (origin
871 (method url-fetch)
b38e45d8
EB
872 (uri (string-append "mirror://gnome/sources/" name "/"
873 (version-major+minor version) "/"
874 name "-" version ".tar.bz2"))
5698b8b8 875 (sha256
9e12bc34
MW
876 (base32
877 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
878 (build-system gnu-build-system)
879 (arguments
db5127d8 880 `(#:phases
9e12bc34
MW
881 (alist-cons-before
882 'configure 'ignore-deprecations
883 (lambda _
884 (substitute* '("libgnomevfs/Makefile.in"
885 "daemon/Makefile.in")
886 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
887 #t)
db5127d8
MW
888 (alist-cons-before
889 'configure 'patch-test-async-cancel-to-never-fail
890 (lambda _
891 (substitute* "test/test-async-cancel.c"
892 (("EXIT_FAILURE") "77")))
893 %standard-phases))))
2e6ecc5c 894 (inputs `(("libxml2" ,libxml2)
5698b8b8
JD
895 ("dbus-glib" ,dbus-glib)
896 ("dbus" ,dbus)
897 ("gconf" ,gconf)
898 ("gnome-mime-data" ,gnome-mime-data)
899 ("zlib" ,zlib)))
900 (native-inputs
221ed17a
EB
901 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
902 ("intltool" ,intltool)
5698b8b8
JD
903 ("pkg-config" ,pkg-config)))
904 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 905 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
906 (description
907 "GnomeVFS is the core library used to access files and folders in GNOME
908applications. It provides a file system abstraction which allows applications
909to access local and remote files with a single consistent API.")
5698b8b8
JD
910 (license license:lgpl2.0+)))
911
912
913
914(define-public libgnome
915 (package
916 (name "libgnome")
917 (version "2.32.1")
918 (source (origin
919 (method url-fetch)
b38e45d8
EB
920 (uri (string-append "mirror://gnome/sources/" name "/"
921 (version-major+minor version) "/"
922 name "-" version ".tar.bz2"))
5698b8b8
JD
923 (sha256
924 (base32
925 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
926 (build-system gnu-build-system)
927 (arguments
928 `(#:phases
929 (alist-cons-before
930 'configure 'enable-deprecated
2e6ecc5c 931 (lambda _
5698b8b8
JD
932 (substitute* "libgnome/Makefile.in"
933 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
934 %standard-phases)))
935 (inputs `(("popt" ,popt)
936 ("libxml2" ,libxml2)))
937 (native-inputs
221ed17a
EB
938 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
939 ("intltool" ,intltool)
5698b8b8
JD
940 ("pkg-config" ,pkg-config)))
941 ;; The following are listed as Required in the .pc file
942 ;; (except for libcanberra -- which seems to be oversight on the part
943 ;; of the upstream developers -- anything that links against libgnome,
944 ;; must also link against libcanberra
945 (propagated-inputs
946 `(("libcanberra" ,libcanberra)
947 ("libbonobo" ,libbonobo)
948 ("gconf" ,gconf)
2e6ecc5c 949 ("gnome-vfs" ,gnome-vfs)))
5698b8b8
JD
950 (home-page "https://developer.gnome.org/libgnome/")
951 (synopsis "Useful routines for building applications")
952 (description "The libgnome library provides a number of useful routines
953for building modern applications, including session management, activation of
954files and URIs, and displaying help.")
955 (license license:lgpl2.0+)))
956
957
958(define-public libart-lgpl
959 (package
960 (name "libart-lgpl")
76c9b6aa 961 (version "2.3.21")
5698b8b8
JD
962 (source (origin
963 (method url-fetch)
964 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
965 (string-append "mirror://gnome/sources/" upstream-name "/"
966 (version-major+minor version) "/"
967 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
968 (sha256
969 (base32
76c9b6aa 970 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
971 (build-system gnu-build-system)
972 (native-inputs
973 `(("pkg-config" ,pkg-config)))
974 (home-page "https://people.gnome.org/~mathieu/libart")
975 (synopsis "2D drawing library")
2e6ecc5c 976 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
977high-quality vector-based 2D library with antialiasing and alpha composition.")
978 (license license:lgpl2.0+)))
979
980
981
982(define-public libgnomecanvas
983 (package
984 (name "libgnomecanvas")
985 (version "2.30.3")
986 (source (origin
987 (method url-fetch)
b38e45d8
EB
988 (uri (string-append "mirror://gnome/sources/" name "/"
989 (version-major+minor version) "/"
990 name "-" version ".tar.gz"))
5698b8b8
JD
991 (sha256
992 (base32
993 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
994 (build-system gnu-build-system)
995 ;; Mentioned as Required in the .pc file
996 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
997 ("gtk+" ,gtk+-2)))
998 (native-inputs
999 `(("intltool" ,intltool)
221ed17a 1000 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1001 ("pkg-config" ,pkg-config)))
1002 (home-page "https://developer.gnome.org/libgnomecanvas/")
1003 (synopsis "Flexible widget for creating interactive structured graphics")
1004 (description "The GnomeCanvas widget provides a flexible widget for
1005creating interactive structured graphics.")
1006 (license license:lgpl2.0+)))
1007
eadc734e
RW
1008(define-public libgnomecanvasmm
1009 (package
1010 (name "libgnomecanvasmm")
1011 (version "2.26.0")
1012 (source (origin
1013 (method url-fetch)
1014 (uri (string-append "mirror://gnome/sources/" name "/"
1015 (version-major+minor version) "/"
1016 name "-" version ".tar.bz2"))
1017 (sha256
1018 (base32
1019 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1020 (build-system gnu-build-system)
1021 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1022 (native-inputs
1023 `(("gtkmm-2" ,gtkmm-2)
1024 ("pkg-config" ,pkg-config)))
1025 (home-page "http://gtkmm.org")
1026 (synopsis "C++ bindings to the GNOME Canvas library")
1027 (description "C++ bindings to the GNOME Canvas library.")
1028 (license license:lgpl2.0+)))
1029
5698b8b8
JD
1030(define-public libgnomeui
1031 (package
1032 (name "libgnomeui")
1033 (version "2.24.5")
1034 (source (origin
1035 (method url-fetch)
b38e45d8
EB
1036 (uri (string-append "mirror://gnome/sources/" name "/"
1037 (version-major+minor version) "/"
1038 name "-" version ".tar.bz2"))
5698b8b8
JD
1039 (sha256
1040 (base32
1041 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1042 (build-system gnu-build-system)
1043 ;; Mentioned as Required in the .pc file
1044 (propagated-inputs `(("libgnome" ,libgnome)
1045 ("libgnome-keyring" ,libgnome-keyring)))
1046 (inputs `(("libgnomecanvas" ,libgnomecanvas)
1047 ("libbonoboui" ,libbonoboui)
1048 ("libjpeg" ,libjpeg)
1049 ("popt" ,popt)
1050 ("libbonobo" ,libbonobo)
1051 ("libxml2" ,libxml2)
1052 ("libglade" ,libglade)))
1053 (native-inputs
221ed17a
EB
1054 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1055 ("intltool" ,intltool)
5698b8b8
JD
1056 ("pkg-config" ,pkg-config)))
1057 (home-page "https://developer.gnome.org/libgnomeui/")
1058 (synopsis "Additional widgets for applications")
35b9e423
EB
1059 (description "The libgnomeui library provides additional widgets for
1060applications. Many of the widgets from libgnomeui have already been ported to GTK+.")
5698b8b8
JD
1061 (license license:lgpl2.0+)))
1062
1063(define-public libglade
1064 (package
1065 (name "libglade")
1066 (version "2.6.4")
1067 (source (origin
1068 (method url-fetch)
b38e45d8
EB
1069 (uri (string-append "mirror://gnome/sources/" name "/"
1070 (version-major+minor version) "/"
1071 name "-" version ".tar.bz2"))
5698b8b8
JD
1072 (sha256
1073 (base32
1074 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1075 (build-system gnu-build-system)
1076 (inputs
1077 `(("gtk+-2" ,gtk+-2)
1078 ("libxml2" ,libxml2)
1079 ("python" ,python))) ;; needed for the optional libglade-convert program
1080 (native-inputs
1081 `(("pkg-config" ,pkg-config)))
1082 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1083 (synopsis "Load glade interfaces and access the glade built widgets")
1084 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1085graphical interfaces described in glade files and for accessing the
1086widgets built in the loading process.")
1087 (license license:gpl2+))) ; This is correct. GPL not LGPL
1088
1089(define-public libgnomeprint
eb497b66
LC
1090 ;; This library has been deprecated since 2006; see
1091 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1092 (package
1093 (name "libgnomeprint")
1094 (version "2.8.2")
1095 (source (origin
1096 (method url-fetch)
b38e45d8
EB
1097 (uri (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.bz2"))
5698b8b8
JD
1100 (sha256
1101 (base32
3edce2c9
RW
1102 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))
1103 (modules '((guix build utils)))
1104 (snippet
1105 ;; Adapt to newer freetype. As the package is deprecated, there
1106 ;; is no use in creating a patch and reporting it.
1107 '(substitute* '("libgnomeprint/gnome-font-face.c"
1108 "libgnomeprint/gnome-rfont.c")
1109 (("freetype/") "freetype2/")))))
5698b8b8
JD
1110 (build-system gnu-build-system)
1111 (inputs
1112 `(("popt" ,popt)
1113 ("libart-lgpl" ,libart-lgpl)
1114 ("gtk+" ,gtk+-2)
44add1ce 1115 ("libxml2" ,libxml2)))
5698b8b8
JD
1116 (native-inputs
1117 `(("intltool" ,intltool)
221ed17a 1118 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1119 ("pkg-config" ,pkg-config)))
1120 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1121 (synopsis "Printing framework for GNOME")
eb497b66
LC
1122 (description
1123 "GNOME-print was a printing framework for GNOME. It has been deprecated
1124since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1125 (license license:lgpl2.0+)))
1126
1127
1128(define-public libgnomeprintui
eb497b66 1129 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1130 (package
1131 (name "libgnomeprintui")
1132 (version "2.8.2")
1133 (source (origin
1134 (method url-fetch)
b38e45d8
EB
1135 (uri (string-append "mirror://gnome/sources/" name "/"
1136 (version-major+minor version) "/"
1137 name "-" version ".tar.bz2"))
5698b8b8
JD
1138 (sha256
1139 (base32
1140 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1141 (build-system gnu-build-system)
1142 ;; Mentioned as Required in the .pc file
1143 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1144 (inputs `(("gtk+" ,gtk+-2)
1145 ("glib" ,glib)
1146 ("gnome-icon-theme" ,gnome-icon-theme)
1147 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 1148 ("libxml2" ,libxml2)))
5698b8b8
JD
1149 (native-inputs
1150 `(("intltool" ,intltool)
1151 ("pkg-config" ,pkg-config)))
1152 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1153 (synopsis "Printing framework for GNOME")
eb497b66 1154 (description (package-description libgnomeprint))
5698b8b8
JD
1155 (license license:lgpl2.0+)))
1156
5698b8b8
JD
1157(define-public libbonoboui
1158 (package
1159 (name "libbonoboui")
1160 (version "2.24.5")
1161 (source (origin
1162 (method url-fetch)
b38e45d8
EB
1163 (uri (string-append "mirror://gnome/sources/" name "/"
1164 (version-major+minor version) "/"
1165 name "-" version ".tar.bz2"))
5698b8b8
JD
1166 (sha256
1167 (base32
1168 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1169 (build-system gnu-build-system)
1170 (arguments
1171 `(#:phases
1172 (alist-cons-before
1173 'check 'start-xserver
1174 (lambda* (#:key inputs #:allow-other-keys)
1175 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1176 (disp ":1"))
2e6ecc5c 1177
5698b8b8
JD
1178 (setenv "HOME" (getcwd))
1179 (setenv "DISPLAY" disp)
1180 ;; There must be a running X server and make check doesn't start one.
1181 ;; Therefore we must do it.
1182 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1183 %standard-phases)))
1184 ;; Mentioned as Required by the .pc file
1185 (propagated-inputs `(("libxml2" ,libxml2)))
1186 (inputs
1187 `(("popt" ,popt)
1188 ("pangox-compat" ,pangox-compat)
1189 ("libgnome" ,libgnome)
1190 ("libgnomecanvas" ,libgnomecanvas)
1191 ("libglade" ,libglade)))
1192 (native-inputs
221ed17a
EB
1193 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1194 ("intltool" ,intltool)
5698b8b8
JD
1195 ("xorg-server" ,xorg-server) ; For running the tests
1196 ("pkg-config" ,pkg-config)))
1197 (home-page "https://developer.gnome.org/libbonoboui/")
1198 (synopsis "Some user interface controls using Bonobo")
1199 (description "The Bonobo UI library provides a number of user interface
1200controls using the Bonobo component framework.")
1201 (license license:lgpl2.0+)))
1202
fecbf86e
SB
1203(define-public libwnck
1204 (package
1205 (name "libwnck")
1206 (version "3.14.0")
1207 (source (origin
1208 (method url-fetch)
1209 (uri (string-append "mirror://gnome/sources/" name "/"
1210 (version-major+minor version) "/"
1211 name "-" version ".tar.xz"))
1212 (sha256
1213 (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m"))))
1214 (build-system gnu-build-system)
1215 (native-inputs
1216 `(("pkg-config" ,pkg-config)
1217 ("intltool" ,intltool)))
1218 (propagated-inputs
427476d5
SB
1219 `(("gtk+" ,gtk+)
1220 ("libxres" ,libxres)
1221 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1222 (home-page "https://developer.gnome.org/libwnck/")
1223 (synopsis "Window Navigator Construction Kit")
1224 (description
1225 "Libwnck is the Window Navigator Construction Kit, a library for use in
1226writing pagers, tasklists, and more generally applications that are dealing
1227with window management. It tries hard to respect the Extended Window Manager
1228Hints specification (EWMH).")
1229 (license license:lgpl2.0+)))
1230
1231;; stable version for gtk2, required by xfwm4.
1232(define-public libwnck-1
1233 (package (inherit libwnck)
1234 (name "libwnck")
1235 (version "2.30.7")
1236 (source (origin
1237 (method url-fetch)
1238 (uri (string-append "mirror://gnome/sources/" name "/"
1239 (version-major+minor version) "/"
1240 name "-" version ".tar.xz"))
1241 (sha256
1242 (base32
1243 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1244 (propagated-inputs
427476d5
SB
1245 `(("gtk+" ,gtk+-2)
1246 ("libxres" ,libxres)
1247 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1248
1249(define-public goffice
1250 (package
1251 (name "goffice")
1252 (version "0.10.14")
1253 (source (origin
1254 (method url-fetch)
b38e45d8
EB
1255 (uri (string-append "mirror://gnome/sources/" name "/"
1256 (version-major+minor version) "/"
1257 name "-" version ".tar.xz"))
b804c61e
JD
1258 (sha256
1259 (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60"))))
1260 (build-system gnu-build-system)
1261 (inputs
1262 `(("gtk+" ,gtk+)
1263 ("libgsf" ,libgsf)
1264 ("librsvg" ,librsvg)
1265 ("libxslt" ,libxslt)
1266 ("libxml2" ,libxml2)))
1267 (native-inputs
1268 `(("intltool" ,intltool)
f280cdb1 1269 ("glib" ,glib "bin")
b804c61e
JD
1270 ("pkg-config" ,pkg-config)))
1271 (home-page "https://developer.gnome.org/goffice/")
1272 (synopsis "Document-centric objects and utilities")
1273 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 1274 (license
b804c61e
JD
1275 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1276 ;; Note: NOT LGPL
1277 (list license:gpl2 license:gpl3))))
1278
c024ae36
RW
1279(define-public goffice-0.8
1280 (package (inherit goffice)
1281 (version "0.8.17")
1282 (source (origin
1283 (method url-fetch)
1284 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1285 (version-major+minor version) "/"
1286 (package-name goffice) "-" version ".tar.xz"))
1287 (sha256
1288 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1289 (arguments
1290 `(#:phases
1291 (alist-cons-after
1292 'unpack 'fix-pcre-check
1293 (lambda _
1294 ;; Only glib.h can be included directly. See
1295 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1296 (substitute* "configure"
1297 (("glib/gregex\\.h") "glib.h")) #t)
1298 %standard-phases)))
1299 (propagated-inputs
1300 ;; libgoffice-0.8.pc mentions libgsf-1
1301 `(("libgsf" ,libgsf)))
1302 (inputs
1303 `(("gtk" ,gtk+-2)
1304 ,@(alist-delete "gtk" (package-inputs goffice))))))
1305
b804c61e
JD
1306(define-public gnumeric
1307 (package
1308 (name "gnumeric")
1309 (version "1.12.17")
1310 (source (origin
1311 (method url-fetch)
b38e45d8
EB
1312 (uri (string-append "mirror://gnome/sources/" name "/"
1313 (version-major+minor version) "/"
1314 name "-" version ".tar.xz"))
b804c61e
JD
1315 (sha256
1316 (base32
1317 "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c"))))
1318 (build-system gnu-build-system)
1319 (arguments
1320 `(;; The gnumeric developers don't worry much about failing tests.
1321 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 1322 #:tests? #f
b804c61e
JD
1323 #:phases
1324 (alist-cons-before
1325 'configure 'pre-conf
1326 (lambda* (#:key outputs #:allow-other-keys)
1327 ;; Make install tries to write into the directory of goffice
1328 ;; I am informed that this only affects the possibility to embed a
1329 ;; spreadsheet inside an Abiword document. So presumably when we
1330 ;; package Abiword we'll have to refer it to this directory.
2e6ecc5c 1331 (substitute* "configure"
b804c61e 1332 (("^GOFFICE_PLUGINS_DIR=.*")
2e6ecc5c 1333 (string-append "GOFFICE_PLUGINS_DIR="
b804c61e
JD
1334 (assoc-ref outputs "out") "/goffice/plugins"))))
1335 %standard-phases)))
1336 (inputs
1337 `(("glib" ,glib)
1338 ("gtk+" ,gtk+)
1339 ("goffice" ,goffice)
1340 ("libgsf" ,libgsf)
1341 ("libxml2" ,libxml2)
1342 ("zlib" ,zlib)))
1343 (native-inputs
1344 `(("intltool" ,intltool)
b9663471 1345 ("glib:bin" ,glib "bin")
b804c61e
JD
1346 ("pkg-config" ,pkg-config)))
1347 (home-page "http://www.gnumeric.org")
66672a45
LC
1348 (synopsis "Spreadsheet application")
1349 (description
1350 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1351interoperable with other spreadsheet applications. It has a vast array of
1352features beyond typical spreadsheet functionality, such as support for linear
1353and non-linear solvers, statistical analysis, and telecommunication
1354engineering.")
1355 (license
b804c61e
JD
1356 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1357 (list license:gpl2 license:gpl3))))
6f885c05
FB
1358
1359(define-public gnome-themes-standard
1360 (package
1361 (name "gnome-themes-standard")
1362 ;; The version of this package should be the same as the version of
1363 ;; gnome-desktop.
1364 (version (package-version gnome-desktop))
1365 (source
1366 (origin
1367 (method url-fetch)
2e6ecc5c 1368 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
1369 (version-major+minor version) "/" name "-"
1370 version ".tar.xz"))
1371 (sha256
1372 (base32
7dae5ac4 1373 "0kyrbfrgl6g6wm6zpllldz36fclvl8vwmn1snwk18kf7f6ncpsac"))))
6f885c05
FB
1374 (build-system gnu-build-system)
1375 (inputs
1376 `(("gtk+" ,gtk+)
1377 ("gtk+-2" ,gtk+-2)
1378 ("librsvg" ,librsvg)
1379 ("libxml2" ,libxml2)
1380 ("glib" ,glib)))
1381 (native-inputs
1382 `(("intltool" ,intltool)
1383 ("glib:bin" ,glib "bin")
1384 ("pkg-config" ,pkg-config)))
1385 (arguments
1386 `(#:phases
1387 (alist-cons-before
1388 'build 'use-full-cache
1389 ;; Use librsvg's loaders.cache instead of the one provided by
1390 ;; gdk-pixbuf because the latter does not include support for SVG
1391 ;; files.
1392 (lambda* (#:key inputs #:allow-other-keys)
2e6ecc5c
AE
1393 (setenv "GDK_PIXBUF_MODULE_FILE"
1394 (car (find-files (assoc-ref inputs "librsvg")
6f885c05
FB
1395 "loaders\\.cache"))))
1396 %standard-phases)))
1397 (home-page "https://launchpad.net/gnome-themes-standard")
1398 (synopsis "Default GNOME 3 themes")
1399 (description
1400 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1401 (license license:lgpl2.1+)))
5a659a48
SB
1402
1403(define-public vala
1404 (package
1405 (name "vala")
1ea90625 1406 (version "0.28.0")
5a659a48
SB
1407 (source (origin
1408 (method url-fetch)
1409 (uri (string-append "mirror://gnome/sources/" name "/"
1410 (version-major+minor version) "/"
1411 name "-" version ".tar.xz"))
1412 (sha256
1413 (base32
1ea90625 1414 "0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd"))))
5a659a48 1415 (build-system gnu-build-system)
1ea90625
SB
1416 (arguments
1417 '(#:phases
1418 (modify-phases %standard-phases
1419 (add-before 'check 'set-cc
1420 (lambda _
1421 (setenv "CC" "gcc")
1422 #t)))))
5a659a48
SB
1423 (native-inputs
1424 `(("pkg-config" ,pkg-config)
1425 ("flex" ,flex)
1426 ("bison" ,bison)
1427 ("xsltproc" ,libxslt)
1428 ("dbus" ,dbus) ; for dbus tests
1429 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1430 (propagated-inputs
1431 `(("glib" ,glib))) ; required by libvala-0.26.pc
1432 (home-page "http://live.gnome.org/Vala/")
1433 (synopsis "Compiler for the GObject type system")
1434 (description
1435 "Vala is a programming language that aims to bring modern programming
1436language features to GNOME developers without imposing any additional runtime
1437requirements and without using a different ABI compared to applications and
1438libraries written in C.")
1439 (license license:lgpl2.1+)))
ea57378f
SB
1440
1441(define-public vte
1442 (package
1443 (name "vte")
191e9b4e 1444 (version "0.40.0")
ea57378f
SB
1445 (source (origin
1446 (method url-fetch)
1447 (uri (string-append "mirror://gnome/sources/" name "/"
1448 (version-major+minor version) "/"
1449 name "-" version ".tar.xz"))
1450 (sha256
1451 (base32
191e9b4e 1452 "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal"))))
ea57378f
SB
1453 (build-system gnu-build-system)
1454 (native-inputs
1455 `(("pkg-config" ,pkg-config)
1456 ("intltool" ,intltool)
1457 ("vala" ,vala)
1458 ("gobject-introspection" ,gobject-introspection)
1459 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1460 ("xmllint" ,libxml2)))
1461 (propagated-inputs
302393bc
LC
1462 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1463 ("gnutls" ,gnutls))) ;ditto
ea57378f
SB
1464 (home-page "http://www.gnome.org/")
1465 (synopsis "Virtual Terminal Emulator")
1466 (description
1467 "VTE is a library (libvte) implementing a terminal emulator widget for
1468GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1469gnome-terminal, but can also be used to embed a console/terminal in games,
1470editors, IDEs, etc.")
1471 (license license:lgpl2.1+)))
1472
1473;; stable version for gtk2, required by xfce4-terminal.
1474(define-public vte/gtk+-2
1475 (package (inherit vte)
1476 (name "vte")
1477 (version "0.28.2")
1478 (source (origin
1479 (method url-fetch)
1480 (uri (string-append "mirror://gnome/sources/" name "/"
1481 (version-major+minor version) "/"
1482 name "-" version ".tar.xz"))
1483 (sha256
1484 (base32
1485 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1486 (arguments
1487 '(#:configure-flags '("--disable-python")))
1488 (native-inputs
1489 `(("pkg-config" ,pkg-config)
1490 ("intltool" ,intltool)
1491 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1492 (propagated-inputs
1493 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1494 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1495
1496(define-public dconf
1497 (package
1498 (name "dconf")
1499 (version "0.22.0")
1500 (source (origin
1501 (method url-fetch)
1502 (uri (string-append
2e6ecc5c 1503 "mirror://gnome/sources/" name "/"
b47e1b20
FB
1504 (version-major+minor version) "/"
1505 name "-" version ".tar.xz"))
1506 (sha256
1507 (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa"))))
1508 (build-system glib-or-gtk-build-system)
1509 (inputs
1510 `(("gtk+" ,gtk+)
1511 ("glib" ,glib)
1512 ("dbus" ,dbus)
1513 ("libxml2" ,libxml2)))
1514 (native-inputs
1515 `(("libxslt" ,libxslt)
1516 ("docbook-xml" ,docbook-xml-4.2)
1517 ("docbook-xsl" ,docbook-xsl)
1518 ("intltool" ,intltool)
1519 ("pkg-config" ,pkg-config)))
1520 (arguments
1521 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1522 ; or /etc/machine-id.
1523 #:configure-flags
1524 ;; Set the correct RUNPATH in binaries.
2e6ecc5c 1525 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
1526 (assoc-ref %outputs "out") "/lib")
1527 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1528 #:phases
1529 (alist-cons-before
1530 'configure 'fix-docbook
1531 (lambda* (#:key inputs #:allow-other-keys)
1532 (substitute* "docs/Makefile.in"
1533 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2e6ecc5c 1534 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
1535 "/xml/xsl/docbook-xsl-"
1536 ,(package-version docbook-xsl)
1537 "/manpages/docbook.xsl")))
2e6ecc5c
AE
1538 (setenv "XML_CATALOG_FILES"
1539 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
1540 "/xml/dtd/docbook/catalog.xml")))
1541 %standard-phases)))
1542 (home-page "https://developer.gnome.org/dconf")
1543 (synopsis "Low-level GNOME configuration system")
1544 (description "Dconf is a low-level configuration system. Its main purpose
1545is to provide a backend to GSettings on platforms that don't already have
1546configuration storage systems.")
1547 (license license:lgpl2.1)))
109da1c0
AE
1548
1549(define-public json-glib
1550 (package
1551 (name "json-glib")
1552 (version "1.0.2")
1553 (source (origin
1554 (method url-fetch)
1555 (uri (string-append "mirror://gnome/sources/" name "/"
1556 (version-major+minor version) "/"
1557 name "-" version ".tar.xz"))
1558 (sha256
1559 (base32
1560 "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
1561 (build-system gnu-build-system)
1562 (native-inputs
88c6b580 1563 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1564 ("gobject-introspection" ,gobject-introspection)
1565 ("pkg-config" ,pkg-config)))
1566 (propagated-inputs
88c6b580 1567 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1568 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1569 (synopsis "Compiler for the GObject type system")
1570 (description "JSON-GLib is a C library based on GLib providing
1571serialization and deserialization support for the JavaScript Object Notation
1572(JSON) format described by RFC 4627. It provides parser and generator
1573GObject classes and various wrappers for the complex data types employed by
1574JSON, such as arrays and objects.")
1575 (license license:lgpl2.1+)))
6f96a359
SB
1576
1577(define-public libxklavier
1578 (package
1579 (name "libxklavier")
1580 (version "5.3")
1581 (source (origin
1582 (method url-fetch)
1583 (uri (string-append "mirror://gnome/sources/" name "/"
1584 version "/" name "-" version ".tar.xz"))
1585 (sha256
1586 (base32
1587 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1588 (build-system gnu-build-system)
1589 (arguments
1590 '(#:configure-flags
1591 (list (string-append "--with-xkb-base="
1592 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 1593 "/share/X11/xkb"))))
6f96a359
SB
1594 (native-inputs
1595 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1596 ("gobject-introspection" ,gobject-introspection)
1597 ("pkg-config" ,pkg-config)))
1598 (propagated-inputs
1599 ;; Required by libxklavier.pc.
1600 `(("glib" ,glib)
1601 ("libxml2" ,libxml2)))
1602 (inputs
1603 `(("iso-codes" ,iso-codes)
1604 ("libxi" ,libxi)
1605 ("libxkbfile" ,libxkbfile)
1606 ("xkbcomp" ,xkbcomp)
1607 ("xkeyboard-config" ,xkeyboard-config)))
1608 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1609 (synopsis "High-level API for X Keyboard Extension")
1610 (description
1611 "LibXklavier is a library providing high-level API for X Keyboard
1612Extension known as XKB. This library is indended to support XFree86 and other
1613commercial X servers. It is useful for creating XKB-related software (layout
1614indicators etc).")
1615 (license license:lgpl2.0+)))
619936a4
LC
1616
1617(define-public python2-rsvg
1618 ;; XXX: This is actually a subset of gnome-python-desktop.
1619 (package
1620 (name "python2-rsvg")
1621 (version "2.32.0")
1622 (source
1623 (origin
1624 (method url-fetch)
1625 (uri (string-append
1626 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1627 version ".tar.bz2"))
1628 (sha256
1629 (base32
1630 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1631 (build-system gnu-build-system)
1632 (native-inputs
1633 `(("pkg-config" ,pkg-config)))
1634 (inputs
1635 `(("python" ,python-2)
1636 ("python2-pygtk" ,python2-pygtk)
1637 ("librsvg" ,librsvg)))
1638 (home-page "http://www.gnome.org")
1639 (synopsis "Python bindings to librsvg")
1640 (description
1641 "This packages provides Python bindings to librsvg, the SVG rendering
1642library.")
1643
1644 ;; This is the license of the rsvg bindings. The license of each module
1645 ;; of gnome-python-desktop is given in 'COPYING'.
1646 (license license:lgpl2.1+)))
a31a6d22 1647
f2ca414a
SB
1648(define-public glib-networking
1649 (package
1650 (name "glib-networking")
1651 (version "2.44.0")
1652 (source (origin
1653 (method url-fetch)
1654 (uri (string-append "mirror://gnome/sources/glib-networking/"
1655 (version-major+minor version) "/"
1656 name "-" version ".tar.xz"))
1657 (sha256
1658 (base32
1659 "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg"))))
1660 (build-system gnu-build-system)
1661 (arguments
1662 `(#:configure-flags
1663 ;; FIXME: ca-certificates.crt is not available in the build environment.
1664 '("--with-ca-certificates=no")
1665 #:phases
1666 (modify-phases %standard-phases
3a4de6b2 1667 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
1668 ;; Install GIO modules into $out/lib/gio/modules.
1669 (lambda _
1670 (substitute* "configure"
1671 (("GIO_MODULE_DIR=.*")
1672 (string-append "GIO_MODULE_DIR=" %output
1673 "/lib/gio/modules\n"))))))))
1674 (native-inputs
1675 `(("pkg-config" ,pkg-config)
1676 ("intltool" ,intltool)))
1677 (inputs
1678 `(("glib" ,glib)
1679 ("gnutls" ,gnutls)
1680 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1681 ("p11-kit" ,p11-kit)))
1682 (home-page "http://www.gnome.org")
1683 (synopsis "Network-related GIO modules")
1684 (description
1685 "This package contains various network related extensions for the GIO
1686library.")
1687 (license license:lgpl2.0+)))
1688
6e1bb642
SB
1689(define-public libsoup
1690 (package
1691 (name "libsoup")
1692 (version "2.50.0")
1693 (source (origin
1694 (method url-fetch)
1695 (uri (string-append "mirror://gnome/sources/libsoup/"
1696 (version-major+minor version) "/"
1697 name "-" version ".tar.xz"))
1698 (sha256
1699 (base32
1700 "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y"))))
1701 (build-system gnu-build-system)
1702 (outputs '("out" "doc"))
1703 (arguments
b19d6805 1704 `(#:configure-flags
6e1bb642
SB
1705 (list (string-append "--with-html-dir="
1706 (assoc-ref %outputs "doc")
1707 "/share/gtk-doc/html")
1708 ;; To find GIO modules from glib-networking.
1709 (string-append "GIO_EXTRA_MODULES="
1710 (assoc-ref %build-inputs "glib-networking")
1711 "/lib/gio/modules"))
1712 #:phases
1713 (modify-phases %standard-phases
3a4de6b2 1714 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
1715 ;; This test fails due to missing /etc/nsswitch.conf
1716 ;; in the build environment.
1717 (lambda _
1718 (substitute* "tests/socket-test.c"
1719 ((".*/sockets/unconnected.*") ""))
1720 #t))
3a4de6b2 1721 (add-before 'check 'unset-LC_ALL
6e1bb642
SB
1722 ;; The 'check-local' target runs 'env LANG=C sort -u',
1723 ;; unset 'LC_ALL' to make 'LANG' working.
1724 (lambda _
1725 (unsetenv "LC_ALL")
1726 #t)))))
1727 (native-inputs
1728 `(("glib:bin" ,glib "bin") ; for glib-mkenums
1729 ("gobject-introspection" ,gobject-introspection)
1730 ("intltool" ,intltool)
1731 ("pkg-config" ,pkg-config)
1732 ("python" ,python-wrapper)
1733 ;; These are needed for the tests.
1734 ;; FIXME: Add PHP once available.
1735 ("curl" ,curl)
1736 ("httpd" ,httpd)))
1737 (propagated-inputs
1738 ;; libsoup-2.4.pc refers to all these.
1739 `(("glib" ,glib)
1740 ("libxml2" ,libxml2)))
1741 (inputs
1742 `(("glib-networking" ,glib-networking)
1743 ("sqlite" ,sqlite)))
1744 (home-page "https://live.gnome.org/LibSoup/")
1745 (synopsis "GLib-based HTTP Library")
1746 (description
1747 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
1748and the GLib main loop, to integrate well with GNOME applications.")
1749 (license license:lgpl2.0+)))
1750
bba229a3
SB
1751(define-public libsecret
1752 (package
1753 (name "libsecret")
1754 (version "0.18")
1755 (source (origin
1756 (method url-fetch)
1757 (uri (string-append
1758 "mirror://gnome/sources/libsecret/" version "/"
1759 name "-" version ".tar.xz"))
1760 (sha256
1761 (base32
1762 "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc"))))
1763 (build-system gnu-build-system)
1764 (outputs '("out" "doc"))
1765 (arguments
1766 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
1767 #:configure-flags
1768 (list (string-append "--with-html-dir="
1769 (assoc-ref %outputs "doc")
1770 "/share/gtk-doc/html"))))
1771 (native-inputs
1772 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
1773 ("gobject-introspection" ,gobject-introspection)
1774 ("intltool" ,intltool)
1775 ("pkg-config" ,pkg-config)
1776 ("vala" ,vala)
1777 ("xsltproc" ,libxslt)))
1778 ;; These are needed for the tests.
1779 ;; FIXME: Add gjs once available.
1780 ;("dbus" ,dbus)
1781 ;("python2" ,python-2)
1782 ;("python2-dbus" ,python2-dbus)
1783 ;("python2-pygobject" ,python2-pygobject)
1784 ;("python2-pygobject-2" ,python2-pygobject-2)))
1785 (propagated-inputs
1786 `(("glib" ,glib))) ; required by libsecret-1.pc
1787 (inputs
1788 `(("docbook-xsl" ,docbook-xsl)
1789 ("libgcrypt" ,libgcrypt)
1790 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
1791 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
1792 (synopsis "GObject bindings for \"Secret Service\" API")
1793 (description
1794 "Libsecret is a GObject based library for storing and retrieving passwords
1795and other secrets. It communicates with the \"Secret Service\" using DBus.")
1796 (license license:lgpl2.1+)))
1797
a31a6d22
SB
1798(define-public gnome-mines
1799 (package
1800 (name "gnome-mines")
121398e7 1801 (version "3.16.0")
a31a6d22
SB
1802 (source
1803 (origin
1804 (method url-fetch)
1805 (uri (string-append "mirror://gnome/sources/" name "/"
1806 (version-major+minor version) "/"
1807 name "-" version ".tar.xz"))
1808 (sha256
1809 (base32
121398e7 1810 "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx"))))
a31a6d22
SB
1811 (build-system glib-or-gtk-build-system)
1812 (arguments
1813 '(#:phases
1814 (modify-phases %standard-phases
f8503e2b 1815 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
1816 (lambda _
1817 (substitute* "configure"
1818 (("/bin/true") (which "true")))))
f8503e2b 1819 (add-after 'install 'wrap-pixbuf
a31a6d22
SB
1820 ;; Use librsvg's loaders.cache to support SVG files.
1821 (lambda* (#:key inputs outputs #:allow-other-keys)
1822 (let* ((out (assoc-ref outputs "out"))
1823 (prog (string-append out "/bin/gnome-mines"))
1824 (rsvg (assoc-ref inputs "librsvg"))
1825 (pixbuf (find-files rsvg "^loaders\\.cache$")))
1826 (wrap-program prog
1827 `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf))))))))
1828 (native-inputs
1829 `(("pkg-config" ,pkg-config)
1830 ("desktop-file-utils" ,desktop-file-utils)
1831 ("intltool" ,intltool)
1832 ("itstool" ,itstool)))
1833 (inputs
1834 `(("gtk+" ,gtk+)
1835 ("librsvg" ,librsvg)))
1836 (home-page "https://wiki.gnome.org/Apps/Mines")
1837 (synopsis "Minesweeper game")
1838 (description
1839 "Mines (previously gnomine) is a puzzle game where you locate mines
1840floating in an ocean using only your brain and a little bit of luck.")
1841 (license license:gpl2+)))
88f70665
AW
1842
1843(define-public gnome-terminal
1844 (package
1845 (name "gnome-terminal")
1846 (version "3.16.0")
1847 (source
1848 (origin
1849 (method url-fetch)
1850 (uri (string-append "mirror://gnome/sources/" name "/"
1851 (version-major+minor version) "/"
1852 name "-" version ".tar.xz"))
1853 (sha256
1854 (base32
1855 "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd"))))
1856 (build-system glib-or-gtk-build-system)
1857 (arguments
1858 '(#:configure-flags
1859 (list "--disable-migration" "--disable-search-provider"
1860 "--without-nautilus-extension")
1861 #:phases
1862 (modify-phases %standard-phases
3a4de6b2 1863 (add-before 'configure 'patch-/bin/true
88f70665
AW
1864 (lambda _
1865 (substitute* "configure"
1866 (("/bin/true") (which "true"))))))))
1867 (native-inputs
1868 `(("pkg-config" ,pkg-config)
1869 ("desktop-file-utils" ,desktop-file-utils)
1870 ("intltool" ,intltool)
1871 ("itstool" ,itstool)))
1872 (inputs
1873 `(("gtk+" ,gtk+)
1874 ("vte" ,vte)
1875 ("gnutls" ,gnutls)
1876 ("dconf" ,dconf)
1877 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1878 ("util-linux" ,util-linux)
1879 ("vala" ,vala)))
1880 (home-page "https://wiki.gnome.org/Apps/Terminal")
1881 (synopsis "Terminal emulator")
1882 (description
1883 "GNOME Terminal is a terminal emulator application for accessing a
1884UNIX shell environment which can be used to run programs available on
1885your system.
1886
1887It supports several profiles, multiple tabs and implements several
1888keyboard shortcuts.")
1889 (license license:gpl3+)))
75016d07
AW
1890
1891(define-public colord
1892 (package
1893 (name "colord")
1894 (version "1.1.8")
1895 (source
1896 (origin
1897 (method url-fetch)
1898 (uri (string-append "http://www.freedesktop.org/software/colord/releases/"
1899 name "-" version ".tar.xz"))
1900 (sha256
1901 (base32
1902 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
1903 (build-system glib-or-gtk-build-system)
1904 (arguments
1905 '(;; The tests want to run valgrind. Punt for now.
1906 #:tests? #f
1907 #:configure-flags (list "--localstatedir=/var"
1908 ;; GUSB not packaged yet.
1909 "--disable-gusb"
1910 ;; No dep on systemd.
1911 "--disable-systemd-login"
1912 ;; Wants to install to global completion dir;
1913 ;; punt.
1914 "--disable-bash-completion"
1915 ;; colord-gtk not packaged yet.
1916 "--disable-session-example"
1917 "--with-daemon-user=colord"
1918 "--enable-sane"
1919 (string-append "--with-udevrulesdir="
1920 (assoc-ref %outputs "out")
1921 "/lib/udev/rules.d"))
1922 #:phases
1923 (modify-phases %standard-phases
3a4de6b2 1924 (add-before 'configure 'patch-/bin/true
75016d07
AW
1925 (lambda _
1926 (substitute* "configure"
1927 (("/bin/true") (which "true")))
1928 (substitute* "src/Makefile.in"
1929 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 1930 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
1931 (native-inputs
1932 `(("pkg-config" ,pkg-config)
1933 ("gobject-introspection" ,gobject-introspection)
1934 ("libtool" ,libtool)
1935 ("intltool" ,intltool)))
1936 (inputs
1937 `(("eudev" ,eudev)
1938 ("dbus" ,dbus)
1939 ("dbus-glib" ,dbus-glib)
1940 ("libusb" ,libusb)
1941 ("lcms" ,lcms)
1942 ("sqlite" ,sqlite)
1943 ("polkit" ,polkit)
1944 ("sane-backends" ,sane-backends)))
1945 (home-page "http://www.freedesktop.org/software/colord/")
1946 (synopsis "Color management service")
1947 (description "Colord is a system service that makes it easy to manage,
1948install and generate color profiles to accurately color manage input and
1949output devices.")
1950 (license license:gpl2+)))
7b2abd00
AW
1951
1952(define-public geoclue
1953 (package
1954 (name "geoclue")
1955 (version "2.1.10")
1956 (source
1957 (origin
1958 (method url-fetch)
1959 (uri (string-append "http://www.freedesktop.org/software/" name
1960 "/releases/" (version-major+minor version) "/"
1961 name "-" version ".tar.xz"))
1962 (sha256
1963 (base32
1964 "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi"))
1965 (patches (list (search-patch "geoclue-config.patch")))))
1966 (build-system glib-or-gtk-build-system)
1967 (arguments
1968 '(;; The tests want to run the system bus.
1969 #:tests? #f
1970 #:configure-flags (list ;; Disable bits requiring ModemManager.
1971 "--disable-3g-source"
1972 "--disable-cdma-source"
1973 "--disable-modem-gps-source"
1974 "--with-dbus-service-user=geoclue")
1975 #:phases
1976 (modify-phases %standard-phases
3a4de6b2 1977 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
1978 (lambda _
1979 (substitute* "configure"
1980 (("/bin/true") (which "true"))))))))
1981 (native-inputs
1982 `(("pkg-config" ,pkg-config)
1983 ("intltool" ,intltool)))
1984 (inputs
1985 `(("glib" ,glib)
1986 ("json-glib" ,json-glib)
1987 ("libsoup" ,libsoup)))
1988 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
1989 (synopsis "Geolocation service")
1990 (description "Geoclue is a D-Bus service that provides location
1991information. The primary goal of the Geoclue project is to make creating
1992location-aware applications as simple as possible, while the secondary goal is
1993to ensure that no application can access location information without explicit
1994permission from user. ")
1995 (license license:gpl2+)))
2bfe7437
AW
1996
1997(define-public geocode-glib
1998 (package
1999 (name "geocode-glib")
2000 (version "3.16.0")
2001 (source (origin
2002 (method url-fetch)
2003 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2004 (version-major+minor version) "/"
2005 name "-" version ".tar.xz"))
2006 (sha256
2007 (base32
2008 "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj"))))
2009 (build-system gnu-build-system)
2010 (arguments
2011 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2012 ;; work for the builder. Punt.
2013 #:tests? #f
2bfe7437
AW
2014 ))
2015 (native-inputs
2016 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2017 ("gobject-introspection" ,gobject-introspection)
2018 ("pkg-config" ,pkg-config)
2019 ("json-glib" ,json-glib)))
2020 (propagated-inputs
2021 ;; geocode-glib-1.0.pc refers to GIO.
2022 `(("glib" ,glib)))
2023 (inputs
2024 `(("libsoup" ,libsoup)))
2025 (home-page "https://github.com/GNOME/geocode-glib/")
2026 (synopsis "Geocoding and reverse-geocoding library")
2027 (description
2028 "geocode-glib is a convenience library for geocoding (finding longitude,
2029and latitude from an address) and reverse geocoding (finding an address from
2030coordinates) using the Nominatim service. geocode-glib caches requests for
2031faster results and to avoid unnecessary server load.")
2032 (license license:lgpl2.0+)))
a1d5bb0e
AW
2033
2034(define-public upower
2035 (package
2036 (name "upower")
2037 (version "0.99.2")
2038 (source (origin
2039 (method url-fetch)
2040 (uri (string-append "http://upower.freedesktop.org/releases/"
2041 name "-" version ".tar.xz"))
2042 (sha256
2043 (base32
2044 "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79"))
2045 (patches (list (search-patch "upower-builddir.patch")))))
2046 (build-system glib-or-gtk-build-system)
2047 (arguments
2048 '( ;; The tests want to contact the system bus, which can't be done in the
2049 ;; build environment. The integration test can run, but the last of
2050 ;; the up-self-tests doesn't. Disable tests for now.
2051 #:tests? #f
2052 #:configure-flags (list "--localstatedir=/var"
2053 (string-append "--with-udevrulesdir="
2054 (assoc-ref %outputs "out")
2055 "/lib/udev/rules.d"))
2056 #:phases
2057 (modify-phases %standard-phases
2058 (add-before 'configure 'patch-/bin/true
2059 (lambda _
2060 (substitute* "configure"
2061 (("/bin/true") (which "true")))))
2062 (add-before 'configure 'patch-integration-test
2063 (lambda _
2064 (substitute* "src/linux/integration-test"
2065 (("/usr/bin/python3") (which "python3"))))))))
2066 (native-inputs
2067 `(("pkg-config" ,pkg-config)
2068 ("intltool" ,intltool)
2069 ("python" ,python)))
2070 (inputs
2071 `(("eudev" ,eudev)
2072 ("dbus" ,dbus)
2073 ("dbus-glib" ,dbus-glib)
2074 ("libusb" ,libusb)))
2075 (home-page "http://upower.freedesktop.org/")
2076 (synopsis "System daemon for managing power devices")
2077 (description
2078 "UPower is an abstraction for enumerating power devices,
2079listening to device events and querying history and statistics. Any
2080application or service on the system can access the org.freedesktop.UPower
2081service via the system message bus.")
2082 (license license:gpl2+)))
6a180f6f
AW
2083
2084(define-public libgweather
2085 (package
2086 (name "libgweather")
2087 (version "3.16.0")
2088 (source (origin
2089 (method url-fetch)
2090 (uri (string-append "mirror://gnome/sources/" name "/"
2091 (version-major+minor version) "/"
2092 name "-" version ".tar.xz"))
2093 (sha256
2094 (base32
2095 "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza"))))
2096 (build-system gnu-build-system)
2097 (arguments
2098 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2099 ;; work for the builder. Punt.
2100 #:tests? #f
6a180f6f
AW
2101 #:configure-flags
2102 `(;; No introspection for now, as it wants to install to
2103 ;; gobject-introspection's own directory and I don't know how to easily
2104 ;; override this.
2105 "--enable-introspection=no"
2106 ,(string-append "--with-zoneinfo-dir="
2107 (assoc-ref %build-inputs "tzdata")
2108 "/share/zoneinfo"))))
2109 (native-inputs
2110 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2111 ("pkg-config" ,pkg-config)
2112 ("intltool" ,intltool)))
2113 (propagated-inputs
2114 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2115 ;; libsoup.
2116 `(("gtk+" ,gtk+)
2117 ("gdk-pixbuf" ,gdk-pixbuf)
2118 ("libxml2" ,libxml2)
2119 ("libsoup" ,libsoup)))
2120 (inputs
2121 `(("tzdata" ,tzdata)
2122 ("geocode-glib" ,geocode-glib)))
2123 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2124 (synopsis "Location, time zone, and weather library for GNOME")
2125 (description
2126 "libgweather is a library to access weather information from online
2127services for numerous locations.")
2128 (license license:gpl2+)))
23a22af6
AW
2129
2130(define-public gnome-settings-daemon
2131 (package
2132 (name "gnome-settings-daemon")
2133 (version "3.16.0")
2134 (source
2135 (origin
2136 (method url-fetch)
2137 (uri (string-append "mirror://gnome/sources/" name "/"
2138 (version-major+minor version) "/"
2139 name "-" version ".tar.xz"))
2140 (sha256
2141 (base32
2142 "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3"))))
2143 (build-system glib-or-gtk-build-system)
2144 (arguments
ec2b1921 2145 `(;; Network manager not yet packaged.
23a22af6
AW
2146 #:configure-flags '("--disable-network-manager")
2147 ;; Color management test can't reach the colord system service.
2148 #:tests? #f))
2149 (native-inputs
2150 `(("pkg-config" ,pkg-config)
2151 ("intltool" ,intltool)
2152 ("xsltproc" ,libxslt)
2153 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2154 ("docbook-xml" ,docbook-xml-4.2)
2155 ("docbook-xsl" ,docbook-xsl)))
2156 (inputs
2157 `(("colord" ,colord)
2158 ("eudev" ,eudev)
2159 ("upower" ,upower)
2160 ("polkit" ,polkit)
2161 ("pulseaudio" ,pulseaudio)
2162 ("libcanberra" ,libcanberra)
2163 ("libx11" ,libx11)
2164 ("libxtst" ,libxtst)
2165 ("lcms" ,lcms)
2166 ("libnotify" ,libnotify)
2167 ("geoclue" ,geoclue)
2168 ("geocode-glib" ,geocode-glib)
2169 ("libgweather" ,libgweather)
2170 ("gnome-desktop" ,gnome-desktop)
2171 ("nss" ,nss)
2172 ("cups" ,cups)
ec2b1921
AW
2173 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2174 ("libwacom" ,libwacom)
2175 ("librsvg" ,librsvg)
2176 ("xf86-input-wacom" ,xf86-input-wacom)))
23a22af6
AW
2177 (home-page "http://www.gnome.org")
2178 (synopsis "GNOME settings daemon")
2179 (description
2180 "This package contains the daemon responsible for setting the various
2181parameters of a GNOME session and the applications that run under it. It
2182handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2183settings, themes, mouse settings, and startup of other daemons.")
2184 (license license:gpl2+)))
1e7464a9
DH
2185
2186(define-public totem-pl-parser
2187 (package
2188 (name "totem-pl-parser")
2189 (version "3.10.5")
2190 (source (origin
2191 (method url-fetch)
2192 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2193 "totem-pl-parser-" version ".tar.xz"))
2194 (sha256
2195 (base32
2196 "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7"))))
2197 (build-system gnu-build-system)
2198 (arguments
2199 ;; FIXME: Tests require gvfs.
2200 `(#:tests? #f))
2201 (native-inputs
2202 `(("intltool" ,intltool)
2203 ("glib" ,glib "bin")
2204 ("pkg-config" ,pkg-config)))
2205 (inputs
2206 `(("glib" ,glib)
2207 ("gmime" ,gmime)
2208 ("libarchive" ,libarchive)
2209 ("libgcrypt" ,libgcrypt)
2210 ("nettle" ,nettle)
2211 ("libsoup" ,libsoup)
2212 ("libxml2" ,libxml2)))
2213 (home-page "https://projects.gnome.org/totem")
2214 (synopsis "Library to parse and save media playlists for GNOME")
2215 (description "Totem-pl-parser is a GObjects-based library to parse and save
2216playlists in a variety of formats.")
2217 (license license:lgpl2.0+)))
2218
6b888eff
SB
2219(define-public aisleriot
2220 (package
2221 (name "aisleriot")
2222 (version "3.16.1")
2223 (source (origin
2224 (method url-fetch)
2225 (uri (string-append "mirror://gnome/sources/" name "/"
2226 (version-major+minor version) "/"
2227 name "-" version ".tar.xz"))
2228 (sha256
2229 (base32
2230 "19k483x9dkq8vjbq8f333pk9qil64clpsfg20q8xk9bgmk38aj8h"))))
2231 (build-system glib-or-gtk-build-system)
2232 (arguments
2233 '(#:configure-flags
2234 '("--with-platform=gtk-only"
2235 "--with-card-theme-formats=svg")))
2236 (native-inputs
2237 `(("desktop-file-utils" ,desktop-file-utils)
2238 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2239 ("intltool" ,intltool)
2240 ("itstool" ,itstool)
2241 ("pkg-config" ,pkg-config)
2242 ("xmllint" ,libxml2)))
2243 (inputs
2244 `(("gtk+" ,gtk+)
2245 ("guile" ,guile-2.0)
2246 ("libcanberra" ,libcanberra)
2247 ("librsvg" ,librsvg)))
2248 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2249 (synopsis "Solitaire card games")
2250 (description
2251 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2252which are easy to play with the aid of a mouse.")
2253 (license license:gpl3+)))