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