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