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