gnu: camlp4: Update to 4.02+6.
[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
1226 (propagated-inputs `(("libgnome" ,libgnome)
1227 ("libgnome-keyring" ,libgnome-keyring)))
1228 (inputs `(("libgnomecanvas" ,libgnomecanvas)
1229 ("libbonoboui" ,libbonoboui)
1230 ("libjpeg" ,libjpeg)
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
1260 `(("gtk+-2" ,gtk+-2)
1261 ("libxml2" ,libxml2)
1262 ("python" ,python))) ;; needed for the optional libglade-convert program
1263 (native-inputs
1264 `(("pkg-config" ,pkg-config)))
1265 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1266 (synopsis "Load glade interfaces and access the glade built widgets")
1267 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1268graphical interfaces described in glade files and for accessing the
1269widgets built in the loading process.")
1270 (license license:gpl2+))) ; This is correct. GPL not LGPL
1271
1272(define-public libgnomeprint
eb497b66
LC
1273 ;; This library has been deprecated since 2006; see
1274 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1275 (package
1276 (name "libgnomeprint")
1277 (version "2.8.2")
1278 (source (origin
1279 (method url-fetch)
b38e45d8
EB
1280 (uri (string-append "mirror://gnome/sources/" name "/"
1281 (version-major+minor version) "/"
1282 name "-" version ".tar.bz2"))
5698b8b8
JD
1283 (sha256
1284 (base32
3edce2c9
RW
1285 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))
1286 (modules '((guix build utils)))
1287 (snippet
1288 ;; Adapt to newer freetype. As the package is deprecated, there
1289 ;; is no use in creating a patch and reporting it.
1290 '(substitute* '("libgnomeprint/gnome-font-face.c"
1291 "libgnomeprint/gnome-rfont.c")
1292 (("freetype/") "freetype2/")))))
5698b8b8
JD
1293 (build-system gnu-build-system)
1294 (inputs
1295 `(("popt" ,popt)
1296 ("libart-lgpl" ,libart-lgpl)
1297 ("gtk+" ,gtk+-2)
44add1ce 1298 ("libxml2" ,libxml2)))
5698b8b8
JD
1299 (native-inputs
1300 `(("intltool" ,intltool)
221ed17a 1301 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1302 ("pkg-config" ,pkg-config)))
1303 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1304 (synopsis "Printing framework for GNOME")
eb497b66
LC
1305 (description
1306 "GNOME-print was a printing framework for GNOME. It has been deprecated
1307since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1308 (license license:lgpl2.0+)))
1309
1310
1311(define-public libgnomeprintui
eb497b66 1312 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1313 (package
1314 (name "libgnomeprintui")
1315 (version "2.8.2")
1316 (source (origin
1317 (method url-fetch)
b38e45d8
EB
1318 (uri (string-append "mirror://gnome/sources/" name "/"
1319 (version-major+minor version) "/"
1320 name "-" version ".tar.bz2"))
5698b8b8
JD
1321 (sha256
1322 (base32
1323 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1324 (build-system gnu-build-system)
1325 ;; Mentioned as Required in the .pc file
1326 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1327 (inputs `(("gtk+" ,gtk+-2)
1328 ("glib" ,glib)
1329 ("gnome-icon-theme" ,gnome-icon-theme)
1330 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 1331 ("libxml2" ,libxml2)))
5698b8b8
JD
1332 (native-inputs
1333 `(("intltool" ,intltool)
1334 ("pkg-config" ,pkg-config)))
1335 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1336 (synopsis "Printing framework for GNOME")
eb497b66 1337 (description (package-description libgnomeprint))
5698b8b8
JD
1338 (license license:lgpl2.0+)))
1339
5698b8b8
JD
1340(define-public libbonoboui
1341 (package
1342 (name "libbonoboui")
1343 (version "2.24.5")
1344 (source (origin
1345 (method url-fetch)
b38e45d8
EB
1346 (uri (string-append "mirror://gnome/sources/" name "/"
1347 (version-major+minor version) "/"
1348 name "-" version ".tar.bz2"))
5698b8b8
JD
1349 (sha256
1350 (base32
1351 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1352 (build-system gnu-build-system)
1353 (arguments
1354 `(#:phases
1355 (alist-cons-before
1356 'check 'start-xserver
1357 (lambda* (#:key inputs #:allow-other-keys)
1358 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1359 (disp ":1"))
2e6ecc5c 1360
5698b8b8
JD
1361 (setenv "HOME" (getcwd))
1362 (setenv "DISPLAY" disp)
1363 ;; There must be a running X server and make check doesn't start one.
1364 ;; Therefore we must do it.
1365 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1366 %standard-phases)))
1367 ;; Mentioned as Required by the .pc file
1368 (propagated-inputs `(("libxml2" ,libxml2)))
1369 (inputs
1370 `(("popt" ,popt)
1371 ("pangox-compat" ,pangox-compat)
1372 ("libgnome" ,libgnome)
1373 ("libgnomecanvas" ,libgnomecanvas)
1374 ("libglade" ,libglade)))
1375 (native-inputs
221ed17a
EB
1376 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1377 ("intltool" ,intltool)
5698b8b8
JD
1378 ("xorg-server" ,xorg-server) ; For running the tests
1379 ("pkg-config" ,pkg-config)))
1380 (home-page "https://developer.gnome.org/libbonoboui/")
1381 (synopsis "Some user interface controls using Bonobo")
1382 (description "The Bonobo UI library provides a number of user interface
1383controls using the Bonobo component framework.")
1384 (license license:lgpl2.0+)))
1385
fecbf86e
SB
1386(define-public libwnck
1387 (package
1388 (name "libwnck")
1389 (version "3.14.0")
1390 (source (origin
1391 (method url-fetch)
1392 (uri (string-append "mirror://gnome/sources/" name "/"
1393 (version-major+minor version) "/"
1394 name "-" version ".tar.xz"))
1395 (sha256
1396 (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m"))))
1397 (build-system gnu-build-system)
1398 (native-inputs
1399 `(("pkg-config" ,pkg-config)
1400 ("intltool" ,intltool)))
1401 (propagated-inputs
427476d5
SB
1402 `(("gtk+" ,gtk+)
1403 ("libxres" ,libxres)
1404 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1405 (home-page "https://developer.gnome.org/libwnck/")
1406 (synopsis "Window Navigator Construction Kit")
1407 (description
1408 "Libwnck is the Window Navigator Construction Kit, a library for use in
1409writing pagers, tasklists, and more generally applications that are dealing
1410with window management. It tries hard to respect the Extended Window Manager
1411Hints specification (EWMH).")
1412 (license license:lgpl2.0+)))
1413
1414;; stable version for gtk2, required by xfwm4.
1415(define-public libwnck-1
1416 (package (inherit libwnck)
1417 (name "libwnck")
1418 (version "2.30.7")
1419 (source (origin
1420 (method url-fetch)
1421 (uri (string-append "mirror://gnome/sources/" name "/"
1422 (version-major+minor version) "/"
1423 name "-" version ".tar.xz"))
1424 (sha256
1425 (base32
1426 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1427 (propagated-inputs
427476d5
SB
1428 `(("gtk+" ,gtk+-2)
1429 ("libxres" ,libxres)
1430 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1431
1432(define-public goffice
1433 (package
1434 (name "goffice")
1435 (version "0.10.14")
1436 (source (origin
1437 (method url-fetch)
b38e45d8
EB
1438 (uri (string-append "mirror://gnome/sources/" name "/"
1439 (version-major+minor version) "/"
1440 name "-" version ".tar.xz"))
b804c61e
JD
1441 (sha256
1442 (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60"))))
1443 (build-system gnu-build-system)
1444 (inputs
1445 `(("gtk+" ,gtk+)
1446 ("libgsf" ,libgsf)
1447 ("librsvg" ,librsvg)
1448 ("libxslt" ,libxslt)
1449 ("libxml2" ,libxml2)))
1450 (native-inputs
1451 `(("intltool" ,intltool)
f280cdb1 1452 ("glib" ,glib "bin")
b804c61e
JD
1453 ("pkg-config" ,pkg-config)))
1454 (home-page "https://developer.gnome.org/goffice/")
1455 (synopsis "Document-centric objects and utilities")
1456 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 1457 (license
b804c61e
JD
1458 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1459 ;; Note: NOT LGPL
1460 (list license:gpl2 license:gpl3))))
1461
c024ae36
RW
1462(define-public goffice-0.8
1463 (package (inherit goffice)
1464 (version "0.8.17")
1465 (source (origin
1466 (method url-fetch)
1467 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1468 (version-major+minor version) "/"
1469 (package-name goffice) "-" version ".tar.xz"))
1470 (sha256
1471 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1472 (arguments
1473 `(#:phases
1474 (alist-cons-after
1475 'unpack 'fix-pcre-check
1476 (lambda _
1477 ;; Only glib.h can be included directly. See
1478 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1479 (substitute* "configure"
1480 (("glib/gregex\\.h") "glib.h")) #t)
1481 %standard-phases)))
1482 (propagated-inputs
1483 ;; libgoffice-0.8.pc mentions libgsf-1
1484 `(("libgsf" ,libgsf)))
1485 (inputs
1486 `(("gtk" ,gtk+-2)
1487 ,@(alist-delete "gtk" (package-inputs goffice))))))
1488
b804c61e
JD
1489(define-public gnumeric
1490 (package
1491 (name "gnumeric")
1492 (version "1.12.17")
1493 (source (origin
1494 (method url-fetch)
b38e45d8
EB
1495 (uri (string-append "mirror://gnome/sources/" name "/"
1496 (version-major+minor version) "/"
1497 name "-" version ".tar.xz"))
b804c61e
JD
1498 (sha256
1499 (base32
1500 "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c"))))
1501 (build-system gnu-build-system)
1502 (arguments
1503 `(;; The gnumeric developers don't worry much about failing tests.
1504 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 1505 #:tests? #f
b804c61e
JD
1506 #:phases
1507 (alist-cons-before
1508 'configure 'pre-conf
1509 (lambda* (#:key outputs #:allow-other-keys)
1510 ;; Make install tries to write into the directory of goffice
1511 ;; I am informed that this only affects the possibility to embed a
1512 ;; spreadsheet inside an Abiword document. So presumably when we
1513 ;; package Abiword we'll have to refer it to this directory.
2e6ecc5c 1514 (substitute* "configure"
b804c61e 1515 (("^GOFFICE_PLUGINS_DIR=.*")
2e6ecc5c 1516 (string-append "GOFFICE_PLUGINS_DIR="
b804c61e
JD
1517 (assoc-ref outputs "out") "/goffice/plugins"))))
1518 %standard-phases)))
1519 (inputs
1520 `(("glib" ,glib)
1521 ("gtk+" ,gtk+)
1522 ("goffice" ,goffice)
1523 ("libgsf" ,libgsf)
1524 ("libxml2" ,libxml2)
1525 ("zlib" ,zlib)))
1526 (native-inputs
1527 `(("intltool" ,intltool)
b9663471 1528 ("glib:bin" ,glib "bin")
b804c61e
JD
1529 ("pkg-config" ,pkg-config)))
1530 (home-page "http://www.gnumeric.org")
66672a45
LC
1531 (synopsis "Spreadsheet application")
1532 (description
1533 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1534interoperable with other spreadsheet applications. It has a vast array of
1535features beyond typical spreadsheet functionality, such as support for linear
1536and non-linear solvers, statistical analysis, and telecommunication
1537engineering.")
1538 (license
b804c61e
JD
1539 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1540 (list license:gpl2 license:gpl3))))
6f885c05
FB
1541
1542(define-public gnome-themes-standard
1543 (package
1544 (name "gnome-themes-standard")
1545 ;; The version of this package should be the same as the version of
1546 ;; gnome-desktop.
1547 (version (package-version gnome-desktop))
1548 (source
1549 (origin
1550 (method url-fetch)
2e6ecc5c 1551 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
1552 (version-major+minor version) "/" name "-"
1553 version ".tar.xz"))
1554 (sha256
1555 (base32
2e718b9f 1556 "17sbcpc9df1cnz84g3npvh1na65mkxaygqcdma6wvda4knjpkssr"))))
6f885c05
FB
1557 (build-system gnu-build-system)
1558 (inputs
1559 `(("gtk+" ,gtk+)
1560 ("gtk+-2" ,gtk+-2)
1561 ("librsvg" ,librsvg)
1562 ("libxml2" ,libxml2)
1563 ("glib" ,glib)))
1564 (native-inputs
1565 `(("intltool" ,intltool)
1566 ("glib:bin" ,glib "bin")
1567 ("pkg-config" ,pkg-config)))
1568 (arguments
1569 `(#:phases
1570 (alist-cons-before
1571 'build 'use-full-cache
1572 ;; Use librsvg's loaders.cache instead of the one provided by
1573 ;; gdk-pixbuf because the latter does not include support for SVG
1574 ;; files.
1575 (lambda* (#:key inputs #:allow-other-keys)
2e6ecc5c
AE
1576 (setenv "GDK_PIXBUF_MODULE_FILE"
1577 (car (find-files (assoc-ref inputs "librsvg")
6f885c05
FB
1578 "loaders\\.cache"))))
1579 %standard-phases)))
1580 (home-page "https://launchpad.net/gnome-themes-standard")
1581 (synopsis "Default GNOME 3 themes")
1582 (description
1583 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1584 (license license:lgpl2.1+)))
5a659a48 1585
df90c701
RW
1586(define-public seahorse
1587 (package
1588 (name "seahorse")
1589 (version "3.16.0")
1590 (source
1591 (origin
1592 (method url-fetch)
1593 (uri (string-append "mirror://gnome/sources/" name "/"
1594 (version-major+minor version) "/" name "-"
1595 version ".tar.xz"))
1596 (sha256
1597 (base32
1598 "0cg1grgpwbfkiny5148n17rzpc8kswyr5yff0kpm8l3lp01my2kp"))))
1599 (build-system glib-or-gtk-build-system)
1600 (inputs
1601 `(("gtk+" ,gtk+)
1602 ("gcr" ,gcr)
1603 ("gnupg" ,gnupg-1)
1604 ("gpgme" ,gpgme)
4a1bf090 1605 ("openssh" ,openssh)
df90c701
RW
1606 ("libsecret" ,libsecret)))
1607 (native-inputs
1608 `(("intltool" ,intltool)
1609 ("glib:bin" ,glib "bin")
1610 ("itstool" ,itstool)
bcb354ad
SB
1611 ("pkg-config" ,pkg-config)
1612 ("xmllint" ,libxml2)))
df90c701
RW
1613 (home-page "https://launchpad.net/gnome-themes-standard")
1614 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1615 (description
1616 "Seahorse is a GNOME application for managing encryption keys and
1617passwords in the GNOME keyring.")
1618 (license license:gpl2+)))
1619
5a659a48
SB
1620(define-public vala
1621 (package
1622 (name "vala")
1ea90625 1623 (version "0.28.0")
5a659a48
SB
1624 (source (origin
1625 (method url-fetch)
1626 (uri (string-append "mirror://gnome/sources/" name "/"
1627 (version-major+minor version) "/"
1628 name "-" version ".tar.xz"))
1629 (sha256
1630 (base32
1ea90625 1631 "0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd"))))
5a659a48 1632 (build-system gnu-build-system)
1ea90625
SB
1633 (arguments
1634 '(#:phases
1635 (modify-phases %standard-phases
1636 (add-before 'check 'set-cc
1637 (lambda _
1638 (setenv "CC" "gcc")
1639 #t)))))
5a659a48
SB
1640 (native-inputs
1641 `(("pkg-config" ,pkg-config)
1642 ("flex" ,flex)
1643 ("bison" ,bison)
1644 ("xsltproc" ,libxslt)
1645 ("dbus" ,dbus) ; for dbus tests
1646 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1647 (propagated-inputs
1648 `(("glib" ,glib))) ; required by libvala-0.26.pc
1649 (home-page "http://live.gnome.org/Vala/")
1650 (synopsis "Compiler for the GObject type system")
1651 (description
1652 "Vala is a programming language that aims to bring modern programming
1653language features to GNOME developers without imposing any additional runtime
1654requirements and without using a different ABI compared to applications and
1655libraries written in C.")
1656 (license license:lgpl2.1+)))
ea57378f
SB
1657
1658(define-public vte
1659 (package
1660 (name "vte")
191e9b4e 1661 (version "0.40.0")
ea57378f
SB
1662 (source (origin
1663 (method url-fetch)
1664 (uri (string-append "mirror://gnome/sources/" name "/"
1665 (version-major+minor version) "/"
1666 name "-" version ".tar.xz"))
1667 (sha256
1668 (base32
191e9b4e 1669 "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal"))))
ea57378f
SB
1670 (build-system gnu-build-system)
1671 (native-inputs
1672 `(("pkg-config" ,pkg-config)
1673 ("intltool" ,intltool)
1674 ("vala" ,vala)
1675 ("gobject-introspection" ,gobject-introspection)
1676 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1677 ("xmllint" ,libxml2)))
1678 (propagated-inputs
302393bc
LC
1679 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1680 ("gnutls" ,gnutls))) ;ditto
ea57378f
SB
1681 (home-page "http://www.gnome.org/")
1682 (synopsis "Virtual Terminal Emulator")
1683 (description
1684 "VTE is a library (libvte) implementing a terminal emulator widget for
1685GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1686gnome-terminal, but can also be used to embed a console/terminal in games,
1687editors, IDEs, etc.")
1688 (license license:lgpl2.1+)))
1689
1690;; stable version for gtk2, required by xfce4-terminal.
1691(define-public vte/gtk+-2
1692 (package (inherit vte)
1693 (name "vte")
1694 (version "0.28.2")
1695 (source (origin
1696 (method url-fetch)
1697 (uri (string-append "mirror://gnome/sources/" name "/"
1698 (version-major+minor version) "/"
1699 name "-" version ".tar.xz"))
1700 (sha256
1701 (base32
1702 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1703 (arguments
1704 '(#:configure-flags '("--disable-python")))
1705 (native-inputs
1706 `(("pkg-config" ,pkg-config)
1707 ("intltool" ,intltool)
1708 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1709 (propagated-inputs
1710 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1711 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1712
1713(define-public dconf
1714 (package
1715 (name "dconf")
1716 (version "0.22.0")
1717 (source (origin
1718 (method url-fetch)
1719 (uri (string-append
2e6ecc5c 1720 "mirror://gnome/sources/" name "/"
b47e1b20
FB
1721 (version-major+minor version) "/"
1722 name "-" version ".tar.xz"))
1723 (sha256
1724 (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa"))))
1725 (build-system glib-or-gtk-build-system)
1726 (inputs
1727 `(("gtk+" ,gtk+)
1728 ("glib" ,glib)
1729 ("dbus" ,dbus)
1730 ("libxml2" ,libxml2)))
1731 (native-inputs
1732 `(("libxslt" ,libxslt)
1733 ("docbook-xml" ,docbook-xml-4.2)
1734 ("docbook-xsl" ,docbook-xsl)
1735 ("intltool" ,intltool)
1736 ("pkg-config" ,pkg-config)))
1737 (arguments
1738 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1739 ; or /etc/machine-id.
1740 #:configure-flags
1741 ;; Set the correct RUNPATH in binaries.
2e6ecc5c 1742 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
1743 (assoc-ref %outputs "out") "/lib")
1744 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1745 #:phases
1746 (alist-cons-before
1747 'configure 'fix-docbook
1748 (lambda* (#:key inputs #:allow-other-keys)
1749 (substitute* "docs/Makefile.in"
1750 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2e6ecc5c 1751 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
1752 "/xml/xsl/docbook-xsl-"
1753 ,(package-version docbook-xsl)
1754 "/manpages/docbook.xsl")))
2e6ecc5c
AE
1755 (setenv "XML_CATALOG_FILES"
1756 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
1757 "/xml/dtd/docbook/catalog.xml")))
1758 %standard-phases)))
1759 (home-page "https://developer.gnome.org/dconf")
1760 (synopsis "Low-level GNOME configuration system")
1761 (description "Dconf is a low-level configuration system. Its main purpose
1762is to provide a backend to GSettings on platforms that don't already have
1763configuration storage systems.")
1764 (license license:lgpl2.1)))
109da1c0
AE
1765
1766(define-public json-glib
1767 (package
1768 (name "json-glib")
1769 (version "1.0.2")
1770 (source (origin
1771 (method url-fetch)
1772 (uri (string-append "mirror://gnome/sources/" name "/"
1773 (version-major+minor version) "/"
1774 name "-" version ".tar.xz"))
1775 (sha256
1776 (base32
1777 "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
1778 (build-system gnu-build-system)
1779 (native-inputs
88c6b580 1780 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1781 ("gobject-introspection" ,gobject-introspection)
1782 ("pkg-config" ,pkg-config)))
1783 (propagated-inputs
88c6b580 1784 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1785 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1786 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
1787 (description
1788 "JSON-GLib is a C library based on GLib providing serialization and
1789deserialization support for the JavaScript Object Notation (JSON) format
1790described by RFC 4627. It provides parser and generator GObject classes and
1791various wrappers for the complex data types employed by JSON, such as arrays
1792and objects.")
109da1c0 1793 (license license:lgpl2.1+)))
6f96a359
SB
1794
1795(define-public libxklavier
1796 (package
1797 (name "libxklavier")
1798 (version "5.3")
1799 (source (origin
1800 (method url-fetch)
1801 (uri (string-append "mirror://gnome/sources/" name "/"
1802 version "/" name "-" version ".tar.xz"))
1803 (sha256
1804 (base32
1805 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1806 (build-system gnu-build-system)
1807 (arguments
1808 '(#:configure-flags
1809 (list (string-append "--with-xkb-base="
1810 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 1811 "/share/X11/xkb"))))
6f96a359
SB
1812 (native-inputs
1813 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1814 ("gobject-introspection" ,gobject-introspection)
1815 ("pkg-config" ,pkg-config)))
1816 (propagated-inputs
1817 ;; Required by libxklavier.pc.
1818 `(("glib" ,glib)
1819 ("libxml2" ,libxml2)))
1820 (inputs
1821 `(("iso-codes" ,iso-codes)
1822 ("libxi" ,libxi)
1823 ("libxkbfile" ,libxkbfile)
1824 ("xkbcomp" ,xkbcomp)
1825 ("xkeyboard-config" ,xkeyboard-config)))
1826 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1827 (synopsis "High-level API for X Keyboard Extension")
1828 (description
1829 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
1830Extension known as XKB. This library is intended to support XFree86 and other
1831commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
1832indicators etc).")
1833 (license license:lgpl2.0+)))
619936a4
LC
1834
1835(define-public python2-rsvg
1836 ;; XXX: This is actually a subset of gnome-python-desktop.
1837 (package
1838 (name "python2-rsvg")
1839 (version "2.32.0")
1840 (source
1841 (origin
1842 (method url-fetch)
1843 (uri (string-append
1844 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
1845 version ".tar.bz2"))
1846 (sha256
1847 (base32
1848 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
1849 (build-system gnu-build-system)
1850 (native-inputs
1851 `(("pkg-config" ,pkg-config)))
1852 (inputs
1853 `(("python" ,python-2)
1854 ("python2-pygtk" ,python2-pygtk)
1855 ("librsvg" ,librsvg)))
1856 (home-page "http://www.gnome.org")
1857 (synopsis "Python bindings to librsvg")
1858 (description
1859 "This packages provides Python bindings to librsvg, the SVG rendering
1860library.")
1861
1862 ;; This is the license of the rsvg bindings. The license of each module
1863 ;; of gnome-python-desktop is given in 'COPYING'.
1864 (license license:lgpl2.1+)))
a31a6d22 1865
f2ca414a
SB
1866(define-public glib-networking
1867 (package
1868 (name "glib-networking")
1869 (version "2.44.0")
1870 (source (origin
1871 (method url-fetch)
1872 (uri (string-append "mirror://gnome/sources/glib-networking/"
1873 (version-major+minor version) "/"
1874 name "-" version ".tar.xz"))
1875 (sha256
1876 (base32
907f939b
SB
1877 "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg"))
1878 (patches
1879 (list (search-patch "glib-networking-ssl-cert-file.patch")))))
f2ca414a
SB
1880 (build-system gnu-build-system)
1881 (arguments
1882 `(#:configure-flags
907f939b 1883 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
f2ca414a
SB
1884 #:phases
1885 (modify-phases %standard-phases
3a4de6b2 1886 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
1887 ;; Install GIO modules into $out/lib/gio/modules.
1888 (lambda _
1889 (substitute* "configure"
1890 (("GIO_MODULE_DIR=.*")
1891 (string-append "GIO_MODULE_DIR=" %output
907f939b
SB
1892 "/lib/gio/modules\n")))))
1893 (add-before 'check 'use-empty-ssl-cert-file
1894 (lambda _
1895 ;; The ca-certificates.crt is not available in the build
1896 ;; environment.
1897 (setenv "SSL_CERT_FILE" "/dev/null")
1898 #t)))))
f2ca414a
SB
1899 (native-inputs
1900 `(("pkg-config" ,pkg-config)
1901 ("intltool" ,intltool)))
1902 (inputs
1903 `(("glib" ,glib)
1904 ("gnutls" ,gnutls)
1905 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1906 ("p11-kit" ,p11-kit)))
1907 (home-page "http://www.gnome.org")
1908 (synopsis "Network-related GIO modules")
1909 (description
1910 "This package contains various network related extensions for the GIO
1911library.")
1912 (license license:lgpl2.0+)))
1913
4510b2da
SB
1914(define-public librest
1915 (package
1916 (name "librest")
1917 (version "0.7.93")
1918 (source (origin
1919 (method url-fetch)
1920 (uri (string-append "mirror://gnome/sources/rest/"
1921 (version-major+minor version) "/"
1922 "rest-" version ".tar.xz"))
1923 (sha256
1924 (base32
1925 "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467"))))
1926 (build-system gnu-build-system)
1927 (arguments
1928 '(#:tests? #f ; tests require internet connection
1929 #:configure-flags
1930 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
1931 (native-inputs
1932 `(("glib-mkenums" ,glib "bin")
1933 ("gobject-introspection" ,gobject-introspection)
1934 ("pkg-config" ,pkg-config)))
1935 (propagated-inputs
1936 ;; rest-0.7.pc refers to all these.
1937 `(("glib" ,glib)
1938 ("libsoup" ,libsoup)
1939 ("libxml2" ,libxml2)))
1940 (home-page "http://www.gtk.org/")
1941 (synopsis "RESTful web api query library")
1942 (description
1943 "This library was designed to make it easier to access web services that
1944claim to be \"RESTful\". It includes convenience wrappers for libsoup and
1945libxml to ease remote use of the RESTful API.")
1946 (license license:lgpl2.1+)))
1947
6e1bb642
SB
1948(define-public libsoup
1949 (package
1950 (name "libsoup")
1951 (version "2.50.0")
1952 (source (origin
1953 (method url-fetch)
1954 (uri (string-append "mirror://gnome/sources/libsoup/"
1955 (version-major+minor version) "/"
1956 name "-" version ".tar.xz"))
1957 (sha256
1958 (base32
1959 "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y"))))
1960 (build-system gnu-build-system)
1961 (outputs '("out" "doc"))
1962 (arguments
b19d6805 1963 `(#:configure-flags
6e1bb642
SB
1964 (list (string-append "--with-html-dir="
1965 (assoc-ref %outputs "doc")
1966 "/share/gtk-doc/html")
1967 ;; To find GIO modules from glib-networking.
1968 (string-append "GIO_EXTRA_MODULES="
1969 (assoc-ref %build-inputs "glib-networking")
1970 "/lib/gio/modules"))
1971 #:phases
1972 (modify-phases %standard-phases
3a4de6b2 1973 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
1974 ;; This test fails due to missing /etc/nsswitch.conf
1975 ;; in the build environment.
1976 (lambda _
1977 (substitute* "tests/socket-test.c"
1978 ((".*/sockets/unconnected.*") ""))
1979 #t))
907f939b 1980 (add-before 'check 'pre-check
6e1bb642 1981 (lambda _
907f939b
SB
1982 ;; The 'check-local' target runs 'env LANG=C sort -u',
1983 ;; unset 'LC_ALL' to make 'LANG' working.
6e1bb642 1984 (unsetenv "LC_ALL")
907f939b
SB
1985 ;; The ca-certificates.crt is not available in the build
1986 ;; environment.
1987 (setenv "SSL_CERT_FILE" "/dev/null")
6e1bb642
SB
1988 #t)))))
1989 (native-inputs
1990 `(("glib:bin" ,glib "bin") ; for glib-mkenums
1991 ("gobject-introspection" ,gobject-introspection)
1992 ("intltool" ,intltool)
1993 ("pkg-config" ,pkg-config)
1994 ("python" ,python-wrapper)
1995 ;; These are needed for the tests.
1996 ;; FIXME: Add PHP once available.
1997 ("curl" ,curl)
1998 ("httpd" ,httpd)))
1999 (propagated-inputs
2000 ;; libsoup-2.4.pc refers to all these.
2001 `(("glib" ,glib)
2002 ("libxml2" ,libxml2)))
2003 (inputs
2004 `(("glib-networking" ,glib-networking)
2005 ("sqlite" ,sqlite)))
2006 (home-page "https://live.gnome.org/LibSoup/")
2007 (synopsis "GLib-based HTTP Library")
2008 (description
2009 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2010and the GLib main loop, to integrate well with GNOME applications.")
2011 (license license:lgpl2.0+)))
2012
bba229a3
SB
2013(define-public libsecret
2014 (package
2015 (name "libsecret")
2016 (version "0.18")
2017 (source (origin
2018 (method url-fetch)
2019 (uri (string-append
2020 "mirror://gnome/sources/libsecret/" version "/"
2021 name "-" version ".tar.xz"))
2022 (sha256
2023 (base32
2024 "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc"))))
2025 (build-system gnu-build-system)
2026 (outputs '("out" "doc"))
2027 (arguments
2028 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2029 #:configure-flags
2030 (list (string-append "--with-html-dir="
2031 (assoc-ref %outputs "doc")
2032 "/share/gtk-doc/html"))))
2033 (native-inputs
2034 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2035 ("gobject-introspection" ,gobject-introspection)
2036 ("intltool" ,intltool)
2037 ("pkg-config" ,pkg-config)
2038 ("vala" ,vala)
2039 ("xsltproc" ,libxslt)))
2040 ;; These are needed for the tests.
2041 ;; FIXME: Add gjs once available.
2042 ;("dbus" ,dbus)
2043 ;("python2" ,python-2)
2044 ;("python2-dbus" ,python2-dbus)
2045 ;("python2-pygobject" ,python2-pygobject)
2046 ;("python2-pygobject-2" ,python2-pygobject-2)))
2047 (propagated-inputs
2048 `(("glib" ,glib))) ; required by libsecret-1.pc
2049 (inputs
2050 `(("docbook-xsl" ,docbook-xsl)
2051 ("libgcrypt" ,libgcrypt)
2052 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2053 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2054 (synopsis "GObject bindings for \"Secret Service\" API")
2055 (description
2056 "Libsecret is a GObject based library for storing and retrieving passwords
2057and other secrets. It communicates with the \"Secret Service\" using DBus.")
2058 (license license:lgpl2.1+)))
2059
a31a6d22
SB
2060(define-public gnome-mines
2061 (package
2062 (name "gnome-mines")
121398e7 2063 (version "3.16.0")
a31a6d22
SB
2064 (source
2065 (origin
2066 (method url-fetch)
2067 (uri (string-append "mirror://gnome/sources/" name "/"
2068 (version-major+minor version) "/"
2069 name "-" version ".tar.xz"))
2070 (sha256
2071 (base32
121398e7 2072 "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx"))))
a31a6d22
SB
2073 (build-system glib-or-gtk-build-system)
2074 (arguments
2075 '(#:phases
2076 (modify-phases %standard-phases
f8503e2b 2077 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2078 (lambda _
2079 (substitute* "configure"
2080 (("/bin/true") (which "true")))))
f8503e2b 2081 (add-after 'install 'wrap-pixbuf
a31a6d22
SB
2082 ;; Use librsvg's loaders.cache to support SVG files.
2083 (lambda* (#:key inputs outputs #:allow-other-keys)
2084 (let* ((out (assoc-ref outputs "out"))
2085 (prog (string-append out "/bin/gnome-mines"))
2086 (rsvg (assoc-ref inputs "librsvg"))
2087 (pixbuf (find-files rsvg "^loaders\\.cache$")))
2088 (wrap-program prog
2089 `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf))))))))
2090 (native-inputs
2091 `(("pkg-config" ,pkg-config)
2092 ("desktop-file-utils" ,desktop-file-utils)
2093 ("intltool" ,intltool)
bcb354ad
SB
2094 ("itstool" ,itstool)
2095 ("xmllint" ,libxml2)))
a31a6d22
SB
2096 (inputs
2097 `(("gtk+" ,gtk+)
2098 ("librsvg" ,librsvg)))
2099 (home-page "https://wiki.gnome.org/Apps/Mines")
2100 (synopsis "Minesweeper game")
2101 (description
2102 "Mines (previously gnomine) is a puzzle game where you locate mines
2103floating in an ocean using only your brain and a little bit of luck.")
2104 (license license:gpl2+)))
88f70665
AW
2105
2106(define-public gnome-terminal
2107 (package
2108 (name "gnome-terminal")
2109 (version "3.16.0")
2110 (source
2111 (origin
2112 (method url-fetch)
2113 (uri (string-append "mirror://gnome/sources/" name "/"
2114 (version-major+minor version) "/"
2115 name "-" version ".tar.xz"))
2116 (sha256
2117 (base32
2118 "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd"))))
2119 (build-system glib-or-gtk-build-system)
2120 (arguments
2121 '(#:configure-flags
2122 (list "--disable-migration" "--disable-search-provider"
2123 "--without-nautilus-extension")
2124 #:phases
2125 (modify-phases %standard-phases
3a4de6b2 2126 (add-before 'configure 'patch-/bin/true
88f70665
AW
2127 (lambda _
2128 (substitute* "configure"
2129 (("/bin/true") (which "true"))))))))
2130 (native-inputs
2131 `(("pkg-config" ,pkg-config)
2132 ("desktop-file-utils" ,desktop-file-utils)
2133 ("intltool" ,intltool)
bcb354ad
SB
2134 ("itstool" ,itstool)
2135 ("xmllint" ,libxml2)))
68702167
MW
2136 (propagated-inputs
2137 `(("dconf" ,dconf)))
88f70665
AW
2138 (inputs
2139 `(("gtk+" ,gtk+)
2140 ("vte" ,vte)
2141 ("gnutls" ,gnutls)
88f70665
AW
2142 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2143 ("util-linux" ,util-linux)
2144 ("vala" ,vala)))
2145 (home-page "https://wiki.gnome.org/Apps/Terminal")
2146 (synopsis "Terminal emulator")
2147 (description
2148 "GNOME Terminal is a terminal emulator application for accessing a
2149UNIX shell environment which can be used to run programs available on
2150your system.
2151
2152It supports several profiles, multiple tabs and implements several
2153keyboard shortcuts.")
2154 (license license:gpl3+)))
75016d07
AW
2155
2156(define-public colord
2157 (package
2158 (name "colord")
2159 (version "1.1.8")
2160 (source
2161 (origin
2162 (method url-fetch)
2163 (uri (string-append "http://www.freedesktop.org/software/colord/releases/"
2164 name "-" version ".tar.xz"))
2165 (sha256
2166 (base32
2167 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2168 (build-system glib-or-gtk-build-system)
2169 (arguments
2170 '(;; The tests want to run valgrind. Punt for now.
2171 #:tests? #f
2172 #:configure-flags (list "--localstatedir=/var"
2173 ;; GUSB not packaged yet.
2174 "--disable-gusb"
2175 ;; No dep on systemd.
2176 "--disable-systemd-login"
2177 ;; Wants to install to global completion dir;
2178 ;; punt.
2179 "--disable-bash-completion"
2180 ;; colord-gtk not packaged yet.
2181 "--disable-session-example"
2182 "--with-daemon-user=colord"
2183 "--enable-sane"
2184 (string-append "--with-udevrulesdir="
2185 (assoc-ref %outputs "out")
2186 "/lib/udev/rules.d"))
2187 #:phases
2188 (modify-phases %standard-phases
3a4de6b2 2189 (add-before 'configure 'patch-/bin/true
75016d07
AW
2190 (lambda _
2191 (substitute* "configure"
2192 (("/bin/true") (which "true")))
2193 (substitute* "src/Makefile.in"
2194 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2195 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2196 (native-inputs
2197 `(("pkg-config" ,pkg-config)
2198 ("gobject-introspection" ,gobject-introspection)
2199 ("libtool" ,libtool)
2200 ("intltool" ,intltool)))
65cb2d61
SB
2201 (propagated-inputs
2202 ;; colord.pc refers to all these.
2203 `(("glib" ,glib)
2204 ("udev" ,eudev)
2205 ("lcms" ,lcms)))
75016d07 2206 (inputs
65cb2d61 2207 `(("dbus-glib" ,dbus-glib)
75016d07 2208 ("libusb" ,libusb)
75016d07
AW
2209 ("sqlite" ,sqlite)
2210 ("polkit" ,polkit)
2211 ("sane-backends" ,sane-backends)))
2212 (home-page "http://www.freedesktop.org/software/colord/")
2213 (synopsis "Color management service")
2214 (description "Colord is a system service that makes it easy to manage,
2215install and generate color profiles to accurately color manage input and
2216output devices.")
2217 (license license:gpl2+)))
7b2abd00
AW
2218
2219(define-public geoclue
2220 (package
2221 (name "geoclue")
faf713b9 2222 (version "2.2.0")
7b2abd00
AW
2223 (source
2224 (origin
2225 (method url-fetch)
2226 (uri (string-append "http://www.freedesktop.org/software/" name
2227 "/releases/" (version-major+minor version) "/"
2228 name "-" version ".tar.xz"))
2229 (sha256
2230 (base32
faf713b9 2231 "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454"))
7b2abd00
AW
2232 (patches (list (search-patch "geoclue-config.patch")))))
2233 (build-system glib-or-gtk-build-system)
2234 (arguments
2235 '(;; The tests want to run the system bus.
2236 #:tests? #f
2237 #:configure-flags (list ;; Disable bits requiring ModemManager.
2238 "--disable-3g-source"
2239 "--disable-cdma-source"
2240 "--disable-modem-gps-source"
2241 "--with-dbus-service-user=geoclue")
2242 #:phases
2243 (modify-phases %standard-phases
3a4de6b2 2244 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2245 (lambda _
2246 (substitute* "configure"
2247 (("/bin/true") (which "true"))))))))
2248 (native-inputs
2249 `(("pkg-config" ,pkg-config)
2250 ("intltool" ,intltool)))
2251 (inputs
2252 `(("glib" ,glib)
2253 ("json-glib" ,json-glib)
2254 ("libsoup" ,libsoup)))
2255 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2256 (synopsis "Geolocation service")
2257 (description "Geoclue is a D-Bus service that provides location
2258information. The primary goal of the Geoclue project is to make creating
2259location-aware applications as simple as possible, while the secondary goal is
2260to ensure that no application can access location information without explicit
e881752c 2261permission from user.")
7b2abd00 2262 (license license:gpl2+)))
2bfe7437
AW
2263
2264(define-public geocode-glib
2265 (package
2266 (name "geocode-glib")
2267 (version "3.16.0")
2268 (source (origin
2269 (method url-fetch)
2270 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2271 (version-major+minor version) "/"
2272 name "-" version ".tar.xz"))
2273 (sha256
2274 (base32
2275 "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj"))))
2276 (build-system gnu-build-system)
2277 (arguments
2278 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2279 ;; work for the builder. Punt.
2280 #:tests? #f
2bfe7437
AW
2281 ))
2282 (native-inputs
2283 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2284 ("gobject-introspection" ,gobject-introspection)
2285 ("pkg-config" ,pkg-config)
2286 ("json-glib" ,json-glib)))
2287 (propagated-inputs
2288 ;; geocode-glib-1.0.pc refers to GIO.
2289 `(("glib" ,glib)))
2290 (inputs
2291 `(("libsoup" ,libsoup)))
2292 (home-page "https://github.com/GNOME/geocode-glib/")
2293 (synopsis "Geocoding and reverse-geocoding library")
2294 (description
2295 "geocode-glib is a convenience library for geocoding (finding longitude,
2296and latitude from an address) and reverse geocoding (finding an address from
2297coordinates) using the Nominatim service. geocode-glib caches requests for
2298faster results and to avoid unnecessary server load.")
2299 (license license:lgpl2.0+)))
a1d5bb0e
AW
2300
2301(define-public upower
2302 (package
2303 (name "upower")
2304 (version "0.99.2")
2305 (source (origin
2306 (method url-fetch)
2307 (uri (string-append "http://upower.freedesktop.org/releases/"
2308 name "-" version ".tar.xz"))
2309 (sha256
2310 (base32
2311 "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79"))
2312 (patches (list (search-patch "upower-builddir.patch")))))
2313 (build-system glib-or-gtk-build-system)
2314 (arguments
2315 '( ;; The tests want to contact the system bus, which can't be done in the
2316 ;; build environment. The integration test can run, but the last of
2317 ;; the up-self-tests doesn't. Disable tests for now.
2318 #:tests? #f
2319 #:configure-flags (list "--localstatedir=/var"
2320 (string-append "--with-udevrulesdir="
2321 (assoc-ref %outputs "out")
2322 "/lib/udev/rules.d"))
2323 #:phases
2324 (modify-phases %standard-phases
2325 (add-before 'configure 'patch-/bin/true
2326 (lambda _
2327 (substitute* "configure"
2328 (("/bin/true") (which "true")))))
2329 (add-before 'configure 'patch-integration-test
2330 (lambda _
2331 (substitute* "src/linux/integration-test"
2332 (("/usr/bin/python3") (which "python3"))))))))
2333 (native-inputs
2334 `(("pkg-config" ,pkg-config)
2335 ("intltool" ,intltool)
2336 ("python" ,python)))
2337 (inputs
ea226291
SB
2338 `(("dbus-glib" ,dbus-glib)
2339 ("libgudev" ,libgudev)
a1d5bb0e
AW
2340 ("libusb" ,libusb)))
2341 (home-page "http://upower.freedesktop.org/")
2342 (synopsis "System daemon for managing power devices")
2343 (description
2344 "UPower is an abstraction for enumerating power devices,
2345listening to device events and querying history and statistics. Any
2346application or service on the system can access the org.freedesktop.UPower
2347service via the system message bus.")
2348 (license license:gpl2+)))
6a180f6f
AW
2349
2350(define-public libgweather
2351 (package
2352 (name "libgweather")
2353 (version "3.16.0")
2354 (source (origin
2355 (method url-fetch)
2356 (uri (string-append "mirror://gnome/sources/" name "/"
2357 (version-major+minor version) "/"
2358 name "-" version ".tar.xz"))
2359 (sha256
2360 (base32
2361 "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza"))))
2362 (build-system gnu-build-system)
2363 (arguments
2364 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2365 ;; work for the builder. Punt.
2366 #:tests? #f
6a180f6f
AW
2367 #:configure-flags
2368 `(;; No introspection for now, as it wants to install to
2369 ;; gobject-introspection's own directory and I don't know how to easily
2370 ;; override this.
2371 "--enable-introspection=no"
2372 ,(string-append "--with-zoneinfo-dir="
2373 (assoc-ref %build-inputs "tzdata")
2374 "/share/zoneinfo"))))
2375 (native-inputs
2376 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2377 ("pkg-config" ,pkg-config)
2378 ("intltool" ,intltool)))
2379 (propagated-inputs
2380 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2381 ;; libsoup.
2382 `(("gtk+" ,gtk+)
2383 ("gdk-pixbuf" ,gdk-pixbuf)
2384 ("libxml2" ,libxml2)
2385 ("libsoup" ,libsoup)))
2386 (inputs
2387 `(("tzdata" ,tzdata)
2388 ("geocode-glib" ,geocode-glib)))
2389 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2390 (synopsis "Location, time zone, and weather library for GNOME")
2391 (description
2392 "libgweather is a library to access weather information from online
2393services for numerous locations.")
2394 (license license:gpl2+)))
23a22af6
AW
2395
2396(define-public gnome-settings-daemon
2397 (package
2398 (name "gnome-settings-daemon")
2399 (version "3.16.0")
2400 (source
2401 (origin
2402 (method url-fetch)
2403 (uri (string-append "mirror://gnome/sources/" name "/"
2404 (version-major+minor version) "/"
2405 name "-" version ".tar.xz"))
2406 (sha256
2407 (base32
2408 "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3"))))
2409 (build-system glib-or-gtk-build-system)
2410 (arguments
ec2b1921 2411 `(;; Network manager not yet packaged.
23a22af6
AW
2412 #:configure-flags '("--disable-network-manager")
2413 ;; Color management test can't reach the colord system service.
2414 #:tests? #f))
2415 (native-inputs
2416 `(("pkg-config" ,pkg-config)
2417 ("intltool" ,intltool)
2418 ("xsltproc" ,libxslt)
2419 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2420 ("docbook-xml" ,docbook-xml-4.2)
2421 ("docbook-xsl" ,docbook-xsl)))
2422 (inputs
2423 `(("colord" ,colord)
ea226291 2424 ("libgudev" ,libgudev)
23a22af6
AW
2425 ("upower" ,upower)
2426 ("polkit" ,polkit)
2427 ("pulseaudio" ,pulseaudio)
2428 ("libcanberra" ,libcanberra)
2429 ("libx11" ,libx11)
2430 ("libxtst" ,libxtst)
2431 ("lcms" ,lcms)
2432 ("libnotify" ,libnotify)
2433 ("geoclue" ,geoclue)
2434 ("geocode-glib" ,geocode-glib)
2435 ("libgweather" ,libgweather)
2436 ("gnome-desktop" ,gnome-desktop)
2437 ("nss" ,nss)
2438 ("cups" ,cups)
ec2b1921
AW
2439 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2440 ("libwacom" ,libwacom)
2441 ("librsvg" ,librsvg)
2442 ("xf86-input-wacom" ,xf86-input-wacom)))
23a22af6
AW
2443 (home-page "http://www.gnome.org")
2444 (synopsis "GNOME settings daemon")
2445 (description
2446 "This package contains the daemon responsible for setting the various
2447parameters of a GNOME session and the applications that run under it. It
2448handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2449settings, themes, mouse settings, and startup of other daemons.")
2450 (license license:gpl2+)))
1e7464a9
DH
2451
2452(define-public totem-pl-parser
2453 (package
2454 (name "totem-pl-parser")
2455 (version "3.10.5")
2456 (source (origin
2457 (method url-fetch)
2458 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2459 "totem-pl-parser-" version ".tar.xz"))
2460 (sha256
2461 (base32
2462 "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7"))))
2463 (build-system gnu-build-system)
2464 (arguments
2465 ;; FIXME: Tests require gvfs.
2466 `(#:tests? #f))
2467 (native-inputs
2468 `(("intltool" ,intltool)
2469 ("glib" ,glib "bin")
4d6d8281 2470 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2471 ("pkg-config" ,pkg-config)))
22a6ad6a 2472 (propagated-inputs
1e7464a9
DH
2473 `(("glib" ,glib)
2474 ("gmime" ,gmime)
22a6ad6a
MW
2475 ("libxml2" ,libxml2)))
2476 (inputs
2477 `(("libarchive" ,libarchive)
1e7464a9
DH
2478 ("libgcrypt" ,libgcrypt)
2479 ("nettle" ,nettle)
22a6ad6a 2480 ("libsoup" ,libsoup)))
1e7464a9
DH
2481 (home-page "https://projects.gnome.org/totem")
2482 (synopsis "Library to parse and save media playlists for GNOME")
2483 (description "Totem-pl-parser is a GObjects-based library to parse and save
2484playlists in a variety of formats.")
2485 (license license:lgpl2.0+)))
2486
6b888eff
SB
2487(define-public aisleriot
2488 (package
2489 (name "aisleriot")
2490 (version "3.16.1")
2491 (source (origin
2492 (method url-fetch)
2493 (uri (string-append "mirror://gnome/sources/" name "/"
2494 (version-major+minor version) "/"
2495 name "-" version ".tar.xz"))
2496 (sha256
2497 (base32
2498 "19k483x9dkq8vjbq8f333pk9qil64clpsfg20q8xk9bgmk38aj8h"))))
2499 (build-system glib-or-gtk-build-system)
2500 (arguments
2501 '(#:configure-flags
2502 '("--with-platform=gtk-only"
2503 "--with-card-theme-formats=svg")))
2504 (native-inputs
2505 `(("desktop-file-utils" ,desktop-file-utils)
2506 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2507 ("intltool" ,intltool)
2508 ("itstool" ,itstool)
2509 ("pkg-config" ,pkg-config)
2510 ("xmllint" ,libxml2)))
2511 (inputs
2512 `(("gtk+" ,gtk+)
2513 ("guile" ,guile-2.0)
2514 ("libcanberra" ,libcanberra)
2515 ("librsvg" ,librsvg)))
2516 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2517 (synopsis "Solitaire card games")
2518 (description
2519 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2520which are easy to play with the aid of a mouse.")
2521 (license license:gpl3+)))
4a79e256
SB
2522
2523(define-public devhelp
2524 (package
2525 (name "devhelp")
2526 (version "3.16.1")
2527 (source (origin
2528 (method url-fetch)
2529 (uri (string-append "mirror://gnome/sources/" name "/"
2530 (version-major+minor version) "/"
2531 name "-" version ".tar.xz"))
2532 (sha256
2533 (base32
2534 "0i8kyh86hzwxs8dm047ivghl2b92vigdxa3x4pk4ha0whpk38g37"))))
2535 (build-system glib-or-gtk-build-system)
2536 (native-inputs
2537 `(("intltool" ,intltool)
2538 ("pkg-config" ,pkg-config)))
2539 (inputs
2540 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2541 ("webkitgtk" ,webkitgtk)))
2542 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2543 (synopsis "API documentation browser for GNOME")
2544 (description
2545 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2546natively with GTK-Doc (the API reference system developed for GTK+ and used
2547throughout GNOME for API documentation).")
2548 (license license:gpl2+)))
ba421ab7
MW
2549
2550(define-public cogl
2551 (package
2552 (name "cogl")
2553 (version "1.20.0")
2554 (source
2555 (origin
2556 (method url-fetch)
2557 (uri (string-append "mirror://gnome/sources/" name "/"
2558 (version-major+minor version) "/"
2559 name "-" version ".tar.xz"))
2560 (sha256
2561 (base32
2562 "0aqrj7gc0x7v536vdycgn2i23fj3nx3qwdd3mwgx7rr9b14kb7kj"))))
2563 (build-system gnu-build-system)
2564 (native-inputs
2565 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2566 ("gobject-introspection" ,gobject-introspection)
2567 ;;("xorg-server" ,xorg-server) ; for the test suite
2568 ("pkg-config" ,pkg-config)))
2569 (propagated-inputs
2570 `(("glib" ,glib)
2571 ("gdk-pixbuf" ,gdk-pixbuf)
2572 ("libx11" ,libx11)
2573 ("libxext" ,libxext)
2574 ("libxfixes" ,libxfixes)
2575 ("libxdamage" ,libxdamage)
2576 ("libxcomposite" ,libxcomposite)
2577 ("libxrandr" ,libxrandr)))
2578 (inputs
2579 `(("mesa" ,mesa)
2580 ("cairo" ,cairo)
2581 ("pango" ,pango)
2582 ("gstreamer" ,gstreamer)
2583 ("gst-plugins-base" ,gst-plugins-base)))
2584 (arguments
2585 `(#:configure-flags (list "--enable-cogl-gst"
2586 ;; Arrange to pass an absolute file name to
2587 ;; dlopen for libGL.so.
2588 (string-append "--with-gl-libname="
2589 (assoc-ref %build-inputs "mesa")
2590 "/lib/libGL.so"))
2591 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2592 ;; _FontTransOpen: Unable to Parse address
2593 ;; ${prefix}/share/fonts/X11/misc/
2594 #:tests? #f
2595 #; #:phases
2596 #;
2597 (modify-phases %standard-phases
2598 (add-before 'check 'start-xorg-server
2599 (lambda* (#:key inputs #:allow-other-keys)
2600 ;; The test suite requires a running X server.
2601 (system (format #f "~a/bin/Xvfb :1 &"
2602 (assoc-ref inputs "xorg-server")))
2603 (setenv "DISPLAY" ":1")
2604 #t)))))
2605 (home-page "http://www.cogl3d.org")
2606 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2607 (description
2608 "Cogl is a small library for using 3D graphics hardware to draw pretty
2609pictures. The API departs from the flat state machine style of OpenGL and is
2610designed to make it easy to write orthogonal components that can render
2611without stepping on each others toes.")
2612 (license (list license:expat ; most of the code
2613 license:bsd-3 ; cogl/cogl-point-in-poly.c
2614 license:sgifreeb2.0 ; cogl-path/tesselator/
2615 license:asl2.0)))) ; examples/android/
fb182b8a
MW
2616
2617(define-public clutter
2618 (package
2619 (name "clutter")
2620 (version "1.22.2")
2621 (source
2622 (origin
2623 (method url-fetch)
2624 (uri (string-append "mirror://gnome/sources/" name "/"
2625 (version-major+minor version) "/"
2626 name "-" version ".tar.xz"))
2627 (sha256
2628 (base32
2629 "1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf"))))
2630 (build-system gnu-build-system)
2631 (native-inputs
2632 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2633 ("gobject-introspection" ,gobject-introspection)
2634 ("pkg-config" ,pkg-config)
2635 ("xsltproc" ,libxslt)))
2636 (propagated-inputs
2637 `(("cogl" ,cogl)
2638 ("cairo" ,cairo)
2639 ("atk" ,atk)
2640 ("gtk+" ,gtk+)
2641 ("json-glib" ,json-glib)
2642 ("glib" ,glib)
2643 ("libxcomposite" ,libxcomposite)
2644 ("libxdamage" ,libxdamage)
2645 ("libxext" ,libxext)
2646 ("xinput" ,xinput)))
2647 (inputs
2648 `(("libxkbcommon" ,libxkbcommon)
2649 ("udev" ,eudev)))
2650 (arguments
2651 `(#:configure-flags '("--enable-x11-backend=yes")
2652 ;; XXX FIXME: Get test suite working. It would probably fail in the
2653 ;; same way the cogl tests fail, since clutter is based on cogl.
2654 #:tests? #f))
2655 (home-page "http://www.clutter-project.org")
2656 (synopsis "Open GL based interactive canvas library")
2657 (description
2658 "Clutter is an Open GL based interactive canvas library, designed for
2659creating fast, mainly 2D single window applications such as media box UIs,
2660presentations, kiosk style applications and so on.")
2661 (license license:lgpl2.0+)))
bf7f17ba
MW
2662
2663(define-public clutter-gtk
2664 (package
2665 (name "clutter-gtk")
2666 (version "1.6.0")
2667 (source
2668 (origin
2669 (method url-fetch)
2670 (uri (string-append "mirror://gnome/sources/" name "/"
2671 (version-major+minor version) "/"
2672 name "-" version ".tar.xz"))
2673 (sha256
2674 (base32
2675 "0k93hbf5d1970hs7vjddr3nnngygc7mxqbj474r3cdm0fjsm0dc8"))))
2676 (build-system gnu-build-system)
2677 (native-inputs
2678 `(("pkg-config" ,pkg-config)
2679 ("gobject-introspection" ,gobject-introspection)))
2680 (inputs
2681 `(("clutter" ,clutter)
2682 ("gtk+" ,gtk+)))
2683 (home-page "http://www.clutter-project.org")
2684 (synopsis "Open GL based interactive canvas library GTK+ widget")
2685 (description
2686 "Clutter is an Open GL based interactive canvas library, designed for
2687creating fast, mainly 2D single window applications such as media box UIs,
2688presentations, kiosk style applications and so on.")
2689 (license license:lgpl2.0+)))
86d6a893
MW
2690
2691(define-public clutter-gst
2692 (package
2693 (name "clutter-gst")
2694 (version "3.0.6")
2695 (source
2696 (origin
2697 (method url-fetch)
2698 (uri (string-append "mirror://gnome/sources/" name "/"
2699 (version-major+minor version) "/"
2700 name "-" version ".tar.xz"))
2701 (sha256
2702 (base32
2703 "0xnzfdzawl1kdx715gp31nwjp7a1kib094s7xvg7bhbwwlx4kmfn"))))
2704 (build-system gnu-build-system)
2705 (native-inputs
2706 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2707 ("pkg-config" ,pkg-config)
2708 ("gobject-introspection" ,gobject-introspection)))
2709 (inputs
2710 `(("clutter" ,clutter)
2711 ("gstreamer" ,gstreamer)
2712 ("gst-plugins-base" ,gst-plugins-base)))
2713 (home-page "http://www.clutter-project.org")
2714 (synopsis "Integration library for using GStreamer with Clutter")
2715 (description
2716 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2717It provides a GStreamer sink to upload frames to GL and an actor that
2718implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2719GL based interactive canvas library.")
2720 (license license:lgpl2.0+)))
607a04ae
MW
2721
2722(define-public gom
2723 (package
2724 (name "gom")
2725 (version "0.3.1")
2726 (source
2727 (origin
2728 (method url-fetch)
2729 (uri (string-append "mirror://gnome/sources/" name "/"
2730 (version-major+minor version) "/"
2731 name "-" version ".tar.xz"))
2732 (sha256
2733 (base32
2734 "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr"))))
2735 (build-system gnu-build-system)
2736 (native-inputs
2737 `(("intltool" ,intltool)
2738 ("pkg-config" ,pkg-config)
2739 ("gobject-introspection" ,gobject-introspection)))
2740 (inputs
2741 `(("glib" ,glib)
2742 ("gdk-pixbuf" ,gdk-pixbuf)
2743 ("sqlite" ,sqlite)))
2744 ;; XXX TODO: Figure out how to run the test suite.
2745 (arguments `(#:tests? #f))
2746 (home-page "https://wiki.gnome.org/Projects/Gom")
2747 (synopsis "Object mapper from GObjects to SQLite")
2748 (description
2749 "Gom provides an object mapper from GObjects to SQLite. It helps you
2750write applications that need to store structured data as well as make complex
2751queries upon that data.")
2752 (license license:lgpl2.1+)))
b7a3cf11
SB
2753
2754(define-public gnome-klotski
2755 (package
2756 (name "gnome-klotski")
2757 (version "3.16.1")
2758 (source (origin
2759 (method url-fetch)
2760 (uri (string-append "mirror://gnome/sources/" name "/"
2761 (version-major+minor version) "/"
2762 name "-" version ".tar.xz"))
2763 (sha256
2764 (base32
2765 "0a64935c7pp51jhaf29q9zlx3lamj7zrhyff7clvv0w8v1w6gpax"))))
2766 (build-system glib-or-gtk-build-system)
2767 (native-inputs
2768 `(("desktop-file-utils" ,desktop-file-utils)
2769 ("intltool" ,intltool)
2770 ("itstool" ,itstool)
bcb354ad
SB
2771 ("pkg-config" ,pkg-config)
2772 ("xmllint" ,libxml2)))
b7a3cf11
SB
2773 (inputs
2774 `(("gtk+" ,gtk+)
2775 ("librsvg" ,librsvg)))
2776 (home-page "https://wiki.gnome.org/Apps/Klotski")
2777 (synopsis "Sliding block puzzles")
2778 (description
2779 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
2780the patterned block to the area bordered by green markers. To do so, you will
2781need to slide other blocks out of the way. Complete each puzzle in as few moves
2782as possible!")
2783 (license license:gpl2+)))
8d4791bf
MW
2784
2785(define-public grilo
2786 (package
2787 (name "grilo")
2788 (version "0.2.12")
2789 (source
2790 (origin
2791 (method url-fetch)
2792 (uri (string-append "mirror://gnome/sources/" name "/"
2793 (version-major+minor version) "/"
2794 name "-" version ".tar.xz"))
2795 (sha256
2796 (base32
2797 "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m"))))
2798 (build-system gnu-build-system)
2799 (native-inputs
2800 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2801 ("intltool" ,intltool)
2802 ("pkg-config" ,pkg-config)
2803 ("gobject-introspection" ,gobject-introspection)))
2804 (inputs
2805 `(("glib" ,glib)
2806 ("gtk+" ,gtk+)
2807 ("libxml2" ,libxml2)
2808 ;; XXX TODO: Add oauth
2809 ("libsoup" ,libsoup)
2810 ("totem-pl-parser" ,totem-pl-parser)))
2811 (arguments
2812 `(#:phases
2813 (modify-phases %standard-phases
2814 (add-after 'unpack 'fix-introspection-install-dir
2815 (lambda* (#:key outputs #:allow-other-keys)
2816 (let ((out (assoc-ref outputs "out")))
2817 (substitute* '("src/Makefile.in"
2818 "libs/pls/Makefile.in"
2819 "libs/net/Makefile.in")
2820 (("@INTROSPECTION_GIRDIR@")
2821 (string-append out "/share/gir-1.0/"))
2822 (("@INTROSPECTION_TYPELIBDIR@")
2823 (string-append out "/lib/girepository-1.0/")))))))))
2824 (native-search-paths
2825 (list (search-path-specification
2826 (variable "GRL_PLUGIN_PATH")
2827 (files (list (string-append "lib/grilo-"
2828 (version-major+minor version)))))))
2829 (home-page "http://live.gnome.org/Grilo")
2830 (synopsis "Framework for discovering and browsing media")
2831 (description
2832 "Grilo is a framework focused on making media discovery and browsing easy
2833for application developers.")
2834 (license license:lgpl2.1+)))
7b212526
MW
2835
2836(define-public grilo-plugins
2837 (package
2838 (name "grilo-plugins")
2839 (version "0.2.14")
2840 (source
2841 (origin
2842 (method url-fetch)
2843 (uri (string-append "mirror://gnome/sources/" name "/"
2844 (version-major+minor version) "/"
2845 name "-" version ".tar.xz"))
2846 (sha256
2847 (base32
2848 "1aykhc679pwn2qxsg19g8nh9hffpsqkgxcbqq7lcfn2hcwb83wfh"))))
2849 (build-system gnu-build-system)
2850 (native-inputs
2851 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
2852 ("intltool" ,intltool)
2853 ("itstool" ,itstool)
2854 ("pkg-config" ,pkg-config)))
2855 (inputs
2856 `(("grilo" ,grilo)
2857 ("glib" ,glib)
2858 ("libxml2" ,libxml2)
2859 ("sqlite" ,sqlite)
2860 ("gom" ,gom)
2861 ;; XXX TODO: Add oauth
2862 ;; XXX TODO: Add goa
2863 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
2864 ;; XXX TODO: Add lua (needs help finding it)
2865 ("json-glib" ,json-glib)
2866 ("avahi" ,avahi)
2867 ("gmime" ,gmime)
2868 ("libsoup" ,libsoup)
2869 ("libarchive" ,libarchive)
2870 ("totem-pl-parser" ,totem-pl-parser)))
2871 (arguments
2872 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
2873 %output
2874 "/lib/grilo-"
2875 ,(version-major+minor version)))
2876 ;; XXX FIXME: Try to get the test suite working. It appears to require
2877 ;; a working system dbus. Inside the build container, all tests fail
2878 ;; with: "assertion failed: (source)". Outside of the build container,
2879 ;; most tests succeed.
2880 #:tests? #f))
2881 (home-page "http://live.gnome.org/Grilo")
2882 (synopsis "Plugins for the Grilo media discovery library")
2883 (description
2884 "Grilo is a framework focused on making media discovery and browsing easy
2885for application developers.")
2886 (license license:lgpl2.1+)))
4e3fc547
MW
2887
2888(define-public totem
2889 (package
2890 (name "totem")
2891 (version "3.16.1")
2892 (source
2893 (origin
2894 (method url-fetch)
2895 (uri (string-append "mirror://gnome/sources/" name "/"
2896 (version-major+minor version) "/"
2897 name "-" version ".tar.xz"))
2898 (sha256
2899 (base32
2900 "1nkm2i271ivq40hryrl6px39gbbvhmlx4vmvwvw4h3z8xh3013f9"))))
2901 (build-system glib-or-gtk-build-system)
2902 (native-inputs
2903 `(("pkg-config" ,pkg-config)
2904 ("desktop-file-utils" ,desktop-file-utils)
2905 ("gobject-introspection" ,gobject-introspection)
2906 ("intltool" ,intltool)
bcb354ad
SB
2907 ("itstool" ,itstool)
2908 ("xmllint" ,libxml2)))
4e3fc547
MW
2909 (propagated-inputs
2910 `(("dconf" ,dconf)))
2911 (inputs
2912 `(("gtk+" ,gtk+)
2913 ("gdk-pixbuf" ,gdk-pixbuf)
2914 ("atk" ,atk)
2915 ("cairo" ,cairo)
2916 ("dbus-glib" ,dbus-glib)
2917 ("clutter" ,clutter)
2918 ("clutter-gtk" ,clutter-gtk)
2919 ("clutter-gst" ,clutter-gst)
2920 ("xproto" ,xproto)
2921 ("libxxf86vm" ,libxxf86vm)
2922 ("libxtst" ,libxtst)
2923 ("libxrandr" ,libxrandr)
2924 ("libxml2" ,libxml2)
2925 ("libsoup" ,libsoup)
2926 ("libpeas" ,libpeas)
2927 ("librsvg" ,librsvg)
2928 ("lirc" ,lirc)
2929 ("gnome-desktop" ,gnome-desktop)
2930 ("gstreamer" ,gstreamer)
2931 ("gst-plugins-base" ,gst-plugins-base)
2932 ("gst-plugins-good" ,gst-plugins-good)
2933 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2934 ("adwaita-icon-theme" ,adwaita-icon-theme)
2935 ;; XXX We use python-2 because libxml2 because itstool (which needs
2936 ;; libxml) currently uses python-2.
2937 ("python" ,python-2)
2938 ("python-pygobject" ,python2-pygobject)
2939 ;; XXX TODO pylint needed for python support
2940 ("totem-pl-parser" ,totem-pl-parser)
2941 ("grilo" ,grilo)
2942 ("grilo-plugins" ,grilo-plugins)
2943 ("nettle" ,nettle)
2944 ("vala" ,vala)))
2945 (arguments
2946 `(#:phases
2947 (modify-phases %standard-phases
2948 (add-after
2949 'install 'wrap-totem
2950 (lambda* (#:key inputs outputs #:allow-other-keys)
2951 (let ((out (assoc-ref outputs "out"))
2952 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
2953 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
2954 (wrap-program (string-append out "/bin/totem")
2955 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
2956 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
2957 #t)))))
2958 (home-page "https://wiki.gnome.org/Apps/Videos")
2959 (synopsis "Simple media player for GNOME based on GStreamer")
2960 (description "Totem is a simple yet featureful media player for GNOME
2961which can read a large number of file formats.")
2962 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
2963 ;; to be used and distributed together with GStreamer and Totem. See
2964 ;; file://COPYING in the source distribution for details.
2965 (license license:gpl2+)))
f0afb0c8
DH
2966
2967(define-public rhythmbox
2968 (package
2969 (name "rhythmbox")
2970 (version "3.2.1")
2971 (source (origin
2972 (method url-fetch)
2973 (uri (string-append "mirror://gnome/sources/" name "/"
2974 (version-major+minor version) "/"
2975 name "-" version ".tar.xz"))
2976 (sha256
2977 (base32
2978 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
2979 (build-system glib-or-gtk-build-system)
2980 (arguments
2981 `(#:configure-flags
2982 (list "--enable-lirc"
2983 "--enable-python"
2984 "--enable-vala"
2985 "--with-brasero"
2986 "--with-gudev"
2987 "--with-libsecret")
2988 #:phases
2989 (modify-phases %standard-phases
2990 (add-after
2991 'install 'wrap-rhythmbox
2992 (lambda* (#:key inputs outputs #:allow-other-keys)
2993 (let ((out (assoc-ref outputs "out"))
2994 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
2995 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
2996 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
2997 (wrap-program (string-append out "/bin/rhythmbox")
2998 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
2999 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3000 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3001 #t)))))
3002 (propagated-inputs
3003 `(("dconf" ,dconf)))
3004 (native-inputs
bcb354ad
SB
3005 `(("itstool" ,itstool)
3006 ("intltool" ,intltool)
f0afb0c8
DH
3007 ("glib" ,glib "bin")
3008 ("gobject-introspection" ,gobject-introspection)
3009 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3010 ("pkg-config" ,pkg-config)
3011 ("xmllint" ,libxml2)))
f0afb0c8
DH
3012 (inputs
3013 `(("json-glib" ,json-glib)
3014 ("tdb" ,tdb)
3015 ("gnome-desktop" ,gnome-desktop)
3016 ("python" ,python)
3017 ("python-pygobject" ,python2-pygobject)
3018 ("vala" ,vala)
3019 ("gmime" ,gmime)
3020 ("nettle" ,nettle)
f0afb0c8
DH
3021 ("adwaita-icon-theme" ,adwaita-icon-theme)
3022 ("grilo" ,grilo)
3023 ("grilo-plugins" ,grilo-plugins)
3024 ("gstreamer" ,gstreamer)
3025 ("gst-plugins-base" ,gst-plugins-base)
3026 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3027 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3028 ("libgudev" ,libgudev)
f0afb0c8
DH
3029 ;;("libmtp" ,libmtp) FIXME: Not detected
3030 ("libsecret" ,libsecret)
3031 ("libsoup" ,libsoup)
3032 ("libnotify" ,libnotify)
3033 ("libpeas" ,libpeas)
3034 ("lirc" ,lirc)
3035 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3036 ;;("clutter" ,clutter)
3037 ;;("clutter-gtk" ,clutter-gtk)
3038 ;;("clutter-gst" ,clutter-gst)
3039 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3040 ("atk" ,atk)
3041 ("pango" ,pango)
3042 ("gtk+" ,gtk+)
3043 ;; TODO:
3044 ;; * libgpod
3045 ;; * mx
3046 ;; * webkit
3047 ("brasero" ,brasero)))
3048 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3049 (synopsis "Music player for GNOME")
3050 (description "Rhythmbox is a music playing application for GNOME. It
3051supports playlists, song ratings, and any codecs installed through gstreamer.")
3052 (license license:gpl2+)))
f70d8383
DH
3053
3054(define-public eog
3055 (package
3056 (name "eog")
3057 (version "3.16.2")
3058 (source (origin
3059 (method url-fetch)
3060 (uri (string-append "mirror://gnome/sources/" name "/"
3061 (version-major+minor version) "/"
3062 name "-" version ".tar.xz"))
3063 (sha256
3064 (base32
3065 "0frw1b5jix9pffznav5s7ajjx91a8rv5lf4sjvjv3fw65mbnhbw0"))))
3066 (build-system glib-or-gtk-build-system)
3067 (arguments
3068 `(#:phases
3069 (modify-phases %standard-phases
3070 (add-after
3071 'install 'wrap-eog
3072 (lambda* (#:key outputs #:allow-other-keys)
3073 (let ((out (assoc-ref outputs "out"))
3074 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3075 (wrap-program (string-append out "/bin/eog")
3076 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3077 #t)))))
3078 (propagated-inputs
3079 `(("dconf" ,dconf)))
3080 (native-inputs
3081 `(("intltool" ,intltool)
3082 ("itstool", itstool)
3083 ("glib" ,glib "bin")
3084 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3085 ("pkg-config" ,pkg-config)
3086 ("xmllint" ,libxml2)))
f70d8383
DH
3087 (inputs
3088 `(("gnome-desktop" ,gnome-desktop)
3089 ("shared-mime-info" ,shared-mime-info)
3090 ("adwaita-icon-theme" ,adwaita-icon-theme)
3091 ("exempi" ,exempi)
3092 ("lcms" ,lcms)
3093 ("libexif" ,libexif)
3094 ("libpeas" ,libpeas)
3095 ("libjpeg" ,libjpeg)
3096 ("librsvg" ,librsvg)
3097 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3098 ("gtk+" ,gtk+)))
3099 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3100 (synopsis "GNOME image viewer")
3101 (description "Eye of GNOME is the GNOME image viewer. It
3102supports image conversion, rotation, and slideshows.")
3103 (license license:gpl2+)))
41af5e7b
SB
3104
3105(define-public libgudev
3106 (package
3107 (name "libgudev")
3108 (version "230")
3109 (source (origin
3110 (method url-fetch)
3111 (uri (string-append "mirror://gnome/sources/" name "/"
3112 version "/" name "-" version ".tar.xz"))
3113 (sha256
3114 (base32
3115 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3116 (build-system gnu-build-system)
3117 (native-inputs
3118 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3119 ("gobject-introspection" ,gobject-introspection)
3120 ("pkg-config" ,pkg-config)))
3121 (propagated-inputs
3122 `(("glib" ,glib))) ; required by gudev-1.0.pc
3123 (inputs
3124 `(("udev" ,eudev)))
3125 (home-page "https://wiki.gnome.org/Projects/libgudev")
3126 (synopsis "GObject bindings for libudev")
3127 (description
3128 "This library provides GObject bindings for libudev. It was originally
3129part of udev-extras, then udev, then systemd. It's now a project on its own.")
3130 (license license:lgpl2.1+)))
3dc8828f
SB
3131
3132(define-public gvfs
3133 (package
3134 (name "gvfs")
3135 (version "1.24.1")
3136 (source (origin
3137 (method url-fetch)
3138 (uri (string-append "mirror://gnome/sources/" name "/"
3139 (version-major+minor version) "/"
3140 name "-" version ".tar.xz"))
3141 (sha256
3142 (base32
3143 "1ygiknnd24qgzds8wif3jns981mqr65lgjlxs5pw65cl3376g0yk"))))
3144 (build-system gnu-build-system)
3145 (arguments
3146 '(#:tests? #f)) ; XXX: requiring `pidof'
3147 (native-inputs
3148 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3149 ("intltool" ,intltool)
3150 ("pkg-config" ,pkg-config)
3151 ("xsltproc" ,libxslt)))
3152 (inputs
3153 `(("avahi" ,avahi)
3154 ("docbook-xml" ,docbook-xml-4.2)
3155 ("docbook-xsl" ,docbook-xsl)
3156 ("dbus" ,dbus)
3157 ("fuse" ,fuse)
3158 ("glib" ,glib)
3159 ("libarchive" ,libarchive)
3160 ("libbluray" ,libbluray)
3161 ("libcdio-paranoia" ,libcdio-paranoia)
3162 ("libgcrypt" ,libgcrypt)
3163 ("libgphoto2" ,libgphoto2)
3164 ("libgudev" ,libgudev)
3165 ("libmtp" ,libmtp)
3166 ("libsecret" ,libsecret)
3167 ("libsmbclient" ,samba)
3168 ("libsoup" ,libsoup)
3169 ("libxml2" ,libxml2)
3170 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3171 ("udisks" ,udisks)))
3172 (home-page "https://wiki.gnome.org/gvfs/")
3173 (synopsis "Userspace virtual filesystem for GIO")
3174 (description
3175 "GVFS is a userspace virtual filesystem designed to work with the I/O
3176abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3177to all applications using the GIO API. It also supports exposing the GVFS
3178mounts to non-GIO applications using FUSE.
3179
3180GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3181DAV, and others.")
3182 (license license:lgpl2.0+)))
7c88b6bd
AW
3183
3184(define-public gusb
3185 (package
3186 (name "gusb")
3187 (version "0.2.6")
3188 (source (origin
3189 (method url-fetch)
3190 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3191 "gusb_"
3192 (string-join (string-split version #\.)
3193 "_")
3194 ".tar.gz"))
3195 (sha256
3196 (base32
3197 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3198 (build-system gnu-build-system)
3199 (native-inputs
3200 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3201 ("gobject-introspection" ,gobject-introspection)
3202 ("pkg-config" ,pkg-config)
3203 ("vala" ,vala)
3204 ("autoconf" ,autoconf)
3205 ("automake" ,automake)
3206 ("libtool" ,libtool)
3207 ("gtk-doc" ,gtk-doc)))
3208 (propagated-inputs
3209 ;; Both of these are required by gusb.pc.
3210 `(("glib" ,glib)
3211 ("libusb" ,libusb)))
3212 (arguments
3213 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3214 #:phases
3215 (modify-phases %standard-phases
3216 (add-after 'unpack 'autogen
3217 (lambda _
3218 (and (zero? (system* "gtkdocize"))
3219 (zero? (system* "autoreconf" "-vif"))))))))
3220 (home-page "https://github/hughsie/libgusb")
3221 (synopsis "A GLib binding for libusb1")
3222 (description
3223 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3224asynchronous control, bulk and interrupt transfers with proper cancellation
3225and integration into a mainloop. This makes it easy to integrate low level
3226USB transfers with your high-level application or system daemon.")
3227 (license license:lgpl2.1+)))
0abe1d86
AW
3228
3229(define-public simple-scan
3230 (package
3231 (name "simple-scan")
3232 (version "3.17.4")
3233 (source (origin
3234 (method url-fetch)
3235 (uri (string-append "https://launchpad.net/simple-scan/"
3236 (version-major+minor version) "/"
3237 version "/+download/simple-scan-"
3238 version ".tar.xz"))
3239 (sha256
3240 (base32
3241 "1pslbv45g01g039zj2b01k08f763kkhzqw8wwz7yh27m7bjllnx6"))))
3242 (build-system glib-or-gtk-build-system)
3243 (inputs
3244 `(("gtk" ,gtk+)
3245 ("zlib" ,zlib)
3246 ("cairo" ,cairo)
3247 ("gdk-pixbuf" ,gdk-pixbuf)
3248 ("gusb" ,gusb)
3249 ("libgudev" ,libgudev)
3250 ("libsane" ,sane-backends)))
3251 (native-inputs
3252 `(("intltool" ,intltool)
3253 ("itstool" ,itstool)
3254 ("colord" ,colord)
3255 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3256 ("pkg-config" ,pkg-config)
bcb354ad
SB
3257 ("vala" ,vala)
3258 ("xmllint" ,libxml2)))
0abe1d86
AW
3259 (home-page "https://launchpad.net/simple-scan")
3260 (synopsis "Document and image scanner")
3261 (description "Simple Scan is an easy-to-use application, designed to let
3262users connect their scanner and quickly have the image/document in an
3263appropriate format. Simple Scan is basically a frontend for SANE - which is
3264the same backend as XSANE uses. This means that all existing scanners will
3265work and the interface is well tested.")
3266 (license license:gpl3+)))
7549f984
SB
3267
3268(define-public epiphany
3269 (package
3270 (name "epiphany")
3271 (version "3.16.3")
3272 (source (origin
3273 (method url-fetch)
3274 (uri (string-append "mirror://gnome/sources/" name "/"
3275 (version-major+minor version) "/"
3276 name "-" version ".tar.xz"))
3277 (sha256
3278 (base32
3279 "1cch4c7gh6lq1i4g0gs39qa2csl4i8a3pcdfapcj5v3r0xvz29ym"))))
3280 (build-system glib-or-gtk-build-system)
3281 (arguments
3282 ;; FIXME: tests run under Xvfb, but fail with:
3283 ;; /src/bookmarks/ephy-bookmarks/create:
3284 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3285 ;; subsystem
3286 ;; FAIL
3287 '(#:tests? #f))
80a747c4
SB
3288 (propagated-inputs
3289 `(("dconf" ,dconf)))
7549f984
SB
3290 (native-inputs
3291 `(("intltool" ,intltool)
3292 ("itstool" ,itstool)
bcb354ad
SB
3293 ("pkg-config" ,pkg-config)
3294 ("xmllint" ,libxml2)))
7549f984
SB
3295 (inputs
3296 `(("avahi" ,avahi)
3297 ("gcr" ,gcr)
3298 ("glib-networking" ,glib-networking)
3299 ("gnome-desktop" ,gnome-desktop)
3300 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3301 ("iso-codes" ,iso-codes)
3302 ("libnotify" ,libnotify)
3303 ("libsecret" ,libsecret)
3304 ("libwnck" ,libwnck)
3305 ("libxslt" ,libxslt)
3306 ("nss" ,nss)
3307 ("sqlite" ,sqlite)
3308 ("webkitgtk" ,webkitgtk)))
3309 (home-page "https://wiki.gnome.org/Apps/Web")
3310 (synopsis "GNOME web browser")
3311 (description
3312 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3313principles are simplicity and standards compliance.")
3314 (license license:gpl2+)))
a3856b2c
SB
3315
3316(define-public d-feet
3317 (package
3318 (name "d-feet")
3319 (version "0.3.10")
3320 (source (origin
3321 (method url-fetch)
3322 (uri (string-append "mirror://gnome/sources/" name "/"
3323 (version-major+minor version) "/"
3324 name "-" version ".tar.xz"))
3325 (sha256
3326 (base32
3327 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3328 (build-system glib-or-gtk-build-system)
3329 (arguments
3330 '(#:out-of-source? #f ; tests need to run in the source directory.
3331 #:phases
3332 (modify-phases %standard-phases
3333 (add-before
3334 'check 'pre-check
86aff791 3335 (lambda _
a3856b2c
SB
3336 ;; The test suite requires a running X server.
3337 (system "Xvfb :1 &")
3338 (setenv "DISPLAY" ":1")
3339 ;; Don't fail on missing '/etc/machine-id'.
3340 (setenv "DBUS_FATAL_WARNINGS" "0")
3341 ;; tests.py and window.py don't meet E402:
3342 ;; E402 module level import not at top of file
3343 (substitute* "src/tests/Makefile"
86aff791
MW
3344 (("--ignore=E123") "--ignore=E123,E402"))
3345 #t))
a3856b2c
SB
3346 (add-after
3347 'install 'wrap-program
3348 (lambda* (#:key outputs #:allow-other-keys)
3349 (let ((prog (string-append (assoc-ref outputs "out")
3350 "/bin/d-feet")))
3351 (wrap-program prog
3352 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3353 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3354 #t))))))
a3856b2c
SB
3355 (native-inputs
3356 `(("intltool" ,intltool)
3357 ("itstool" ,itstool)
3358 ("pkg-config" ,pkg-config)
3359 ("python-pep8" ,python-pep8)
3360 ("xmllint" ,libxml2)
3361 ("xorg-server" ,xorg-server)))
3362 (inputs
3363 `(("gobject-introspection" ,gobject-introspection)
3364 ("gtk+" ,gtk+)
3365 ("python" ,python-wrapper)
3366 ("python-pygobject" ,python-pygobject)))
3367 (home-page "https://wiki.gnome.org/Apps/DFeet")
3368 (synopsis "D-Bus debugger")
3369 (description
3370 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3371of running programs and invoke methods on those interfaces.")
3372 (license license:gpl2+)))