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