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