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